NodeMcu AC Light Dimmer | Part #1 | Tutorial # 32

  Рет қаралды 143,107

Netmedias

Netmedias

Күн бұрын

Пікірлер: 334
@soovui
@soovui 4 жыл бұрын
Hello, I am having trouble dealing with LED Driver with Trailing Edge Triac Dimmer. I try to driver 2 lamps, it flickers most of the time when I dimmed down to around 30~40% only. Please help, anyway by modifying the code can solve the problem?
@brunopedro3765
@brunopedro3765 4 жыл бұрын
Hello, How can you use this code with 50Hz 230V eletrical grid? The light blinks a lot when in low intensity.
@Human-bf7kz
@Human-bf7kz 3 жыл бұрын
Non dimmable LED perhaps ?
@michelvandamme8450
@michelvandamme8450 2 жыл бұрын
have you also video with the Hot AC Dimmer ESP 8266 D1 Mini, and also what other module you can put on it ? thanks
@RogeSaint
@RogeSaint 4 жыл бұрын
Great video! How would I connect a potentiometer to the dimmer module? Thanks.
@vladimirpotapov7050
@vladimirpotapov7050 3 жыл бұрын
Thank you for your tutorial! Tell me please what should I change in the programm if I want to set brightness 0 from serial?
@calicolombia1004
@calicolombia1004 Жыл бұрын
Hi, may i use this dimmer with pwm signal from a board cnc? I is in order to control a 110v motor rpm. 800w. Thanks for any answer
@microcontrollersexplained6551
@microcontrollersexplained6551 3 жыл бұрын
could you please tell me, how can I turn the light off? I have tried setting "tarBrightness = 0". It turns the light off but never turns on again.
@tripleakat
@tripleakat 5 жыл бұрын
Thanks.. it worked! Only the led driver is making a buzz noise. Is there a way to make it silent when dimming? Perhaps some modifications in the code? Or adding hardware? Thanks
@tripleakat
@tripleakat 5 жыл бұрын
Extra info: I dont have the problem with an ELV dimmer. It's silent. The lights are 3x 4,5W Spot Led lights (Philips Shellbark) connected to one led driver.
@javiersumanoperez4676
@javiersumanoperez4676 4 жыл бұрын
Hello, i don't speake English so al sorry if i can't be rigth. We can add libraly fauxco yo work with Smart devices with Alexa , so we can say "Alexa power on lamp in 50%"? Thanks for Pay atention in My comment.
@syafiqsafiuddin6174
@syafiqsafiuddin6174 2 жыл бұрын
Can i ask where the usb at nodemcu connect to?is it a laptop or a head charger
@farsidd
@farsidd 5 жыл бұрын
Vcc Pin on Ac Light Dimmer is it necessary to connect it with 3.3v to operate the module because in my case i did not connect Vcc pin to any source just use PWM, Z-C and GND pin and the module perfectly working ?
@abdulwahab_amir
@abdulwahab_amir 4 жыл бұрын
can you help me for an iot project I want to turn the bulb to dim state when nodemcu starts and when motion detected it turn the bulb in full state for sometime and back to dim state.
@ergicgaming1618
@ergicgaming1618 4 жыл бұрын
hi can i use the RobotDyn Dimmer without the delay of the light. example is when i put 50 i just output 50 in my pwmpin. or will it damage it and the delay is realy needed?
@madarina6644
@madarina6644 4 жыл бұрын
ets_sys.h no such file directory, cant find the lib in google? how fix it? thanks
4 жыл бұрын
Greetings and thanks for a nice video. I bought a module and started testing. I found that PWM signal control has problems with a standard 60W bulb. At more than 10% dimming, the output PWM signal disintegrates to a pure sine, so it climbs 100%. Without a light bulb it works well. Tested by oscilloscope. I ask the author whether he can confirm this phenomenon and possibly modify the code. The original robotdyn code with only gliding signal over cross zero works with the bulb, but I am not able to implement it :-( Thanks.
@IPIX360
@IPIX360 2 жыл бұрын
Could you provide the files since on github cannot found these files anymore (there is also a version with Alexa included - which through errors, if I follow your procedure).
@MegaYuas
@MegaYuas 5 жыл бұрын
dear sir , thumps up i was looking for this project but problem is there is no schematic diagram of robodyne.Kindly can u arrange one.
@ihzamfahraz7208
@ihzamfahraz7208 5 жыл бұрын
Misi , can i ask , why my dimmer light doesnt work normal , and if i put the code is 45 but , the bulb not down
@VeyrmanKatituta
@VeyrmanKatituta 5 жыл бұрын
I did everything, everything works, but .... I cannot enter 0, it does not turn off completely, what should I do?
@elizeudossantosdias5839
@elizeudossantosdias5839 5 жыл бұрын
Did you ever disconnect fully, friend? I have the same problem, typing 0 does not completely turn off.
@kashyapmehta3192
@kashyapmehta3192 5 жыл бұрын
My Bulb is not getting dimmer. I am using the same code as yours but my output (bulb) is full glowing and unable to dim using serial port. Please help
@netmedias7657
@netmedias7657 5 жыл бұрын
Kashyap Mehta Make sure you are using dimmable bulb. I tested it with 110v 60Hz with a dimmable LED bulb.
@martineilbartley9064
@martineilbartley9064 4 жыл бұрын
Is the input of the AC dimmer a Dc current from the arduino?
@lauramuller3070
@lauramuller3070 4 жыл бұрын
Can i also use the RobotDyn with just 12V Input?
@vicbcn5455
@vicbcn5455 4 жыл бұрын
Hi Nassir!!, Thank you very much for your video. Suscribed! . I’ve got some devices and I would like to config it pushing a button. If you push the button (turn on/turn off) if you press the button for more than x seconds the light increase/decrease. Do you have a code or some tutorial? Best Regards,
@veronicakaur8526
@veronicakaur8526 4 жыл бұрын
Sir I'm getting garbage values in serial monitor while using this code....it's not picking up values. Can u please help by telling what could be the problem ??
@rc3443
@rc3443 2 жыл бұрын
hi, is this done by pulse skipping or phase cutting?
@pandunm
@pandunm 6 жыл бұрын
I bought the product u mentioned sir. but in my case the code u shared is not working properly. i don't know what is the mistake can u please suggest
@animusdsouza9718
@animusdsouza9718 6 жыл бұрын
Since you're using PWM so only one device can be dimmed as esp8266 has only one pwm pin and that too it's a software pwm, so if there's congestion in the network traffic, it would respond slowly . esp32 has 8 dedicated hardware PWM pins, you may like using it.
@netmedias7657
@netmedias7657 6 жыл бұрын
temporary account1 You are right it is better to use hardware GPIO than the software GPIO for better speed. I will keep this in mind when doing the next dual dimmer project. Thank you for your feedback.
@MarcoAntonio-nw2dq
@MarcoAntonio-nw2dq 5 жыл бұрын
When installing the bulb on the ceiling of the house, does the esp8266 need to stay on 5v or will it be powered by the ac dimmer board?
@brunopedro3765
@brunopedro3765 4 жыл бұрын
You always have to power the ESP trough 5V (trough a small transformer for example). The ac dimmer is powered by the 3.3V output pin of ESP or any 3v or 5V connection
@thetechrumble6596
@thetechrumble6596 4 жыл бұрын
Pleas help me by using above circuit i can control my ceiling fan it worked but it gives humming sound/ noise at low speed and as soon as i increase the speed upto 75% humming sound goes off but it stuck on that speed and circuit lost the control over speed in order to control speed again i need to switch off the circuit ... humming sound will not apper on low and high speeds ....please help P.S. Light dimming through above circuit works perfectly
@amgu6596
@amgu6596 5 жыл бұрын
Hi , nice video .. I made one dimmer circuit my own and tried to control from nodemcu with your code ... Not able to control the light dimming.. Please suggest
@netmedias7657
@netmedias7657 5 жыл бұрын
You need to make sure to detect zero crossing and turn on on and off the power on correct time.All zero crossing circuit work same way. Good luck.
@Ayce47
@Ayce47 4 жыл бұрын
Does this work with all types of bulbs?
@bcarlisle2575
@bcarlisle2575 5 жыл бұрын
Can this be integrated into your 4-way current based circuit ?
@sankarmondal89
@sankarmondal89 5 жыл бұрын
Can I connect the dimmer along with a relay module with nodemcu? Also can we control the entire project from blynk app?
@SaiPrashaanth
@SaiPrashaanth 6 жыл бұрын
thanks for the informative tutorial. i have a couple of questions, This uses a hardware timer to control a single channel. So how do i extend this scope to condtol multiple such ac modules? I'm curious if i can control multiple devices with a single nodemcu.
@netmedias7657
@netmedias7657 6 жыл бұрын
htnaahsarP iaS Dimmer requires 2 GPIOs per module. You can control 6 dimmers with one NodeMcu. Good luck.
@SaiPrashaanth
@SaiPrashaanth 6 жыл бұрын
@@netmedias7657 thanks for your quick reply. does that mean every module needs to have a separate subroutine to track zero crossing? I was thinking of making all the inputs common so that I can directly use a single ZC and use the rest for dimming... Also about using the other pins for pwm output, how would one go to implement that in your opinion? Isn't there a limitation on the number of timers onboard? please correct me if i'm wrong, I'm still in the infant stages of understanding what's possible/not-possible with this chip...
@netmedias7657
@netmedias7657 6 жыл бұрын
You can try that. It may work since it is the same cycle for ZC. I am not sure about the number of timers we can run at the same time. I may try to test this out soon.
@SaiPrashaanth
@SaiPrashaanth 6 жыл бұрын
@@netmedias7657 thats great. will try it out and update when i get some result. thanks...
@matyramirez2434
@matyramirez2434 Ай бұрын
donde estan las librerias?
@HaiderAli-nm1oh
@HaiderAli-nm1oh 4 жыл бұрын
i get an error :ets_sys.h: No such file or directory , im using DOIT DEVKIT V1
@adnestrada
@adnestrada 4 жыл бұрын
Can I used it without connecting the Z-C pin?
@sebydocky5080
@sebydocky5080 5 жыл бұрын
Thanks a lot for this video. Do you know a Dimmer able to output up to 4000-5000W for the load ? This is one is ranked only up to 500W ?
@netmedias7657
@netmedias7657 5 жыл бұрын
It depends on the load. Maybe the included heatsink is not adequate enough for higher load.
@farooqraza7474
@farooqraza7474 5 жыл бұрын
Sir can u please make a video on How to link this with ifttt And control over voice commands
@MrJoeyd11ph
@MrJoeyd11ph 3 жыл бұрын
Great projects you have here. Can I request a single-phase induction motor inverter?
@haroldgumafelix7287
@haroldgumafelix7287 Жыл бұрын
what type of light is that?
@demetrisbazile5498
@demetrisbazile5498 5 жыл бұрын
Would this dimmer work with LED arrays?
@kashif1964
@kashif1964 6 жыл бұрын
Can u make a video in which 4 relays control by 4 buttons using ESP8266 12E means can also use Alexa or google home as well maually use buttons to onoff light and other items
@netmedias7657
@netmedias7657 6 жыл бұрын
Kashif Afzaal Please check out my 3 way switch video. kzbin.info/www/bejne/a4TKc2mtr8yrj5I
@angelloubation8063
@angelloubation8063 5 жыл бұрын
Hi I want to know if I used particle photon, is it the same code as arduino? if I used 4ac led dimmer for my 3 bulbs what I'm going to do for my code? Is zero-cross detector used only once?
@netmedias7657
@netmedias7657 5 жыл бұрын
It is Arduion compatible so you shroud be able to use the same code. I am release the 4channel tutorial soon. Stay tuned.
@angelloubation8063
@angelloubation8063 5 жыл бұрын
@@netmedias7657 thank you, hope the code also.
@hinasaysdilkibaat9080
@hinasaysdilkibaat9080 3 жыл бұрын
My dimmer haims three ports for load and AC-In only ho to connect four wires for bulb?do help me
@netmedias7657
@netmedias7657 3 жыл бұрын
Sorry, I don't understand your question
@ichtiarwanramadanu1175
@ichtiarwanramadanu1175 2 жыл бұрын
how to distinguish neutral and voltage wire?
@pcmobiletechnicalsolutions8504
@pcmobiletechnicalsolutions8504 2 жыл бұрын
hello sir after i upload this code to node mcu its starts blinking the led and in serial monitor runing lines hex codes ISR not in IRAM User exception (panic/abort/assert) --------------- CUT HERE FOR EXCEPTION DECODER --------------- Abort called
@pcmobiletechnicalsolutions8504
@pcmobiletechnicalsolutions8504 2 жыл бұрын
what esp8266 core version u using
@firdoshdiakus4841
@firdoshdiakus4841 5 жыл бұрын
The light bulb you using is it a Dimmable led bulb?? Just want to make sure cause many tutorials on this subject says it is not for Dimming Led bulbs so a bit confusing.
@netmedias7657
@netmedias7657 5 жыл бұрын
Firdosh Diakus It is dimmable LED.
@muhammadhaashir7489
@muhammadhaashir7489 3 жыл бұрын
Can it controll the speed of AC ceiling fan?
@netmedias7657
@netmedias7657 3 жыл бұрын
Yes you can but you will hear some noise. You will need to filter out the noise
@madhukeshnp
@madhukeshnp 5 жыл бұрын
I had tried tried serial dimming as shown in the tutorial. Then it worked out just fine.. But now i want to do the same. But its not working. The code compiles without any error. I also copied the whole code from your Github page. And also the library as well. But its not responding. I double checked the dimmer circuit as well and its working fine. The arduino ide is also the same.. I am not able to troubleshoot the problem. Can you help me out to figure out whats wrong ?
@larissaoliveira2504
@larissaoliveira2504 Жыл бұрын
I'm with the same problem
@firdoshdiakus4841
@firdoshdiakus4841 5 жыл бұрын
The dimmer module is rated at 16 amps so I should be able to drive 8 x 7 watt Led down lights in parallel which is only about 4 amps in total am i correct on this??
@netmedias7657
@netmedias7657 5 жыл бұрын
Yes, It should work fine.
@firdoshdiakus4841
@firdoshdiakus4841 5 жыл бұрын
@@netmedias7657 Thank you
@SaddatAkber
@SaddatAkber 6 жыл бұрын
Waiting eagerly for the next uploads in this regards..Thanks:)
@netmedias7657
@netmedias7657 6 жыл бұрын
Stay Tuned. Thanks
@muhammaafzal7341
@muhammaafzal7341 2 жыл бұрын
Sir can i control the fan speed
@baco2000
@baco2000 5 жыл бұрын
What needs to be changed so that functions with 50HZ? Thanks
@tharunmax4406
@tharunmax4406 4 жыл бұрын
No change
@baco2000
@baco2000 4 жыл бұрын
@@tharunmax4406 False
@madhukeshnp
@madhukeshnp 6 жыл бұрын
Can we use a rotary encoder instead of serial monitor ? Cuz who uses a serial monitor to dim the light !!! If we have a rotary encoder them it may come in handy during times. Can you make a tutorial on this ?
@netmedias7657
@netmedias7657 6 жыл бұрын
I am not sure. Let me look into it.
@madhukeshnp
@madhukeshnp 6 жыл бұрын
@@netmedias7657 thank you
@youssefbentahra
@youssefbentahra 2 жыл бұрын
I get an error: ets_sys.h: No such file or directory. I am using IDE Arduino 1.8.19 I tried to search the library but it not working.
@matyramirez2434
@matyramirez2434 Ай бұрын
me pasa lo mismo, lo pudiste resolver?
@aimanrosli2461
@aimanrosli2461 5 жыл бұрын
can i put ldr sensor to change the brightness of the lamp?.
@netmedias7657
@netmedias7657 5 жыл бұрын
Yes, but you need yo modify the code to achieve it.
@farsidd
@farsidd 6 жыл бұрын
how to connect this module with home switch board ? is it necessary to connect neutral wire for every switch ?
@netmedias7657
@netmedias7657 6 жыл бұрын
Yes you need to use neutral wire and ground wire.
@simondevantier3983
@simondevantier3983 6 жыл бұрын
What about controlling a ws2812b led strip with an ESP8266 with Google Home?
@netmedias7657
@netmedias7657 6 жыл бұрын
Thank you for your suggestion. I will put it on my to do list.
@polclota
@polclota 6 жыл бұрын
It does not work for me, same setup, I guess. None of the two sketches work even though it works with the original code from RobotDyn for the Arduino Uno. What do you mean by "Downgrade ESP board in arduino ide" what board version am I supposed to use, 2.3.0?
@netmedias7657
@netmedias7657 6 жыл бұрын
Use 2.3.0 for ESP board support and you may need to modify the timer for 220 volts.
@polclota
@polclota 6 жыл бұрын
@@netmedias7657 Thanks but no clue in finding out the right value for 220v and 50Hz, I've tried changing dimDelay value in zcDetectISR and still the same.
@seaofcuriosity
@seaofcuriosity 3 жыл бұрын
Will this make humming sound for fan ?
@netmedias7657
@netmedias7657 3 жыл бұрын
It may may not, you have to try it. Every fan is different
@seaofcuriosity
@seaofcuriosity 3 жыл бұрын
@@netmedias7657 in general i have seen triac dimmers to hum . What technology do commercial dimmers use ?
@netmedias7657
@netmedias7657 3 жыл бұрын
​@@seaofcuriosity use cap or low pass mains filter to isolate noise
@michellenaficy6333
@michellenaficy6333 5 жыл бұрын
I was having trouble with turning low voltage LED lights off - I would get a flicker. I'm sharing here because maybe someone will benefit from my fix: By placing some serial print code in, I discovered that when the device was off, it was still jumping between turning the pmwPin on in dimTimerISR and off in zcDetectISR. In dimTimerISR, I chanced "if (curBrightness == 0)", which turning OFF never started to use, to "if (curBrightness
@TimAndersen22
@TimAndersen22 5 жыл бұрын
I still had issues after applying your solution above. Spent some time trying debug this code for my purposes. After many flashes and serial prints, I just decided to re-write it. I am using an ESP-12F D1 so that is how my pin assignments are set. If you interested github.com/no-bull/homeassistant/tree/master/LightDimmer. Note: when using the Serial.parseInt() the val immediately gets set back to zero. I initially thought it was because the variable was declared in the sub. I tried to declare it during initialization but had the same result. My solution was to use -1 to turn the light off.
@amgu6596
@amgu6596 5 жыл бұрын
Hello I am using the circuit with 220v 50Hz Anything needs to be changed in the code provided for these values. Thanks
@netmedias7657
@netmedias7657 5 жыл бұрын
It should work as is
@amgu6596
@amgu6596 5 жыл бұрын
@@netmedias7657 hw_timer.c , hw_timer.h should remain same right ?
@budihsndaulay2419
@budihsndaulay2419 5 жыл бұрын
Can i use two or many lamp?.. I think library hw_timer.h only work for one lamp, am i right?..
@netmedias7657
@netmedias7657 5 жыл бұрын
budi hasian Yes, you can use multiple timers. nodemcu.readthedocs.io/en/master/en/modules/tmr/#tmrcreate
@asmarkhan8102
@asmarkhan8102 5 жыл бұрын
can you please share what all changes i have to do to control 2 Bulbs
@Potter-Pinky
@Potter-Pinky 11 ай бұрын
Output Ac support. ? ...V. i use Load ac Light 200-220 V not support.😢😢
@HOMESECURED1
@HOMESECURED1 6 жыл бұрын
Can we dim led with this one? Or we need to a mosfet for it
@netmedias7657
@netmedias7657 6 жыл бұрын
Yes, I am using dimmable led bulb in this video.
@HOMESECURED1
@HOMESECURED1 6 жыл бұрын
@@netmedias7657 thanks,
@vanhieupham2963
@vanhieupham2963 4 жыл бұрын
hey sir. how to control multiple ac light dimmer ?
@royhopkins974
@royhopkins974 Жыл бұрын
Link to light dimmer module doesn't work
@Khalid-uq5pu
@Khalid-uq5pu 5 жыл бұрын
What is the maximum power this dimmer output?
@asmarkhan8102
@asmarkhan8102 5 жыл бұрын
Hello Nice Project, I need to control 4 bulbs, what changes should be made
@netmedias7657
@netmedias7657 5 жыл бұрын
I am releasing the 4ch tutorial soon. Stay tuned
@Ben-ou6cg
@Ben-ou6cg 5 жыл бұрын
@@netmedias7657 Is that video coming out soon ? i bought the 4ch version and want it connected to uno and control it with rotary encoders as well as a nodemcu for voice.. can you give some advice ?
@chithraprabha5953
@chithraprabha5953 5 жыл бұрын
Does this work with any LED bulb or particular ones?
@netmedias7657
@netmedias7657 5 жыл бұрын
Chithra Prabha It works with all dimmable bulbs including dimmable LED.
@jackkrawatt3908
@jackkrawatt3908 6 жыл бұрын
sorry i have a question how i can use your triac dimmer software with my mega 2560 r3? i try con change sync pin to 18 and pwm pin to 13 but dont work can you help me?
@netmedias7657
@netmedias7657 6 жыл бұрын
It is very simple. You can use that same sketch and replace the timer code and GPIO.
@TheJPhutchins
@TheJPhutchins 6 жыл бұрын
Great work, looking forward to working on this!
@emmanuelarthur1815
@emmanuelarthur1815 5 жыл бұрын
Please help me out with the necessary changes needed to make entire concept and codes work for arduino uno
@farsidd
@farsidd 5 жыл бұрын
But set your pins according to arduino
@abuwaleed1191
@abuwaleed1191 4 жыл бұрын
Bro, I made every thing same, but im getting my serial flooded with continuous numbers, what could be reason? and does not accept any data.
@netmedias7657
@netmedias7657 4 жыл бұрын
Use esp8266 frimware version 2.5
@jotirlingswami9357
@jotirlingswami9357 4 жыл бұрын
Will this work with led bulb or inductive load
@netmedias7657
@netmedias7657 4 жыл бұрын
It will work with any dimmable bulb
@p_plug840
@p_plug840 5 жыл бұрын
hello sir, i have a question. Can use this source code to control AC motor speed?
@hasmawiehasan8998
@hasmawiehasan8998 4 жыл бұрын
hi, I would like to know if this code can be applied on arduino Uno. what the modification that i need to make it work on uno?
@rc3d490
@rc3d490 5 жыл бұрын
and how dimming a led strip with arduino or Node MCU ?
@netmedias7657
@netmedias7657 5 жыл бұрын
Will be doing a project soon stay tuned. Thanks
@AutoMaker
@AutoMaker 5 жыл бұрын
hi please respond as when I download theses files as shown in video. when compile it give following error as i belived include files missed ets_sys.h: No such file or directory
@netmedias7657
@netmedias7657 5 жыл бұрын
They are part of Arduino sdk. You can download them from github.com/esp8266/Arduino/blob/master/tools/sdk/include/ets_sys.h
@AutoMaker
@AutoMaker 5 жыл бұрын
thank you, but i am using ESP32 one i had these header file facing compiling error like void hw_timer_arm(u32 val) i.e unknown type name 'u32'
@karlmarkert7065
@karlmarkert7065 6 жыл бұрын
Can I Control the Dimmer with openhab too?thank you for the video
@netmedias7657
@netmedias7657 6 жыл бұрын
Yes, use MQTT. Watch the 2nd tutorial. kzbin.info/www/bejne/q3Scp6yDmc59gbM
@techknowdroid8144
@techknowdroid8144 6 жыл бұрын
Very good Videos !! Have learnt a lot from you. Thanks a lot.
@netmedias7657
@netmedias7657 6 жыл бұрын
Techknowdroid Thank you for your valuable feedback.
@organistawstolarni
@organistawstolarni 5 жыл бұрын
Is it possible to control two dimmers from one ESP?
@netmedias7657
@netmedias7657 5 жыл бұрын
Yes you can control up to 8 dimners.
@frederiko1982
@frederiko1982 5 жыл бұрын
How about MQTT control? Implement on Home Assistant platform
@netmedias7657
@netmedias7657 5 жыл бұрын
kzbin.info/www/bejne/q3Scp6yDmc59gbM
@contravetile
@contravetile 5 жыл бұрын
Is the bulb used, AC or DC? is it a LED bulb? Can we dim LED bulbs as well?
@netmedias7657
@netmedias7657 5 жыл бұрын
AC, any dimmable bulb will work including LED.
@AutoMaker
@AutoMaker 5 жыл бұрын
hi, It was not working with ESP32, please check it as well. I will appricate you for it as well
@amgu6596
@amgu6596 5 жыл бұрын
On what voltage have done testing in the video ? its 110 or 220 AC
@netmedias7657
@netmedias7657 5 жыл бұрын
110 v
@amgu6596
@amgu6596 5 жыл бұрын
@@netmedias7657 Thanks , what i need to change in circuit or code for 220v ,50 Hz
@netmedias7657
@netmedias7657 5 жыл бұрын
@@amgu6596 In code.
@amgu6596
@amgu6596 5 жыл бұрын
@@netmedias7657 where in code , please assist..
@amgu6596
@amgu6596 5 жыл бұрын
Please tell...
@robertowiest8781
@robertowiest8781 5 жыл бұрын
Hello, I'm just needing the code that you used to implement Part 1
@netmedias7657
@netmedias7657 5 жыл бұрын
It is on GitHub see the description.
@RehanKhan-nc6bf
@RehanKhan-nc6bf 4 жыл бұрын
dimmer is working with arduino but not working with Node mcu ....Serial monitor is showing garbage values with node mcu...what should i do??
@netmedias7657
@netmedias7657 4 жыл бұрын
Make sure zc pin is supported.
@RehanKhan-nc6bf
@RehanKhan-nc6bf 4 жыл бұрын
@@netmedias7657 I've tried with given pins in robodyn dimmer library but the blue led of dimmer continues blink after uploading the code
@netmedias7657
@netmedias7657 4 жыл бұрын
Because it keeps crashing. Downgrade your board to 2.5.0 from Arduino board manager
@RehanKhan-nc6bf
@RehanKhan-nc6bf 4 жыл бұрын
@@netmedias7657 thank you so much...I've followed your instruction & now my project is working properly.
@RehanKhan-nc6bf
@RehanKhan-nc6bf 4 жыл бұрын
I've become your fan & I'll recommend to subscribe your channel to my friends & colleagues. Again thank you so much
@MANJEET1010
@MANJEET1010 5 жыл бұрын
i want this control over blynk can you send me the code for that i can connect dimmer with node mcu and control over blynk app
@sohaibilyas
@sohaibilyas 5 жыл бұрын
how to turn on/off coz sending 0 in serial doesnt turn it off?
@elizeudossantosdias5839
@elizeudossantosdias5839 5 жыл бұрын
Have you ever been able to completely disconnect my friend? I have the same problem, typing 0 does not completely turn off.
@MoskowGoAwayFromUa
@MoskowGoAwayFromUa 5 жыл бұрын
I have the following error in monitor after flashing: " ets Jan 8 2013,rst cause:2, boot mode:(3,7) load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v8b899c12 ~ld ISR not in IRAM! " Anybody know how this should be fixed? on the back: LoL1n nodemcu v3 on the front: ver 0.1 Ubuntu 19.10
@netmedias7657
@netmedias7657 5 жыл бұрын
Need to use better power source.
@MoskowGoAwayFromUa
@MoskowGoAwayFromUa 5 жыл бұрын
@@netmedias7657 No, the problem was you need to degrade to esp8266 v2.3.0 board in board manager
@banbanbanban1195
@banbanbanban1195 5 жыл бұрын
Hey, man. Wonderful work~ I uploaded your code. It says isr not in Ram. Did u get this kind of issue before?
@Msultan48
@Msultan48 5 жыл бұрын
Same prob...
@michellenaficy6333
@michellenaficy6333 5 жыл бұрын
@@Msultan48 I ran into this issue as well. I believe all I had to do was add these lines to my code, which I placed just before void setup. void ICACHE_RAM_ATTR zcDetectISR (); void ICACHE_RAM_ATTR dimTimerISR ();
@madhukeshnp
@madhukeshnp 6 жыл бұрын
The module is pretty small !! Can you make a schematic of the actual module .. so that one can make it on a bread board before buying it. Thank you !
@netmedias7657
@netmedias7657 6 жыл бұрын
Sure, as soon as I have some time I will do it.
@madhukeshnp
@madhukeshnp 6 жыл бұрын
@@netmedias7657 waiting for it badly bro !!!!! Please make some time for us 😉😉
@madhukeshnp
@madhukeshnp 6 жыл бұрын
@@netmedias7657 Bro please give the part list of the module like which optocoupler and triac are used on the dimmer module.. Please its a request.
@netmedias7657
@netmedias7657 6 жыл бұрын
@@madhukeshnp I updated the part list on GitHub. github.com/nassir-malik/IOT-Light-Dimmer
@madhukeshnp
@madhukeshnp 6 жыл бұрын
@@netmedias7657 thank you for the update. Is the schematic and part list both for the same project ?
@TheSlater08
@TheSlater08 6 жыл бұрын
Hi...good video!!! I have a question. Is Wemos D1 mini going to work with D6 and D7 pins and with the code? Thank you =D
@netmedias7657
@netmedias7657 6 жыл бұрын
Armando Christofer Jaimes Chacón Yes, it will work fine.
@TheSlater08
@TheSlater08 6 жыл бұрын
@@netmedias7657 thank you very much... Your videos are awesome!!! I am learning so much!!!
@netmedias7657
@netmedias7657 6 жыл бұрын
Armando Christofer Jaimes Chacón Thank you
@roystervi
@roystervi 6 жыл бұрын
Hi its nice your adding mqtt and hope you add mqtt to all of your products.. also, using a nodemcu I hope you also make the additional pin D1 to D8 available. because it a waste to use a nodemcu that could control 7+ device to one control one device. If I put this in my room I like it to control my fan on/off, a motion and a dht22. nice video
@netmedias7657
@netmedias7657 6 жыл бұрын
Sure, I am planning to do that for all future projects. thanks
@roystervi
@roystervi 6 жыл бұрын
part 2 of this project will be nice :-)
@cleberam
@cleberam 5 жыл бұрын
Do you have electricity at 50Hz there? How to make it work in a 60Hz one? Thanks. Great videos all around the channel btw.
@netmedias7657
@netmedias7657 5 жыл бұрын
cleberam I tested it with 110v at 60Hz.
@AmitSinha249
@AmitSinha249 5 жыл бұрын
@@netmedias7657 please help me for 50Hz 220V.
@HaiderAli-nm1oh
@HaiderAli-nm1oh 4 жыл бұрын
@@AmitSinha249 it doesnt matter if its 50 or 60 hz dimming is based on zero detection
@pawankumar-xv9lu
@pawankumar-xv9lu 4 жыл бұрын
This code is giving me this kind of error - - --------------- CUT HERE FOR EXCEPTION DECODER --------------- ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x4010f000, len 3584, room 16 tail 0 chksum 0xb0 csum 0xb0 v2843a5ac ~ld ISR not in IRAM! User exception (panic/abort/assert) --------------- CUT HERE FOR EXCEPTION DECODER --------------- What should I do?
@netmedias7657
@netmedias7657 4 жыл бұрын
There are two functions in the .ino file that you can put this in front of them and it works on later version. It tells the compiler to keep the ISR function in memory and is required for ESP core 2.5.1 and later. ICACHE_RAM_ATTR example: ICACHE_RAM_ATTR void dimTimerISR() { Or downgrade ESP firmware in Arduino IDE to 2.4 -Good Luck
@pawankumar-xv9lu
@pawankumar-xv9lu 4 жыл бұрын
@@netmedias7657 Yes, sir its works when I downloaded Arduino 1.8.5 and installed esp8266 version 2.3.0 then it works.
@rithunroshkc2331
@rithunroshkc2331 5 жыл бұрын
Sir ,when I compile this program , the following error has been occured. How can i overcome this? ERROR : Arduino: 1.6.8 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Enabled, 4M (3M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200" 'zcDetectISR' was not declared in this scope C:\Program Files (x86)\IOT-AC-Light-Dimmer-With-Alexa-master\Part # 1 obodyn_dimmer obodyn_dimmer.ino: In function 'void setup()': robodyn_dimmer:14: error: 'zcDetectISR' was not declared in this scope attachInterrupt(zcPin, zcDetectISR, RISING); // Attach an Interupt to Pin 2 (interupt 0) for Zero Cross Detection ^ robodyn_dimmer:16: error: 'dimTimerISR' was not declared in this scope hw_timer_set_func(dimTimerISR); ^ exit status 1 'zcDetectISR' was not declared in this scope This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
@netmedias7657
@netmedias7657 5 жыл бұрын
Add this line after line 9 void zcDetectISR();
@TimAndersen22
@TimAndersen22 5 жыл бұрын
Thanks for posting this. Very useful.
AC Light Dimmer || DIY or Buy || Phase Angle Control Tutorial
12:03
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
TRIAC AC Dimmer Circuit - How to dim AC Power for Motors and More
11:00
Home Assistant Control Panel For My Wall
11:19
BorisDigital
Рет қаралды 349 М.
Bluetooth TRIAC AC power control
10:46
Electronoobs
Рет қаралды 91 М.
Arduino To ESP32: How to Get Started!
9:26
Robonyx
Рет қаралды 504 М.
#189 Zero Crossing Detection using an Arduino (TRIAC Dimmer Control)
25:33
I tried the 3 Cheapest Arduino Alternatives! (That you Suggested)
13:21
Circuito DIMMER para AC con TRIAC y DIAC - Motores AC, bombillas y más
11:05
ELECTRONOOBS en Español
Рет қаралды 69 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.