Beaglebone Black Blink LED using C++

beaglebone black blink LED

The first thing I did when I had my Beaglebone Black (BBB) was toy with it using C++. The “hello world” of embedded programming is LED blinking so that’s what I did. Note that the BBB has user-accessible on-board LEDs and controlling them is very similar to the method outlined here. …

Read More »

Using PIC Timer with PIC16F84A

PIC16F877A

In this tutorial, I will discuss how to use the PIC16F84A microcontroller timer module for a variety of applications including turning a LED on and off without the use of a software delay subroutine.

Read More »

Programming the STM32F1 Discovery

programming the stm32f1 discovery

So I got this STM32F1 discovery board about a year ago but I haven’t had the time to play with it. There are a number of reasons why I purchased it: 1) I wanted to start studying ARM devices on my way to getting a certification 2) A device that has …

Read More »

PIC Interrupt with PIC16F84A

PIC16F84A

So far we have discussed how to code microcontrollers sequentially, i.e., the device performs the code from top to bottom and may branch out to labels (via goto) or subroutines (via call). Now we’ll be looking at PIC interrupt.

Read More »

The PIC16F84A – A Beginners Microcontroller

PIC16F84A

We’ll start with the PIC16F84A – a.k.a the beginner’s microcontroller. This MCU from Microchip has been around since 1998 and is the successor to the very first serially programmable PIC, the PIC16C84. The PIC16F84A is often the starting point for learning PIC microcontrollers because it only has 35 assembly language …

Read More »

An Introduction to PIC Assembly Language Programming

PIC Assembly Language

Most people have nightmares about PIC assembly language programming while some would say it’s a waste of time. I’ve experienced both so I agree. PICs can be programmed much easier using high-level languages like C and Basic. However, learning to code in assembly helps you learn more about the microcontroller’s …

Read More »