Difference between revisions of "Devantech ETH008"

From sigrok
Jump to navigation Jump to search
m (unbreak mugshot link)
(ETH008 is supported, other models need verification)
Line 2: Line 2:
| image              = [[File:Devantech-eth008b-mugshot.png|180px]]
| image              = [[File:Devantech-eth008b-mugshot.png|180px]]
| name                = devantech eth008-b
| name                = devantech eth008-b
| status              = in progress
| status              = supported
| source_code_dir    = devantech-eth008
| source_code_dir    = devantech-eth008
| channels            = 8
| channels            = 2..20
| ratings            = 16A 250VAC / 16A 24VDC
| ratings            = 16A 250VAC / 16A 24VDC
| connectivity        = Ethernet, TCP
| connectivity        = Ethernet/Wifi, TCP
| website            = [https://www.robot-electronics.co.uk/eth008b.html robot-electronics.co.uk]
| website            = [https://www.robot-electronics.co.uk/eth008b.html robot-electronics.co.uk]
}}
}}


The '''Devantech ETH008''' is an Ethernet attached relay card with 8 relays.
The '''Devantech ETH008''' is an Ethernet attached relay card with 8 relays.
Models with 2 up to 20 relays exist. Their protocols currently are
Models with 2 up to 20 relays exist, as do Wifi models. Some models
not supported by the sigrok driver implementation if they differ from the
additionally provide digital input and analog input. Their protocols are  
ETH008-B protocol, but could be added if their protocol is similar enough.
assumed to be similar enough to the ETH008 model which was used to create
the sigrok driver. Their operation has yet to get verified.


The firmware supports several ways of communication: interactive web forms,
The firmware supports several ways of communication: interactive web forms,
Line 19: Line 20:
The sigrok driver uses binary payloads for simplicity and for maximum compatibility
The sigrok driver uses binary payloads for simplicity and for maximum compatibility
across firmware versions. Password protection for TCP sockets is currently not supported.
across firmware versions. Password protection for TCP sockets is currently not supported.
There are several models in the series of cards, with differing degrees of support.
It is assumed that WLAN capable models share their ID with Ethernet devices.
{| border="0" style="font-size: smaller" class="alternategrey sortable sigroktable"
|-
!Device name
!DO
!DI
!AI
!supported
!comment
|-
| ETH002
| style="text-align:center" | 2
| style="text-align:center" | —
| style="text-align:center" | —
| bgcolor="yellow" style="text-align:center" | untested
| —
|-
| ETH008
| style="text-align:center" | 8
| style="text-align:center" | —
| style="text-align:center" | —
| bgcolor="lime" style="text-align:center" | tested
| —
|-
| ETH484
| style="text-align:center" | 12
| style="text-align:center" | 8
| style="text-align:center" | 4
| bgcolor="yellow" style="text-align:center" | untested
| lacks R5..R8
|-
| ETH8020
| style="text-align:center" | 20
| style="text-align:center" | 8
| style="text-align:center" | 8
| bgcolor="yellow" style="text-align:center" | untested
| —
|-
| ETH1610
| style="text-align:center" | 10
| style="text-align:center" | 16
| style="text-align:center" | 16
| bgcolor="red" style="text-align:center" | unsupported
| model ID unknown
|}


== Hardware ==
== Hardware ==


* PIC microcontroller, S25F32 SPI flash
* PIC32MZ microcontroller, S25F32 SPI flash
* SMSC Ethernet chip, Fast Ethernet (100Mbps)
* SMSC Ethernet chip, Fast Ethernet (100Mbps)
* Rohm BD9703 switching regulator, 2.1mm barrel jack
* Rohm BD9703 switching regulator, 2.1mm barrel jack
Line 63: Line 118:
   devantech-eth008:conn=tcp-raw/192.168.0.200/17494 - Devantech ETH008 HW2 FW23 [S/N: fc0fe7123456]  
   devantech-eth008:conn=tcp-raw/192.168.0.200/17494 - Devantech ETH008 HW2 FW23 [S/N: fc0fe7123456]  
   Channel groups:
   Channel groups:
       R1: channel
       DO1: channel
       R2: channel
       DO2: channel
       R3: channel
       DO3: channel
       R4: channel
       DO4: channel
       R5: channel
       DO5: channel
       R6: channel
       DO6: channel
       R7: channel
       DO7: channel
       R8: channel
       DO8: channel
   Supported configuration options across all channel groups:
   Supported configuration options across all channel groups:
       conn: tcp-raw/192.168.0.200/17494 (current)
       conn: tcp-raw/192.168.0.200/17494 (current)
Line 80: Line 135:
<small>
<small>
   $ '''DEV=devantech-eth008:conn=tcp-raw/192.168.0.200/17494 devantech-eth008'''
   $ '''DEV=devantech-eth008:conn=tcp-raw/192.168.0.200/17494 devantech-eth008'''
   $ '''sigrok-cli -d $DEV --get channel_group=R1:enabled --get channel_group=R2:enabled --get channel_group=R3:enabled --get channel_group=R4:enabled'''
   $ '''sigrok-cli -d $DEV --get channel_group=DO1:enabled --get channel_group=DO2:enabled --get channel_group=DO3:enabled --get channel_group=DO4:enabled'''
   true
   true
   false
   false
