element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Internet of Things
  • Technologies
  • More
Internet of Things
Forum Resistor rating for IR LED for WiFi IoT remote
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Internet of Things to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 16 replies
  • Subscribers 497 subscribers
  • Views 6805 views
  • Users 0 members are here
  • current
  • led
  • ir
  • iot
  • resistor
  • remote
Related

Resistor rating for IR LED for WiFi IoT remote

ntewinkel
ntewinkel over 3 years ago

Hello!

I was pondering this, and searching into the webs and on the lines, and then realized I have this awesome community of smart people here that probably already know the answers!

Short version:
Are 1/4 watt resistors enough to pulse an LED at 1 amp for an IR remote?
The LED is rated for 100mA continuous, 1.5 amp peak, and 1.6v forward voltage max.
I used an online calculator to figure out that with a 5v supply, a 6.8 ohm resistor will give it a 500mA current, and 3.4 ohms gives a 1amp current.

I'm not sure how to calculate the current on that LED - is it 1.6 volts x 1 amp? or 5 volts x 1 amp?

Either way though - even just the 1.6 watts is 6 times the current rating of the resistors I have. Is that ok for pulsed use for remote control like that?

Should I be using a set of parallel resistors instead (knowing I'll have to up the resistor values to compensate) ?

Project details:
My heat pump is kinda noisy, so at night we set it to "night mode" which is the quietest fan setting it has. We can't keep it at that setting because it won't heat the house well enough, so in the morning we turn the temperature up a few degrees and set the fan to "automatic".

I've been trying to automate this process, because the heat pump remote is kind of annoying in that you have to step through all 5 fan speeds to get back to Automatic.

I bought a little WiFi IR remote off Amazon a few years ago, which is ok for turning the heat up in the morning, but it only supports 3 basic fan speeds, so it doesn't properly turn the fan down at night. I recently bought another similar newer unit, hoping that after a few years my Daikin heat pump would now be fully supported, but it's still the same. Frowning2

But there's hope! I found a Github repository that actually fully supports my Daikin heat pump codes! And for my favourite IoT micro-controller even - the Wemos D1 Mini.

Using a basic IR LED I had scavenged from something in the past, I was able to get it to work, but the IR LED range was just -barely- able to reach the heat pump when aimed just right (I realize now that I was using far to big a resistor value).

So I got a few new "high power" IR LEDs (the clear QED234 ones) from element14's shop, which I hope will give me the range I need. Then I did the aforementioned calculations to find the ideal resistor values to get some good oompf out of the LED to reach further.

I was just about to start soldering things up when I realized that 1amp of current is higher than the 1/4 watt rating of the resistors I have.

I'm hoping you'll have some good advice for this software-biased hobbyist Laughing

Also - I'm guessing a resistor failure would generally not cause a short? (ie, losing a resistor is ok, I have plenty more - losing an IR LED is tougher as I only have a few!)

Thanks!
-Nico

  • Sign in to reply
  • Cancel

Top Replies

  • ntewinkel
    ntewinkel over 3 years ago +6
    Hi All, It works! It seems I was overthinking things, as usual :D I just tested a 2-LED circuit using 22 ohm resistors, which runs the LEDs at about 150mA, and it seems to be plenty to reach the…
  • wolfgangfriedrich
    wolfgangfriedrich over 3 years ago +5
    Hello Nico, some comments: 1) Remotes usually send a modulated signal (38 kHz is a very common frequency, but anything between 34 and 56 kHz could be possible). This is good for your use case, as it…
  • fmilburn
    fmilburn over 3 years ago +3
    Hi Nico, It is easiest to look at the 1A case. There will be a 1A x 3.4R = 3.4v drop across the resistor and 1.6V drop across the LED. Since power = I*I*R the resistor sees spikes of 3.4W and the LED…
Parents
  • wolfgangfriedrich
    0 wolfgangfriedrich over 3 years ago

    Hello Nico,

    some comments:

    1) Remotes usually send a modulated signal (38 kHz is a very common frequency, but anything between 34 and 56 kHz could be possible). This is good for your use case, as it cuts the duty cycle of your LED on time basically in half already. Unfortunatelly the datasheet is missing a standard diagram that shows if 50% or 25% duty cycle is OK at 1 A. The data might be UART or with a custom protocol encoded which again reduces the duty cycle, but to be on the safe side let's assume 50%.

    2) Thanks for sending the LED part number, that always helps to trigger better comments. The 1.6 V max forward voltage is only valid for a current of 100 mA. Figure 5 on page 3 shows a forward voltage of ~2.95V at 1000 mA. So your resistor to limit the current would be (5V - 2.95V)/1A = 2.05 Ohm. This would be 2.05 W through the resistor, with the duty cycle 1W. As Frank already said, there must be a switching transistor, which also has a resistance, even if it is a MOSFET. Tolerances of all components are also important, because small changes with low resistor values like this change the current a lot.

    image

    3) IR wavelength also might be important, they also come in 850 nm and 1130 nm.

    A little drawing how you plan to solder things together also might help for some more advise.

    Cheers,

     - Wolfgang.

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • wolfgangfriedrich
    0 wolfgangfriedrich over 3 years ago

    Hello Nico,

    some comments:

    1) Remotes usually send a modulated signal (38 kHz is a very common frequency, but anything between 34 and 56 kHz could be possible). This is good for your use case, as it cuts the duty cycle of your LED on time basically in half already. Unfortunatelly the datasheet is missing a standard diagram that shows if 50% or 25% duty cycle is OK at 1 A. The data might be UART or with a custom protocol encoded which again reduces the duty cycle, but to be on the safe side let's assume 50%.

    2) Thanks for sending the LED part number, that always helps to trigger better comments. The 1.6 V max forward voltage is only valid for a current of 100 mA. Figure 5 on page 3 shows a forward voltage of ~2.95V at 1000 mA. So your resistor to limit the current would be (5V - 2.95V)/1A = 2.05 Ohm. This would be 2.05 W through the resistor, with the duty cycle 1W. As Frank already said, there must be a switching transistor, which also has a resistance, even if it is a MOSFET. Tolerances of all components are also important, because small changes with low resistor values like this change the current a lot.

    image

    3) IR wavelength also might be important, they also come in 850 nm and 1130 nm.

    A little drawing how you plan to solder things together also might help for some more advise.

    Cheers,

     - Wolfgang.

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • ntewinkel
    0 ntewinkel over 3 years ago in reply to wolfgangfriedrich

    Thanks Wolfgang! I really appreciate all of your help!

    That’s a lot of learning for me Laughing 

    I wasn’t aware of the change of forward voltage with changing current, that’s interesting.

    I replied to Frank’s comment with more details, but in a nutshell yes a transistor in the most basic Arduino-101 circuit. I might be able to reduce the output to a more manageable level while still getting enough light to reach the heat pump.

    I’ll do some more math on the Daikin IR packet to see about the duty cycle.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube