Go Down

Topic: ATmega8 Vs Atmega328P (Read 533 times) previous topic - next topic

Harnam Thakur


Hi there !

I have a sketch which is working fine with ATmega328P, since this uc is expensive, I would like
upload this program/sketch to ATmega8. I have the following apprehensions :-
(1) Is it possible to upload this sketch to ATmega8 ?
(2) If uploaded ,will it work without problem ?
(3) If it malfunctions with ATmega8, What changes I need to do ?

Warm Regards

Nick Gammon

Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

Riva

To determine if your sketch will potentially work on an ATmega8 select the 'Arduino NG or older w/ ATmega8' board type in the Arduino IDE and try to verify the sketch. If it verifies without problems then your a long way to getting it to work. If it shows errors then you will need to post your errors so people can see what the problem may be and if it's fixable.

DuaneB

Quote
To determine if your sketch will potentially work on an ATmega8 select the 'Arduino NG or older w/ ATmega8' board type in the Arduino IDE and try to verify the sketch. If it verifies without problems then your a long way to getting it to work. If it shows errors then you will need to post your errors so people can see what the problem may be and if it's fixable.


Quick and easy check - good idea Riva.
Read this
http://rcarduino.blogspot.com/2012/04/servo-problems-with-arduino-part-1.html
then watch this
http://rcarduino.blogspot.com/2012/04/servo-problems-part-2-demonstration.html

Rcarduino.blogspot.com

Go Up