ESP32 tutorial B-07 Part2: Get multiple data with an Android App over WIFI

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
welcome to this video of the tutorial list about programming the esp32 board in an easy way in video b07 we saw how to make an android app to get sensor data i get a request to show how to get multiple data and show them on the app the solution will be on sending the http request we will add a keyword here it will be a number for example one for sensor 1 2 for sensor 2 and so on when the esp32 receives a request we will clear it and keep only the keyword in the end we will make an if statement if keyword is equal to one we will answer by the value of a sensor one if it is true i will answer by the value of sensor 2 and so on this is our old code this block will clear the http request now i will make my if statement if i receive 1 i will answer by random number if i receive 2 i will answer by the internal temperature sensor if i receive 3 i will answer by the internal hall effect sensor now let's upload the program and see the result now with the browser i will send some http request with the keywords and as you can see i'm getting the right value of sensor according to the keyword now we will move to the android app here i will add the two other buttons and the labels where i will display a sensor's data here i changed the http request for the first button i will add two other web components to handle the other requests it will be it's also possible to make it with one web component but it's a little bit tricky now i will adjust the duplicator and change the code what you see here is on my phone i will click on the first button and i see the result for the second and the third button i need to change the display to the html format in the end i hope that you liked the video and see you soon bye
Info
Channel: ADEL KASSAH
Views: 9,374
Rating: undefined out of 5
Keywords: TUNIOT, IOT
Id: oz4Q_h1wgPw
Channel Id: undefined
Length: 7min 46sec (466 seconds)
Published: Sat Sep 05 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.