DIY Zigbee contact sensor based on CC2530, compatible with Zigbee2MQTT and Home Assistant.
Автор: carletz
Загружено: 2026-01-10
Просмотров: 62
#zigbee_contact_sensor #zigbee_door_sensor #zigbee_window_sensor #c2530zigbee #cc2530_diy #zigbee_diy_project #zigbee_battery_sensor #zigbee_end_device #ptvo #zigbee2mqtt #homeassistant_zigbee #low_power_zigbee #battery_powered_zigbee #cr2032_zigbee #reed_switch_zigbee #zigbee_sensor_diy #pcb #zigbee #diy #PCB #PCBA #jlcpcb #easyeda #OSHWLABStars #HardwareProject #ElectronicsEngineering #MakerCommunity #OpenSourceHardware #DIYElectronics #EngineeringDesign #CreativeEngineering #pcbdesigner #PCBMechanics #PCBMotor #PCBCoils #miniatureengineering #electronicsart #CreativeElectronics #PCBAssembly #oshwlab #arduino #arduinoproject #diyelectronics #3dprinting
GitHub page: https://github.com/carletz/Zigbee-End...
View the design here👉: https://oshwlab.com/carletz.slug/zigb...
🔌 DIY Zigbee Door & Window Contact Sensor (CC2530, Battery Powered)
In this video I show a DIY Zigbee contact sensor for doors and windows, based on the Texas Instruments CC2530 Zigbee SoC and powered by a CR2032 coin cell battery.
The device works as a Zigbee End Device, compatible with Zigbee2MQTT, Home Assistant, OpenHAB, and other Zigbee platforms, using the PTVO Zigbee firmware.
This project replicates a commercial Zigbee door/window sensor, focusing on low power consumption, compact PCB design, and full Zigbee 1.2 compatibility.
🧩 Main Features
DIY Zigbee contact sensor
TI CC2530F256 Zigbee SoC
Battery powered (CR2032)
Ultra-low power sleep (~3–4 µA)
Integrated reed switch
Status LED and reset button
Compact PCB (0603 components)
Compatible with Zigbee2MQTT and Home Assistant
Flashable with PTVO firmware
⚙️ Firmware & Zigbee Configuration
The board is fully compatible with the PTVO Zigbee Firmware Generator:
👉 https://ptvo.info
Configured as:
Zigbee End Device
Battery-powered
Reed contact mapped to GPIO input
🔋 Power Consumption
With proper hardware design and PTVO configuration, the device reaches a sleep current of only 3–4 µA, ensuring long battery life with a CR2032 cell.
🔧 Flashing the CC2530
The CC2530 can be programmed using:
CC Debugger or SmartRF04EB
TI SmartRF Flash Programmer
PTVO-generated .hex file
The video shows the full flashing process, wiring, and first Zigbee pairing.
🛠️ Design & Tools
Designed in EasyEDA
Open hardware (MIT License)
Inspired by DIY&Zi projects on OSHWHub / OSHWLab
📂 Project Files
🔗 Schematics, PCB and files available on OSHWLab
(Link in description)
💡 Why This Project?
This project is meant to learn how Zigbee battery devices work, starting from one of the most mature and well-documented Zigbee chips: the CC2530.
Not a commercial product — just DIY, learning, and experimentation.
📬 Author
carletz
January 2026
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: