atmega328p

Setup Arduino Software for Atmega328P with Internal Crystal on Breadboard

A breadboard Arduino will require an Atmega328P controller for these instructions. Note the “P” at the end of the name. You cannot use an Atmega328 because it has a slightly different device id number. It will require a different board configuration. Instructions for that are outside of this tutorial. Go to the Arduino tutorial website […]

Setup Arduino Software for Atmega328P with Internal Crystal on Breadboard Read More »

Burn BootLoader into Atmega328P using Arduino Diecimila

I have an old Arduino Diecimila and some new Atmega328P-PU chips. Shouldn’t have but I brounght some without bootloader to save some dollars. What next? search instructables to see if I can burn bootloader to ths chips. Unluckily not working. An error message “avrdude: stk500_getsync(): not in sync: resp=0x00 avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51”

Burn BootLoader into Atmega328P using Arduino Diecimila Read More »

HUB ISP – Solving the USB-Only "Chicken or Egg" Problem using ATMEGA328P

Many excellent ISP (In System Programming) designs exist for 8 bit AVR microcontrollers. However, most require a pre-programmed microcontroller, or the “Chicken or Egg” problem: you can’t program microcontrollers unless you have one already programmed. Parallel Port or Serial Port solutions have existed, but many modern computers no longer have these ports. The FTDI USB-to-serail

HUB ISP – Solving the USB-Only "Chicken or Egg" Problem using ATMEGA328P Read More »

How to Read Binary/Hex Thumbwheel Switch with an AVR Microcontroller

This instructable will show you how to read the number on a binary pushwheel or thumbwheel switch using LED’s or an AVR microcontroller (I’m using an ATmega328p but this can be adapted for any AVR or probably another microcontroller of your choice). Multiple thumbwheel switches can be strung together to make an electronic combination lock,

How to Read Binary/Hex Thumbwheel Switch with an AVR Microcontroller Read More »

16-key Keypad Decoding with an AVR MCU

This instructable will show you how to interface a 16-key keypad to your AVR microcontroller and read the key when a key is pressed. I’ll introduce the keypad first, then the 74HC922 16-key decoder IC as a pin-saving mechanism, then finally how to take the data and massage it so that you get the correct

16-key Keypad Decoding with an AVR MCU Read More »

How to Read Binary/Hex Thumbwheel Switch with an AVR Microcontroller using ATmega328p microcontroller

This instructable will show you how to read the number on a binary pushwheel or thumbwheel switch using LED’s or an AVR microcontroller (I’m using an ATmega328p but this can be adapted for any AVR or probably another microcontroller of your choice). Multiple thumbwheel switches can be strung together to make an electronic combination lock,

How to Read Binary/Hex Thumbwheel Switch with an AVR Microcontroller using ATmega328p microcontroller Read More »

Scroll to Top