lbenson
Senior Member
My previous thread on wifi-to-serial was for the hard-to-connect HLK-RM04 module:
http://www.picaxeforum.co.uk/showthread.php?24691-picaxe-to-net-with-wifi-to-serial-module-HLK-RM04
The TLG10UA03 is slightly smaller, comes with an external antenna to provide longer range, and has a simple 4-pin connection on .1" pitch header pins (4 other pins are optional).
The setup is simple. I provided it with 3.3 volts and 0V from a usb-serial dongle. After a minute, I searched for its wifi AP, connected to it, went in the browser to the IP it gave, signed in, and changed the settings so that it had an IP on my network, made it an "STA" mode connection (instead of AP), and gave it the SSID of my network AP. I made it a server and set the baud rate at 19200, the same as I had used on the RM04, and set the port at 8110. I rebooted it, and was able to reconnect over wifi to the new IP.
To test the module, I unplugged the RM04, provided my breadboard with 3.3 volts instead of 5V, and made the four connections to the TLG10UA03, using the same RX and TX pins as I had for the RM04. Provided power, waited for the wifi connection to be made, and then in the browser went to new IP with the same request I had used for the picaxe-supplied web page show in the previous thread: http://192.168.1.110:8110/temp.
This worked in IE, Opera, Chrome, Safari, and FireFox.
Documentation for the TLG10UA03 is here:
http://www.elechouse.com/elechouse/images/product/UART WiFi Transparent Module/User Manual-03_ENGLISH.pdf
The unit is available on Aliexpress for (as of this writing) $13.10 each for two:
http://www.aliexpress.com/item/2pcs-lot-2-4G-Wireless-WIFI-Module-TLG10UA03-Embedded-Uart-Wifi-Module-EEE802-11b-Antenna/1445140947.html
Of course, the picaxe doesn't have to be a web server--it can respond to serial input and provide serial output--all over the net via wifi.
http://www.picaxeforum.co.uk/showthread.php?24691-picaxe-to-net-with-wifi-to-serial-module-HLK-RM04
The TLG10UA03 is slightly smaller, comes with an external antenna to provide longer range, and has a simple 4-pin connection on .1" pitch header pins (4 other pins are optional).
The setup is simple. I provided it with 3.3 volts and 0V from a usb-serial dongle. After a minute, I searched for its wifi AP, connected to it, went in the browser to the IP it gave, signed in, and changed the settings so that it had an IP on my network, made it an "STA" mode connection (instead of AP), and gave it the SSID of my network AP. I made it a server and set the baud rate at 19200, the same as I had used on the RM04, and set the port at 8110. I rebooted it, and was able to reconnect over wifi to the new IP.
To test the module, I unplugged the RM04, provided my breadboard with 3.3 volts instead of 5V, and made the four connections to the TLG10UA03, using the same RX and TX pins as I had for the RM04. Provided power, waited for the wifi connection to be made, and then in the browser went to new IP with the same request I had used for the picaxe-supplied web page show in the previous thread: http://192.168.1.110:8110/temp.
This worked in IE, Opera, Chrome, Safari, and FireFox.
Documentation for the TLG10UA03 is here:
http://www.elechouse.com/elechouse/images/product/UART WiFi Transparent Module/User Manual-03_ENGLISH.pdf
The unit is available on Aliexpress for (as of this writing) $13.10 each for two:
http://www.aliexpress.com/item/2pcs-lot-2-4G-Wireless-WIFI-Module-TLG10UA03-Embedded-Uart-Wifi-Module-EEE802-11b-Antenna/1445140947.html
Of course, the picaxe doesn't have to be a web server--it can respond to serial input and provide serial output--all over the net via wifi.
Attachments
-
9.2 KB Views: 104
-
7.8 KB Views: 88