• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » How to Test USB to TTL Converter

By Abhishek Ghosh July 13, 2021 7:00 pm Updated on July 13, 2021

How to Test USB to TTL Converter

Advertisement

A USB-to-TTL adapter (USB-to-UART adapter, USB-to-UART bridge) is a USB device that lets us connect a device with TTL/UART port to our PC through the regular USB port. We can use it to update firmware on routers, modems, mobile phones, hard disks, and so on. For testing AT Commands, we need a USB-TTL module built on CP2102 IC. For the sake of proper description, we will describe how to wire The HM-10 BLE Wireless Module with CP2102 USB 2.0 to TTL UART Serial convertor Module.

CP2102 USB 2.0 to TTL UART Serial convertor Module is a $2 device, HM-10 BLE Wireless Module is a readily available Bluetooth 4.0 module. It can be configured as either Master or slave. HM-10 BLE original has two crystals, while the clones only single crystal and the firmware of clones support limited AT commands. Clones can be named MLT-BT05. One of the easiest way to spot the non-HM 10 (actually HM-10s) was the lack of a crystal, unfortunately you can now buy actual HM-10s without the crystal. So the confusion is likely to get worse but this is not an article about HM10.

You need the original one to follow this guide.

Advertisement

---

HM-10 BLE original has the following pins :

  • STATE: state test pins (it is connected to an internal LED)
  • BRK: break connect
  • VCC: positive pole of the power source
  • GND: Ground
  • TXD: serial interface, transmitting terminal.
  • RXD: serial interface, receiving terminal.

CP2102 USB 2.0 to TTL UART Serial convertor module has the following pins :

  • 3V3
  • +5V: positive pole of the power source
  • GND: Ground
  • TXD: serial interface, transmitting terminal.
  • RXD: serial interface, receiving terminal.

Tx of HM10 can be connected to Rx of USB-TTL.
Rx of HM10 to be connected through a level shifter to Tx of USB-TTL. A 1K resistor in series and a 2.2K resistor across to GND is a simple level shifter.
HM10 can be supplied power 5V (there is onboard 3.3v regulator)

How to Test USB to TTL Converter

Now, you can connect the USB plug to your PC, open Device Manager in Microsoft Windows (Press Win+R to open the Run dialog, type devmgmt.msc in it and press Enter) and note the COM port allotted. We require a terminal software to test AT commands. We can use the CoolTerm terminal (in LINE MODE) :

Vim
1
2
## download from
https://freeware.the-meiers.org/

Install CoolTerm software. Run the software, click “options”. Under “serial port” select the COM port of USB-TTL, set Baud Rate as 9600, data bits 8, parity none, stop bits 1, (tick mark) software supported flow control, (tick mark) block keystrokes while the flow is halted, initial line states when port opens – DTR on, RTS on.
Under “terminal” select Line Mode.

Click on connect. Typing AT on the line mode gets an OK reply from HM10. You can pair this module with an Android phone and use the BLE Terminal app.

Tagged With usb to ttl test
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to How to Test USB to TTL Converter

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • Changing Data With cURL for OpenStack Swift (HP Cloud CDN)

    Changing Data With cURL For Object is Quite Easy in OpenStack Swift. Here Are Examples With HP Cloud CDN To Make it Clear. Official Examples Are Bad.

  • OpenShift OctoPress Auto install Script

    OpenShift OctoPress Auto install Script is an Advanced Script to Run OctoPress on Free OpenShift PaaS Practically Without Any Knowing Ruby or Git.

  • OpenStack Swift & HPCloud CDN PHP Bindings : Basics

    Here is the basics of OpenStack Swift & HPCloud CDN PHP Bindings for the WordPress Plugin developers and those who works with PHP based CMS.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy