From: Chris S. <chr...@gm...> - 2006-01-29 02:09:53
|
I'm just beginning to use the basix/robostix as a sensor controller for a robot. To start, I'll be stringing some I2C devices onto the robostix and have a server on the basix poll them and communicate the results to a Powerbook over bluetooth. Are there any sources/demos/appnotes that I can look at that figure this ou= t? What is the communication between the basix and the robostix? Do I need to program the Atmel *at all* to achieve this? In general, when do you need to program the Atmel? Are there any gotchas I should worry about? thanks, Chris |
From: Chris D. <cg...@co...> - 2006-01-29 03:42:37
|
On 1/28/06, Chris Sears <chr...@gm...> wrote: > I'm just beginning to use the basix/robostix as a sensor controller > for a robot. To start, I'll be stringing some I2C devices onto the > robostix and have a server on the basix poll them and communicate the > results to a Powerbook over bluetooth. > > Are there any sources/demos/appnotes that I can look at that figure this = out? > What is the communication between the basix and the robostix? > Do I need to program the Atmel *at all* to achieve this? > In general, when do you need to program the Atmel? > Are there any gotchas I should worry about? For this specific application, you do not need to program the robostix at all. When connected to a gumstix, the robostix acts as an I2C slave. The I2C pins exposed on the robostix are connected to the gumstix's I2C bus via a voltage converter. Thus you can simply program all your I2C on the gumstix. As for when you do need communications between the gumstix and the robostix, you can use a UART (you need to jumper together the gumstix STUART and the robostix UART-0 to program the Atmel anyway), or you can use I2C. SSI is another option, although I have not done that. -chris |