Tag: hall effect
-
Duinotech Hall Effect Sensor with RaspberryPi
Hi everyone, This is just a quick post to cover how the Duinotech hall effect sensor module (XC-4434) can be hooked up to a RaspberryPi. Sample Code The code below will output a zero when the sensor is activated by a magnet, otherwise a zero. import time import datetime import RPi.GPIO as GPIO # Define…