Thank you so much, you saved a turkish survivor from waiting parcels for 30 days from China. If you are a lazy potato like me about soldering, I have a worked idea for you! First cut the male part of the socket wire directly. Now we have to push the wire directly to the related pins, the pins are so thin that they would make their own way to fit inside. But be careful while doing this, gently push and rotate left and right to help the pin.
@notenoughtech
Жыл бұрын
That's a good tip.
@mcanvar
Жыл бұрын
@@notenoughtech thanks 😊
@johnkenyon2939
3 жыл бұрын
Excellent instructions. Thank you! FYI instead of soldering wires directly on to the pins I just used pliers to crimp a couple of the push on connectors so they would fit on the narrow gauge pins.
@J33d33
2 жыл бұрын
Very clear instructions and pretty easy to follow!! Flashed my CC2531 in no time because of this video, Thank you!
@notenoughtech
2 жыл бұрын
3njoy ZigBee
@TheCelticbeast
5 жыл бұрын
Finally. I've had one of these for 4 months and just put it off til later. Thanks for the video.
@notenoughtech
5 жыл бұрын
You are not alone! Haha
@B16RDP
3 жыл бұрын
Great Video thank you. I used some clamping connectors so I did not have to solder. Your instructions were great and allowed me in under 20 mins to get the flash complete.
@notenoughtech
3 жыл бұрын
Glad it helped
@jerrywolsztyniak8834
4 жыл бұрын
I think you have answers to almost all of my home automation challenges. I've hit a limit on the CC2531 stick I got from ebay as it was loaded with standard firmware which you shouldnt use with more than 30 devices. I'm now up to 58 devices in my house and it kept crashing almost daily, locking up where I had to keep reconnecting it in the usb port. Loaded up Source_Routing firmware on it using your method and it worked perfectly. Thanks again for this video, I dreaded having to wait for a programmer at least 2 months as there are none locally available where I am.
@notenoughtech
4 жыл бұрын
I just got another coordinator so I'm sure I'll be posting soon.
@jerrywolsztyniak8834
4 жыл бұрын
@@notenoughtech So I've just learned the hard way that Xiaomi Aqara Opple switches dont like source routing and only prefer to be connected directly to the coordinator. I have to build a diy cc2530 router I think to fix my network size problems and revert back to default firmware on the cc2531. I'm up to 80+ devices now.
@notenoughtech
4 жыл бұрын
You are growing these very quickly. Or do they multiplying on their own now 😂🤣
@jerrywolsztyniak8834
4 жыл бұрын
@@notenoughtech HAHA!! I just started pairing 20 Zemismart dimmers and 4 Xiaomi Smoke detectors that arrived in the mail today. Also testing the Opple switches that I got earlier, while waiting for the big order of 16 to arrive. So far have paired just over 20 Sonoff ZBR3's, 8 Samsung temp and door sensors, a number of Ikea bulbs in lamps. All running off NodeRed, but using the Homeassistant nodes to control them. I found those nodes easier to configure for dimming on the Zemismarts with simple 5% loops that are stopped by the "released" payload from the Xiaomi switches.
@notenoughtech
4 жыл бұрын
Impressive! I like Xiaomi buttons too. You can also paint the logo to make them look different.
@MrJamesmix
4 жыл бұрын
Thanks from Portugal, I just spent 30 minutes flashing with your method, welding included.
@notenoughtech
4 жыл бұрын
Awesome enjoy. I have all IKEA devices mapped as well so I recommend you check it out
@julupanter
4 жыл бұрын
Open the messenger at the door, solder the chip, update wiring-pi to support rasperry pi 4, flashing with your great tutorial on the backgroun, and enjoy. About 25 minutes (10 goes into solving the rpi4 unsupported wiring pi). Thank you very much!
@OscarGarcia-eu9pg
4 жыл бұрын
Hi, how did you make it work for rasberry pi 4? I keep getting id=ffff..
@AntKardano
3 жыл бұрын
Have flashed my CC2531 using an Orange Pi with the help of your guide, thank you!
@petermeiner3574
5 жыл бұрын
damned, i allready buy the cc programmer and the cabel and the stick.... and now you show the shortcut. Good Job, Mat!
@notenoughtech
5 жыл бұрын
I was soo close of getting one too ! I thought the method deserved some attention!
@Quinten0508
Жыл бұрын
Thank you for the video/guide! Was able to flash the FW successfully and saved 50 bucks on a bulky ikea hub :)
@notenoughtech
Жыл бұрын
You made a better choice too!
@domenus
5 жыл бұрын
Awesome video man! I am excited to see your future videos. I got a few Aqara and Xiaomi wireless switches and Door Sensors working, but I could not set a initial status to them. For instance, the initial state for the Door Sensor is "closed", even if its open. Once you really close it and open again, it works and I got no way to get that to read the initial value. Also, the switches have "Unknown" for Battery, Click and Link values until you click the switch for the first time.
@notenoughtech
5 жыл бұрын
I might be wrong on this, but all but temp sensors are going into a sleep mode. So unless there is a trigger wake up (low battery, button press, contact triggered) the unit sleeps to conserve the battery. There is no way of reading the information in this state. I assume this information based on the IKEA remote which after a long time without using the button has to be pressed twice - once to wake up, once to toggle stuff. I will check the Aqara stuff soon - I'm actually going to write a piece about keeping the battery getting low battery notifications for all the devices.
@PauloAbreu
3 жыл бұрын
With patience and careful step by step procedure, this worked like a charm! Thank you!
@notenoughtech
3 жыл бұрын
Awesome enjoy! I have lots of tutorials how to create different behaviours in NodeRed
@fulgenciojara8962
4 жыл бұрын
I didn't solder the wires. I just bent the wires as him, I removed the plastic cap of the dupont wires and connected them carefully ;)
@notenoughtech
4 жыл бұрын
I need to try this next time :D
@frankzehelein
3 жыл бұрын
Awesome tip - thanks! Had to put a bit of tape over the metal caps to separate them cleanly from each other. But much easier than soldering.
@elroyonline
4 жыл бұрын
You say “any” raspberry pi - but it’s probably worth mentioning that it won’t actually work with anything earlier than a 3
@notenoughtech
4 жыл бұрын
After some people reported issues with flashing on Zero series you are probably right there.
@garyclarke7858
4 жыл бұрын
Itead now sells a preloaded Zigbee CC2531 USB Dongle
@notenoughtech
4 жыл бұрын
I know it's the 2.4v too! 🤗
@bart8863
4 жыл бұрын
@@notenoughtech if it is a preloaded zigbee cc2531 usb dongle, do you no longer have to do the flashing process you outlined in the video? Is it plug and play?
@starman617
3 жыл бұрын
(www.itead.cc/cc2531-usb-dongle.html) Is there a ready-to-run version somewhere? My hands aren't steady enough to do the soldering.
@praveenKumar-hl3yu
5 ай бұрын
Thank you for the video, simple and clear instructions. Have a questions, is it for C2531 F128 or F256 ?
@notenoughtech
5 ай бұрын
Considering the fact I was not aware of revisions... Should work for both? 😄
@zoltar99
3 жыл бұрын
Worked fine although it took me a couple of hours to complete, soldering was a bit tedious, but all done now. Thanks.
@notenoughtech
3 жыл бұрын
Haha just bent the pins. Also apparently Dupont cables work if you remove plastic sleeves
@zoltar99
3 жыл бұрын
@@notenoughtech I did bend the pins, yes. Just a bit difficult to solder so close to each other, but got there in the end. Cheers. Saved me from buying the kit.
@notenoughtech
3 жыл бұрын
Enjoy you will love mixing and matching various ecosystems
@RamblinggeekUk
3 жыл бұрын
Did this last night and it worked like a charm!
@notenoughtech
3 жыл бұрын
Awesome
@ahalvarsson
5 жыл бұрын
You just pushen me over the edge of buying a few of these. Thanks :)
@notenoughtech
5 жыл бұрын
In a household you probably need just one and then used couple of light bulbs to propagate the signal
@ahalvarsson
5 жыл бұрын
NotEnoughTECH cheap enough to just buy a few to mess around with.
@notenoughtech
5 жыл бұрын
Sure thing but you need a Raspberry or something to run it on. Most of the powered ZigBee devices (not batter powered) act as routers in a mesh network. But if you want to have more than one network... Could be right thing to do
@CC-ro7he
4 жыл бұрын
For the lazy you can pick them up pre-flashed from cc2531.com ;-)
@evolutionretro797
4 жыл бұрын
Where are they shipped from?
@CC-ro7he
4 жыл бұрын
@@evolutionretro797 UK, so 1-2 days if you're in the UK, 3-5 if you're in the EU and 5-7 business days if you're international / U.S. :-)
@iNimbleSloth
3 жыл бұрын
Wow - thanks for this. Super helpful, flashed first time without any issues.
@notenoughtech
3 жыл бұрын
There are no nimble sloths.... And you are welcome 🤭
@heimdallmidgard4670
4 жыл бұрын
Worked! Thank you very much. Your contant is always awesome!
@notenoughtech
4 жыл бұрын
awesome - enjoy your Zigbee fun - I have lots of zigbee tutorials!
@Kosh42EFG
3 жыл бұрын
This is the video I've been hunting for!
@Kosh42EFG
3 жыл бұрын
Woo-hoo! Pre-flashed my backside. One step through this, and after a little network whoopsie (I used the Pi that used to be my HASSIO server, of which I cloned the mac address in a virtual machine) it works like a charm. Many thanks again.
@notenoughtech
3 жыл бұрын
I'm happy for you. Enjoy the ZigBee and pick yourself nice sensors as a reward :) (Bonus points for usig my links haha)
@mr.architect3464
4 жыл бұрын
Note: Upload new firmware using ./cc_write /path/to/CC2531ZNP-Prod.hex this will take about 3 min on RB4 but in zero it will took 30 minutes! P. S. If you start with sudo ./cc_write then it will do it faster. Without sudo it's not working at my home...
@notenoughtech
4 жыл бұрын
Thanks for that. Zero is significantly slower. I think the instructions also mention similar times for Arduino method
@mr.architect3464
4 жыл бұрын
@@notenoughtech sudo before commands was needed in my case. Without sudo, everything was slow and not working but with sudo before commands I did it just like you did. So zero is fast but sudo is needed.
@notenoughtech
4 жыл бұрын
the issue was with file permissions then. I had the file access issues with my NAS drive. Not having correct permissions set would affect my download speeds.
@souk-tv
2 жыл бұрын
Why didn't they make this device with a hardware switch so you can click the switch plug it up to a pc via USB, flash it and then when it's flashed flick the switch back and use it in its normal mode.
@jiggyza
4 жыл бұрын
Applauses to you Sr. Very useful. Many thanks.
@notenoughtech
4 жыл бұрын
You are welcome
@bbugarschi
3 жыл бұрын
I'm kinda new to this whole zigbee thing :P I was wondering of the dongle and zigbee2mqtt works with tuya smart battery powered temperature/humidity sensors (they are zigbee, but they are not listed as supported)? I know you have a vidoe showing how to add new devices, but i'm curios if there could be any problems with the tuya things...
@notenoughtech
3 жыл бұрын
I already covered this here notenoughtech.com/home-automation/adding-new-devices-to-zigbee2mqtt/ You should be able to use tuya devices just fine
@bbugarschi
3 жыл бұрын
@@notenoughtech awesome thx :)
@ygreq
4 жыл бұрын
You forgot to mention what the Raspberry Pi is running. My guess is that it is a normal verison of Raspian. Correct?
@notenoughtech
4 жыл бұрын
Yes
@jasb25
2 жыл бұрын
I'm stucked haha. When I run the ./cc_chipid or any other command I get: No such file or directory. The file exists on the directory but I can´t get it to run. HELP :/
@notenoughtech
2 жыл бұрын
Permission? Try with sudo?
@R4YTUBE
Жыл бұрын
Hi, this project depends on wiringPi but that is no longer available. It cannot be installed anymore. Error "zsh: no such file or directory: ./cc_chipid" BTW I am on Kali linux . I just found this: WiringPi is PRE-INSTALLED with standard Raspbian systems. Please DO NOT try to follow any installation instructions you may be given anywhere else
@notenoughtech
Жыл бұрын
Yes I think in bullseye wiringpi is now added as default. your error indicates you are running the command from incorrect directory. make sure your file is in the current directory with "ls"
@AndreasZinnikus
5 жыл бұрын
perfect... Works totally well and was simple. Thank you very much.
@notenoughtech
5 жыл бұрын
Have fun with ZigBee
@ygreq
4 жыл бұрын
This tutorial is definitely not for beginners. It's great that you are doing this, but damn, it is missing a whole lot of info. For example how to move the hex file into raspberry. Definitely not for newbies :/
@ygreq
4 жыл бұрын
not knowing folder structure in linux I have no clue where the flash_cc2531 folder is :(
@notenoughtech
4 жыл бұрын
You can either upload it using FTP or simply put it the SD card and move to correct location
@ygreq
4 жыл бұрын
@@notenoughtech I finally found it! Thank you!!
@EricLee-bl5dc
4 жыл бұрын
@NotEnoughTECH I have this problem, I have already installed the HASSIO, when I go to the terminal through SSH Web Terminal, I can only see the" -->~ " prompt. I know it is not right, because your terminal shows a "$" prompt. I cannot execute any gpio -V or any command like "sudo get-apt...".. Please advice how to get to "$" prompt after I have installed the HASSIO. Please give some guidance as we are all beginners in Home-assistant.
@notenoughtech
4 жыл бұрын
Are you logged in as a root user? Seems like you have no permissions to do whats's needed
@EricLee-bl5dc
4 жыл бұрын
@@notenoughtech Hi, I setup HA as what is instructed on the web as i am quite new to it. i setup duckdns, ssh web terminal and i try to use the terminal...may i know how to log in as root user or root permission? i am the rightful owner of the HA & Pi?
@notenoughtech
4 жыл бұрын
frankly speaking I never played with HA - but you can check if you are root user : unix.stackexchange.com/questions/305509/how-do-i-check-if-i-have-root-access like this.
@Pixelcrafter_exe
4 жыл бұрын
very good video. you saved me about 10 $. Thx. I think ther's a mistake at 2:17 at gnd and gdn(?) means this ground?
@notenoughtech
4 жыл бұрын
You have better eyesight than me! Clearly that $10 you saved I will spend on optician :)
@camelleon2607
5 жыл бұрын
love it love it LOVE IT!!!!
@OscarGarcia-eu9pg
4 жыл бұрын
Hi Matt, I appreciated your video!! are there any extra steps if i'm using a raspberry pi 4? Thanks!
@notenoughtech
4 жыл бұрын
You should be fine with rpi4. Check the chip on PCB. Some of them seem to be shodddy. Do you have v2.4 or v1.0
@OscarGarcia-eu9pg
4 жыл бұрын
@@notenoughtech i believe is version 1.0.. But how can I make sure of that? Is there any difference in the flashing process depending of the version?
@notenoughtech
4 жыл бұрын
I hardly had complains from anyone on v2.4 - check this one out: github.com/jmichault/flash_cc2531/issues/10#issuecomment-544139748
@woodenmonster
Жыл бұрын
genius !!, thank you
@onkelt2624
2 жыл бұрын
Thank you.
@notenoughtech
2 жыл бұрын
Welcome!
@soovui
5 жыл бұрын
Hi Mat, I am so happy seeing yr tutorial and excited buying a few cc2531. Sadly i try to flash with raspberry pi 3b+ by following yr given tutorial but all failed with ID=ffff even I checked the wiring several times. I even changed another new raspberry pi 3b+ and another new cc2531. GPIO -v ok. Any idea what is happening? 😭
@notenoughtech
5 жыл бұрын
ffff means that device is not detected. It's either driver not correctly installed or you made a mistake with wiring. Double check the pins. These are so close together it's easy to make an accidental short.
@soovui
5 жыл бұрын
@@notenoughtech @NotEnoughTECH Hello Mat, sorry for the disturb, know that u r busy. Do u mean we need to install driver 1st? What do u mean by "driver not correctly install means" ? I need to install some driver onto raspberry pi, before trying to flash cc2531? Or do I miss anything in Raspberry pi raspi-config, need to be enabled? I am pretty sure wiring no short circuited because I even tested with multimeter to ensure no short circuited and wiring continuity too. Double triple check pin to follow exactly the pin configuration table given. But I did tried to unplug the pin 38 or DD, it shows ID=0000 and once plug it back it shows ID=ffff again. Try to type GPIO readall and it shows pin 35 36 38 = 1 respectively. Tq tq tq for yr help and very much appreciated.
@garyclarke7858
5 жыл бұрын
@@soovui I have the same issue, I have re checked all connections but I still get ffff. did you get this fixed ?
@garyclarke7858
5 жыл бұрын
My mistake, its now working.
@goranpersson3669
5 жыл бұрын
I've got the same problem. I found this issue from the github page: github.com/jmichault/flash_cc2531/issues/9. Sadly no straight solution for this. Have you guys found out how to get around this problem?
@jj123456789000
3 жыл бұрын
Thank! Work perfectly!
@notenoughtech
3 жыл бұрын
Great!
@woodrowhowe5536
4 жыл бұрын
Can I flash the non-usb CC2530 board as well like this?
@woodrowhowe5536
4 жыл бұрын
Ha it does, see comment from Juan Perez below.
@notenoughtech
4 жыл бұрын
yes you can - just map the pins correctly
@vestercasper
3 жыл бұрын
If I do this , will I then be able to add it directly as a "Zigbee home automation" device ?
@vestercasper
3 жыл бұрын
(In Home assistant of course)
@notenoughtech
3 жыл бұрын
@@vestercasper I'm not 100% how it looks in HA end but it's ZigBee2MQTT based so you will be able to interact with it via MQTT
@vestercasper
3 жыл бұрын
@@notenoughtech Thanks for the quick answer - I really hoped that the firmware would turn it into a ZHA device.. But I guess I have to buy another CC2531 with the sonoff firmware if I want a ZHA device . After that I probably have to move the antenna from my current CC2531 to the sonoff CC2531 (it does not come with an antenna)
@notenoughtech
3 жыл бұрын
You can flash any firmware on it. I know people are using it with HA I just don't know the details of how as I use nodered only
@vestercasper
3 жыл бұрын
I can confirm its working perfectly as a ZHA device in HA 🙏👍
@lychanis
3 жыл бұрын
Hi, nice video! I'm a total noob in the matter and I don't have soldering tools. I was wondering is it possible to use female to female wires instead of soldering thing? (I would have tested myself but I don't have CC2531 or wire ahah)
@notenoughtech
3 жыл бұрын
I have been told that if you remove the plastic shroud these can fit nicely. Inspect the cable though to make sure these won't cause shorts
@martinshultz
3 жыл бұрын
@@notenoughtech I did this just an hour ago and it worked great. I bent the pins extra far apart and didn't stick the wires on all the way, in order to prevent them making contact with other pins, as you say. But as long as the wires were making contact with the right pins, it worked fine! No soldering required.
@notenoughtech
3 жыл бұрын
Enjoy freedom
@danielson1984born
3 жыл бұрын
@@notenoughtech I'm in the process of flashing but got ID successfully. I stripped plastic and use electrical isolating tape to isolate wires. My wires sit a little loose on pins, but it works.
@ghicione
5 жыл бұрын
Excellent video, I like it. Thank you.
@notenoughtech
5 жыл бұрын
My pleasure
@IlkkaLavas
4 жыл бұрын
Thanks! Great video!
@LuisReyes-zg7mq
5 жыл бұрын
Nice vid bud! How can I flash the CC2530 using RaspberryPi?
@notenoughtech
5 жыл бұрын
(I believe - do not quote me on this - it should be pretty much the same way if there are flash libraries for CC2530
@SchwarzwaldEnergiejunkie
3 жыл бұрын
Thanks! You helped me a lot!
@notenoughtech
3 жыл бұрын
No problem!
@rklauco
4 жыл бұрын
Thanks a lot for this. Soldering the wires now ;)
@notenoughtech
4 жыл бұрын
Hope you have V2.4
@rklauco
4 жыл бұрын
@@notenoughtech How would I find out?
@notenoughtech
4 жыл бұрын
on the PCB near the USB part
@MagivaIT
5 жыл бұрын
great video... really good.... except.. can you cover how you transfer the file with notepad++
@notenoughtech
5 жыл бұрын
I'm using an FTP extension as you can use SFTP do connect to your RPI via SSH and upload files
@knifekitty_ls
4 жыл бұрын
couldnt you just use female-female dupont jumper wires without soldering them to that header? it looks like standard 10pin header to me
@notenoughtech
4 жыл бұрын
The header on cc is way too small for that these pins are very close to each other
2 жыл бұрын
this is not working wiringpi is not available, but is referred to by another package.
@notenoughtech
2 жыл бұрын
Have you tried installing it from a different source?
2 жыл бұрын
@@notenoughtech nope.. linked, is installed. and flashed. but I don't see myself in the zigbee2mqtt device.. it is not shown or connected..im flash as router/extender..
@fabiodordetto
4 жыл бұрын
How can I know If my usb sticker was flash or not?
@notenoughtech
4 жыл бұрын
Unless your seller advertised it as flashed it's probably not
@fabiodordetto
4 жыл бұрын
@@notenoughtech :(
@Printlapse_
5 жыл бұрын
Hello, is it possible to flash with you method if I already have hassio installed in raspberry pi? Or I need to delete hassio first of all to be able to proceed with your steps?
@notenoughtech
5 жыл бұрын
As long as you have the root access via SSH you can
@Printlapse_
5 жыл бұрын
@@notenoughtech what do you mean by that? Sorry I am new with all this stuff
@notenoughtech
5 жыл бұрын
If you are the one that installed it then yes
@Printlapse_
5 жыл бұрын
@@notenoughtech yes I installed hassio on raspberry pi. How to access that console log then? :D
@notenoughtech
5 жыл бұрын
not the console log but just SSH session - and then follow the instructions as per tutorial.
@maryanhulchevskyi1154
3 жыл бұрын
Great video! Thank You. But I've got a problem connecting cc2531 GND (pin 1) to Raspberry Pi 4b GND (pin 39). It causes power off of the stick despite other pins are connected or not. When I tried to connect GND to other GND pins (6, 9, 14 etc) on the Raspberry I got id="0000". How do you think what is the problem?
@notenoughtech
3 жыл бұрын
If it causes the power off a short would be the most obvious cause. Do you have the pin mapped to anything else via other scripts?
@maryanhulchevskyi1154
3 жыл бұрын
@@notenoughtech No. Only zigbee stick cc2531
@notenoughtech
3 жыл бұрын
I have no idea? I assume the stick wasn't pre flashed? Perhaps faulty? Itead sells them flashed with coordinator
@maryanhulchevskyi1154
3 жыл бұрын
@@notenoughtech Right. The stick wasn't pre flashed. Actually it's not ITEAD manufactured stick.
@notenoughtech
3 жыл бұрын
They don't make these but they flash it and verify it and sell for $4 so worth having the piece of mind ;)
@LTGnetwork
4 жыл бұрын
how come wen i try doto the ./cc_chipid it says no such directory or file, whilest wen i do ls i can clearly see them ?
@notenoughtech
4 жыл бұрын
Are you in that directory?
@LTGnetwork
4 жыл бұрын
@@notenoughtech yes, since i can use tab completion even
@notenoughtech
4 жыл бұрын
@@LTGnetwork the other cause of this could be permissions. Check the file and folder permission. Try setting it all to 775 for testing
@LTGnetwork
4 жыл бұрын
@@notenoughtech nope still not chanced all premisions to 775 en the whole folder and tryed it as root
@LTGnetwork
4 жыл бұрын
@@notenoughtech could this because of a pi 4 ?
@jeroenhofman447
5 жыл бұрын
Nice video. Is it possible with a rpi2 because this one have only 26 gpio pins. and de pins 38 etc are missing.
@notenoughtech
5 жыл бұрын
Yes as long as you use the correct pins.
@jeroenhofman447
5 жыл бұрын
thx i will give it a try and finding the correct pins
@maersk1969
3 жыл бұрын
@@jeroenhofman447 did you found out the pins?
@jeroenhofman447
3 жыл бұрын
@@maersk1969 no not on the pi2 i have used an new sd card on rpi3 and the it works
@maersk1969
3 жыл бұрын
@@jeroenhofman447 my problem is that I only have a pi 1 with 26 pins and I do not know what kind of pins I need to flash the cc2531.
@alex.cristescu
4 жыл бұрын
For anyone having issues and getting ID different than b524 and being unable to write, use '-m 90' (or increase the number if still not working) after every cc_ command. This functionality was added recently and it fixed my issues. @NotEnoughTech maybe pin this for all to see? More info here: github.com/jmichault/flash_cc2531/issues/9#issuecomment-557893592
@notenoughtech
4 жыл бұрын
Thanks for the tip
@ginodepalm4898
4 жыл бұрын
Thanks very very nice.
@raymondbruns3291
5 жыл бұрын
Nice video, I think I'm gona order me one.👍
@notenoughtech
5 жыл бұрын
Worth it if you want to mix and match ZigBee gadgets from different brands
@sagatxxx1
4 жыл бұрын
It doesn't work for me with a today fresh raspbian installation. The video does not work for you either, when you run "cc_chipid" it comes out ID: 0000, same with erase....., which means that it is not working. the same happens to me
@notenoughtech
4 жыл бұрын
What board are you trying it on? Also is it v1.0 on PCB?
@sagatxxx1
4 жыл бұрын
@@notenoughtech yes, mine is 1.0
@notenoughtech
4 жыл бұрын
Are you on RPI Zero? I get a lot of comments about issues with x1.0 my stick was 2.4
@sagatxxx1
4 жыл бұрын
@@notenoughtech no,i have a raspberry pi 3
@notenoughtech
4 жыл бұрын
@@sagatxxx1 see if any of these would be helpful: github.com/jmichault/flash_cc2531/issues/10#issuecomment-544139748
@DanielBrzanov
5 жыл бұрын
Do you still need the jumper cables after the flashing?
@notenoughtech
5 жыл бұрын
No, this is one time process. Once flashed, updates are done over USB and you can get rid of the cables
@DanielBrzanov
5 жыл бұрын
@@notenoughtech Hey, the link to the firmware on your site is not valid any more. What should we download? :)
@notenoughtech
5 жыл бұрын
Nope
@notenoughtech
5 жыл бұрын
@@DanielBrzanov I have updated the link to the folder rather than a file: github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator
@ZillionPrey
4 жыл бұрын
Well that's new to me if you could update it via usb. Never found a post to do that without reflashing the device.
@fascineroso
4 жыл бұрын
Hi! Thanks for the video, really helpful! Unfortunately, I am stuck on error "ffff"... I have verified several times the cables (I have resoldered them twice), but still no luck. I see a green light from the onboard LED, so I assume that the device is not completely faulty... Is there anything I can do to debug this? Thanks!
@notenoughtech
4 жыл бұрын
What raspberry are you using ?
@fascineroso
4 жыл бұрын
@@notenoughtech Raspberry Pi 2
@notenoughtech
4 жыл бұрын
@@fascineroso also is the xx2531 v2,.4? See PCB... I had some readers reporting that it wouldnt work on zero while worked ok on RPI3... check this out too: github.com/jmichault/flash_cc2531/issues/10#issuecomment-544139748
@fascineroso
4 жыл бұрын
@@notenoughtech I can see CC25XX USB Dongle Rev 1.0
@fascineroso
4 жыл бұрын
@@notenoughtech You think I need another SW to flash this? I bought the following device: uk-m.banggood.com/Wireless-Zigbee-CC2531-Sniffer-Bare-Board-Packet-Protocol-Analyzer-Module-USB-Interface-Dongle-p-1227206.html?&cart_warehouse=CN
@PershaIranii
Жыл бұрын
It doesn't work anymore, because it needs wiringpi, which is deprecated..
@notenoughtech
Жыл бұрын
Wiring pi library should be included now if not you can install via npm
@visitor5914
4 жыл бұрын
Hallo sir, I have a question, I try this method, when I try to get chipid the return value is ID = 8d22, if I try cc_erase: erase result is 00a2, and I failed to run the command of ./cc_write /path/to/CC2531ZNP-Prod.hex also file, so I end up run ./cc_write CC2531ZNP-Prod.hex. Then I try to continue the step by starting the zigbe2mqtt, but the process failed at npm start : Error while starting zigbee-herdsman. Is it because the flashing cc2531 is not yet sucessfull? I already multiple times check on the wiring, and I never get the same chip id as your description, could you help please? thanks in advance
@notenoughtech
4 жыл бұрын
Can you check the board version? It's printed on the PCB
@visitor5914
4 жыл бұрын
@@notenoughtech the board is CC2531 usb dongle Rev 2.4 sir... Thx for replying
@notenoughtech
4 жыл бұрын
@@visitor5914 The same as mine. Are you using correct firmware? You should take a look at the table linked in the article to pick the correct version
@visitor5914
4 жыл бұрын
@@notenoughtech Sir can I ask a silly question? Is the chip on your dongle written "CC2531" as the printed text on the dongle board? I just realize after staring on my dongle, the chip is "CC2540 F256" while the printed text on dongle board is cc2531...... "----____________----- it seems like that was the cause why the chip id is different.... And the result after looking for solution, this QA (github.com/Koenkk/zigbee2mqtt/issues/220) say: "The CC2540 is a cost-effective, low-power, true system-on-chip (SoC) for Bluetooth low energy applications" Need to buy the right module....for other people please double check, cause the online shop only write cc2531 doesn't mean its chip is cc2531.......so sad....... :"((((((((
@OskariUusitalo
4 жыл бұрын
Does not work, WiringPi is off from internet and with version witch comes with raspbian wont flash correctly, does errors when flashing
@notenoughtech
4 жыл бұрын
Were you on "lite" or standard raspbian?
@OskariUusitalo
4 жыл бұрын
Lite
@OskariUusitalo
4 жыл бұрын
Verifying gives always errors, sometimes only one bit and other times 20 bits
@OskariUusitalo
4 жыл бұрын
Downloaded older version and it worked great wiringpi.com/wiringpi-updated-for-the-pi-v3plus/
@notenoughtech
4 жыл бұрын
@@OskariUusitalo Do you have the same result on the Full raspbian?
@cocotug0
2 жыл бұрын
lol, i used exactly the same wire colors in the esxact same pins by coincidence
@notenoughtech
2 жыл бұрын
Great minds think alike
@tomaszkoscielski2438
4 жыл бұрын
Hello. I have problem with step 2: git clone github.com/jmichault/flash_cc2531.git ----> -bash: git: command not found. What am I doing wrong?
@notenoughtech
4 жыл бұрын
sudo apt-get install git - should help
@tomaszkoscielski2438
4 жыл бұрын
@@notenoughtech Thank you. It helps. I have another problem: where should I story .hex file (CC2531ZNP-Prod.hex)? On SD card? Or on my PC? Thank you in advance!
@notenoughtech
4 жыл бұрын
Needs to be in the same folder as flash directory you can use mv command to move it
@Dmitriitube
4 жыл бұрын
I tried everything((((( Raspberry Pi 2B pi@raspberrypi:~/flash_cc2531 $ ./cc_write CC2531ZNP-Prod.hex ID = b524. incorrect hex file ( : missing)
@notenoughtech
4 жыл бұрын
Did you move the file to the correct folder?
@Dmitriitube
4 жыл бұрын
@@notenoughtech yes, upload to "flash_cc2531"
@mr.architect3464
4 жыл бұрын
This is WIP video!
@notenoughtech
4 жыл бұрын
It works and it's a progress? 😉
@andrewrussell9368
4 жыл бұрын
I successfully did this yesterday, with help from this video. One hiccup: ./cc_chipid returned ffff. Needed to edit CCDebugger.c and re-make as described in github.com/jmichault/flash_cc2531/issues/9#issuecomment-557893592. Also, my chipid showed as b522 instead of expected b524, but this is also mentioned in the same thread. Thanks, Mat.
@notenoughtech
4 жыл бұрын
I had a friend struggling with it too... check the board version it should be printed on PCB
@gelisob
3 жыл бұрын
Thanks Andrew that helped, I also had to change my cc delay to 90 to get the reading go from ffff to b524. And comment out the delay calibrate. And of course thanks for NotenoughTech for making the video.
@stevelaminack1516
4 жыл бұрын
Not enough light:-)
@notenoughtech
4 жыл бұрын
My recent livestream shows I'm working on this. I may not have fingers left when I'm done but the light should improve :) my recent stuff is better lit
Пікірлер: 247