• 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

This Article Has Been Shared 414 Times!

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

  • Methods and Components To Build Electronic Circuits

    We Have Discussed Some Details On Methods and Components To Build Electronic Circuits Which Are Needed To Create Ammeter Electronic Projects.

  • Arduino 7 Segment LED Display Temperature Sensor (TM1637 & DHT11)

    Circuit, Code To Build Temperature Sensor For Air-conditioned Car With Arduino 7 Segment LED Display TM1637 & Cheap DHT11 Temperature Sensor.

  • Arduino Multifunction Shield (HCARDU0085) : Features

    Arduino Multifunction Shield Has 4 Digit 7 Segment LED Display, 4 SMD LED, 10K Potentiometer, 3 Push Buttons, Buzzer And Lot of Interfaces.

  • Which Size of Battery to Choose For Electronics Works : AA, AAA, D, C

    Which Size of Battery to Choose For Electronics Works Among AA, AAA, D, C Sizes? All are of 1.5v but there are matters which need calculation.

  • ESP32 BLE Server with Android App

    BLE only works when one communication is active and stays ON. Else it remains in sleep mode. Beacons are great usage of BLE. In our series of articles on Samsung Smartwatch as Proximity Switch, we have used the ESP32 as client. In this article, we are talking about using ESP32 BLE as a server. In […]

Additionally, 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

  • What is Voice User Interface (VUI) January 31, 2023
  • Proxy Server: Design Pattern in Programming January 30, 2023
  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023

About This Article

Cite this article as: Abhishek Ghosh, "How to Test USB to TTL Converter," in The Customize Windows, July 13, 2021, February 1, 2023, https://thecustomizewindows.com/2021/07/how-to-test-usb-to-ttl-converter/.

Source:The Customize Windows, JiMA.in

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

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT