1 3 Pinout 2 4 Code example Arduino 2 5 Code example Raspberry Pi 3 Picture Technical data / Short description If the sensor is close to a magnetic field, the input pins are connected. Export: 16.06.2017 Copyright by Joy-IT - Published under CC BY-NC-SA 3.0 Page 86 of 214 KY-021 Mini magneti.