Drawbridge Design
We designed a 3D toy drawbridge that has responsive lights, sounds, and movements when buttons are pressed. We designed this to invoke a sense of whimsy and fun in our target audience of kids, though adults would enjoy this product just as much.
Supplies
- Circuit Playground Express
- Servo device (rotating, not continuous)
- Alligator clips wires
- Data cable from CPX to laptop
- 3D printed base parts (2x)
- 3D printed baseplate parts (2x)
- 3D printed bridge part (1x)
- 3D printed servo block (1x)
- Hot glue gun & glue
Assembly
Step one: Print all of the files (2x base, 2x base plate, 1x bridge, 1x servo block). The base plates should be scaled as large as it can go in order to fit all the pieces
Step two: Make sure they are all the right size and they were printed correctly
Step three: Hot glue the two bases of the bridge to the thin panels, slightly overlapping the thin panels so they create one big one
Step four: Glue the small cube to the thin panel, next to one of the sides of the bridge
Step five: Then, attach the servo to the small cube, the white part should be hot glued to the bridge as well
Step six: Get everything set in place, put the actual bridge part lying on both sides of the bridge in the middle
Step seven: Test out your bridge by clicking the A button on your CPX
Wiring
Step one: Take the Servo Motor wires and attach them to the Alligator Clips’ wires.
Step two: Attach the red clip to Vout on the CPX, Brown/black to GND, and yellow to A1.
Step three: Plug the CPX into the computer and find your file/code, then drag and drop into the CPX folder.
Step 4: Finally, press the A or B button to run the code/function.
Use
When button A is pressed, the CPX should light up red, play a siren sound, then the bridge should slowly open. When button B is pressed, the CPX should light up red, play a siren sound, the bridge should slowly lower, then the CPX should light up green.