Quickly Turn Your Computer into an SDI-12 Data Logger Buy Now

SDI-12 to USB Translator


Data Logger or Transparent Modes

Fully SDI-12 Compliant

Powered from the USB Interface

Interface up to 62 SDI-12 Sensors

Can Be Used with any Serial Communication Program

Rugged, Easy to Mount Case (Optional)


Features

  • Affordable.
  • Fully SDI-12 compliant.
  • Sends SDI-12 commands and passes back the responses.
  • Powered from the USB interface.
  • Low power.
  • Can be used with any serial communication program.
  • Command line interface.
  • Can interface with up to 62 SDI-12 sensors.
  • Easy to mount with 4 mounting holes in corners.

Applications

  • Ultra-fast prototyping of SDI-12 sensor networks.
  • Replacement of expensive data loggers.
  • Environmental/Weather monitoring.
  • Control and monitoring of irrigation systems.
  • SDI-12 testing of sensors.

SDI-12 to USB Translator Details

Although SDI-12 is a cryptic 2-wire hardware and software protocol, it is still a widely used standard interface between environmental sensors and data loggers. Until now, sensor users have had the difficult and costly burden of creating their own SDI-12 solutions from scratch. Because of the many eccentricities of the SDI-12 protocol, it is a difficult task to create a truly compliant SDI-12 sensor interface.

The SDI-12 Translator solves the SDI problem, by allowing your to quickly turn your computer into an SDI-12 enabled logger, or terminal, and talk to SDI-12 compliant sensors.

Runs with any Serial Terminal Program

The translator's USB port emulates a serial port so you can use any serial port communication program such as Putty, Termite, or HyperTerminal to communicate with the device through a command line interface. You can also write your own software programs to communicate with the translator board, and merely need to target a serial port on your computer.

Transparent Mode or Data Logger Mode

The translator allows you to pass through raw SDI-12 commands, or you can use the translator as a data logger by setting up the on-board scheduler. As a data logger, it will retrieve data at specified intervals, and save the data to your PC as a CSV file. Note that the terminal software that you select should have file save capability.

Power From USB

The translator is low-power and can be directly powered from the USB cable.

Other SDI-12 Solutions

If you have a sensor that doesn't have SDI-12 capability, you can user our SDI-12 Sensor Translator to quickly convert voltage output sensors into SDI-12 compliant sensors. If you're new to SDI-12, and want a simple, easy to learn, evaluation system to speed up your learning SDI-12, we recommend getting both a SDI-12 USB translator, and an SDI-12 Sensor Translator which can talk to each other.

We also carry an RS232 to SDI-12 translator which may be of interest to you.

Optional - Easy to Mount Enclosure

To keep the cost low, we sell the board by itself, or you can optionally pair it with an enclosure. The enclosure is made of 3D printed PLA. The top part is of the case is transparent, enabling you to see the internal LED. The bottom part has flanges with mounting holes, making it easy to mount.

You can purchase the case from us for minimal cost, or 3D print your own enclosure, by downloading the SDI-TRANS-USB-CASE STL files and printing the case yourself.

Vegetronix Modular Building Blocks

We take a modular approach with our product lines. Each product is simple and low cost, and will easily interface to all of our other products. This approach allows you to build any type of application from our basic set of components.

We Want you to be Happy

Ordering is easy and low risk. Since we build our own products at our factory, all of our products are in stock. When you place your order from our website, it will ship same day from our factory, and you'll have it in your hands in just a couple of days. We ship to nearly EVERY COUNTRY in the world.

If you aren't amazed and delighted by your new SDI-12 to USB Translator, return it for a refund within 30 days.

Pulse Rate to Voltage Translator

SDI-12 to USB Translator with Case. (Case is sold separately)

Pricing and Ordering Info

We ship to nearly EVERY COUNTRY on the planet, directly to you from our factory.

99% of orders ship same day.

BUY NOW FROM OUR WEBSITE STORE
Part Number Description Price Purchase
SDI-TRANS-USB SDI-12 to USB translator $115.95 Buy Now
SDI-TRANS-USB-CASE Plastic Enclosure for the SDI-12 to USB Translator Board $9.95 Buy Now

Contact us for volume pricing information.

Other Vegetronix Products of Interest

Specifications

Power consumption < 50mA
Supply Voltage 5V from USB cable
Raw Board Dimensions 1.5in x 2.0in
Board Mounting Hole Distance 1.2in x 1.2in
Enclosure Dimensions See drawing below.
Supported number of sensor 62

Wiring Table

Terminal Block TB1 (SDI-12 INTERFACE)
Pin Description
1 GROUND
2 SDI-12 Bus

