All Stories

Measuring distance with the ultrasonic sensor HC_SR04 in the BeagleBone Black

In this post, I show how to measure distance with the cheap ultrasonic sensor HC_SR04. The main contribution is to provide a class in C++ with implemented methods to get...

Control the Brightness of a LED with a Potentiometer in the BeagleBone Black

In this post, I show how to control the brightness of a LED with a potentiometer. The LED is wired to a PWM pin and the Potentiometer to an ADC...

Blinking a LED without Delay in the BeagleBone Black

In this post, I show how to blink a LED with using Delays routines. This is done through the implementation of some functions that retrieve the time and duration of...

Turning ON / OFF six LEDs in order with the BeagleBone Black

In this post, I show how to blink in order six LEDs in the BeagleBone Black using Delays routines. This is done with the DelayMilliseconds function which uses the C++...

Updates to the C++ library for the BeagleBone Black

In this post, I use the six PWM pins available on the BeagleBone and show how to work with them in order to control the brightness of six LEDs. Remembering...

Updates to the C++ library for the BeagleBone Black

In this post, I show some updates to the library explained previously in: GPIO Class LED Class Button Class PWM Class ADC Class