Umbrella: Unterschied zwischen den Versionen

aus Metalab, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Wechseln zu: Navigation, Suche
K (fixed typo, added colors)
(27 dazwischenliegende Versionen von 8 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
infos zum metalights projekt.
+
[[Datei:Buntschirm.jpg|miniatur]]
 +
[[Datei:u_blue.jpg|miniatur]]
 +
[[Datei:u_pink.jpg|miniatur]]
 +
 +
Umbrella is the ceiling lighting of the main room. It consist out of 12 umbrellas capable of emitting light in either 16581375 RGB shades or 65025 white shades.
  
 +
The umbrellas are controllable with [https://en.wikipedia.org/wiki/Art-Net art-net].
 +
 +
==How to simply turn on/off the light==
 +
Use the light switch next to the kitchen. You can dim the light with the rotary knob on the side.
 +
 +
 +
[[Datei:Umbrella_lightswitch_1.jpg|200px]]
 +
[[Datei:Umbrella_lightswitch_2.jpg|200px]]
 +
 +
If it does not work just power cycle it. Wait a couple of seconds.
  
==Why==
+
[[Datei:Umbrella_reset.jpg|200px|Metalab school of software resilience(tm) :)]]
 +
 
 +
===New Version===
 +
Out of good reasons, we upgraded the light switch to a much more powerful version.
 +
 
 +
This light switch has 4 buttons:
 +
* the "Mode" button on the side, surrounded by multiple light-ray-resembling lines. This button switches between different light modes for the umbrella-lights.
 +
* the "Reset" button on the other side, surrounded by an arrow revolving around it. If the switch doesn't work anymore, it can be restarted using this button. Wait a few seconds after pressing it shortly.
 +
* the "+" or "Brightness Up" button on top. This button increases the brightness of the umbrella-lights in all modes, except in party mode. For that mode, it increases the blinking speed.
 +
* the "-" or "Brightness Down" button on top. This button decreases the brightness of the umbrella-lights in all modes, except in party mode. For that mode, it decreases the blinking speed.
  
The metalab needs some new lights.
+
Each button is to be pressed shortly. For example: Holding one of the brightness-buttons does not result in a repeated button press. Short is key.
  
ART-net is the name of the game.
+
This light switch has several modes:
 +
* <span style="color:#F00">&#9608;</span> All Red (#F00)
 +
* <span style="color:#0F0">&#9608;</span> All Lime (#0F0)
 +
* <span style="color:#00F">&#9608;</span> All Blue (#00F)
 +
* <span style="color:#FF0">&#9608;</span> All Yellow (#FF0)
 +
* <span style="color:#F0F">&#9608;</span> All Fuchsia (=Pink) (#F0F)
 +
* <span style="color:#0FF">&#9608;</span> All Aqua (=Cyan) (#0FF)
 +
* <span style="color:#FFF">&#9608;</span> All RGB White (RGB to 100%) (#FFF)
 +
* All Warm White
 +
* All Cold White
 +
* All Warm and Cold White
 +
* Party mode: All lights blink in different colors individually
  
 +
==Access data==
  
== How ==
+
Wlan SSID: metalights
  
Raspberry Pi 3
+
Protocol: [https://en.wikipedia.org/wiki/Art-Net art-net]
  
Distro based on the QLC+ image (raspbian jessie)
+
Host: 10.20.255.255
  
Hostapd for Accesspoint mode
+
startUniverse: 3
  
QLC+ X-server less build that renders directly in GL buffers for performance
+
There are 60 channel, 5 channels (RGBWW) per umbrella.
  
 +
==Why==
 +
 +
The Metalab needed some new lights.
 +
 +
ART-net is awesome.
 +
 +
 +
== How ==
 +
 +
Raspberry Pi 3 + Touchscreen
 +
 +
Distro based on the QLC+ image (raspbian jessie)
 +
 +
QLC+ XServer less build that renders directly in GL buffers for performance
 +
 
H801 based clients (ESP8266)
 
H801 based clients (ESP8266)
 
+
 
Arduino based firmware that implements ART-net
 
Arduino based firmware that implements ART-net
 
+
 
+
== Temporary setup with QLC+ ==
== Costs ==
+
 
+
Connect to "metalights" WLAN
One time costs:
+
* 1 Switch 3,-
+
Set OUTPUT to 10.20.255.255
* 30 meter cable
+
* 1 Raspberry Pi 3
+
Set ARTnet universe to 3
* 1 SD card
+
   
* 1 7" Touch screen
+
There are 5 channels / Umbrella
* Acrylic case
+
   
 
+
R,G,B,WW,CW
 
+
 
+
If CW or WW are anything else but "0" then R,G and B are disabled by firmware.
Per umbrella device:
+
 
+
If R,G or B are anything but "0" then CW and WW are disabled by firmware.
* 1 [https://www.amazon.de/gp/product/B0047DGXO8/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1 umbrella] 24,-
+
* 1 [https://de.aliexpress.com/item/DC5-24V-Wireless-Smart-Dimmer-Receiver-Output-5-Routes-PWM-Data-WiFi-APP-Controlled-for-RGBW/32634286022.html H801] 10,-
+
This is to save our power supplies from sudden heat death.
* 1 [http://www.mouser.at/ProductDetail/Mean-Well/LRS-100-12/?qs=sGAEpiMZZMs2%252bVrH5rwl1psS2OanFRhVpNcvqXz7yAfFrLQELcnN8A%3d%3d Power supply 12V] 18,-
+
* RGB ledstripes 5-20,-
+
(105 watt / Umbrella max)
* COLDWHITE ledstripes 5-20,-
+
* WARMWHITE ledstripes 5-20,-
+
* 3D-printed parts for mounting
 
* Lasercut parts for mounting
 
 
 
TOTAL 70,- to 100,- / umbrella
 
 
 
We need at least 12 at most 20 pcs
 
 
 
The more umbrellas the less leds / umbrella are nedded
 
 
 
A similar setup from a professional light company would cost >10k so this is actually very cheap in comparsion to commercially available solutions.
 
 
 
 
== Hardware ==
 
== Hardware ==
 
+
H801 Ledcontroller features:
+
H801 LED controller features:
 
+
 
* 8 Mbit Storage (1 Mb)
 
* 8 Mbit Storage (1 Mb)
 
* 5 channels each 45 watt max (~ 3.5 Ampere @ 12 V / channel)
 
* 5 channels each 45 watt max (~ 3.5 Ampere @ 12 V / channel)
 
+
  
 
=== How to flash ===
 
=== How to flash ===
* Install Arduino 1.6.4
+
* Install [https://www.arduino.cc/en/Main/Software Arduino IDE]
* Install ESP 8266 extensions
+
* Install [http://esp8266.github.io/Arduino/versions/2.0.0/doc/installing.html ESP 8266 extensions]
* Select Tools:
+
* Choose generic ESP8266 Board under Tools->Board
 +
* Settings for ESP8266: [[File:Umbrella_address.png|300px|right]]
 
** GENERIC ESP8266 Module
 
** GENERIC ESP8266 Module
** Flash Mode DIO
+
** Flash Mode: DIO
** Flash Size 1M (512K SPIFFS)
+
** Flash Size: 1M (512K SPIFFS)
 
** Debug Port: Disabled
 
** Debug Port: Disabled
 
** Debug Level: none
 
** Debug Level: none
 
** Reset Mode: ck
 
** Reset Mode: ck
** Flash Frequency: 40 Mhz
+
** Flash Frequency: 40 MHz
** CPU Frequency: 80 Mhz
+
** CPU Frequency: 80 MHz
** Upload Speed 115200 or more
+
** Upload Speed: 115200 or more
 +
  
 +
* U need a USB-to-UART-board (set to 3.3V)
 +
* Connect GND to GND; RX to TX(!) and TX to RX(!); DO NOT CONNECT 3.3V!
 +
* Set JUMPER on board to boot into flash mode. (Important! Has to be set before power is connected, so board gets into flashing mode.)
 +
* Supply power via VCC & GND (12V should be adequate)
 +
 +
The code to flash can be found in the [https://github.com/overflo23/H801_ARTnet github repo].
 +
If you want to flash exactly this code (and what else would you flash in the main room), you will need these libraries:
  
* Set JUMPER on board to boot into  flash mode
+
* [https://github.com/rstephan/ArtnetWifi ArtnetWifi] (Has to be installed via git clone to ~/Arduino/libraries)
* Power the board
+
* [https://github.com/tzapu/WiFiManager WifiManager]
 +
* [https://arduinojson.org/ ArduinoJson] (Version 5.13.3)
  
 
==Who==
 
==Who==
 +
 +
Originally invented and built by [[Benutzer:overflo|overflo]], the umbrellas were built by a lot of people in some night shifts at Metalab
 +
 +
LOTS OF SUPPORT BY
 +
uniq, anlumo, ripper, bogdan <your name here>
 +
 +
== QLC+ ==
  
Originally invented and built by [[Benutzer:overflo|overflo]], the umbrellas were built by a lot of people on some nights at metalab
 
  
 +
Neue Fixture: [[Datei:Hauptraum_setup.qxw.txt]] (das muss nach ~/.qlcplus/fixtures/hauptraum-setup.qxf)
  
uniq, anlumo, ripper, ,...
+
Fixture: [[Datei:Metalab-Umbrella.txt]] (das muss nach ~/.qlcplus/fixtures/Metalab-Umbrella.qxf)
  
 +
Demo Desk: [[Datei:Test.txt]]
  
 
==Links==
 
==Links==
 
+
 
 
 
[http://www.qlcplus.org/ QLC+]
 
[http://www.qlcplus.org/ QLC+]
 
+
[https://de.aliexpress.com/item/DC5-24V-Wireless-Smart-Dimmer-Receiver-Output-5-Routes-PWM-Data-WiFi-APP-Controlled-for-RGBW H801]
+
[https://de.aliexpress.com/item/DC5-24V-Wireless-Smart-Dimmer-Receiver-Output-5-Routes-PWM-Data-WiFi-APP-Controlled-for-RGBW H801 Controllers]
 
+
 
[https://github.com/overflo23/H801_ARTnet Github]
 
[https://github.com/overflo23/H801_ARTnet Github]
 +
 +
[http://www.artisticlicence.com/WebSiteMaster/User%20Guides/art-net.pdf ART-net Reference]
 +
 +
[[Artnet]]
  
[http://www.artisticlicence.com/WebSiteMaster/User%20Guides/art-net.pdf ART-net Reference]
+
[https://github.com/reox/pybrella A Python implementation to control the umbrellas]

Version vom 16. Januar 2019, 19:56 Uhr

Buntschirm.jpg
U blue.jpg
U pink.jpg

Umbrella is the ceiling lighting of the main room. It consist out of 12 umbrellas capable of emitting light in either 16581375 RGB shades or 65025 white shades.

The umbrellas are controllable with art-net.

How to simply turn on/off the light

Use the light switch next to the kitchen. You can dim the light with the rotary knob on the side.


Umbrella lightswitch 1.jpg Umbrella lightswitch 2.jpg

If it does not work just power cycle it. Wait a couple of seconds.

Metalab school of software resilience(tm) :)

New Version

Out of good reasons, we upgraded the light switch to a much more powerful version.

This light switch has 4 buttons:

  • the "Mode" button on the side, surrounded by multiple light-ray-resembling lines. This button switches between different light modes for the umbrella-lights.
  • the "Reset" button on the other side, surrounded by an arrow revolving around it. If the switch doesn't work anymore, it can be restarted using this button. Wait a few seconds after pressing it shortly.
  • the "+" or "Brightness Up" button on top. This button increases the brightness of the umbrella-lights in all modes, except in party mode. For that mode, it increases the blinking speed.
  • the "-" or "Brightness Down" button on top. This button decreases the brightness of the umbrella-lights in all modes, except in party mode. For that mode, it decreases the blinking speed.

Each button is to be pressed shortly. For example: Holding one of the brightness-buttons does not result in a repeated button press. Short is key.

This light switch has several modes:

  • All Red (#F00)
  • All Lime (#0F0)
  • All Blue (#00F)
  • All Yellow (#FF0)
  • All Fuchsia (=Pink) (#F0F)
  • All Aqua (=Cyan) (#0FF)
  • All RGB White (RGB to 100%) (#FFF)
  • All Warm White
  • All Cold White
  • All Warm and Cold White
  • Party mode: All lights blink in different colors individually

Access data

Wlan SSID: metalights

Protocol: art-net

Host: 10.20.255.255

startUniverse: 3

There are 60 channel, 5 channels (RGBWW) per umbrella.

Why

The Metalab needed some new lights.

ART-net is awesome.


How

Raspberry Pi 3 + Touchscreen

Distro based on the QLC+ image (raspbian jessie)

QLC+ XServer less build that renders directly in GL buffers for performance

H801 based clients (ESP8266)

Arduino based firmware that implements ART-net

Temporary setup with QLC+

Connect to "metalights" WLAN

Set OUTPUT to 10.20.255.255

Set ARTnet universe to 3

There are 5 channels / Umbrella

R,G,B,WW,CW

If CW or WW are anything else but "0" then R,G and B are disabled by firmware.

If R,G or B are anything but "0" then CW and WW are disabled by firmware.

This is to save our power supplies from sudden heat death.

(105 watt / Umbrella max)


Hardware

H801 LED controller features:

  • 8 Mbit Storage (1 Mb)
  • 5 channels each 45 watt max (~ 3.5 Ampere @ 12 V / channel)


How to flash

  • Install Arduino IDE
  • Install ESP 8266 extensions
  • Choose generic ESP8266 Board under Tools->Board
  • Settings for ESP8266:
    Umbrella address.png
    • GENERIC ESP8266 Module
    • Flash Mode: DIO
    • Flash Size: 1M (512K SPIFFS)
    • Debug Port: Disabled
    • Debug Level: none
    • Reset Mode: ck
    • Flash Frequency: 40 MHz
    • CPU Frequency: 80 MHz
    • Upload Speed: 115200 or more


  • U need a USB-to-UART-board (set to 3.3V)
  • Connect GND to GND; RX to TX(!) and TX to RX(!); DO NOT CONNECT 3.3V!
  • Set JUMPER on board to boot into flash mode. (Important! Has to be set before power is connected, so board gets into flashing mode.)
  • Supply power via VCC & GND (12V should be adequate)

The code to flash can be found in the github repo. If you want to flash exactly this code (and what else would you flash in the main room), you will need these libraries:

Who

Originally invented and built by overflo, the umbrellas were built by a lot of people in some night shifts at Metalab

LOTS OF SUPPORT BY uniq, anlumo, ripper, bogdan <your name here>

QLC+

Neue Fixture: Datei:Hauptraum setup.qxw.txt (das muss nach ~/.qlcplus/fixtures/hauptraum-setup.qxf)

Fixture: Datei:Metalab-Umbrella.txt (das muss nach ~/.qlcplus/fixtures/Metalab-Umbrella.qxf)

Demo Desk: Datei:Test.txt

Links

QLC+

H801 Controllers

Github

ART-net Reference

Artnet

A Python implementation to control the umbrellas