Page 1 of 1

using RasPi hardware PWM GPIOs to dim LEDstrips ?

Posted: Wednesday 02 August 2017 10:31
by pascalspits
Hi, I read that the RasPi has 2 hardware PWM GPIO's :

"There are two hardware PWM channels on the BCM2385/6.
PWM0, which can be set to use GPIOs 12, 18, 40, and 52. Only 12 (pin 32) and 18 (pin 12) are available on the B+/2B, and PWM1 which can be set to use GPIOs 13, 19, 41, 45 and 53. Only 13 is available on the B+/2B, on pin 35 (but I think PWM1 is used for something - is it the audio output?)"


Is there a way to use these in Domoticz as LEDstrip dimmers (via a MOSFET of course) ?
If so, how is this done ?

Thanks
Pascal

Re: using RasPi hardware PWM GPIOs to dim LEDstrips ?

Posted: Friday 03 November 2017 17:18
by Yayaa10
Hi I'm interested to this way.

Actualy I use the PWM with a Python script and a light ON/OFF whose execute the script when the light turn ON.

Is it possible to use a dimmer swich in order to use a ON/OFF switch and a script ?