Source Code: create.arduino.cc/editor/mertarduinotech/9d107596-a93d-4406-835e-ecf8d63f189b/preview Recommended Items: Use Your Muscles in Project - amzn.to/3wdL45C 37 Sensor & Module Packages - amzn.to/3m66WeQ Try this Robot Arm - amzn.to/3fq8DCl Best Resin 3D Printer - amzn.to/39tY8KB Arduino Compatible Kits - bit.ly/2J2AFF7 Banggood Spring Sale - bit.ly/3slMbOn
@septuleptum6 жыл бұрын
Lol... I’m newbie, making my own ir project right not and i have exactly the same tv remote. So it was unexpected for me that tv remote can have two codes on the same button. I was scratching my head before you’re video showed up. Thank you so much, mate
@PopAShmurf6 жыл бұрын
Didn't realize that there were already such good sketches that came with the library. Thank u!
@splashillustrations31817 жыл бұрын
Finally an ir tutorial, keep up the amazing videos ☺️
@johnmungandi44134 жыл бұрын
best video for irRemote finally you solved my problem Thank you so much
@irishfitz6 жыл бұрын
I don't understand, I found the hex values, but I'd get an error saying that the hex value wasn't declared or something like that. So I removed the hex conversion in the ir example (just commented out /*, HEX*/ from Serial.println(results.value, HEX); ) and received an 8 or 9 digit number, I took that number and defined it in my new sketch as the corresponding button numbers and just like that the code complied and it lit up the leds. Why couldn't I just use the hex value as shown in the video?
@saree_for_u7 жыл бұрын
GREAT..... I have a question, what if I want to light the LEDs for a duration of time?
@durgeshshukla1002 жыл бұрын
Thanks for your nice video, could you help me how to simulate log key press(lets say I have to press and hold a key for 5 seconds )
@zzzzzz...99027 жыл бұрын
It works! It works! The dislike button works! No, just kidding. The project works great. Thanks so much. Also, the like button worked.
@nikhilvarghese17677 жыл бұрын
Can you please send me the program please I need to do project
@govorilegko7 жыл бұрын
Thank you so much. What do you think is it not quite well if to use analogWrite(pin, 100) for LEDs (instead of (digitalWrite(pin, HIGH)). Then we have not to use resistors and configure pins as OUTPUTs.
@govorilegko7 жыл бұрын
thank you. even thought if to use 100 power level instead of 255 full power level? is not it (100) equal to 2v?
@manthan141905 жыл бұрын
Did you try to run this project with external power Supply. Not with laptop or pc usb power. 5 v dc power Supply.
@huseyint7 жыл бұрын
Merhaba, KEYES marka aynı kumanda ve receiver kit ile denemeler yaptığımda aynı tuş için farklı farklı kod üretildiğini gördüm, tutuş yönüne göre rasgele farklı kodlar da okunabiliyor. Aynı testi evdeki başka IR uzaktan kumandalar ile denediğimde sonuçlar daha tutarlı, bir tuş için hep aynı kod geliyor. Bunun hakkında fikriniz var mı acaba? Teşekkürler videolar için.
@ardiantamarindra6217 жыл бұрын
WHAT THE HELL , THIS VIDEO IS HELP ME !! THANK YOU !! *i feel so very happy because hardly find that way*
@TrungTran-hw7ws6 жыл бұрын
Can I have your background music name, feeling relaxed... Also love your project, keep up the good work.
@vinayprakashshubham27427 жыл бұрын
can i get some idea how to make it stm 32?? can you send some links for that??
@neurokid6867 жыл бұрын
where do you get the serial monitor pls help me SOS
@phatoofperformance67177 жыл бұрын
When I try to upload the program to my board it keeps telling me 'unable to find numeric literal operator 'operator""FBF807' could somebody help me out please?
@ABID57 жыл бұрын
What's the range?as normal ir remote?
@abhaysharma51557 жыл бұрын
please make an video on ir flame sensor
@shivhansoti86347 жыл бұрын
Can you create a video of controlling leds using esp8266??
@shivhansoti86347 жыл бұрын
Along with Android app
@mukilannayagam49706 жыл бұрын
Plss upload Circuit diagram for this......
@ekdilipkumar7 жыл бұрын
nice and clear practical video. Thank you.
@sumenchoudhury38617 жыл бұрын
i dont understand 2nd remote code setup, please explain it, how to use single button for on and off led. please
@muhammediqbal55207 жыл бұрын
pls provide a circuit diagram for feature vedios
@kaanekz7 жыл бұрын
Farklı kumandalardan da alabiliyormuyuz sinyali elinize sağlık güzel olmuş 😂
@kaanekz7 жыл бұрын
Mert Arduino Tutorial & Projects teşekür ederim detaylı açıklamanız için 😂
@iqbalanas81616 жыл бұрын
Thank u Sir ! it's working and u helped me a lot Thank u again.
@haiduyanang21506 жыл бұрын
Thanks Mert Arduino, it works :))))))))
@parthajana33656 жыл бұрын
Sir what will be the arduino code for connecting two ir remote sensor with single arduino
@IslamUniverse7 жыл бұрын
nice work.keep going on ;)
@AydinGokce90007 жыл бұрын
cok yardimci oldu desekkurler
@marilynstuart15466 жыл бұрын
code is not acessible at the website shown
@riseoftech4k3327 жыл бұрын
nice job, just explain a bit more the code next time
@muhammadfarhan85007 жыл бұрын
What is the code, if it is pressed on and when it is released off
@mukilannayagam49706 жыл бұрын
Is it possible to use mobile applications instead of remote??
@ULTRAINVENTIONS6 жыл бұрын
yes
@namonamo20374 жыл бұрын
i want this kind of videos good
@adityarai76747 жыл бұрын
okk make a complete robot with lcd , ping , temprature , and bluetooth
@ramykishk42016 жыл бұрын
man i love you you saved me thx
@kvlpnd7 жыл бұрын
Great video....
@TARUNVERMA9116 жыл бұрын
that looks great
@oliverdeleon44177 жыл бұрын
I get the same error as all the other tutorials "exponent has no digits" someone help! not sure what i'm doing wrong.
@AL7ARTHI773 жыл бұрын
thaaank youuu very much
@sathishkamal96605 жыл бұрын
I'm down load the remote libraryin library and also in emample file. This program is open .but I can't execute it. The error message is IRremote.h: No such file or direcrtory
@petermaker767 жыл бұрын
My aurdino problem is No Protocoal: Aurdino uno r3
@theechoss37526 жыл бұрын
Can any remote control
@petermaker767 жыл бұрын
can you please help me My aurdino board is not running correctly
@nothingtosee8406 жыл бұрын
How did you make your IDE background dark
@_ssmna5 жыл бұрын
There is a "Dark Arduino IDE" app you can download.
@vanthong69647 жыл бұрын
Thank you so much.
@DearKush7 жыл бұрын
I am getting different values for same button
@minigabilafresa7 жыл бұрын
How is it that you use the code of the second control to set them with the same button? I do not get it :(
@madeariartha25467 жыл бұрын
same question
@minigabilafresa7 жыл бұрын
The code that was used in the second control, the LED turn on with the same button to turn off.
@maths_master1007 жыл бұрын
I don't uploading any data in Uno constant mismatch error plz help me
@adityarai76747 жыл бұрын
can you make a robot with ir sensor
@arnobmondal16406 жыл бұрын
It's working. Bt after a single button press. I need to reset the arduino. Otherwise next press didn't working.
@francescosavoja22497 жыл бұрын
Solved, thank you...It's working well! Nice project
@hannahadornado19657 жыл бұрын
how did you fixed it?
@francescosavoja22497 жыл бұрын
Hannah Adornado You have To DOWNLOAD the sketch,Not open or copy-past The sketch
@francescosavoja22497 жыл бұрын
*library not sketch,sorry
@Osmanity7 жыл бұрын
I need same help please i have try my best for hours and only get error! Class decode_results has no member named"address".
@Arvhbvh7 жыл бұрын
I Faild i think it is the code
@Vishank6 жыл бұрын
it is an awesome project
@Max_Weight7 жыл бұрын
Thank you very much man I was struggling very much but thanks to your video it works thanks man!
@Max_Weight7 жыл бұрын
Mert Arduino and Tech Any time!! ;)
@СухозанетАртьом7 жыл бұрын
Thanks
@sumenchoudhury38617 жыл бұрын
led tak to thik he. jab me isko relay board se koi high voltage ac light connect karta ho tab remote thik se kam nehi karta. 2-3bar press karne se ekbar kam karta he
@chidaluchukwuneke90785 жыл бұрын
I cannot access the code document
@Edmorbus7 жыл бұрын
very nice : )
@talkingnews23647 жыл бұрын
didnt work, someone helps me? i have the galileo board and when i compile the program appear an error called "no such file or directory" someone knowns why?
@abhaysharma51557 жыл бұрын
have you installed the library
@innovationdad23987 жыл бұрын
and my arduino board will not connecting to laptop plese help me
@raphelb76716 жыл бұрын
why do I buy a remote control for my project
@innovationdad23987 жыл бұрын
sir the code can't upload
@ahmedsaman30707 жыл бұрын
❤️❤️❤️❤️ cool 😎
@ahmedsaman30707 жыл бұрын
Mert Arduino Tutorial & Projects You deserve it❤️❤️❤️&you are welcome ❤️
@MDFRESCUER7 жыл бұрын
Nicely.
@innovationdad23987 жыл бұрын
you also make a car
@Fabian-iy3je6 жыл бұрын
The code doesn't work :(
@gadgetguy21997 жыл бұрын
love it
@asenjogonsa38685 жыл бұрын
i cant upload the scetch why??
@yt_show79674 жыл бұрын
me too someone answer us
@haneen37313 жыл бұрын
@@yt_show7967 late reply, but did you download the library?
@innovationdad23987 жыл бұрын
its soooooooooo coooooooool
@francescosavoja22497 жыл бұрын
error: Class decode_results has no member named"address". Please help me
@francescosavoja22497 жыл бұрын
Mert Arduino Tutorial & Projects //------------------------------------------------------------------------------ // Include the IRremote library header // #include //------------------------------------------------------------------------------ // Tell IRremote which Arduino pin is connected to the IR Receiver (TSOP4838) // int recvPin = 11; IRrecv irrecv(recvPin); //+============================================================================= // Configure the Arduino // void setup ( ) { Serial.begin(9600); // Status message will be sent to PC at 9600 baud irrecv.enableIRIn(); // Start the receiver } //+============================================================================= // Display IR code // void ircode (decode_results *results) { // Panasonic has an Address if (results->decode_type == PANASONIC) { Serial.print(results->address, HEX); Serial.print(":"); } // Print Code Serial.print(results->value, HEX); } //+============================================================================= // Display encoding type // void encoding (decode_results *results) { switch (results->decode_type) { default: case UNKNOWN: Serial.print("UNKNOWN"); break ; case NEC: Serial.print("NEC"); break ; case SONY: Serial.print("SONY"); break ; case RC5: Serial.print("RC5"); break ; case RC6: Serial.print("RC6"); break ; case DISH: Serial.print("DISH"); break ; case SHARP: Serial.print("SHARP"); break ; case JVC: Serial.print("JVC"); break ; case SANYO: Serial.print("SANYO"); break ; case MITSUBISHI: Serial.print("MITSUBISHI"); break ; case SAMSUNG: Serial.print("SAMSUNG"); break ; case LG: Serial.print("LG"); break ; case WHYNTER: Serial.print("WHYNTER"); break ; case AIWA_RC_T501: Serial.print("AIWA_RC_T501"); break ; case PANASONIC: Serial.print("PANASONIC"); break ; case DENON: Serial.print("Denon"); break ; } } //+============================================================================= // Dump out the decode_results structure. // void dumpInfo (decode_results *results) { // Check if the buffer overflowed if (results->overflow) { Serial.println("IR code too long. Edit IRremoteInt.h and increase RAWBUF"); return; } // Show Encoding standard Serial.print("Encoding : "); encoding(results); Serial.println(""); // Show Code & length Serial.print("Code : "); ircode(results); Serial.print(" ("); Serial.print(results->bits, DEC); Serial.println(" bits)"); } //+============================================================================= // Dump out the decode_results structure. // void dumpRaw (decode_results *results) { // Print Raw data Serial.print("Timing["); Serial.print(results->rawlen-1, DEC); Serial.println("]: "); for (int i = 1; i < results->rawlen; i++) { unsigned long x = results->rawbuf[i] * USECPERTICK; if (!(i & 1)) { // even Serial.print("-"); if (x < 1000) Serial.print(" ") ; if (x < 100) Serial.print(" ") ; Serial.print(x, DEC); } else { // odd Serial.print(" "); Serial.print("+"); if (x < 1000) Serial.print(" ") ; if (x < 100) Serial.print(" ") ; Serial.print(x, DEC); if (i < results->rawlen-1) Serial.print(", "); //',' not needed for last one } if (!(i % 8)) Serial.println(""); } Serial.println(""); // Newline } //+============================================================================= // Dump out the decode_results structure. // void dumpCode (decode_results *results) { // Start declaration Serial.print("unsigned int "); // variable type Serial.print("rawData["); // array name Serial.print(results->rawlen - 1, DEC); // array size Serial.print("] = {"); // Start declaration // Dump data for (int i = 1; i < results->rawlen; i++) { Serial.print(results->rawbuf[i] * USECPERTICK, DEC); if ( i < results->rawlen-1 ) Serial.print(","); // ',' not needed on last one if (!(i & 1)) Serial.print(" "); } // End declaration Serial.print("};"); // // Comment Serial.print(" // "); encoding(results); Serial.print(" "); ircode(results); // Newline Serial.println(""); // Now dump "known" codes if (results->decode_type != UNKNOWN) { // Some protocols have an address if (results->decode_type == PANASONIC) { Serial.print("unsigned int addr = 0x"); Serial.print(results->address, HEX); THIS LINE MAKES PROBLEMS. CAN YOU HELP ME PLEASE? THANK YOU :))) Serial.println(";"); } // All protocols have data Serial.print("unsigned int data = 0x"); Serial.print(results->value, HEX); Serial.println(";"); } } //+============================================================================= // The repeating section of the code // void loop ( ) { decode_results results; // Somewhere to store the results if (irrecv.decode(&results)) { // Grab an IR code dumpInfo(&results); // Output the results dumpRaw(&results); // Output the results in RAW format dumpCode(&results); // Output the results as source code Serial.println(""); // Blank line between entries irrecv.resume(); // Prepare for the next value } }
@Osmanity7 жыл бұрын
i also get the same error as Francesco Savoja Serial.print(results->address, HEX); help please i have try my best for hours!
Ibrahim Osman You have to download the library,not copy-paste. Than you will find that in "examples"
@pursueexcellence77377 жыл бұрын
same problem here!!! SOS!!!
@dariusniculescu33767 жыл бұрын
Dont works with arduino nano
@weamattar42047 жыл бұрын
It did not work with me and I do every single steps the same :(
@sumenchoudhury38617 жыл бұрын
me try kiya work ho raha he. lekin problem ek he. jab me relay se 220 line se bulb connected karta ho tab remote ka switch 3-4 bar press karnese ekbar on/off ho raha he
@howtoteen46727 жыл бұрын
Do you have any music other than that? thats just getting annoying