
Bionic Eye
Create a glowing bionic eye that changes colour when different touch points are pressed.
Children explore how technology can respond to touch.
They will use a Crumble controller to code a sparkle that changes colour when different inputs are pressed.
They finish by testing and improving their bionic eye to react in different ways.
Connect a Sparkle and the split pins to the Crumble using crocodile leads.
Insert 3x alkaline batteries into the battery box. Slide the switch to check they’re in the correct way.
Use a red and a black croc clip lead to connect the battery box to the Crumble.
Use a red, a black, and a green croc clip lead to connect the Crumble to the Sparkle.
Connect yellow croc clip leads to connectors A, B, and C on the Crumble. Attach split pins to the other ends.
Attach a red croc clip lead to a positive (+) terminal on the battery box. Leave the remaining end loose.
Open the Crumble software and change the colour of the Sparkle depending on split pin pressed.
Connect the Crumble to a computer and open the Crumble app or head to code.crumble.tech.
Snap an If – Then – Else block to a Program start block and add an A is HI block.
Add a Set Sparkle block and change the colour to tell the Crumble if A is pressed then make the Sparkle green.
Add a second If-Then-Else block and a Set Sparkle block and change the colour to tell the Crumble if B is pressed then make the Sparkle blue.
Add an If-Then block and a Set Sparkle block and change the colour to tell the Crumble if C is pressed then make the Sparkle Red.
Place your conditional sequence inside a Do Forever Loop block to continuously repeat the checks.
Turn the battery pack on and press the Green Triangle to send your code to the Crumble.
Press the red square or turn off the battery box to stop the conditional sequence.
Grab your craft materials and let’s build the bionic eye.
Make a circular hole in the top of the box.
Tape a piece of tracing paper over the hole.
Cut a circle (the same size as the box circle) out of white card and tape on top of the tracing paper.
Draw the pupil on to the tracing paper.
Cut an eye shape out of a piece of card.
Place and tape the eye shape on top of the white card.
Make three holes on top of the box and push through the split pins.
Connect the yellow croc clip leads attached to the Crumble to the split pins.
Place and tape down the Sparkle so it is directly behind the eye circle.
Turn the battery pack on and place the rest of the programmed Crumble circuit inside the box.
Touch each split pin to change the colour of the eye.
Can you get even more creative with your bionic eye?
Make the eye blink or pulse in different ways depending on the input (e.g. slow blink = sleepy, fast pulse = alert).
Turn the eye into a sensor by making it change colour when something gets close using an ultrasonic (distance) sensor instead of split pins.

Create a glowing bionic eye that changes colour when different touch points are pressed.