maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Programming digital compass (https://talk.maemo.org/showthread.php?t=71810)

zifis 2011-04-05 11:15

Re: Programming digital compass
 
This looks very interesting, but what would N900 do with a compass when no developers of, say, augmented reality s/w, consider maemo5 as a project?

Joorin 2011-04-05 11:31

Re: Programming digital compass
 
Quote:

Originally Posted by zifis (Post 982313)
This looks very interesting, but what would N900 do with a compass when no developers of, say, augmented reality s/w, consider maemo5 as a project?

Why would it not be interesting to have another input device on the N900? Someone else might think of something interesting to do with it.

And it might be an interesting hack to make it work. Learning something new is often enough to make it worth it. And even if it doesn't work, you learn something.

zifis 2011-04-05 11:51

Re: Programming digital compass
 
Quote:

Originally Posted by Joorin (Post 982320)
Learning something new is often enough to make it worth it. And even if it doesn't work, you learn something.

Good point, of course :) Being a user myself, I immediately considered the practicality of it first... :o

vi_ 2011-04-05 11:58

Re: Programming digital compass
 
this is madness, why not just splice an I2C compass onto the SMBus and stash it in the space below the battery above the jtag port?

daperl 2011-04-05 13:42

Re: Programming digital compass
 
Quote:

Originally Posted by vi_ (Post 982339)
this is madness, why not just splice an I2C compass onto the SMBus and stash it in the space below the battery above the jtag port?

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.

vi_ 2011-04-05 13:49

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.

daperl 2011-04-05 13:58

Re: Programming digital compass
 
Quote:

Originally Posted by vi_ (Post 982427)
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.

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.

Wow, 6.5x6.5 mm. That's tiny; this seems doable.

mrsellout 2011-04-05 13:58

Re: Programming digital compass
 
Quote:

Originally Posted by vi_ (Post 982427)
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.

Maybe mod a Mugen battery backplate? Plenty of space there and you could use it for when you need a compass, then go back to the standard for everyday use.

abill_uk 2011-04-05 14:05

Re: Programming digital compass
 
Quote:

Originally Posted by vi_ (Post 982427)
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.

Very interesting indeed and you did well to find that compass for sure !.

Flynx 2011-04-05 14:54

Re: Programming digital compass
 
Purchase here: http://www.sparkfun.com/products/9441


All times are GMT. The time now is 00:30.

vBulletin® Version 3.8.8