MAX Cheap Pixel Project
The goal of this project:
A (daisy chainable) RGB+W recessed led light for architectural lighting, 128 of them connected in a string
Constraints
- DIY project for every one
- Cheap to build
- Build on a home etched PCB or COOP PCB
- Extremely simple to build, install and replace.
- Provide Red, Green, Blue and White light with colour mix (dimmable)
- All light module independently controlled
- Weather proof, to be installed outside the building year long
- Customizable for every one to be able to install various power led
- Small enough to be mounted inside a recessed light fixture (2" diam. or so)
- Mounted underneath the sofit all around the house.
- Use minimal parts count and through hole components
- Controlled via PC by Vixen
- Option to be controlled Standalone via micro controller board
- Option to control multiple high power led (Daughter board)
- Option to be fully dimmable with 8 to 128 steps for each colour (Micro controller)
NOTE: THIS PROJECT DO NOT HAVE FULLY DIMMING CAPABILITY NOW, ONLY LIMITED DIMMING WITH 256 COLOUR AND SHADE
After playing with many idea, and search for the perfect chip and set-up... with not much result... (to complicated or to expensive) and I found the TPIC6C596 build by Texas Instruments, this is 8 bit shift register (an upgraded version of the TPIC6C595 witch is an upgraded version of the old 74XX595) So it could use the already made 595 plugin in Vixen for testing. It consist of a serial IN parallel OUT shift register with latch and 8 output power DMOS transistors, able to sink 100ma continuous or 250ma pulsed on each output.
This chip is 8 Bits and we have 4 leds per chips, so 2 bit per led and 3 way to control the brightness of the led:
- Direct (Not really practicable)
- Binary
- PWM (Future development)
DIRECT:
The idea is to feed the led with 2 different size resistor to have 2 different brightness
Ex. For the RED led…
Bit #1 = 50% brightness
Bit #2 = 100% brightness
So each led on the chip have 3 states of brightness (0% - 50% - 100%) and a total of 4 leds on the chip (RGB+W) so 3x3x3x3= 81 colour and shade
The problem with this set-up is if both output came ON at the same time, that will blow the led… not really practicable
BINARY:
The Idea is to feed the led with 2 different size but complementary resistors
Ex. For the RED led…
Bit #1 = +/- 40% brightness
Bit #2 = +/- 75% brightness
Bit #1 + Bit #2 = 100% brightness
So each led on the chip have 4 states of brightness (0% - 40% - 75% - 100%) and a total of 4 leds on the chip (RGB+W) so 4x4x4x4= 256 colour and shade
PWM: (future development)
The idea is to feed the led with only one resistor and modulate de signal
Ex. For the RED led…
Bit #1 or Bit #2 = 0 to 100% brightness
This procedure require a high speed micro controller ( this is basically the same thing as the REN-C controller), except that the REN-C could control only 64 bit, that mean only 8 RGB+W modules. The controller will need to be able to control 1024 bit… this is reserved for future development
The problem with this set-up is the speed of the data stream over long distance, the faster the speed the better noise immunity you need… and it may not be achievable
The best way to control the brightness is (Binary), since I don’t really need 16 millions colours, 256 it’s more than enough for me… 8 bit per module and 128 modules so 8x128= 1024 bit, with a refresh rate of 10ms that give a data stream speed of 100 Khz, this is still slow speed and achievable through simple and cheap wiring
The main problem in this configuration is the signal loss and noise induced in the data cable… the (serial data) is regenerated in every chip, but the (clock) and (latch) don’t have that chance, so my idea is to install a buffer/driver and power injector between the PC and the first led module, the buffer will square out the signal and the driver will amplify the courant to (let say 200ma) and on the last led module of the chain, 2 resistor will be tied to ground, to maintain the data integrity and noise immunity with a current rather than just pushing voltage… this system is used in RS-422 data system with result of over 4000’ transmission line (I’m not claiming that this distance will be usable) since I’m not using the (reversed data line A-B) like used in RS-422 , but it may be possible to push the data 200’ away or more…
The PCB will consist of
-1- TPIC6C596 - Shift register
-1- 78L05 - Voltage regulator
-4- Led - 20 to 100mA or more than 4 led could be used for more power
-8- Resistors
-2- Capacitors
TPIC6C596 sell for $0.87 each @ Mouser and $0.53 each / 100 for DIP package (Through hole)
Supply voltage will be 5 ,12 or 24 VDC, I also explore the way of doing a daughter board that will sit on top of the module PCB, and fill it with 100mA led for more power with the same cheap base
Note: I’m French, so please excuse me if my English is not perfect
I'm now waiting to receive my 8mm strawhat 0.5W led... as soon as I can, I will post a video for you to see the color pallet. I already have a video, but the led on the video are not the same power so not really the exact color mix
Might want to look into a microcontroller instead of a 595/596 variant for each node, they're not too expensive, and if you are working with high power LEDs, their cost becomes a drop in the bucket compared to current regulation and the LEDs themselves. That way you can do PWM dimming easily.
Another option since you're focusing on recessed lighting is to build 4-unit clusters and drive each cluster with a TI TLC5940 or NXP PCA9635.
Thanks for you help, I have already considered all these options
TLC5940... DIP package = $3.89... each so better use a micro instead
PCA9635... not available in DIP package
Micro-controller... There is many people still building the Grinch because of is simplicity... it use on the shelf component and don't need any programming (really a simple DIY project for every one) that's why I don't want to use a micro-controller, I know it would be nice to have full 256 step dimming, but this is not my primary concern
Entropy wrote:Might want to look into a microcontroller instead of a 595/596 variant for each node, they're not too expensive, and if you are working with high power LEDs, their cost becomes a drop in the bucket compared to current regulation and the LEDs themselves. That way you can do PWM dimming easily.Another option since you're focusing on recessed lighting is to build 4-unit clusters and drive each cluster with a TI TLC5940 or NXP PCA9635.
Not sure about elsewhere, but in the US, the TLC5940 has been discontinued and is almost impossible to find. I've had just 2 on order since last September with Mouser, and they keep pushing out the ship date...
Mark
