USB Host Board - Modem Software
This software download is for our USB Host Board. It allows you to connect a USB GSM Modem to the Host Board and send and receive SMS text messages. This is a free software download for our USB Host Board and USB Host IC's (SOIC, DIP, SSOP). Please note: This software is free to download but only works on one of our USB boards or chips which must be bought separately (see below). |
![]() Click Here to Download V1.06 |
![]() ![]() USB Host Boards |
![]() ![]() ![]() USB Host IC's |
Supported Modems
HUAWEI E270![]() Works straight out of the box |
HUAWEI E173![]()
This modem includes USB Flash drive features which needs disabling. |
HUAWEI E160![]()
This modem includes USB Flash drive features which needs disabling.
Currently this modem does not work with the AUTORCV functionality (see below) |
Sierra Wireless 885![]()
This modem includes USB Flash drive features and comes as standard to load as a Flash Drive. |
What can you do?
Sending and Receiving SMS Text messages via a microcontroller can be very useful for remote control or monitoring. You can use it for
- Alarm System - Send an SMS Text Message to your mobile phone if an alarm is tripped
- Remote Monitoring - Send remote data by SMS for monitoring say temperature in a remote location
- Control Equipment - Send an SMS Text message to it to turn on/off an appliance
- GPS Location - connect to a GPS receiver and be able to request the current position via text message (Lost your Drone?)
USB Host Board Configuration
The following Commands are available to configure the USB Host Board
These commands are used to configure the USB Host board and will only function when no device is plugged into the board. If a device is plugged in, these commands will be sent to the device
COMMAND | |
BAUD <value> |
Set Serial Port Baud Rate (default 9600) [2400|4800|9600|14400|19200|38400|57600|115200] |
ECHO ON|OFF |
Turn local Echo On or Off (Default ON) |
AUTORCV ON|OFF |
Turn AUTO Receive mode On or Off (Default ON) |
HELP or ? | Display help |
BAUD
The baud rate for communication with the board.
ECHO
This determines whether data sent to the board is echoed back by the board. This is useful when initially testing communication using a terminal program to issue commands.
When connected to a microcontroller you may not want the data sent to be echoed back. The default is ON
AUTORCV
This is a very useful setting and we recommend leaving this turned on.
Receiving a text message is a multistep process..
- Get a new message alert or check for new messages
- Download the message
- Split up the message into it's constituent parts
- Delete the message
We have automated all of this on the USB Host when AUTORCV is set to ON.
When a new message alert is received, the message is automatically downloaded, split into its constituent parts, stored and then deleted from the sim card. The SDO (A) pin on the board is set high to indicate a new message has been received. To then display the message simply send the command
AT+READ
See the full details for AT+READ below
Connections required
- 5V power in
- 0V
- TX out
- RX in
- SS pin - this pin goes high when modem is attached and configured
- SDO (A) pin - optional for AUTORCV mode
You can use the SS pin output in your code to detect whether the modem is successfully attached before sending commands - see example arduino code below
Example Communication with USB Modem
The following examples show how you can send and receive sms text messages.
First test communication by issuing the AT command. The modem will send an OK response. E.g.
AT OK
To stop the modem echoing your commands you can turn echo off with
ATE0
Reading SMS Messages
The following commands are useful for reading text messages
AT+CMGF=1 set to text mode AT+CMGL="REC UNREAD" list all received unread - listing them marks them as read AT+CMGL="REC READ" list all received read AT+CMGL="STO UNSENT" list all stored unsent AT+CMGL="STO SENT" list all stored sent AT+CMGL="ALL" list all sms present AT+CMGR=1 read message number 1 AT+CMGD=1 delete message 1 AT+CMGD=0,4 delete ALL messages
Example Communication
ATE0 ATE0 OK AT+CMGF=1 OK AT+CMGL="REC READ" +CMGL: 823,"REC READ","+447891123456" Hello there OK
Sending SMS Messages
To send an SMS message we use the AT+CMGS command to indicate the phone number to send the text to. The modem will respond with a > prompt. We can then send the text part of the message. Carriage returns sent will genereate another > prompt on a new line.
Complete sending the message by sending a Control-Z character
Example Communication
ATE0 ATE0 OK AT+CMGF=1 OK AT+CMGS="+447891123456" > Hello this is a text > Next line +CMGS: 249 OK
Deleting SMS Messages
Use AT+CMGL="REC READ" to list messages
Delete a specific message using
AT+CMGD=x x=message number
Check on modem status
AT+CIND?
Check Modem Model and Info
ATI
Get Date and time
AT+CCLK?
Additional Commands
We have added two additional non-standard AT commands to make using the modem easier
AT+SEND
Use this command to simplify sending a text message. You no longer need to wait for the > prompt before adding the message line. Use the following command format
AT+SEND,tel_no,message
E.g.
AT+SEND,+441234123456,Hello
Terminate the command with a carriage return character
AT+READ
This command is available only if you have AUTORCV turned on
With AUTORCV turned on, the USB Host will automatically receive and process the text message for you. It then sets the SDO (A) pin high to indicate a new message is ready.
Send the command AT+READ to display the message. The message is displayed in the following way
TEL:+447891123456 DAT:16/12/06 TIM:09:44:31+00 MSG:Hello from my phone
Sending the AT+READ command turns off the new message indicator pin SDO (A)
There is an example Arduino program below which makes use of this method of reading a text message and the code is much simpler than the other examples which use the standard AT commands.
Documents
The following Arduino code examples all do the same thing, just in different ways
Example 1: Arduino code for sending and receiving SMS text messages
Example code which checks for received SMS messages periodically, sends an sms response and processes the message to turn an LED on or off.
Example 2: Arduino code for sending and receiving SMS text messages
Example code which checks for received SMS messages periodically, sends an sms response and processes the message to turn an LED on or off.
This version uses the AT+CNMI command to setup a new message indicator
This means we don't have to constantly interrogate the modem.
![]() |
Example 3: Arduino code for sending and receiving SMS text messages using AUTORCV mode Example code which responds to new message indicator, reads the text message and sends an sms response. Processes the message to turn an LED on or off. |
This program uses the AT+READ command and AUTORCV mode to greatly simplify the code.
USB Host - USB Modem Software
- Manufacturer: HobbyTronics
- Product Code: USBHOST-MODEM
- Stock Quantity: 1
-
£0.00
- Ex Tax: £0.00

