newlandmark

Arduino nano minimal system board (with programming tutorial)

 
Overview

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

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2024-11-14 04:38:51

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号