Difference between revisions of "LEDLightDistrict"

From Technologia Incognita
Jump to: navigation, search
(2)
Line 7: Line 7:
 
Project to LED'ify the outside facing glass 'block' wall. each glass box will be a pixel
 
Project to LED'ify the outside facing glass 'block' wall. each glass box will be a pixel
  
There is a [[Pledges/LEDLightDistrict|pledge-drive]] to get the wall funded.
+
The [[Pledges/LEDLightDistrict|pledge]] has been funded and the wall has been built
  
=Wall=
+
=Usage=
  
As seen behind the blinds here. Better pics to come
+
Plug both power supplies at either side of the wall
  
[[File:Temp_inc_social_area_other_side.jpg|500px]]
+
The arduino is by the power supply on the left hand side. The computer powering the server is under the retro gaming table.
  
=Initial Plan=
+
<insert instructions for starting python script>
  
Create a 7 segment clock. [[User:amx109]] is the owner and implementer of this project.
+
= Software Implementations =
  
The clock will utilise 2 x TLC5940 to address 28 '7 segment' elements, spanning a grid of 21x7 blocks. The aim is to complete the clock by 16/05
+
There are currently two implementations. A [https://github.com/techinc/lewd python based implementation] and a [https://github.com/techinc/LedWallServer javascript node.js version]
  
=Full LED addressable wall=
+
The code for the  arduino is different for both but efforts are being made to rectify this. The plan is to use the faster python implementation to 'drive' the screen display. it will have a simple API to draw frames and push RGB bytes to the screen. The node.js version will be modified to use this python implementation.
  
[[LEDLightDistrict/DesignA|Design A]]
+
Further node.js information can be fouund in the github
 
 
 
 
= What we could buy =
 
 
 
Cheap, but maybe not powerful enough:
 
 
 
http://www.alibaba.com/product-gs/570867508/led_pixel_module_WS2801_DC5V_input.html
 
 
 
http://www.alibaba.com/product-gs/582296223/WS2801_led_pixel_rgb_programmer_LIGHT.html
 
 
 
http://www.alibaba.com/product-gs/557225024/waterproof_0_3w_led_pixel_ws2801.html?s=p
 
 
 
http://www.alibaba.com/product-gs/511660405/LED_rgb_pixel_light_LPD6803_ws2801.html
 
 
 
 
 
More expensive but definitely ok:
 
 
 
http://www.alibaba.com/product-gs/582280391/led_pixel_module_changeable_led_letter.html
 
 
 
http://www.alibaba.com/product-gs/583687800/hot_sale_ws2801_pixel_module.html
 
 
 
The model we have right now, very powerful, and not that much more expensive. I'd prefer these, cause we know everything will work.
 
 
 
http://www.alibaba.com/product-gs/537427524/SMD5050_ws2801_LED_pixel_module.html
 
 
 
=Other Suggested Approaches=
 
 
 
==1==
 
Cheap LEDs, TLC5940's
 
 
 
==2==
 
LED strip - addressable LED strip<br>
 
http://www.ledsee.com/index.php?page=shop.product_details&flypage=flypage.tpl&product_id=720&category_id=209&option=com_virtuemart&Itemid=1&vmcchk=1&Itemid=1
 
 
 
or maybe
 
 
 
http://www.adafruit.com/index.php?main_page=product_info&cPath=37&products_id=285http://www.adafruit.com/index.php?main_page=product_info&cPath=37&products_id=306
 
 
 
or
 
 
 
http://www.adafruit.com/products/346
 
 
 
or
 
 
 
http://www.bestlightingbuy.com/waterproof-lpd8806-flexible-rgb-led-lighting-strip.html
 
 
 
or
 
 
 
http://www.alibaba.com/product-gs/547114165/Newest_32pcs_5050_RGB_Versatile_LED.html
 
 
 
or
 
 
 
http://www.ledlightinghut.com/ws2801ic-digital-rgb-led-strip.html
 
 
 
or
 
 
 
The one Antony brought in as Sample was bought: USD 1.21 @ volulmes 20 squares.
 
http://www.aliexpress.com/fm-store/701799/209889132-519156534/20pcs-string-waterproof-led-pixel-module-4pcs-SMD-RGB-5050-1pcs-WS2801-256-gray-level-DC12V.html
 
 
 
Or
 
 
 
... big square pre-wired pixels: http://bliptronics.com/item.aspx?ItemID=88
 
 
 
We discussed mounting these in the corner of each brick at an angle so the light diffuses better. Need to experiment to see what works best.
 
 
 
The above LED strips/chains are easily controlled via an Arduino with the excellent FastSPI library: http://code.google.com/p/fastspi/
 
 
 
==3==
 
 
 
Some suggestions by Axel:
 
http://www.nerdkits.com/videos/ledarray2/
 
 
 
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1232748045
 
 
 
==4==
 
 
 
Shift register with pwm output
 
 
 
 
 
product number:
 
74595
 
 
 
HC595
 
 
 
==5==
 
 
 
Simulate a pwm based shift register
 
 
 
http://www.elcojacobs.com/shiftpwm/
 
 
 
 
 
==6==
 
 
 
http://francisshanahan.com/index.php/2009/how-to-build-a-8x8x3-led-matrix-with-pwm-using-an-arduino/
 
 
 
 
 
== 7 ==
 
 
 
http://www.austriamicrosystems.com/led-driver/AS1130
 
 
 
A 132 channel led driver with pwm...
 
 
 
We could order samples. 3 samples per person, so if 3 people order a sample, we have sufficient channels...
 
 
 
 
 
And at 8$ they aren't that expensive either...
 
 
 
Though I might not understand what they do and they might be dissapointing...
 
 
 
 
 
== 8 ==
 
 
 
These are bloody cheap though they are supposedly hard to program.
 
 
 
20$ per roll, and you have to buy 5 rolls minimum... but... 5m per roll, and... 40 color leds per m (from what I can tell). That means that we buy several screens, but in total it will still be cheaper. Strips can be cut per segment of two (studying the picture, correct me if I am wrong). This makes extending them relatively easy. We cut all wires to the appropriate length in one go. We have to connect some 150 of these strips, but it is repetitive work, so we can do it very fast.
 
 
 
http://www.alibaba.com/product-gs/529960769/_SMD5050_hl1606_rgb_led_strip.html
 
 
 
 
 
== Similar work ==
 
 
 
http://hackaday.com/2012/01/01/hackerspace-light-wall-plays-video-at-30-fps/
 
 
 
==Some relevant info==
 
http://waitingforbigo.com/
 
 
 
=Code=
 
 
 
==Driver/development framework==
 
Server running on [http://nodejs.org node.js], control for any games using a browser window, interface with the wall using a [https://www.cloudkick.com/blog/2010/aug/23/writing-nodejs-native-extensions C/C++ written node module].
 
 
 
===Create online api for running code on the screen===
 
 
 
It would be cool if people could browse to a site and enter code that they can run on the screen.
 
 
 
Great fun for teaching people about coding...
 
 
 
This does mean that you create a gateway for someone to run code on the server, and this code could be hostile.
 
 
 
How to keep it secure:
 
 
 
http://nodejs.org/api/vm.html#vm_vm_runinthiscontext_code_filename
 
http://nodejs.org/docs/v0.3.1/api/child_processes.html#child_process.spawn
 
 
 
==Software==
 
 
 
===Snake===
 
 
 
A game of snake. This project is almost done. It just requires some more practical website for controlling the snakes (right now they can be controlled using keyboard, which sucks for smart phones). See [https://github.com/guidocalvano/snakegame Snake implementation]
 
 
 
===Super bomber man===
 
 
 
No work done yet
 
 
 
====Blocking issues====
 
It is practical to only work on it after better abstracting the framework to be used.
 
 
 
===Conways Game of Life===
 
 
 
A cool screen saver.
 
 
 
 
 
==Non member participants==
 
Herman Kopinga
 
 
 
== End result ==
 
[https://techinc.nl/video/ledwall Videos]
 

Revision as of 17:29, 1 October 2012

Projects
Participants Guido, Wizzup
Skills soldering, coding
Status Active
Niche Electronics
Purpose World domination

Project to LED'ify the outside facing glass 'block' wall. each glass box will be a pixel

The pledge has been funded and the wall has been built

Usage

Plug both power supplies at either side of the wall

The arduino is by the power supply on the left hand side. The computer powering the server is under the retro gaming table.

<insert instructions for starting python script>

Software Implementations

There are currently two implementations. A python based implementation and a javascript node.js version

The code for the arduino is different for both but efforts are being made to rectify this. The plan is to use the faster python implementation to 'drive' the screen display. it will have a simple API to draw frames and push RGB bytes to the screen. The node.js version will be modified to use this python implementation.

Further node.js information can be fouund in the github