It is the next generation of Zigbee chips from Texas Instruments. The main advantage of these chips over CC2530 or CC2531 is the better radio part. It provides better signal strength with lower power consumption. You’ll have great LQI characteristics with these routers. CC2652P or CC1352P2 have a built-in radio amplifier. They beat everything in the world 😊 🔥.
Zigbee Configurable Firmware v2.5
The firmware allows creating a device with easily configurable functionality, including inputs, outputs, ADC, pulse counter/generator, I2C, external sensors.
I’ve placed all features on a separate page. It is too long.
- The status LED indicator works now.
- The firmware supports up to 8 GPIO inputs or outputs.
Zigbee Switch Configurable Firmware (+Router)
This firmware allows you to create a Zigbee switch device with a flexible configuration of inputs and outputs. I’ve created a base firmware for CC2530, CC2530 + CC2590 , CC2530 + CC2591 and CC2530 + CC2592 chips. The attached configurator for Windows can write your device configuration to the selected base firmware. Then you can save the customized version to a separate HEX file and upload it to your device.
Inputs and outputs can work independently. So you may create a switch without a control button, or a simple button only.
The device with this firmware also works as a router.
Note: the firmware is designed for constantly powered devices.
CC2530 + CC2590/CC2591/CC2592/RFX2401 routers
Nowadays, some manufacturers offer boards with additional power amplifiers for the radio signal. These boards may cover a rather large area than the regular CC2530. The standard router firmware does not work with boards.
Therefore I’ve prepared particular versions of the router firmware.
How to select and flash CC2530
How to select a CC2530 board
eBay and Aliexpress offer several boards with the CC2530 chip (keyword: CC2530). You may select any board, but use the following criteria:
CC2531 based router (firmware)
I’ve replaced my old coordinator hardware with CC2530 with an external antenna and therefore one of CC2531 was not used.
The guys on GitHub asked me to make a router firmware for СС2531 too. I’ve spent some time and prepared 3 variants:
- CC2531-router.hex – just a router, without diagnostics and a USB serial port.
- CC2531-router-diag.hex – a router with diagnostic reports and without a USB serial port.
- CC2531-router-diag-usb.hex – a router with diagnostic reports and a USB serial port. The firmware dumps diagnostic reports to the serial port too.
CC2530 based Zigbee coordinator and router
My smart home infrastructure contains several Xiaomi humidity/temperature and door sensors. I’ve used these sensors with the corresponding Xiaomi gateway. The gateway was connected with my BananaPi M2U and Pimatic. But my home is long and tall. One gateway does not cover all rooms, and therefore far sensors disappear periodically.
I’ve googled and found I can use Xiaomi sockets (Zigbee edition) like Zigbee routers. This socket is less expensive than a new gateway, and it has a smaller size. I’ve purchased tow sockets and used them for about a month. This socket has a big problem (from my point of view). It can go into the deep sleep mode and cannot forward data packets from sensors.