This post is for Micro-USB interface, and there is also a project for Type-C interface: https://oshwhub.com/Aknice/arduino-nano-type-c-zui-xiao-ji-tong-ban.
I don’t need to say much about the MEGA328P chip. It is a very versatile Arduino chip. You can also buy the same Arduino Nano development version online for about 10 yuan. However, I don’t really like the development version sold online. There are 6 pins for programming, and the 3V it leads cannot carry a load and occupies one pin, so I made a development version myself. And the online tutorials about burning with uno are a bit confusing, so I will summarize them here.
The front of the picture above is the main body.
The picture above is the back.
The colored pin headers are selected. The main color is yellow, the power supply is red, and the ground is black. The main yellow pin headers look really good with the green board.
The download circuit, crystal oscillator, and power supply are at the back. On the front are LED indicators and chips. The indicators are a power indicator (red), an LED connected to the D13 interface (green), an upload (yellow), and a download (blue). ) indicator light.
If you remember to put the JLCJLCJLC identification silk screen on the back when making it, it will be more beautiful.
This is a side view of the back. You can see that the components do not protrude and it is very comfortable to insert on the breadboard.
However, since it is hand soldering, type-c is not installed, but micro usb is used.
Below is a comparison of several boards. The one above the blue PCB is the most popular Arduino Nano sold online.
In the middle is a piece I tried making before
Below is this piece of the project
You can see that my development board is smaller because it does not have a download interface. The one I made before uses an upright micro usb, so it will cause a problem. If the board is too thick, it will be difficult to solder, so I replaced it. It is SMD type. Of course, this is not the most critical thing. The most critical thing is that the crystal oscillator does not use SMD, which causes the crystal oscillator on the back to bulge and protrude when plugged into a breadboard. It is uncomfortable, so this time I used an SMD crystal oscillator. .
That’s it for the introduction and production process.
------------Divider line------------
The following is a tutorial for programming using the Arduino Uno board (Uno should be a must-have for everyone who learns embedded technology (laughing))
First open the ISP routine
wiring:
After a simple analysis of the wiring method in the ISP routine, the wiring method can be determined.
Pin 10 is the reset pin, 11 is MOSI, 12 is MISO, and 13 is SCK. Then look for these pins on the schematic diagram.
Uno | Nano |
10 | RST |
11 | D11 |
12 | D12 |
13 | D13 |
GND | GND |
5V | 5V |
Then you know the wiring
Let’s first upload the routine to uno
In addition to selecting the development version and serial port, we also need to select this item in the programmer below.
Then you can upload it directly
Upload successful
Then we burn the nano
Select the development version back to Arduino Nano, and select Old Bootloader for the processor to use the old version of the bootloader.
Then click Burn Bootloader at the bottom
If the wiring and the above operations are correct, the success message will be displayed, and the LED of D13 will flash.
We can happily burn the program
This is a program I wrote myself to flash the LED at 5Hz frequency and print numbers on the serial port. The TX LED will also light up when uploading.
This is all of the above
Devices | Class | introduce | Datasheet |
---|---|---|---|
C06CF220K-9ZN-X1T | Download | ||
C0603C104M8RACAUTO | Download | ||
GRM31CR71E106KA12K | Download | ||
0201X153K100NT | Passive components;The patch capacitance | Accuracy: ±10% Capacitance: 15nF Rated voltage: 10V Temperature drift coefficient (dielectric material): X5R Material: X5R | Download |
FRD0805J361TS | SMD resistor | Download | |
FRD0805J361TS | SMD resistor | Download | |
TFPT0603L1001FV | Passive components;The resistor | Power: 3/4W Operating temperature: -55℃~+150℃ Normal temperature resistance value (25°C, ohms): 1K Resistance accuracy: ±1% | Download |
TS365TP | Download | ||
ATMEGA328PB-AUR | MCU 8-bit AVR RISC 32KB Flash 2.5V/3.3V/5V 32-Pin TQFP T/R | Download | |
MICRO 5.9ZB5.7(040) | The USB connector | Download | |
AMS1117-1.8 | Download | ||
CMI201209J220KT | Passive components;SMT inductance | Accuracy: ±10% Rated current: 5mA DC resistance (internal resistance): 1.2Ω Inductance value: 22uH | Download |
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet