ESP easy+nodemcu+HC-SR501 problem

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
jollyroger
New user
Posts: 7
Joined: 01 Jul 2018, 12:23

Re: ESP easy+nodemcu+HC-SR501 problem

#11 Post by jollyroger » 11 Jul 2018, 16:24

Now it seems to work (at least now I see it on HA). I connected the pir sensor to the vin pin of nodeMCU and then gnd and GPIO10. the problem now is that it continues to detect movement even if it is not there. passes continuously from 0 to 1. I tried to rotate the trimmers but nothing.

rfmon
New user
Posts: 7
Joined: 23 Feb 2017, 10:53

Re: ESP easy+nodemcu+HC-SR501 problem

#12 Post by rfmon » 12 Jul 2018, 11:55

Dear all, i bought this pir wifi sensor with esp8266. Can yoy help me to program it with espeasy and domoticz?
Attachments
20180703_194424.jpg
20180703_194424.jpg (3.11 MiB) Viewed 15514 times
20180703_194024.jpg
20180703_194024.jpg (3.1 MiB) Viewed 15514 times
20180703_193808.jpg
20180703_193808.jpg (2.79 MiB) Viewed 15514 times
20180703_193721.jpg
20180703_193721.jpg (2.78 MiB) Viewed 15514 times
20180703_193533.jpg
20180703_193533.jpg (2.4 MiB) Viewed 15514 times

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: ESP easy+nodemcu+HC-SR501 problem

#13 Post by grovkillen » 12 Jul 2018, 12:36

If you are able to send me one I can make an official guide.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

rfmon
New user
Posts: 7
Joined: 23 Feb 2017, 10:53

Re: ESP easy+nodemcu+HC-SR501 problem

#14 Post by rfmon » 12 Jul 2018, 13:33


User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: ESP easy+nodemcu+HC-SR501 problem

#15 Post by grovkillen » 12 Jul 2018, 15:39

Sure but I don't have the funds to buy it myself right now. We'll have to wait then 8-)
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

rfmon
New user
Posts: 7
Joined: 23 Feb 2017, 10:53

Re: ESP easy+nodemcu+HC-SR501 problem

#16 Post by rfmon » 12 Jul 2018, 17:04

:D :D I bought only one for the same reason. :D :D
I'll try to flash it with espeasy and do some testing.
Thank for your support

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: ESP easy+nodemcu+HC-SR501 problem

#17 Post by grovkillen » 12 Jul 2018, 18:10

Seems like the visa are accessable easily for RX/TX. Look at the ESP-01 guide and you will most likely get it working. Please give us info on your progress
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

rfmon
New user
Posts: 7
Joined: 23 Feb 2017, 10:53

Re: ESP easy+nodemcu+HC-SR501 problem

#18 Post by rfmon » 12 Jul 2018, 20:02

I'm trying to flash it, but where is the vcc + chpd connected?
Attachments
ontatti.jpg
ontatti.jpg (185.05 KiB) Viewed 15477 times

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESP easy+nodemcu+HC-SR501 problem

#19 Post by TD-er » 14 Jul 2018, 07:57

You may also want to connect the GPIO-0 to GND during flash.
And on the images I could not find the 3.3V point, so that one may be tricky.

Also double-check those USB => serial converters output 3.3V. Some just give 5V on the pins labelled 3.3V

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: ESP easy+nodemcu+HC-SR501 problem

#20 Post by grovkillen » 14 Jul 2018, 08:14

It seems that there's another notation about RX/TX as well. But I believe I found the 3.3V via. See attached pictures.
Attachments
IMG_20180714_081103.jpg
IMG_20180714_081103.jpg (506.86 KiB) Viewed 15451 times
IMG_20180714_081201.jpg
IMG_20180714_081201.jpg (629.62 KiB) Viewed 15451 times
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

rfmon
New user
Posts: 7
Joined: 23 Feb 2017, 10:53

Re: ESP easy+nodemcu+HC-SR501 problem

#21 Post by rfmon » 15 Jul 2018, 12:47

I had seen the 3v3 pin but I can not find the chpd pin that goes bridged with the 3v3. I keep trying

jollyroger
New user
Posts: 7
Joined: 01 Jul 2018, 12:23

Re: ESP easy+nodemcu+HC-SR501 problem

#22 Post by jollyroger » 28 Jul 2018, 20:13

nothing to do, I inserted a 10k resistor between the GPIO and the sensor data output but I continue to have fakes, it goes continuously between the two states

jollyroger
New user
Posts: 7
Joined: 01 Jul 2018, 12:23

Re: ESP easy+nodemcu+HC-SR501 problem

#23 Post by jollyroger » 29 Sep 2018, 11:06

nothing to do probably the sensor model has problems .. I will try to change the manufacturer ..

Post Reply

Who is online

Users browsing this forum: No registered users and 43 guests