Standalone Atmega328P

Dear Arduino Community
I am in despair. I have been trying for days to run my Atmega328P as a standalone. For this I have a simple project that switches pin 13 off and on every second.

Everything works great when I run the Atmega328P in the Arduino Uno board. However, if I plug the Atmega328P into the breadboard, nothing happens. I have already set the fuses so that the internal clock is used.

I have also tried the following things:

  • Installed a capacitor (22pF) as close as possible to VCC and GND.
  • Installed a pull-up resistor on the reset pin.

Does anyone of you have an idea what else I can do? I am grateful for any help! I would also be satisfied with any hints as to where I should look for the error.

I have attached all relevant pictures to this post.



It looks like you are confusing pin 13 of the chip with pin 13 of the Uno. They are not connected. There is mapping between the two

Connect your LED resistor to pin 19 of the chip on the breadboard instead of pin 13

How did you set the clock for internal? You would have to have an ISP programmer for that. You have 2pcs of Atmega328, so you can use Arduino as ISP?

  • Always add power supply de-coupling.

Thank you IKHeliBob... Beginner error :frowning:
You made my day, thank you! Now it works.

Yes, a rookie, but understandable error

I am glad that it works but take note of the advice from @LarryD about decoupling

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.