Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: malex on May 22, 2008, 11:34:03 AM

Title: Using PIC16F628A for the 50 dollar robot.
Post by: malex on May 22, 2008, 11:34:03 AM
So I'm a beginner building his first robot and I have a question about the microcontroller.

Is it possible to substitute ATmega8 AVR with PIC16F628A?  I ordered a sample from microchip and wondered if it could be used.

And if so, do I have to alter the wiring/software significantly?

Title: Re: Using PIC16F628A for the 50 dollar robot.
Post by: alessio136 on May 22, 2008, 11:42:01 AM
So I'm a beginner building his first robot and I have a question about the microcontroller.

Is it possible to substitute ATmega8 AVR with PIC16F628A?  I ordered a sample from microchip and wondered if it could be used.

And if so, do I have to alter the wiring/software significantly?



PIC16F628A does not have ADC ports so it's harder to detect which of the photo sensor detects more light.

try PIC16F688: it's smaller and cheaper than 628A but does have adc and all required ports for the $50 robot.
Title: Re: Using PIC16F628A for the 50 dollar robot.
Post by: Admin on May 25, 2008, 02:27:09 PM
The ATmega is like $5, I don't think all the trouble coding and wiring with free samples is worth saving $5 :P
Title: Re: Using PIC16F628A for the 50 dollar robot.
Post by: malex on May 31, 2008, 07:16:21 PM
Ahhh, well I bought AVR already.  I was just thinking if I were to make other bots in the future, would PIC work.

Thanks for the answers