Getting Started With OpenCV and Raspberry Pi

I bought a Raspberry Pi nearly a year ago, always intending to use it in OpenCV experiments. Just recently, I got around to starting the project. The current plan is to make a small robot that first, uses computer vision to track and follow an object. The next phase will be obstacle avoidance, and is […]

Multiple Application Trapezoidal Rule in MATLAB

I recently had to implement multi-application trapezoidal rule for some work I was doing. I decided to implement the algorithm¬†in MATLAB, and figured I’d post a tutorial for it, since I know many people struggle with implementing algorithms in code. This implementation takes advantage of MATLAB’s built in functions, and as such, requires no loop. […]

Running HALCoGen on Mac or Linux With WINE

This tutorial covers installing and running HALCoGen for TI Hercules/TMS570 MCUs on a mac or linux using WINE. I first started using HALCoGen for the SFU Satellite Design Team, where we’re developing an onboard computer using the TI Hercules/TMS570 microcontrollers. These are really interesting industrial lockstep MCUs, with ECC memory and all kinds of neat […]

Software Setup for ARM LaunchPad Tutorial

I’ve been interested in trying out ARM microcontrollers for a long time – especially after dreaming up some projects that require building a USB device, and learning that I won’t touch them in university until my third year. Anyway, here’s an overview of how I got my TI ARM LaunchPad board up and running.   […]

TI Arm LaunchPad GPIO Outputs Tutorial

The GPIO functions in Tivaware take a little fiddling with to understand. For beginners, it may not be immediately obvious what’s going on in the output function, especially as there are multiple ways to do the same thing. Let’s take a look at an example of how to use the pins, and at the end […]

TI ARM LaunchPad GPIO Unlock Tutorial

TI locks some GPIO pins because they’re required for programming interfaces like JTAG. SW2 on the LaunchPad is connected to PF0 (page 334), which is one of these locked up pins. We can’t use it as an input without unlocking it first. Here’s the code from my GPIO Input tutorial, but modified to use SW2. […]

TI ARM LaunchPad GPIO Input Tutorial

The TI Tiva Launchpad boards are an excellent way to get started working with ARM microcontrollers. With the Tivaware software suite, they’re not too much harder than an Arduino to program, either. I’ve found the tutorials from TI and elsewhere online to be very helpful. Unfortunately, the TI tutorials go over GPIO outputs, which are […]