How do you make a mechatronic player piano with $350? In the course I described in my last post (about Olin College’s Principles of Engineering), college students were tasked with creating a rigorous mechatronic system, and my team of three chose to build a player piano.
If you view the video below, you’ll see that the design is nothing like a ‘normal’ player piano.
Going back to when it was simply an idea: the team decided to electronically control a system of solenoids to play the notes on a piano. We needed a real piano, and we found an upright piano offered for free on craigslist.com. A U-Haul rental later, the piano was successfully moved to the lab.Converting a normal piano to a modern player piano usually requires invasive woodworking to install a solenoid under each key. We didn’t have this option for many reasons:
1) A solenoid of sufficient strength for each key would greatly surpass our budget
2) We are not experienced piano technicians or woodworkers and an irreversible mistake could ruin our piano (we cared about our piano whether it was free or not)In order to slide the solenoid carriages along the aluminum track, we originally chose a steel gear rack and pinion attached to a stepper motor. The stepper motors we used have a step resolution of 200 steps per revolution, so a PIC microcontroller could send the proper pulses (amplified by transistors) to the stepper motor and the carriage would travel a precise linear distance.This proved problematic for numerous reasons.
1) Stepper motors inherently vibrate and cause noise
2) The steel gear even slightly vibrating against the gear rack created a horrible screeching noise
3) Our choice of stepper failed to perform with enough holding-torque
We had to change the rack and pinion material and nylon was an obvious choice because it’s relatively inexpensive, low friction and quiet. Stronger stepper motors would push us beyond our budget, so we chose DC gearmotors (from Merkle-Korff).
However, this provided its own set of problems, losing the stepping ability of stepper motors by switching to DC motors, how would a solenoid be positioned above a desired key?
Running out of money in our budget and time, various rotary encoders including Hall effect sensors were out of the question. A simple and inexpensive solution: a very large voltage divider. You can see in the photo above the two wires leading off either end of the top aluminum piece.
In case you’re not familiar with voltage dividers, a voltage divider is two or more resistors linked together in series after one another. This means that in-between each resistor the voltage is different, and using over 40 identical resistors in series yields 40 unique voltages.
We simply lined up each unique voltage over each key we cared to play. This would allow the firmware on the PIC to continually detect the voltage of a carriage that’s dragging a metal brush in contact the voltage divider wires. Each unique voltage determines the key location of a carriage.
Other components include a PTFE (better known as Teflon) slider on a reinforced aluminum guide track, manually machined aluminum mounting plates (fabricated in Olin’s metal shop) that hold the motor, solenoid and slider together, and various other machined aluminum mounting brackets.
Obvious limitations of this device are that it is currently only able to play white keys and that none of the carriages can cross paths. Ideally, a solenoid for each key would provide the ultimate playing ability, but that wouldn’t be seemingly as challenging.
Albeit the playing is slow and out of rhythm, comments on the design are appreciated (and the motors can actually run twice as fast as shown).
From home enthusiasts to workers on the manufacturing floor, everyone's imagination is captured by the potential of 3D printing. Prototyping, spare parts creation, art delivery, human organ creation, and even mass product production are all being targeted as current and potential uses for the technology.
Solar and wind energy are becoming more viable as a source of energy on the electric grid. For decades, the major drawback to solar and wind was that they’re temperamental. A cloudy day kills solar and a still day renders the wind turbines useless. Automation tools, however, are providing a path to help these renewables become practical.
In honor of Earth Day, the National Security Agency has launched the STEM Recycling Challenge in Maryland schools to encourage kids to think about where the garbage they throw out every day actually goes. The agency has also introduced “Dunk,” a muscular blue cartoon recycling bin wearing shorts and sneakers.
Samsung's Galaxy line of smartphones used to fare quite well in the repairability department, but last year's flagship S5 model took a tumble, scoring a meh-inducing 5/10. Will the newly redesigned S6 lead us back into star-studded territory, or will we sink further into the depths of a repairability black hole?
Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.