My Own Arduino Nano Microcontroller Board

by Lithium-ion in Circuits > Arduino

258 Views, 1 Favorites, 0 Comments

My Own Arduino Nano Microcontroller Board

20220321_153931.jpg

Yep, a Nano with c type and compatible drivers is what I want for my projects. Get it now on PCBWAY the clone board.

Supplies

mini_20220321_151536.jpg

Soldering iron and other soldering equipments.

Power supply

Electronic digital meter

PCB and stencil

Solder paste and Hot plate

Intro:

mini_20220321_144835.jpg
mini_20220321_154300.jpg

Here is my new Arduino Nano board, This looks better with C-type and one step above compatible drivers. I faced many problems in making the PCB, but I think PCBWay is the solution to all of them with their prototype PCB capabilities.

And looks of the pcb also matters, see this tiny cute beast. Whatever, let's have a look on the specs and circuit diagrams.

Arduino Microcontroller:

ATMEGA328P-AU -  Twins Chip 1.png

Arduino UNO chip are available broadly in two different packages, SMD and DIP. Because here we are using this with Arduino Nano compatible board, so we are using 32 pin SMD chip. Here are some specs of the MCU:

Specifications:

  • Microcontroller: ATmega328P
  • Operating Voltage: 5V
  • Input Voltage (recommended): 7-12V
  • In/out Voltage (limit): 6-20V
  • Digital I/O Pins: 14 (of which 6 provide PWM output)
  • PWM Digital I/O Pins: 6
  • Analog Input Pins: 6
  • DC Current per I/O Pin: 20 mA
  • DC current for 3.3V Pin: 50 mA
  • Flash Memory: 32 KB (ATmega328P) of which 0.5 KB used by bootloader
  • SRAM: 2 KB (ATmega328P)
  • EEPROM: 1 KB (ATmega328P)
  • Clock Speed: 16 MHz
  • LED_BUILTIN: 13


Circuit Diagram:

ice_screenshot_20220301-124605.png
ice_screenshot_20220301-124519 - Copy.png
ice_screenshot_20220301-124436 - Copy.png
ice_screenshot_20220301-124818.png

I am sharing the proper schematics with you, In the first image you can see microcontroller section, then programmer chip section and power section. You can also Download full PDF of this circuit from here.

Components Required:

mini_20220321_150930.jpg

1) AtMega328p (SMD version)

2) CH340G Usb to TTL (For programming)

3) USB Type C JACK

4) 100nF (104) capacitor

5) 16Mhz crystal

6) 1k resistor

7) 10k resistor

8) 603 smd led white

9) Ams1117 5volt

10) Custom PCB (PCBWAY)

Circuit Description:

mini_20220321_151412.jpg
mini_20220321_153922.jpg
mini_20220321_153608.jpg

The most challenging thing is to keep the cost as low as possible, so we tried to go with ch340 programmer chip, which is directly connected to USB and known as USB to serial chip. RX and TX pin is connected to MCU with a 1k resistors and DTR pin to reset with 100nf capacitors. To give a proper clock signal to MCU a 16MHz SMD rasonator is there. Ch340C is used as USB to serial programmer has inbuild 12MHZ crystal for clock. Reset pin is connected to 5v with 10k resistor and pulled down whenever we have to reset the programmer. Some capacitors are used to reduce the noise in signals and There are 4 indicating led's for RX, TX, Power and D13.

PCB Layout and Ordering:

Untitled.png
ice_screenshot_20220330-143454.png
ice_screenshot_20220330-143514.png

I want to make the exact same form factor PCB as Arduino Nano. So, I designed the PCB keeping the pins and voltage in mind. Download my Gerber files from here.

For the professional looks, I am using PCB prototype service from PCBWAY. The ordering process is too simple, Sign-up to PCBway using this link.

Then choose the PCB size and other parameters of color, surface finish and material. Add it to cart > Upload the Gerber files > CHECKOUT and get your package in just 7 days.

Soldering and Assembling:

unbox.gif
mini_20220321_144922.jpg

Because I want these PCBs for my college students, I am using paneled PCB. So, that we can make more microcontroller boards in less time.

Assembly:

stemcil.gif

I ordered the stencil also from PCBway, the full review to it is here. both top and bottom layer is printed on this single stencil.

Soldering:

sioldering.gif

Then I placed all the components and this is the time to solder. Because I don't have any hot plate, my home made Iron can do the job. As per bottom layer hot air gun is the best method to solder.

Uploading First Sketch:

My Video.gif
ice_screenshot_20220327-103815.png

You can download the proper drivers for ch340c programming chip from here, also I am assuming here that bootloader is pre uploaded in the chip. So after that you can try below given blink sketch to check the action of MCU and programmer.

Code:

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}

Looks:

mini_20220321_154421.jpg
mini_20220321_152004.jpg

After all the not only the looks are better but also the board is fully compatible with Arduino Nano. All thanks to PCBWAY for making this amazing board.