Plant-Watering-Sensor-Zigbee
https://github.com/diyruz/flower)
Plant Watering Sensor Project for Zigbee Network (based on the Source Code of the DIYRUZ Flower Project -Powered by SoC CC2530, the sensor is based on a capacitive measurement method. The sensor is powered by a CR 2450 battery (CR 2477).
https://paypal.me/efektalab or just buy to support this project
Donate to me:https://www.tindie.com/products/diyberk/plant-watering-sensor-efekta-zigbee2mqtt/
Sale:https://youtu.be/DzgeWvG4MEI
Video:https://t.me/zigdev
Telegram ZigDev -https://t.me/diy_devices
Telegram DiyDev -More info at http://efektalab.com/eON_PWS_Z
Components:
(Soldering time: 10-15 minutes.)
CC2530 E18-MS1-PCB - https://ali.ski/v8RP7i (10pcs)
CC2530 E18-MS1-PCB - https://ali.ski/o_TBGP
Tantalum Capacitor 220uF - https://ali.ski/VApfn
SMD LED 0805 - https://ali.ski/wb6ZP
1% SMD Resistor Kit Assorted Kit 1R-1M 0603 - https://ali.ski/npItF
SMD Chip Multilayer Ceramic Capacitor 0603 10pF 50V - https://ali.ski/p3yr60
SMD Chip Multilayer Ceramic Capacitor 0603 100nF 50V - https://ali.ski/p3yr60
1N4148WS - https://ali.ski/cOCdto
Cell Holder CR2450 - https://ali.ski/VdotsA
Micro Button Tact Switch SMD 4Pin 3X4X2.5 - https://ali.ski/sGwFu
IRLML6402TRPBF - https://ali.ski/_iNbX
Micro Screws M1.4 5mm - https://ali.ski/gaFdO
How to flash the device
-
Download the Smart RF Flash Programmer V1 https://www.ti.com/tool/FLASH-PROGRAMMER
-
Open the application select the HEX firmware file
-
Connect the device with wires to CCDebugger, first erase the chip, then flash it.
How to install IAR
https://github.com/ZigDevWiki/zigdevwiki.github.io/blob/main/docs/Begin/IAR_install.md
https://github.com/sigma7i/zigbee-wiki/wiki/zigbee-firmware-install (RU)
How to add support yourself in MJD
- https://github.com/smartboxchannel/Plant-Watering-Sensor-Zigbee/blob/main/majordomo-zigbee2mqtt/README.md (MJD https://mjdm.ru/)
How to join:
If device in FN(factory new) state:
- Press and hold button (1) for 2-3 seconds, until device start flashing led
- Wait, in case of successfull join, device will flash led 5 times
- If join failed, device will flash led 3 times
If device in a network:
- Hold button (1) for 10 seconds, this will reset device to FN(factory new) status
- Go to step 1 for FN device
Troubleshooting
If a device does not connect to your coordinator, please try the following:
- Power off all routers in your network.
- Move the device near to your coordinator (about 1 meter).
or if you cannot disable routers (for example, internal switches), you may try the following:
- Disconnect an external antenna from your coordinator.
- Move a device to your coordinator closely (1-3 centimeters).
- Power on, power on the device.
- Restart your coordinator (for example, restart Zigbee2MQTT if you use it).
Other checks
Please, ensure the following:
- Your power source is OK (a battery has more than 3V). You can temporarily use an external power source for testings (for example, from a debugger).
- The RF part of your E18 board works. You can upload another firmware to it and try to pair it with your coordinator. Or you may use another coordinator and build a separate Zigbee network for testing.
- Your coordinator has free slots for direct connections.
- You permit joining on your coordinator.
- Your device did not join to other opened Zigbee network. When you press and hold the button, it should flash every 3-4 seconds. It means that the device in the joining state.