

Generator alarm
My first project based on the STM32 microcontroller family. It consists of an alarm module and a receiver. The alarm module utilizes the RCWL-0516 motion sensor, the STM32F030K6T6 microcontroller, which wakes up upon…
- Size
- 26 × 36 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 25
- Nets
- 37
- Pads
- 97
- Tracks, vias
- 116, 34
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 7 (file 20221018)
- Created
- 15 Dec 2023
- Updated
- 16 Dec 2023
Overview
Generator alarm is an open-source printed circuit board by Glebka, from the Glebka/ARS repository on GitHub. It is a 2-layer board of 26 × 36 mm with 25 parts on 37 nets, routed with 116 tracks and 34 vias.
It is built around the RA-02 and XC6206P332PR-G. Its parts include 10 capacitors, 4 connectors, 3 ICs, 2 resistors and 1 diode. It belongs with the STM32 boards of this library.
Main components
2README
README.mdARS - Alarm System
My first project based on the STM32 microcontroller family. It consists of an alarm module and a receiver. The alarm module utilizes the RCWL-0516 motion sensor, the STM32F030K6T6 microcontroller, which wakes up upon interruption from the sensor, and communicates the alarm using the LoRa module RA-02 at 433 MHz.
As the receiver, an ESP32 TTGO LoRa 433MHz development board with an OLED display is used. The receiver spends most of its time in a sleeping state to reduce power consumption. Upon receiving an alarm signal, the receiver wakes up, displays a text status on the screen, and activates an LED indicator. The LED continues to blink even in sleep mode until the user resets the alarm state. This is made possible by the ULP coprocessor.
TODO
- Configure the alarm module to operate on battery power.
- Implement a buzzer on the receiver to provide an audible signal in case of an alarm.
- Redesign the enclosure for the receiver.
- Design an enclosure for the alarm module.
- Add encryption
- Add protection from replay attacks
Parts
25| Qty | Value | Footprint | References |
|---|---|---|---|
| 5 | 0.1u | Capacitor_SMD:C_0603_1608Metric | C2, C3, C5, C8, C9 |
| 3 | 10u | Capacitor_Tantalum_SMD:CP_EIA-3216-10_Kemet-I_Pad1.58x1.35mm_HandSolder | C1, C4, C6 |
| 2 | 1u | Capacitor_SMD:C_0805_2012Metric | C7, C10 |
| 2 | MountingHole | MountingHole:MountingHole_2.5mm | H1, H2 |
| 2 | SolderJumper_2_Open | Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP1, JP2 |
| 1 | 10k | Resistor_SMD:R_0805_2012Metric | R1 |
| 1 | 12V | TerminalBlock_4Ucon:TerminalBlock_4Ucon_1x02_P3.50mm_Vertical | J4 |
| 1 | 1k | Resistor_SMD:R_0805_2012Metric | R2 |
| 1 | LED | LED_SMD:LED_1206_3216Metric | D1 |
| 1 | RA-02 | footprints:RA-02_AIT | U1 |
| 1 | RESET | Button_Switch_SMD:SW_SPST_CK_RS282G05A3 | SW1 |
| 1 | STM32F030K6Tx | Package_QFP:LQFP-32_7x7mm_P0.8mm | U2 |
| 1 | SWD | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J3 |
| 1 | Sensor | Connector_PinHeader_1.27mm:PinHeader_1x03_P1.27mm_Vertical | J1 |
| 1 | UART | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J2 |
| 1 | XC6206P332PR-G | footprints1:SOT-89_TOR | U3 |
Questions
How big is the Generator alarm PCB?
It measures 26 × 36 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Generator alarm use?
25 parts, built around the RA-02 and XC6206P332PR-G. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Generator alarm KiCad files?
From the Glebka/ARS repository on GitHub, at the commit this page was made from: the board is generator-alarm.kicad_pcb and its schematic generator-alarm.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Generator alarm design in my own project?
Its repository states no licence, so its author keeps all rights: ask Glebka before reusing the design.
Similar boards
- 4 layers92.5 × 147.5 mm

- 2 layers46.8 × 37 mm

- 2 layers29 × 38 mm

Esp32c3-radio adapter
mithro/esp32-to-433mhz
ESP32-C3 SuperMini form-factor KiCad board with castellated headers
14 parts1Apache-2.0 - 2 layers376.1 × 352.9 mm

Module radio
victorstoica114/ESP32-C3_Radio
PlatformIO project for testing multiple radio modules with an ESP32-C3 board, an optional SSD1306 OLED display, and serial/AT-command based firmware variants.
175 parts1MIT - 4 layers62 × 50 mm

Battery monitor rev a
bogdan-kovalchuk/esp32-battery-charging-monitoring
An ESP32-based 12 V battery voltage monitor. The firmware measures battery voltage, while a Flask backend delivers notifications to a Signal group through signal-cli.
66 partsMIT - 4 layers65 × 45 mm

Lora gps tracker rev a
bogdan-kovalchuk/esp32-lora-gps-tracker
Encrypted point-to-point GPS telemetry over 433 MHz LoRa between two ESP32 boards.
69 partsMIT - 2 layers100 × 100 mm

ESP32 S3 DEVKIT EL V1
iSebass/TourisTech
En el contexto de un mundo cada vez más consciente de la importancia de la sostenibilidad y la conservación del medio ambiente, surge un proyecto visionario que busca revolucionar la industria del ecoturismo en…
91 parts - 2 layers93.4 × 87.4 mm
