I removed from a tailgate of a BMW X5 the actuators.
The motor of actuator runs with 12 V DC and has an encoder that takes advantage of the hall effect.
With the oscilloscope I’m able to read the square wave on the blue and green wires (chan A e chan B).
Two hall sensors are used in the motor encoder to read the direction and rotation speed of the motor.
The sensors are marked 12L (I suppose they are 12L Melexis Board Mount Hall Effect / Magnetic Sensors). The circuit is powered at 5Vdc.
Outputs A and B come from the GND pin of the 12L component.
The outputs A and B are connected with the GND of the power supply (5V) with by a resistor I used a 220 OHM one, with the oscilloscope I’m able to see 2 squares waves.
With the Voltmeter when I turn the motor I read V = 3.74 as low signal and V = 4.68 as hight signal for each output A and B (hall sensor not excited and hall sensor excited)
Can I read the status of the encoder with these two voltage levels ?
I can connect A and B to arduino digital I / O .
I have doubts about how to make the connection.
Can you suggest me how to make the connection?