EasyDAQ

System Overview

EasyDAQ has created a low cost, general purpose, secure, web/internet based DAQ & automation/control module options by integrating EasyDAQ serial relay control modules with the ioBridge IO-204. The system is ideally suited to a wide range of industrial, scientific, academic and research projects as well as home automation & hobbyist applications. Once setup, you can access or control from any web/browser enabled device including phones & PDA‘s such as iPhone and Blackberry. Programmatic access/control is provided via HTML, LabVIEW, Java, Perl, Python, Ruby, PHP and Ajax access/programming options – compatible with all internet/web browsers running on Windows 2000/XP/Vista, Windows 7, Windows CE, MacOSX and Linux platforms.

 

SER8PRMx

EasyDAQ 8 Channel Serial Relay Controller

This general purpose, Serial/RS232 card has 8 opto isolated relays. Relays & PCB tracking are designed to handle 240VAC@10A. Suitable for a wide range of control and mains voltage power switching, or signal switching purposes, it offers screw terminal access to the NO, COM & NC relay contacts and 0V/+5V power connections for possible onward powering/use in your target system.

Relay control/activation is via simple ASCII/Hex characters. The card connects to an open channel on the ioBridge IO-204 via a ‘straight through’ cable (9 way D Type connector). All relay contacts are connected to screw terminal blocks along each side of the card. 5VDC power connection is made via a 2.1mm jack socket or screw terminal block. Wiring from the screw terminal block power connections can also be routed to the relay contacts and onward switching/control of your target hardware. The card is stackable, via corner fixing holes.

The card comes with +5V & relay channel LED status indicators. This card requires an external +5V PSU (requires approx 60mA per relay activated).

EasyDAQ SER8PRMx

 

SER16PRMx

EasyDAQ 16 Channel Serial Relay and DIO

This general purpose, Serial/RS232 card has 8 relays + 8 general purpose DIO channels + 8 channels that can be selected as either relay or DIO channels (via onboard links). Relays & PCB tracking are designed to handle 240VAC@10A. Suitable for a wide range of control and mains voltage power switching, or signal switching purposes, it also offers screw terminal access to the USB power connections for possible onward powering/use in your target system.

Relay & DIO control/activation is via simple ASCII/Hex characters. The card connects to an open channel on the via a ‘straight through’ cable (9 way D Type connector). All relay contacts are connected to two-part screw terminal blocks along each side of the card. These allow rapid connect/ disconnect or swap-over in your target system. 5VDC power connection is made via a 2 way screw terminal block or 2.1mm jack socket. The card is stackable, via corner fixing holes.

DIO channels are normal logic level signals (+5V max) and can supply up to 20mA per channel. Access to all relay contacts and DIO channels is via 2 part (male/female) screw terminal block connectors positioned along two edges of the card.

The card comes with +5V & relay/DIO channel LED status indicators. This card requires an external +5V PSU (requires approx 60mA per relay activated).

EasyDAQ SER16PRMxN

 

Cable-IO204Mx

Serial Cable for ioBridge IO-204 and EasyDAQ Serial Relay Control Boards

  • Serial DB9 to ioBridge IO-204 Channel Connector
  • Connects between the IO-204Mx channel connector and the SER8PRMx or SER16PRMx serial input connector
  • Powers IO-204 without the need for second power supply
  • 2 meter serial cable

 

Universal 5V PSU

  • Universal/international Adapter
  • 5VDC @ 1.2 Amps
  • 1.5 meter lead
  • 2.1mm connector

 

Control

 

Protocol

ASCII characters are used to send commands to the EasyDAQ Serial Relay Controllers via the IO-204Mx.

Process

  1. Set ports to outputs (only needs to be set once)
  2. Set state of relays
  3. Repeat Step 2

Command to Set Port to Outputs

  • For Relays 1-8, send “B%00”
  • For Relays 9-16, send “E%00”

Command to Set State of Relays

  • For Relays 1-8, send “C%” + hexadecimal state
  • For Relays 9-16, send “F%” + hexadecimal state

You can set the state of 8 relays by sending one command plus a 2-digit hexidecimal value representating the binary state of each relay.

Each of the 8 relays have an “On” and “Off” state indicated by a binary 1 or 0. Relay 1 is the least significant digit and Relay 8 is the most significant digit.

Use this online Binary to Hex Calculator to easily convert the relay states to hexadecimal.

Here are some examples to help:

  • “00000000” indicates that the state of all 8 relays are off. The binary string of “00000000” is “00” in hexadecimal.
  • All relays turned on would be indicated by the binary string of “11111111” or in hex “FF”.
  • To turn on the first relay, the binary strong would be “00000001” or “01” in hex.
  • To turn on the second, third, and eight relay, the binary string would be “10000110” or “86” in hex.

 

Web Widget

The web widget allows for programmatic access to anything (LabVIEW, Java, Perl, PHP, C++, etc.) that can send an HTTP POST or GET request. The widget is a conduit for control commands sent via HTTP by directly embedding the widget on a website or accessing the widget via the Static Widget API.

Sign into ioBridge.com and create a “Serial Out” widget with the following settings:

  • Baud Rate – 9600
  • Signal – Inverted
  • Pacing – 0us

Set EasyDAQ port to Output / Relay Control Set Relay State Widget for Easy DAQ relay controllers

 

Datasheet

 

Projects

The EasyDAQ relay controllers + ioBridge IO-204Mx system allows for very interesting control projects. The IO-204Mx allows you to control relays via the Web from virtually any application interface.

 

Resources