Pages: [1]   Go Down
Author Topic: Problem with standalone atmega328  (Read 491 times)
0 Members and 1 Guest are viewing this topic.
france
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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



* IMG_8010.JPG (1785.44 KB, 2988x1952 - viewed 23 times.)
« Last Edit: July 17, 2012, 01:57:56 pm by pinata2501 » Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 201
Posts: 8706
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Could be power noise because there aren't any bypass capacitors between +5 and Ground near the chip.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 525
Posts: 26510
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 525
Posts: 26510
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

france
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Upstate NY
Offline Offline
Full Member
***
Karma: 2
Posts: 184
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

france
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Thank you all for your answers
Logged

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 525
Posts: 26510
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Lack of attention to detail - will bite you every time.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Pages: [1]   Go Up
Jump to: