Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: Mysmaster on January 13, 2011, 04:42:36 PM

Title: Connecting Two Axion(gen1) Via UART 1
Post by: Mysmaster on January 13, 2011, 04:42:36 PM
Hello guys,

What would I need inorder to connect two first gerneration axions via UART 1. UART 0,2,3 are taken on both boards for interfacting with sensors.

I can provide addional information if it's needed.

Thanks,
-Michael Palacios
Title: Re: Connecting Two Axion(gen1) Via UART 1
Post by: Admin on January 13, 2011, 07:08:49 PM
You won't be able to. USB requires a host and a slave. The USB chip on the Axon only allows for slave, and you probably won't be able to find an adapter with host capabilities (it'll say if it does).

That said, we might be able to create a software UART to do what you want, effectively giving you 5 UARTs.

What devices are currently using the other UART ports of your Axon?

In WebbotLib Project Designer, you can easily create a software UART for the Axon. The disadvantage with software UARTs is that they are very slow, so you should use the device that transfers the least information on it.
Title: Re: Connecting Two Axion(gen1) Via UART 1
Post by: Ro-Bot-X on January 13, 2011, 07:17:17 PM
I recommend the I2C interface.