Author Topic: RGB led Display with tlc5940 project, request for feedback  (Read 1317 times)

0 Members and 1 Guest are viewing this topic.

Offline RoelandTopic starter

  • Newbie
  • Posts: 5
  • Country: be
RGB led Display with tlc5940 project, request for feedback
« on: December 11, 2020, 08:19:56 pm »
Hello,

I'm a student electronics and for a project a'm making for myself a would like to have some feedback on it.
The general concept:
- A 16 x16 RGB matrix with those RGB leds: https://nl.aliexpress.com/item/32384196929.html?spm=a2g0s.9042311.0.0.24a94c4d0eIKMW
- Controlling all the leds with 3 TLC5940 PWM led drivers.
- Scanning Row by Row.
- Controling the Led-drivers with a STM32F103.

Pictures from every layer ande pdf's of the schematic are below.
Resistor values used befor the leds are 33Ohm (Red) and 43Ohm (Green and Blue)
All the leds and components on a 4 layer pcb and will be made by JLCPCB (very cheap 4layer pcb)

All comments are welcom!
thanks in advance


« Last Edit: December 11, 2020, 11:36:57 pm by Roeland »
 

Offline tooki

  • Super Contributor
  • ***
  • Posts: 12633
  • Country: ch
Re: RGB led Display with tlc5940 project, request for feedback
« Reply #1 on: December 13, 2020, 03:43:45 pm »
TI makes newer drivers specifically for RGB displays. I'd strongly recommend using those instead. Fewer ICs and better correction for the intricacies of full color.

Or make your life much, much easier and just use addressable LEDs (like APA102C/SK9822/HD107). They'll give you excellent performance (very high PWM frequencies on SK9822 and HD107) with minimum effort, since they handle the entire LED driving internally and need only two data pins for the entire array.
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13979
  • Country: gb
    • Mike's Electric Stuff
Re: RGB led Display with tlc5940 project, request for feedback
« Reply #2 on: December 13, 2020, 03:57:28 pm »
tlc5940 is a constant-current driver - you don't need resistors.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 
The following users thanked this post: Ian.M, tooki, Roeland

Offline RoelandTopic starter

  • Newbie
  • Posts: 5
  • Country: be
Re: RGB led Display with tlc5940 project, request for feedback
« Reply #3 on: December 14, 2020, 04:39:14 pm »
TI makes newer drivers specifically for RGB displays. I'd strongly recommend using those instead. Fewer ICs and better correction for the intricacies of full color.

Or make your life much, much easier and just use addressable LEDs (like APA102C/SK9822/HD107). They'll give you excellent performance (very high PWM frequencies on SK9822 and HD107) with minimum effort, since they handle the entire LED driving internally and need only two data pins for the entire array.
thanks for the comment.
I know I could use some addressable Led's but I want to do it this way by scanning every row.
Do you have any suggestions of a specific led driver? The one I'm using is actually easy to find on AliExpress and it has some cpp libraries (writing one is a little to difficult for mee).
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13979
  • Country: gb
    • Mike's Electric Stuff
Re: RGB led Display with tlc5940 project, request for feedback
« Reply #4 on: December 14, 2020, 06:16:01 pm »
TLC5940/41 is a reasonable choice as the BLANK input and external clock lets you synchronise the PWM and row scanning accurately. I think TI now do some with multiplexing built in - it's a while since I looked.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline RoelandTopic starter

  • Newbie
  • Posts: 5
  • Country: be
Re: RGB led Display with tlc5940 project, request for feedback
« Reply #5 on: December 15, 2020, 07:50:32 am »
TLC5940/41 is a reasonable choice as the BLANK input and external clock lets you synchronise the PWM and row scanning accurately. I think TI now do some with multiplexing built in - it's a while since I looked.


Question? is the library in the link below supports that synchronization between the PWM and the row scanning? Like I said before my cpp skills are not the best.

https://os.mbed.com/users/Spencer/code/TLC5940/
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf