# Mini Golf Course with Circuit Playground and Crickit

## Overview

It doesn't take a long road trip to experience the joys of miniature golf. Just a few cardboard boxes, craft supplies, a couple of servos, and a [Circuit Playground Express with CRICKIT&nbsp;](https://www.adafruit.com/product/3093)programmed with [MakeCode](https://makecode.adafruit.com/) can bring a whole obstacle course to life.

![](https://cdn-learn.adafruit.com/assets/assets/000/057/078/medium800thumb/circuit_playground_projects_hole_in_one.jpg?1530654443)

# Materials & Tools

To build this project, you will need:

- Medium-sized cardboard box (to make the course)
- Scrap pieces of cardboard (to make the obstacles)
- Scissors and/or X-acto knife
- [Double-sided tape](https://www.amazon.com/gp/product/B01G7O68NA/ref=ox_sc_sfl_title_2?ie=UTF8&psc=1&smid=A2559219JLK6GJ)
- Popsicle sticks&nbsp;
- Golf ball (or ping pong ball) and golf putter

# Adafruit Parts
### Part: Adafruit CRICKIT for Circuit Playground Express
quantity: 1
Creative Robotics and Interactive Construction Kit is an add-on to Circuit Playground Express that lets you #MakeRobotFriend using CircuitPython and MakeCode
[Adafruit CRICKIT for Circuit Playground Express](https://www.adafruit.com/product/3093)

### Part: Circuit Playground Express
quantity: 1
Circuit Playground Express is the perfect introduction to electronics and programming
[Circuit Playground Express](https://www.adafruit.com/product/3333)

### Part: Micro servo
quantity: 1
This little servo can rotate approximately 180 degrees (90 in each direction). Works just like standard servos you're used to, but smaller.
[Micro servo](https://www.adafruit.com/product/169)

### Part: DC Gearbox Motor - "TT Motor" - 200RPM - 3 to 6VDC
quantity: 1
TT DC Gearbox Motor with a gear ratio of 1:48 and 2 x 200mm wires with breadboard-friendly 0.1" male connectors
[DC Gearbox Motor - "TT Motor" - 200RPM - 3 to 6VDC](https://www.adafruit.com/product/3777)

### Part: USB cable - A/MicroB - 3ft
quantity: 1
Standard A to micro-B USB cable
[USB cable - A/MicroB - 3ft](https://www.adafruit.com/product/592)

### Part: 3xAA holder with DC jack
quantity: 1
Battery holder 3xAA batteries with 2.1mm DC jack
[3xAA holder with DC jack](https://www.adafruit.com/product/3842)

### Part: Alkaline AA batteries - 3 pack
quantity: 1
These batteries are good quality at a good price, and work fantastic with any of the kits or projects that use AAs.
[Alkaline AA batteries - 3 pack](https://www.adafruit.com/product/3521)

# CRICKIT Assembly

If your Circuit Playground Express and CRICKIT aren't already connected, now is the time to do that.

The animation below demonstrates how the two become one.

![](https://cdn-learn.adafruit.com/assets/assets/000/057/787/medium800thumb/makecode_2018-07-19_12_53_23.jpg?1532030438)

# Mini Golf Course with Circuit Playground and Crickit

## Create the Course

# Unboxing the box

Just about any medium sized cardboard box can work for this project.&nbsp;

To prepare your box, first cut through any tape on the top and bottom so that the flaps are free.

&nbsp;

Find the seam and gently pull it apart.

&nbsp;

Unfold the box so it lies flat.&nbsp;

&nbsp;

&nbsp;

![circuit_playground_projects_IMG_4316.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/500/medium640/circuit_playground_projects_IMG_4316.jpg?1530210971)

![circuit_playground_projects_IMG_4319.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/501/medium640/circuit_playground_projects_IMG_4319.jpg?1530210981)

![circuit_playground_projects_IMG_4322.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/502/medium640/circuit_playground_projects_IMG_4322.jpg?1530210996)

![circuit_playground_projects_IMG_4314.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/503/medium640/circuit_playground_projects_IMG_4314.jpg?1530211142)

# Two-tier obstacle course
Cut off two flaps from one of the middle sections of the box. These flaps will be made into supports for our course.

&nbsp;

Take these two flaps and cut about a 2 inch rectangle off the end.

&nbsp;

Use scissors to make a 1 inch cut in the center of both pieces of cardboard.

&nbsp;

Slot these two pieces together at 90 degrees to each other.

&nbsp;

Press firmly together.

&nbsp;

Now we have two free-standing supports! These will allow us to add a second level to our mini golf course.

![circuit_playground_projects_IMG_4363.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/156/medium640/circuit_playground_projects_IMG_4363.jpg?1530814132)

![circuit_playground_projects_IMG_4315.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/157/medium640/circuit_playground_projects_IMG_4315.jpg?1530814150)

![circuit_playground_projects_IMG_4373.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/158/medium640/circuit_playground_projects_IMG_4373.jpg?1530814159)

![circuit_playground_projects_IMG_4375.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/159/medium640/circuit_playground_projects_IMG_4375.jpg?1530814180)

![circuit_playground_projects_IMG_4376.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/160/medium640/circuit_playground_projects_IMG_4376.jpg?1530814206)

![circuit_playground_projects_IMG_4377.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/161/medium640/circuit_playground_projects_IMG_4377.jpg?1530814221)

![circuit_playground_projects_IMG_4378.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/162/medium640/circuit_playground_projects_IMG_4378.jpg?1530814230)

![circuit_playground_projects_IMG_4379.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/163/medium640/circuit_playground_projects_IMG_4379.jpg?1530814244)

![circuit_playground_projects_IMG_4380.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/164/medium640/circuit_playground_projects_IMG_4380.jpg?1530814267)

![circuit_playground_projects_IMG_4381.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/165/medium640/circuit_playground_projects_IMG_4381.jpg?1530814276)

Slide these two supports under the end of the unfolded box.

![](https://cdn-learn.adafruit.com/assets/assets/000/057/166/medium800/circuit_playground_projects_IMG_4383_copy.jpg?1530814437)

This forms the foundation of our mini golf course.

Obstacles can now be added onto the course!&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/056/517/medium800/circuit_playground_projects_IMG_4386.jpg?1530211852)

# Mini Golf Course with Circuit Playground and Crickit

## Add the Obstacles

Mini golf is all about navigating through obstacles to get your ball in the hole.

Below are four obstacle challenges which can be built out of cardboard, paper, tape and glue. We will use CRICKIT with Circuit Playground Express to control these obstacles, and learn a bit of MakeCode along the way.

These obstacles can be used more or less interchangeably. Position them to make your course as easy or difficult as you like!

# Windmill
You can cut out a 2-blade or 4-blade windmill, depending on the level of difficulty you want.

![](https://cdn-learn.adafruit.com/assets/assets/000/056/650/medium800/circuit_playground_projects_IMG_4442.jpg?1530286611)

# Making the frame

&nbsp;

First, we'll need to make a frame on which to mount our spinning windmill.

&nbsp;

Take a piece of cardboard about 12 inches tall and 20 inches wide.

&nbsp;

Cut out a rectangle from the bottom, leaving 2-3 inches from the outside edge.

&nbsp;

Poke a hole in the center of your frame.

&nbsp;

Using the excess piece, cut out two new sections of cardboard about 2"x4". These will be used as stabilizing feet for the frame.&nbsp;

&nbsp;

Use scissors to cut 1" slits in the center of the feet and the bottom of the arch.

&nbsp;

Align the slits in the two pieces of cardboard and press together. Your windmill frame can now stand on its own.

![circuit_playground_projects_IMG_4447.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/716/medium640/circuit_playground_projects_IMG_4447.jpg?1530296948)

![circuit_playground_projects_IMG_4448.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/717/medium640/circuit_playground_projects_IMG_4448.jpg?1530296961)

![circuit_playground_projects_IMG_4450.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/718/medium640/circuit_playground_projects_IMG_4450.jpg?1530296982)

![circuit_playground_projects_IMG_4451.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/719/medium640/circuit_playground_projects_IMG_4451.jpg?1530296995)

![circuit_playground_projects_IMG_4453.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/720/medium640/circuit_playground_projects_IMG_4453.jpg?1530297014)

![circuit_playground_projects_IMG_4394.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/524/medium640/circuit_playground_projects_IMG_4394.jpg?1530213729)

![circuit_playground_projects_IMG_4395.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/525/medium640/circuit_playground_projects_IMG_4395.jpg?1530213755)

![circuit_playground_projects_IMG_4396.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/526/medium640/circuit_playground_projects_IMG_4396.jpg?1530213764)

# Mounting the motor

&nbsp;

Stick DC motor hub through center hole you added earlier.

&nbsp;

Use something pointy to mark the motor's mounting hole positions.

&nbsp;

Use a twist-tie or piece of solid-core wire to cinch the motor to the cardboard.&nbsp;

&nbsp;

Screw windmill blade to motor hub.

![circuit_playground_projects_IMG_4456.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/006/medium640/circuit_playground_projects_IMG_4456.jpg?1530645379)

![circuit_playground_projects_IMG_4457.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/007/medium640/circuit_playground_projects_IMG_4457.jpg?1530645404)

![circuit_playground_projects_IMG_4461.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/008/medium640/circuit_playground_projects_IMG_4461.jpg?1530645413)

![circuit_playground_projects_IMG_4462.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/009/medium640/circuit_playground_projects_IMG_4462.jpg?1530645446)

![circuit_playground_projects_IMG_4463.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/010/medium640/circuit_playground_projects_IMG_4463.jpg?1530645457)

![circuit_playground_projects_IMG_4464.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/011/medium640/circuit_playground_projects_IMG_4464.jpg?1530645473)

![circuit_playground_projects_IMG_4465.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/012/medium640/circuit_playground_projects_IMG_4465.jpg?1530645492)

![circuit_playground_projects_IMG_4466.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/013/medium640/circuit_playground_projects_IMG_4466.jpg?1530645516)

Once connected to CRICKIT, your windmill will be spinning in no time!

![](https://cdn-learn.adafruit.com/assets/assets/000/056/680/medium800thumb/circuit_playground_projects_2018-06-29_13_48_32.jpg?1530294685)

# Swinging Gate
Cut a rectangular strip of cardboard, about 2" x 8".

&nbsp;

Cut a strip of double sided tape, about the length of one popsicle stick.

&nbsp;

Tape cardboard gate to one side of the popsicle stick, and tape the servo horn to the other side.

&nbsp;

Trim the corners off the gate. This will help prevent it from colliding with anything as it swings up and down.

&nbsp;

This gate is now ready to mount on your servo motor!

![circuit_playground_projects_IMG_4495_copy.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/858/medium640/circuit_playground_projects_IMG_4495_copy.jpg?1530547889)

![circuit_playground_projects_IMG_4460.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/653/medium640/circuit_playground_projects_IMG_4460.jpg?1530288508)

![circuit_playground_projects_IMG_4489.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/667/medium640/circuit_playground_projects_IMG_4489.jpg?1530293217)

![circuit_playground_projects_IMG_4491.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/669/medium640/circuit_playground_projects_IMG_4491.jpg?1530293252)

![circuit_playground_projects_IMG_4492.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/670/medium640/circuit_playground_projects_IMG_4492.jpg?1530293268)

![circuit_playground_projects_IMG_4493.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/671/medium640/circuit_playground_projects_IMG_4493.jpg?1530293290)

This servo-powered gate will be programmed to go up and down in a pattern that you control.

![](https://cdn-learn.adafruit.com/assets/assets/000/056/860/medium800thumb/circuit_playground_projects_2018-07-02_12_30_49.jpg?1530549101)

# Ball Return
This obstacle is all about accuracy. Not only must you get past all the obstacles, but also aim your putt so the ball goes in the hole.&nbsp;

The slinky can also be positioned to conveniently return the ball to you.

Cut out an arc of cardboard on which to mount the slinky. This will support the slinky as the ball passes through it.

&nbsp;

Tape the ends and middle of the slinky to this cardboard.

&nbsp;

A small square of cardboard can be added at the end to further direct the ball as it exits the slinky.

&nbsp;

The ball return will be mounted at the very end of the course. Use the slinky to mark the location and diameter of the hole.

![circuit_playground_projects_IMG_4286.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/391/medium640/circuit_playground_projects_IMG_4286.jpg?1530112837)

![circuit_playground_projects_IMG_4287_copy.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/676/medium640/circuit_playground_projects_IMG_4287_copy.jpg?1530293481)

![circuit_playground_projects_IMG_4446.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/674/medium640/circuit_playground_projects_IMG_4446.jpg?1530293454)

![circuit_playground_projects_IMG_4445.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/677/medium640/circuit_playground_projects_IMG_4445.jpg?1530293502)

![circuit_playground_projects_IMG_4389.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/678/medium640/circuit_playground_projects_IMG_4389.jpg?1530293513)

Save yourself from chasing down your ball after making a hole in one. This slinky return chute will send it rolling back to you.

![](https://cdn-learn.adafruit.com/assets/assets/000/056/705/medium800thumb/circuit_playground_projects_2018-06-29_14_21_59.jpg?1530296567)

# Extra Credit: 360 Loop

This loop requires the use of hot glue and is trickier to build than the previous obstacles.

Determined makers read on...

Warning: 

To build a loop, find two circular objects, one about 1" larger in diameter than the other (such as a dinner plate and a medium sized plate).

&nbsp;

Trace the outlines on two pieces of cardboard. Cut out these outlines so that you're left with two donut shaped rings.

&nbsp;

Cut a line through the two rings. Mount them on a cardboard base, stretching the rings to either side as pictured.

&nbsp;

Use a long strip of paper or cardboard to create the track. Carefully glue this track in place, sequentially adding small dabs of glue as you go.

&nbsp;

Trim any excess length off the end of the track and glue it firmly in place.

![circuit_playground_projects_IMG_4219.jpg](https://cdn-learn.adafruit.com/assets/assets/000/055/914/medium640/circuit_playground_projects_IMG_4219.jpg?1529706359)

![circuit_playground_projects_IMG_4220.jpg](https://cdn-learn.adafruit.com/assets/assets/000/055/915/medium640/circuit_playground_projects_IMG_4220.jpg?1529706368)

![circuit_playground_projects_IMG_4223.jpg](https://cdn-learn.adafruit.com/assets/assets/000/055/917/medium640/circuit_playground_projects_IMG_4223.jpg?1529706392)

![circuit_playground_projects_IMG_4222.jpg](https://cdn-learn.adafruit.com/assets/assets/000/055/918/medium640/circuit_playground_projects_IMG_4222.jpg?1529706405)

![circuit_playground_projects_IMG_4438.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/518/medium640/circuit_playground_projects_IMG_4438.jpg?1530213216)

![circuit_playground_projects_IMG_4227.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/661/medium640/circuit_playground_projects_IMG_4227.jpg?1530292906)

It's fun to test your loop a few times before installing it on your course.

![](https://cdn-learn.adafruit.com/assets/assets/000/056/519/medium800thumb/circuit_playground_projects_2018-06-28_15_16_04.jpg?1530213402)

# Mini Golf Course with Circuit Playground and Crickit

## Connect to CRICKIT

Once you've installed your obstacles on your course, connect them to CRICKIT as pictured.

- Connect the DC motor powering your windmill to CRICKIT's motor block in position 1.&nbsp;
- Plug servo motor into CRICKIT (making sure the brown/black wire is facing inwards).
- Connect the Battery pack to the CRICKIT and make sure the switch is turned ON

![](https://cdn-learn.adafruit.com/assets/assets/000/056/854/medium800/circuit_playground_projects_IMG_4640_copy.jpg?1530547219)

If you need to extend your wires to position the obstacles where you want them, servo extensions can be [found here](https://www.adafruit.com/product/973)&nbsp;and jumper wire extensions can be [found here](https://www.adafruit.com/product/1952).

![](https://cdn-learn.adafruit.com/assets/assets/000/056/857/medium800/circuit_playground_projects_IMG_4633.jpg?1530547301)

Use double sided tape to stick servo-controlled gate and CRICKIT in place on the course.&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/056/855/medium800/circuit_playground_projects_IMG_4635.jpg?1530547236)

![](https://cdn-learn.adafruit.com/assets/assets/000/056/856/medium800/circuit_playground_projects_IMG_4634.jpg?1530547282)

If you find your motors struggling, check that your batteries are fresh!

If you're interested in adding even more obstacles, or having a permanent installation - a [2 amp power supply](https://www.adafruit.com/product/276) or [4 Amp power supply](https://www.adafruit.com/product/1466) can be used and should be able to handle the power needs for as many other motors you want to add!&nbsp;

# Mini Golf Course with Circuit Playground and Crickit

## MakeCode for Golfers

Now it's time to upload the code!

**Microsoft MakeCode for Adafruit&nbsp;** is a web-based code editor&nbsp;for physical computing. It provides a block editor, similar to Scratch or Code.org, and also a JavaScript editor for more advanced users.

If you haven't used MakeCode before, [this guide is a good place to start](https://learn.adafruit.com/makecode/downloading-and-flashing?embeds=allow).

# Before you start programming...

...make sure you have the CRICKIT extension installed in MakeCode. Detailed instructions on how to do that can be&nbsp;[found in this guide](https://learn.adafruit.com/adafruit-crickit-creative-robotic-interactive-construction-kit?view=all#adding-crickit-extension "MakeCode Crickit Extension").

Once you've got that taken care of you are ready to move forward!

# Getting into Bootloader Mode

Your Circuit Playground Express board comes ready to work with CircuitPython, and will show up as **CIRCUITPY** when connected to your computer for the first time.

BUT...

We'd like to make it work with MakeCode, which is done by putting it into "bootloader mode". All that's required to do this is to **connect the board to your computer** with a micro USB cable and **click the small reset button** in the center of the board.&nbsp;&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/056/658/medium800thumb/circuit_playground_projects_CPX_bootloader_mode.jpg?1530289703)

# The Code

Follow [this link](https://makecode.com/_7juicwapc7qc) or enter the portal below to interact with the code used in this project.

https://makecode.adafruit.com/20898-98952-77874-21142

Danger: 

# How to upload code

To upload code, connect you Circuit Playground Express to your computer using the micro USB cable, click the **Download** button to download the **.uf2 file** &nbsp;to your computer, and&nbsp; **drag 'n drop it onto the CPLAYBOOT** &nbsp;drive.&nbsp;

The drive will automatically eject itself. (Your computer may give you a "failed to eject drive correctly" error, you can ignore this.) The code is now on your Circuit Playground Express and ready to run!

![](https://cdn-learn.adafruit.com/assets/assets/000/056/862/medium800/circuit_playground_projects_Screen_Shot_2018-07-02_at_12.41.06_PM_copy.png?1530549738)

# What this code does

The sample sketch in MakeCode provides us with some simple commands for our obstacles.&nbsp;

Firstly, in the `on start` block we can see that the windmill is set to start spinning as soon as CRICKIT is powered on (the volume is also set to be quite loud).

- If you need **to stop the windmill, press the B button&nbsp;** on the Circuit Playground Express.
- If you want **to restart the windmill, press the A button** and it will play a warning siren and start rotating again.&nbsp;

Secondly, in the `forever` block, we can see that the gate is set to swing up and down in a timed pattern. This gives you a short window in which to make your shot before the gate comes slicing back down.&nbsp;

If you'd like to play with the code, click " **Edit**" and a new window will open in which you can create your own version.

![](https://cdn-learn.adafruit.com/assets/assets/000/056/859/medium800/circuit_playground_projects_Screen_Shot_2018-07-02_at_12.16.31_PM.png?1530548288)

If you'd like to make the course more or less challenging, you can change the speed of the windmill in the `crickit run motor 1 at 40%` block. Increase it to 70%, or decrease it to 30% (note that, depending on your power supply, the DC motor may have trouble spinning below a certain threshold).

The timing of the gate can also be altered by changing the number in the&nbsp;`pause` blocks. Making these shorter or longer durations will make it easier or harder to time your putt!

# It's Alive!

Plug in your battery pack and turn on power to CRICKIT and you should see your obstacles come to life!

![](https://cdn-learn.adafruit.com/assets/assets/000/056/863/medium800thumb/circuit_playground_projects_2018-07-02_12_04_10.jpg?1530549792)

# Mini Golf Course with Circuit Playground and Crickit

## Decorating

Now for the best part - decorating your mini golf course! There are many ways you and upgrade and beautify your mini golf creation, below are three examples of fun additions.

# Archway
This decorative archway makes an attractive entrance to your course.

&nbsp;

Take 4-5 pipe cleaners. Bend the pipe cleaners into a "U" shape, adding a 90 degree bend at the ends.

&nbsp;

Tape these in a line to the entrance to the course.

&nbsp;

Pass the ball through the archway!

![circuit_playground_projects_IMG_4692.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/910/medium640/circuit_playground_projects_IMG_4692.jpg?1530574923)

![circuit_playground_projects_IMG_4690.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/911/medium640/circuit_playground_projects_IMG_4690.jpg?1530574943)

![circuit_playground_projects_IMG_4695.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/912/medium640/circuit_playground_projects_IMG_4695.jpg?1530574984)

![circuit_playground_projects_IMG_4696.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/913/medium640/circuit_playground_projects_IMG_4696.jpg?1530574993)

![circuit_playground_projects_IMG_4698.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/914/medium640/circuit_playground_projects_IMG_4698.jpg?1530575001)

# Furry windmill
To spruce up the windmill, as well as make it more challenging, a trail of furry yarn can be added to the tips of each blade.

&nbsp;

First, use a screwdriver to remove your windmill blade from the motor hub.

&nbsp;

Cut 20-30 pieces of yarn about 4-5 inches long.&nbsp;

&nbsp;

Tie a knot in each end.

&nbsp;

Poke a series of holes in the end of your windmill blade (a skewer works well for this).

&nbsp;

Using the tip of the skewer, push the yarn through to the other side.

&nbsp;

Repeat this process until your windmill blade is sufficiently furry. The trailing bits of yarn aren't just pretty, they will throw your ball off course if you aren't careful!

![circuit_playground_projects_IMG_4665.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/904/medium640/circuit_playground_projects_IMG_4665.jpg?1530572295)

![circuit_playground_projects_IMG_4719.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/998/medium640/circuit_playground_projects_IMG_4719.jpg?1530642971)

![circuit_playground_projects_IMG_4718.jpg](https://cdn-learn.adafruit.com/assets/assets/000/056/999/medium640/circuit_playground_projects_IMG_4718.jpg?1530642992)

![circuit_playground_projects_IMG_4721.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/000/medium640/circuit_playground_projects_IMG_4721.jpg?1530643014)

![](https://cdn-learn.adafruit.com/assets/assets/000/057/001/medium800thumb/circuit_playground_projects_IMG_4726.jpg?1530643293)

# Scary gate
If a gate coming slicing down isn't already intimidating, adding some personality to it certainly helps.

&nbsp;

Use scissors to cut out a row of teeth along the bottom edge.

&nbsp;

Use a marker to add a face of some sort (preferably one that looks like it means business).

&nbsp;

A glue stick works well to stick googly eyes to cardboard. Add some glue to the back and press them down firmly for ~5 seconds to get a good bond.

![circuit_playground_projects_IMG_4729.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/017/medium640/circuit_playground_projects_IMG_4729.jpg?1530648415)

![circuit_playground_projects_IMG_4666.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/019/medium640/circuit_playground_projects_IMG_4666.jpg?1530648435)

![circuit_playground_projects_IMG_4667.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/020/medium640/circuit_playground_projects_IMG_4667.jpg?1530648459)

![circuit_playground_projects_IMG_4730.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/021/medium640/circuit_playground_projects_IMG_4730.jpg?1530648484)

![circuit_playground_projects_IMG_4732.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/023/medium640/circuit_playground_projects_IMG_4732.jpg?1530648517)

![circuit_playground_projects_IMG_4734.jpg](https://cdn-learn.adafruit.com/assets/assets/000/057/024/medium640/circuit_playground_projects_IMG_4734.jpg?1530648554)

# RAWR!
![](https://cdn-learn.adafruit.com/assets/assets/000/057/025/medium800thumb/circuit_playground_projects_2018-07-03_16_04_21.jpg?1530648622)

You can have fun exploring many different designs for the gate obstacle. Let your imagination run wild!

![](https://cdn-learn.adafruit.com/assets/assets/000/057/033/medium800thumb/circuit_playground_projects_2018-07-03_15_53_48.jpg?1530650057)

# Mini Golf Course with Circuit Playground and Crickit

## Play Mini Golf!

Once you have everything connected and the course decorated to your liking, it's time to play some Mini Golf!

Start by plugging your power supply into CRICKIT and turning it on.

It may take a few tries to make it past the obstacles.

![](https://cdn-learn.adafruit.com/assets/assets/000/057/109/medium800thumb/circuit_playground_projects_blocked_1.jpg?1530656640)

It's important to time your shot carefully.

![](https://cdn-learn.adafruit.com/assets/assets/000/057/111/medium800thumb/circuit_playground_projects_blocked_2.jpg?1530656853)

Many things can go wrong.

![](https://cdn-learn.adafruit.com/assets/assets/000/057/108/medium800thumb/circuit_playground_projects_overshoot.jpg?1530656605)

But finally you'll make a hole in one!

![](https://cdn-learn.adafruit.com/assets/assets/000/057/107/medium800thumb/circuit_playground_projects_hole_in_one.jpg?1530656574)

# Exploring further

If you enjoy MakeCode and want to continue exploring you can check out&nbsp;[lots more MakeCode projects on the Adafruit Learn System](https://learn.adafruit.com/category/makecode).


## Featured Products

### Adafruit CRICKIT for Circuit Playground Express

[Adafruit CRICKIT for Circuit Playground Express](https://www.adafruit.com/product/3093)
Sometimes we wonder if robotics engineers ever watch movies. If they did, they'd know that making robots into servants always ends up in a robot rebellion. Why even go down that path? Here at Adafruit, we believe in making robots our&nbsp; **friends!**

So if you find...

In Stock
[Buy Now](https://www.adafruit.com/product/3093)
[Related Guides to the Product](https://learn.adafruit.com/products/3093/guides)
### Circuit Playground Express

[Circuit Playground Express](https://www.adafruit.com/product/3333)
 **Circuit Playground Express** is the next step towards a perfect introduction to electronics and programming. We've taken the original Circuit Playground Classic and made it even better! Not only did we pack even more sensors in, we also made it even easier to...

Out of Stock
[Buy Now](https://www.adafruit.com/product/3333)
[Related Guides to the Product](https://learn.adafruit.com/products/3333/guides)
### Micro servo

[Micro servo](https://www.adafruit.com/product/169)
Tiny little servo can rotate approximately 180 degrees (90 in each direction) and works just like the standard kinds you're used to but _smaller_. You can use any servo code, hardware, or library to control these servos. Good for beginners who want to make stuff move without...

Out of Stock
[Buy Now](https://www.adafruit.com/product/169)
[Related Guides to the Product](https://learn.adafruit.com/products/169/guides)
### DC Gearbox Motor - "TT Motor" - 200RPM - 3 to 6VDC

[DC Gearbox Motor - "TT Motor" - 200RPM - 3 to 6VDC](https://www.adafruit.com/product/3777)
Perhaps you've been assembling a new robot friend, adding&nbsp;a computer for a brain and other fun personality touches. Now the time has come to let it leave the nest and fly on its own wings– err, _wheels!_&nbsp;

These durable (but affordable!) plastic gearbox motors...

Out of Stock
[Buy Now](https://www.adafruit.com/product/3777)
[Related Guides to the Product](https://learn.adafruit.com/products/3777/guides)
### USB cable - USB A to Micro-B

[USB cable - USB A to Micro-B](https://www.adafruit.com/product/592)
This here is your standard A to micro-B USB cable, for USB 1.1 or 2.0. Perfect for connecting a PC to your Metro, Feather, Raspberry Pi or other dev-board or microcontroller

Approximately 3 feet / 1 meter long

In Stock
[Buy Now](https://www.adafruit.com/product/592)
[Related Guides to the Product](https://learn.adafruit.com/products/592/guides)
### 3 x AA Battery Holder with 2.1mm Plug

[3 x AA Battery Holder with 2.1mm Plug](https://www.adafruit.com/product/3842)
Here's another addition to our growing family of&nbsp;[AA battery holders](https://www.adafruit.com/category/563).&nbsp;A&nbsp;holder for three (3) AA batteries! It's got&nbsp;an 8" long power cable with a 2.1mm DC jack at the end, and, oh yes, it's in classy...

In Stock
[Buy Now](https://www.adafruit.com/product/3842)
[Related Guides to the Product](https://learn.adafruit.com/products/3842/guides)

## Related Guides

- [Adafruit Circuit Playground Express](https://learn.adafruit.com/adafruit-circuit-playground-express.md)
- [Esenciales para CircuitPython](https://learn.adafruit.com/esenciales-para-circuitpython.md)
- [Animatronic Glowing Medusa Headdress](https://learn.adafruit.com/animatronic-glowing-medusa-headdress.md)
- [BOSEbuild Reactive Sound ](https://learn.adafruit.com/bosebuild-reactive-sound.md)
- [Glowing Smokey Skull ](https://learn.adafruit.com/glowing-smokey-skull.md)
- [Crickit Powered Mini Chair Swing Ride!](https://learn.adafruit.com/mini-chair-swing-ride.md)
- [Scratch 3 Walkthrough and Demo](https://learn.adafruit.com/guide-to-scratch-3.md)
- [Adafruit Circuit Playground Tri-Color E-Ink Gizmo](https://learn.adafruit.com/adafruit-circuit-playground-tri-color-e-ink-gizmo.md)
- [Circuit Playground: G is for Ground](https://learn.adafruit.com/circuit-playground-g-is-for-ground.md)
- [Sparky the Blue Smoke Monster Automaton](https://learn.adafruit.com/sparky-automaton.md)
- [MicroBlocks Circuit Playground Express Ornament](https://learn.adafruit.com/microblocks-circuitplayground-express-ornament.md)
- [Xenomorph Halloween Candy Bucket](https://learn.adafruit.com/xenomorph-halloween-candy-bucket.md)
- [Mystery Box: The Freefall Deck](https://learn.adafruit.com/mystery-box-freefall-deck.md)
- [Perfect Pitch Machine](https://learn.adafruit.com/perfect-pitch-machine.md)
- [Wind Blowing Emoji Prop](https://learn.adafruit.com/wind-face-emoji.md)
- [Automatic Mechanical Watch Winder](https://learn.adafruit.com/automatic-mechanical-watch-winder.md)
