Required Hardware
This tutorial explains how to migrate from an Arduino board to a standalone microcontroller on a breadboard.
Wiring Instructions
To wire ATmega328 to your project, connect the following pins:
- ATmega328 Pin 9 –> Crystal Pin 1 –> Ceramic Capacitor 22pF Pin1 (1st Capacitor)
- ATmega328 Pin 10 –> Crystal Pin 2 –> Ceramic Capacitor 22pF Pin1 (2st Capacitor)
- The other Pins of Capacitor to GND
- ATmega328 Pin7 –> +5V
- ATmega328 Pin20 –> +5V
- ATmega328 Pin21 –> +5V
- ATmega328 Pin8 –> GND
- ATmega328 Pin22 –> GND
To wire Reset button to your ATmega328, connect the following pins:
- ATmega328 Pin 1 –> Push Button Pin 1
- GND –> Push Button Pin 2
- Resistor 10K from ATmega Pin 1 to +5V
- Capacitor 100nF from ATmega Pin 1 to DTR (FTDI Pin)
Recommended Software
- none
Leave a Reply