Hot answers tagged

16

Arduino has recently changed to using a different bootloader on their official Nano boards that communicates at 115200 baud rather than the previous 57600 baud. Support for these new boards was added in Arduino AVR Boards 1.6.21. The new Nano board definition is not compatible with old Nanos and likely most 3rd party Nanos so backwards compatibility is ...


7

Ok, this is the solution for me: remove all old drivers: sudo rm -rf /Library/Extensions/usbserial.kext sudo rm -rf /System/Library/Extensions/usb.kext Now reboot the computer. And then (very important, because it took me 10 cables to find the right one) use a fully connected cable ;-) Now I have these ports: /dev/cu.wchusbserial1410 /dev/cu....


5

Linux doesn't need drivers (indeed, the whole concept is pretty alien to Linux users). The CH340G is fully supported by the default kernel in all distros I have ever used. On my Ubuntu machine the CH340G on my NodeMCU is detected automatically: [ 8195.450566] usb 4-1: new full-speed USB device number 2 using uhci_hcd [ 8195.630710] usb 4-1: New USB device ...


4

There is no storage on the CH340 and family of UARTs where you could put a unique ID. This is also a problem for the PL2303 type. I have been trying to find solutions for this problem. First and easiest is the position of the device on the USB bus. It will be unique for each device. If you're using linux you can find each device under /dev/serial/by-path . ...


4

If your clones come with a CH340G-chip you might proceed as follows: Download the latest driver with Hi Sierra compatibility here: Select Driver version 1.4 !! Install the driver by double clicking the downloaded file - the installation will stop, issuing an error message as it is an unsigned driver - but if you downloaded the driver via the GitHub link, it ...


3

The problem is in kernel ch341 driver. Using 5.3.3 on Archlinux and 5.6 rc1. https://github.com/torvalds/linux/blob/e33eab9ded328ccc14308afa51b5be7cbe78d30b/drivers/usb/serial/ch341.c This driver version compiled using this Makefile obj-m += ch341-m.o all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: make -C /lib/...


3

You have an Arduino nano clone using a CH340G chip for serial communication. You to down load and install a driver for your computer to recognize it. I don't use OSX, so there's not one I can recommend.


3

Finally I made a breadboard connection joining ESP8266's GPIO 0 and GND to Programmer's GND for flashing the chip For more info Additional Reference: Programming ESP8266


3

As it turns out, I found in the following post: https://github.com/LilyGO/LILYGO-T-OI/issues/3#issuecomment-907645945 a link to a particular build of the CH340 drivers that is properly signed and can be installed on the M1 mac with no troubles.


2

CH340B (not the G) has an EEPROM where you can store the serialnumber. https://www.mpja.com/download/35227cpdata.pdf There is a windows tool as well to read/write it: http://www.downxia.com/downinfo/196126.html Will try to install and see how the G version behaves...


2

If what you want is to tell apart 2 devices that are basically identical, you have 2 ways: always plug them in the same ports and use the USB tree to differentiate them create an handshake protocol, where each Arduino uses a code that you have previously stored in their respective EEPROMs. It might even be possible to write a helper function for UDEV, so ...


2

That looks like a clone of an Arduino Nano to me, with a CH340G chip as the USB interface chip. You need to: Install the CH340G drivers Ensure that the ATMega328PU chip has a bootloader installed on it The last Nano I bought from China didn't have a bootloader installed. There are many tutorials online for teaching you how to install the bootloader using ...


2

That is a Chinese NANO clone, using the notorious CH340G chip. macOS does NOT have a driver, and it is difficult, if not impossible to get a driver which 1. macOS will let you install, and 2. Actually works. I do not know the state with current Windows. In my experience, in addition to poor support the chips are unreliable and fail to respond. You could ...


2

Apparently the name RECV_PIN is used somewhere else, presumably in IRRemote.h -- although not in any version of it I can find. Anyway, just change the name of RECV_PIN to something which doesn't conflict. For example: int MY_RECV_PIN = 11; IRrecv irrecv(MY_RECV_PIN);


2

