FORGEThe standalone Arduino can work with just the
16MHz crystal oscillator and the two 22 pF capacitors.
However, using a voltage regulator in your circuit
is highly recommended, as any voltage higher
than 5 V could damage the chip. This circuit can be
implemented on breadboard, protoboard, or a PCB.
You can add all the extra connections that your
project needs in the same way as you would
connect them to an Arduino Uno. The datasheet
(hsmag.cc/exdrFL) for the chip gives details of which
physical pins relate to which internal pins, as well as
other information such as the voltage and current
tolerances. The internal pins are split into three banks:
PB, PC, and PD. PD is digital pins 0–7, PB is digital pins
8–13, and PC is analogue pins 0–5.
Now, go out and shrink down your projects, but
don’t forget to let us know what you create.YOU’LL NEED
ATmega328P
chip (with or
without bootloader)
16MHz clock
crystal
2 × 22 pF
capacitors
Arduino/Genuino
Uno
Jumper cablesARDUINO UNO
PIN (WITHOUT CHIP)ATMEGA328P
CHIP PIN
5 V 7, 20
GND 8, 22
RESET 1
Rx 2
Tx 3ISP
What is ISP?
ISP stands for
‘In-circuit Serial
Programmer’,
and it’s a
device that
can program
the flash
memory of the
microcontroller,
being connected
to some of
its pins. In
this case, the
Arduino Uno
acts as the ISP.FLASH
115510101515202025253030353540404545505055556060AB ABC CDE DEF FGH GHIJ IJ1312111098 765432
L5V A0ANALOG INAREF1GNDTX
RXRESET3V3 GNDGNDVIN A1A2A3A4A5DIGITAL (PWM= )Arduino TMIOREFICSPICSP2
ONPOWER10
RESET TX0RX0ATMEGA328the main chip on the Uno, we first need to carefully
remove the latter. There’s one large chip in the middle
that’s pushed into place and can be removed by
pulling. It may take a little force, but be careful not to
damage the chip.
Reconnect the Arduino Uno with the standalone
Arduino according to Table 2.
You will upload the code to the standalone Arduino
chip from the Arduino IDE as usual (Sketch > Upload,
or simply clicking on the Upload button). Now you can
disconnect the Arduino Uno, put its chip back, and
reuse the board for your next project.
BOOTING UP
What is a bootloader? It’s a piece of code that runs
in the chip as soon as it is turned on (like the BIOS on
your computer). If the user is trying to program the
chip (with a computer), the bootloader will upload
the program to the chip memory. This enables you to
program the chip through the serial port, just with a
USB cable.Below
Test your chip with
this circuit and the
Blink sketchAbove
Programming the
ATmega328P chip
Table 2
The connections for programming the ATmega328P10 mF 10 mF 22 pF22 pFLM780520(AVCC)
7 (VCC)
22(GND)9(PB6)10(PB7)8(GND)19
(PB5)330 Ω
ATmega328P