O'Reilly logo

Programming the BeagleBone by Yogesh Chavan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Blinking external LED circuit setup

Until now, we have dealt with onboard LEDs only, which require no extra component connected. In our next exercise, we are going to connect an external LED to BeagleBone. This requires a few components. You can get these easily in a local electronics shop or online websites like sparkfun or mouser:

  • LED – We need a single LED for this exercise. An LED is actually a Light Emitting Diode. They allow flowing current in one direction only. When current passes through them, they glow. When connected in the opposite direction, no current is passed through.
  • Male-to-male jumper wires – We need jumper wires to connect BeagleBone and components through a breadboard.
  • 400Ω–1kΩ resistor – Passing too much current through an LED ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required