Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4567

MicroPython • How to configure a 4 pin PIR sensor

$
0
0
Hi,

I am trying to use PIR sensors for the first time.
I bought a Mini Basic PIR Sensor - BS412 from the Pi Hut

The data sheet describes the following:
•Connect pin #1 to ground
•Connect pin #2 to ground (on time of 2 seconds)
•Connect pin #3 to 3.3V
•Check signal on pin #4

Pins 1,3 and 4 make sense.
But what does the 2nd bullet point signify.

Is there some basic code I can get my teeth into?
I have had a hunt round but so far no joy.

Thanks.
S

Statistics: Posted by Stu9000 — Sun Mar 03, 2024 6:26 pm — Replies 1 — Views 40



Viewing all articles
Browse latest Browse all 4567

Trending Articles