I'm working on a project and am looking for a way to connect with ESP8266 via WiFi module on ESP8266. I have to build use this method, through the windows desktop I can control the movement of robot. From C# to ESP just like remote control project. I have a lack of knowledge of C# same as basics of servers/internet but I have everything done in Arduino IDE code and control the robot through web browser but I'm stuck on Communication Wifi between C# and ESP866. I need some help. Thanks in advance
Asked
Active
Viewed 668 times
1 Answers
0
You can host a REST API Server in the ESP8266 with the using the ESP8266WebServer and use your usual REST Programming in C# like RestSharp or Flurl.

Sathish Guru V
- 1,417
- 2
- 15
- 39
-
REST API to control a robot? – Juraj Nov 23 '20 at 06:03
-
You can expose the robot control via the REST, right? – Sathish Guru V Nov 23 '20 at 06:14
-
1but the speed of text processing for xml or json on a MCU will make the robot reactions too slow. TCP/IP is already slow for this – Juraj Nov 23 '20 at 06:17
-
Im soory but I couldn't understand. I did some coding, but It doesn't work. You may foud where I need to add more coding https://pastebin.com/TedUsgzg – Adeline Nov 23 '20 at 08:43
-
@Juraj, Yes, but the OP wanted it for his ESP8266 based Robot. This is one of the way. Else he can use a better base controller and hookup the ESP8266 through Serial and only for WiFi connectivity. – Sathish Guru V Nov 23 '20 at 09:20
-
@Adeline, there is beautiful interface SO offer to include code, please use the SO to share the code instead of pastebin. – Sathish Guru V Nov 23 '20 at 09:21