> It's possible to use an optical mouse image procssing chip to aid navigating a robot (http://www.contrib.andrew.cmu.edu/~ttrutna/16-264/Vision_Project/)
> The chip that is in most optical mice is the ADNS 2610 (http://cp.literature.agilent.com/litweb/pdf/5988-9774EN.pdf).
> If I understand this correctly, it's possible to get information from this chip using SPI.
The ADNS2610 has an SPI like interface. It isn't quite SPI. SPI has a
separate transmit and receive line, while the 2610 uses a single pin
for both input and output.
The simplest way to interface this to the robostix or the gumstix is
to use bit-banged I/O.
If you're going to use the sensor out of an optical mouse (as opposed
to using the ADNS chip by itself) then using the PS/2 interface may be
simpler. Although if you use the SPI interface you can get access to
the camera image seen by the chip.
> The robot we are building for a group MSc project has a gumstix connex, robostix & wifistix connected together as the main 'brain'. Is it possible to 'talk spi' from the gumstix to external devices or is it only really practical to talk to the robostix? Would it make more sense to maybe interface to a Microcontroller (such as a PIC) using i2c, then having that talk spi to the mouse chip. Is it even possible to use a microcontroller in this way as a translator between i2c & spi ?
The robostix doesn't expose the SPI from the gumstix, but the
You could communicate with the robostix using serial, i2c or spi and
then have the robostix talk to the 2610. The 2610 is a 5v device so
you'd need some voltage conversion if you wanted to connect it to the
> At the moment we are able to read and write I/O pins and read ADC lines off the robostix using i2c code running on the gumstix, and I imagine it would be pretty easy to use slightly modified code to interface to say a PIC using i2c.
There's no reason why you can't use the robostix and add a couple of
extra i2c commands.
Vancouver, BC, Canada