Please see all COVID-19 updates here as some shipments may be delayed due to CDC safety and staffing guidelines. If you have an order or shipping question please refer to our Customer Support page. For technical questions please check out our Forums. Thank you for your continued support.

no recess

Member Since: May 29, 2011

Country: United States

  • I completed this tutorial using the ATMega328p. I had quite a difficult time with this tutorial initially.
    At first I thought we were going to program the chip through the serial port using the DB9 connector. After realizing that you have to load the program onto the chip first using the parallel port or your program of choice, well, it works great.
    My wife, however, is not impressed.

  • Don't use the wrong capacitors on your oscillator!

  • By the way, thank you for the excellent tutorial. I did this using all the Sparkfun parts I recieved in the mail. Great website!
    Also, I forgot to mention that I had to build a new hex file from the c source code included in the blink_1MHz zipfile. For some reason the included hex file would not work, but when I rebuilt it using the included .c file...blink blink blink blink blink blink!

  • OK. So. Several hours, a couple Monster Energy drinks, and many ibuprofen later, my lightbulb is blinking. It wasn't anything to do with the switch and the resistor-cap combo on OSC1 didn't help either.
    Turned out the problem was the fuse bits. They were messed up. I reset them all back to the defaults after reading some fuse bit tutorials. Apparently, the fuse bits are what determines certain settings inside the micro.
    Remember, Google is your friend!
    Keep in mind if you are fumbling around for a while like I was, it is very likely that the fuse bits in your micro can get changed.
    Good luck people!

  • I'm having the exact same problem, using the ATMega328p. Avrdude is programming the micro ok, the led just won't blink. In theory, this should have nothing to do with the switch at pin 1 if it's wired correctly.
    I am going to try putting a resistor and cap on OSC1 as illustrated in the solution you provided for the ATMega8. I just need to figure out the RC time constant required for the ATMega328p, as it may not be the same. I'm not sure what else could be the problem?

No public wish lists :(