# BLE Door and Window Sensor Reference Design ## Description This project is a BLE door and window sensor design that uses a U-blox BMD-330-A-R for BLE communication, a reed switch as a sensor, a multi-color LED for status display, and is powered by VBAT. There's also a programming interface and reset switch included. #WiFi #BLE #MCU #ReferenceDesign #project #referenceDesign #simple-embedded #ublox #template #reference-design ## Project Details - **Owner:** deucebot22 - **Created:** 8/28/2024 - **Last Updated:** 8/28/2024 - **Visibility:** Public - **License:** https://creativecommons.org/licenses/by/4.0/ ## Key Components ### BAT1 — [CR2032 Battery Retainer Coin](https://www.flux.ai/vasy_skral/cr2032-battery-retainer-coin~6ab.md) - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Connector **Pins:** - NEG [pin N1] - POS [pin P2] - POS [pin P1] ### LED1 — [LTST-C19HE1WT](https://www.flux.ai/vasy_skral/ltst-c19he1wt~x5i.md) - Datasheet URL: https://datasheet.lcsc.com/lcsc/2010222107_Everlight-Elec-19-237-R6GHBHC-A04-2T_C883183.pdf - Part Type: LED - Manufacturer Name: Everlight Elec - Manufacturer Part Number: 19-237/R6GHBHC-A04/2T **Pins:** - A - B - G - R ### PROG — [Connector 01x04 0.100](https://www.flux.ai/vasy_skral/connector-01x04-0100~go.md) - Part Type: Connector **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] ### REED1 — [MDSM-4R-12-18](https://www.flux.ai/vasy_skral/mdsm-4r-12-18~7vl.md) - Manufacturer Part Number: MDSM-4R-12-18 - Part Type: Switch - Datasheet URL: https://www.littelfuse.com/media?resourcetype=datasheets&itemid=a42b08e0-1fdf-4815-8489-0dbae6f9e547&filename=littelfuse-reed-switches-mdsm-4-datasheet - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Littelfuse Inc. **Pins:** - ~ [pin 2] - ~ [pin 1] ### RST — [PTS815](https://www.flux.ai/vasy_skral/pts815~6b.md) - Manufacturer Part Number: PTS815 SJM 250 SMTR LFS - Manufacturer Name: C&K - Part Type: Switch - Datasheet URL: https://www.ckswitches.com/media/2728/pts815.pdf **Pins:** - ~1 [pin 1] - ~2 [pin 2] - ~3 [pin 3] - ~4 [pin 4] ### U1 — [BMD-330-A-R](https://www.flux.ai/vasy_skral/bmd-330-a-r~2dh.md) - Datasheet URL: https://content.u-blox.com/sites/default/files/BMD-330_DataSheet_UBX-19033352.pdf - Manufacturer Part Number: BMD-330-A-R - Manufacturer Name: U-blox - Part Type: Module - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - <= GND [pin 47] - GND [pin 3] - GND [pin 29] - GND [pin 1] - GND [pin 46] - GND [pin 16] - GND [pin 18] - GND [pin 5] - GND [pin 2] - GND [pin 45] - GND [pin 4] - GND [pin 30] - P0.00/XTAL1 [pin 13] - P0.01/XTAL2 [pin 14] - P0.02/AIN0 [pin 15] - P0.03/AIN1 [pin 19] - P0.04/AIN2 [pin 20] - P0.05/AIN3 [pin 21] - P0.06 [pin 22] - P0.07 [pin 23] - P0.08 [pin 24] - P0.09/NFC1 [pin 25] - P0.10/NFC2 [pin 26] - P0.11 [pin 27] - P0.12 [pin 28] - P0.13 [pin 31] - P0.14 [pin 32] - P0.15 [pin 33] - P0.16 [pin 34] - P0.17 [pin 35] - P0.18 [pin 36] - P0.19 [pin 37] - P0.20/TRACECLK [pin 38] - P0.21/~RESET [pin 39] - P0.22 [pin 40] - P0.23 [pin 41] - P0.24 [pin 42] - P0.25 [pin 6] - P0.26 [pin 7] - P0.27 [pin 8] - P0.28 [pin 9] - P0.29 [pin 10] - P0.30 [pin 11] - P0.31 [pin 12] - SWCLK [pin 43] - SWDIO [pin 44] - VCC [pin 17] ### USER — [PTS815](https://www.flux.ai/vasy_skral/pts815~6b.md) - Part Type: Switch - Manufacturer Name: C&K - Datasheet URL: https://www.ckswitches.com/media/2728/pts815.pdf - Manufacturer Part Number: PTS815 SJM 250 SMTR LFS **Pins:** - ~1 [pin 1] - ~2 [pin 2] - ~3 [pin 3] - ~4 [pin 4] *The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/deucebot22/ble-door-and-window-sensor-reference-design~k2](https://www.flux.ai/deucebot22/ble-door-and-window-sensor-reference-design~k2).* --- *Generated from [https://www.flux.ai/deucebot22/ble-door-and-window-sensor-reference-design~k2](https://www.flux.ai/deucebot22/ble-door-and-window-sensor-reference-design~k2)*