There was a video on a wifi capable device where Bill demonstrated a Webserver that had pulled in some sensor data (probably a Dht22) and displayed it on a web browser. I do remember that it was the very last section of a video. I thought it was a ESP but maybe a newer wifi capable device. Can someone tell me which video is was? I had spent a long time searching last fortnight and couldn’t zero in on it. Regards Jim.
@jimjtron I would be surprised if Bill only had one. Google will turn up hundreds. Try googling for weather.
In the IDE, click the Library ICON on the left, then enter wifiweb in the search box. Install the library the search finds. Now start looking at all the examples under Files/Examples/WiFiWebServer (it's the last entry) I have included pics.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@jimjtron Perhaps if you told us what it is you want to build we can steer you towards a video/article.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
Hi @jimjtron,
Not an ESP32 article, but I note:
https://dronebotworkshop.com/soil-moisture/
discusses Arduino IoT Cloud, with various connections, including DHT22, in the latter part of the accompanying blog.
I wondered if that was the article you had in mind?
Of course, the webserver in this case is cloud based, which may not be the solution you want!
Best wishes, Dave
Thanks Dave and others. It may have been IoT cloud which means it won’t be good for my project which is on a farm away from the Internet. Project is about using Bills ultrasonic waterproof module video to get a distance and a percentage value and make a simple webpage on an esp32 in Access Point mode. The owner can approach this huge concrete tank and instead of climbing a ladder to open an inspection hatch, use her Phone to connect to the ESP & Obtain a reading. I have enrolled in a webserver course at Random Nerd Tutorials but I’m finding it tough going at present especially since I can’t dedicate full time on the studies. So I will probably get some help from them down the track. There is a course module coming up where they read a BME280 sensor and so I’m hoping I can alter the code to get the tank level instead. I’m also struggling a bit using Platform IO but I think I will get better at it as time goes by. Thanks!
@zander Thanks Ron, I can see the examples but they seem to refer to arduino shields etc. "
@jimjtron I am a retired professional programmer and I don;t use PlatformIO, it's overcomplicated for these small sketches.
I am not sure what you are doing wrong, but here is screenshot for a DOIT showing the board library samples for WiFi and above that is WebServer, pic added.
Fire up the IDE 2.x and check these out.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
Thanks Ron, I only said yesterday that maybe PlatformIO is bit too much to handle & luckily, the course I’m doing does allow you to use IDE 2.0 so I may get back to that when I next find some spare time. Thanks for your help.