Help me please. Esp32 pwm Led light controller.

I've been working on and off on the same issue for a while now. What I found to work is using the NTPclient library to keep track of time and using if statements for each part of the day (e.g. ramp up from 9-12, constant brightness from noon to 6 and ramp down from 6-8). Within those if statements you can create a math function to gradually increase the brightness of the lamp. I've been testing it with just a single 5mm LED.
 
I've been working on and off on the same issue for a while now. What I found to work is using the NTPclient library to keep track of time and using if statements for each part of the day (e.g. ramp up from 9-12, constant brightness from noon to 6 and ramp down from 6-8). Within those if statements you can create a math function to gradually increase the brightness of the lamp. I've been testing it with just a single 5mm LED.
Thank you! I am trying to use Blynk time input widget. I found a very nice code using It (not related to leds) that explain almost everything about the coding processo of this widget, so I wanna try to do sth like you are doing but using the Blynk time input widget. Let's see. I have no time until the weekend :-(.

Thanks alot!
 
Caso seu objetivo principal não seja aprender a programar um ESP32, gostaria de indicar meu controlador AquariOS . A versão mais recente baseia-se em um módulo ESP32 WROVER, oferecendo
  • 8 canais de luz PMW com rampa programável
  • 4 canais de bomba analógicos + 4 PWM, permitindo formas de potência personalizadas
  • 4 canais de aquecedor/resfriador PWM (ligado/desligado)
Até a versão 0.9.3 você pode usá-lo mesmo com um módulo WROOM. Mais alguns componentes (breadboard, módulo PCA9685 PWM, drivers LDD, display OLED/TFT) e você tem uma solução de rede ultra-barata, porém capaz, com uma interface web.

Aqui está um despejo de tela do controlador que estou executando atualmente em casa:

AquariOS-SD-201007-191140.png


Boa sorte!
Hi, i want this. How tell with you? Buy 8 pucks, one power 56v meanwells, 8 LDDs-H 700ma and now need of esp32 that controller all this.
 
I use a Blynk program and the ESP8266 to control my lights.

Program:

8266:

20200117_152452.jpg
I buyed 8 lddss and one powe of 56V of Meanwells i think that i not need build all this, but i don't know how to put it all together
 
As an Amazon Associate we earn from qualifying purchases.

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%
Back
Top