Skip to Main Content
Save the World with Code: 20 Fun Projects for All Ages Using Raspberry Pi, micro:bit, and Circuit Playground Express
book

Save the World with Code: 20 Fun Projects for All Ages Using Raspberry Pi, micro:bit, and Circuit Playground Express

by Lorraine Underwood
April 2020
Intermediate to advanced content levelIntermediate to advanced
224 pages
6h 2m
English
McGraw-Hill Education TAB
Content preview from Save the World with Code: 20 Fun Projects for All Ages Using Raspberry Pi, micro:bit, and Circuit Playground Express

MISSION 11

Number Lock for Your Devices

The problem with the cookie jar alarm is that sometimes we need cookies. And we don’t want our cookie enjoyment ruined by an alarm constantly going off! We also need to get into our room without the door alarm going off.

Let’s create a number lock for the cookie jar for the micro:bit and Circuit Playground Express and a number lock for the door for the Raspberry Pi. This will be more secure than the sword lock, because you have to enter a number to unlock it. The alarm will give you 10 seconds to enter the correct code before it goes off.

We can scroll through numbers using the A button, and submit a guess using the B button on the micro:bit and the Circuit Playground Express. On the Raspberry Pi, we’re ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Science and Engineering Projects Using the Arduino and Raspberry Pi: Explore STEM Concepts with Microcomputers

Science and Engineering Projects Using the Arduino and Raspberry Pi: Explore STEM Concepts with Microcomputers

Paul Bradt, David Bradt
Card Games by Thiagi: A User's Guide

Card Games by Thiagi: A User's Guide

Sivasailam Thiagi Thiagarajan

Publisher Resources

ISBN: 9781260457605