Hi,
I'm very new to this, but I managed to set up my 2 D1 mini's. I flashed them with the ESPEasy_R120_4096.bin and after that I connected them to my WiFi.
Now there are 2 things I like to do:
1. connect 1 with the TCRT5000 pulse meter, but I can't find a n00b section where this is explained. I need to know which connection on the D1 mini I have to connect to the TCRT5000 exactly so I don't break the devices
2. connect the other with a BH1750 lux meter. Same applies here: what connections do I have to use on the D1 mini to connect to the BH1750
I tried searching the forum, but it looks like everybody is way ahead of me
After this I want to be able to use both in my Domoticz setup.
Edit: I've managed to get the BH1750 to work. Values are sent to Domoticz, so that's OK.
Now the TCRT5000..... I've connected it like this:
TCR5000: VCC -> ESP: 3V3
TCR5000: GND -> ESP: G
TCR5000: D0 -> ESP: D4 (=GPIO2)
Tried several other GPIO's, nothing happens.
The settings in the webgui of the ESP Easy:
Delay: 1
1st GPIO: GPIO2
Debounce Time: 1
Counter Type: Delta
Formula Count: %value%/4
Pin mode 2: default
What am I doing wrong here....?
D1 Mini and TCRT5000
Moderators: grovkillen, Stuntteam, TD-er
Re: D1 Mini and TCRT5000
Hi M,
Do you still have problems with this?
Perhaps you can check the logging of the D1 mini for detailed info or the pulses are "seen" by the D1.
I use ( as default) a delay of 60 s and an other gpio and it works fine.
Have some issue's with dubbel counts but working on that.
Chris
Do you still have problems with this?
Perhaps you can check the logging of the D1 mini for detailed info or the pulses are "seen" by the D1.
I use ( as default) a delay of 60 s and an other gpio and it works fine.
Have some issue's with dubbel counts but working on that.
Tools Log page
This page can be used for debugging issues. The debug level is set to '2' by default and will show sensor readings. Debugging levels can be changed under Tools/Advanced.
If your system runs fine, you can set the level to '0' to turn of logging. This will save valuable RAM!
Chris
Re: D1 Mini and TCRT5000
Did you read this?mvveelen wrote:Hi,
I'm very new to this, but I managed to set up my 2 D1 mini's. I flashed them with the ESPEasy_R120_4096.bin and after that I connected them to my WiFi.
Now there are 2 things I like to do:
1. connect 1 with the TCRT5000 pulse meter, but I can't find a n00b section where this is explained. I need to know which connection on the D1 mini I have to connect to the TCRT5000 exactly so I don't break the devices
2. connect the other with a BH1750 lux meter. Same applies here: what connections do I have to use on the D1 mini to connect to the BH1750
I tried searching the forum, but it looks like everybody is way ahead of me
After this I want to be able to use both in my Domoticz setup.
Edit: I've managed to get the BH1750 to work. Values are sent to Domoticz, so that's OK.
Now the TCRT5000..... I've connected it like this:
TCR5000: VCC -> ESP: 3V3
TCR5000: GND -> ESP: G
TCR5000: D0 -> ESP: D4 (=GPIO2)
Tried several other GPIO's, nothing happens.
The settings in the webgui of the ESP Easy:
Delay: 1
1st GPIO: GPIO2
Debounce Time: 1
Counter Type: Delta
Formula Count: %value%/4
Pin mode 2: default
What am I doing wrong here....?
http://www.letscontrolit.com/wiki/index.php/PulsCounter
Who is online
Users browsing this forum: No registered users and 122 guests