Build Your Own Arduino Circuit on a Breadboard

Small kit with BIG functionality

By Ryan Winters
Jameco Product Manager

Difficulty Level: Beginner
Time Required: 20 minutes
Required: BareBones Arduino Circuit Kit (P/N 2151259 – breadboard not included)


There are many reasons to build your own Arduino circuit on a breadboard or PCB. It takes less space, projects don't always require every pin to be used on the I/O headers, or maybe you won't be using a shield, but you still want Arduino as the brain of your project. The following steps will outline how to assemble the circuit on a breadboard. I am borrowing the majority of the walk-through from the Arduino site and recommend you purchase Jameco's Make Your Own Arduino kit. You can order the components separately or save a little money by ordering this kit.
Arduino Breadboard
Arduino Circuit on a breadboard
(broadboard not included)

Other components you may need:

Part No.
Qty.
Description
36768
1
Wire, Hook-up, 22 AWG solid, 100', Blue
2127718
1
Wire Jumper kit, 22AWG, 70pcs, 14 lengths, pre-stripped
20723
1
Breadboard, 830 point, 6.5" x 2.125"
2117341
1
FTDI Breakout board, 5V, USB to Serial
252786
1
Power Supply, Wall adapter, 9V @ 1.2A
281851
1
DC Power Jack, 2.1mm
2128067
1
Battery holder w/ cover & switch, 9V, 6" wires
198731
1
Battery, Energizer 9V

Step 1 – Parts inventory


Laying out the pieces in the kit
Start by laying out the pieces in your kit

Step 2 – Add power supply components


The Arduino power jack can accept an input voltage range of 7-16 volts. The most common input sources are a trusty 9V battery or a 9-12VDC power supply. Because most sensors and chips require a 5V source, we will need the 7805T voltage regulator to cut the 9V down to a component friendly 5V. If you connect more than 16V, you risk damaging the IC.

A. Add the power and ground jumper wires where the voltage regulator will be as shown below.

Add the power and ground jumper wires

B. Next, add power and ground wires at the bottom of the breadboard to connect the ground rails and the power rails together as pictured.

Add connecting power and ground wires

C. The 7805 voltage regulator is a TO-220 package, so, with the component facing you (printed side) and the leads pointing down, the first pin (left side) is where the positive input from the external power source will connect. The middle pin is ground (negative), and the third pin (right side) is the 5V output side. Add wires to connect the output side of the regulator to the power rail of the breadboard and the ground to the ground rail.

D. Add the 10µF decoupling capacitors between the input power and ground and also on the output side between the power rail and the ground rail. The capacitors are polarized; the negative side goes to ground and the other pin goes to the positive voltage.
Voltage regulator and capacitors
7805 voltage regulator (center) and
decoupling capacitors
Power indicator LED
E. Place the power LED close to the input source and at the top of the breadboard, you can use the green or red LED. Connect a jumper wire from the negative lead (short leg) of the LED to the ground rail, and install a 180Ω resistor from the positive LED lead (long leg) to the power rail.

Step 3 – Installing board components


A. Install the ATmega328 chip (shown on right) so the notched side of the IC is at the top. If you are mounting the components on a PCB, it is a good idea to use the socket. Add the 10KΩ pull-up resistor to the +5V rail and connect the other end to the RESET pin on the ATmega328 (pin 1). Add jumpers for power and ground for the following pins.

Pin 7 - VCC, digital supply voltage (+5V)
Pin 8 - GND (ground rail)
Pin 22 - GND (ground rail)
Pin 21 - AREF, analog reference pin for ADC (+5V)
Pin 20 - AVcc, supply voltage for the ADC (+5V)
Pin 20 connected to power

Pins with jumper wires

Pin 20 needs to be connected to power if ADC isn't being used, and if it is, it needs to be connected to power via a low-pass filter. (A low-pass filter is a circuit that lessens noise from the power source).
Pins with jumper wires

B. Add the 16MHz external crystal between pin 9 and pin 10 of the ATmega328. Then add one 22pF capacitor from pin 9 to the ground rail, and the other 22pF capacitor from pin 10 to the ground rail. See below.

16MHz Crystal
Two 22pF Capacitors
16MHz Crystal
Two 22pF Capacitors


Momentary button, reset switch

