Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: Sabetniel on September 17, 2013, 09:43:42 AM

Title: Replacement ATMEGA8 for $50 robot
Post by: Sabetniel on September 17, 2013, 09:43:42 AM
Hello everyone.
To construct the robot $ 50 atmega8 is required, however do not get this micro. What would be the recommended micro without changing programming software?
The atmega328 can be used?
Title: Re: Replacement ATMEGA8 for $50 robot
Post by: jkerns on September 17, 2013, 10:48:13 AM
Pretty much.

You will have to check the exact register names and compare - I have seen differences between other similar AVR chips.  Usually not that hard to fix given a data sheet.  Things like timer masks and PWM setup bits are likely to change.
Title: Re: Replacement ATMEGA8 for $50 robot
Post by: Sabetniel on September 19, 2013, 03:41:47 PM
Done, thank you very much. I'll try to get otherwise atmega8 studying for change that micro....