Projects with Python·Tutorial 2 of 5

Ultrasonic Alarm

Advanced

Build a fully functional motion alarm. The buzzer frequency and LED colour escalate as an intruder gets closer — three alarm zones with distinct sounds and lights.

30 min5 steps
DistanceHC-SR04AlarmBuzzerLEDProjectAdvanced
0 of 5 steps

Step 1 of 5

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.