Solder 4 wire onto the sensor. Two wires on the both H pins, one wire on one of the A pins (any) and another on any of the B pins.
To connect the sensor, you have to connect one of the H pin to +5V Supply and the other one to Ground GND). Pin A is connected to the 5V pin. And the B pin is connect to the GND Pin and Pin A0 as shown on the pictures.
Once you have the circuit in place, upload the attached code onto the Arduino and open the serial monitor of the IDE.
Comments