diyruz / flower

DIY Zigbee flower sensor
https://modkam.ru/?p=1700
GNU General Public License v3.0
378 stars 80 forks source link

Notes to anyone having trouble flashing v3 #53

Open Drizzt321 opened 1 year ago

Drizzt321 commented 1 year ago

Getting it flashed is really annoying, I didn't realize that the board needed to be separately powered with the battery in, no documentation anywhere I've found about flashing this, had to piece it together myself from CC Debugger manual, and then fortunately found https://github.com/smartboxchannel/Plant-Watering-Sensor-Zigbee/issues/9 which mentioned needing the battery installed.

The 1.27mm through-hole is a real PITA, would have been AWESOME to have those with standard 2.54mm/0.1" space header like for the U3 serial header for a sensor. I ended up using a 1.27mm<->2.54mm conversion board, some P50-E2 pogo pins soldered through the 1.27mm on the conversion board held in place with some grips/helping hands, and then some mini grabber hooks to a breadboard, and then from the breadboard some test lead/jumpers to the CC Debugger. Finally got it to light up green that way.

Flashed using 2.1.0 release firmware, and so far loaded up into ZHA/Home-Assistant with a bit of a challenge with the button to get it the right amount of time. Now I just need to get a reasonably rain resistant ABS case designed for me to 3D print.