Monthly Archives: March 2012

Predicitive GPS Lap Timer (PC Prototype Version)

Here is a data file representing several laps of the Portland International Raceway. The data consists of 7,376 5Hz GPS RMC (filtered) sentences extracted from a Race Technology DL-1 Data Logger. The file has a .doc extension but its actually … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 10 Comments

Hardware Interfacing Basics

Here and here are two good primers on µC hardware interfacing techniques.

Posted in Uncategorized | Tagged , , , , , | Leave a comment

Detect GPS Crossing a Boundary Line v2.0

Under testing I’m getting good results using the following code to determine if crossing the startline. Please note the code is missing some bound tests which would prevent division by zero, etc.

Posted in Uncategorized | Tagged , , , , , , , , | 10 Comments

Detect GPS Crossing a Boundary Line

Here is some mixed code and pseudo code that represents my 2nd attempt to detect when a GPS crosses a boundary line. The boundary line in my case is the start/finish line of a race course. I want the code … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

Examination of the Arduino micros() Function

Background To fully understand the micros() function, you first need to understand the Timer #0 overflow interrupt handler which was covered in this post. Recall the typical Ardiuno runs on a 16MHz oscillator. Both the millis() and micros() functions base … Continue reading

Posted in Uncategorized | Tagged , , , , , , | 3 Comments

Examination of the Arduino millis() Function

Clock Cycles First, some background information. The typical Arduino has a 16MHz oscillator. A 16MHz oscillator results in the microcontroller having a clock cycle once every 16-millionth of a second. A clock cycle is roughly the time it takes for … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 25 Comments

Which Bootloader Do I Have?

Is it’s easy to find out which boot loader is stored in the ATmega? That would indeed be very useful, especially since so many different versions are floating around. See this JeeLabs Blog post with links to code. BTW, if … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment