-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wiring other cc2530 to USB TTL #231
Comments
Hello, I've struggled with this board some time ago. Wait a minute and the standard coordinator firmware will start or use my version: |
Hi ptvoinfo, Yeah, I've been struggling for a few days, too. :D I flashed your coordinator version (CC2530ZNP-Pro-Secure_LinkKeyJoin.hex.hex) What about P20 to GND? Connect, yes or no? There is enough power, the Arduino Nano (reset shorted to gnd) hangs on a USB hub with power supply. Do you have any other ideas? |
It is correct wiring. Try to change rtscts to false in advanced settings
|
Unfortunately, "rtscts: false" does not work either. I have already tried another TTL USB converter, but that was not the issue.
Here are some pictures, I just soldered it together quickly and measured through. Btw. is the "Serial Monitor" output on arduino IDE normal? I think I'll give up for now. this cc2530 version seems to be jinxed. |
@mark078 Hmm, you used Arduino as USB ttl converter? Is you second cc2530 board works fine with this connections? Router FW no needs connected to UART, so it is works fine. |
@mark078 Also try set port speed |
Yes Arduino as USB TTL converter. My second cc2530 board is a different one. With these I don't have the problems:
I know. But if the router FW works, the board doesn't seem to be defective. That's what i meant.
Unfortunately, that didn't help either. :( |
My firmware uses: baudrate: 115200 If you are using Arduino as USB TTL converter I hope you use a 3.3V version of Arduino and your Arduino firmware does not use RTS/CTS handshaking. |
No, that's a 5 volt Arduino nano, VCC is at 3.3 volts. But I guess not the data lines. :D I flashed this one in the beginning by "Alternative firmware flashing methods". I connected the CC2530 to an FTDI USB to TTL Serial Converter yesterday, but it doesn't work either. Thanks for your help anyway! :) |
Hello, sorry for annoying but didn't find any other way to reach out to you. |
Yeah I would appreciate some kind of a tutorial on this as well. I own a CC2350: and a USB-to-Serial: And I have successfully flashed the coordinator FW ( https://github.com/Koenkk/Z-Stack-firmware/blob/master/coordinator/CC2530/bin/CC2530ZNP-Prod_20190223.zip ) but I am not able to get it working using a USB-to-Serial adapter: I am always getting after plugging it into an USB port. And I would expect to see something like /ttyAMA0 that reports itself as being some TI CC2530 device... (I did not try to use it along with zigbee2mqtt yet) PS: I've tried https://www.zigbee2mqtt.io/how_tos/how_to_connect_a_cc2530_coordinator_using_a_usb_to_serial_adapter.html but it doesn't work. |
I have same experience as Mark078. My unit is https://www.aliexpress.com/item/ZigBee-Wireless-Module-CC2530-CC2591-PA-Module/1831284083.html?spm=a2g0s.9042311.0.0.b9b74c4dxZ8wmN It seems the pinout mapping is not working for us to get serial communications. zigbee2mqtt:info 2019-4-7 16:26:59 Logging to directory: '/opt/zigbee2mqtt/data/log/2019-04-07.16-26-59' npm ERR! A complete log of this run can be found in: |
Okay, appears working now:
For the records:
whereby
|
Thanks for this description - it works for me, but I have a question about signal quality - lqi.
firmwares: After running each configuration in Home Assistant I observed my sensor's lqi levels.
My question is, why in router mode the same hardware (CC2530+CC2591) works 10 times better then in coordinator mode? Or maybe there is no difference and it is some bug in firmware showing wrong lqis? Is there any home made way to check/measure real signal level? It'll be nice to have powerful coordinator :) |
Hi and first thanks very much for this great project! :)
Any of you guys successfully run a CC2530 like this?
https://de.aliexpress.com/item/ZigBee-Wireless-Module-CC2530-Module-Internet-Of-Things-Core-Board/32503616246.html
Firmware flash are fine, with the Cordinator FW for CC2530. Only the connection to USB TTL does not work.
Neither with P20 on GND or without it. I tried to swap RX/TX without success.
Does this CC2530 require a different connection?
I flashed the router firmware (without P20 to GND) and this worked. But I would like to use it serially...
Another CC2530 works with my usb ttl converter.
https://de.aliexpress.com/item/CC2530-Zigbee-UART-Wireless-Core-Board-Development-Board-CC2530F256-Serial-Port-Wireless-Module-24MHz/32767470382.html
Connection:
Thanks!
The text was updated successfully, but these errors were encountered: