element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Atmega328P-PU (arduino uno) from breadboard to pcb
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 22 replies
  • Subscribers 397 subscribers
  • Views 1863 views
  • Users 0 members are here
  • atmega328
  • arduino
Related

Atmega328P-PU (arduino uno) from breadboard to pcb

bobj6
bobj6 over 10 years ago

Hello everybody.

 

I been working with an arduino uno for a few years now and i decide to make them standalone.

So i bought some Atmega328P-PU and start putting them on a breadboard with a Crystal and a few capacitors

I have loaded the BLINK example onto my Atmega chip and this works fine, The led blinks with an interval of aproximilly a 1/2 second.

 

Now this works i have solderd one onto a PCB.

I used a Voltage regulator (L7805ABV) to make 5 volts out of 12 volts.

the Atmega does get power and ground and the Crystal is also correct installed.

But when i start it up the led on pin 13 doesn't light up.

When I touch the plastic of the Atmega chip the led does ligt up, But flashes way to fast (Not the 1/2 a second it should).

 

does anyone have an idea what is going wrong here?

I thank you in advance.

 

Yours sincerly,

Bob

  • Sign in to reply
  • Cancel

Top Replies

  • shabaz
    shabaz over 10 years ago +3
    It sounds like a couple of things; probably a floating reset pin (that would explain why a finger near it makes a difference) and also probably the config reg fuse values have an incorrect prescaler value…
  • bobj6
    bobj6 over 10 years ago in reply to clem57 +2
    I am using ic sockets so i dont solder with the chip on the board.
  • kidiccurus
    kidiccurus over 10 years ago +2
    I have been doing this recently and have had an issue with a dead crystal after a short. The chip didn't work at all in my board but was fine in the original arduino. I'm waiting for some replacements…
  • clem57
    0 clem57 over 10 years ago

    When you soldier them, you must be very careful of not conducting the heat to the processor which can affect them. Did you soldier a pin holder and then plug the processor  in? The plastic touching indicates a possible shorting occurring.

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago

    Its hard to understand what you're explaining, but you might have bricked the chip, applied too much heat when you soldered the chip on, or the chip is just broken, possibly due to Electro-static discharge (ESD). Just get a new chip, solder it on at around 600 - 670 degrees Fahrenheit, and you should be all set! Be sure to be properly grounded to avoid shocking the chip. Glad to help image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shabaz
    0 shabaz over 10 years ago

    It sounds like a couple of things; probably a floating reset pin (that would explain why a finger near it makes a difference) and also probably the config reg fuse values have an incorrect prescaler value (that would explain the incorrect speed of your blinking program).

    I could be wrong - have not used an ATmega chip in years.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bobj6
    0 bobj6 over 10 years ago in reply to clem57

    I am using ic sockets so i dont solder with the chip on the board.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • neilk
    0 neilk over 10 years ago in reply to bobj6

    That's good news image

     

    Can you post the PCB?

     

    Neil

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bobj6
    0 bobj6 over 10 years ago in reply to shabaz

    The reset pin isnt floating i have connected it to 5 volts trough a 10K resistor.

    I also have connected the reset pin to a switch which pulls it to ground.

     

    Is it possible that 10K is to much and that it needs to be 1K.

     

    I use the same chip as I use on the breadboard since i know that one works.

    I just switch that chip between the breadboard and the pcb

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bobj6
    0 bobj6 over 10 years ago in reply to neilk

    not at the moment but i can take some pictures in the weekend.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • kidiccurus
    0 kidiccurus over 10 years ago

    I have been doing this recently and have had an issue with a dead crystal after a short. The chip didn't work at all in my board but was fine in the original arduino. I'm waiting for some replacements at the moment. Check your crystal with a spare if possible. Also, little things but did you remember the 22pf caps from the crystal to ground and the 10uf filter cap?

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bobj6
    0 bobj6 over 10 years ago in reply to kidiccurus

    ok I have replaced the crystal and this didnt do the trick.

    It did function a little bit better since i did see the led blink now.

    but the speed still was to high, i also noticed that when i touch the plastic of the chip.

    the speed gets even higher.

     

    thank you all for thinking with me.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 10 years ago

    The reset line needs more than just a 10K pull up, it also needs a 100nF to ground to form an RC circuit

    see the official schematics where it is clearly shown

    http://www.arduino.cc/en/uploads/Main/Arduino_Uno_Rev3-schematic.pdf

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube