From: Dave Hylands <dhylands@gm...> - 2009-04-29 15:03:37
> I am currently building a robot that can follow a line. I used Dave's i2c-io
> program to control the robot and now I need to add a line following sensor
> (http://www.robotshop.ca/summerour-line-following-sensor-1.html). This
> sensor has an i2c interface through which the data is sent. I need to know
> if the i2c-io program can help me read the sensor (wired to the uart-1)
> without modifications to the program. (sorry for the dumb questions but I am
> a newbie)
Looking at the documentation, this sensor has a i2c interface, and I
suspect that the address is 0x28.
So you should be able to connect it up to the i2c bus connectors on
the robostix. Since its on the i2c bus, the gumstix will be able to
talk to it directly using the i2c program (not the i2c-io program).
Shuswap, BC, Canada
From: John Wilson <john.wilson@er...> - 2009-04-29 15:23:35
> So you should be able to connect it up to the i2c bus connectors on
> the robostix. Since its on the i2c bus, the gumstix will be able to
> talk to it directly using the i2c program (not the i2c-io program).
I'm an i2c newbie and was wondering: how do we get the i2c program for
the Overo? Or, do we use /dev/i2c-1 and /dev/i2c-3?