Untitled
unknown
plain_text
14 days ago
505 B
3
Indexable
Human Detection using a PIR Sensor: Use a PIR (Passive Infrared) sensor to classify if a human is-present or absent. Connect the PIR sensor to Raspberry Pi GPIO. Read sensor output using the Raspberry Pi GPIO node. PIR sensor outputs 1 when motion is detected. PIR sensor outputs 0 when no motion is detected. Prepare data for Logistic Regression • msg.payload = ("motion detected": msg.payload-1?1:0); return msg; Train a Logistic Regression Model using past PIR readings. Obtain the equation.
Editor is loading...
Leave a Comment