Building a Simple LED Circuit

header-lesson-03

Building a Simple LED Circuit#

Insert the micro:bit into the Kitronik prototyping plate.

kitronik-blink-one-led-00

Insert the LED into the breadboard.

  • **Make sure that the LED and the cathode are not on the same row on the breadboard. **

  • Take note of which lead is the anode.

Tip

Choose a side that the LED lead will always be facing (right or left). This helps prevent incomplete circuits and makes it easier to remember which lead is the anode and which lead is the cathode.

kitronik-blink-one-led-01

Attach a resistor to the row with the cathode lead of the LED.

Note

The resistor can be attached to either the anode or the cathode in an LED circuit. Pick one lead (either anode or cathode) and attach it to that lead every time an LED circuit is built.

kitronik-blink-one-led-02

Place a jumper wire from 0 on the breakout board to the row with the anode.

kitronik-blink-one-led-03

Place a jumper wire 0V (the ground pin) on the breakout board to the row with the cathode.

kitronik-blink-one-led-04

The circuit is complete.

kitronik-blink-one-led-05

Troubleshooting the LED Circuit#

If the LED is not illuminating when you run the code:

  • Check that the anode and cathode leads are not on the same row on the breadboard.

  • Check that the GPIO pin is the correct GPIO pin in the code.

  • Check that the GPIO pin is connected to the anode.

  • Check that the cathode is connected to the 0V pin.