This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to connect an LED?

Hi, We are trying to connect a LED to one of the GPIO of nRF52840, we would like to know how to connect it. Connect it such that the nRF52 GPIO sink current or source current? Our LED Vf is 1V8 and current consumption is ~10mA. FUrther, nRF52840 is running at 1V8.

Parents
  • Hi

    The amount of current the chip can sink/source depends in large part on the supply voltage, and with a supply of 1.8V we can't guarantee much more than 2-3mA from the pins, even in high drive mode.

    If you think this is sufficient then you can connect the LED directly, just make sure to add the necessary resistance.
    The GPIO should be configured in high drive mode.
    It doesn't really matter if you choose sink or source. We sink the LED's on the devkits, but that is primarily to avoid the LED current affecting the chip supply current (for current measurement purposes).

    Best regards
    Torbjørn

Reply
  • Hi

    The amount of current the chip can sink/source depends in large part on the supply voltage, and with a supply of 1.8V we can't guarantee much more than 2-3mA from the pins, even in high drive mode.

    If you think this is sufficient then you can connect the LED directly, just make sure to add the necessary resistance.
    The GPIO should be configured in high drive mode.
    It doesn't really matter if you choose sink or source. We sink the LED's on the devkits, but that is primarily to avoid the LED current affecting the chip supply current (for current measurement purposes).

    Best regards
    Torbjørn

Children
No Data
Related