Motion Controlled Desktop Mini Golf Course

by jkimdaniel in Circuits > Wireless

35 Views, 1 Favorites, 0 Comments

Motion Controlled Desktop Mini Golf Course

IMG_2067.jpg

Using two Adafruit CircuitPlayground Bluefruit's, I created a desktop mini golf course that you can control wirelessly via motion control! The course fits four holes in an innovative design, each with their own obstacles and challenges, which rotate into place using the two buttons on the controller. Your club swing is controlled via left/right motion on the remote!

Supplies

For this project you need:

  1. Continuous servo motor
  2. 180 degree micro servo
  3. 2x Adafruit CircuitPlayground Bluefruit boards
  4. A battery pack and wired cable
  5. Glue
  6. 6x Breadboard to alligator clip wires
  7. 1/8" wood for laser cutting
  8. Adhesive velcro patch
  9. 1x robot car tire

Design Your Golf Course

Using Adobe Illustrator, design your own golf course! Add your own fun obstacles! Or download my design.

Downloads

Create a Box on Makercase

Using makercase, create a small box to house the continuous servo and other components. Make sure to add a hole at the top of the box so the continuous servo can poke out from underneath inside the box.

Laser Cut the Design

IMG_2038.jpg

Print Your Golf Essentials

IMG_2063.jpg

Using a 3D printer, print the following files:

  1. flagstick
  2. club
  3. ball

Assemble

IMG_2064.jpg
IMG_2065.jpg

After everything has been prepared assemble and glue the box except the top lid, glue the robot car tire to the back of the golf course design as centered as possible. Then, screw the continuous servo into the tire through the top lid of the box we made.

Wire Up Components

IMG_2068.jpg

Attach all wires and servos to one of the CPBs.

  1. Micro-servo -> board.A1
  2. Continuous servo -> board.A2

Code Up the Sender and Receiver for Wireless

To get wireless communication, we have to setup code on both of our CPBs. On the CPB being housed in the box, load receiver.py into code.py, and sender.py to the other.


Finishing Touches

Attach the club to the micro-servo, the flag stick into the center of the hole, and the wireless remote to the battery pack for portability.