Re: Programming digital compass
Quote:
Originally Posted by daperl
(Post 982420)
The best chance for getting a compass to work on an n900 is for someone to take apart an original Motorola Droid (same SOC). And like you said, after they remove the part, they would then need to find space in the n900 housing.
|
This compass here is what you want. There are 'exposed' I2C connections on the ribbon to the screen. All you gotta do is hookup SDA, SDC, VCC and GND...and write a driver for it. Although you could probably just use I2Ctools and a script to 'poll' it for a direction whenever you want it.
You can either try to stash it in the screen assembly (tough, not much room) or you can put it in the space below the battery ontop of the JTAG connectors (although you would have to tap another I2C bus.
Unfortunatley the component footprint of the 3 axis accelerometer is such that there are no digital compass of the same footprint. So there is no direct swap chip.
|