ZigUP icon indicating copy to clipboard operation
ZigUP copied to clipboard

PWM Support ?

Open michaelslobodskih opened this issue 5 years ago • 4 comments

Is it possible to add 2 x channel PWM support to firmware ?

michaelslobodskih avatar Jul 26 '19 20:07 michaelslobodskih

Technically, that's possible.

https://github.com/formtapez/ZigUP/blob/master/Datasheets/CC2530%20User%20Guide.pdf Look at table on page 81 to find a pin for a timer compare output pin, which was unused before.

formtapez avatar Jul 29 '19 11:07 formtapez

Nice, so can u add pwm support to your firmware ?

michaelslobodskih avatar Jul 29 '19 12:07 michaelslobodskih

I don't know that yet. Do you have a good use-case for that? What do you want to control, and how?

formtapez avatar Jul 29 '19 14:07 formtapez

I have led lamp controller by rc protocol . Inside this lamp there is one little pcb with 4 pins ( +,- , A, B). Channel A & B is pwm , 0-3.3v.

I installed esp8266 and all works fine with additional power supply (AC to DC 3.3 500mah).

And i have iobroker smart home with ~ 10 zigbee devices.

So i'm intresting to replace esp8266 & power supply (is overhead for this project) with only 1 module based on cc253x.

michaelslobodskih avatar Jul 29 '19 17:07 michaelslobodskih