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 6817 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
  • ntewinkel
    0 ntewinkel over 3 years ago

    One more question...

    Is this safe math I have here?

    If I run the LEDs at 1amp, using a 3.4 ohm resistor (1/4 watt rating), the power is 3.4 watts.

    But the duty cycle while sending is about 50%, so that brings us to about 1.7 watts.

    That only runs for about 50 milliseconds.

    I can very easily limit the number of times the signal gets with a software delay.
    It makes sense to only allow one message per second, which cuts it down to 1/20th of the time. In actual use, I only expect it to send 2 packets a day (night mode and day mode).

    So if I limit sending to at most once per second, then the average power over that second is about 0.09 watts, or only about 1/3 of the rated 1/4watts the resistor can handle.

    Is it safe to assume power dissipation levelling over a 1 second period? I guess it only needs the first 1/3 second.

    ps, by "safe" I mean I'm more concerned over fire safety risk than about resistor failure.

    Thanks!
    -Nico

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

    One more question...

    Is this safe math I have here?

    If I run the LEDs at 1amp, using a 3.4 ohm resistor (1/4 watt rating), the power is 3.4 watts.

    But the duty cycle while sending is about 50%, so that brings us to about 1.7 watts.

    That only runs for about 50 milliseconds.

    I can very easily limit the number of times the signal gets with a software delay.
    It makes sense to only allow one message per second, which cuts it down to 1/20th of the time. In actual use, I only expect it to send 2 packets a day (night mode and day mode).

    So if I limit sending to at most once per second, then the average power over that second is about 0.09 watts, or only about 1/3 of the rated 1/4watts the resistor can handle.

    Is it safe to assume power dissipation levelling over a 1 second period? I guess it only needs the first 1/3 second.

    ps, by "safe" I mean I'm more concerned over fire safety risk than about resistor failure.

    Thanks!
    -Nico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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