• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

IRremote.h not found

Q&A Forum › Category: Arduino › IRremote.h not found
0 Vote Up Vote Down
Bob Sparkes asked 6 months ago

I needed to run a sketch on my Arduino Uno that has been successfully used before, but this time the compiler said “IRremote.h not found”. When I searched for it, I found it in one of the several libraries that I seem to have acquired on my computer. Should there be several such libraries? If not, can I just merge all the elements of the different libraries into a single library?

3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 6 months ago

Hi Bob.

What Arduino sketch are you talking about? Is it a project we have on our website? Or is it a tutorial in our courses?

If you’re following one of our projects with remote control, you need to have this library installed: https://github.com/Arduino-IRremote/Arduino-IRremote

Regards,
Sara

0 Vote Up Vote Down
Bob Sparkes answered 6 months ago

Hi Sara
The sketch is from the Keyestudio Mini-Tank robot course, it ran perfectly well on my previous (Windows 7) desktop, but I have now replaced this with a Windows 10 desktop and transferred all Arduino files to it. The IRremote.h file is in the Arduino library, but the compiler did not find it, possibly because it was looking in the wrong library. I tried to reinstall IRremote.h, but the latest version would not install. I installed an earler version, which the compiler did recognise and the sketch now works OK. I assume the original problem is because the compiler was looking in the wrong library, so how do I avoid this sort of problem in the future?
Regards
Bob

0 Vote Up Vote Down
Sara Santos Staff answered 6 months ago

Hi.
Great!
I’m glad everything is working now.
 
That was probably caused because you transferred files from one computer to the other.
To prevent issues in the future, make sure you know where the Arduino libraries folder is located and that when you install a new library, its folder is placed there.
 
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara
 
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.