Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
IMG_20180825_115728.jpg
IMG_20180825_120859.jpg
IMG_20180825_120910.jpg
IMG_20180825_121006.jpg
IMG_20180825_121607.jpg
IMG_20180825_121942.jpg
IMG_20180825_122107.jpg
IMG_20180825_122144.jpg
IMG_20180825_122205.jpg
IMG_20180825_122249.jpg
IMG_20180825_122308.jpg
IMG_20180825_122845.jpg
IMG_20180825_165616.jpg
IMG_20180825_165648.jpg
IMG_20180825_165814.jpg
IMG_20180825_165829.jpg
IMG_20180825_165856.jpg
IMG_20180825_170009.jpg
IMG_20180825_170039.jpg
IMG_20180825_170233.jpg
README.md
code.png

README.md

Making a heel pressure sensor

Cut out a heel-shaped piece of foam.

photo

Cut out a 3.5cm × 14cm strip of Velostat, then fold in half, then half again, making a square.

photo

Place the square of Velostat on the foam heel, and draw around it.

photo

Cut out the square you’ve just drawn.

photo

Measure out two pieces of stranded wire, roughly 30cm long.

photo

Strip roughly 2cm of insulation off both ends of both wires.

photo

Stick a square of duct tape over one side of the hole in the foam heel.

photo

Turn the foam heel over, and stick one of the wires onto the exposed tape, with the strands nicely spread out.

photo

Place the folded square of Velostat on top.

photo

Then place the second wire on top, with the strands spread out, as before.

photo

And stick it all down with another square of duct tape.

photo

Twist the ends of the two loose wires.

photo

Turn your microbit over, so you can see the back (the side without the buttons or LEDs). Bend the legs of the 100Ω resistor through the “0“ and “GND” holes of the microbit.

photo

Bend the ends of the legs, to hold the resistor in place.

photo

Turn the microbit back over, and hook one of the wires from your pressure sensor through the hole marked “3V”.

photo

Put an M3 bolt through the hole…

photo

…And screw a nut onto the bolt, from the back of the microbit. When you’re finished, the nut and bolt should hold the wire tightly in place.

photo

Bend the end of the final loose wire through the hole marked “0”…

photo

…Then insert a bolt, and fasten a nut onto the back, just as before. Remember to tighten it, so that the wire is held securely in place.

photo

Plug the battery pack into the white socket on the top of your microbit.

photo

Write this code at https://makecode.microbit.org

code

Download the code has a Hex file, and copy the Hex file onto your microbit.

When you press the pressure sensor, the lights on your microbit should light up.