Skip to content

PWM LED strips controlled by a nodeMCU that get's it's data from a web app that is hosted on a raspberry pi

License

Notifications You must be signed in to change notification settings

Man-X98/web-app-controlled-LED-strip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web-app-controlled-LED-strip

PWM LED strips controlled by a nodeMCU that gets its data from a web app that is hosted on a raspberry pi.

Communication works over wifi.

Requirements:

  • Raspberry Pi (pi zero works fine)
  • NodeMCU or other ESP8266 board
  • 3 MOSFET transistors
  • 12V to 5V converter
  • 12V powersupply
  • LED strip (non addressable, just +12V and R, G, B connectors)
  • cables and some blank circuit board to solder everything onto

How to use:

For desktop use: go to "IP OF YOUR RASPBERRY":80

For mobile use: go to "IP OF YOUR RASPBERRY":80/mobile

How it works:

The flask based web app handles user input and stores the values for each volor in a list. The nodeMUC gets these values as a string via a http get request. Then the passed string is split uo into the three original values and the nodeMCU sets the PWM values accordingly. The transistors are needed to controll the higher powerded LEDs

In my case a 12V powersupply powers the nodeMCU and the LEDS. If you power the nodeMCU via a standart USB charger you dont need a 12V to 5V converter

Sources:

Got the http part for the NodeMCU from this Website

About

PWM LED strips controlled by a nodeMCU that get's it's data from a web app that is hosted on a raspberry pi

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published