ESP8266/ESP32 reading temperature, airpressure, humidity and lux with a BME280 and BH1750
The following repositories were used for this project. Please notice that some of these are still under development. Use at your own risk!
GitHub (C/C++):
After doing some prototyping with my ESP8266, I found out that doing Websockets with the ESP works quite reliable. Please consider using differnet approaches serving multi clients/sensors with the ArduinoWebsockets lib. (Maybe AsyncWebserver?) Also both sensor libs can easily be used with the ESP32 and ESP8266.
The Bosch BME280 is a 3 in 1 temperature/humidity/airpressure sensor and the BH1750 is a digital light sensor. Hooking up different I2C sensors to the NES controller is quite easy because of the female pin headers.
Thanks to this great library (bbx10’s arduinoWebsockets) it is now possible to send data from any sensor to any client with Websockets (At least with the Arduino core lib. There already are working esp-idf implementations). Use the ESP32 tree for this to work. Besides using POST and GET HTTP Requests with the ESP, Websockets initiate a persistant connection. This can be used to send live sensor data via WiFi to a browser dashboard or app. Actually one could also send the data with the build in RFM69, but that’s another story 😉
10 Responses
I like what you are now up to. This type of clever work and coverage! Keep up the fantastic work friends, I have you to my mesothelioma law firm walkthrough website.
You’re completely correct, I would like to know more info on the topic! I’m as well captivated by stream movies as I think it is really very trendy currently. Keep it up!
Remarkable data on your website
Excellent website
I am thankful for such educational material
Thanks for this kind of good site
Excellent blog
Nice post. I was checking constantly this blog and I’m impressed!
Extremely useful info specifically the last part 🙂 I care
for such info much. I was looking for this certain info for a long time.
Thank you and best of luck.
Hi, is anybody here interested in online job? It is simple
survey filling. Even 10 bucks per survey (10 minutes duration).
If you are interested, send me email to hansorloski[@]gmail.com
Everything is very open with a clear explanation of the challenges.
It was truly informative. Your website is useful.
Thank you for sharing!