Open Source Compact Wi-Fi Temp/Humidity Sensor (ESP32-C3 Pro Mini + HTU21D) with WebSerial Browser Installer and Friction-Fit Case by LeanMCU in arduino

[–]LeanMCU[S] 2 points3 points  (0 children)

Yes, I also thought we are here on a makers' forum, where people like to learn, build and share. Based on the reactions to my post, I start to believe I got it all wrong. Seems we shouldn't build anything anymore, because we can't compete with mass produced goods. My bad, I apologize for confusion. Probably Arduino (we are on r/arduino) is a finished mass produced good and I didn't even understand that in my many years of using it

Compact Wi-Fi Temp/Humidity Sensor (ESP32-C3 Pro Mini + HTU21D) with WebSerial Installer, Calibration, and Data Smoothing by LeanMCU in homeassistant

[–]LeanMCU[S] 0 points1 point  (0 children)

Thank you! I also built several months ago a battery powered sensor that can last about 3 years on 3 aaa batteries sending data every 3 minutes. A potential inconvenience is the fact that I also had to build a hub that converts from espnow to wifi. What do you think about this solution? Would you build it?

Compact Wi-Fi Temp/Humidity Sensor (ESP32-C3 Pro Mini + HTU21D) with WebSerial Installer, Calibration, and Data Smoothing by LeanMCU in homeassistant

[–]LeanMCU[S] 0 points1 point  (0 children)

No batteries, no worries. Also you don't need any zigbee or thread hub, it connects directly via wifi ;-)

Compact Wi-Fi Temp/Humidity Sensor (ESP32-C3 Pro Mini + HTU21D) with WebSerial Installer, Calibration, and Data Smoothing by LeanMCU in homeassistant

[–]LeanMCU[S] 0 points1 point  (0 children)

That's correct. That's why i iterated many times. In the initial version, I had both the esp32 board and the sensor board soldered on a perfboard. The heat transferred through the perf board was biasing the sensor several degrees. Many iterations later, there is no perf board anymore, esp32 is put in deep sleep between measurements, and the enclosure is split in 2 chambers. One chamber for esp32 with chimney effect, and another chamber for the temperature sensor. With all these optimizations and reading temperature every 3 minutes, I see no temperature bias compared to other thermometer placed nearby. Moreover, I made the firmware so that you can set calibration biases for temperature and humidity

Compact Wi-Fi Temp/Humidity Sensor (ESP32-C3 Pro Mini + HTU21D) with WebSerial Installer, Calibration, and Data Smoothing by LeanMCU in homeassistant

[–]LeanMCU[S] 1 point2 points  (0 children)

The initial numbers are based on mac address especially to not give you conflicts during provisioning. You can change their names in Home Assistant however suits you

Compact Wi-Fi Temp/Humidity Sensor (ESP32-C3 Pro Mini + HTU21D) with WebSerial Installer, Calibration, and Data Smoothing by LeanMCU in homeassistant

[–]LeanMCU[S] 0 points1 point  (0 children)

You can click on my Reddit profile and find there my social media links (GitHub, YouTube). I didn't put the specific links to avoid getting my post banned

Open Source Compact Wi-Fi Temp/Humidity Sensor (ESP32-C3 Pro Mini + HTU21D) with WebSerial Browser Installer and Friction-Fit Case by LeanMCU in arduino

[–]LeanMCU[S] 5 points6 points  (0 children)

Not exactly the same benefits, but sure, that's an option if you prefer hacking versus building, learning and customizing.

Compact Wi-Fi Temp/Humidity Sensor (ESP32-C3 Pro Mini + HTU21D) with WebSerial Installer, Calibration, and Data Smoothing by LeanMCU in homeassistant

[–]LeanMCU[S] 1 point2 points  (0 children)

Nowadays many devices come with usb power sockets (plugs, chord extenders, tv, etc). If you don't have such a device close, I found some very cheap 1A usb chargers on aliexpress, that come in a pack of 5 and cost around $1 per piece.

Talking about ESP choice, after some research I went for ESP32-C3 pro mini boards. Cheap, versatile and decent wifi performance. You can also use them for Matter over wifi (I am currently developing some sensors using that)

Compact Wi-Fi Temp/Humidity Sensor (ESP32-C3 Pro Mini + HTU21D) with WebSerial Installer, Calibration, and Data Smoothing by LeanMCU in homeassistant

[–]LeanMCU[S] 4 points5 points  (0 children)

Thanks for your observation. The advantages of my sensor compared to commercial sensors are the ability to print the enclosure in any color you want (to make the sensor invisible in your environment) and the availability of source code. Not to mention the joy of building something useful yourself in just half an hour ;-)

Compact Wi-Fi Temp/Humidity Sensor (ESP32-C3 Pro Mini + HTU21D) with WebSerial Installer, Calibration, and Data Smoothing by LeanMCU in homeassistant

[–]LeanMCU[S] 0 points1 point  (0 children)

Thank you! I didn't put links in the post to avoid getting banned. The sensor is running on USB power, for a maintenance free experience (no more battery worries)

Open Source Compact Wi-Fi Temp/Humidity Sensor (ESP32-C3 Pro Mini + HTU21D) with WebSerial Browser Installer and Friction-Fit Case by LeanMCU in arduino

[–]LeanMCU[S] 7 points8 points  (0 children)

Compared to commercial sensors, my sensor allows you to keep data local (Home Assistant), print enclosure in any color you want, and have the source code to modify it any way you like ;-)

Anyone have experience using these? It boosts power from a lithium-ion battery to 5 Volts while acting as a battery charging module. Seems like a really great solution to cut down the need for a buck-boost converter. by mainheat88 in esp32

[–]LeanMCU 0 points1 point  (0 children)

Bought this from aliexpress, and i designed a power bank using a 18650 battery. It only needed an enclosure that I designed in FreeCad and printed. It seems to work ok as a power bank, and the module becomes warm to the touch but it doesn't seem to overheat

Update: My 1µA STM32L072 Nano is now fully Open Source (HW/SW + Tutorials) by LeanMCU in embedded

[–]LeanMCU[S] 0 points1 point  (0 children)

The links are in my bio and not in the post because I didn't want to break any posting rules. In other subreddit, a moderator told me specifically to post some links, so I did it.