I’m learning webserver programming, and there are at least 3 RandomNerd books I’m exploring (Micropython for ESP32+8266, Learn ESP32 with Arduino, and Build Web Servers with ESP32+8266 — and some in the Home Automation books too!). There are 3 very basic and necessary IDEs that are being used, and I’d like some advice on which to focus on. There is the Arduino IDE for use with C-coding. .. and the Thonny IDE for use with micropython coding … and the Visual Studio Code IDE for use with Javascript — any one of these can do Webserver programming and get buttons and Leds to function, etc.. My application is simple right now: build small IoT devices that are sensors, others that are drivers (pumps, motors, etc). I’m seeing that python coding is the most compact and simplest, but these books discuss different aspects of webserves, and it seems I need to go through all 3 to really have a solid basic background! … help me focus, or maybe that’s not possible: “just go through all 3 books” 🙂 thanks.
It depends, but in my opinion Visual Studio Code, because C code is separate file than Javascript, html, css e.t.c. and it is easy, transparent.
Hi Joe.
If you want to focus on Web Server, I recommend going through the “Build Web Servers” eBook and using VS Code + PaltformIO to program your boards. Or use Arduino IDE (if you find VS Code too complicated).
That eBook is much better to learn about that subject than the other two, and it goes into detail about all the components of a web server.
If you are relatively new to the ESP32, I recommend following one of the other eBooks first.
The “Learn ESP32 with Arduino IDE” is quite a long book, so you should focus on following the first chapters first and then, focus on the Units you are more interested in (Web Servers section).
The MicroPython eBook also provides examples of web servers, but very few examples when compared with the other two eBooks.
I hope this answers your question.
Regards,
Sara
I agree with both Sara and Kaspars. Go with VS Code with Platform IO plugin. Python may be easier to learn and use but very limited in library support. C and C++ is ubiquitous and is used by many systems. If you want to move out from your initial travels with Arduino’s it is available on everything with libraries for everything.