Go Down

Topic: Problem with standalone atmega328 (Read 512 times) previous topic - next topic

pinata2501

Jul 17, 2012, 08:42 pm Last Edit: Jul 17, 2012, 08:57 pm by pinata2501 Reason: 1
Hello,

I try to make a standalone atmega328 on a breadboard.
I've followed those links:
http://www.arduino.cc/en/Main/Standalone
http://arduino.cc/forum/index.php/topic,114306.0.html
http://www.electronics-hobby.com/2011/07/07/stand-alone-arduino/
and others...

So I've uploaded the blinking led sketch on my arduino uno (r2) and make sure it worked.
The i've take off the atmega and put it on the breadboard following the instructions in http://www.arduino.cc/en/Main/Standalone.
But the led does not blink.

I've tried many times but still nothing.
What do I miss ?
Is it possible to do with an arduino uno or am I wasting my time ?

Thanks


johnwasser

Could be power noise because there aren't any bypass capacitors between +5 and Ground near the chip.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

CrossRoads

It's possible your switch is shorting reset to Gnd. Try removing the Gnd connection to the switch.
If that works, move your GND connection to the other side of the center-divider.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

CrossRoads

It's also possible your LED is backwards. Try flipping it around. You want the short leg (that has flat spot on the lip of the LED) going to the resistor.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

pinata2501

the switch and the led are ok.
It must be something else.

JoeO

The wiring looks good. 

The possible causes are:
Open wire/s
5 Volts not present or too low - Bad regulator
328 pin bent under.
Reset switch not working.
Open resistor.
LED does not work.
Bad breadboard

You should be able to determine what problem it is using a volt meter.

pinata2501

ok i've found the problem.
Wrong capacitors with the quartz.

Thank you all for your answers

CrossRoads

Lack of attention to detail - will bite you every time.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Go Up