C. Add the momentary button as a reset switch, so it spans the gap on the breadboard the same way the IC does. Add a small jumper wire from pin 1 of the ATmega328 to the bottom leg of the pushbutton (pin closest to the IC). Add another jumper wire from the top left leg of the pushbutton over to ground.
Momentary button, reset switch installed


D. Add the Arduino pin 13 LED. Connect a jumper wire from pin 19 of the microcontroller to the LED anode (longer lead). Use the remaining 180Ω resistor to connect the LED cathode (short lead) to the ground rail.

Note: Pin 13 on the Arduino is not the same pin 13 on the ATmega328 IC. Pin 19 on the IC is actually the pin for Digital pin 13 on the Arduino. If you are unsure or just want to see the pinout for the ATmega328 IC, refer to the diagram below, or you can view the short form datasheet or the longer version.
Pin 13 LED (red)
Pin 13 LED (red)

ATmega328 Pin Map
ATmega328 Pin Map


Step 4 – Connecting the 3.3V power circuit


A. Find some space near the bottom of the breadboard to place the 3.3V regulator (LM1117T-3.3). This is also a TO-220 package but different from the 7805T 5V regulator. With the chip facing you (printed side) and leads pointed down, pin 1 (left leg) is ground, pin 2 is the 3.3V output voltage side, and pin 3 (right leg) is the input power side. Place one jumper from the ground rail to pin 1 and another jumper from the 5V power rail to pin 3 of the voltage regulator. Use a small jumper wire to bring the 3.3V output to its own row on the board. Be sure not to connect the 3.3V and 5V outputs together.

B. Install one 10µF tantalum capacitor between the power and ground pins on the input side, and install the other 10uF capacitor between the power and ground of the output side.

Note: The tantalum capacitors are polarized, so be sure to install them correctly. The printed face should have a (+) sign on it, but if it doesn't, the longer leg is the positive side. See images below.

Tantalum Capacitor (view 1)
Tantalum Capacitor (view 2)
Correct placement of tantalum capacitors is very important – they are polarized


Step 5 – Ready, set, go (or program)

If your ATmega328 chip is preprogrammed, you should be in business! If not, there are a few more steps necessary to program it. You will need a USB-to-Serial device. I used the FDTI Basic Breakout Board (5V). If you just want to get it working, you can skip installing the 6-pin header and just run jumper wires straight from the USB-TTL header to the appropriate pins on the breadboard. Be sure the pins are routed correctly for the serial device you choose; the pins on the breakout board are labeled with 3-digit names. During my build I discovered the microcontroller needs a perfectly timed press of the reset button to ready the chip to be programmed, and the breakout board has a pin called DTR/GRN which sends a signal to the reset pin when hooked up properly. So, connect a jumper wire from (DTR/GRN) on the breakout board to Pin 1 of the ATmega328 via a 0.1µF ceramic capacitor.
Bingo!

Pin on breakout board
Pin on microcontroller
RTR/GRN
Pin 1 (RESET) via 0.1µF cup
RXI
Pin 3 (TX) (digital pin 1)
TXO
Pin 2 (RX) (digital pin 0)
3V3
5V power source
CTS
(unused)
GND
Ground

Connect jumper...
FDTI Basic Breakout Board
FDTI Basic Breakout Board (5V)

BareBones Arduino Circuit Kit Components:

Part No.
Qty.
Description
2129334
1
IC, ATmega328P
526248
1
Socket, IC, 28-pin, 0.3"
51262
1
IC, 5V Regulator, 7805T
333973
1
LED, Red, 660nm, T1-3/4
693901
1
LED, Green, 565nm, T1-3/4
691104
1
Resistor, 1/4W, 10KΩ
690689
2
Resistor, 1/4W, 180Ω
29891
2
Capacitor, radial, 10µF, 50V
325139
1
Crystal, 16MHz, low-profile
15405
2
Capacitor, ceramic disc, 22pF, 50V
15270
1
Capacitor, ceramic disc, 0.1µF, 50V
153251
1
Switch, pushbutton, OFF-(ON)
153700
1
Header, 6-pin, 1 row, vertical, 0.1"
242114
1
IC, 3.3V Regulator, LM1117T-3.3
94078
2
Capacitor, tantalum, 10µF, 25V


Ryan Winters is a Product Manager at Jameco Electronics. His hobbies include working on cars and computers, fiddling with electronic gadgets, and learning robotics.