description[IM] Combined 4 Channel Switcher / LED stripe controller, Interplay Medium™ dendrite module (for ESP8266)
last changeMon, 5 Aug 2019 12:13:05 +0000 (14:13 +0200)

4 Channel Switcher / LED stripe controller, Interplay Medium™ dendrite module (for ESP8266)

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

Interplay Medium 4 Channel Switcher Dendrite

Pinouts

ESP8266 Pinout ESP8266 Programming

For SSR be sure to add MOSFETs and maybe current limiting resistors appropriately. Complete wiring scheme will be added later.

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 (like in my HW design) 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 building and flashing firmware at once

./make 4_Channel_Switcher upload

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

./make 4_Channel_Switcher  
curl im_switch_MACLAST4DIGITS/update -F image=@4_Channel_Switcher.bin

Usage

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

Change the name of unit by

curl im_switch_[last 4 digits of MAC address]?host=NEWNAME

Turn on each even switches

curl im_switch_[last 4 digits of MAC address]?switch=0101

Other options

curl im_switch_MACLAST4DIGITS/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-08-05 Dmitry Shalnoffinitial commit master
2024-09-10 Dmitry Shalnoff4 Channel Switcher
heads
5 years ago master
Contact me: dev (at) shalnoff (dot) com
PGP fingerprint: A6B8 3B23 6013 F18A 0C71 198B 83D8 C64D 917A 5717