Umbrella: Unterschied zwischen den Versionen

aus Metalab, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Wechseln zu: Navigation, Suche
(Links)
 
(3 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt)
Zeile 81: Zeile 81:
 
* Install [https://www.arduino.cc/en/Main/Software Arduino IDE]
 
* 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]
 
* Install [http://esp8266.github.io/Arduino/versions/2.0.0/doc/installing.html ESP 8266 extensions]
* Choose correct Board under Tools->Board
+
* Choose generic ESP8266 Board under Tools->Board
 
* Settings for ESP8266:  [[File:Umbrella_address.png|300px|right]]
 
* Settings for ESP8266:  [[File:Umbrella_address.png|300px|right]]
 
** GENERIC ESP8266 Module
 
** GENERIC ESP8266 Module
Zeile 93: Zeile 93:
 
** 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)
 
   
 
   
* Set JUMPER on board to boot into flash mode.
+
The code to flash can be found in the [https://github.com/overflo23/H801_ARTnet github repo].
* Power up the board.
+
If you want to flash exactly this code (and what else would you flash in the main room), you will need these libraries:
 
  
A successfully tested art-net library for ESP is [[ArtnetWifi]]
+
* [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==
 
==Who==
Zeile 108: Zeile 114:
 
   
 
   
 
== QLC+ ==
 
== 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)
 
Fixture: [[Datei:Metalab-Umbrella.txt]] (das muss nach ~/.qlcplus/fixtures/Metalab-Umbrella.qxf)
 +
 
Demo Desk: [[Datei:Test.txt]]
 
Demo Desk: [[Datei:Test.txt]]
  
Zeile 122: Zeile 133:
 
   
 
   
 
[[Artnet]]
 
[[Artnet]]
 +
 +
[https://github.com/reox/pybrella A Python implementation to control the umbrellas]

Aktuelle Version vom 19. November 2018, 09:58 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) :)

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