Good evening sorry for the inconvenience but I wanted to see if you can guide me in some doubts that I have esque I have the following project thought The project consists of 5 simulated lamps with a led each connected to a NodeMCU8266 which will be lit at a low intensity at a specific time while no connection is detected from the vehicle that will be simulated with another NodeMCU8266 the lamps will be stable mesh connection (Maya) between them to communicate with each other and turn on the lamps in series when a signal is received that will be sent from a simulated car with another nodeMCU that would have to be the root node, as soon as the car comes close to the lamps will detect the signal in the lamps and one another will increase their intensity of light, finally when the car has already finished passing the lamps they will return to their low intensity since they will not be receiving the signal from the car. But the problems I have had are the mesh connection between the NodeMCU8266 modules, hence the programming of the lamp's intency. I would really appreciate your help
Rui, I copied the code exactly, and the circuit exactly. Any clues why my output isn't pulsing. I'm getting a low output continuously. The output is high if I remove the LED circuit. Are there any registers I can print to get a clue as to what is going on?
I'm outputting a 38KHz pwm with an esp32-s3 and I'm seeing a few missing pulses every ~200ms. I think the phase is off. Not sure how to ensure it's in phase but it's something everyone should be cognizant of because this unintended behavior is hard to spot and can ruin a project.
Ola Rui Santos, Será é possível expandir portas pwm em " Mcp23017 i2c relação 16bit i/o módulo de extensão"? Se não, qual poderá ser outra solução? Estou a construir um AGV com 7 motores controlado por pwm. Parabéns pela apresentação, explicação muito boa, (e o meu inglês é mau :-) )
A warning for everyone who's using MOSFETS: If you are using MOSFETs for example to control your RGB led strip, please don't use a PWM frequency 5000Hz. My MOSFETs broke. Use a frequency roundabout 100Hz. That's enough.
There must be something else that needs to be addressed. Most MOSFETs should be able to switch very well into the low kHz range. I would also argue that a 100Hz switching speed for LEDs would likely be seen by the human eye as strobing, especially when the head is moved and the light is seen by the side of the eye
@@LukBukkit breadboards can add a lot of capacitive load that might make it harder to switch those mosfets. However 5kHz is still a very low frequency even for that
You can find the complete project details (schematics + source code), visit ► randomnerdtutorials.com/esp32-pwm-arduino-ide/
Good evening sorry for the inconvenience but I wanted to see if you can guide me in some doubts that I have esque I have the following project thought
The project consists of 5 simulated lamps with a led each connected to a NodeMCU8266 which will be lit at a low intensity at a specific time while no connection is detected from the vehicle that will be simulated with another NodeMCU8266 the lamps will be stable mesh connection (Maya) between them to communicate with each other and turn on the lamps in series when a signal is received that will be sent from a simulated car with another nodeMCU that would have to be the root node, as soon as the car comes close to the lamps will detect the signal in the lamps and one another will increase their intensity of light, finally when the car has already finished passing the lamps they will return to their low intensity since they will not be receiving the signal from the car.
But the problems I have had are the mesh connection between the NodeMCU8266 modules, hence the programming of the lamp's intency.
I would really appreciate your help
what do I do if I get " Compilation error: 'ledcSetup' was not declared in this scope"
OUTSTANDING STUFF! You guys are great teachers!
Youre good, short and efficient.
great video, straight to the point, really great stuff!!!
FANTASTIC and WELL EXPLAINED video, helped me a lot.
Brilliant 🤩! Thank you. More please! Stepper motors ?
Should i download any library?
Very good.
That's exactly what i was looking for.
Thanks so much
You're welcome! I'm glad it helped.
Very clear, well explained. Thanks a lot !
Thanks, great tutorials - learning a lot - be well
Verified the code and with the exception of the includes, all OK (#include were not part of the shared code)
So can I controll the led brightless using a potenciometer followin this rules but makin chnges in yhe codes?
Rui, I copied the code exactly, and the circuit exactly. Any clues why my output isn't pulsing. I'm getting a low output continuously. The output is high if I remove the LED circuit. Are there any registers I can print to get a clue as to what is going on?
I'm outputting a 38KHz pwm with an esp32-s3 and I'm seeing a few missing pulses every ~200ms. I think the phase is off. Not sure how to ensure it's in phase but it's something everyone should be cognizant of because this unintended behavior is hard to spot and can ruin a project.
what is the minimum frequency we can configure? Can we have 1 to 5 Hz?
Thanks, great tutorials, be well
could i use this to control a brushless motor ESC?
getting error that function Compilation error: 'ledcSetup' was not declared in this scope. reinstalled esp32 core and still getting that error
I have the same problem bro and I don’t know how to fix it 😭
@@Zeddifybrooo same problem if you found solution please share
Excellent video thankyou
Outstanding. Thank you!
Can I use for fan dimmer?
how to add a button for the fade to start when pressed and stop when released?
Hello Sir
I want to control more pwm point of esp32 But I failed to do that.
Can you tell me solution of it.
Ola Rui Santos,
Será é possível expandir portas pwm em " Mcp23017 i2c relação 16bit i/o módulo de extensão"? Se não, qual poderá ser outra solução? Estou a construir um AGV com 7 motores controlado por pwm.
Parabéns pela apresentação, explicação muito boa, (e o meu inglês é mau :-) )
Thanks :)
Why do you need the resistor?
for safety of ur mcr
A warning for everyone who's using MOSFETS:
If you are using MOSFETs for example to control your RGB led strip, please don't use a PWM frequency 5000Hz. My MOSFETs broke. Use a frequency roundabout 100Hz. That's enough.
There must be something else that needs to be addressed. Most MOSFETs should be able to switch very well into the low kHz range. I would also argue that a 100Hz switching speed for LEDs would likely be seen by the human eye as strobing, especially when the head is moved and the light is seen by the side of the eye
@@AlessioSangalli Yeah you're right, somehow there was something wrong with my breadboard. I rebuild everything and now it works without any damage.
@@LukBukkit breadboards can add a lot of capacitive load that might make it harder to switch those mosfets. However 5kHz is still a very low frequency even for that