Difference between revisions of "LED Retrofit"
(Page created) |
|||
(32 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | + | [[Category:Closed_Projects]] | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | {{warning|'''Please note that this page has been depreciated.''' See [[LED_Lighting]]}} | |
== What are LED Strips? == | == What are LED Strips? == | ||
− | + | The idea with the LED Retrofit is to provide the HS with an effective yet sleek lighting solution, by using color-changeable LED strips which are controllable via the network. | |
− | + | Here is an exhaustive explanation and tutorial from [http://www.ladyada.net/products/rgbledstrip/ laydyada]. In essence, there are 3 SMD (Surface Mount Technology) RGB (Red Green Blue) LEDs (Light Emitting Diodes) on a segment with 3 resistors which allow the ~3 v LEDs to be drivven using a 12v power supply. These 'segments' are continuously joined together to form spools 5 meters each. Sometimes you can buy them in smaller bits (1 meter, 50 cm, 1 foot, etc), but sticking to a 5 meter spool is the best. | |
− | + | ||
− | + | ||
− | + | ||
− | + | Currently there are 5x5m of [http://www.ebay.com/itm/5m-SMD-5050-RGB-SMD-LED-Flexible-Strips-300-LEDs-Strip-12V-60-LEDs-Meter-/150960156950?pt=US_Car_Lighting&hash=item2325ed3116 5050 RGB LED Strips] @ 60 LEDs/m placed on the ledge just under the ceiling. Each 5 meter segment is individually connected to the Arduino-based controller via repurposed 230v cables. The Arduino is connected to the local network via an ethernet shield, and it controls the LEDs by PWMing a signal to 3 mosfets (1 for each color) which switches the 12vdc from the modded 400w ATX PSU. | |
− | + | == How to control them?== | |
+ | You can get the code from git: | ||
+ | <pre> | ||
+ | git clone ssh://gitolite@foo.fixme.ch:1337/led-strip.git | ||
+ | </pre> | ||
− | + | Or you can use a basic online interface found [http://led.fixme.ch/rgb here] (accessible only via internal network). | |
− | + | ||
− | == | + | == How to compile ? == |
− | + | * There is a library problem which need to be adresse, but since then, there's a chroot on foo with the correct settings to compile/upload the code | |
+ | ssh foo.fixme.ch | ||
+ | sudo su | ||
+ | /root/enter-chroot.sh | ||
+ | cd /root/led-strip/LedStripDriver | ||
+ | make | ||
+ | # Put the USB cable from foo to the leds | ||
+ | make upload | ||
+ | # Remove the USB cable | ||
− | == | + | == Improvements == |
− | + | * '''Figure out a way to fix brightness issue''' I think we should feed each 5m segment from multiple sides, or even split it into smaller pieces (it is suspected that the pcb traces aren't thick enough for the current). Maybe use individual power supplies every couple of meters coupled with their own (more basic) control circuitry that get commands from central Arduino? I suspect that there is a significant voltage loss along the connecting cable because of the low voltage and long distance, using 230v AC could help. We could also experiment in raising the voltage as long as it does not bypass the specified wattage, and that no single LED gets more than its designed voltage. Maybe the mosfets are the wrong kind? | |
+ | * '''Better control options''' maybe a nicer web-interface with more options (See [https://fixme.ch/wiki/LED_Retrofit#Uses Uses] below), as well as an android app. | ||
+ | * '''Moar LED strips''' place LED strips in other places, e.g. to replace the crappy CFL in the middle of the room (maybe use [http://www.aliexpress.com/item/Brand-New-5050-5M-LED-300-SMD-Warm-White-Flexible-non-Waterproof-Light-Strip-12V-Free/465436346.html pure white LED strips] instead of RGB ones), electronics bench, inside fridge, foyer, inside thermibel :) ? | ||
− | == | + | == Uses == |
− | + | * Control remotly using a script (netcat) | |
− | + | ** Web server running on an Arduino board to control the LEDs: http://leds.fixme.ch/rgb | |
− | + | ** Little scripts for the current implementation inside the repository | |
− | + | * Controled by the music (color, intensity) | |
− | + | * Special program: Burger time, etc | |
− | + | * Philips ambilight-like for projected videos | |
− | + | * Time dependent light (i.e. automatically dimming) | |
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | + | = Photos = | |
+ | <gallery> | ||
+ | File:Beta-LED-Strips-at-HS.JPG|LED Strip above the solder station | ||
+ | File:LED-Strips-from-close-up.mp4|Video of the strip from afar | ||
+ | File:LED-Strips-Up-Close.mp4|Video of the strip from up close | ||
+ | File:LED-night-fixme.png|LEDs strip installed and visible from the outside | ||
+ | File:LED_Retrofit_blue.jpg|Hackerspace LED Retrofit in blue | ||
+ | File:LED-strip-controller-tinkering.jpg|Tinkering with the setup | ||
+ | File:leds-controler.jpg|Housing for the Arduino and power supply | ||
+ | File:Sofa-led.jpg|LEDs above sofa area (24v 3528 240 LED/m strips) | ||
+ | File:Table-led.jpg|Bright LEDs above table area (same as sofa) | ||
+ | |||
+ | File:HS-trigger-and-LED-control.png|Interface for controlling the LEDs and HS status | ||
+ | |||
+ | </gallery> | ||
− | ' | + | == Links == |
+ | * [https://learn.sparkfun.com/tutorials/building-large-led-installations Sparkfun's guide to large LED installations] | ||
+ | * [http://nodes.nurdspace.nl/ DMX controlled LEDs], installation/setup [[NurdNodes]] | ||
+ | * [http://www.ladyada.net/products/rgbledstrip/ Laydyada's tutorial and background info] | ||
+ | * [http://wiki.muc.ccc.de/moodlamp_30 CCC's Moodlamp (DE)] | ||
+ | * [http://electronics.stackexchange.com/questions/19413/why-doesnt-my-5050-led-strip-draw-as-much-power-as-i-expect Why doesn't my 5050 led strip draw as much power as I expect?] | ||
+ | * [http://www.ebay.com/itm/5m-SMD-5050-RGB-SMD-LED-Flexible-Strips-300-LEDs-Strip-12V-60-LEDs-Meter-/150960156950?pt=US_Car_Lighting&hash=item2325ed3116 The LED strips that were used] | ||
+ | * [https://tindie.com/shops/ch00ftech/qr-clock-1/ QR LED Clock] | ||
− | + | Control | |
− | + | * [http://leds.fixme.ch/rgb Web control interface] | |
− | + | * ssh://gitolite@foo.fixme.ch:1337/led-strip.git Git repo | |
− | = | + | = Project Leader = |
− | + | * [[User:Sasha|Sasha]] | |
== Participants == | == Participants == | ||
− | + | * [[User:Rorist|Rorist]] | |
+ | * [[User:gcmalloc|gcmalloc]] | ||
+ | * [[User:Francois|Francois]] | ||
+ | * [[User:Freestorm|Freestorm]] |
Latest revision as of 15:03, 14 November 2019
Warning: | Please note that this page has been depreciated. See LED_Lighting |
Contents
What are LED Strips?
The idea with the LED Retrofit is to provide the HS with an effective yet sleek lighting solution, by using color-changeable LED strips which are controllable via the network.
Here is an exhaustive explanation and tutorial from laydyada. In essence, there are 3 SMD (Surface Mount Technology) RGB (Red Green Blue) LEDs (Light Emitting Diodes) on a segment with 3 resistors which allow the ~3 v LEDs to be drivven using a 12v power supply. These 'segments' are continuously joined together to form spools 5 meters each. Sometimes you can buy them in smaller bits (1 meter, 50 cm, 1 foot, etc), but sticking to a 5 meter spool is the best.
Currently there are 5x5m of 5050 RGB LED Strips @ 60 LEDs/m placed on the ledge just under the ceiling. Each 5 meter segment is individually connected to the Arduino-based controller via repurposed 230v cables. The Arduino is connected to the local network via an ethernet shield, and it controls the LEDs by PWMing a signal to 3 mosfets (1 for each color) which switches the 12vdc from the modded 400w ATX PSU.
How to control them?
You can get the code from git:
git clone ssh://gitolite@foo.fixme.ch:1337/led-strip.git
Or you can use a basic online interface found here (accessible only via internal network).
How to compile ?
- There is a library problem which need to be adresse, but since then, there's a chroot on foo with the correct settings to compile/upload the code
ssh foo.fixme.ch sudo su /root/enter-chroot.sh cd /root/led-strip/LedStripDriver make # Put the USB cable from foo to the leds make upload # Remove the USB cable
Improvements
- Figure out a way to fix brightness issue I think we should feed each 5m segment from multiple sides, or even split it into smaller pieces (it is suspected that the pcb traces aren't thick enough for the current). Maybe use individual power supplies every couple of meters coupled with their own (more basic) control circuitry that get commands from central Arduino? I suspect that there is a significant voltage loss along the connecting cable because of the low voltage and long distance, using 230v AC could help. We could also experiment in raising the voltage as long as it does not bypass the specified wattage, and that no single LED gets more than its designed voltage. Maybe the mosfets are the wrong kind?
- Better control options maybe a nicer web-interface with more options (See Uses below), as well as an android app.
- Moar LED strips place LED strips in other places, e.g. to replace the crappy CFL in the middle of the room (maybe use pure white LED strips instead of RGB ones), electronics bench, inside fridge, foyer, inside thermibel :) ?
Uses
- Control remotly using a script (netcat)
- Web server running on an Arduino board to control the LEDs: http://leds.fixme.ch/rgb
- Little scripts for the current implementation inside the repository
- Controled by the music (color, intensity)
- Special program: Burger time, etc
- Philips ambilight-like for projected videos
- Time dependent light (i.e. automatically dimming)
Photos
Links
- Sparkfun's guide to large LED installations
- DMX controlled LEDs, installation/setup NurdNodes
- Laydyada's tutorial and background info
- CCC's Moodlamp (DE)
- Why doesn't my 5050 led strip draw as much power as I expect?
- The LED strips that were used
- QR LED Clock
Control