I have a 12 pin PMOD interface on my Nandland Goboard FPGA and I would like to turn on an external LED with it.

I can do it on my using pins 5 and 6 which are GND and VCC but I can't figure out how to turn it on using one of the pins controlled by the FPGA. Do I hook the LED to ground and one of the output pins set to logic 1?

Or is it supposed to be output pin logic 1 and VCC? Or some combination?


1 Answer 1


Assuming you can control each PMOD signal independently, I would build this circuit:


simulate this circuit – Schematic created using CircuitLab

This will allow you to power the LED with about 15 mA; my understanding is the max output from the PMOD signals are 8 mA. When the PMOD GPIO is 1, the LED is on, and off otherwise.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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