This device sends commands with the serial string to the comtrol device, which is attached to the remote device to provide serial.
Just using the device, you can send TCP to the Comtrol device that then brings the string you sent back to serial for communication to the device on the other end.
For this project, below parts are required
– Arduino Uno
– Ethernet Shield
– Arduino Break Out Board
– Arduino LCD 16×2 with buttons shield
– Comtrol DeviceMaster RTS
– buttons, encoders, whatever you need
Step 1
This is the device I most commonly use. Normally I use it to provide a serial tunnel across my networks (both public and VPN) to control devices remotely. Works very well in those cases and I urge those of you looking for an off the shelf solution to look to these devices. Not a spammer here mind you, just a good product that does what it promises.
Step 2
So, the devicemaster works with the tunnel, which is where my journey began, UDP signaling, where I went first when trying to use this with an arduino, and finally with TCP socketing. The TCP sockets are how it achieves the tunnel. This information is not very well documented anywhere from what I can tell.
Step 3
What I was trying to achieve was learning arduino. I’m a fast learner, but I prefer to have a product or problem to solve prior to learning a new system.Where I work, I have a very controllable unit at a remote site for adjusting audio levels. It responds to GPIO to trigger macros, Serial to do more complicated things, and with one version I have deployed it will take Telnet commands in about the same format as a serial command sent. I did try Telnet protocols with the other unit, but Arduino didn’t seem to end the connection cleanly enough to be reliable.So, back to serial….
For more detail about the project and source code, refer to below link.
https://hackaday.io/project/5135-send-serial-to-comtrol-devicemaster-with-arduino
Tags : 201504, W5100, Ethernet Shield, Remote Control
COMMENTS