Files
ZigUP/README.md

53 lines
2.7 KiB
Markdown
Raw Normal View History

2019-05-03 14:19:42 +02:00
# ZigUP
2019-04-30 09:30:33 +02:00
CC2530 based multi-purpose ZigBee Relais, Switch, Sensor and Router
2019-04-30 09:46:06 +02:00
![Image of ZigUP board](Pictures/top2.jpg)
2019-05-03 14:19:42 +02:00
# Features
* Small enough to fit under a normal lightswitch in an european flush-mounted box ("Unterputzdose" - That´s the UP in ZigUP)
* integrated ZigBee Router (extends the range of all your other devices)
* Powerful bistable relais for up to 10 amps load
* 2 Inputs for switches/buttons:
* Input "KEY" directly toggles the relais and outputs a ZigBee message
* Input "DIG" only outputs a ZigBee message - So your coordinator can decide if the relais has to be toggled or not.
* Input for digital temperature and humidity sensors (DHT22/AM2302/DS18B20) (Measurements will be reported via ZigBee)
* Input for S0-Bus impulses from power-, water- or gas-meters. Count-Value will be reported via ZigBee)
* Output for one normal LED or up to 10 WS2812B/Neopixel RGB-LEDs (controllable via ZigBee)
* Analog input to measure voltages of up to 32 Volt. (Voltage will be reported via ZigBee)
2019-05-04 23:30:46 +02:00
* Fully equipped debug-port to allow CC Debugger flashing and packet sniffing
2019-05-03 14:19:42 +02:00
# Connection diagrams
![Power and Light connections](Pictures/connection_Light.png)
![Switch connections](Pictures/connection_Switch.png)
![S0 connections](Pictures/connection_S0.png)
![DHT22 connections](Pictures/connection_DHT22.png)
![DS18B20 connections](Pictures/connection_DS18B20.png)
![ADC connections](Pictures/connection_ADC.png)
![LED connections](Pictures/connection_LED.png)
![WS2812B connections](Pictures/connection_WS2812B.png)
# Compilation
1. Get **Z-Stack Home 1.2.2a.44539** from http://www.ti.com/tool/Z-STACK-ARCHIVE
2. Get **IAR Embedded Workbench for 8051** from https://www.iar.com/iar-embedded-workbench (you can use the free trial version for one month)
2019-05-04 01:39:40 +02:00
3. Clone ZigUP source to **\Projects\zstack\HomeAutomation\ZigUP\\**
4. Start **\ZigUP\CC2530DB\ZigUP.eww** to load project in IAR
5. Edit **\Projects\zstack\Tools\CC2530DB\f8wConfig.cfg** to use all 2.4 GHz channels:
2019-05-04 01:39:40 +02:00
>-DDEFAULT_CHANLIST=0x07FFF800
6. Compile
2019-05-03 14:19:42 +02:00
# Flashing with CC Debugger
1. Get **SmartRF Flash Programmer v1.12.8 (not v2.x!)** from https://www.ti.com/tool/flash-programmer
2019-05-04 23:30:46 +02:00
2. Connect CC Debugger to the Debug-Port of ZigUP with an 1:1 cable.
3. Select "Program CCxxxx..." and "System-on-Chip" tab
4. Load HEX-File and perform "Erase, program and verify" action
# Packet Sniffing using CC Debugger
2019-05-05 20:04:28 +02:00
1. Get **PACKET-SNIFFER v2.18.1 (not SNIFFER-2 v1.x!)** from https://www.ti.com/tool/PACKET-SNIFFER
2019-05-04 23:30:46 +02:00
2. Connect CC Debugger to the Debug-Port of ZigUP with an 1:1 cable.
3. Select protocol "IEEE 802.15.4/ZigBee" and click "Start"
4. Change radio channel and click "Start"
5. Re-flash ZigUP firmware when you are done. Because it was replaced by a sniffer-firmware.