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!
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!
Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi
EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey