Difference between revisions of "ICStation USBRelay"

From sigrok
Jump to navigation Jump to search
(Initial device page)
 
(Add hardware)
Line 19: Line 19:
File:ICStation_ICSE012A-back.jpg|<small>ICStation ICSE012A back</small>
File:ICStation_ICSE012A-back.jpg|<small>ICStation ICSE012A back</small>
</gallery>
</gallery>
== Hardware ==
* '''STM 8S003F3P6 microcontroller''': [https://www.st.com/resource/en/datasheet/stm8s003f3.pdf]
* '''Prolific PL-2303HX USB to UART Bridge''': [https://www.prolific.com.tw/UserFiles/files/ds_pl2303HXD_v1_4_4.pdf]
* '''ULN2803AG relay driver''': [https://www.ti.com/lit/gpn/uln2803a]


== Protocol ==
== Protocol ==
Line 27: Line 33:


<small>
<small>
   $ '''./sigrok-cli -d icstation-usbrelay:conn=/dev/ttyUSB0 --show'''
   $ '''sigrok-cli -d icstation-usbrelay:conn=/dev/ttyUSB0 --show'''
   Driver functions:
   Driver functions:
       Multiplexer
       Multiplexer

Revision as of 13:48, 7 August 2021

ICStation USBRelay
ICStation ICSE012A-mugshot.png
Status in progress
Source code icstation-usbrelay
Channels 2, 4 or 8
Ratings 10A@250VAC, 10A@30VDC, 12A@125VAC, 12A@28VDC
Connectivity USB/Serial

The ICStation USBRelay is a USB relay card with up to 8 relays. Models with 2 (ICSE013A), 4 (ICSE012A) and 8 (ICSE014A) relays exist.

See Info for USB details.

Photos

Hardware

  • STM 8S003F3P6 microcontroller: [1]
  • Prolific PL-2303HX USB to UART Bridge: [2]
  • ULN2803AG relay driver: [3]

Protocol

Example use

Detect the device and display its properties.

 $ sigrok-cli -d icstation-usbrelay:conn=/dev/ttyUSB0 --show
 Driver functions:
     Multiplexer
 Scan options:
     conn
     serialcomm
 icstation-usbrelay - ICStation ICSE012A
 Channel groups:
     R1: channel
     R2: channel
     R3: channel
     R4: channel
 Supported configuration options across all channel groups:
     enabled: on, off

Manipulate the state of relays.

 $ sigrok-cli -d icstation-usbrelay:conn=/dev/ttyUSB0 --config channel_group=R1:enabled=off --config channel_group=R2:enabled=on --set

Resources