Interactive Ocean Cleanup Game

by AlessanG in Circuits > Microcontrollers

463 Views, 5 Favorites, 0 Comments

Interactive Ocean Cleanup Game

IMG_6326.jpeg
Ocean Cleanup

This is an interactive game featuring two Circuit Playground Bluefruit boards. One of them resides in 3D-printed turtle, which reacts with angry red-colored lights when trash is in its "ocean." Once the 3D-printed trash is cleared from the board, the turtle reacts with happy green-colored lights.

Supplies

2x Circuit Playground Bluefruits

5 Alligator-to-Alligator wires

1 Wire Spool

1 Wire Stripper

1 Wire Cutter

2 Battery Packs (phone charger packs will work well)

1 3D printer (we used PLA filament)

1 Laser Cutter

1 Sheet 1/8" baltic birch (you can use any wood or acrylic that you prefer)

Copper Foil (aluminum foil will also work, but is more fragile)

1 Hot Glue Gun

1 M3 Screw w/ Washer

1 Drill

3D Print Turtle and "Trash"

Use the attached STL files to print the turtle case and the trash items that will be cleared from the board.

Laser Cut the Box

We used this design to laser cut the enclosure, with the "ocean" on top. Feel free to change it however you like.

Downloads

Assemble Enclosure

IMG_6318.jpeg
IMG_6317.jpeg
IMG_6319.jpeg

You can use wood glue or a strong hot glue to attach the sides of the box to the base. We then attached the foil to the top to serve as the "ocean."

Use one of the alligator wires to attach to "ground" on the base CPB and connect it to a foil square you cut out. This should connected to the other end of every "trash" alligator clip.

We then cut and stripped some wire from the spool and screwed it in to the "A1" pad using the M3 screw and washer. We also stripped the other end and splayed it out on top of the copper foil on top of the enclosure through a hole we drilled through the top. We then pasted more copper foil on the top to cover up the splayed ends.

Assemble Trash Connections

IMG_6324.jpeg

We cut out foil to place on the bottom of each piece of trash, then created a thick tab of foil on the very end to connect to the alligator wires. Use four of the alligator wires, one for each piece of trash.

Assemble Turtle

IMG_6321.jpeg

Place the CPB face-up in the turtle and clip the shell over it. You should be able to plug the CPB in from the back.

Load the Code

IMG_6320.jpeg

Use these two code files as code.py on both CPBs. One CPB (in the turtle) should use the receiver code, and the CPB in the base should use the "sender" code.

Plug & Play

Plug the CPBs in to the battery packs and they should connect automatically!