Friday, March 25, 2022

Digital Easter Egg Hunt @Raspberry_Pi #PiDay #RaspberryPi

Just in case this is something you need, Alex Bate has put together a way you can instruct a Raspberry Pi to reveal the location of a hidden chocolate egg. Here’s more from Raspberry Pi Blog:

You’ll need an egg carton, two male-to-female jumper wire, and two crocodile leads for each egg you use. Connect your leads together in pairs: one end of a crocodile lead to the male end of one jumper wire. Attach the free crocodile clips of two leads to each corner of the egg carton (as shown up top). Then hook up the female ends to GPIO pins: one numbered pin and one ground pin per egg. I recommend pins 3, 4, 18 and 24, as they all have adjacent GND pins. Your foil-wrapped Easter egg will complete the circuit — make sure it’s touching both the GPIO- and GND-connected clips when resting in the carton.

See project!


3055 06Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!

No comments:

Post a Comment