How to use
Windows
Step 1
Step 2
You can open up Device Manager to see that the dongle is properly connected. The Smart USB Dongle 2.0 includes a bootloader which allows you to easily update the firmware (or flash your own application to the dongle, more on that HERE). When starting up, the dongle will open up a COM port for the bootloader for 10 seconds to allow you to update the firmware (or flash your own application). Afterwards it will close that port and open a new port for the Smart USB Dongle 2.0 application which is the one we're interested in here.
NOTE: The COM port number may vary and may not be the same as in the picture above.
Step 3
Step 4
If you get an OK response that means the dongle is working.
Done
Great job! You are now ready to start using Smart USB Dongle 2.0!
Now check out the different AT Commands available or how to get started using scripts.
Linux / Raspberry Pi
Step 1
Step 2
To identify which device name the dongle is connected to, you will need to run:
ls /dev
You might need to do it twice, once before you connect the dongle and once after to be able to identify which one is the device name. The Smart USB Dongle 2.0 includes a bootloader which allows you to easily update the firmware (or flash your own application to the dongle, more on that HERE). When starting up, the dongle will open up a COM port for the bootloader for 10 seconds to allow you to update the firmware (or flash your own application). Afterwards it will close that port and open a new port for the Smart USB Dongle 2.0 application which is the one we're interested in here. You can run:
lsusb
It should list a device with the ID: 2dcf:6001 when the bootloader is active but change to 2dcf:6002 after 10 seconds when the application is running.
NOTE: The device name may vary and may not be the same as in the picture above.
Step 3
You will need a serial communication program to communicate with the dongle. For this tutorial we will be using Minicom. You can get Minicom by running:
sudo apt-get install minicom
Now, to start using the dongle run the following command if, for example, your dongle is connected to the device name ttyACM0:
minicom -b 9600 -o -D /dev/ttyACM0
Step 4
Now try typing an AT-Command. For example AT .
If you get an OK response that means the dongle is working.
Done
Great job! You are now ready to start using Smart USB Dongle 2.0!
Now check out the different AT Commands available or how to get started using scripts.
Mac OS X
Step 1
First connect the dongle to your Mac.
Step 2
To identify which device name the dongle is connected to, you will need to run:
ls /dev/cu.*
You should see something like:
$ ls /dev/cu.*
/dev/cu.Bluetooth-Modem /dev/cu.iPhone-WirelessiAP
/dev/cu.Bluetooth-PDA-Sync /dev/cu.usbmodem123456781
The dongle should show up as: /dev/cu.usbmodem123456781 if it shows up with a different name use that instead.
When starting up, the dongle will open up a COM port for the bootloader for 10 seconds to allow you to update the firmware (or flash your own application). Unfortunately this is not as of yet available on Mac. Afterwards it will close that port and open a new port for the Smart USB Dongle 2.0 so you might need to wait a few seconds before doing the next step.
Step 3
You can either use the Mac OS X built in Terminal and screen or an external communication program to communicate with the dongle. For this tutorial we will show how to get started using terminal and screen and also a popular serial communication software called Minicom also via the terminal.
With Screen:
Simply type:
screen /dev/cu.usbmodem123456781 9600
With Minicom:
If you have Homebrew* you can get Minicom by simply running:
sudo brew install minicom
(If you don't have Homebrew click here to find out how to install it)
Now you need to setup Minicom by running:
minicom -s
Go to Serial port setup > Serial Device and type in: /dev/cu.usbmodem123456781 in the field and press enter. Then Save setup as dfl.
Now, to start using the dongle just run:
minicom
Step 4
Now try typing an AT-Command. For example AT .
If you get an OK response that means the dongle is working.
Done
Great job! You are now ready to start using Smart USB Dongle 2.0!
Now check out the different AT Commands available or how to get started using scripts.