As a group, we feel that everyone should be able to enjoy the things they love to do despite their limitations. Our project is designed to enable people who are unable to use their legs to operate the pedals of a piano and to be able to do so by simply attaching a motion sensor to any moving part of their body. Depending on how they move, the motion sensor will send a signal to the Arduino /microprocessor which will in turn signal the motor to rotate.
The motor will be connected to a Cam that will be attached to the pedals of the piano causing it to move either up or down as desired. The parts used in this project include: An Arduino/microprocessor, 12VDC motor, potentiometer, motor shield, cam, and an accelerometer, infrared detector, or other input device.
The system has been tested by the use of two potentiometers. One potentiometer represents the user interface. The second potentiometer is attached to the shaft of the motor. When adjustments are made to the user interface, the potentiometer sends a signal to the arduino. This signal is interpreted as a value between 0 and 1123. This value is compared with the value of the potentiometer that is connected to the motor shaft. If the interface value is lower that the motor value, the motor is prompted to rotate backward.
The movement of the motor adjusts the second potentiometer downward until the two numbers match. At this point the motor stops and waits for another signal. Likewise, when the interface value is higher than the motor value, the motor is driven forward changing the value of the potentiometer until the values agree. In this way, the position of the motor is tracked and the tendency of the postition of the motor to drift is avoided.
Currently, an infrared distance measuring sensor unit is being used to provide an input signal. These values range from 0 to 590 and are scaled to match the motor’s potentiometer values. The input values are buffered by a capacitor installed at the output.
For more detail: Group 9 – Prototype I Final Report: Remote Piano Pedal Controller