BBC micro:bit
Touchy Touchy

Introduction

The large pins labelled pin 0, 1 and 2 can be used to create touch inputs. You can connect things like Play-Doh, tin foil, conductive paint or fruit to these pins. If you touch the object whilst also touching something that is connected to the GND pin.

Touching

This is enough for you to test that your buttons work. You can also just do this directly on the micro:bit with your fingers. Get a good grip on the GND pin. Tap away at one of the other 3 pins and the LED should tell you which pin you touched.

micro:bit Code

Challenges

  1. Replace the numbers with images.
  2. If you have some crocodile/alligator clips, you can experiment with different objects as switches.
  3. You could go large with your switches and operate them with your feet.