The goal of this tutorial is to use the ATC-1000M with the Arduino. Our ATC-1000M came integrated in a TCP/IP to serial shield. This shield can be used by an Arduino to connect to a LAN or wireless router.
Here is the procedure from setting the static IP for loopback testing with Hyperterminal.
- Connection: PC —LAN cable–ATC1000M
- No Arduino connection yet, the RX and TX needs to be shorted as shown above (look for the pins encircled in green)
- Set the LAN’s IP Address to 192.168.2.2
- Set the Subnet Mask to 255.255.255.0
- On an internet browser, type 192.168.2.1 to enter the web configuration. The default username and password is: admin:system
- Inside the web configuration, the configuration may be altered. (IP,TCP,UDP,RS232 settings, etc.)
- Save settings to reflect the changes.
- Go to Hyperterminal (or any terminal software you prefer), enter 192.168.2.1 port 23.
- Type any characters. If the loopback is successful, the characters will be echoed back.
- If the ATC-1000M is planned to be used over WiFi, check the IP Address and Gateway of the ATC-1000M via the web configuration and make the necessary adjustments (if needed).
Here is a C# test program in action.
- Here is the sample source code in C#.
- Here is the sample source code in Python.
- Here is the sample source code for the Arduino. For this demo, remove the RX/TX loopback wire
For addition information and reference here are the documents from the manufacturer’s website: