Week 14 - Interface and application programming¶
group assignment
- compare as many tool options as possible
Create a web page with a ESP32 and Ardwino IDE¶
One solution is to create a web page directly with an ESP32. The ESP32 becomes a web page provider. It creates a web page and places data on it. Other computers can access the data by connecting to the IP address (they must use the same connection provider). This is coded in CPP, and the web page written in HTML is converted to CPP by adding variables+=” at the beginning and “; at the end of each line.
This method is quite simple, and easy to implement. But it’s not suitable for large projects, as the code quickly becomes very long.
The files¶
Here you can find an exemple of the first method file
Node Red (Alexis)¶
I give a try decided to tried at Node-Red but I didn’t understand really why I was here for.
Python (Alexis)¶
I also make a try at Python and added the extension for VS code.
I took some online courses on openclassroom (in French).
I had some difficulties to get pip command working correctly but I finally could make it work using Shqush.io tutorial.
Soon enough, I figured that wasn’t what I needed for my project.
Controlling a Webpage with OpenIMU (Alexis)¶
Also part of my individual assignment, I created an html page with script I can communicate with openIMU.
I create an online version of the interface to test it.
I also wanted to try it on phone but Android Chrome does not allowed serial port communication
Check the codes on my personnal page.