Engineers Garage

  • Electronics Projects and Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe

CLONING OF ARDUINO

By Prabakaran P.M September 27, 2022

There are numerous motivations to assemble your own Arduino circuit on a breadboard or PCB. It consumes less space in the breadboard, cheaper than Arduino boards or perhaps you won't be utilizing a shield, yet despite everything you need an Arduino as the heart of your Project.

The following steps will outline how to assemble the circuit on a breadboard. 

 


This tutorial demonstrates to you how to construct an Arduino in a breadboard with an Atmel Atmega8/168/328 AVR microcontroller and USB to TTL converter breakout board.

Step 1: Components required:

 Components Required For Cloning Arduino

  1. A breadboard

  2. Connecting Wires

  3. 7805 Voltage regulator

  4. Two LEDs

  5. Two 220 Ohm resistors

  6. 10k Ohm resistor

  7. Two 10 UF capacitors

  8. 16 MHz clock crystal

  9. Two 22 PF capacitors

  10. Small momentary normally open (“off”) button.

You will also need a USB to TTL logic converter for programming.

Step 2: Add Power Supply Components:

The Power Socket in the Arduino can accept the voltage range input of 7 to 16 volts. Mostly 9v battery or an adapter is used. As most of the Sensors and chips works on 5V we need to cut down the input voltage to 5V using 7805 voltage regulators.

Adding Power Supply On Breadboard For Arduino Cloning

Fig. 2: Adding Power Supply On Breadboard for Arduino Cloning

The 7805 voltage regulator is a TO-220 package. Holding the printed side of 7805 IC facing you. Connect the positive input from the external power source to the first pin (left side). Negative to the middle pin and the third pin will give the output of 5V. Add wires to connect the output side of the regulator to the power and the ground to the ground rail.

Use 10µF capacitors for the decoupling purpose between the input and the ground. And another capacitor in the output side i.e 5V and the ground. Note: These capacitors are polarized, a negative side to the ground and the positive side to the 5V.

You can place the power LED to the input source and at the top of the breadboard.

Power Led At Top Of Breadboard

Fig. 3: Power Led At Top Of Breadboard

Step 3: Installing Board Components

Install the ATmega328/168/8 chip, so the notched side of the IC is at the top. Add the 10KΩ pull-up resistor to the +5V and connect the other end to the RESET pin on the ATmega (pin 1). Add jumpers for power and ground for the following pins.

Pin 7 – VCC (+5V)

Pin 8 – GND

Pin 22 – GND

Pin 21 – AREF, analog reference pin for ADC (+5V)

Pin 20 – AVcc, the supply voltage for the ADC (+5V)

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 which is a circuit to reduce noise from the power source).

Power Led At Top Of Breadboard

Fig. 4: Installing ATmega328/168/8 chip On Breadboard

Add the 16MHz external crystal between Pin 9 and Pin 10 of the ATmega. Then add one 22pF capacitor from Pin 9 to the ground, and the other 22pF capacitor from Pin 10 to the ground.

Installing 16MHz External Crystal & 22pF Capacitor On Breadboard

Fig. 5: Installing 16MHz External Crystal & 22pF Capacitor On Breadboard

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 ATmega to the bottom leg of the pushbutton (pin closest to the IC). And add another jumper wire from the top left leg of the pushbutton over to ground. 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.

Installing Momentary Button On Breadboard

Fig. 6: Installing Momentary Button On Breadboard

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 just unsure or want to see the point for the ATmega8 IC, refer to the diagram below.

Pin Configuration Of ATmega8 IC For Arduino

Fig. 7: Pin Configuration Of ATmega8 IC For Arduino

Arduino Pin Mapping Of ATmega8 Ic

Fig. 8: Arduino Pin Mapping Of ATmega8 Ic

Furthermore, there you have it… prepared to be connected to, Power up and program

Burning the Bootloader:

Preparing the hardware:

