DINo Internet/Ethernet Relay I/O board
UDP control example
Download and unzip in your Arduino libraries folder "ENC28J60 EtherShield UDP Library"s
http://www.info.kmtronic.com/software/DINo/EtherShield_Arduino_v2.zip
Download and unzip "KMtronic_UDP_Example.ino"
http://www.info.kmtronic.com/software/DINo/UDP_Example/KMtronic_UDP_Example.zip
Connect board to USB, modify if necessary MAC and IP address and upload to board
Connect to your Router or PC Network Card and check for PING
UDP Commands:
FF 00 00 - Status Read command
FF 01 00 - Relay 1 OFF command
FF 01 01 - Relay 1 ON command
FF 02 00 - Relay 2 OFF command
FF 02 01 - Relay 2 ON command
FF 03 00 - Relay 3 OFF command
FF 03 01 - Relay 3 ON command
FF 04 00 - Relay 4 OFF command
FF 04 01 - Relay 4 ON command
UDP Test Software example including source code (C#)
KMTronic DINo 4 Relay UDP Test Software.zip
KMTronic DINo 4 Relay UDP Test Software Source Code.zip
Download, unzip and run software
Click on Open button and send FF0000 (Status request command)
If everything is okay you will receive IP DINo board and Status
UDP example code
--------------------------------------------------------------
--------------------------------------------------------------
back to Arduino DINo projects