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?
@brunopedro37654 жыл бұрын
Hello, How can you use this code with 50Hz 230V eletrical grid? The light blinks a lot when in low intensity.
@Human-bf7kz3 жыл бұрын
Non dimmable LED perhaps ?
@michelvandamme84502 жыл бұрын
have you also video with the Hot AC Dimmer ESP 8266 D1 Mini, and also what other module you can put on it ? thanks
@RogeSaint4 жыл бұрын
Great video! How would I connect a potentiometer to the dimmer module? Thanks.
@vladimirpotapov70503 жыл бұрын
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 Жыл бұрын
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
@microcontrollersexplained65513 жыл бұрын
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.
@tripleakat5 жыл бұрын
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
@tripleakat5 жыл бұрын
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.
@javiersumanoperez46764 жыл бұрын
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.
@syafiqsafiuddin61742 жыл бұрын
Can i ask where the usb at nodemcu connect to?is it a laptop or a head charger
@farsidd5 жыл бұрын
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_amir4 жыл бұрын
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.
@ergicgaming16184 жыл бұрын
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?
@madarina66444 жыл бұрын
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.
@IPIX3602 жыл бұрын
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).
@MegaYuas5 жыл бұрын
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.
@ihzamfahraz72085 жыл бұрын
Misi , can i ask , why my dimmer light doesnt work normal , and if i put the code is 45 but , the bulb not down
@VeyrmanKatituta5 жыл бұрын
I did everything, everything works, but .... I cannot enter 0, it does not turn off completely, what should I do?
@elizeudossantosdias58395 жыл бұрын
Did you ever disconnect fully, friend? I have the same problem, typing 0 does not completely turn off.
@kashyapmehta31925 жыл бұрын
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
@netmedias76575 жыл бұрын
Kashyap Mehta Make sure you are using dimmable bulb. I tested it with 110v 60Hz with a dimmable LED bulb.
@martineilbartley90644 жыл бұрын
Is the input of the AC dimmer a Dc current from the arduino?
@lauramuller30704 жыл бұрын
Can i also use the RobotDyn with just 12V Input?
@vicbcn54554 жыл бұрын
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,
@veronicakaur85264 жыл бұрын
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 ??
@rc34432 жыл бұрын
hi, is this done by pulse skipping or phase cutting?
@pandunm6 жыл бұрын
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
@animusdsouza97186 жыл бұрын
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.
@netmedias76576 жыл бұрын
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-nw2dq5 жыл бұрын
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?
@brunopedro37654 жыл бұрын
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
@thetechrumble65964 жыл бұрын
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
@amgu65965 жыл бұрын
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
@netmedias76575 жыл бұрын
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.
@Ayce474 жыл бұрын
Does this work with all types of bulbs?
@bcarlisle25755 жыл бұрын
Can this be integrated into your 4-way current based circuit ?
@sankarmondal895 жыл бұрын
Can I connect the dimmer along with a relay module with nodemcu? Also can we control the entire project from blynk app?
@SaiPrashaanth6 жыл бұрын
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.
@netmedias76576 жыл бұрын
htnaahsarP iaS Dimmer requires 2 GPIOs per module. You can control 6 dimmers with one NodeMcu. Good luck.
@SaiPrashaanth6 жыл бұрын
@@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...
@netmedias76576 жыл бұрын
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.
@SaiPrashaanth6 жыл бұрын
@@netmedias7657 thats great. will try it out and update when i get some result. thanks...
@matyramirez2434Ай бұрын
donde estan las librerias?
@HaiderAli-nm1oh4 жыл бұрын
i get an error :ets_sys.h: No such file or directory , im using DOIT DEVKIT V1
@adnestrada4 жыл бұрын
Can I used it without connecting the Z-C pin?
@sebydocky50805 жыл бұрын
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 ?
@netmedias76575 жыл бұрын
It depends on the load. Maybe the included heatsink is not adequate enough for higher load.
@farooqraza74745 жыл бұрын
Sir can u please make a video on How to link this with ifttt And control over voice commands
@MrJoeyd11ph3 жыл бұрын
Great projects you have here. Can I request a single-phase induction motor inverter?
@haroldgumafelix7287 Жыл бұрын
what type of light is that?
@demetrisbazile54985 жыл бұрын
Would this dimmer work with LED arrays?
@kashif19646 жыл бұрын
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
@netmedias76576 жыл бұрын
Kashif Afzaal Please check out my 3 way switch video. kzbin.info/www/bejne/a4TKc2mtr8yrj5I
@angelloubation80635 жыл бұрын
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?
@netmedias76575 жыл бұрын
It is Arduion compatible so you shroud be able to use the same code. I am release the 4channel tutorial soon. Stay tuned.
@angelloubation80635 жыл бұрын
@@netmedias7657 thank you, hope the code also.
@hinasaysdilkibaat90803 жыл бұрын
My dimmer haims three ports for load and AC-In only ho to connect four wires for bulb?do help me
@netmedias76573 жыл бұрын
Sorry, I don't understand your question
@ichtiarwanramadanu11752 жыл бұрын
how to distinguish neutral and voltage wire?
@pcmobiletechnicalsolutions85042 жыл бұрын
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
@pcmobiletechnicalsolutions85042 жыл бұрын
what esp8266 core version u using
@firdoshdiakus48415 жыл бұрын
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.
@netmedias76575 жыл бұрын
Firdosh Diakus It is dimmable LED.
@muhammadhaashir74893 жыл бұрын
Can it controll the speed of AC ceiling fan?
@netmedias76573 жыл бұрын
Yes you can but you will hear some noise. You will need to filter out the noise
@madhukeshnp5 жыл бұрын
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 Жыл бұрын
I'm with the same problem
@firdoshdiakus48415 жыл бұрын
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??
@netmedias76575 жыл бұрын
Yes, It should work fine.
@firdoshdiakus48415 жыл бұрын
@@netmedias7657 Thank you
@SaddatAkber6 жыл бұрын
Waiting eagerly for the next uploads in this regards..Thanks:)
@netmedias76576 жыл бұрын
Stay Tuned. Thanks
@muhammaafzal73412 жыл бұрын
Sir can i control the fan speed
@baco20005 жыл бұрын
What needs to be changed so that functions with 50HZ? Thanks
@tharunmax44064 жыл бұрын
No change
@baco20004 жыл бұрын
@@tharunmax4406 False
@madhukeshnp6 жыл бұрын
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 ?
@netmedias76576 жыл бұрын
I am not sure. Let me look into it.
@madhukeshnp6 жыл бұрын
@@netmedias7657 thank you
@youssefbentahra2 жыл бұрын
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Ай бұрын
me pasa lo mismo, lo pudiste resolver?
@aimanrosli24615 жыл бұрын
can i put ldr sensor to change the brightness of the lamp?.
@netmedias76575 жыл бұрын
Yes, but you need yo modify the code to achieve it.
@farsidd6 жыл бұрын
how to connect this module with home switch board ? is it necessary to connect neutral wire for every switch ?
@netmedias76576 жыл бұрын
Yes you need to use neutral wire and ground wire.
@simondevantier39836 жыл бұрын
What about controlling a ws2812b led strip with an ESP8266 with Google Home?
@netmedias76576 жыл бұрын
Thank you for your suggestion. I will put it on my to do list.
@polclota6 жыл бұрын
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?
@netmedias76576 жыл бұрын
Use 2.3.0 for ESP board support and you may need to modify the timer for 220 volts.
@polclota6 жыл бұрын
@@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.
@seaofcuriosity3 жыл бұрын
Will this make humming sound for fan ?
@netmedias76573 жыл бұрын
It may may not, you have to try it. Every fan is different
@seaofcuriosity3 жыл бұрын
@@netmedias7657 in general i have seen triac dimmers to hum . What technology do commercial dimmers use ?
@netmedias76573 жыл бұрын
@@seaofcuriosity use cap or low pass mains filter to isolate noise
@michellenaficy63335 жыл бұрын
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
@TimAndersen225 жыл бұрын
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.
@amgu65965 жыл бұрын
Hello I am using the circuit with 220v 50Hz Anything needs to be changed in the code provided for these values. Thanks
@netmedias76575 жыл бұрын
It should work as is
@amgu65965 жыл бұрын
@@netmedias7657 hw_timer.c , hw_timer.h should remain same right ?
@budihsndaulay24195 жыл бұрын
Can i use two or many lamp?.. I think library hw_timer.h only work for one lamp, am i right?..
@netmedias76575 жыл бұрын
budi hasian Yes, you can use multiple timers. nodemcu.readthedocs.io/en/master/en/modules/tmr/#tmrcreate
@asmarkhan81025 жыл бұрын
can you please share what all changes i have to do to control 2 Bulbs
@Potter-Pinky11 ай бұрын
Output Ac support. ? ...V. i use Load ac Light 200-220 V not support.😢😢
@HOMESECURED16 жыл бұрын
Can we dim led with this one? Or we need to a mosfet for it
@netmedias76576 жыл бұрын
Yes, I am using dimmable led bulb in this video.
@HOMESECURED16 жыл бұрын
@@netmedias7657 thanks,
@vanhieupham29634 жыл бұрын
hey sir. how to control multiple ac light dimmer ?
@royhopkins974 Жыл бұрын
Link to light dimmer module doesn't work
@Khalid-uq5pu5 жыл бұрын
What is the maximum power this dimmer output?
@asmarkhan81025 жыл бұрын
Hello Nice Project, I need to control 4 bulbs, what changes should be made
@netmedias76575 жыл бұрын
I am releasing the 4ch tutorial soon. Stay tuned
@Ben-ou6cg5 жыл бұрын
@@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 ?
@chithraprabha59535 жыл бұрын
Does this work with any LED bulb or particular ones?
@netmedias76575 жыл бұрын
Chithra Prabha It works with all dimmable bulbs including dimmable LED.
@jackkrawatt39086 жыл бұрын
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?
@netmedias76576 жыл бұрын
It is very simple. You can use that same sketch and replace the timer code and GPIO.
@TheJPhutchins6 жыл бұрын
Great work, looking forward to working on this!
@emmanuelarthur18155 жыл бұрын
Please help me out with the necessary changes needed to make entire concept and codes work for arduino uno
@farsidd5 жыл бұрын
But set your pins according to arduino
@abuwaleed11914 жыл бұрын
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.
@netmedias76574 жыл бұрын
Use esp8266 frimware version 2.5
@jotirlingswami93574 жыл бұрын
Will this work with led bulb or inductive load
@netmedias76574 жыл бұрын
It will work with any dimmable bulb
@p_plug8405 жыл бұрын
hello sir, i have a question. Can use this source code to control AC motor speed?
@hasmawiehasan89984 жыл бұрын
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?
@rc3d4905 жыл бұрын
and how dimming a led strip with arduino or Node MCU ?
@netmedias76575 жыл бұрын
Will be doing a project soon stay tuned. Thanks
@AutoMaker5 жыл бұрын
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
@netmedias76575 жыл бұрын
They are part of Arduino sdk. You can download them from github.com/esp8266/Arduino/blob/master/tools/sdk/include/ets_sys.h
@AutoMaker5 жыл бұрын
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'
@karlmarkert70656 жыл бұрын
Can I Control the Dimmer with openhab too?thank you for the video
@netmedias76576 жыл бұрын
Yes, use MQTT. Watch the 2nd tutorial. kzbin.info/www/bejne/q3Scp6yDmc59gbM
@techknowdroid81446 жыл бұрын
Very good Videos !! Have learnt a lot from you. Thanks a lot.
@netmedias76576 жыл бұрын
Techknowdroid Thank you for your valuable feedback.
@organistawstolarni5 жыл бұрын
Is it possible to control two dimmers from one ESP?
@netmedias76575 жыл бұрын
Yes you can control up to 8 dimners.
@frederiko19825 жыл бұрын
How about MQTT control? Implement on Home Assistant platform
@netmedias76575 жыл бұрын
kzbin.info/www/bejne/q3Scp6yDmc59gbM
@contravetile5 жыл бұрын
Is the bulb used, AC or DC? is it a LED bulb? Can we dim LED bulbs as well?
@netmedias76575 жыл бұрын
AC, any dimmable bulb will work including LED.
@AutoMaker5 жыл бұрын
hi, It was not working with ESP32, please check it as well. I will appricate you for it as well
@amgu65965 жыл бұрын
On what voltage have done testing in the video ? its 110 or 220 AC
@netmedias76575 жыл бұрын
110 v
@amgu65965 жыл бұрын
@@netmedias7657 Thanks , what i need to change in circuit or code for 220v ,50 Hz
@netmedias76575 жыл бұрын
@@amgu6596 In code.
@amgu65965 жыл бұрын
@@netmedias7657 where in code , please assist..
@amgu65965 жыл бұрын
Please tell...
@robertowiest87815 жыл бұрын
Hello, I'm just needing the code that you used to implement Part 1
@netmedias76575 жыл бұрын
It is on GitHub see the description.
@RehanKhan-nc6bf4 жыл бұрын
dimmer is working with arduino but not working with Node mcu ....Serial monitor is showing garbage values with node mcu...what should i do??
@netmedias76574 жыл бұрын
Make sure zc pin is supported.
@RehanKhan-nc6bf4 жыл бұрын
@@netmedias7657 I've tried with given pins in robodyn dimmer library but the blue led of dimmer continues blink after uploading the code
@netmedias76574 жыл бұрын
Because it keeps crashing. Downgrade your board to 2.5.0 from Arduino board manager
@RehanKhan-nc6bf4 жыл бұрын
@@netmedias7657 thank you so much...I've followed your instruction & now my project is working properly.
@RehanKhan-nc6bf4 жыл бұрын
I've become your fan & I'll recommend to subscribe your channel to my friends & colleagues. Again thank you so much
@MANJEET10105 жыл бұрын
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
@sohaibilyas5 жыл бұрын
how to turn on/off coz sending 0 in serial doesnt turn it off?
@elizeudossantosdias58395 жыл бұрын
Have you ever been able to completely disconnect my friend? I have the same problem, typing 0 does not completely turn off.
@MoskowGoAwayFromUa5 жыл бұрын
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
@netmedias76575 жыл бұрын
Need to use better power source.
@MoskowGoAwayFromUa5 жыл бұрын
@@netmedias7657 No, the problem was you need to degrade to esp8266 v2.3.0 board in board manager
@banbanbanban11955 жыл бұрын
Hey, man. Wonderful work~ I uploaded your code. It says isr not in Ram. Did u get this kind of issue before?
@Msultan485 жыл бұрын
Same prob...
@michellenaficy63335 жыл бұрын
@@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 ();
@madhukeshnp6 жыл бұрын
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 !
@netmedias76576 жыл бұрын
Sure, as soon as I have some time I will do it.
@madhukeshnp6 жыл бұрын
@@netmedias7657 waiting for it badly bro !!!!! Please make some time for us 😉😉
@madhukeshnp6 жыл бұрын
@@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.
@netmedias76576 жыл бұрын
@@madhukeshnp I updated the part list on GitHub. github.com/nassir-malik/IOT-Light-Dimmer
@madhukeshnp6 жыл бұрын
@@netmedias7657 thank you for the update. Is the schematic and part list both for the same project ?
@TheSlater086 жыл бұрын
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
@netmedias76576 жыл бұрын
Armando Christofer Jaimes Chacón Yes, it will work fine.
@TheSlater086 жыл бұрын
@@netmedias7657 thank you very much... Your videos are awesome!!! I am learning so much!!!
@netmedias76576 жыл бұрын
Armando Christofer Jaimes Chacón Thank you
@roystervi6 жыл бұрын
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
@netmedias76576 жыл бұрын
Sure, I am planning to do that for all future projects. thanks
@roystervi6 жыл бұрын
part 2 of this project will be nice :-)
@cleberam5 жыл бұрын
Do you have electricity at 50Hz there? How to make it work in a 60Hz one? Thanks. Great videos all around the channel btw.
@netmedias76575 жыл бұрын
cleberam I tested it with 110v at 60Hz.
@AmitSinha2495 жыл бұрын
@@netmedias7657 please help me for 50Hz 220V.
@HaiderAli-nm1oh4 жыл бұрын
@@AmitSinha249 it doesnt matter if its 50 or 60 hz dimming is based on zero detection
@pawankumar-xv9lu4 жыл бұрын
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?
@netmedias76574 жыл бұрын
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-xv9lu4 жыл бұрын
@@netmedias7657 Yes, sir its works when I downloaded Arduino 1.8.5 and installed esp8266 version 2.3.0 then it works.
@rithunroshkc23315 жыл бұрын
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.