Author Topic: Connecting Two Axion(gen1) Via UART 1  (Read 1348 times)

0 Members and 1 Guest are viewing this topic.

Offline MysmasterTopic starter

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
Connecting Two Axion(gen1) Via UART 1
« 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

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Connecting Two Axion(gen1) Via UART 1
« Reply #1 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.

Offline Ro-Bot-X

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,431
  • Helpful? 25
  • Store: RoBotXDesigns.ca
    • Ro-Bot-X Designs
Re: Connecting Two Axion(gen1) Via UART 1
« Reply #2 on: January 13, 2011, 07:17:17 PM »
I recommend the I2C interface.
Check out the uBotino robot controller!