MISSION 12

Mobile Alarm for Your Devices

Now we can’t always be near our room or the cookie jar to keep them safe. We can set up a system where one device sends a message to another one to alert you to a problem.

For the micro:bit and the Circuit Playground Express, we need another device. On the Raspberry Pi, we’re going to send an email.

Algorithm

This is the algorithm for the micro:bit and the Circuit Playground Express. For the Raspberry Pi, it’s not too different. We’re just sending an email on device 1 and receiving it on device 2.

Images

micro:bit

Build

Build your cookie jar or door sensor as shown in previous missions. The second micro:bit ...

Get Save the World with Code: 20 Fun Projects for All Ages Using Raspberry Pi, micro:bit, and Circuit Playground Express now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.