How it works
- A long beam is pivoted on top of a center post and rocks like a see-saw. A 12 V wiper motor at the foot of the post turns a crank through a belt, and a connecting rod from the crank pin rocks the beam about 9 degrees each way, once each turn. We started with four woodblocks and hard rubber mallets; the choices below cover the alternatives.
- Four mallets hang from the beam by links, an outer and an inner one on each side. Each mallet pivots on its own post, its head pointing away from the middle and its short tail toward it. Each link comes down from the beam to the mallet’s tail.
- Each mallet snaps. A spring runs from an anchor below each pivot up to a horn on the mallet’s hub. When the horn points straight up, the spring’s line crosses the pivot, and that’s the tipping point. Past it one way, the spring throws the mallet up onto its up stop, cocked; past it the other way, it throws the head down. The mallet rests either up or down, never in between.
- The links only nudge. Each link has two nuts with a gap between them, one above the tail clip and one below. As that side of the beam rises, the lower nut pulls the tail just past the tipping point, and the spring does the rest. As the side comes down, the upper nut pushes it back past the point, and the spring flips the mallet up, cocked again. In between, the clip rides free between the nuts, so the beam never fights the spring.
- The heads strike and spring back. A rubber stop under the shaft catches each snap with the head 2 to 3 mm above its block. The shaft flexes on, so the head strikes the wood and springs straight back off it, leaving the block free to ring. Nothing rests on the block, and the bounce off the stop is too small to reach it again, so there’s no rattle.
- So the two sides take turns. The side that’s rising strikes, while the other side’s mallets are cocked. Each turn of the crank gives a pair on the left and a pair on the right.
- Where each lower nut sits on its link is the rhythm. A nut further up its rod tips its mallet earlier. As drawn, the outer mallet on each side strikes first and the inner one about 40 ms later, so each side plays a quick low-then-high flam.
- It plays crisply. Heads meet their blocks at about 1.6 to 1.8 m/s, a firm knock about as hard as a hand stroke. The springs do the striking, so every strike is about as hard at any tempo. A quieter tick comes from each mallet flipping up onto its other stop.
- It locks to the beat by starting and stopping. It rests with the beam level, the right pair cocked and the left pair on its stops, all four heads clear of their blocks. Told to come in, the ESP32 starts the motor a moment early, about a quarter of a second, so the first pair lands on the beat, as hard as the rest. An angle sensor on the beam’s pivot tells it where the beam is at every moment, and it nudges the motor’s speed so every pair after lands on the beat too. To stop, it halts the motor with the beam level again, and the motor’s worm gear holds it there.
- The tempo sets how many beats a turn. The motor turns from about 20 to 70 times a minute. At 120 beats a minute it turns once a second, with the left pair on one beat and the right pair on the next. Slower music can take a pair each half beat, and faster music a pair every other beat.
- An ESP32-S3 runs it. It listens for the wireless signal, reads the sensor and sets the motor’s speed through a driver board, and it runs from the shared power-tool battery. If it hears nothing for a couple of seconds, it parks the beam level and stops.
Ways to play
- Play a steady pattern, the left pair on one beat and the right pair on the next, as long as the piece needs it.
- Come in on a downbeat. Start from level, and the first pair lands exactly on it.
- Change the pattern between pieces by moving the nuts. Silence a mallet, make a pair land together, or spread it into two notes.
- Play half time by turning once every four beats, so the pairs land on beats one and three.
Before any code, take the belt off and turn the crank by hand, and listen to the pattern the four nuts make.
Notes
- This is a first design. Expect one round of fitting when it’s built, most of it in setting the stops and the nuts.
- The motion in the 3D model is simulated: the crank, the beam, and every mallet under gravity and its spring, between its stops and its link’s nuts. The model shows each shaft stopping on its stop; the last few millimeters of the head’s travel, as the shaft flexes, are too small to see. The springs, how much the stops bounce, how far the shafts flex and how fast the motor starts are guesses that a test build will measure.
- The wiper motor is far stronger than this element needs, which is why the belt is left loose enough to skip if anything jams.
- Costs in the parts list are rough estimates for budgeting, not checked prices. They add up the version we started with.
References
- Walking beam engines and oil field pumpjacks rock a long beam from a crank in the same way. A pumpjack’s nickname, the nodding donkey, suits this element’s motion too.
- A light switch and a mousetrap both snap on an over-center spring, which is what each mallet does here.
- A clock’s striking train lifts its hammer, lets it go onto the bell, and stops it just short with a check spring so the bell rings. The stops under each shaft do the same job.