description[IM] Serial RGB LED driver, Interplay Medium dendrite module (for ESP8266)
last changeSat, 28 Dec 2019 17:22:41 +0000 (18:22 +0100)

Serial RGB LED driver, Interplay Medium™ dendrite module (for ESP8266)

This is IM denrite module (remote wifi network device) created for Interplay Medium™ project.

Interplay Medium RGB Serial LED Dendrite

Pinouts

For LEDs be sure to add MOSFETs and current limiting resistors appropriately. Wiring scheme will be added probably later.

ESP8266 Pinout ESP8266 Programming

Bidirectional MOSFET level shifter

To drive an addressable RGB strip along with ESP8266, you need to synchronize logical levels. 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.

Bidirectional MOSFET level shifter

Preparing the building environment

Make sure that you have the environment installed as described at

  1. makeEspArduino.mk
  2. esp8266 Arduino SDK

  3. In the make script, change path for each variable approprately: MAKEFILE=.... ESPSDK_ROOT=....

Change your IM AXOD microserver or AP (router) WIFI login and password

create the file vim ../info

assign SSID and PASSWORD of your local IM AXOD microserver or Access Point in there

WIFI_SSID="ssid"
WIFI_PASS="ssid password"

You can change it later whenewer you want using HTTP interface

Building

initial buildong and flashing firmware at once

./make Serial_RGB upload

after that you may just build the binary and uload it using remote HTTP interface

./make Serial_RGB  
curl -F image=@Serial_RGB.bin -s im_<....>.lan/update

Usage

By default dendrite can be reached on "imserial[last 4 digits of MAC address]" doman

Change it with

curl "im_serial_[last 4 digits of MAC address]?rename=NEWNAME"

Turn on the color and effect

curl "im_serial_[last 4 digits of MAC address]?gradient=ffffffccff44&slidez=-1&delay=100"

Other options

curl "im_serial_[last 4 digits of MAC address]/help"

Todo

The development of this firmware is in progress. Here is a brief list of upcoming changes:

License

Copyright © 2016 Dmitry Shalnov [interplaymedium.org]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this files except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

shortlog
2019-12-28 Dmitry Shalnoffinitial commit master
2024-09-09 Dmitry Shalnoffreadme update
2024-09-09 Dmitry Shalnoffreadme update
2024-09-09 Dmitry Shalnoffinitial commit
heads
4 years ago master
Contact me: dev (at) shalnoff (dot) com
PGP fingerprint: A6B8 3B23 6013 F18A 0C71 198B 83D8 C64D 917A 5717