Let's Make Robots!

What microcontroller should i use?

Am planning on building a robot that  would have the abilitty to navigate , avoid obstacles and collect some items.

What chip should i use?

Whats the difference between pic and picAxE?

 

thanks in advance :) 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Prettybird's picture
 I am also sort of new and am learning Parallax Basic Stamp. I know they are a bit pricy but their forum has also helped with their staff engineers and members. Their support is excellent. They have been around a long time and many school courses use there stuff both high schools and colleges. They also have tons of books and software you can download from their site for free.Nuts and Volts magazine also has alot of their stuff through the years. I heard they now have a Pbasic version for the propeller. The Propeller is their superchip but a totally unique language. I have nothing against PICAXE but no morey $$ to invest and learn another language at the moment. Parallax does have some unique add ones that may be difficult to use on other chips unless you are a programming wiz.One processor at a time for me. lol Electronics is my expertise but software is another can of worms. Ebay is a good source and sometimes you get lucky. I wheel and deal in home robotics stuff if interestted. Parallax keeps a high resale value.
TheGrue's picture

Anoter option would be a visual language like 12Blocks that runs on the Parallax Propeller chip. It can get you started and it self generates SPIN code that you can alter to any level of complexity. It has a 100+ building blocks to work with various  hardware. Plus you can use other objects on the OBEX site to add more.

12Blocks.jpg

merser's picture

I'd have to agree with you prettybird on the good support at parallax for their products. I started with the basic stamp2 myself. I'm not sure that price is really that much more when you consider everything needed to get started with a particular brand of controller. But the main issue I think is that parallax hasn't got much following outside of their forum while picaxe and arduino and microchip pics can be found in a multitude of places on the net.

adimedi's picture

Hello !

Can anyone give me links to tutorials that teach to write PWM for multple servos using PIC

 

thanks in advance !

adimedi's picture

THANKS A LOT !

I've done a bit of searching and I think i'll use 18F4320.

Can anyone give me some links for programming mutiple servos ?

 

merser's picture

If you've never programmed a microcontroller before and you decide to go pic then start with the baseline first. There is a lot to learn at once if you start on a chip with gazillions of peripheral functions. As you only wish to drive servos then your main consideration is pin count. If it's only 8 servos then a 14pin pic would be sufficient. Like a 16f505 for instance. You would still have some pins left for leds and sensors. If you need more io then go for a 20 pin pic like the 16f631.

While I'd love to see heaps more people using pic and assembly I think it is best to start out on picaxe if you are a first timer as you can take bigger steps sooner that way. And the support in this site is awesome.

 

adimedi's picture

Hello everybody !

 I'm making a biped and i need to control 8 servos and  3 dc motors. Can anyone plz tell me which PIC microcontrolller i should use ?

TeleFox's picture

8 servoes = 8 digital outputs, 3 DC motors = 6 digital outputs (typical, you could use more or less depending on functionality).
Are you using any sensor of communications lines?

If that's all there is to your biped, then you can use just about any PIC with the required number of outputs - go to Microchip.com and run a search based on the specs you need. You have to think about what type of internal oscillator you want, whether you need ADC/DAC, communications modules, etc.

TheGrue's picture
The Propeller is also cheap [$7USD] for an 8-core processor and can be programmed in either a Basic like language called Spin, Assembly and a combination of both. There is also a good selection of Spin Objects ready for use in your own design on the Object Exchange site. Tech support is also very good.
PIC's can be programmed in C. PIC's and Arduino (Atmel) are equally as powerful.