IoT & Cloud with Python·Tutorial 5 of 5

Capstone: Remote-Armed Alarm with Python

Advanced

Combine everything from this series: publish distance readings to the cloud, and arm or disarm an alarm remotely from your dashboard, all in one Python program.

30 min6 steps
PythonWiFiCloudIoTAlarmDistanceBuzzerAdvanced
0 of 6 steps

Step 1 of 6

Connect your board

Power on your Beaver Board — the OLED will show a PIN code. Click Connect in the toolbar, choose Connect via Bluetooth, and select your board. If it's your first time, enter the PIN shown on the screen.

Turn on the Debug switch at the top of the Console. This tutorial uses print() to show you what is happening, and Debug keeps the connection open so you can see it.

Point the front of the board (where the distance sensor is) at a doorway or the item you want to protect.