using RasPi hardware PWM GPIOs to dim LEDstrips ?

Post Reply
pascalspits
Posts: 84
Joined: Tuesday 24 February 2015 17:14
Target OS: Raspberry Pi
Domoticz version:
Location: Belgium
Contact:

using RasPi hardware PWM GPIOs to dim LEDstrips ?

Post by pascalspits » Wednesday 02 August 2017 10:31

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
RasPi2 - Aeotec Z-Stick S2 - Fibaro multisensors - Fibaro RGBW dimmers - ETH08 relais boards

Yayaa10
Posts: 1
Joined: Friday 03 November 2017 17:45
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: using RasPi hardware PWM GPIOs to dim LEDstrips ?

Post by Yayaa10 » Friday 03 November 2017 18:18

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 ?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest