This repository presents a code designed in Arduino for bidirectional PID control of a DC motor, with the option of Serial or I2c communication.
- Arduino Nano
- H-Bridge vnh2sp30.
- Dc motor with encoder.
- End-switch (used when the motor has kinematic limits).