Currently I'm working on a project (4 ways junction traffic light) using UNO R3 + Shift Register IC + NOR Gate IC. SPICE project is working. So I decided to make a standalone arduino using Atmega328p solder on a donnut board/PCB with the project sketch. So I start build it on a breadboard.
Burn the bootloader using UNO as programmer and UNO as target. (success).
Disconnect target UNO from programmer UNO and upload modified blink sketch (pin 9) on target UNO with the new Atmega using USB. (success)
Transfer the Atmega328p (with pin 9 blink sketch on it) onto the breadboard and switch on the breadboard with 5v from L7805. (failed to blink the LED on pin 9)
I double and triple check the breadbaord connection and connectivity and found nothing wrong. Its already day 3 searching from internet and troubleshooting and I'm still does't know what the problem is.
westfw:
Is your reset switch in properly? It look square, and one orientation will end up connecting reset to Gand all the time...
Already check the switch using multimeter. No direct connection to the ground. I remove the switch. Currently the reset pin only connect to the 5v via 10k resistor.
Already check the resistor with multimeter give reading approx 10k.
JoeO:
The breadboard looks good. It must be something basic like a bad crystal, Wrong value resistor or a bad LED.
The one question I have is why is the green LED on the protoboard to the left so bright but the green LED on the 328 proto board dim or not lit?
Already check the LED. Working green LED. Already check the resistor connected to the LED. Working fine. The LED on the left is L7805 power indicator. I try to blink the green LED on 328.
About the 16MHz oscillator, I don't have instrument to check it so I replace with a new oscillator.
Finally my board working perfectly. The LED is blinking.
Thanks to you, JoeO and thanks to all that help me troubleshoot my project. Really grateful and really appreciate it.
I'm sorry for wasting someone time here. It just when you buy something new, you didn't expect it to blow for the first time use it. So I did't expect that the newly arrive oscillator would cause the problem.
I'm really sorry and once again thanks so much for helping me and take your time to review my post.
Problem with crystal is probably due to how you laid out the breadboard (assuming crystal isn't bad). Length of connections to crystal needs to be minimized, put xtal next to chip - that's a goddamned 16mhz signal... Also, loading caps of smaller value than specced is sometimes needed due to parasitic capacitance of breadboard.