Rover Bot Control - Multi Task with 2 Arduinos?


i received gift of lynxmotion rover bot, 4-wheel drive kit (a4wd) basic atom processor. i'd dump processor , use arduino.
my choices seem be:
1. use 1 arduino , write code efficiently switch back-and-forth between "observe environment" behavior , "navigate bot" behavior.
2. use 2 arduinos , have 1 handle object avoidance , other handle propulsion.

i'm thinking #2 because can searching ir & sonar (ping) while bot moving, opposed "move bit - around - adjust course - repeat" seems cooler me have bot both @ same time.
comments... suggestions?
i have 2 megas , 6 duemilanovas. i'm thinking 2 duemilanovas, or 1 of each.

quote
i'm thinking #2 because can searching ir & sonar (ping) while bot moving, opposed "move bit - around - adjust course - repeat" seems cooler me have bot both @ same time.

the typical behavior of bot ought "go way until told not to". so, of arduino's time should occupied making observations , decisions, , little time spent telling motors turn on or off.

this can handles using single arduino.

if use two, 1 going doing work, while other twiddles it's thumbs waiting serial data arrive. when data arrives, change motor behavior , go twiddling thumbs.

i don't see adding arduino necessary or useful.


Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Rover Bot Control - Multi Task with 2 Arduinos?


arduino

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums