Reply to topic  [ 2 posts ] 
CH340 USB to TTL Serial Adaptor (HCMODU0076) 
Author Message
Site Admin

Joined: Sun Aug 05, 2012 4:02 pm
Posts: 670
Post CH340 USB to TTL Serial Adaptor (HCMODU0076)
Image


Image

The CH340 USB to serial adaptor (HCMODU0076) makes use of the CH340 USB to serial IC to provide a low cost alternative to our popular FTDI based module. Although much cheaper this module doesn't lack in features or usability. Once you have installed the drivers the module will appear as a normal serial COM port on your computer making it compatible with most terminal programs and development environments such as the Arduino IDE.

The module includes a small switch which allows the voltage available at the VC (Supply output) pin to be switched between 3.3 and 5V. Data pins include TX, RX, CTS and DTR (needed for automatic reset when programming Arduino boards). These digital pins are at 5V TTL levels allowing them to be directly interfaced most 5V microcontrollers.

Please note: Driver support is currently for Microsoft Windows 32/64 bit only.




Image

DTR....Data Terminal Ready
RXD....Serial in
TXD....Serial out
VC......3.3V or 5V Supply out selected via switch
CTS.....Clear To Send
GND....0V




Image

Windows drivers:

Attachment:
HCMODU0076_CH340SER_Windows_Drivers.zip




MAC installation instructions

New code signed version confirmed to work with 10.12 Sierra

Attachment:
CH34x_Install_V1.3.zip



Older code signed version confirmed to work with El Capitan

Attachment:
CH34x_OSX.zip



Instructions:

Download the driver (you must be logged in to download)

Once downloaded, double-click the zip file to unzip it.

Run installer found in that folder.

If asked to restart, do not restart just yet.

Now restart your Mac.


You do not have the required permissions to view the files attached to this post.


Thu Feb 26, 2015 11:04 am
Profile

Joined: Wed Sep 09, 2015 2:36 pm
Posts: 2
Post Re: CH340 USB to TTL Serial Adaptor (HCMODU0076)
I bought 2 of these adapter recently and I discovered that I could not upload code to a breadboard Atmega 328P with one of them. (I only have one at the moment as the other was for a friend).

I had a useful phone discussion with Andrew yesterday at which time I thought the problem was that the adapter was failing to cause the Atmega 328 to reset when trying to upload code. On my adapter the DTR line is LOW by default and goes HIGH briefly when a program is to be uploaded. This seems to be the reverse of normal behaviour.

Later I came to the conclusion that the adapter was actually causing the 328 to reset and the problem was that it would not work properly at 57600 baud which is the upload rate used by the bootloader. The adapter works fine at 115200 baud and at 19200 baud.

After a lot of fiddling around I managed to compile a version of the Optiboot bootloader that uploads at 19200 baud and now I can upload with the CH340 as well as with an older USB-TTL cable that i have had for a few years and which works at 57600 baud.

...R


Wed Nov 01, 2017 7:47 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Thank you to phpBB.com & phpBB.ro.
Design created by Florea Cosmin Ionut.
© 2011 All contents of this site are © Hobby Components LTD