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
K (fixed typo, added colors)
(34 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.
  
The metalab needed some new lights.
+
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.
  
ARTnet is the name of the game.
+
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.
  
== How ==
+
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==
  
Raspberry Pi 3
+
Wlan SSID: metalights
  
Hostapd for Accesspoint mode
+
Protocol: [https://en.wikipedia.org/wiki/Art-Net art-net]
  
QLC+ headless build
+
Host: 10.20.255.255
  
Various H801 based clients (ESP8266)
+
startUniverse: 3
  
 +
There are 60 channel, 5 channels (RGBWW) per umbrella.
  
==Who==
+
==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)
 +
  
Originally invented and built by [[Benutzer:overflo|overflo]], the project is now maintained by:
+
=== How to flash ===
 +
* Install [https://www.arduino.cc/en/Main/Software Arduino IDE]
 +
* Install [http://esp8266.github.io/Arduino/versions/2.0.0/doc/installing.html ESP 8266 extensions]
 +
* Choose generic ESP8266 Board under Tools->Board
 +
* Settings for ESP8266:  [[File:Umbrella_address.png|300px|right]]
 +
** 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
 +
  
<insert name here>
+
* 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:
  
Please contact anyone from the list above for questions regarding the metalabs light setup.
+
* [https://github.com/rstephan/ArtnetWifi ArtnetWifi] (Has to be installed via git clone to ~/Arduino/libraries)
 +
* [https://github.com/tzapu/WiFiManager WifiManager]
 +
* [https://arduinojson.org/ ArduinoJson] (Version 5.13.3)
  
 +
==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+ ==
  
  
 +
Neue Fixture: [[Datei:Hauptraum_setup.qxw.txt]] (das muss nach ~/.qlcplus/fixtures/hauptraum-setup.qxf)
  
==Links==
+
Fixture: [[Datei:Metalab-Umbrella.txt]] (das muss nach ~/.qlcplus/fixtures/Metalab-Umbrella.qxf)
  
 +
Demo Desk: [[Datei:Test.txt]]
  
 +
==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 Controllers]
 +
 +
[https://github.com/overflo23/H801_ARTnet Github]
 +
 +
[http://www.artisticlicence.com/WebSiteMaster/User%20Guides/art-net.pdf ART-net Reference]
 +
 +
[[Artnet]]
  
[https://de.aliexpress.com/item/DC5-24V-Wireless-Smart-Dimmer-Receiver-Output-5-Routes-PWM-Data-WiFi-APP-Controlled-for-RGBW H801]
+
[https://github.com/reox/pybrella A Python implementation to control the umbrellas]
 
 
[https://github.com/overflo23/H801_ARTnet Github]
 

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