Arduino Nano Ch340 Driver
- Arduino Nano Ch340 Driver Mac
- Driver Para Arduino Nano Ch340
- Arduino Nano Ch340 Driver
- Arduino Nano Ch340 Driver Linux
Karena Arduino Open Source baik hardware maupun software, maka banyak yang produksi Arduino. Dan beberapa ada yang menggunakan Downloader tipe CH340 yang mana jika tidak install Driver nya por USB arduinonya tidak akan terbaca. Nah untuk mengatasi masalah tidak terbaca Port pada Arduino IDE, kita harus install terlebih dahulu Driver USB CH340. The origional Arduino NANO boards are getting very difficult to find these days and you may find yourself in posession of one of the newer Arduino compatiable NANOs with teh CH340G chip on the bottom (instead of the origional FTDI chip). Here is a great instructable that explains how to install the drivers. The non-official Arduino UNO or Arduino NANO and other Arduino compactable boards often come with CH340 based USB to Serial adapter IC on it. This board is n.
- Download latest version of verified & working Windows 8.1 x64 x86 driver for CH340, CH340G USB to Serial converter. CH340 Windows 8 driver download. Good work, but it doesn’t work with my PC/Windows 10 and clone Arduino/nano.
- Basically, let me put it this way. Buy from chinese site, get chinese drivers. I got my drivers.
- 5Windows System
- 6MAC System
Introduction
keyestudio Nano CH340 is a small, complete, and breadboard-friendly board based on the ATmega328P-AU. Compared with ARDUINO NANO, the USB-to-serial port chip used in keyestudio Nano is CH340G, so that the using method is the same except the driver installation file.
It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 8 analog inputs, a 16 MHz crystal oscillator, a mini USB port, an ICSP header and a reset button.
Note that ICSP (In-Circuit Serial Programming) header is used to program the firmware to ATMEGA328P-AU, but generally the chip has been preburned before leave the factory. So use it less.
The keyestudio Nano can be powered via the Mini-B USB connection, or female headers Vin/GND (DC 7-12V).
Specification
Microcontroller | ATmega328P-AU |
---|---|
Operating Voltage | 5V |
Input Voltage (recommended) | DC7-12V |
Digital I/O Pins | 14 (D0-D13) (of which 6 provide PWM output) |
PWM Digital I/O Pins | 6 (D3, D5, D6, D9, D10, D11) |
Analog Input Pins | 8 (A0-A7) |
DC Current per I/O Pin | 40 mA |
Flash Memory | 32 KB of which 2 KB used by bootloader |
SRAM | 2 KB |
EEPROM | 1 KB |
Clock Speed | 16 MHz |
LED_BUILTIN | D13 |
Element and Interfaces
Here is an explanation of what every element and interface of the board does:
1 | ICSP Header | ICSP (In-Circuit Serial Programming) Header ICSP is the AVR, an micro-program header consisting of MOSI, MISO, SCK, RESET, VCC, and GND. It is often called the SPI (serial peripheral interface) and can be considered an 'extension' of output. In fact, slave the output devices under the SPI bus host. |
2 | LED indicator(RX) | Onboard you can find the label: RX(receive ) When control board communicates via serial port, receive the message, RX led flashes. |
3 | LED indicator(TX) | Onboard you can find the label: TX (transmit) When control board communicates via serial port, send the message, TX led flashes. |
4 | LED indicator(POW) | Power up the control board, LED on, otherwise LED off. |
5 | LED indicator(L) | There is a built-in LED driven by digital pin 13. When the pin is HIGH value, the LED is on, when the pin is LOW, it's off. |
6 | RX0(D0)TX1(D1)D2-D13 | It has 14 digital input/output pins D0-D13 (of which 6 can be used as PWM outputs). These pins can be configured as digital input pin to read the logic value (0 or 1). Or used as digital output pin to drive different modules like LED, relay, etc. |
7 | RST | Reset pin: connect external button. The function is the same as RESET button. |
8 | MEGA 328P | Each board has its own microcontroller. You can regard it as the brain of your board. Microcontrollers are usually from ATMEL. Before you load a new program on the Arduino IDE, you must know what IC is on your board. This information can be checked at the top surface of IC. |
9 | MINI USB | The board can be powered via Mini-B USB connection. Also upload the program to the board via USB port. |
10 | 3V3 pin | rovides 3.3V voltage output |
11 | REF | Reference external voltage (0-5 volts) for the analog input pins. Used with analogReference(). |
12 | A0-A7 | The Nano has 8 Analog Pins, labeled A0 through A7. |
13 | 5V pin | Provides 5V voltage output |
14 | GND | Ground pin |
15 | VIN | Input an external voltage DC7-12V to power the board. |
16 | Reset Button | Used to reset the control board |
17 | CH340G | USB-to-serial port chip, converting the USB signal into Serial port signal. |
18 | AMS1117 | Convert the external voltage input DC7-12V into DC5V, then transfer it to the processor and other elements. |
Specialized Functions of Some Pins
- Serial communication: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL serial data.
- PWM (Pulse-Width Modulation): D3, D5, D6, D9, D10, D11
- External Interrupts: D2 (interrupt 0) and D3 (interrupt 1). These pins can be configured to trigger an interrupt on a low value, a rising or falling edge, or a change in value. See the attachInterrupt() function for details.
- SPI communication: D10 (SS), D11 (MOSI), D12 (MISO), D13 (SCK).
- IIC communication: A4 (SDA); A5(SCL)
Windows System
Download the Arduino IDE
When getting this control board, we need to install Arduino IDE.
Enter the website https://www.arduino.cc/,click and
Select versions you want to download, the latest version could be downloaded.
Alternatively, you could select previous release.
In this project, we use 1.8.12 version.
Click to view the below page
Click to download an installer of Arduino 1.8.12 version,which needs to be installed manually. When you tapa zip file of Arduino 1.8.12 version will be directly downloaded, and you only need to unzip it to finish installation.
Click iconto download Arduino IDE.
Download Driver of CH340
Installing the Driver
The driver will be installed after downloading Arduino IDE.
If your system is Windows 10, the computer will automatically install driver.
For other systems, like Windows7, we need to install driver manually.
The USB to serial chip of control board is CH340G, therefore, we will install the driver(usb_ch341_3.1.2009.06) for it.
Connect control board to computer with USB cable.
Click Computer----- Properties----- Device Manager, as shown below:
Then right-click on the device and select the top menu option (Update Driver Software...) shown as the figure below.
Then it will be prompted to either “Search Automatically forupdated driversoftware” or “Browse my computer for driver software”. Shown as below. In this page, select “Browse my computer for driver software”.
After that, select the option to browseand navigate to the “drivers” folder of usb-ch341 installation.
Once the software has been installed, you will get a confirmation message. Installation completed, click “Close”.
Up to now, the driver is installed well. Then you can right click “Computer” —>“Properties”—>“Device manager”, you should see the device as the figure shown below.
Select the Arduino Board
Open the Arduino IDE, you’ll need to click the “Tools”, then select the Board that corresponds to your Arduino.
Setting IDE for new bootloader
Arduino Nano board could burn new and old bootloader. New bootloader is only compatible with 1.8.9 IDE and above. Yet the old one is compatible with all versions.
Select your serial port
Select the serial device of the Arduino board from the Tools | Serial Port menu.
Note: to avoid errors, the COM Port should keep the same as the Ports shown on Device Manager.
Hello World!
Copy the following code in the Arduino IDE.
Then click verify button to check the errors. If compiling successfully, the message 'Done compiling.' will appear in the status bar.
After that, click the “Upload” button to upload the code. If the upload is successful, the message 'Done uploading.' will appear in the status bar.
Then click to open serial monitor and set the baud rate to 9600, enter an “R” and click Send, that is, the computer will send the character R. When NANO board receives it, you should see the RX led on the board flash once, and then D13 led flash once; when keyestudio NANO board sends 'Hello World!' to the computer, finally you should see the 'Hello World!' is showed on the monitor, and TX led on the board flash once.
MAC System
Install Arduino IDE on MAC System
The installation instruction is as same as the chapter 5.1, as shown below:
Download Driver of CH340
How to Install Driver of CH340
Please refer to the following link:https://wiki.keyestudio.com/Download_CH340_Driver_on_MAC_System
Setting Arduino IDE
The setting method is as same as the chapter 5.6 except from COM port, as shown below:
Package Included
- Keyestudio NANO ch340 * 1pcs
- 30cm mini USB cable * 1pcs
Resource Links
Troubleshooting
If you have problems, please see the troubleshooting suggestions.
Get One Now
Chinese clone of Arduino Nano with chip CH340G: how to fix it
ofAcoptex.cominNANO
Chinese clone of Arduino Nano with chip CH340G: how to fix it
Because of substantial price difference, many users are using Chinese clones of the genuine Arduino development boards. Although in most cases the functionality is similar or even identical to the original, there may be some differences. Unfortunately, quite often there is virtually no schematics, datasheets or detail description available. This is a case for a Chinese clones of the Arduino Nano R3 board as well.
You will find more information about the Nano CH340 R3 development board in this article. Information from different websites has been used in this article. Special thanks to http://actrl.cz/ for schematics and details of this chip.This acticle is based on PC WINDOWS but here is a link for a solution for Mac users.
The Nano CH340 R3 board is similar to the genunine Arduino Nano board, described on the original Arduino website here. The board uses same type of Mini-B USB connector, same side connectors and 6-pin SPI connector, as well as the Atmel ATmega328P microcontroller in the 32-TQFP package. There are also 4 LEDs – Power LED, LED connected to digital output pin D13, and two LEDs showing status of the RxD and TxD communication lines.
To provide +5.0 V Vcc power supply, the board uses LM1117-5.0 SOT-223 linear stabilizer 5.0 V (compared to original UA78M05), with slightly higher current (800 mA vs. 500 mA of original UA78M05) and lower drop-out voltage (typ. 1.2 V vs. 2.0 V for UA78M05).
To facilitate the USB communication and to provide 3.3 V output, the board uses USB communication circuit CH340 in SOP-16 package (instead of FT232RL used on the genuine Nano R3 board), manufactured by several Chinese companies. The CH340 IC requires installation of driver software, which was covered and explained many times already, so I will not repeat this information. With installed driver, communication with Arduino (IDE) is clear and straightforward.
To switch between VIN power supply (6-12 V) and USB power supply, the board includes a Schottky diode with low forward voltage. Most of the boards I got seems to be using the Vishay Semi SD101CWS diode (Vf 0.6 – 0.8 V at 20 mA, S4 SMD marking code).
Link to schematics of the Nano CH340 R3 board in pdf. Feel to copy and share as you like, providing you will attach the copyright info “copyright actrl.cz”.
Differences to the genuine Arduino Nano R3 board
- For both ATmega328P and CH340, the board uses 3-pin SMD ceramic resonators with internal load capacitors, so no external capacitors for oscilating circuit are needed not they are used (although there are soldering pads provided next to the CH340 resonator).
- Rx and Tx LEDs are connected directly to the ATmega328P outputs PD0 and PD1, so keep that in mind in case those two pins will be used for something else than USB communication (on genuine Nano R3 board the Rx and Tx LEDs are driven by additional outputs on the FT232RL chip).
- The CH340 chip includes the 3.3 V LDO voltage regulator, which can supply up to 25 mA. There is no refence in the original CH340 datasheet or elswhere on the internet, so I measured the supplied 3V3 voltage directly.With no load, the 3V3 pin voltage was 3.28 V. With load up to 25 mA the voltage dropped to 3.18-3.22 V (on different boards); however at 30 mA load the voltage dropped to 3.10 V and further to 2.85 V at 40 mA.
Arduino Nano with chip CH340G Vs Arduino Nano original board
Let's plug in the genuine Arduino Nano board first. Everything works just fine. The PC recognises it connected to serial port and installs drivers automatically. If we connect to PC Chinese clone we do not get the same result as PC does not recognise it. The problem is that the Chinese clone does not use the standard serial to usb chip but a chip marked CH340G. Your computer will not recognize these CH340G chips on your computer. To fix this is very easy.
IMPORTANT:
1.CHECK THE POWER LED IS ON WHEN CHINESE CLONE OF ARDUINO NANO CONNECTED TO USB PORT OF YOUR PC. IF IT IS OFF YOUR CHINESE CLONE BOARD IS DEAD.
2.SOME CHINESE CLONES ARE DIFFERENT. THESE CLONES DO NOT HAVE FTDI CHIP, WHICH MAY CAUSE YOUR PC TO NOT SEE THE ARDUINO BOARD ONCE PLUGGED IN WITH THE USB.
Arduino Nano Ch340 Driver Mac
3.CHECK THAT YOU ARE USING CORRECT CABLE - IT SHOULD BE MINI USB DATA CABLE
Driver Para Arduino Nano Ch340
0. Test it first.
- Plug it to the PC with the USB cable.
- Make sure it turns on - PWR LED SHOULD BE ON, if PWR LED IS OFF your chinese clone of Arduino board is not operational.
- Try to upload the blink sketch to it using the Arduino IDE software on your PC. ( File->Examples->01. Basics->Blink )
- You will most likely get the error. This has nothing to do with the code being right/wrong. It just simply means that your PC and the board aren't communicating correctly.
- If your clone did work with the sketch upload, then even better. Just start using it.
- If you get the error message, see information below how to fix it.
1. First case. You need to download the manufacture's drivers for this chip and install them in your PC. Here is the link. See the description of driver installation package below:
CH340 / CH341 USB to serial WINDOWS driver installation package that supports 32/64 bit Windows 10 / 8.1 / 8/7 / VISTA / XP, SERVER 2016/2012/2008/2003, 2000 / ME / 98, through Microsoft digital signature authentication, support USB to 3-wire and 9-wire serial port, with the product release To the end user.
Applicable scope: CH340G, CH340C, CH340B, CH340E, CH340T, CH340R, CH341A, CH341T, CH341H chips
Try to plug in your Chinese clone again. It should work just fine. The board should be visible in the Arduino IDE program and ready to use. We upload the blink sketch to the board to thest it and it works ( File->Examples->01. Basics->Blink )
2. Second Case. The Chinese clone might still not work after you installed the driver package in your PC (1. First case). This is because there is NO Bootloader installed on the Atmel 328 microcontroller ship. We need a working Arduino board (Can be Arduino Uno or Arduino Nano) and the Chinese clone of Arduino Nano,which we want to fix, to solve this problem.
Step 1. We make an ISP Programmer from working Arduino Uno board
- Connect the working Arduino board to your PC and open the Arduino IDE program.
- Go to Tools->Port->Serial ports list and make sure that the correct serial port is chosen.
- Go to Tools -> Board ->Arduino/Genuino Uno (in this case Arduino Uno, this is the Arduino board that is already working and used to fix chinese clone)
- Go to File -> Examples-> 11.ArduinoISP and click ArduinoISP sketch (a new sketch screen will open with the ISP code written in it)
- Verify then Upload (your rduino Uno board will start blinking for a bit, it means it is loading, wait until done uploading).
- ArduinoISP sketch turns the Arduino into a AVRISP using the following arduino pins: Pin 10 is used to reset the target microcontroller. By default, the hardware SPI pins MISO, MOSI and SCK pins are used to communicate with the target. On all Arduinos, these pins can be found on the ICSP/SPI header. On some Arduinos (Uno,...), pins MOSI, MISO and SCK are the same pins as digital pin 11, 12 and 13, respectively. That is why many tutorials instruct you to hook up the target to these pins. If you find this wiring more practical, have a define USE_OLD_STYLE_WIRING. This will work even even when not using an Uno. On an Uno this is not needed. Alternatively you can use any other digital pin by configuring software ('BitBanged') SPI and having appropriate defines for PIN_MOSI, PIN_MISO and PIN_SCK. IMPORTANT: When using an Arduino that is not 5V tolerant (Due, Zero, ...) as the programmer, make sure to not expose any of the programmer's pins to 5V. A simple way to accomplish this is to power the complete system (programmer and target) at 3V3. Put an LED (with resistor) on the following pins: 9: Heartbeat - shows the programmer is running; 8: Error - Lights up if something goes wrong (use red if that makes sense); 7: Programming - In communication with the slave.
- When upload completed unplug the working Arduino Uno board from your PC. It has the ISP Programmer code inside now. Let's us connect working Arduino Uno board and Chinese clone without bootloader together and run a few commands again.
Step 2. Connecting the Wires
We connect the wires from the working Arduino board to the Chinese clone as follows.
Step 3. Burn the Bootloader
- Keep all the wires intact and unmoved in step 2, connect the working Arduino Uno board back to the PC with the USB.
- Go to Tools -> Port -> Serial ports list and make sure that the correct serial port is chosen.
- Go to Tools -> Board-> Arduino Nano (select the Chinese clone board that is not working - in this case it's an Arduino Nano).
- Go to Tools -> Processor ->ATmega328 (this time we choose the non working Arduino Nano (Chinese clone), which has Atmel Mega 328 processor)
- Go to Tools -> Programmer -> Arduino as ISP.
- Go to Tools -> Burn Bootloader (this is it, after the LEDs stop flashing your board is ready to use !!!).
- Do all of the above steps in ORDER !!! Do not skip any steps. Always make sure that the correct serial port and correct board are chosen before uploading a sketch to avoid errors.
Other projects of Acoptex.com
Arduino Nano Ch340 Driver
Arduino Nano Ch340 Driver Linux
Is this project fake? Report it!
Recommend to a friend