5785 shaares
esp8266 as WiFi client
Pi as access point
UDP protocol on esp8266 to talk with Pi
python code to talk with esp8266 using UDP
python UDP implementation On Pi
https://wiki.python.org/moin/UdpCommunication
guide for setup Access Point on Pi
https://learn.adafruit.com/setting-up-a-raspberry-pi-as-a-wifi-access-point/overview
in esp8266 arduino IDE go to example select wifi--> wifiUDPSendReceiveString Example and change #include <WiFi.h> to #include <ESP8266WiFi.h> and Loadit to your nodeMcu..