Need some help with a PCA9685 to pilot a LED ribbon

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
rudloffl
Normal user
Posts: 43
Joined: 04 Jul 2019, 07:17

Need some help with a PCA9685 to pilot a LED ribbon

#1 Post by rudloffl » 12 Sep 2019, 05:37

Hello all,

I need some help to get my project to work. I want to control a LED ribbon (12v) from a wemos D1 (with the latest Mega) via a PCA9685. It's highly inspired from that https://mellbell.cc/blogs/projects/rgb- ... using-pico.

I cant find the solution to control the transistors from the PCA9685. When i connect directly the 3.3v to the transistor base, it works fine, but I can not get the PWM to work. I worked a little bit with modes (16 and 14) with no success.

Has anyone achived a similar project ? What's the detail I'm missing ? Are the transistors OK ? Should I find a different GPIO extender?

Any help is appreciated.
Capture d’écran du 2019-09-11 22-26-44.png
Capture d’écran du 2019-09-11 22-26-44.png (53.91 KiB) Viewed 9022 times

rudloffl
Normal user
Posts: 43
Joined: 04 Jul 2019, 07:17

Re: Need some help with a PCA9685 to pilot a LED ribbon

#2 Post by rudloffl » 13 Sep 2019, 06:03

I will try to control LEDs without the PCA9685. Let me know if I should use a different piece of hardware.

rudloffl
Normal user
Posts: 43
Joined: 04 Jul 2019, 07:17

Re: Need some help with a PCA9685 to pilot a LED ribbon

#3 Post by rudloffl » 15 Sep 2019, 04:59

I used the espesy GPIO directly to control the transistor and it works perfectly fine.

However, I would like to understand why I can't get the PCA9685 to work.
Do I need to had a small transistor between the one controling the 12v Leds and the PCA ?
Any idea what I should do to get it to work ?

rudloffl
Normal user
Posts: 43
Joined: 04 Jul 2019, 07:17

Re: Need some help with a PCA9685 to pilot a LED ribbon

#4 Post by rudloffl » 23 Sep 2019, 19:12

Victory !!!

I got it to work, I "just" had to change teh mode2 to "0x14"

Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests