1 # Serial RGB LED driver, Interplay Medium dendrite module (for ESP8266)
3 This is IM denrite module (remote wifi network device) created for [Interplay Mediumâ„¢](https://interplaymedium.org) project.
5 ![Interplay Medium RGB Serial LED Dendrite](https://repository.interplaymedium.org/Serial_RGB/IMG_2142.jpg)
9 For LEDs be sure to add MOSFETs and current limiting resistors appropriately. Wiring scheme will be added probably later.
11 ![ESP8266 Pinout](https://repository.interplaymedium.org/RGBW%20Controller/esppinout_.png)
12 ![ESP8266 Programming](https://repository.interplaymedium.org/RGBW%20Controller/usbprogram_.png)
14 ## Bidirectional MOSFET level shifter
16 To drive an addressable RGB strip along with ESP8266, you need to synchronize logical levels.
17 I usually use a simple MOSFET solution for single-channel shifting, hovever for multi-channel management, I would recommend using a simple Logic Gate IC like 74HC08 or a level shifter such as TXB0104.
19 ![Bidirectional MOSFET level shifter](https://repository.interplaymedium.org/Serial_RGB/bidirectonal-mosfet-level-shifter.png)
21 ## Preparing the building environment
23 Make sure that you have the environment installed as described at
25 1. [makeEspArduino.mk](https://github.com/plerup/makeEspArduino.git)
26 2. [esp8266 Arduino SDK](https://github.com/esp8266/Arduino)
28 3. In the *make* script, change path for each variable approprately:
32 ## Change your IM AXOD microserver or AP (router) WIFI login and password
37 assign SSID and PASSWORD of your local IM AXOD microserver or Access Point in there
40 WIFI_PASS="ssid password"
42 You can change it later whenewer you want using HTTP interface
46 initial buildong and flashing firmware at once
48 ./make Serial_RGB upload
50 after that you may just build the binary and uload it using remote HTTP interface
53 curl -F image=@Serial_RGB.bin -s im_<....>.lan/update
58 By default dendrite can be reached "im_serial_[last 4 digits of MAC address]" doman
62 curl "im_serial_[last 4 digits of MAC address]?rename=NEWNAME"
64 Turn on the color and effect
66 curl "im_serial_[last 4 digits of MAC address]?gradient=ffffffccff44&slidez=-1&delay=100"
70 curl "im_serial_[last 4 digits of MAC address]/help"
74 The development of this firmware is in progress. Here is a brief list of upcoming changes:
76 * features (save, reset....)
77 * state return in 2 variants
82 dimm and soft state changing
83 rgbwdef -- save default values in EEPROM, which is returning on reset command
85 * switching AP/slave, AP by defuault
86 remote access setup (host name, AP/slave, SSID, passw)
91 Copyright © 2016 Dmitry Shalnov [interplaymedium.org]
93 Licensed under the Apache License, Version 2.0 (the "License");
94 you may not use this files except in compliance with the License.
95 You may obtain a copy of the License at
97 http://www.apache.org/licenses/LICENSE-2.0
99 Unless required by applicable law or agreed to in writing, software
100 distributed under the License is distributed on an "AS IS" BASIS,
101 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
102 See the License for the specific language governing permissions and
103 limitations under the License.