No video

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

  Рет қаралды 139,946

Netmedias

Netmedias

Күн бұрын

Пікірлер: 334
@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 ?
@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?
@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.
@michellenaficy6333
@michellenaficy6333 4 жыл бұрын
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 4 жыл бұрын
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.
@soumitramandal7930
@soumitramandal7930 4 жыл бұрын
Very very helpful to other techie
@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.
@techknowdroid8144
@techknowdroid8144 5 жыл бұрын
Very good Videos !! Have learnt a lot from you. Thanks a lot.
@netmedias7657
@netmedias7657 5 жыл бұрын
Techknowdroid Thank you for your valuable feedback.
@SaddatAkber
@SaddatAkber 6 жыл бұрын
Waiting eagerly for the next uploads in this regards..Thanks:)
@netmedias7657
@netmedias7657 6 жыл бұрын
Stay Tuned. Thanks
@RogeSaint
@RogeSaint 4 жыл бұрын
Great video! How would I connect a potentiometer to the dimmer module? Thanks.
@animusdsouza9718
@animusdsouza9718 5 жыл бұрын
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 5 жыл бұрын
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.
@kabirnarayanjha
@kabirnarayanjha 6 жыл бұрын
Awsmeeee video sir tqqqq so much for sharing this
@netmedias7657
@netmedias7657 6 жыл бұрын
Thank you.
@TheJPhutchins
@TheJPhutchins 5 жыл бұрын
Great work, looking forward to working on this!
@TimAndersen22
@TimAndersen22 4 жыл бұрын
Thanks for posting this. Very useful.
@vladimirpotapov7050
@vladimirpotapov7050 2 жыл бұрын
Thank you for your tutorial! Tell me please what should I change in the programm if I want to set brightness 0 from serial?
@microcontrollersexplained6551
@microcontrollersexplained6551 2 жыл бұрын
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.
@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
@raameshs9340
@raameshs9340 6 жыл бұрын
super Bro... How to Control Alexa And Google Home Control Light & Fan Speed Control
@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
@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.
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.
@MrJoeyd11ph
@MrJoeyd11ph 3 жыл бұрын
Great projects you have here. Can I request a single-phase induction motor inverter?
@user-mg9nc6un1n
@user-mg9nc6un1n 6 ай бұрын
Output Ac support. ? ...V. i use Load ac Light 200-220 V not support.😢😢
@baco2000
@baco2000 4 жыл бұрын
What needs to be changed so that functions with 50HZ? Thanks
@tharunmax4406
@tharunmax4406 3 жыл бұрын
No change
@baco2000
@baco2000 3 жыл бұрын
@@tharunmax4406 False
@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.
@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 ?
@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
@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 ??
@davebeckham5429
@davebeckham5429 5 жыл бұрын
Nice tutorial. Looking forward to watch Part 2. - Thanks.
@netmedias7657
@netmedias7657 5 жыл бұрын
Stay Tuned. Thanks
@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
@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?
@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,
@farooqraza7474
@farooqraza7474 5 жыл бұрын
Sir can u please make a video on How to link this with ifttt And control over voice commands
@roystervi
@roystervi 5 жыл бұрын
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 5 жыл бұрын
Sure, I am planning to do that for all future projects. thanks
@roystervi
@roystervi 5 жыл бұрын
part 2 of this project will be nice :-)
@HaiderAli-nm1oh
@HaiderAli-nm1oh 4 жыл бұрын
i get an error :ets_sys.h: No such file or directory , im using DOIT DEVKIT V1
@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).
@pandunm
@pandunm 5 жыл бұрын
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
@MegaYuas
@MegaYuas 4 жыл бұрын
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.
@arpitshrivastava133
@arpitshrivastava133 5 жыл бұрын
your videos are awesome! keep it up :)
@netmedias7657
@netmedias7657 5 жыл бұрын
Arpit Shrivastava Thank you for your valuable feedback. Please suggest future projects. This will help me to work on tutorials that my viewers like.
@ihzamfahraz7208
@ihzamfahraz7208 4 жыл бұрын
Misi , can i ask , why my dimmer light doesnt work normal , and if i put the code is 45 but , the bulb not down
@madarina6644
@madarina6644 4 жыл бұрын
ets_sys.h no such file directory, cant find the lib in google? how fix it? thanks
@musiclovertv67
@musiclovertv67 2 жыл бұрын
Can I use 5 to 12 volts battery please answer shool purposes only🥺
@royhopkins974
@royhopkins974 Жыл бұрын
Link to light dimmer module doesn't work
@muhamadridwansyah3580
@muhamadridwansyah3580 3 жыл бұрын
is it possible to send serial data through tx pin with this schematic?
@pawankumar-xv9lu
@pawankumar-xv9lu 3 жыл бұрын
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 3 жыл бұрын
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 3 жыл бұрын
@@netmedias7657 Yes, sir its works when I downloaded Arduino 1.8.5 and installed esp8266 version 2.3.0 then it works.
@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
@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.
@ichtiarwanramadanu1175
@ichtiarwanramadanu1175 2 жыл бұрын
how to distinguish neutral and voltage wire?
@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.
@AutoMaker
@AutoMaker 5 жыл бұрын
hi, It was not working with ESP32, please check it as well. I will appricate you for it as well
@syafiqsafiuddin6174
@syafiqsafiuddin6174 2 жыл бұрын
Can i ask where the usb at nodemcu connect to?is it a laptop or a head charger
@adnestrada
@adnestrada 4 жыл бұрын
Can I used it without connecting the Z-C pin?
@christiansrensen3810
@christiansrensen3810 6 жыл бұрын
So great so great..I have an idear. A controller board that can control an ac motor.. I think.many want to be able to make control of a pump or an door motor. Or some other machines..evrybody makes dc motors.. also if they want to automated some machines in their work...that today is manual..especially encoders is difficult to your avarage amateur..
@netmedias7657
@netmedias7657 6 жыл бұрын
Christian Sørensen Thank you for your suggestion. This will help to plan future projects.
@squalazzo
@squalazzo 6 жыл бұрын
thanks for your work :)
@netmedias7657
@netmedias7657 6 жыл бұрын
Thank you.
@abuwaleed1191
@abuwaleed1191 3 жыл бұрын
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 3 жыл бұрын
Use esp8266 frimware version 2.5
@kashif1964
@kashif1964 5 жыл бұрын
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 5 жыл бұрын
Kashif Afzaal Please check out my 3 way switch video. kzbin.info/www/bejne/a4TKc2mtr8yrj5I
@BGLENN-dp4tx
@BGLENN-dp4tx 5 жыл бұрын
Good info. Thanks.
@netmedias7657
@netmedias7657 5 жыл бұрын
Thank you
@MoskowGoAwayFromUa
@MoskowGoAwayFromUa 4 жыл бұрын
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 4 жыл бұрын
Need to use better power source.
@MoskowGoAwayFromUa
@MoskowGoAwayFromUa 4 жыл бұрын
@@netmedias7657 No, the problem was you need to degrade to esp8266 v2.3.0 board in board manager
@soovui
@soovui 6 жыл бұрын
Hello Genius, I am looking forward to look at your IOT garage and garbage project. It is brilliant that u could teaches us various knowledge in one goal like WiFi NodeMCU (like to use ESP32 as a 2nd choice too), Motorised and Alexa command over web developer and command line over Arduino idea respectively. If u did not share or give us idea how to start or where to start. I am really blank and don't even know how to go about doing it. Super extremely Thank you. Looking forward to see your series part 1 2 and so on. Very very interesting. If possible, like to have yr email address. See whether there is any opportunity to work on a particular project in my country.
@netmedias7657
@netmedias7657 6 жыл бұрын
soovui Thank you for your valuable feedback. Stay tuned for lot more. I don't like to post my email here. Please send me pm message. Please post all your questions here so every one can benefit from it. Thanks again.
@martineilbartley9064
@martineilbartley9064 4 жыл бұрын
Is the input of the AC dimmer a Dc current from the arduino?
@rc3443
@rc3443 2 жыл бұрын
hi, is this done by pulse skipping or phase cutting?
@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
@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?
@haroldgumafelix7287
@haroldgumafelix7287 Жыл бұрын
what type of light is that?
@muhammaafzal7341
@muhammaafzal7341 Жыл бұрын
Sir can i control the fan speed
@electrotsmishar
@electrotsmishar 3 жыл бұрын
brilliant
@lauramuller3070
@lauramuller3070 3 жыл бұрын
Can i also use the RobotDyn with just 12V Input?
@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?
@manjeetdhariwal9134
@manjeetdhariwal9134 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
@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();
@demetrisbazile5498
@demetrisbazile5498 4 жыл бұрын
Would this dimmer work with LED arrays?
@bcarlisle2575
@bcarlisle2575 5 жыл бұрын
Can this be integrated into your 4-way current based circuit ?
@Ayce47
@Ayce47 4 жыл бұрын
Does this work with all types of bulbs?
@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.
@simondevantier3983
@simondevantier3983 6 жыл бұрын
What about controlling a ws2812b led strip with an ESP8266 with Google Home?
@netmedias7657
@netmedias7657 5 жыл бұрын
Thank you for your suggestion. I will put it on my to do list.
@vanhieupham2963
@vanhieupham2963 4 жыл бұрын
hey sir. how to control multiple ac light dimmer ?
@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
@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
@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
@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.
@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.
@sparalable
@sparalable 5 жыл бұрын
Thanks for sharing!
@netmedias7657
@netmedias7657 5 жыл бұрын
sparalable Thank you
@fourtwentymyway1711
@fourtwentymyway1711 4 жыл бұрын
I need a light dimmer that can be programmed to dim several times a day to replicate sun , and also completely turn off on a timer relay , Expensive Reef Aquariums Do This But I'd like to see if it's possible with these cheap modules , relay or Arduino ,
@nastec
@nastec 4 жыл бұрын
It is easy to do. Just use the any timer library to do this good luck.
@jackkrawatt3908
@jackkrawatt3908 5 жыл бұрын
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 5 жыл бұрын
It is very simple. You can use that same sketch and replace the timer code and GPIO.
@polclota
@polclota 5 жыл бұрын
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 5 жыл бұрын
Use 2.3.0 for ESP board support and you may need to modify the timer for 220 volts.
@polclota
@polclota 5 жыл бұрын
@@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.
@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.
@Khalid-uq5pu
@Khalid-uq5pu 4 жыл бұрын
What is the maximum power this dimmer output?
@farsidd
@farsidd 5 жыл бұрын
how to connect this module with home switch board ? is it necessary to connect neutral wire for every switch ?
@netmedias7657
@netmedias7657 5 жыл бұрын
Yes you need to use neutral wire and ground wire.
@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
@elizeudossantosdias5839
@elizeudossantosdias5839 5 жыл бұрын
Has anyone been able to completely disconnect? I'm in trouble, typing 0 does not completely turn off.
@netmedias7657
@netmedias7657 5 жыл бұрын
Set it off by turning control GPIO to low.
@mustafahosiyar9946
@mustafahosiyar9946 3 жыл бұрын
can i control it with a mobile app?
@netmedias7657
@netmedias7657 3 жыл бұрын
Yes, with code modification, see my other video on mobile app blynk.
@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.
@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
@p_plug840
@p_plug840 5 жыл бұрын
hello sir, i have a question. Can use this source code to control AC motor speed?
@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.
@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
@SaiPrashaanth
@SaiPrashaanth 5 жыл бұрын
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 5 жыл бұрын
htnaahsarP iaS Dimmer requires 2 GPIOs per module. You can control 6 dimmers with one NodeMcu. Good luck.
@SaiPrashaanth
@SaiPrashaanth 5 жыл бұрын
@@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 5 жыл бұрын
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 5 жыл бұрын
@@netmedias7657 thats great. will try it out and update when i get some result. thanks...
@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.
@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 ?
@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
@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 ?
AC Light Dimmer || DIY or Buy || Phase Angle Control Tutorial
12:03
Они так быстро убрались!
01:00
Аришнев
Рет қаралды 3,1 МЛН
黑天使遇到什么了?#short #angel #clown
00:34
Super Beauty team
Рет қаралды 42 МЛН
Harley Quinn lost the Joker forever!!!#Harley Quinn #joker
00:19
Harley Quinn with the Joker
Рет қаралды 28 МЛН
#189 Zero Crossing Detection using an Arduino (TRIAC Dimmer Control)
25:33
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Рет қаралды 566 М.
ESP32/ESP8266 Relay Module - Control AC Appliances (Web Server)
6:10
I tried finding Hidden Gems on AliExpress AGAIN! (Part 5)
14:11
GreatScott!
Рет қаралды 1,1 МЛН
Bluetooth TRIAC AC power control
10:46
Electronoobs
Рет қаралды 88 М.
AC Dimming and AC Motor Speed Control How To with Arduino/NodeMCU
17:27
Your USB-C Cable probably SUCKS! Sooo is that Bad?
10:54
GreatScott!
Рет қаралды 708 М.