I have a box room in the garage where I store all my precious mountain gear. This project aims to create a remote alarm system using a pair of MCUs (a RaspberryPi pico and a ESP8266) connected by a LoRa PtP link.
The RaspberryPi pico will be in the box room (garage, -2 floor):
RPI pico | <--------- Door Sensor (GPIO in) | <--------> LoRa module (SPI) | ----------> Light relay (GPIO out) | ----------> Buzzer (PWM) | <--------> RFID reader
It will monitor the status of the door sensor. If the door is opened the light will be turned on and if the RFID tag is not presented the alarm will be triggered. The buzzer will sound and will report via the LoRa link.
The ESP8266 will be in the flat, 4th floor.
ESP8266 | <--------> LoRa module (SPI) | ----------> Buzzer (PWM)
It will be connected to the WiFi, and if the alarm is triggered it will send mail notification and the buzzer will sound.
In the case the bad boys use signal inhibitors to disable the LoRa PtP link or cut the power, both MCUs will use a heartbeat signal. If the ESP8266 does not receive replies from the other unit it will trigger the alarm on its own.
Goal for this Hackweek
- Research ISM band restrictions about on-air time, avoid LoRaWAN service disruption
- Test communication between the box room in the garage (-2 floor) and my flat (4th floor)
- Develop software for both MCUs
- Design PCB to power RPi pico from 220v
- Install the system
This project is part of:
Hack Week 20
I'm running a simple home mirror, but I managed...
I have had a hobby pr...
[comment]: # (Please use the project descriptio...