SDI-12 to USB Translator Enclosure Dimensions

SDI-12 to USB Translator Enclosure Dimensions

Software Setup

A serial communications program must be used to access the translator. While thetranslator will work with most any serial communications program, we recommend Termite for Windows and only provide support for it. If you are having dificulties, get it working with termite first, then switch to your desired program.

When you plug a USB Comm device into your computer it will randomly assign a comm port number. To determine which comm port the device has been assigned to do the following:

  1. Open Windows device manager. This can be access through the control pannel.
  2. Plug in the USB device. You should see the device under the tree node labled: "Ports (COM & LPT)"
  3. When you un-plug the USB device, that device should disapear. You now know the correct comm number.
Now that you have the correct comm port number for the device, you can setup Termite:
  1. Open the Termite Program.
  2. Push the "Setting" button on the too bar.
  3. Select the comm port that you determined from the steps above.
  4. Set the Baud Rate to 9600.
  5. Data bits should be 8.
  6. Stop bits should be 1.
  7. Parity should be none.
  8. Flow Control should be none.
  9. Under the "Transmitted Text" group box, select "Append CR".
  10. Select Okay to close the Settings box.
  11. Put the cursor on transmit text line, at the very bottom, and type random text, and hit the enter key. Thetranslator should respond with an error message. At this point you know that the settings are correct, and you can start sending correctly formatted commands.

Commands

You can setup the board to act as a data logger and to sample the various sensors at periodic times, by using the "ADD" command, or you can use the transparent mode, and send the sensors any SDI-12 text string that you desire. "<CR>" as used below means carriage return with no line feed. Some communication software programs have an option to automatically send a line feed with the carriage return. Make sure this feature is disabled.

Command Description
H Help - Lists all of the available commands
ADD [sensor number (0-9)]:[Measurement number], [sample period (in seconds, 0 for no sampling)],[use CRC (1:true/0:false)], [Type (0:Normal,1:Concurrent,2:Continuous)]<CR> Add a sensor/measurement number to the scheduler which periodically goes out and samples the specified sensor and measurement. You can specify sample period, and type, and if you want to use CRC.

Example: ADD 0:0,120,0,0<CR> - sensor 1 is sampled every 2 minutes without CRC.

DEL [sensor number (0-9)]:[Measurement number]<CR> Remove a sensor/measurement from the scheduler.
START<CR> Turn on the scheduler and begin sampling for each sensor/measurement added using the ADD command.
STOP<CR> Turn off the scheduler and stop sampling.
QUERY [sensor address (0-9)]:[Measurement number]<CR> Returns the information specified by a particular ADD commands, and SDI ID string.
V<CR> - Returns the version Number of the SDI USB Translator. (Current Version: V2.6)
READ [sensor address (0-9)]:[Measurement number]<CR> Perform immediate measurement.
T [String]<CR> Transparently sends a string to SDI bus.
DATA [sensor number (0-9)]:[Measurement number]<SDI values> Response from logger to measurements.

Error Codes

If your sensor is working correctly you should never see these error codes.

Error Description
ER: (2) response The sensor has returned an unexpected number of parameters 'n' from the sensor response: atttn\r\n
ER: (3) response The sensor has returned an invalid time 'ttt' from the sensor response: atttn\r\n

USB Drivers

Determine your board revision by looking at the silk screen on the board. Most windows systems already have these drivers installed.
Board RevisionDriver Link
Rev J or Higher: Proflic USB Driver
Rev A through Rev H FTDI USB Driver

Quick Start Guide

  • Install and configure a serial terminal program on your computer such as Termite.
  • Plug the translator into the USB port. You will see its LEDs blink briefly.
  • Make sure the serial terminal program has the correct USB comm port selected.
  • From the serial terminal program send a carriage return (CR) by pressing the enter key. The translator should respond with an error message.
  • Wire a single SDI-12 Sensor to the SDI-12 bus of the translator, and make sure your sensor is powered.
  • Send an address query command in transparent mode by sending the following string from your terminal program:
    • T ?!             // The sensor should respond with its address.
  • You can send the sensor other SDI-12 commands in transparent mode such as:
    • T 0M!            // Measurement command.
    • T 0D0!           // Get data command.
  • Make sure each of your sensors have a different address so that there is no conflict on the bus. You can change the sensor address with the change address command. The following example assumes that the sensor is currently at address 0, and you want to change it to address 1:
    • T 0A1!             // The sensor should respond with its new address.

How to Get Started

The best way to get started is to order a few sample translators and relay boards and try them out in your application. Contact us now to purchase samples.

Buy Now