Line 92: Line 147:
<small>
<small>
   $ '''DEV=devantech-eth008:conn=tcp-raw/192.168.0.200/17494 devantech-eth008'''
   $ '''DEV=devantech-eth008:conn=tcp-raw/192.168.0.200/17494 devantech-eth008'''
   $ '''sigrok-cli -d $DEV -g R8 --config enabled=on --set'''
   $ '''sigrok-cli -d $DEV -g DO8 --config enabled=on --set'''
   $ '''sigrok-cli -d $DEV --config channel_group=R1:enabled=off --config channel_group=R2:enabled=on --set'''
   $ '''sigrok-cli -d $DEV --config channel_group=DO1:enabled=off --config channel_group=DO2:enabled=on --set'''
   $ '''sigrok-cli -d $DEV --config enabled=on --set'''
   $ '''sigrok-cli -d $DEV --config enabled=on --set'''
   $ '''sigrok-cli -d $DEV --config enabled=off --set'''
   $ '''sigrok-cli -d $DEV --config enabled=off --set'''
Line 106: Line 161:
[[Category:Device]]
[[Category:Device]]
[[Category:Multiplexer]]
[[Category:Multiplexer]]
[[Category:In Progress]]
[[Category:Supported]]

Revision as of 19:54, 25 September 2023

devantech eth008-b
Devantech-eth008b-mugshot.png
Status supported
Source code devantech-eth008
Channels 2..20
Ratings 16A 250VAC / 16A 24VDC
Connectivity Ethernet/Wifi, TCP
Website robot-electronics.co.uk

The Devantech ETH008 is an Ethernet attached relay card with 8 relays. Models with 2 up to 20 relays exist, as do Wifi models. Some models additionally provide digital input and analog input. Their protocols are assumed to be similar enough to the ETH008 model which was used to create the sigrok driver. Their operation has yet to get verified.

The firmware supports several ways of communication: interactive web forms, HTTP GET, binary over TCP, text over TCP. The sigrok driver uses binary payloads for simplicity and for maximum compatibility across firmware versions. Password protection for TCP sockets is currently not supported.

There are several models in the series of cards, with differing degrees of support. It is assumed that WLAN capable models share their ID with Ethernet devices.

Device name DO DI AI supported comment
ETH002 2 untested
ETH008 8 tested
ETH484 12 8 4 untested lacks R5..R8
ETH8020 20 8 8 untested
ETH1610 10 16 16 unsupported model ID unknown

Hardware

  • PIC32MZ microcontroller, S25F32 SPI flash
  • SMSC Ethernet chip, Fast Ethernet (100Mbps)
  • Rohm BD9703 switching regulator, 2.1mm barrel jack
  • Hongfa HF115FD relays, screw terminals with common and NC and NO
  • discrete transistors and LED indicators per relay channel
  • power LED and RJ45 indicators

Nominal supply for the relay card is 12V. The Rohm regulator accepts 8V..35V. The HF115 relay may accept 24V, too. But the PIC measures the card's supply by means of a voltage divider, which most probably constrains the acceptable range of supply voltages for the card.

Voltage and current capability of the relay heavily depends on AC/DC kinds and the types of load. Rating is much lower for DC and for inductive loads. See the card vendor's relay power rating discussion and relay datasheet.

Photos

Example use

Detect the device and display its properties.

 $ DEV=devantech-eth008:conn=tcp-raw/192.168.0.200/17494
 $ sigrok-cli -d $DEV --scan
 The following devices were found:
 devantech-eth008:conn=tcp-raw/192.168.0.200/17494 - Devantech ETH008 HW2 FW23 [S/N: fc0fe7123456] 
 $ sigrok-cli -d $DEV --show
 Driver functions:
     Multiplexer
 Scan options:
     conn
 devantech-eth008:conn=tcp-raw/192.168.0.200/17494 - Devantech ETH008 HW2 FW23 [S/N: fc0fe7123456] 
 Channel groups:
     DO1: channel
     DO2: channel
     DO3: channel
     DO4: channel
     DO5: channel
     DO6: channel
     DO7: channel
     DO8: channel
 Supported configuration options across all channel groups:
     conn: tcp-raw/192.168.0.200/17494 (current)
     enabled: on, off

Display the relay state.

 $ DEV=devantech-eth008:conn=tcp-raw/192.168.0.200/17494 devantech-eth008
 $ sigrok-cli -d $DEV --get channel_group=DO1:enabled --get channel_group=DO2:enabled --get channel_group=DO3:enabled --get channel_group=DO4:enabled
 true
 false
 false
 true

Manipulate the state of relays. Address one individual relay per infocation. Address several channels in the same invocation. Set all relays of a card at the same time.

 $ DEV=devantech-eth008:conn=tcp-raw/192.168.0.200/17494 devantech-eth008
 $ sigrok-cli -d $DEV -g DO8 --config enabled=on --set
 $ sigrok-cli -d $DEV --config channel_group=DO1:enabled=off --config channel_group=DO2:enabled=on --set
 $ sigrok-cli -d $DEV --config enabled=on --set
 $ sigrok-cli -d $DEV --config enabled=off --set

Resources