Society of Robots - Robot Forum
Electronics => Electronics => Topic started 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?
-
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.
-
The ATmega is like $5, I don't think all the trouble coding and wiring with free samples is worth saving $5 :P
-
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