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 1866 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…
Parents
  • 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
Reply
  • 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
Children
  • mcb1
    0 mcb1 over 10 years ago in reply to bobj6

    Bob

    I'm not sure you've answered Samuel's query

    image

    Perhaps it might be useful if you attach the schematic.

    It can be an image of the diagram you have on paper if you like, but please make sure its clear.

     

    You also haven't told us what capacitors you've added for filtering.

    The 7805 is not enough on its own, you will need a 100-470uF and a 0.1uF capacitor across the 5v line.

     

    There are lots of these made, so it's going to be a small item/connection that has been overlooked.

    Mark

    • 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