Search found 5 matches

by lazloman
Fri Sep 22, 2023 3:34 pm
Forum: General Discussion
Topic: 3D case for wroom32, DHT11 and BH1750
Replies: 1
Views: 1228

3D case for wroom32, DHT11 and BH1750

I hope this is the correct place to ask this question, but I'd to find an STL for a 3D case in the subject line. Can anyone point me to such a thing? I'm even willing to buy a pre-made one, but can't find either anywhere.
Thanks
by lazloman
Fri Sep 22, 2023 12:00 am
Forum: ESP32 Arduino
Topic: Using two sensors, want to read every second from one, but only every minute for the other. How can I do this?
Replies: 5
Views: 2304

Re: Using two sensors, want to read every second from one, but only every minute for the other. How can I do this?

Actually, I got it to works using a timer. Not sure what I did wrong before, but I'm getting temp/humidity readings only every 3 minutes, while the lux readings happen every second.
Thanks
by lazloman
Wed Sep 20, 2023 5:06 pm
Forum: ESP32 Arduino
Topic: Using two sensors, want to read every second from one, but only every minute for the other. How can I do this?
Replies: 5
Views: 2304

Re: Using two sensors, want to read every second from one, but only every minute for the other. How can I do this?

Thanks for the reply. I tried something similar and what you recommend is also given as an option here: https://www.digikey.com/en/maker/blogs/2022/how-to-avoid-using-the-delay-function-in-arduino-sketches I have yet to try your specific idea, but conceptually, it appears to be effectively the same....
by lazloman
Sun Sep 17, 2023 8:06 pm
Forum: ESP32 Arduino
Topic: Using two sensors, want to read every second from one, but only every minute for the other. How can I do this?
Replies: 5
Views: 2304

Using two sensors, want to read every second from one, but only every minute for the other. How can I do this?

Sorry for the long title. I have two sensors, a BH1750 light sensor and DHT11 temperature and humidity sensor running on an esp32 (wroom32). I want to read from the light sensor every second, but I only want to read from the DHT11 every minute. The methods for reading the sensors are separate. I can...