Magnetic (door) button
Information
This simple door switch is based on a magnet and a reed switch. The magnet and the reed switch are both encased in ABS plastic with handy mounting holes. These sensors are commonly seen in consumer alarm systems and make an ideal addition to any Arduino or Raspberry Pi based alarm system.
The reed switch is simply a magnetic activated switch, as long as a magnet is close to it the reed switch will remain closed. Once the magnet is removed, the switch opens, breaking the circuit. The reed switch can handle a maximum of 100mA and a maximum of 200VDC.
Each half of the sensor can be mounted with screws or the included adhesive backing.
Features
- Normally open reed switch
- Rated current: 100 mA max
- Sensor Dimensions: 27.75 x 14.4 x 8.5mm
- Mounting Holes: 18.2mm / 0.72″
- Rated voltage: 200 VDC max
- Distance: 15mm max
- Magnet Dimensions: 27.75 x 14.4 x 8.5mm
- Wire Length: 330mm / 13″
Setup
In order to use the Magnetic (door) button use the following settings:
Mandatory
Hardware : Magnetic (door) button
Address : Enter the physical pin number on which the device is connected
Ex: 27
Or when used with an IO expander use format: pcf857[4/5]-[IO-expander-port],[I2C_address],[I2C_buss] where I2C_buss is optional
Ex:pcf8575-9,0x4c,3
Other settings can be found at the button setup information