These are the micropython examples for the Big Motor + Encoder Module for Yukon.
Drive a single motor from a Big Motor + Encoder Module connected to Slot1. A wave pattern will be played on the attached motor, and its speed printed out.
Drive up to 4 motors from a set of Big Motor + Encoder Modules connected to Slots. A wave pattern will be played on the attached motors, and their speeds printed out.
Drive up to 6 motors from a set of Big Motor + Encoder Modules connected to Slots, using a MotorCluster. A wave pattern will be played on the attached motors.
Drive a motor smoothly between random positions, with the help of it's attached encoder and PID control. This uses a Big Motor + Encoder Module connected to Slot1.
Drive a motor smoothly between random speeds, with the help of it's attached encoder and PID control. This uses a Big Motor + Encoder Module connected to Slot1.
position_on_velocity_control.py
Drive a motor smoothly between random positions, with velocity limits, with the help of it's attached encoder and PID control. This uses a Big Motor + Encoder Module connected to Slot1.
Profile the speed of a motor across its PWM duty cycle range using its attached encoder for feedback. This uses a Big Motor + Encoder Module connected to Slot1.
A program to aid in the discovery and tuning of motor PID values for position control. It does this by commanding the motor to move repeatedly between two setpoint angles and plots the measured response. This uses a Big Motor + Encoder Module connected to Slot1.
A program to aid in the discovery and tuning of motor PID values for velocity control. It does this by commanding the motor to drive repeatedly between two setpoint speeds and plots the measured response. This uses a Big Motor + Encoder Module connected to Slot1.
tuning/position_on_velocity_tuning.py
A program to aid in the discovery and tuning of motor PID values for position on velocity control. It does this by commanding the motor to move repeatedly between two setpoint angles and plots the measured response. This uses a Big Motor + Encoder Module connected to Slot1.