|
Yes, SENA and SENB on the Adeept Motor Hat V2 are equivalent to SNSA and SNSB on the L298P motor driver. These pins provide a voltage proportional to the motor current, which can be used to monitor the current drawn by the motors, useful for detecting issues like blocked wheels.
To access the current sense pins, check the documentation or schematic of the Adeept Motor Hat V2. If the pins are not directly exposed, you may need to manually solder wires to the L298P pins or modify the board. Measure the voltage on pins 2 (SENA) and 19 (SENB) with a multimeter to confirm.
Once you have access to the sense voltage, you can feed it into an ADC to monitor current in your code. Spikes or unusually high currents could indicate a blocked motor, allowing you to take corrective action in your robot's software.
___________________
https://www.medipakiet.pl/blog/w ... iedobor-dawkowanie/ |
|