ESP8266 as simple WiFi-Serial adapter

Discussion of issues related to writing ZBasic applications for targets other than ZX devices, i.e. generic targets.
Post Reply
dlh
Posts: 395
Joined: 15 December 2006, 12:12 PM
Location: ~Cincinnati

ESP8266 as simple WiFi-Serial adapter

Post by dlh »

I have an application where I want to replace the serial interface on the XTB-232 with the ESP8266.
http://jvde.us/xtb_232.htm
It needs to connect to the XTB-232 PIC UART at 4800bps and merely needs to relay comms traffic to/from WiFi.

Would anybody have relevant ZBasic for ESP8266 code?
GKCS
Posts: 5
Joined: 02 January 2017, 5:34 AM

Post by GKCS »

ok, not a zbasic solution, but it works perfect as TCP2RS232 bridge ...

http://domoticx.com/esp8266-wifi-univer ... -firmware/

Gerry
dlh
Posts: 395
Joined: 15 December 2006, 12:12 PM
Location: ~Cincinnati

Post by dlh »

Thank you! I had already found https://github.com/beckdac/ESP8266-transparent-bridge but this looks much better.

I need to study it but hope I can use this https://www.hw-group.com//products/hw_vsp/index_en.html virtual WiFi serial port with it.
dlh
Posts: 395
Joined: 15 December 2006, 12:12 PM
Location: ~Cincinnati

Post by dlh »

GKCS wrote:ok, not a zbasic solution, but it works perfect as TCP2RS232 bridge ...

http://domoticx.com/esp8266-wifi-univer ... -firmware/

Gerry
The author also has an active thread on the ESP8266 Community Forum.

http://www.esp8266.com/viewtopic.php?f=6&t=3959
GKCS
Posts: 5
Joined: 02 January 2017, 5:34 AM

Post by GKCS »

Thu Jul 09, 2015 as last post seems not that active ... but the firmware works ...
dlh
Posts: 395
Joined: 15 December 2006, 12:12 PM
Location: ~Cincinnati

Post by dlh »

That's the first post. The most recent is Thu Nov 09, 2017. Click on page 42.

BTW, what do you use for flashing it to the ESP8266?
GKCS
Posts: 5
Joined: 02 January 2017, 5:34 AM

Post by GKCS »

ouuuu I became old LOL

I just use NodeMCU Firmware Flasher ... works perfect ...
dlh
Posts: 395
Joined: 15 December 2006, 12:12 PM
Location: ~Cincinnati

Post by dlh »

In client mode, can the ESP8266 connect to an AP that has a hidden SSID?
GKCS
Posts: 5
Joined: 02 January 2017, 5:34 AM

Post by GKCS »

in general yes, in particular for this firmware, only the author can answer ...

btw. the firmware I provided in my first answer is NOT the same than from yours ...
dlh
Posts: 395
Joined: 15 December 2006, 12:12 PM
Location: ~Cincinnati

Post by dlh »

This drags things off topic but I found a different solution. See USR-C215...
https://www.usriot.com/products/iot-wifi-module.html
Post Reply