Temperature Lock for Sense-Hat/Raspberry Pi Puzzle Box #piday #raspberrypi @Raspberry_Pi
This great tutorial will show you how to create an electronic puzzle box to keep your information secret! via Raspberrypi
Before you write the code to make your temperature lock mechanism, it’s important to understand how it will behave and how you will create that behaviour with code. There are many ways you could use temperature in a lock mechanism, but in this activity you’ll make a program that does the following:
Finds out the current temperature
Chooses a target temperature close to the current temperature
Gives you a clue as to whether it’s too cold or too hot compared to the target temperature
Continually checks the current temperature until it’s close enough to the target temperature
Finally, the program will give an indication that the temperature lock is unlocked
Each 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!
Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.