Your shopping cart is empty!
Build Smart Alarm System Using IoT with micro:bit
- Abdulrahman Alhamed
- 10 Aug 2022
- 2149
This tutorial will teach us how to build a Smart Alarm System using IoT with microbit. If the IR sensor detects someone is entering the house the microbit will send an alarm notification to your device through Telegram. ⚠️?
Video Tutorial
Components Required
Connection
By following the diagram above:
- Connect the grove wifi module to P15 and P16
- Connect IR sensor to P1
Code
Connect your REKA:BIT to your device and open MakeCode editor to start programming.
- Add “ESP8266 Cytron” extension and follow the code block in the picture above
- Follow the steps here to create Telegram bot. Get the API key of the Telegram bot and chat ID.
If you want to learn more on how to send messages to Telegram, please check the video tutorial here - After completing the code, download it on microbit
You can also view and edit the code by clicking here!
Project Complete
Upon completing the project successfully, you shall receive a message notification on your Telegram once the IR sensor detects someone entering the house.