Code Monkey home page Code Monkey logo

switchtoy's Introduction

switchtoy

ESP 8266 based wifi switch with LED indicators. Base for simple IOT indicator/switch

Requirements:

Hardware:

ESP8266 "Wemos NodeMCU" module
2x 60MM Arcade buttons (Aliexpress)
WS2812B strip (2 LEDs) - 60/m
3d printed case
2x screws 3x10-15mm
Optional: Silicone/rubber stick on pads for the bottom

Software

VS Code
PlatformIO

Pinout:

(Wemos markings):
VN/5V -> led strip power
GND -> red switch p1, green switch p1, red led p1, green led p1
D1 -> green switch p2
D2 -> red switch p2
D5 -> Green led +
D6 -> red led +
D7 -> led strip signal

##Build instructions Print the upper and lower part of the case (without support)
Screw in the switches
Cut a two LED piece of LED strip, solder wires and place it in the rail
Wire/solder the board esp8266 as per picture

Soldering Final product

switchtoy's People

Contributors

geekmystique avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.