reading PIR open collector - Raspberry Pi Forums


i have pir sensor have connected arduino, , can read high/low perfectly
fine. works well. attach same circuit pi, signal on gpio24,
, cannot work.

have verified gpio24 right one, connected led , set output , works.
however, connect pir, set input, , returns 1 cat gpio24/value.

doing wrong?

i can't think of reason why wouldn't work on pi.

have gpio pulled high via internal resistor. when pir alarms it'll pull gpio low.

connections have between pi , pir?


raspberrypi



Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62