Close
0%
0%

How to make Arduino Uno clone board.

This is Arduino Uno compatible board having micro usb for power and ch340g for programming. Lightweight and powerful.

Similar projects worth following
Arduino:
The pcb board consisting Atmega328p (8-bit microcontroller) as a brain of it, have 32Kb flash memory, 2Kb Sram, 1Kb EEPROM, 14 Digital input/output pins (6PWM), 6 Analog pins and 8Mhz internal clock.
external clock up to 20Mhz but commonly 16Mhz is used for better performance.

Hello guys, in this tutorial we will discuss about Arduino circuit and share its Gerber files and bootloader info with you. We will construct the circuit using EasyEDA. Then we will convert the schematics into Gerber file. This PCB cannot be designed using homemade PCB fabrication method; therefore, we will use JLCPCB (China pcb manufacturer) to get professional PCB just in $2.

Arduino:

The pcb board consisting Atmega328p (8-bit microcontroller) as a brain of it, have 32Kb flash memory, 2Kb Sram, 1Kb EEPROM, 14 Digital input/output pins (6PWM), 6 Analog pins and 8Mhz internal clock.

external clock up to 20Mhz but commonly 16Mhz is used for better performance.

How to make your own Arduino:

mini_hu.jpg

Here we are making a simplified and powerful version of Arduino. The output will be same as original one. We will use basic components to make this board fully compatible with Arduino. Here is the list of components that will be used to make this PCB:

1) AtMega328p (SMD version)

2) CH340G Usb to TTL (For programming)

3) Micro USB socket

4) 100nF (104) capacitor

5) 22pf capacitor

6) 12Mhz crystal

7) 16Mhz crystal

8) 220-ohm resistor

9) 1k resistor

10) 10k resistor

11) 603 smd led white

12) Pin headers

13) Ams1117 3.3volt

14) Ams1117 5volt

Component’s description:

ATMega328p is the main microcontroller unit and 16mhz crystal with 22pf capacitors are used to generate proper clock.ch340g is used to program this Arduino chip using TXD and RXD pins,22pf capacitor with 12mhz crystal oscillator is used for proper clock in ch340g. Here we are using micro usb to power 5volt directly from mobile charger, 100nf capacitors as filters can reject the distortion frequencies (if generated). 1k resistor are used with TX and RX pins. 10k resistor is used as a pulldown resistor with reset tactile switch. Ams1117 regulator with some capacitors gives stable 3.3volts and 5volt output. Smd led indicates the power input.

Circuit diagram:

Schematic_promini_2021-11-10.png

Circuit description:

Our Arduino board is a clone, to upload the code inside Arduino chip we need a Usb to TTL converter IC. Here in this board, we are using Ch340g, helps to upload program in Arduino using compatible software. Our board is simple but powerful and have more features. You have to install CH341 drivers from google in order to program this Arduino.

Burning bootloader:

We will upload Arduino UNO bootloader in this blank Atmega328p-au chip. To burn bootloader, follow these steps and watch our video on YouTube.

1) Connect the original Arduino Uno to your pc using cable.

2) Now upload the ARDUINO ISP code in this Arduino from examples.

3) Connect the 2nd Uno according to this schematic.

ice_screenshot_20211111-220107.png

4) Just change the programmer to Arduino as ISP and from the tools option click on burn bootloader.

5) After burning bootloader safely, now we can use our own Arduino as original one.

Video:

Uploading first sketch using ch340g:

After burning bootloader successfully, we can upload any sketch in this Arduino microcontroller. Just plug the micro usb and select the board to Arduino and port accordingly.

Now set the programmer as AVR ISP. And upload the code. We can also upload the code using Android mobile. Arduino Droid offers same options on android devices as on Arduino IDE.

Try to Upload simple sketch first:

/*
  Blink

  Turns an LED on for one second, then off for one second, repeatedly.

  Most Arduinos have an on-board LED you can control. On the UNO, MEGA and ZERO
  it is attached to digital pin 13, on MKR1000 on pin 6. LED_BUILTIN is set to
  the correct LED pin independent of which board is used.
  If you want to know what pin the on-board LED is connected to on your Arduino
  model, check the Technical Specs of your board at:
  https://www.arduino.cc/en/Main/Products

  modified 8 May 2014
  by Scott Fitzgerald
  modified 2 Sep 2016
  by Arturo Guadalupi
  modified 8 Sep 2016
  by Colby Newman

 This example code is in the public domain.
...
Read more »

Untitled.png

2d image

Portable Network Graphics (PNG) - 84.61 kB - 11/12/2021 at 09:48

Preview
Download

Portable Network Graphics (PNG) - 127.69 kB - 11/12/2021 at 09:48

Preview
Download

Schematic_promini_2021-11-10.pdf

pdf circuit diagram

Adobe Portable Document Format - 84.10 kB - 11/12/2021 at 09:48

Preview
Download

Zip Archive - 69.12 kB - 11/12/2021 at 09:48

Download

  • 1 × atmega328p Microprocessors, Microcontrollers, DSPs / ARM, RISC-Based Microcontrollers
  • 1 × ch340g
  • 1 × 12MHZ Crystal
  • 1 × 16Mhz crystal
  • 5 × 100nf

View all 10 components

  • ​Future Updates:

    Sagar 00111/12/2021 at 09:51 0 comments

    we will upgrade this board in terms of hardware by adding a Usb type c and WI-FI compatibility. Keeping the board size minimum using 4,6 layer pcb.

View project log

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates