NODEmcu and PIR

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Teljemo
New user
Posts: 7
Joined: 29 Dec 2018, 11:08

NODEmcu and PIR

#1 Post by Teljemo » 30 Dec 2018, 17:47

Hi
Finally got contact with my NODE flashed with ESPEasy.
Followed the guide on the wiki for the PIR.. however the NODE doesnt seem to output 5v for the PIR??
The guide show it needs 5v but I have no 5v pin on the NODE?

Ive actually got the pir to work wit another code but didnt get connection to www with that code so this is why I try this FW..
But I dont know how we actually got the PIR to work on NODE before??.. I have it conncted to D6 now for signal and 3v3 (guess that is the 3,3v NODE is suppose to output) and GND.
Nothing happens..
??

What to do?

User avatar
iron
Normal user
Posts: 221
Joined: 24 Sep 2016, 08:37
Location: Greece
Contact:

Re: NODEmcu and PIR

#2 Post by iron » 30 Dec 2018, 18:40

Which NodeMCU module are you using ? I have yet to see one w/o 5v support !!

-D
-D

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

Re: NODEmcu and PIR

#3 Post by grovkillen » 30 Dec 2018, 19:08

Yep VIN is 5V. @OP: You can use a multimeter and look yourself.
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:

Teljemo
New user
Posts: 7
Joined: 29 Dec 2018, 11:08

Re: NODEmcu and PIR

#4 Post by Teljemo » 30 Dec 2018, 19:38

ESP8266-12E
https://www.kjell.com/se/sortiment/el-v ... formation

yay, VIN gives out about 5v.. still didn't get any reactions from the boards?.. Was waiting to get a LED blink or something when waving my hand in front of the PIR..
Followed the guide even if it doesn't looks exactly like the newest FW i guess...

This is the guide I followed:
https://www.letscontrolit.com/wiki/inde ... PIR_Sensor

This is my device settings:
Image
Attachments
Capture.PNG
Capture.PNG (33.05 KiB) Viewed 3961 times

User avatar
iron
Normal user
Posts: 221
Joined: 24 Sep 2016, 08:37
Location: Greece
Contact:

Re: NODEmcu and PIR

#5 Post by iron » 30 Dec 2018, 20:37

Check the log (tools tab) when the PIR fires shows there in (almost) real time

-D
-D

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

Re: NODEmcu and PIR

#6 Post by grovkillen » 30 Dec 2018, 20:45

And you might need to turn the sensitivity up or down (often a blue potentiometer). Also the time to stay high can be adjusted with another nob.
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:

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: NODEmcu and PIR

#7 Post by Shardan » 30 Dec 2018, 23:38

The PIR is handled as a switch.
You won't se a blinking LED or such as long as you just configure the switch.

Use the usb of the nodeMCU and monitor the serial output.
It should show an event on triggering the switch.

If it does not show anything check the log level in the ESPEasy settings.

You may do another check:
- Disconnect the data connection between PIR and nodeMCU.
- Use a jumper cable, connect it to the GPIO you use.
- Start serial monitoring via USB.
- Alternating touch 3.3V and GND with the other end of the jumper cable.
This should give a reaction if the nodeMCU is setup correctly.

If this works check jumper and potentiometer settings of your PIR.

Which type of nodeMCU and PIR do you use?
Regards
Shardan

Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests