Hardware abstraction layer to enable closed-loop position control of linear actuators with low-cost components.
The library requires the following core dependencies, each of which should be installed through the Arduino IDE's Library Manager:
- Adafruit Motor Shield V2 Library to drive motors.
- elapsedMillis for timing.
- ArduinoLog for error logging and troubleshooting over serial.
- Arduino PID Library for PID-based controllers.
Additional dependencies must be installed for specific functionalities:
- ResponsiveAnalogRead for signal smoothing. This should be installed through the Arduino IDE.
- 3D-Magnetic-Sensor-2GO for use of angle sensors in cumulative linear actuators. This should be installed through the Arduino IDE. In the future this dependency will be removed.
- EnableInterrupt for sensors requiring button/switch debouncing. This should be installed through the Arduino IDE.
- LEDFader for preset LED fade patterns (useful in indicating actuator status). This must be installed manually following the instructions in the link, as it's not registered in the Arduino IDE Library Manager. You probably don't need this, and in the future this will be replaced with a library available through the Arduino IDE Library Manager.
After installing the dependencies, this library should also be installed through the Arduino IDE's Library Manager. It's named "Linear Position Control".
Please follow the instructions in the "Getting Started" section of the documentation for the Liquid Handling Robotics project.