Browse Source

add some files

kyle 1 year ago
parent
commit
ae16f4dc71
2 changed files with 10 additions and 0 deletions
  1. 8 0
      README.md
  2. 2 0
      web/README.md

+ 8 - 0
README.md

@@ -0,0 +1,8 @@
+# Simple WiFi RGB Light Controller
+We have a cheap LED strip that has RGB lights connected in parallel.  The strip looks like a single LED, technically a single red, single green, and single blue LED.  It came with a junk controller and terrible documentation.  When we plugged it in it allows selecting between on/off, six colors, and a weird strobing animation.
+
+This project uses a ESP8266 WiFi enabled microcontroller that runs a HTTP server and connects to our network.  There is a web based frontend that allows one to see what color is currently being displayed, select color, and program an animation.
+
+# ESP8266
+Turn on the green LED maximum brightness, `curl -X POST http://rain-gutter-rgb.lan.rome7.com/rgb -d "color=00FF00"`.
+Get the current color in decimal, `curl http://rain-gutter-rgb.lan.rome7.com/dec`.

+ 2 - 0
web/README.md

@@ -0,0 +1,2 @@
+# Subtractive Color Mixing
+Most color mixing on user interfaces are based on real world pigment mixing where adding all colors together produces black.  And even then they only let you pick colors based on pre-generated models.  If you use the program to paint it will use a completely different algorithm to mix colors.  I think they call it blending.  Even in 2023, fire up the premium Adobe product suite, mix yellow and blue and you end up with