Connect as shown in the below diagram.

 Hardware Circuit Diagram Of Cloning Arduino

Fig. 9: Hardware Circuit Diagram Of Cloning Arduino

Preparing the software:

Well, you just need to follow the instructions carefully. I’ve added 2 files, that you need to replace. Follow the instructions to replace.

0. Download the IDE.

1. Make a copy of the complete folder where your IDE is. (I named mine arduino-1.0.1 – Copy)

2. Open the new folder.

3. Navigate to … arduino-1.0.1 – Copy hardwaretoolsavretc

4. Find a file called avrdude.conf

5. Replace it with the file I attached. 6. Navigate to … arduino-1.0.1 – Copy hardwarearduino

7. Find a file called boards.txt

8. Replace it with the file I attached.

9. Close everything.

Excellent, now we only have to burn the bootloader and our cheapy micro will work just like a normal one.

boards.txt

avrdude.conf

Setting your Arduino as ISP:

First, we have to make our Arduino as ISP, In other words, we are making our Arduino as an ISP programmer.

1. Plug in your Arduino UNO through USB to your computer. (WITH ONLY USB)

2. Open IDE

3. Open > Examples > ArduinoISP

4. Select Arduino UNO from Tools > Board

5. Select your serial port from Tools > Board (Mine is usually COM3, but it may change.)

6. Upload sketch.

Setting Arduino As ISP

Fig. 10: Setting Arduino As ISP

With everything connected open IDE from the folder you just created (the copy).

1. Select Arduino328 from Tools > Board

2. Select your serial port.

3. Select Arduino as ISP from Tools > Programmer

4. Select Burn Bootloader

It will take some time, You can now use your cheap ATMega8/168/328 as a normal Arduino. For detailed information watch video.

Project Video


Filed Under: Arduino Projects, PIC Microcontroller

 

Next Article

← Previous Article
Next Article →

Questions related to this article?
👉Ask and discuss on EDAboard.com and Electro-Tech-Online.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

EE TECH TOOLBOX

“ee
Tech Toolbox: Internet of Things
Explore practical strategies for minimizing attack surfaces, managing memory efficiently, and securing firmware. Download now to ensure your IoT implementations remain secure, efficient, and future-ready.

EE Learning Center

EE Learning Center
“engineers
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


RSS EDABOARD.com Discussions

  • How can I get the frequency please help!
  • Elektronik devre
  • 12VAC to 12VDC 5A on 250ft 12AWG
  • SPI speed pic18f66j15
  • Antiparallel Schottky Diodes VDI-Load Pull

RSS Electro-Tech-Online.com Discussions

  • compatible eth ports for laptop
  • how to work on pcbs that are thick
  • How to repair this plug in connector where wires came loose
  • Actin group needed for effective PCB software tutorials
  • Kawai KDP 80 Electronic Piano Dead

Featured – Designing of Audio Amplifiers part 9 series

  • Basics of Audio Amplifier – 1/9
  • Designing 250 Milli Watt Audio Power Amplifier – 2/9
  • Designing 1 Watt Audio Power Amplifier – 3/9
  • Designing a Bass Boost Amplifier – 4/9
  • Designing a 6 Watt Car Audio Amplifier – 5/9
  • Design a low power amplifier for headphones- 6/9

Recent Articles

  • ITG Electronics releases gate drive transformers with 200 – 450 V DC capability
  • Stackpole introduces HCJ jumpers with 70.7 amp continuous current capability
  • Infineon releases MCU with 128K flash and multi-sense capabilities
  • ST introduces 600V GaN gate drivers with 300 ns start-up time
  • ABLIC releases S-19116 automotive voltage detector with 6.8μs response time

EE ENGINEERING TRAINING DAYS

engineering

Submit a Guest Post

submit a guest post
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • Battery Power Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • Subscribe to our newsletter
  • About Us
  • Contact Us
  • Advertise

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy

Search Engineers Garage

  • Electronics Projects and Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe