Jump to content

OLRE16 with Lattice CPLD as Clocking/Addressing interface


Antichambre

Now with its 512 RGB leds :grin:


From the album:

OLRE16

· 9 images
  • 9 images
  • 0 comments
  • 20 image comments

Photo Information

  • Taken with Apple iPhone 6
  • Focal Length 4.2 mm
  • Exposure Time 1/33
  • f Aperture f/2.2
  • ISO Speed 250

Recommended Comments

Thank you! :blush:

Some explanation:
Here I test the Logic Clocking/Addressing for 32*16 multiplexing around the TLC5958. With all the leds this time.
Previously I first tried to code this multiplexing circuit directly with the STM32F4 but it was too much process for a very bad result.
Then I designed an external logic circuit for that purpose, it was working but a was very complex circuit.
And finally I reduce this big logic circuit to one unique programmable logic ic, the Lattice CPLD.
Here I used an LC4256V evaluation board from Lattice. It's a TQFP100 with 256 macrocells and this is too much for that purpose.
So I make the VHDL program very small to fit in a LV4064(64 macrocells) which exists in a small TQFP44 package.
The components on the breadboard are just for 3.3V to 5V level shifting.

Voilà!

Link to comment

Interesting topic! Though it's a little bit difficult to follow the discussions taking place as comments in the image section of the forum. Why don't you just create a thread describing the project and put/link your images there?

Link to comment
Just now, ilmenator said:

Interesting topic! Though it's a little bit difficult to follow the discussions taking place as comments in the image section of the forum. Why don't you just create a thread describing the project and put/link your images there?

Don't worry, I will do it. For you to know that the dokuwiki already exists even if I have to update it also.

Edited by Antichambre
Link to comment
19 minutes ago, latigid on said:

Epic! Must be quite zen soldering all of those LEDs...!

I still do a magnesium cure a few days before :rolleyes:
With the right method it's about 6 hours to solder and test those 512 rgb leds...

Link to comment

Dear @Antichambre,

This looks spectacular! And especially cool, since I was looking to build such a solution myself - without the OLED (but I'm quite the beginner at this so I'm at a far earlier stage).

Couple of questions - if you would be wiling to answer them:

  1. Which rotary encoder do you use? A standard "24 PPM" one with quadratic encoding? The reason I'm asking is that I was looking for a higher resolution solution, but that is hard to find (endless pot or hall-effect sensor was what I was thinking of)
  2. What is the exact part number of the LEDs you used? I had a certain bright LED in mind, but if you use a cheaper less bright one, that might suffice (judging by the video)
  3. Did you solder the LEDs on yourself? Reflow?
  4. Is there an update to your project site?
  5. Would you be willing to share schematics in a downloadable format? I'm sorry if this is considered rude (if it was not meant to be open source) - just don't know what your stance is on this.

Thanks for any info you might be willing to share!

Link to comment
  1. It's PEC16-4015F-S0024 . some more information in the dokuwiki...
  2. Yes it's better in real, always difficult to take picture of RGB stuff with an iPhone ;) Brightness is enough for my taste even with the plastic mask and window, the window is made with special pmma,
    led were ordered form china, i can share contact, here the datasheet
    Fichier%2021-04-2019%2002%2001%2040%20-%Fichier%2021-04-2019%2002%2003%2022.jpeg
     
  3. Yes I did it manually, it's an ant work.
  4. No update for the moment.
  5. No schematic shared for the moment too! ;)

    Best regards
    bruno
Edited by Antichambre
Link to comment

Thanks for the quick response - especially after the thread is 'on life support' (not yet a zombie ;)

The LEDs are indeed super bright (~250 - 1000 mcd for the various colours). However, in the setup how I would like to design it, I would use only 4 multiplexed channels instead of your 32, so they would be approx. 8x as bright. Did I deduce that correctly? (I assume the duty cycle of each LED is 1/32 at the most because of multiplexing - or do I misinterpret they way your setup works?). That would mean that I can use LEDs that are 8x less bright than yours to achieve the same physical brightness (while the max duty cycle would be 1/4 in my case).

The PMMA mask is very cool! Did you create these yourselves? If so, with which method? (3d printing, molding, etc.). Again - only if you would divulge this information!
In total - I would be very proud of myself if - at some point in the future - I would be able to achieve something remotely as cool as what you did :)

Thanks again for taking the time to answer my questions!

Link to comment
4 hours ago, Midilator said:

The LEDs are indeed super bright (~250 - 1000 mcd for the various colours). However, in the setup how I would like to design it, I would use only 4 multiplexed channels instead of your 32, so they would be approx. 8x as bright. Did I deduce that correctly? (I assume the duty cycle of each LED is 1/32 at the most because of multiplexing - or do I misinterpret they way your setup works?). That would mean that I can use LEDs that are 8x less bright than yours to achieve the same physical brightness (while the max duty cycle would be 1/4 in my case).

Yes, the number of mux lines is settable in the TLC, it will adapt its addressing cycle and memory use depending on that value. There's a resistor connected to TLC which has to be cosen depending on your led, and a lot of registers for color balance, luma, ghosting etc...

 

4 hours ago, Midilator said:

The PMMA mask is very cool! Did you create these yourselves? If so, with which method? (3d printing, molding, etc.). Again - only if you would divulge this information!
In total - I would be very proud of myself if - at some point in the future - I would be able to achieve something remotely as cool as what you did :)

Homemade with my cheap and chinese CNC router, bit is 0.8mm 1 tooth alu and I use water+soap to help milling(this is the trick).
I use black pmma for mask and translucent white for led is a trotec product

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...