The best tools to make your project dreams come true

Login or Signup

Build Your Own Arduino Breadboard

By Staff

Build Your Own Arduino Breadboard


I’ve been tinkering with Arduino boards for many years and I always find myself wanting something more; something flexible in terms of my prototyping needs. I decided to build my very own Arduino using a breadboard and components; this allowed me to prototype my projects before taking the decision to embed them and develop a custom PCB design.


For this example, I used the Atmel™ ATmega328P AVR™ integrated chip; you can, of course, use other Atmel ICs with any DIP package configuration for use with a standard breadboard, such as ATmega® 8/168. Below is list of parts that are required to build the Arduino breadboard:

Building Your Circuit

For your reference, I have provided a schematic using Digi-Key Scheme-it, where you can also find the bill of materials used.

Arduino Breadboard Scheme-it

Adding Power to Your Circuit

First and foremost, you need to power your circuit. The best way to do this is using a standard 9V PP3 battery with a barrel jack adaptor as show in the below image or with a 9-12V DC power supply.

Build Your Own Arduino Breadboard - Figure 1

Figure 1: 9V Battery with barrel jack adaptor

Unfortunately, the ATmega328P IC does not take any other voltage input than 5V, this means we need to use a 7805 5V power regulator. This regulator is a TO-220 package where the input power supply is provided on pin 1 (left leg), ground is pin 2 (middle leg) and finally the 5V output is provided on pin 3 (right leg). This particular regulator allows you to input a varying voltage between 7-16V which is ideal for 9V batteries.

  1. Insert the 5V regulator into the bottom of the breadboard, taking note of the orientation of the first pin.
  2. Add power output and ground wires from the regulator to the power rails on the breadboard.
  3. Insert a 100µF capacitor between pin 1 (input) and pin 2 (ground) on the regulator. If the capacitor is polarized, which means it will only work if connected to a circuit one way, the polarization can be determined by a small silver strip down the side of the capacitor which indicates ground.

    Build Your Own Arduino Breadboard - Figure 2

    Figure 2: Voltage regulator circuit

  4. Insert a red LED into the breadboard power rails on the opposite side to the regulator, in series with a 220ohm resistor. This LED will give you an indication if power is reaching the ATmega IC and ultimately an output from the 7805.

    Build Your Own Arduino Breadboard - Figure 3

    Figure 3: LED connected in series to the breadboard power rail

  5. To make sure that both sides of the breadboard’s power rails are connected you must insert two jumper wires between the positive and negative rails (figure 4).

    Build Your Own Arduino Breadboard - Figure 4

    Figure 4: Connected the breadboards power rails in circuit

  6. Take the DC socket with screw terminals and screw in two jumper wires. Connect the positive jumper wire to pin 1 (input) on the regulator and the negative jumper wire to pin 2 (ground) on the regulator. This method allows you to easily unplug and swap the battery, if necessary, without unplugging all the jumper wires.

    Build Your Own Arduino Breadboard - Figure 5

    Figure 5: Connecting a screw terminal DC socket to the regulator

  7. Finally, test the circuit by connecting your power source to the DC socket; you should see the red LED light up if successful (figure 6)

Build Your Own Arduino Breadboard - Figure 6

Figure 6: Power circuit connected

ATmega328 Circuit

Before you insert the ATmega328P IC, it would be wise to learn a little bit about what each of the pins do in relation to the Arduino functions. For further reading, please refer to the datasheet which can be found on the Digi-Key website.

  1. Insert the ATmega328P IC into the breadboard, making sure that either side of the IC has bridged the small gap in the middle of the breadboard, as shown in figure 7. Note: Pin 1 of the chip can be identified by a small circle next to it on the silicone.

    Build Your Own Arduino Breadboard - Figure 7

    Figure 7: ATmega328P IC inserted into the breadboard

  2. Now you need power to the ATmega IC so connect the following pins using jumper wires:
    1. Pin 7 – Positive Voltage
    2. Pin 8 – Ground
    3. Pin 22 – Ground
    4. Pin 21 – Positive Voltage
    5. Pin 20 – Positive Voltage

      Build Your Own Arduino Breadboard - Figure 8

      Figure 8: Power connected to the ATmega IC

  3. Add a 16MHz crystal between pins 9 and 10 on the ATmega IC; also connect a 22pF capacitor from each of the crystal’s pins to ground rail. A crystal is used to provide clock input to the microprocessor. Note: The crystal and ceramic capacitors are not polarized which mean it doesn’t matter which way you insert them into the circuit.

    Build Your Own Arduino Breadboard - Figure 9

    Figure 9: Crystal and 22pF capacitors inserted into the breadboard

  4. Now add the momentary tactile switch to act as a reset button to restart the firmware. Insert the switch just above the ATmega IC making sure the two sets of pins are abridged; insert one jumper wire to the ground rail and to the first pin on the switch and the second jumper wire from the second pin below the first and into the row of pin 1 on the ATmega IC. Also insert a 10k resistor from the positive rail to the reset pin on the ATmega; refer to the schematic for reference.

    Build Your Own Arduino Breadboard - Figure 10

    Figure 10: Reset switch added to the circuit

  5. Finally add a green LED to digital pin 13 on the ATmega IC, which you can use to upload an example sketch and blink the LED.

