Arduino project for controlling the roll of a cargo bike with a reaction wheel Reads a MEMS unit to get the roll angle, and converts that into a torque request to the motor controller.