From: Colin Sauze <cjs06@ab...> - 2006-08-09 22:58:56
>>From: "Dave Hylands" <dhylands@...>
>>Reply-To: "General mailing list for gumstix users."
>>To: "General mailing list for gumstix users."
>>Subject: Re: [Gumstix-users] Basic description of using gum+robostix for
>>Date: Wed, 9 Aug 2006 13:45:41 -0700
>>On 8/9/06, Ben Ford <ben@...> wrote:
>> > Hello,
>> > I have been reading about all over the place and still can't get my
>> > around exactly how to go about this.
>> > I have a gumstix platform with a robostix.
>> > Can i access the ADC and IOs from the robostix directly from linux
>> > the gumstix? Or is there a way to do this with a different setup of
>> > The main things i would like/need to be able to do is have a serial
>> > and GPRS modem running, and a number of ADCs available (probably 4)
>> > I am not bothered about the actual system used, whether i have wasted
>> > money on a robostix doesnt matter. I suppose i should have enquired
>> > Or is my understanding that the robostix is a seperate microcontroller
>> > that must have code written for it?
>>The robostix is a separate microcontroller that must have code written
>>for it, however there is already a bunch of code available.
>>The i2c-io program will allo the ADCs to be read and the GPIOs to be
>>You can find out more, by looking at these pages:
>>i2c-io doesn't currently have an serial port support, although for
>>output only, you could do direct register manipulation using i2c-io.
If you are using the gumstix and robostix together why not just have the
gumstix perform the serial i/o? When connected to a robostix ttyS2 will be
available on the port labelled pxa-uart on the robostix. Plug your GPRS
modem into here and use i2c-io to read the ADC lines.
However this doesn't leave you a port for the LCD. You could try using
this lcd - http://www.robot-electronics.co.uk/htm/Lcd03tech.htm which
works over I2C. Or you could get a breakout-gs board which provides
several serial ports and i2c, connect up serial ports to your LCD and
modem and then connect the i2c lines up to a robostix. This means that the
gumstix and breakout-gs would be connected via a hirose connector and
you'd need another wire going from the breakout-gs to the robostix.
The other alternative which depends on the type of communications your
doing is just to run a robostix standalone and write some atmega code to
read your ADC lines and send them over your modem. I'd recommend this
approach if your using SMS, but if your using TCP/IP and want to send data
over the internet i'd use a gumstix as if not you'll have to implement a
tcp/ip and ppp stack for the robostix. Programming the LCD to work with
the robostix shouldn't be too hard.