Build Your Own Arduino Breadboard - Figure 11

Figure 11: Green LED connected to pin 13


Before you upload any sketches to the ATmega IC first you must install something called a bootloader. A bootloader is a basic hexadecimal file that runs when you turn on the board. The bootloader is responsible for two things; first, it looks to see if a computer is trying to program it, if it is then it grabs that program and uploads it to the IC’s memory. Secondly, if nothing is trying to be uploaded then it runs the program which is already stored in the memory; this is why the program runs every time you switch on your Arduino.

There are a number of different ways in which we can install a bootloader to your ATmega IC, such as using a dedicated programming board such as SparkFun’s pocket AVR™ programmer (1568-1080-ND) or you can use an existing Arduino board.

In the following example I will be using the Digi-Key Metro board to install the bootloader and also to upload the first sketch example. There are four SPI pins which must be connected between the ATmega IC and the Metro board as shown in the table below:

Arduino as ISP










Go ahead and connect the Metro board to the Atmega328P IC on your breadboard.

Build Your Own Arduino Breadboard - Figure 12

Figure 12: Metro board connected to the ATmega

  1. Plug in the power to your ATmega and then insert the USB cable from the Metro board to your computer.
  2. First, we need to setup the Metro board to act as an in-serial programmer (ISP). Open up the Arduino IDE software and open up the “Arduino ISP” example sketch. Select the Metro board from the list of Arduino boards and click the upload button. Once completed the Metro board can now act as an ISP.

    Build Your Own Arduino Breadboard - Figure 13

    Figure 13: Arduino ISP sketch

  3. To upload the bootloader, select the board settings for the board you want to program by navigating to Tools > Boards, which in our case is the ATmega328P IC. Select the option “Arduino Duemilanove or Diecimila”.

    Build Your Own Arduino Breadboard - Figure 14

    Figure 14: Select the board option for the ATmega328P

  4. Select which processor of the ATmega IC you are using, Tools > Processor > 328.
  5. Select the method of programming to the ATmega®, Tools > Programmer > Arduino as ISP

    Build Your Own Arduino Breadboard - Figure 15

    Figure 15: Selecting the Programming method

  6. Finally, select Tools > Burn Bootloader and the process of installing the bootloader will begin.

Uploading Blink Example

Now that the bootloader is on the ATmega IC, it is waiting for a program to run. The process of uploading a sketch to the ATmega IC is simple.

  1. Open the Blink example sketch in the Arduino IDE, File > Examples > 01 Basic > Blink
  2. To upload the sketch through the Metro board, ensure that the settings are the same as when you uploaded the bootloader:
    1. Board - Arduino Duemilanove or Diecimila
    2. Processor – 328
    3. Programmer – Arduino as ISP
  3. To upload simple click, File > Upload using Programmer

Build Your Own Arduino Breadboard - Figure 16

Figure 16: Upload sketch using programmer in Arduino IDE

Once the sketch has been uploaded to the ATmega board, you can simply remove the Metro board and the jumper wires linking the two.

Key Parts and Components

Add all Digi-Key Parts to Cart
  • 700-00078-ND
  • 377-2093-ND
  • Atmega328P-PU-ND
  • LM7805CT-ND
  • 67-1060-ND
  • 67-1066-ND
  • 220QBK-ND
  • 10KQBK-ND
  • BC1005CT-ND
  • 887-1019-ND
  • 1189-1300-ND
  • CKN9090-ND
  • 1528-1519-ND
  • 1528-1386-ND