Related Products
USB Flash Drive Reader/Writer
USB Host Board - Flash Drive Software This software download is for our USB Ho..
£0.00 Ex Tax: £0.00
USB Host - Keyboard to ASCII Converter
USB Host Board - Keyboard Software If you want to add a keyboard to you..
£0.00 Ex Tax: £0.00
USB Host - CDC Class Serial Software
USB Host Board - CDC Class Serial Software This software download is for our U..
£0.00 Ex Tax: £0.00
USB Host - USB Joystick Software
USB Host Board - Joystick Software The USB Joystick Software allows you..
£0.00 Ex Tax: £0.00
USB Host - USB Mouse Software
USB Host Board - Mouse Software The USB Mouse Software allows you to co..
£0.00 Ex Tax: £0.00
PS3 Dualshock Controller - USB Host
PS3 Dualshock Controller - USB Host The USB PS3 Dualshock Controller So..
£0.00 Ex Tax: £0.00
USB Host Controller IC - DIP28
USB Host Controller IC - DIP28 This is the breadboard friendly 28 pin DIP version of the micr..
£7.08 Ex Tax: £5.90
USB Host Controller IC - SOIC
USB Host Controller IC - SOIC STOCK AVAILABILITY - 800 available October 2022This is the 28 p..
£7.32 Ex Tax: £6.10
USB Host Controller IC - SSOP
USB Host Controller IC - SSOP This is the 28 pin SMD (SSOP) microcontroller used in our USB H..
£7.80 Ex Tax: £6.50
USB Host - MIDI device software
USB Host Board - MIDI device This software allows you to connect a USB ..
£0.00 Ex Tax: £0.00
USB Host - Serial Driver for FTDI, CP210X, PL2303, CH340/1 and CDC
USB Host - Serial Driver for FTDI, CP210X, PL2303, CH340/1 and CDC This softwa..
£0.00 Ex Tax: £0.00
PS3 and PS4 Dualshock Controller (Bluetooth) - USB Host
PS3 and PS4 Dualshock Controller (Bluetooth) - USB Host The combined US..
£0.00 Ex Tax: £0.00
USB Host Controller Board V2.4
USB Host Controller Board V2.4 Stock availability note: We estimate that the next ..
£17.40 Ex Tax: £14.50
Tags: usb, host, board, modem, mobile, phone, gprs, communications, class, software, device, driver, data, ttl, serial, USBHOST-MODEM, huawei, sierra wireless, sms, text, messages, HobbyTronics, cellular, shield