Simplest possible thing would be that you do not have CH340g driver installed and you should try installing it first; These boards use CH340 for usb to serial and they need the driver to be installed; Please give it a try by getting the driver from the following link http://www.wch.cn/download/CH341SER_EXE.html or any other reliable source if there is any ...


2

The board is an Arduino Nano clone, not an Uno. Plug the Nano's USB cable into your computer. Download and install the CH340 driver from here: http://www.wch.cn/download/CH341SER_MAC_ZIP.html In the Arduino IDE, select the port of your Nano from the Tools > Port menu. Tools > Board > Arduino Nano Sketch > Upload If the port of your Nano doesn't appear in ...


1

Generally, we specify DC power supplies as constant voltage sources. In order to do this, power supplies deliver more or less current as demanded by the load in an attempt to keep the voltage constant regardless of the load. When a constant voltage DC power supply specifies a maximum current, it is saying the power supply can only maintain the specified ...


1

It's impossible to say for sure what is going on without proper equipment (mostly you need oscilloscope), but I'm pretty sure that due to very high current consumption of the motors, there are voltage spikes at the input of the voltage regulator. If voltage exceeds safe value (15V for most of them), then regulator fails and all the input voltage is now on ...


1

All of the cables I tried don't have a data line


1

I found the problem coming from a mismatch of the port speed setting and the baudrate in the avrdude command. It seems that the ATmega is very sensitive to timing issues. After I did set everything to 115200 it works on my w7 box like on the notebook.


1

this my problem too. i found these solutions mac-usb-serial app a topic in arduino forum make sure delete old usb driver in these path /Library/Extensions/usbserial.kext and /System/Library/Extensions/usb.kext then install it again download link


1

The Elegoo website has a downloads page which contains the drivers. Using the Raspberry Pi, download the zip file containing the drivers. Unzip the contents to a location of your choice. (Also see here) Change to the directory containing the Linux driver source files (ie CH341SER_LINUX). In the terminal type make. Let it compile the driver. In the terminal ...


1

Using the VCC as voltage reference is ok only if you accept poor performances or you need to measure a ratiometric output. Case 2 is because the output depends on VCC (so you compensate). For instance, if you want to get the value of position in a potentiometer, you have that the voltage you see is Vo = Vcc * X (where 0<=X<=1 is the position), then ...


1

Remove the old driver by issuing one of the following commands (depending on your installation): sudo rm -rf /System/Library/Extensions/usb.kext sudo rm -rf /Library/Extensions/usbserial.kext Restart your Mac. Install with Homebrew-Cask Install the driver by the following commands brew tap mengbo/ch340g-ch34g-ch34x-mac-os-x-driver https://github.com/...


1

Try this instructions from install driver. https://github.com/adrianmihalko/ch340g-ch34g-ch34x-mac-os-x-driver Installation with Homebrew-Cask. Then try this, and all work fine ;) http://www.instructables.com/id/How-to-fix-bad-Chinese-Arduino-clones/


1

"Linux doesn't need drivers (indeed, the whole concept is pretty alien to Linux users)." I feel alienated, however this information is incorrect. I have at least two Ubuntu machines that did not recognize the CH340g chip. One is Linux Mint 18.2 32bit the other is a Linux Mint 19 64bit. I used the 'driver' that I downloaded from the site in question and ...


1

I found out that I could not use the arduino drivers because I am using a DCcduino uno that has a separate driver.


1

No problem whatsoever as long as you aren't powering the board over USB. You may still be able to do that though depending on what role the CH has in managing the power. Personally I think all CH chip should be removed from all boards. They are horrible chips and cause no end of problems. I assume you have an FT232 adapter board (or similar) to then use ...


1

try reversing the tx/rx lines, if the PRO Mini and serial adapter are chinese, you may want to try using your UNO as ISP programmer. See here for a hint/ex: https://www.arduino.cc/en/Tutorial/ArduinoISP


1

Either you have a cable problem or that board is just not working well. What you call the CH340 chip - when they go bad you get power but NO communications, in my experience. You can test voltages at the various points like 5V, 3.3V, etc., to see if it getting power. If it is and you're still not communicating, then if it were me it would go on the shelf ...


Only top voted, non community-wiki answers of a minimum length are eligible