Skip to content

tttapa/Control-Surface-Motor-Fader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Control Surface Motor Fader

Motorized fader example code for Arduino using tttapa/Control-Surface.

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

Contents

  • Motor-Controller: Arduino Uno or Nano sketch running PID controllers for up to four motorized faders with touch sensitivity. Optional serial MIDI in/output.
  • MIDI-Controller: Arduino sketch running Control Surface code that communicates with the motor controllers over I²C and allows the faders to be controlled over (USB) MIDI.
  • Python/Tuning.py: Python script for trying out and comparing different tuning parameters for the motor controllers.

Demo video

Installation

  1. Install the Control Surface library (installation instructions)
  2. Download the .ZIP file using the green Code button on the home page of this repository
  3. Extract it to a convenient location on your computer
  4. Open the Arduino IDE
  5. Use Ctrl+O or use the File > Open ... menu
  6. Browse to the Control-Surface-Motor-Fader-master/Motor-Controller folder you just extracted and open the Motor-Controller.ino file
  7. Select the Arduino UNO or Nano in the Tools > Board menu and select the correct port
  8. Use Ctrl+U to compile and upload the code to the Arduino

Similarly, you can open and upload the MIDI-Controller sketch to a MIDI-capable Arduino such as the Leonardo.