MicroPython library for PID speed and position control of N20 motors with encoders
- Updated
Aug 11, 2023 - Python
MicroPython library for PID speed and position control of N20 motors with encoders
a circuit, which controls a motor with gear with an encoder using an Arduino UNO, a TB6612FNG driver, a BNO055 inertial sensor. The Arduino UNO calculates, where north direction is and uses it to control the motor's position with closed loop, so that the motor moves a mechanical visor into the north direction.
A gearmotor N20 follows the rotation angle of a potentiometer with a closed loop. The motor is connected to outside power and to Arduino with TB6612FNG Motor Driver. There is a protection against disconnect of the USB power.
Add a description, image, and links to the n20-encoder topic page so that developers can more easily learn about it.
To associate your repository with the n20-encoder topic, visit your repo's landing page and select "manage topics."