Can’t find a certai...
 
Notifications
Clear all

Can’t find a certain video.

8 Posts
3 Users
0 Likes
236 Views
JimJtron
(@jimjtron)
Member
Joined: 3 years ago
Posts: 15
Topic starter  

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.


   
Quote
Topic Tags
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6982
 

@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.

Screenshot 2024 02 04 at 08.19.46
Screenshot 2024 02 04 at 08.20.35

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.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6982
 

@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.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
(@davee)
Member
Joined: 3 years ago
Posts: 1689
 

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


   
ReplyQuote
JimJtron
(@jimjtron)
Member
Joined: 3 years ago
Posts: 15
Topic starter  

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!

 


   
ReplyQuote
JimJtron
(@jimjtron)
Member
Joined: 3 years ago
Posts: 15
Topic starter  

@zander Thanks Ron, I can see the examples but they seem to refer to arduino shields etc. "

sample for SAMD21 running WiFiNINA shield"  for example.  So I may have some extra work to see if they will load without too much editing into my 38 pin ESP32doit-Devkit-V1 which is currently using PlatformIO for the Random Nerds course I am persuing. Happy to use Arduino IDE & have used recently, to get the Ultrasonic sketch to run on that ESP32 and using level shift module for 3.3 to 5v conversion. So I guess the plan is to add Wifi Webpage to that working code, somehow.  

   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6982
 

@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.

 

Screenshot 2024 02 04 at 21.06.09
Screenshot 2024 02 04 at 21.09.00

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.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
JimJtron
(@jimjtron)
Member
Joined: 3 years ago
Posts: 15
Topic starter  

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. 


   
ReplyQuote