3D Printed Metronome With CPX

by lnagelberg in Design > 3D Design

23 Views, 0 Favorites, 0 Comments

3D Printed Metronome With CPX

IMG_7597.jpg

We made a metronome to help a musician stay on beat with the music using a CPX, servo motor and a 3D printed pendulum.

Supplies

  1. 3D printer
  2. hot glue gun
  3. micro servo
  4. cpx
  5. alligator clips to male wires

3D Print Metronome

  1. Download and print the following STL files using a 3D printer. Do not use a raft or supports.
  2. These files were designed using Tinker CAD
  3. Metronome remixed from Metronome Stand
  4. The stl files are also attached

Assembly

IMG_7593.jpg
IMG_7594.jpg
IMG_7598.jpg
IMG_7597.jpg
  1. Put together the pieces of the frame. If you want it to be more secure you can hot glue it into place.
  2. Insert servo motor into frame
  3. Hot glue the bob onto the servo motor
  4. Place cpx behind the frame on the stand

Coding

Screenshot 2025-11-15 at 9.54.43 PM.png
  1. Follow these instructions to install CircuitPython onto your CPX: https://learn.adafruit.com/welcome-to-circuitpython/installing-circuitpython
  2. Connect your CPX to your computer and save code.py onto it
  3. The provided code will:
  4. When button B is pressed, the CPX will light up and then play two alternating tones while continuously moving the servo motor back and forth to act as a pendulum. When button B is pressed again, it will turn off, which stops the light, sounds, and servo movement.