Difference between revisions of "Projects:Lightsticks"

From 33C3_Public_Wiki
Jump to: navigation, search
(Created page with "{{Projects |Has project tag=Blinkenlight, C3MA, Frama, |Has description=We have built a larger number of luminous bars. In this case, one meter of light tube of type WS2812 s...")
 
m
Line 1: Line 1:
 
{{Projects
 
{{Projects
|Has project tag=Blinkenlight, C3MA, Frama,  
+
|Has project tag=Blinkenlight, C3MA, Frama,
 
|Has description=We have built a larger number of luminous bars. In this case, one meter of light tube of type WS2812 should be controlled in a transparent plastic tube via the ESP8266 controller. The controllers allow individual control of each individual LED. In addition to the hardware, various software projects will ensure that we can make cool things with the bright tubes.
 
|Has description=We have built a larger number of luminous bars. In this case, one meter of light tube of type WS2812 should be controlled in a transparent plastic tube via the ESP8266 controller. The controllers allow individual control of each individual LED. In addition to the hardware, various software projects will ensure that we can make cool things with the bright tubes.
 
|Has website=https://www.ccc-mannheim.de/wiki/ESP8266/Lightstick
 
|Has website=https://www.ccc-mannheim.de/wiki/ESP8266/Lightstick
 
|Located at assembly=Frama
 
|Located at assembly=Frama
 
}}
 
}}
== Hardware ==
 
 
{| class="wikitable"
 
!colspan="6"|Hardware
 
|-
 
!#
 
!Ding
 
!Bauteil
 
!Preis
 
!Link
 
|-
 
|1.
 
|Lichtschlauch
 
|1m WS2812
 
|10 EUR
 
|tbd.
 
|-
 
| 2.
 
| WLAN Microcontroller
 
| ESP8266-01
 
| 2,50 EUR
 
| tbd.
 
|-
 
| 3.
 
| Platine
 
| Spannungsversorgungs 12V->5V->3.3V
 
| ~ 3,50 EUR
 
| [https://github.com/C3MA/lightstick/tree/master/hardware Layout]
 
|-
 
| 4.
 
| Bauteile
 
| Spannungsversorgung
 
| ~6 EUR
 
| tbd
 
|-
 
| 5.
 
| Stange
 
| transparente Röhre
 
| ~ 5 EUR
 
| tbd
 
|-
 
| 6.
 
| Standfuß
 
| tbd
 
| ? EUR
 
| tbd
 
|-
 
|}
 
 
== Hardware-Doku ==
 
<gallery>
 
Datei:IMG_1162.JPG | Prototyp
 
Datei:IMG_1192.JPG | Platinenfertigung
 
Datei:IMG_1193.JPG | Die Platine
 
Datei:IMG_1221.JPG | Proof of Concept
 
Datei:IMG_1223.JPG | It works
 
</gallery>
 
 
== Prototyp-Video ==
 
<html>
 
<iframe width="560" height="315" src="https://www.youtube.com/embed/iNhbaP3uGVA" frameborder="0" allowfullscreen></iframe>
 
</html>
 
 
 
 
== Software ==
 
== Software ==
Es wird die [https://github.com/nodemcu/nodemcu-firmware LUA Firmware] auf dem ESP8266 vorausgesetzt.
+
The [https://github.com/nodemcu/nodemcu-firmware LUA Firmware] is required on the ESP8266.
  
Diese verwendet Schnittstellen:
+
This uses interfaces:
# WS2812 - LED Ausgabe
+
# WS2812 - LED output
# UART (Zum Programmieren und debuggen)
+
# UART (For programming and debugging)
# TCP-Port 2323 Telnet/Netcat Schnittstelle (wie UART)
+
# TCP port 2323 Telnet / Netcat interface (like UART)
# UDP-Port 2342 RGB Information für die WS2812 LEDs
+
# UDP port 2342 RGB information for the WS2812 LEDs
  
Bootprozedur:
+
Boot procedure:
Beim Start sucht der Controller nach dem WLAN ''Sticknet''.
+
On startup the controller looks for the WLAN '' Sticknet ''.
Während der Suche blicken alle LEDs grün.
+
During the search all LEDs look green.
  
Die Sticknet-IP-Adressen liegen aktuell alle in '''192.168.23.xxx'''. <br/>
+
The Sticknet IP addresses are all currently in '' '192.168.23.xxx' ''. <br/>
Die IP Adresse eines Schlauches kann man nach der Suche einfach ablesen.
+
The IP address of a hose can be read easily after the search.
* Rot - 100er
+
* Red - 100s
* Grün - 10er
+
* Green - 10pcs
* Blau - 1er
+
* Blue - One
Wenn du 2 grüne und 3 rote LEDs siehst, hast du die 192.168.23.'''23''' vom Router bekommen :-)
+
  If you see 2 green and 3 red LEDs, you got the 192.168.23. '' '23' '' from the router :-)

Revision as of 19:33, 23 December 2016

Description We have built a larger number of luminous bars. In this case, one meter of light tube of type WS2812 should be controlled in a transparent plastic tube via the ESP8266 controller. The controllers allow individual control of each individual LED. In addition to the hardware, various software projects will ensure that we can make cool things with the bright tubes.
Has website https://www.ccc-mannheim.de/wiki/ESP8266/Lightstick
Persons working on
Tags Blinkenlight, C3MA, Frama
Located at assembly Frama
Other projects...

refresh

Software

The LUA Firmware is required on the ESP8266.

This uses interfaces:

  1. WS2812 - LED output
  2. UART (For programming and debugging)
  3. TCP port 2323 Telnet / Netcat interface (like UART)
  4. UDP port 2342 RGB information for the WS2812 LEDs

Boot procedure: On startup the controller looks for the WLAN Sticknet . During the search all LEDs look green.

The Sticknet IP addresses are all currently in '192.168.23.xxx' .
The IP address of a hose can be read easily after the search.

  • Red - 100s
  • Green - 10pcs
  • Blue - One
 If you see 2 green and 3 red LEDs, you got the 192.168.23.  '23'  from the router :-)