touchmysound
Published © CC BY

Motorizing a Bβ™­ clarinet πŸ€–

Not enough fingers to play clarinet? With this project you can delegate solenoids to push two side-keys. Awkward fingerings whaaat?

BeginnerFull instructions provided10 hours3,410

Things used in this project

Hardware components

Solenoid 12V
Not anymore available at that link, but compare dimensions with a compatible one so you are sure it will fit in the 3D-printed mount.
×2
Arduino Nano R3
Arduino Nano R3
×1
Darlington High Power Transistor
Darlington High Power Transistor
×2
Resistor 1k ohm
Resistor 1k ohm
×2
1N4007 – High Voltage, High Current Rated Diode
1N4007 – High Voltage, High Current Rated Diode
×2
60W PCIe 12V 5A Power Supply
Digilent 60W PCIe 12V 5A Power Supply
×1
USB-A to Mini-USB Cable
USB-A to Mini-USB Cable
×1

Software apps and online services

MAX
Cycling '74 MAX
Arduino IDE
Arduino IDE

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)

Story

Read more

Custom parts and enclosures

Mount for solenoids

3D model of the mount, printed on a nylon powder 3D sintering machine (PLA melts due to the solenoid's high temperature) at Lund University (Sweden), IK Designcentrum.

Schematics

Schematics for 2x solenoids

Schematics diagram only, no PCB

Code

Solenoid control via Serial

Arduino
As used in "intorno alla traccia" controlled by MIDI via Max.
const int LedPin = 13;
const int sol1 = 4;
const int sol2 = 2;

void setup() {
  Serial.begin(9600); // open a serial connection to your computer
  pinMode(LedPin, OUTPUT);
  pinMode(sol1, OUTPUT);
  pinMode(sol2, OUTPUT);
  digitalWrite(sol1, LOW);
  digitalWrite(sol2, LOW);
}

void loop() {
  if (Serial.available()) {

    byte    command = Serial.read();
    Serial.print("command");
    Serial.print("\t");
    Serial.println(command);


    if (command == 1) {
      digitalWrite(sol1, LOW);
    }
    if (command == 11) {
      digitalWrite(sol1, HIGH);
    }
    if (command == 2) {
      digitalWrite(sol2, LOW);
    }
    if (command == 22) {
      digitalWrite(sol2, HIGH);
    }
  }

  else
    digitalWrite(LedPin, HIGH);


}

Credits

touchmysound

touchmysound

6 projects β€’ 44 followers
Alessandro Perini's artistic production ranges from audiovisual and light-based works to net-art, land-art and vibration-based works.

Comments