Table des matières

Thermometre Zigbee

Thermometre Hygrometre Blitzwolf

Blitzwolf BW_IS4Specifications

Récepteur USB programmable Zigbee

Module CC2531 + 8dbi Antenna Upload ConnectorJTAG Header
cc-debugger-jtag-header.jpg

Quelques information sur le circuit TI CC2531 :

Block DiagramFeatures
* RF/Layout
    * 2.4-GHz IEEE 802.15.4 Compliant RF Transceiver
* USB
    * USB 2.0 Certified Full Speed Device (12 Mbps)L
* Low Power
    * Wide Supply-Voltage Range (2 V–3.6 V)
    * Power Mode 3 (External Interrupts): 0.4 µA
    * Active Mode TX at 1 dBm (CPU Idle): 29 mA
* Microcontroller
    * 8051 Microcontroller Core
    * 256-KB or 128-KB In-System-Programmable Flash
    * 8-KB RAM With Retention in All Power Modes
* Peripherals
    * Powerful Five-Channel DMA
    * IEEE 802.15.4 MAC Timer, General-Purpose Timers (One 16-Bit, Two 8-Bit)
    * IR Generation Circuitry
    * 32-kHz Sleep Timer With Capture
    * CSMA/CA Hardware Support
    * Accurate Digital RSSI/LQI Support
    * Battery Monitor and Temperature Sensor
    * 12-Bit ADC With Eight Channels and Configurable Resolution
    * AES Security Coprocessor
    * Two USARTs With Support for Several Serial Protocols
    * 21 General-Purpose I/O Pins \\ (19 × 4 mA, 2 × 20 mA)
    * Watchdog Timer

Sources & Datasheet : https://www.ti.com/product/CC2531

Zigbee to Mqtt

Flashing CC2531 with Raspberry : https://www.zigbee2mqtt.io/information/alternative_flashing_methods.html

Zigbee2mqtt :https://www.zigbee2mqtt.io/information/docker.html

docker run -it -v $(pwd)/data:/app/data --device=/dev/ttyACM0 -e TZ=Europe/Amsterdam -v /run/udev:/run/udev:ro -privileged=true koenkk/zigbee2mqtt

Mosquitto : https://hub.docker.com/_/eclipse-mosquitto

docker run -it -p 1883:1883 -p 9001:9001 eclipse-mosquitto

Sources

Wireshark with original TI firmware : https://github.com/andrebdo/wireshark-cc2531
Zstack MT API to serial https://github.com/zigpy/zigpy/issues/85
Zpi.py : https://github.com/whatcall/zpi.py