Working towards a positional control for DC motors with encoders Requires any DC motor with a quadrature capable encoder, 2 HW interrupts and PWM channels, PID library, potentiometer, and a H bridge.
"THE BEER-WARE LICENSE" (Revision 42): Arsenio Dev wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return.
- Basic Bang-Bang control plant
- Simple untuned PID control plant
- Multiple kinds of H bridge support
- PWM input(RC servo control)
- Remove dependency on other libraries
- Turn this into a simple library
Updated to drive standard PWM instead of direction and PWM, now works with any standard H bridge
To use TB6612FNG in this manner, connect PWMA/B to VCC and drive INA/B with PWM.
For Bang-Bang control, see the two bang bang files.