Begginer question, if the output voltage of the raspberry pi is 3.3v and my led voltage is 3.3v, do I still need a resistor? As far as I understand, if the voltage is the same you don't need to add a resistor.

  • 1
    How much current will your LED consume at 3.3v ? – Marla Aug 18 '18 at 14:21
  • I think 20 mA.. – Dante Aug 18 '18 at 14:25
  • What is a 3.3V LED? A resistor is needed to limit current- 16 mA is the maximum for GPIO – Milliways Aug 18 '18 at 14:26
  • @Milliways: Actually, there are hundreds of 3.3V LEDs – Seamus Aug 18 '18 at 16:30

A resistor is needed to limit the current flow. If a resistor is integrated with the LED you're using, then you need not add one. But make sure you've got the specification correct; if you don't limit the current, the LED will burn out as it will try to draw as much current as is provided.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.