@nexekhoAccording to calculations... NO nut suppose to get hot.
Is the blue power LED getting hot? It would be an odd one if it really is supposed to run on 5V directly. Not sure I'd trust Radio Schlock's specs.
100mA though a 5mm LED will always get hot. If you are worried about the heat affecting your monitor, put them in an enclosure or lower the current.
@Fej42Can you measure the current of the IR LED and voltage across the IR Led ? I am curious to know why it is hot. It is hot like, "I burning my finger here ..." or just warm... because a 1/4 Watt at the IR LED ( according to calculation ) can not be that HOT .. I am having a hard time to believe this. A 100 W light buld is " I am burning my finger here ..." is HOT to touch, but NOT 1/4 W !!I know you can not see the IR LED, but you can still measure the current & voltage.... TIP : place a DMV ( in current measument mode ) in parallel with the switch to measure the current. Just don't turn ON the switch, the meter will connect your circuit. But, you will get a total current value ( according to Kirkov Current Law -- I total = I 1 + I 2 )
Firstly IR LEDs are rated for pulsed operation I suspect - that's how they are almost always used.Secondly LEDs voltage ratings are very approximate (wide variation with batch and temperature). You should not be using a 1 ohm resistor for the blue LED, that will risk overloading the USB port. To drive LEDs you want to set the current, not the voltage, hence the common practice of a series resistor and a power supply voltage greater than the LED requires (typical blue LEDs are about 3.2 to 4.0V range at room temperature BTW, suggesting a 47ohm series resistor - that Radio shack one seems unusual - perhaps its violet instead of blue? Perhaps the specs are nonsense?).