Monday, May 24, 2010

What's a good microcontroller and development board for making a small robot?

I want to make a small robot running on two DC motors and having some analog inputs (such as proximity, infrared, and light sensors.) I also need the ability to have digital output besides just the two motors, as well as maybe some VCC and GND bits.





Is there any good microcontroller/development kit for this? In particular, I'm looking for something that can be programmed in C++. The only experience I've had with uC's and dev boards is custom-made ones for my school (which I can't purchase).





Thanks!

What's a good microcontroller and development board for making a small robot?
I’m an ardent proponent of C++, however most of the microcontroller programming is done in plain C, because object-oriented C++ has additional overhead, compared to C. As a tool, C++ can dramatically reduce the development time, compared to plain C, but it comes at a cost of additional resources required during the execution of the code.





There’s a family of microcontrollers canned ARM. Since, these devices have a relatively large amount of resources, compared to other popular families (e.g. AVRs and PICs) there are C++ compilers for them. Some f them are open source.





Which uC family were you using in school? A learning curve for a new uC can be fairly long. Since you've got some uC experience in school, you should consider using the same uC family that you've used in school. Right now you can buy commercial development boards for just about any uC family. We can help you identify the best ones.
Reply:AVRs are excellent. There is a full open source AVR toolchain for C, gcc-avr.





Some people might recommend PICs, but they are slower and also needs special programming boards, AVRs can all be programmed using the same simple serial interface that you can hook up with your parallel port.





I'd recommend coming to ##electronics on freenode.net IRC to chat about AVRs, we have a lot of people on there with AVR experience.





See also www.sparkfun.com.





Good luck

flowers gifts

No comments:

Post a Comment