Interactive Ocean Cleanup Game
by AlessanG in Circuits > Microcontrollers
463 Views, 5 Favorites, 0 Comments
Interactive Ocean Cleanup Game
![IMG_6326.jpeg](/proxy/?url=https://content.instructables.com/F0P/ZO0I/LH6A4ZVG/F0PZO0ILH6A4ZVG.jpg&filename=IMG_6326.jpeg)
![Ocean Cleanup](/proxy/?url=https://content.instructables.com/F4J/T2XC/LH6A4ZKQ/F4JT2XCLH6A4ZKQ.jpg&filename=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](/proxy/?url=https://content.instructables.com/FUS/16DP/LH6A4ZVC/FUS16DPLH6A4ZVC.jpg&filename=IMG_6318.jpeg)
![IMG_6317.jpeg](/proxy/?url=https://content.instructables.com/F3H/1XMY/LH6A4ZVB/F3H1XMYLH6A4ZVB.jpg&filename=IMG_6317.jpeg)
![IMG_6319.jpeg](/proxy/?url=https://content.instructables.com/FTP/D71E/LH6A4ZVD/FTPD71ELH6A4ZVD.jpg&filename=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](/proxy/?url=https://content.instructables.com/F3Z/4YCC/LH6A4ZUX/F3Z4YCCLH6A4ZUX.jpg&filename=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](/proxy/?url=https://content.instructables.com/F8G/UKR3/LH6A4ZVF/F8GUKR3LH6A4ZVF.jpg&filename=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](/proxy/?url=https://content.instructables.com/FY7/N80M/LH6A4ZVE/FY7N80MLH6A4ZVE.jpg&filename=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!