The premium version has the same features as the free version, plus:
- It allows you to define 16 GPIO inputs or outputs (for example, you may define 8 GPIO outputs and 8 external sensors, or 16 GPIO outputs for relays).
- It allows you to create battery-powered DIY devices with effective power management.
- PCF8583 counter, PCA9685 multi-channel PWM.
- 5 hardware built-in PWM apart from of 4 PWM in the free version.
- Hardware PWM with low frequencies.
- LED features: WS2812B strips or multi-channel color LED lamps.
- DS3221 Real-time clock.
- CRON scheduler.
I plan to add new features and sensor types to the premium version.
Do you have a DIY blog or DIY project that you want to share to the public? We can discuss a custom premium version for your project. Email me: ptvo {at} ptvo.info.
Note:
- The premium firmware is linked to a device. If you’ve purchased it for one device and requested firmware one time, you cannot move it later to another device. You can install all further updates on the same device.
- I cannot guarantee that the firmware will work in all configurations and schematics, but I’ll make all efforts to fix bugs and resolve issues. If you are not sure the firmware can work for you, please, test the free version first.
- To the maximum extent permitted by applicable law, the firmware, and documentation are provided “AS IS.” I disclaim all other warranties and conditions, either express or implied, including, but not limited to, implied warranties of merchantability, fitness for a particular purpose, conformance with description, title, and non-infringement of third-party rights.

