ESP easy+nodemcu+HC-SR501 problem

Moderators: BertB, rtenklooster, Voyager, Stuntteam, Martinus

Message
Author
jollyroger
Normal user
Posts: 5
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
Normal 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 151 times
20180703_194024.jpg
20180703_194024.jpg (3.1 MiB) Viewed 151 times
20180703_193808.jpg
20180703_193808.jpg (2.79 MiB) Viewed 151 times
20180703_193721.jpg
20180703_193721.jpg (2.78 MiB) Viewed 151 times
20180703_193533.jpg
20180703_193533.jpg (2.4 MiB) Viewed 151 times

User avatar
grovkillen
Normal user
Posts: 1619
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]
:idea: Sponsor ESP Easy :idea:

rfmon
Normal 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
Normal user
Posts: 1619
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]
:idea: Sponsor ESP Easy :idea:

rfmon
Normal 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
Normal user
Posts: 1619
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]
:idea: Sponsor ESP Easy :idea:

rfmon
Normal 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 114 times

TD-er
Normal user
Posts: 838
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
Normal user
Posts: 1619
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 88 times
IMG_20180714_081201.jpg
IMG_20180714_081201.jpg (629.62 KiB) Viewed 88 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]
:idea: Sponsor ESP Easy :idea:

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest