PINE64
compass pdf link expired: VTC AF8133J help - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: General Discussion on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=127)
+--- Thread: compass pdf link expired: VTC AF8133J help (/showthread.php?tid=20069)



compass pdf link expired: VTC AF8133J help - WhiteHexagon - 11-06-2025

I'm working on a custom OS in Zig for the PinePhone v1.2b.  I am struggling to find some documentation on various parts of the hardware.  Today the compass.  I tried the I2C address for the AKM compass, and no response, so I am hoping I have the VTC compass, otherwise my TWI1 code is doing something very wrong Smile

But I dont have the I2C address, and the documentation linked from the component page on the wiki has expired.  Can anyone shed some light on this please.  A good start would be the I2C address, but a copy of the data sheet would be best please.  I am unable to decode linux source tree structure to find this.

Also, are the PinePhone sensors always powered, since DLD01 seems to be used everywhere.  For the LCD and touch I had to switch on some pio pins, but I dont see that on schematics, only EINT pins.  Iḿ worried about power usage from unused sensors.
I am used to following @lupyuen  amazing tutorials, but I think he focuses more on new devices and didnt cover the sensors Sad


RE: compass pdf link expired: VTC AF8133J help - Kevin Kofler - 11-06-2025

https://web.archive.org/web/20201031122405if_/http://www.winforcetek.com/pdf/PD-DST-0011-00 AF8133J V03.pdf


RE: compass pdf link expired: VTC AF8133J help - WhiteHexagon - 11-07-2025

Thanks Kevin! The data sheet is perfect. I did have a bug in my I2C code, but anyway now I get a response from device 0x1C, albeit not quite what I expected. work-in-progress Smile

I also wrote an I2C probe, and found a couple more sensors, so I may be back! Smile


RE: compass pdf link expired: VTC AF8133J help - biketool - 11-08-2025

(11-07-2025, 12:33 PM)WhiteHexagon Wrote: Thanks Kevin! The data sheet is perfect.  I did have a bug in my I2C code, but anyway now I get a response from device 0x1C, albeit not quite what I expected.  work-in-progress Smile 

I also wrote an I2C probe, and found a couple more sensors, so I may be back! Smile

It would be cool to get even the crudest of compass apps(just needle and digital degrees/mils) for the PP linux distros.


RE: compass pdf link expired: VTC AF8133J help - WhiteHexagon - 11-10-2025

I think the PinePhone still has a lot to offer, but I dont understand the Linux development process. Plus having a custom OS gives me much more flexibility in design and language choice (Zig).

Once I get compass working, I want to look at GPS and see if I can cobble together a small utility for hiking. Although I just got sidetracked drawing .svg compass and wondering if I can get OpenGL ES working to render it, ie check back in 12 months Wink