Reed sensor again

Hello, I am using a reed sensor in a car seat buckle to tell when its is buckled and when its not. How could I get it to arm and disarm when its buckled and when its not!

Thanksssss!

:slight_smile:

:slight_smile:
:slight_smile:
:slight_smile:
:slight_smile:
:slight_smile:
:slight_smile:

xBradley:
How could I get it to arm and disarm when its buckled and when its not!

It's just a switch. So wire it from an Arduino pin to Arduino ground, set pinMode to input_pullup, and digital read the pin.

If the switch is closed, the pin will read low; open will read high. Then based on what you read (reed haha) do something, or nothing.

(Although I'm not sure what "arm" and "disarm" mean here, or what "again" in "reed sensor again" is)

Why are you starting another thread for the same question as this one.