Here is a write-up of my chipiplexed Renard experiments. Sorry about the length – there was a lot of info to cover. You may want to turn on "Allow fast web view" under the Internet options in the View Edit -> Preferences window in your Adobe reader before you open the PDF.
Let me know if you would like any further info about this, or if you do try it out and encounter problems with it, let me know and I'll see if I can help. If anyone is willing to lend a hand with creating a PCB (including the logistics of submitting it to a place to create the PCB), please let me know.
I wanted to put the files all in one place within the File Library, but they seem to apply to multiple topics, so for now they are just attached to this post. The PDF is also at:
http://downloads.eShepherdsOfLight.com/Renard-HC.pdf
don
i was hoping you was going to post how you did this. i was very intrigued by this and wanted to know how you did it. thank you. time to start reading.
Wow great work ;D
That's.. a lot of text!
Any progress on the source code?
Hi:
As posted before under "RENARD BASICS", Don's first few pages of the PDF is an excellent explanation of how Renard works.
The whole article is well worth reading. He went to a lot of work producing this.
I have read the article and he did do an amazing job of explaining it but I would love to go through the source code as well.
If you need the high channel count, and I do, why would you NOT use this??
I absolutely need a high channel count (4,008 to be exact... good God what am I thinking!!) 168 of these will be Ren 24LV's but the remaining 3,840 will be used to control RGB leds. Of these 3,072 channels would be used for the mega tree which would have the leds arranged into strings. To keep the wiring mess down to a minimum I want to control 16 leds with 1 board (48 channels). The leds would be split into 4 banks of 4 leds each with all of the red, green, and blue cathodes for a given bank wired in parallel and then each anode would be turned on in succession (i.e. mutliplexed) . This cuts down on the wiring spaghetti since only 28 wires are needed. The control board would be located in the middle of the 16 leds so only 14 wires would be coming out from either end. This would keep the string's wiring fairly small. The way I understand Don's design is that every led would need to be wired up individually which would require 49 wires (48 cathodes and 1 anode) which would make for a very fat bundle even with the control board in the middle of the string (25 wires top and bottom). I have been working on my own design here but I have hit a mental block... big surprise there 😉 I think I have a handle on the hardware issues but the software side is still kicking my @$$. That is why I would love to see Don's firmware to see how he implemented his design. I am by no means a programmer (dumb wrench turner by trade) so seeing how people much smarter then myself have solved issues like this would be very helpful!
djulien wrote:Here is a write-up of my chipiplexed Renard experiments. Sorry about the length – there was a lot of info to cover. don
I'm completely impressed.... the quality of this work is amazing. I don't understand half of it but hats off to you for the amount of effort you put into it.
cypress1138 wrote:The way I understand Don's design is that every led would need to be wired up individually which would require 49 wires (48 cathodes and 1 anode) which would make for a very fat bundle even with the control board in the middle of the string (25 wires top and bottom).
If 48 (or 56) monochrome or 16 (or 18) RGB LEDs are chipiplexed, it would only take 8 wires, but it is still kinda messy wiring. I'm trying to figure out an easier way to do that, but it looks rather tedious at the moment.
bobkeyes wrote:If you need the high channel count, and I do, why would you NOT use this??
Well, there are trade-offs. I tried to describe those in the write-up. - mainly related to maximum number of different channel intensities at any one time (ie, the "lossy" dimming). Also, I suppose the wiring itself is more complicated (the first time).
cypress1138 wrote:Any progress on the source code?
Yes. I kinda got side-tracked with some distractions. During the cleanup, I made some "minor" structural changes which broke some things. :rolleyes: I think they are working again. I didn't realize anyone was waiting on this. Should I release it in a still partially messy state, or finish off the clean up? If you need it by a specific date I'll set that as my target.
Aside from the structural clean-up, I did fix a bug that was causing LED flicker. I'm in the process of building a little test rig with a string of 16 RGB LEDs to test how smoothly it can ramp and fade the LEDs from a 16F688.
I also started adapting the code to also run on a 16F689/690, which would allow driving the LEDs at a full 20 mA each, whereas they are limited to about 13 mA with the 16F688.
don