shiba8324
Can I use the IEEE address that Z2M shows to licence a device?
Arduino with CCLoader works fine for me, getting a CC debugger just for the IEEE address seems a bit wasteful.
Thank you 😀
Owner
Yes, you can take the IEEE address from Z2M.
Marco
Hi, the free version can read 16 input?
Thank You
Marco
Owner
Hi Marco! No, the free version allows you to use 8 inputs and 8 outputs only.
DMS
Hi! Prompt IEEE can be taken from the column “IEEE Address” in “Zigbee2MQTT” (Home Assistant) ?
Claude
Hello,
if I understand correctly, the free version is not able to simultaneously operate 4 ADC inputs with 8 GPIO outputs ?
Regards
Owner
No, the free version also allows you to add 4 ADC on inputs, but you cannot use additional parameters (shift & scale).
Radoslav
Hello,
if I want to use CC2531 as router with ability to switch only 4 GPIO as outputs (P0.4-P0.7
and 4 GPIOS as input (P1.4-P1.7) , it is enabled in free version ?
Owner
You do not need the Premium version for this functionality.
Tinfoil Hat
Hi, is there any other way to pay than PayPro Global?
Their reviews are somewhat mixed when I checked, no other reason than being a bit of a “tinfoil hat” myself 🙂
Owner
Hi. PayProGlobal works well :). They accept PayPal if you prefer a safer transaction. Otherwise, you can buy me some coffee (the link on the right side), email me to ptvo _at_ ptvo _dot_ info. But it will take more time.
Tinfoil Hat
Ok, thank you for a fast reply!
hasspi
Is there a discord channel?
Owner
No, I do not have a discord channel.
Goridat
I am using firmware version 1.7.2.0 on an CC2530 in PSM mode. It is configured to poll for queued commands every 5 seconds, and I have disabled resetting of the device by a power on/off cycle. I am using zigbee2mqtt on home assistant as coordinator. Everything works as expected for a couple of days but eventually the device will stop reporting the sensor values and stops responding to commands. Power cycling it does not help but if I read the flash using the flash programmer and compare it to the original file it reports “Verify against file OK”. If I then read the flash into a file and program the chip with this exact file, remove the device from zigbe2mqtt and repair it, it works again for a couple of days until it fails again eventually. I do not know where to look next for possible problems. Do you have an idea?
Owner
Sorry, but I don’t have ideas. This problem may appear for many reasons. Could you please submit a new issue on GitHub and add more info (your firmware configuration, coordinator type).
Vladislav
How do I know the IEEE of the E72-2G4M20S1E module? Connected via J-Link V9 (J-Link itself was normally installed and after the launch of J-link Commander, the firmware of the programmer was updated), the UniFlash module does not see. How to firmware this module? Paid for 3 devices.
Owner
UniFlash or Flash Programmer v2 can successfully read IEEE from these modules. If you cannot read from the chip, try to erase or mass erase it first.
Vladislav
Flash Programmer v2 issues an error and closes.
“SBL: Unable to open COM7. Error: 1.
Connecting over serial bootloader failed: SBL: Unable to open COM7. Error: 1.”
Yesterday I made a free version of the firmware for checking the programmer, everything went through J-Flash…
Through the SN written on the module, can you find out IEEE?
Owner
You should flash a firmware or read IEEE using the jtag mode not SBL.
Vladislav
I understood this, but I did not find the necessary settings. Uniflash automatically searches – does not find, there is no J-link programmer in the settings. Flash Programmer v2 defines the j-link programmer, but I did not find how to enable JTAG mode. I already did on E18 MS1-PCB modules, but I would like to use E72. For CC2530 there is a good instruction, for CC2652 this would be…
Francesco
Hello,
Great job. I’d like to build an IR remote controller powered by battery to manage a Velux window: PTVO supports this features? Thank you
Owner
Hi! Sorry, but the firmware can’t generate IR signals.
Anatoly
I think I can answer my own question after reading your site. Your standard version firmware allows to read analog inputs which are native to CC2530 chip. Nice! Will get the hardware and try.
Gorid
I use the PSM function with a CC2530 to control a battery powered device. Is there a way to pulse a pin once on boot up of the device? I would need this to initialize an SR latch with which the CC2530 controls power to the main part of the project.
Owner
I can only offer a workaround. You can add a bistable relay (remember state: off, restore last state: off). This relay type has two signals: ON and OFF. You can use any virtual pin for the ON signal. The firmware will send a short OFF pulse when the firmware starts.
Gorid
Thank you!
Vladislav
Hi!
I need a device for separate control of 8 LED tapes based on CC2652P. The description says that only 5 can be used (in the premium version), but the configurator does not issue an error if I make 8 outputs with hardware PWM. Will this configuration work properly?
Owner
No, this configuration will not work. You can only use 5 PWM channels. I would recommend splitting this device to two independent devices or use an external PWM controller like PCA9685 (https://ptvo.info/zigbee-configurable-firmware-features/external-sensors/16-channel-zigbee-pwm-controller-pca9685/)
Vladislav
When using the PCA9685 and E72-2G4M20S1E module (CC2652P), can I connect and separately control the brightness of up to 15 white LED tapes inclusive? And when the tape is turned on, there will be a smooth increase in brightness?
Owner
No, you can only control 8 PWM outputs on PCA9685. Yes, the firmware support smooth transitions with this board too, as for the regular PWM output.
Vladislav
The link describing the settings for PCA9685 uses 7 PCA9685 PWM outputs, you write about 8. You can take a screenshot for an example with 8 PCA9685 PWM outputs enabled. And can I add 2 DS18B20 temperature sensors to this? Is the limit on the number of PWM outputs for a module on the CC2652P hardware or software?
Owner
The Premium version can have up to 16 outputs. 8 outputs can be allocated for external or internal sensors. You can have 8 PWM channels or 6 PWM channels and 2 DS18B20.
It is the software limit in my firmware.
RaNo
Could you add an option for the 16 channel version to work as a router?
Owner
Sorry, but there is no free memory for all features.
Theo
How do I get a premium firmware. I ordered and paid for a 6 license key via PayPro.
I got a download link for a premium version, but it is still the normal version.
Also got “a sort of” test license key from PayPro, but do not know where to put it..
can you help me out..
Regards, Theo
Owner
Thank you for your order! The program will ask you it when you save a firmware with premium features, for example, the PSM version.
Owner
I can confirm a bug in the firmware. It didn’t use the “k*65536” part in calculation. I’ll resolve this problem in the next version.
Mirek
Does the software support the BMP680 sensor? And is there any possibility for the device to support an LCD display?
Owner
The firmware does not support BMO680 and LCD displays.
RaNo
Hi. Will the premium version still work after you retire? 🙂
Is there a threat that your servers will stop validating IEEE addresses when generating our firmware? Can you commit yourself to make the premium version available free of charge if you ever decide to stop the validation service?
Owner
I hope I will live forever :). In theory, I can share the unlimited version in this case.
RaNo
Thanks! Long live! 🙂
Dan
Hi This project is nice. But very Pricey.
I am trying to build my own Lux sensor : Price E18 : 3 EUR / PCB / 3 EUR OTHERS COMPONENT 3 EUR / CASE + BATERY 3 EUR + YOUR FIRM COST 7 EUR -> 19EUR
on shelf LUX ZIGBEE Market cost 15 EUR….
Owner
Hi Dan.
Yes, of course! A DIY device always cost more than a mass market device. You can save 7 EUR and make your firmware using the free SDK.
RaNo
Mmm, let me try it actually 🙂 Which of the sample projects is a good start?
Owner
All SDK contain several examples. You can start with a general example.
Rolo
Hi, I have a temperature sensor running on a CC2530 module, bought the PSM licence for it. It works fine but I would like to know if the HTU21D sensor is in sleep mode between the reports.
Datasheet say’s it’s sleep current is 0,02 uA and when measuring it’s 450 uA, that makes a big difference in battery life.
Thanks.
Owner
The firmware reads a temperature only when it sends a report. So, most time, the sensor should sleep. You can additionally use the “External sensor power control” option (https://ptvo.info/zigbee-configurable-firmware-features/power-saving-mode/). It would be great to measure power consumption using a multimeter before switching to a battery power source. You can additionally use the “External sensor power control” option https://ptvo.info/zigbee-configurable-firmware-features/power-saving-mode/.
Ed
Am I reading the premium licensing correctly, that I need a separate license for each device I deploy the firmware to? Like If I’m making a custom zigbee sensor for my home, and I intend to flash/deploy 10 of these, I need to pay $3.95 for EACH device? Please tell me I’m reading that wrong. That pricing model is astronomically expensive.
Owner
Yes, you need 10 licenses for 10 devices. Could you please name your price for 10 devices?
Mike
Hello,
can I use your FW with servo motors? Or DC motors? or steppers?
Thank you.
Merry Xmas!
Owner
Merry Xmas!
It depends on your hardware. I know some users can control motors by a PWM output.
ngd
I am in Vietnam, can I buy it? .6 devices is like. I do not understand.Can you help me explain?
Owner
No problems if you have a bank card like Visa or Mastercard. Click the “Get premium” button and place your order online.
Dieter
Hello, I am very happy to see, that you have managed to build PSM. I reckon, also the pricing is fair to get started. My question: Can I build a device that sleeps, will be woken up by a radio based command, controls a gpio and falls back to sleep. In other simple words, a remotly controlled “relais”. Is this possible with 4uAmps standby? Thanks for your input
Owner
Hello,
Please, note it is not true sleep because the device should wake up, enable radio and check for commands.
You should enable the “Poll for queued commands” option on the “Expert” tab. Power consumption depends on the interval. Average consumption will be more than 4uA.
Dieter
Makes sense. Can the HW “queue”/receive commands while deep sleeping, or only when awake (I assume around 20mA)? In other words, would I miss a command, while deep sleeping?
Would you mind, putting up a screenhot of the “Expert” tab?
Owner
The device cannot receive anything in the sleep mode because the radio is off. You should not miss a command because a coordinator or router should hold these commands for some time (note, some routers do not support this mode).
Dieter
Understood. So how is e.g. the IKEA FYRTUR blind achieving this? It runs on 2 18560 Cells (~6Ah) almost 160 days with 2 motor cycles of ~15sec a day (maybe 4-5Ah). There is not much energy left for a 24×7 monitoring (say 0,5mA avg.). That would be a ratio of 1:100 with 4uA sleep. If I press the zigbee remote, it feels it reacts instantaniously. I guess less then 200ms delay. Reading your post, I would have to poll with this frequency (4-5times per second). Could I sleep so short inbetween to get an avg consumption of 0,5 mA?. Wat would be the timings for wake-up? Do you have data for this? Is there a different mode/profile in ZigBee to achieve this? Thanks heaps, Dieter
Owner
Please, look here:
https://ptvo.info/zigbee-configurable-firmware-features/power-saving-mode/cc2530-power-consumption-in-psm/
Maybe, you can get more info on how it works and calculate a battery lifetime in your case.
Dieter
Ok, thanks for your patience and input 🙂 It helps me lots to find the right direction. Really last question now: You state 30ua per 120s with “polling” every 5 sec. Would I be in the right ballpark, if I wake up for queue reading every 1 sec.–> 5 x as often. The consumption would be in the order of 5 x 30uA = 150uA for 120s or 75uA/sec.
Owner
Yes, if you poll every second, power consumption increases 5x times (5 x 30uA = 150uA).
luca
is it possible to connect a temperature sensor and a display?
Owner
Hi! The firmware does not support any displays.
JohnRob
Hi, Love your program(s).
I wish to purchase a single premium license to get started. However I am now in the “collecting parts” mode. If I purchase the license now but don’t use it for 2 months is there an issue?
I guess I don’t know the procedure for loading the firmware to a single board. Is it part of the firmware configuration program, a license entered somewhere or do I need to send you the ID of the target board?
Thanks
JohnRob
Owner
Hi.
1. The license will never expire.
2. The firmware configuration program will ask you about the license code when you save a firmware with premium featutes.
Scheusal
I want to create a battery powered remote, to have a universal remote for my home automation.
1.does the firmware support an input matrix, lets say 4×4 (16 Buttons) ?
(sure i can just use 16 separate inputs or link every button to a specific pin combination afterwards but thats not convenient).
2. what about the PSM in such a configuration? will it be able to wake up from sleep with a press of any button?
thanks
Owner
1. The firmware does not support a button matrix.
2. Yes, the firmware can wake up when you press a _single_ button.
Look at the following project: https://github.com/diyruz/freepad/
Giovanni C
Hello, can you clarify the premium fee ?
If I’ve 3 identical devices will I need to buy 3 times the firmware or just one time and install it in the 3 identical devices?
Owner
You need 3 licenses for 3 devices with any configuration, identical or not.
JohnRob
One more question regarding low power operation:
Do the configurations for the supported sensors utilize the sensor’s low power mode?
Most concern to me are:
1) BME280
2) BH1721
3) One wire DS18B20 ( I guess this would simply be the standby mode)
Thanks
John
Owner
You can control the power source of all sensors with P10 and P11 pins. So, they will wake up only when needed.
Shawn
Interested in PSM but have a couple questions. If we don’t have an external interrupt is there a way to have the device sleep for say 1 hour, take a reading, send data, and then sleep again? Also have a question about using GPIO for power. If I pull one of the 20ma GPIO to high to provide power to a sensor can this set the GPIO to low before sleeping to save power?
Owner
Yes, the chip can sleep and consume about 0.4 ua at that moment. The firmware has the “External sensor power control” feature with the necessary functionality. Also, as I know, you can connect sensor’s VCC to P10 or P11 without any pull-up resistors.
https://ptvo.info/zigbee-configurable-firmware-features/power-saving-mode/
Yusuf
I wrote earlier and mentioned the sleep low-power mode requirement. You have now added it and turned it into a commercial business model. Congratulations. I will contact you directly later for the high volume production regarding the price. But first, I want to quickly produce a prototype evk and test and measure it. I could not see the memory requirement for firmware, how much flash size is required minimum. I will design for CC2530Fxxx as per the requirement. Also, do you have any notes to warn before drawing? Especially for low-power design.
Owner
Hi. The firmware is compiled for CC2530F256. I’m sorry, but I’m not a hardware engineer. My suggestions are obvious. Use low-power external components and sensors.
JohnRob
John:
I’ve been waiting for the ability to make batter powered devices. I’m going to guess that there is some kind of serial number in the cc2530 which you can limit the use of a limit the use of that version of your firmware. Assuming this is how it will function, will I be able to massively change the function of this one unit under the original license. lets assume i’m dropping one senor for a newer sensor. And you now deed to add several voltage measurements.
This all has changed the function of the device but it is still using the original2530 board.
Am I on the right track here?
Owner
Hi,
Yes, each CC2530 board has a unique serial number (the IEEE address). You can install my premium firmware on a chip with that serial number an unlimited number of times with any configurations. Of course, you can install other firmware on that chip too. Later, you can return to my firmware and install it again.
Mariusz
Hi, is it possible to have 7 input pins ans 11 output? May I use pins P07, P10, P11, P21, P22?
Owner
Hi. Yes, it is possible in the Premium version. You may use these pins (P07, P10, P11) on CC2530 without an amplifier.
Mariusz
What about P21, P22? Do you know any problems with using those as input/output?
I’m having trouble with software/hardware that I don’t know the reason for. Using the MS1PA1 module (and not using P10, P11) CC2530 keeps restarting after a few seconds – but when I use any of the inputs (which causes the output toggle) the problem disappears. It looks like it’s rebooting until the first input is received. After turning it off / on, the problem returns.
P.S. Any bigger discount on 20 licenses?
Owner
There are no problems with P21, P22. Please, try to disable Input 1.
Ken Petersen
Hi
I have developed a home automation device based on the Zwave Z-Uno module, that is very easy to program, also for a hardware engineer as me 😉
I found you firmware here for the Zigbee CC2530 circuit.
I want to mature my product for production, so it is not for DIY use.
I want to ask you some question, if you are interested in develop and supplying firmware for us, if we change to CC2530 series chips.
We are not able to make software for Zigbee communication, only for the application on top, we are not software engineers.
If interested, please reply to my email, and I will describe the project.
Owner
Hi, I’ve answered in an email.
Damian
I want to build battery powered impulse counter (for electric consuption based on blinking LED) – do I need premium version for it? What is difference in power menagment in free vs premium version?
Owner
The free version does not use power management and consumes about 8-28 mA. The premium version has the power-saving mode and consumes about 4 uA in the sleep mode. If your impulses are frequent, you don’t need the power-saving mode because the chip never sleeps.
Damian
OK, thanks for that information… So I see that my device will last on planned battery (CR2032) just one day if I calculate it right… Impulse frequency is 6400 impulses for 1kWh… Typically in my consumption about 1 impulse per second… I think I need to plan bigger battery 🙂
Owner
I think you can use a constant power source if you calculate electrical energy.
Damian
Unfortunately no… All in box is sealed, only impulse LED is visible, no possibility to connect to power source there… One more question – if I’ll use paid version with PSM and disable “wait for command” feature it should wake just when impulse received and sleeps immediately after? And it will wake each 60s to send report? If yes – it maybe can be acceptable with some bigger batteries than CR2032…
Filip
Maybe some (even one-time) discount for folks that donated you before? 🙂
While I do love Your firmware, highly appreciate Your hard work and time invested into this product, and I also recommend your firmware many times on my local community; 7€ price tag per device is little bit too high for me, personally. (I use only 1-2 inputs/outputs and that’s it, but I would want to try out the power saving feature.)
However, I’ve donated you to before and even suggested using Buy Me A Coffee 🙂
Maybe there’s a potential to provide demo mode (just to test out features and compatibility)? E.g. firmware that will work for only one week, or demo configurator with access to the premium features, but with limit of 1-2 features to be used at once.
Owner
Hi!
Yes, of course. I’ve sent you a key via email.
Filip
Thanks man! <3
Joseph
Can I use your project commercially?
Owner
You can use my firmware commercially. But keep in mind, I can only provide limited support, and the firmware provided “AS-IS.”
MICKAEL
Hi
How do you plan to manage the breakdowns?
This is DIY. During tests I destroyed 3 x IC E18-MS1-PCB.
I think you should plan in Premium an unlimited version in order to be able to replace the ICs destroyed during prototyping or handling error.
Owner
Sorry, but I cannot manage breakdowns. You’ll lose a license for that device. Unfortunately, I don’t see a way to control an unlimited license too. Could you offer your variant?
Sergei
200 Russian rubles is too expensive. It is easier then to buy the final device.
Owner
Yes, of course. Any DIY will be more expensive than a mass-device because you make your personal effort on it. I suppose, your time costs more. Or you may compile your firmware yourself. There are many examples on the web.
Mariusz
I think there is no comparable solution on the mass market. Besides, the prices are quite reasonable in my opinion. Note that the volume of potential sales is a limited but non-trivial amount of work done.
Owner
Thank you :). I’ve started this project as a hobby. I hope, it may help more people.