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 8

Door Sensor to Tell When Your Room Is Under Attack

Little brothers, big sisters, none of them belong in your room—unless, of course, you share it with them. If you want to keep your home safe and siblings out your room, then I’d recommend the cookie jar lock for your belongings. This door alarm can work on any door, so you could add it to a closet or wardrobe instead.

The door sensor works on electrical signals. When two wires are touching, they let electricity flow from one to the other. If that connection is broken, then we can sense that electrically.

Back in Mission 1, you created a touch sensor to test whether a family member is a zombie. This worked because humans conduct electricity. Now we can’t stay in our room all day waiting ...

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