Thanks A Lot Sir .. U solved my big problem... i tried it in pic microcontroller but couldn't be successful... but now my intended circuit been possible with ur excellent guidance.. thanks Again sir...
Tutorial71.2(control home apoliences by the remote)ke code ko tutorial72(tv remote ac fan regulator) ke code mein run kar sakte hai matlab dono alag alag code ko ek hi sketch mein daal sakte hai?if possible then please help!!!
sir mera eak question he muje ye samaj nahi aata ki konsa ir receiver kab use karna he matlab tsop1738 kab use karna h or tsop1732 ya other ir reciver jese or diode pls iss per tutorial video banao
Thanks for your tutorial and codes. Not actually used the Arduino Board, but Atmega328 in a custom made PCB. I added my existing relay control codes (for lights) in it and finally built a bareborne circuit bord to control 2 lights and one ceiling fan (dimming) by IR remote. Housed the whole thing in a 80*80mm Plastic box. Working perfectly. Snapshot: imgur.com/fCFiNPe
Sir apki ye video mujhe both pasansd aai Sir mujhe euk ( japani Rinnai blor heater )main remote lagana hain jis se remote main power on/off our blor ko +high -low kare or remot se har euk ka Button alag alag kam kare, Is Circuit ka input 220v or output Dc12v ap mujhe is circuit k banane main plz guide kare thanks.
Bro in the circuit 2.2 k registance burn frequently some time after feu month 2.2k registance got destroyed and complely burned so what should i do for this problem , whats ur suggestions ?
Hello ji, thank you for your contribution to R&D likers. Dear Sir, often Triac base regulator produces humming sound in ceiling Fan. Is there any alternative method to make smooth dimmer 0 to 100 (full) speed which could grow at each and every step like TV volume.
sir isme back emf ka issue toh nhi hoga na, qki arduino mai hamesa back emf ke wajah se freeze hone ka ya malfunction hone ka issue hota hai jab bhi hum inductive load chalate hain
#include "IRremote.h" #include #define receiver 3 IRrecv irrecv(3); decode_results results; #include byte value1, value2, value3, value4, value5; volatile int i=0; // Variable to use as a counter volatile boolean zero_cross=0; // Boolean to store a "switch" to tell us if we have crossed zero int AC_pin = 5; // Output to Opto Triac int dim2 = 0; // led control int dim = 128; // Dimming level (0-128) 0 = on, 128 = 0ff int freqStep = 75; // This is the delay-per-brightness step in microseconds. #define r1 6 int relay1 = LOW; #define r2 7 int relay2 = LOW; #define r3 8 int relay3 = LOW; #define r4 9 int relay4 = LOW; #define r5 10 int relay5 = LOW; void setup() { irrecv.enableIRIn(); // Start the IR receiver (classic remote) pinMode(r1, OUTPUT); pinMode(r2, OUTPUT); pinMode(r3, OUTPUT); pinMode(r4, OUTPUT); pinMode(r5, OUTPUT); pinMode(AC_pin, OUTPUT); // Set the Triac pin as output attachInterrupt(0, zero_cross_detect, RISING); // Attach an Interupt to Pin 2 (interupt 0) for Zero Cross Detection value1= EEPROM.read(0); digitalWrite(r1, value1); value2= EEPROM.read(1); digitalWrite(r2, value2); value3= EEPROM.read(2); digitalWrite(r3, value3); value4= EEPROM.read(3); digitalWrite(r4, value4); value5= EEPROM.read(4); digitalWrite(r5, value5); Timer1.initialize(freqStep); // Initialize TimerOne library for the freq we need Timer1.attachInterrupt(dim_check, freqStep); } void zero_cross_detect() { zero_cross = true; // set the boolean to true to tell our dimming function that a zero cross has occured i=0; digitalWrite(AC_pin, LOW); } // Turn on the TRIAC at the appropriate time void dim_check() { if(zero_cross == true) { dim = EEPROM.read(5); if(i>=dim) { digitalWrite(AC_pin, HIGH); // turn on light i=0; // reset time step counter zero_cross=false; // reset zero cross detection } else { i++; // increment time step counter } } } void translateIR() // takes action based on IR code received { switch(results.value) { case 2021932016: { if (dim127) { dim=128;// in vechiul sketch era 127 } } } break; case 2021931984: { { if (dim>5) { dim = dim - 16; if (dim
Market main jaysa milta hain atmel8 se bina koi transformer ke 4light and one fan regulator . aisa hi banana chahata hoon . please aisa hi ek complete tutorial banayenge to bahuot achcha hoga.
kya iss rectifier mein koi capacitor lgane ki abasyakta hai,current ko smooth karne ke liye?aur agar hai to kitna value ka capacitor lagana chahiye aur kitni volt???
Sir nice tutorial but I am very sorry to inform you that,the dimmer is not working at all all though all components and wiring are OK. Should I decrease the value of 100K into 47K 1/2W? please reply and help me.
Sir maine sb same kiya ..for testing fan k jagah Light bulb use kiya but the problem is that ki bulb dim on hai par remote se control krne k baad brightness change nhi ho rhi hai....Aur na kam...jitna brightness hai utna hi haiii ... please help sir
if you assambed this function with previce i mean if you able to marge tuitorial 71.2 and this project it will be batter i mean 3 channel to 8 chnnel remote switch with fan speed controller
@@askingindia5910 Arduino: 1.6.0 (Windows 8), Board: "Arduino Uno" sketch_jun24bir.ino:13:22: fatal error: TimerOne.h: No such file or directory compilation terminated. Error compiling. This report would have more information with "Show verbose output during compilation" enabled in File > Preferences.
Thanks A Lot Sir .. U solved my big problem... i tried it in pic microcontroller but couldn't be successful... but now my intended circuit been possible with ur excellent guidance..
thanks Again sir...
thank you very much to all your videos is really good
Thank u sir. Best explanation
great video sir....i liked it very much.
Tutorial71.2(control home apoliences by the remote)ke code ko tutorial72(tv remote ac fan regulator) ke code mein run kar sakte hai matlab dono alag alag code ko ek hi sketch mein daal sakte hai?if possible then please help!!!
Sir apka har tutorial mast hai👌👌👌👌
Nice work, keep it up
thank you very much for your help sir....i like ur channel very much...ur all videos are very helpful.
Bhai mere to code uploaded but fir serial monitor per button press kerne pe kuch b so nhi ho rha he help me gide
why 4n35 circuit and wire to pin 2 is included in this circuit ??
thank you sir u solve my problem , me bahut dino se fan ki speed regulate karne ka sooch raha tha
sir mera eak question he muje ye samaj nahi aata ki konsa ir receiver kab use karna he matlab tsop1738 kab use karna h or tsop1732 ya other ir reciver jese or diode pls iss per tutorial video banao
fan regulator is working or not ?
The connection of rectifier nd 4n35 to arduino frm mains
Is it for powering of arduino or for detecting ac or smthg else???pls explain
THANKS FROM BANGLADESH
Sir, can i connect 2 4nt35 ic with digital pin 2, but their 2 moc3021 in has been connected with two different output from arduino pin 5 and 6.
thanks for helping with the video
u r awsome brother
Nice one
Thanks
thank you sir, mai ise bluetooth(HC-06) k sath try kiya ye perfect work krr rah..
Hi @awsome Asif how are you ?
I am trying to do the same can you please share your code ?
Thanks in Advance
Sir, can we connect two fans 4n35 pins in a single pin 2.
thank you sir..
Awesome bro.. Ir remote ac fan speed control with eeprom dat saving project bnao..ji
Thank's sir g...!
Excellent project
Very nice project
Sir 100n capacitors ke ki jagha pe dusra kon sa capactior use kar sakte h
Awesome
Thanks for your tutorial and codes.
Not actually used the Arduino Board, but Atmega328 in a custom made PCB. I added my existing relay control codes (for lights) in it and finally built a bareborne circuit bord to control 2 lights and one ceiling fan (dimming) by IR remote. Housed the whole thing in a 80*80mm Plastic box. Working perfectly.
Snapshot:
imgur.com/fCFiNPe
how make i temperature control
Can you email me code and circuit diagram please. softechsgd@gmail.com
Sir apki ye video mujhe both pasansd aai
Sir mujhe euk ( japani Rinnai blor heater )main remote lagana hain jis se remote main power on/off our
blor ko +high -low kare or remot se har euk ka Button alag alag kam kare,
Is Circuit ka input 220v or output Dc12v ap mujhe is circuit k banane main plz guide kare thanks.
Hello sir aapki video bahut informative hoti hai... Per kiya aap rf remote se dc dimmer bana sakte ho
Is it possible to use that library to control another light? If it is, please you will give an idea.
Sir isko hc 05 connect kar sakte hain
Can we use Attiny instead of uno?
please help ..
I'm not clear about pin no 2 fixed. If i change pin 2 to other and also modify the code then it will be work??
Can we use the simple jumper wire!
Pls let me know if i can use MOC 3041 instead of MOC 3021
Bro in the circuit 2.2 k registance burn frequently some time after feu month 2.2k registance got destroyed and complely burned so what should i do for this problem , whats ur suggestions ?
Hello ji, thank you for your contribution to R&D likers. Dear Sir, often Triac base regulator produces humming sound in ceiling Fan. Is there any alternative method to make smooth dimmer 0 to 100 (full) speed which could grow at each and every step like TV volume.
sir isme back emf ka issue toh nhi hoga na, qki arduino mai hamesa back emf ke wajah se freeze hone ka ya malfunction hone ka issue hota hai jab bhi hum inductive load chalate hain
Sir isme eeprom and 7 segment display add kijiye thank you
Sir what is the output range of db107... db107 output is b/w 0-313 V ??
One thing that I am not giving 230 v direct to the rectifier after step down it using 230/9 v I am giving to the rectifier input
Sir, I want to run this code in ESP32. Also I want to run it without IR sensor but with just hardware interrupts. Please Help and guide me.
Thanks
Kya 1 microcontroller atmega328 me 2 program upload kar sakte h plz help sir
Thank you sir. सर रिमोट कंट्रोल किसी भी चलेगा?
Hi there can this be used in AC table fans as well?
How to store dimmer value into EEPROM?
Please sir answer the question
sir !you are great. sir iski report ya working procedure milsakta ha ?
What can we use instead of moc3021
sir bhilai mai koi batch start ho rhi hai kya
Iske sat kitne appliance or use kar sakte hain
4 ya 5 switch and 1fan ke total code and circuit agar tutorial korenge to bahut achcha hoga.
#include "IRremote.h"
#include
#define receiver 3
IRrecv irrecv(3);
decode_results results;
#include
byte value1, value2, value3, value4, value5;
volatile int i=0; // Variable to use as a counter
volatile boolean zero_cross=0; // Boolean to store a "switch" to tell us if we have crossed zero
int AC_pin = 5; // Output to Opto Triac
int dim2 = 0; // led control
int dim = 128; // Dimming level (0-128) 0 = on, 128 = 0ff
int freqStep = 75; // This is the delay-per-brightness step in microseconds.
#define r1 6
int relay1 = LOW;
#define r2 7
int relay2 = LOW;
#define r3 8
int relay3 = LOW;
#define r4 9
int relay4 = LOW;
#define r5 10
int relay5 = LOW;
void setup()
{
irrecv.enableIRIn(); // Start the IR receiver (classic remote)
pinMode(r1, OUTPUT);
pinMode(r2, OUTPUT);
pinMode(r3, OUTPUT);
pinMode(r4, OUTPUT);
pinMode(r5, OUTPUT);
pinMode(AC_pin, OUTPUT); // Set the Triac pin as output
attachInterrupt(0, zero_cross_detect, RISING); // Attach an Interupt to Pin 2 (interupt 0) for Zero Cross Detection
value1= EEPROM.read(0);
digitalWrite(r1, value1);
value2= EEPROM.read(1);
digitalWrite(r2, value2);
value3= EEPROM.read(2);
digitalWrite(r3, value3);
value4= EEPROM.read(3);
digitalWrite(r4, value4);
value5= EEPROM.read(4);
digitalWrite(r5, value5);
Timer1.initialize(freqStep); // Initialize TimerOne library for the freq we need
Timer1.attachInterrupt(dim_check, freqStep);
}
void zero_cross_detect()
{
zero_cross = true; // set the boolean to true to tell our dimming function that a zero cross has occured
i=0;
digitalWrite(AC_pin, LOW);
}
// Turn on the TRIAC at the appropriate time
void dim_check()
{
if(zero_cross == true)
{
dim = EEPROM.read(5);
if(i>=dim)
{
digitalWrite(AC_pin, HIGH); // turn on light
i=0; // reset time step counter
zero_cross=false; // reset zero cross detection
}
else
{
i++; // increment time step counter
}
}
}
void translateIR() // takes action based on IR code received
{
switch(results.value)
{
case 2021932016:
{
if (dim127)
{
dim=128;// in vechiul sketch era 127
}
}
}
break;
case 2021931984:
{
{
if (dim>5)
{
dim = dim - 16;
if (dim
@@sudiptatito does is work in the circuit diagram shown in the video?
How much range it work
working principle ky h? wht hapnz exctly when vol+/_ press....what then tell to microcontroller is it related to time delay or something else?
Timer1 is not defined.
dim value is changed but never used.
how this is supposed to work ?
I found that this code is direct copy paste from a website.
Market main jaysa milta hain atmel8 se bina koi transformer ke 4light and one fan regulator . aisa hi banana chahata hoon . please aisa hi ek complete tutorial banayenge to bahuot achcha hoga.
Can this be done by anyone? Or only technical people can do?
Sir how to use eeprom of aurdino to store its speed.
I need one where it found . - is it found in Hyderabad TS state please
Nice video..sir. can you write a code for fan regulator with EEPROM
aap is par ek video or banaiye jisme ( remote + step switch ) ka istemal karke fan ko regulate kia jaa sake.
100k or db107 ke bich kitna volt hota hai
ek programing kare jisme 4chanel ir remote control ka aur fan regulater ka programing saathme ho ....plea
Sir iska circuit diagram
arduino legit n faen dimer super bro
What is the WATTAGE of the 2 resistor that connected ac to bridge rectifier?
why don’t you mention the values 😞
Sir 2.2k ohm resistor jal jata hai..kiya waja ho sakti hai..
Or circuit kam nahi kar raha
Can I use Attiny85 insted of Arduino sir?
nicely explained. trillions of thanks for sharing... may allah bless u always.
kya iss rectifier mein koi capacitor lgane ki abasyakta hai,current ko smooth karne ke liye?aur agar hai to kitna value ka capacitor lagana chahiye aur kitni volt???
no
Sir nice tutorial but I am very sorry to inform you that,the dimmer is not working at all all though all components and wiring are OK. Should I decrease the value of 100K into 47K 1/2W? please reply and help me.
Sir kya node mcuesp8266 par kam karga blynk aap par
what is work for pin 2?
can here use arduino mini pro. If yes than please help about diagram
Sir maine sb same kiya ..for testing fan k jagah Light bulb use kiya but the problem is that ki bulb dim on hai par remote se control krne k baad brightness change nhi ho rhi hai....Aur na kam...jitna brightness hai utna hi haiii ... please help sir
Can we add memory ( eeprom)
Please make a video about how can controll 4 relay with 1 fan regulator using bluetooth?
sir, ir ac dimmer aur ir remote ek saat kaise ek chip mein program kare, plz help me.
Sir ..Why optocupler. Is used in relay module........And what difference between simple transistor relay module...Plz make vedio on it or guide me...
How to make it compatible for esp8266?
light dimmer v2 kaha se milega..pls uska link dijiye...
Hello sir, can you please tell me the wattage of the resistor is it 1/4, 1/2 or 1W. please advice.
1/4
if you assambed this function with previce i mean if you able to marge tuitorial 71.2 and this project it will be batter i mean 3 channel to 8 chnnel remote switch with fan speed controller
how to control speed motor without remote controller..pls help me sir
Ap ka circuit not working.2.2 k resistor jol jata hai.
Can I use Arduino Nano instead of Android Uno ?
"IRremot.h" file cannot found. Please help
Hi sir it works good but fan heat.
When I remove remote control regulator it works normal and not heat
Hello sir .in this circuit at the pwer off and return time our functions will automatically off .how to keep memory
Its solution is in my upcoming tutorial
use EEPROM
Sir, 100n/400v capacitor ka coding value kya hota hai jo capacitor pe print hota hai? & Resistance ka watt kitna rakhu?
100nf =>104j and resistors= 1/4 watt
sir, apka tutorial ir ac fan regulator aur ir remote home appliance ka code ek saat ek chip mein keise program kare, plz help me.
This is a brilliant man really, who helps human being
@@askingindia5910 plz give code for bluetooth for above circuit
@@askingindia5910 Arduino: 1.6.0 (Windows 8), Board: "Arduino Uno"
sketch_jun24bir.ino:13:22: fatal error: TimerOne.h: No such file or directory
compilation terminated.
Error compiling.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
@@askingindia5910 isko EEPROM main data save kare? Taki bijli Jane ke baad fan usi speed mai chale, plz help
Nice 👍
sir, i tried and done ok, But within minute 2.2k (1/4watt) resistor burned out, why?
sir in your code what is the role of pin 2 of microcontroller. Fan speed is not changing by remote.what can be the issue.
Sahil Bansal meri bhi yahi problem he...
The fan is causing humming sound using this circuit. Why?
sir dimmer ka library kaha se milega?
sir isme 230v ac bulb use kr skte h fan ki jgah pr aur us access bulb ki Britness ko controll kr skte h
yes, normal bulb
sir,iss circuit se ac light dimm kar sakte hai?ya circuit mein koi change karna hoga?
kr sakte hai koi change nahi hrna pdega.
Ek video banaiye , jise fan regulator EEPROM pe work horaha ho. How to add EEPROM in this programming.?
I've tried. But when I off my fan all lights turned off. Why?
sir aap mujhe bataiye ki remote ke IR signal ko decode kaise kare
it is not working ...bulb continuous On.. please let me know what is the problem?
Please help me
Ise eeprom me kaise bnayenge
Sir maine is circuit se fan regulator banaya hai. It works but fan is making humming sound. Plz solve