Steady Hand Game

Build yourself a game that would test your composure and your fine motor skills. Finish the obstacle course without touching the steel wire. Don't get anxious while playing. Play at your own risk!


You'll need

  • 1 x Micro:bit
  • 1 x Sensor: bit breakout board
  • 1 x GVS LED Strip
  • 1 x Base prinout (see step 02)
  • 1 x Thick Straw
  • 2 x Disposable cups
  • 3 x F-F wires
  • Thin steel wire
  • Aluminium foil
  • Bluetack
  • Penknife

Step 1

Instructions

How this game works

Signal pin of PIN1 is connected to the wired obstacle. When GND (the game handle) pin of PIN1 accidentally touches the obstacle, it will form a close circuit. When this happens, player lose.

Signal pin of PIN2 is attached to the finishing point. When the game handle (GND) touches the PIN2, it forms a close circuit. When this happens, player have successfully completed the game!


Step 2

Instructions

Wiring it up
(a) Connect a F-F wire to the signal pin of PIN1
(b) Connect a F-F wire to the ground pin of PIN1
(c) Connect a F-F wire to the signal pin of PIN2
(d) Connect a neopixel light strip to PIN3




Materials

  • 1 x Sensor:bit
  • 1 x Neopixel light strip

Step 3

Instructions

Making the base

Print the attached template on a 250gsm paper. If you do not have a printer, cut a 30cm x 12cm rectangle out of scrap materials. You can use any scrap materials (eg: cardboard) that is readily available for you. Thicker materials gives better base support.




Materials

  • 1 x Printout on 250gsm paper

Downloads: base.png

Step 4

Instructions

Making the base

(a) Measure the diameter of the cup’s mouth

(b) Using a compass, we are going to draw a circle, slightly SMALLER than the cup - if the cup diameter is 8cm, we are going to draw a 7.6cm diameter (aka 3.8 cm radius) circle using the compass. Or, if you don't have a compass, draw a circle freehandedly

(c) Cut the circle out

(d) Slot the paper through the cups from the top




Materials

  • 1 x Base (printout)
  • 2 x Paper cup

Step 5

Instructions

Making the conductive wire

(a) Grab your long steel wire (~80cm) and securely wrap aluminum foil around it.

(b) Then bend the wires to your desired obstacle course shape. Make it complex if you want, but don't make it impossible!




Materials

  • 1 x Steel wire
  • Aluminium foil

Step 6

Instructions

Making cup ends
(a) Using a penknife, cut an ‘X’ at the base of the cup
(b) Cut a thick straw into halves
(c) Poke the straw through




Materials

  • 1 x Thick straw

Step 7

Instructions

Assemble the electronic parts

(a) Bluetack the sensor:bit and light strip down
(b) Assemble the obstacle into the two straw ends




Materials

  • 1 x Sensor:bit
  • 1 x Neopixel light strip
  • 3 x Jumper wires
  • Bluetack

Step 8

Instructions

Connecting everything for the starting point

(a) Insert the steel wire ends into the straws, and through the cup

(b) Poke a hole somewhere in the middle of the starting point cup, so that the red jumper wire can pass through

(c) Connect the jumper pin to the steel wire


Step 9

Instructions

Connecting everything for the end point

(a) For the P2 signal jumper wire, connect a short steel wire to it, then coil the wire around the yellow straw

(b) Add aluminium foil on the coiled metal to increase conductivity. Make sure the metal parts that is connected to the brown jumper wires do not touch the obstacle course from P1.


Step 10

Instructions

Making the handle

(a) Cut a short piece of steel wire, about 12cm

(b) Wrap aluminium foil around it. Leave out 2cm gap at both ends

(c) Connect the wrapped steel wire to the ground pin of PIN1

(d) Make a loop around the straw. Make sure its the loop is big enough for the handle to move freely

Now, you are done with the making section! Moving on to coding!




Materials

  • Steel wire
  • Aluminium foil (optional)

Step 11

Instructions

Importing Neopixel light module

(a) On your browser, open MakeCode editor

(b) Go to extensions and search for neopixel


Step 12

Instructions

Initialise neopixel light strip
(a) Grab a “set strip to...” block from the neopixel drawer
(b) Place the block inside an ‘On start’. Then, set the strip to P3 with 10 LEDs.


Step 13

Instructions

Conditional Statements
(a) In a forever block, place an if-else conditional

(b) From the input drawer, drag a ‘pin P1 is pressed’ and place it inside the if statement

(c) From the input drawer, drag a ‘pin P2 is pressed’ and place it inside else if statement

(d) Within else block, place a ‘show icon’ block


Step 14

Instructions

Changing colors

(a) From neopixel drawer, drag out a show color block. Place them inside if-block and else-if block

(b) Choose whichever color to denote the start (P1 pressed) and end of the course (P2 pressed)

Do note that some of the colours does not reflect correctly, so do trial and error to see what colour do you want, just make sure that the colours display when it touches the obstacle and the end point are different.


Step 15

Instructions

Add sounds

(a) Since the sensor:bit comes with an in-built buzzer, you don’t need to add an external one. To add sounds, go to Music drawer and drag out a ‘start melody ... ’ block


Code and References

Completed this tutorial?

Spread the word! Let's get this trending on social media with #letsgethacking #SteadyHandGame