Ethernet Board, 2 Relays 16 A, 4 Digital I/O and 2 Analog Inputs

Board with Ethernet interface featuring 2 N.O relay outputs

SKU 7626-DS1242EAN 8219671078535Item type: Assembled,

Description

Board with Ethernet interface featuring 2 N.O. and N.C. relay outputs (24 Vdc or 250 Vac / 16 A) with corresponding status LED, 2 analog inputs at 10 bit (0V-3.3V input range), 4 digital I/O, Ethernet and power status LEDs. It can be controlled via LAN (Local Area Network), smartphone or over the Internet. Free apps are available for Android and iPhone. Using Devantech’s powerful dScript language, you can add your own functions and controls (to modules that use this language), create a custom web page, add your own logo, buttons and features, add a TCP server, respond to incoming TCP requests with your own functions, include a TCP client, and send TCP data packets to other devices using your own protocol. Power supply: 12 Vdc-500 mA, dimensions (mm): 84x81x20. The board is supplied already assembled and tested.

Note: power adapter not included (see related products).

Technical specifications
  • Relays: 2 N.O. and N.C. relay outputs (24 Vdc or 250 Vac / 16 A)
  • Communication interface:
    – USB for development
    – Ethernet (RJ45) for normal access
dScript – programming language for IoT (Internet of Things)

dScript, derived from Devantech’s scripting language, is a multi-threaded language for connecting Devantech’s relay modules (which use the dScript language) to the Internet. It is a program that compiles source code so it can be interpreted by the module’s on-board firmware. dScript is an editor, compiler and programmer for all modules that support the dScript language. Although dScript is not BASIC, the syntax will be familiar to anyone who has used Visual Basic or small Basic-programmable chips.

Multithreading
Multi-threading is the ability to run many parts of the program at the same time. It’s like having a separate CPU for each part of the program. Each part or section of the program is called a thread. dScript is a native multi-threading compiler. Any number of threads can be created, up to the limit of available RAM.

Web Server
Using the dScript web server, you can write and upload your own web pages to the module. The website can display your variables in any way, using AJAX techniques to keep the variables active and up to date. You can use buttons on the web page to control the module, use CSS to format your website, and include images, logos, etc.

Safe and secure
Using a technique similar to the way banks verify that you are the owner of a credit card, only your browser/device combination allows you to access the web pages. The server sends three independent random numbers that select three random characters from a pre-stored password. These are encrypted and stored as a cookie. It is this cookie that allows the web page to be displayed. The cookie is deleted when the browser is closed and is also invalidated by the server after a few seconds of inactivity or when you log out. The result is that you, and only you, can access the web page.

Documentation and useful links

Technical details

Serial port 1 at TTL level
Digital I/O 4 channels
Analog inputs 2 A/D channels at 10 bit
Power supply 12 Vdc via 2.1 mm jack
dScript editor requirements Windows 10 or later, Linux or macOS
Dimensions (mm) 84x81x20
Weight 80 grams

About us

Open-Electronics.org is the brainchild of a world leader in hobby electronics Futura Group srl. Open-Electronics.org is devoted to support development, hacking and playing with electronics: we share exciting open projects and create amazing products!

Open-Electronics.org is not just a container of ideas: it is also a web site lead by a team of engineers and geeks who will take part in the discussions and give support.

Our mission is to become a reference Open Source hacking site with ideas and feedback aimed to enrich the community.