Let's Make Robots!

Vacuum cleaner robot - microcontroller input/output help!

Hi everyone! I am going to build a three-wheeler vacuum cleaning robot! Right now I am looking for parts and am wondering what kind of microcontroller would be optimal for this kind of robot. It's going to have:

*Engine powered by battery
*2 Sensors http://acroname.com/robotics/parts/R144-GP2Y0A02YK.html
*Home-built vacuum cleaner

From what I can tell, the only input is from the sensors with the rest being outputs. Am I right and will one engine be enough to power all these things? I don't wanna fry anything! Thanks in advance!


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

are moved and turned by a total of 2 motors/servos. If you use 2 motors for differential steering, you will need some kind of motor driver/h-bridge. That said you will reasonably require 2 pins per motor + 2 pins for your sensors, and maybe one to turn the vacuum on and off. Based on those numbers, you could get away with a PICAXE 08m2. You would be better off to choose a higher pin count microcontroller though, because, you may find you want to add more functionality to your robot than 5 or 6 pins will allow.

Could you maybe give an example of what choosing a higher pin microcontroller will get me? Will it perform better with what's already there, or will it just enable me to mash more things into it like a lamp or sound device? Thanks!