Introduction: SENSOR COMMUNICATION OVER USB

About: Founded in 2005, Atlas Scientific specializes in building laboratory grade sensing equipment for robots, appliances, and industrial control systems. Thousands of Atlas Scientific sensors can be found in a wide…

This tutorial shows how to use the Isolated USB EZO Carrier Board to interact with EZO circuits. With a few simple steps, you will be able to calibrate and debug circuits or even monitor in real time the parameter in question.

ADVANTAGES:

MATERIALS:

Step 1: ASSEMBLE HARDWARE

    a) Ensure that the EZO circuit is in UART mode. For more information on how to change from I2C to UART, refer to this LINK.

    b) Insert the circuit into the Isolated USB EZO Carrier Board. Be sure to match the pins correctly. The carrier board's pins are labeled for convenience.

    c) Attach the probe to the BNC connector.

    Step 2: INSTALL EMULATOR AND CONFIGURE THE SETTINGS

    The emulator used is Termite downloadable here. It is a free RS232 terminal for Windows OS, where commands can be entered and the circuit responses can be viewed.

      a) After you have installed the emulator on your computer, launch it.

      b) Plug the USB-A end of the cable into your computer's USB port while the USB mini-B end goes to the carrier board. Your device should now be powered on.

      c) In termite, click on the "Settings" tab, a new window called "Serial port settings" will be opened.

      d) In "Serial port settings", make the changes in accordance with Fig1. Click on the "ok" tab when finished. Note: The port should be automatically detected once the USB is plugged into the computer. In this demo, port = COM13. The baud rate is set to 9600 as it is the default of the EZO circuits.

      Step 3: INTERACT WITH YOUR EZO CIRCUITS

      Refer to the specific datasheet of your circuit for the list of appropriate commands. Datasheets are on the Atlas Scientific website.