Tommie1236 / midi-controller

lighting focused midi controller
CERN Open Hardware Licence Version 2 - Weakly Reciprocal
2 stars 1 forks source link

[feature] PID control for the motor faders #2

Open Tommie1236 opened 3 months ago

Tommie1236 commented 3 months ago

motor faders barely work at half the voltage/speed they are designed for. if run with higher than 5v (should be 10 and testing at 12) they have a difficult time reaching the correct location and just vibrate because of overshooting the location.

so speed control with pwm and if possible PID.

Tommie1236 commented 3 months ago

decided to use a separate mcu for the fader wings. cause otherwise all the pid control/feedback had to go through 3+ levels of gpio expanders

now using something like a rp2040 on each wing that is directly connected to whatever is needed for the pid. that should also decreade the time needed/complexity for the other controls on that wing.

Tommie1236 commented 2 months ago

https://tttapa.github.io/Pages/Arduino/Control-Theory/Motor-Fader/index.html

this one uses the exact same faders as i use. so i can probably just use this code and pid parameters.