description | [IM] Combined 4 Channel Switcher / LED stripe controller, Interplay Medium™ dendrite module (for ESP8266) |
last change | Mon, 5 Aug 2019 12:13:05 +0000 (14:13 +0200) |
Clone the code | git clone https://git.shalnoff.com/git/4_Channel_Switcher |
This is IM denrite module (remote wifi network device) created for Interplay Medium™ project.
For SSR be sure to add MOSFETs and maybe current limiting resistors appropriately. Complete wiring scheme will be added later.
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.
Make sure that you have the environment installed as described at
In the make script, change path for each variable approprately: MAKEFILE=.... ESPSDK_ROOT=....
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
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
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
The development of this firmware is in progress. Here is a brief list of upcoming changes:
add commands
dimm and soft state changing
rgbwdef -- save default values in EEPROM, which is returning on reset command
switching AP/slave, AP by defuault
remote access setup (host name, AP/slave, SSID, passw)
save in EEPROM
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.
2019-08-05 | Dmitry Shalnoff | initial commit master | commit | commitdiff | tree | snapshot |
2024-09-10 | Dmitry Shalnoff | 4 Channel Switcher | commit | commitdiff | tree | snapshot |
5 years ago | master | shortlog | log | tree |