Klepto said:Just out of interest, how complex would an external I2C solution be? I know pretty much zero about electronics, but I do know how to solder (I used to work in a factory soldering PCBs all day long). Assuming I'm using an I2C module like this would it just be a case of soldering the wires to the relevant pads on the board and mounting it in an enclosure? How would multiple modules be connected?
For an external solution you'll be using the AV connector port. This is a 14 pin plug and you'd use four pins from it Vcc, Gnd, and two of the UART2 (or maybe UART3 can't remember) pins as SDA and SCL. Then, you'd use OMAP firmware to configure those two pins to act as a "software based i2c" interface.
For an internal solution you'd wire up your SDA and SCL lines to the existing I2C bus which is used for the analog nubs (I think that's what MWeston said - look over in the Developer forum).
In both cases you'd then need a driver available in linux to access that info. See these 2 pages:
http://www.linuxjournal.com/article/7252 & http://www.linuxjournal.com/article/7136
To add more than one I2C device you'd just daisy chain them together. SDA from device 1 to SDA on device 2 and SCL from 1 to SCL on 2.
Hope that helps?
EDIT: BTW, this is the device I plan on using: http://www.sparkfun.com/commerce/product_i...roducts_id=8658 - it's less accurate/sensitive but less expensive.
Last edited by a moderator: