This project was created to accomplish three tasks:
- Be a demonstration of creating a user-defined I2C controlled device.
- Make a project example using the I2C-IO board.
- Used as a basis for a web controlled stepper motor for a valve control project.
This stepper motor is "fire and forget" meaning that once the setup is done and the motor commanded to move, the I2C-IO takes care of the stepping signal sequence (and number of steps), independent of the controller - which can move onto other tasks (such as controlling another I2C stepper motor) and poll when the stepping cycle is complete.
The stepping cycle can be commanded to stop mid-cycle if necessary.
Arduino code for the I2C-IO controller is located here:
See the related I2C-IO project page located here: