wemos D1 R2 + two HC-SR04
Moderators: grovkillen, Stuntteam, TD-er
wemos D1 R2 + two HC-SR04
Hello,
I'm trying to make working a demos with ESPEasy-mega (the latest)
I tried to install who HC-SR04, however, only one works at time
as you can see at the enclosed pictures, I tried other GPIO, same issue, one at time
any one can help please ?
thank you
the FIRST the SECOND THE RESULT:
I'm trying to make working a demos with ESPEasy-mega (the latest)
I tried to install who HC-SR04, however, only one works at time
as you can see at the enclosed pictures, I tried other GPIO, same issue, one at time
any one can help please ?
thank you
the FIRST the SECOND THE RESULT:
Re: wemos D1 R2 + two HC-SR04
This was supposedly fixed a long time ago but it never really was. I've attached a copy of the sketch from last year that i slightly modified to work with whatever big architecture change they made around april of 2018 i think ( i don't remember).
Anyway, replace the sketch with the same name with the file i've attached and recompile and it'll work fine.
http://h8rs.com:5000/sharing/HiiGlHIpY
Anyway, replace the sketch with the same name with the file i've attached and recompile and it'll work fine.
http://h8rs.com:5000/sharing/HiiGlHIpY
Re: wemos D1 R2 + two HC-SR04
ah ok,
thank you,
I'll try to compile tonight, I'll let you know
thank's again
thank you,
I'll try to compile tonight, I'll let you know
thank's again
Re: wemos D1 R2 + two HC-SR04
hello,
I tried to compil it with ATOM
but I still have the same issue, only one is working ..
I don't know if it's correct or if you have already a compiled version ?
thank you
I tried to compil it with ATOM
but I still have the same issue, only one is working ..
I don't know if it's correct or if you have already a compiled version ?
thank you
Re: wemos D1 R2 + two HC-SR04
http://h8rs.com:5000/sharing/9pbu3JjWL
This is built on 2.6 SDK3 for a 4m version with ONLY switch, dallas, mcp, hcsr04, tsl2561, and dummy plugins.
Test that to make sure your setup is working. I use this firmware and know it to be working.
Re: wemos D1 R2 + two HC-SR04
hello,
I think I'm doing somethig wrong
I still have the same issue with your firmware
sometime one detector stay at 0, and sometimes the same freez at a different value like (high value) which not corresponding to a measure
I think I'm doing somethig wrong
I still have the same issue with your firmware
sometime one detector stay at 0, and sometimes the same freez at a different value like (high value) which not corresponding to a measure

Re: wemos D1 R2 + two HC-SR04
Not all gpio ports seem to work right.
Are you making sure you use a voltage divider?
Are you making sure you use a voltage divider?
Re: wemos D1 R2 + two HC-SR04
hello,
I think this is my problem
I have read that hc-SR04 works on 5v, so I connect each one on +5v and gnd on the board
do you have a enample how must they to be connected ?
thank you
I think this is my problem
I have read that hc-SR04 works on 5v, so I connect each one on +5v and gnd on the board
do you have a enample how must they to be connected ?
thank you
Re: wemos D1 R2 + two HC-SR04
Hello,
take a look here: https://letscontrolit.com/wiki/index.ph ... _Converter
If you scroll down a bit you'll find a schematic for HC-SR04 and Wemos.
Regards
Shardan
Shardan
Re: wemos D1 R2 + two HC-SR04
thank you for your help Shardan
I don't have diode to test it, I'll let you know,
thank you again for your assistance
I don't have diode to test it, I'll let you know,
thank you again for your assistance

Who is online
Users browsing this forum: No registered users and 15 guests