GithubHelp home page GithubHelp logo

kazem-ma79 / nodemcu-led Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 290 KB

Nodemcu RGB LED strip control over WiFi

C++ 50.49% CSS 13.87% JavaScript 22.73% C 12.92%
arduino nodemcu nodemcu-esp8266 nodemcu-lua nodemcu-project

nodemcu-led's Introduction

NodeMCU LED

NodeMCU RGB LED strip control over WiFi

Parts required

1x nodemcu (I used v3)
1x RGB LED strip (5 meter)
3x TIP41c transistors (or any with support 1.7 Amper)
3x small heat-sink for transistors (optional)
3x 3.3k-ohm resistors
1x 12v pwm fan
1x 12v 6A power supply
1x USB cable
1x breadboard or circuit board
some wires
Arduino IDE

Project Structure

Server.ino -> Main Arduino app source
Color.h -> Color manager header
Color.cpp -> Color manager source
mainPage.h -> Web-Server HTML file
assets -> Static CSS/JS files which can accessed from CDN

CDN links

I've uploaded files (minifed) to ArvanCloud CDN due to it's higher performance. Here's the links:
https://arduino.s3.ir-thr-at1.arvanstorage.com/style.min.css
https://arduino.s3.ir-thr-at1.arvanstorage.com/fan.min.css
https://arduino.s3.ir-thr-at1.arvanstorage.com/script.js
https://arduino.s3.ir-thr-at1.arvanstorage.com/fan.png

How To Start

Make the curcuit like the image below.
Change your WIFI name, password and IP address in Server.ino line 10,11,12.
Connect your NodeMCU (or any arduino based board) via USB to PC and upload sketch to board.

Full guide will be available on instructables.
If you want board to get IP Address from DHCP remove 12,13,14,41 lines from Server.ino file.

Circuit Scheme

circuit

Web-Panel Screenshot

You can access control panel from NodeMCU's IP address which is shown on Serial Monitor while device is turning on.
panel

nodemcu-led's People

Contributors

kazem-ma79 avatar

Stargazers

 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.