-
Recent Posts
Recent Comments
Archives
- May 2022
- December 2021
- September 2021
- July 2021
- May 2021
- April 2021
- October 2019
- August 2019
- April 2019
- February 2019
- January 2019
- May 2018
- January 2018
- November 2017
- May 2017
- January 2017
- December 2016
- November 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- July 2014
- June 2014
- May 2014
- April 2014
- November 2013
- October 2013
- September 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- December 2012
- November 2012
- October 2012
- August 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
Categories
Meta
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 arduino, avr, c, gps, hardware in the loop, HIL, lap timer, predicitve, simulation
10 Comments
Hardware Interfacing Basics
Here and here are two good primers on µC hardware interfacing techniques.
Posted in Uncategorized
Tagged arduino, avr, µC, hardware, interfacing, microcontroller
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 arduino, avr, boundary, gps, lap timer, line, line intersection, perpendicular, predictive lap timer
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 arduino, avr, boundary crossing, gps, lap timer, line intersection, predictive lap timer
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
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 arduino, avr, clock cycle, interrupt, mhz, millis, overflow, timer, timer0
27 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
Arduino Scripted GPS Simulator v2.0
Find below an updated version of my Arduino Scripted GPS Simulator. Here are some of the program’s features: Configurable update rates: 1, 5 and 10Hz. Outputs NMEA RMC Sentences (can easily be converted for others). Uses Arduino DataFlash Library to … Continue reading
Arduino Scripted GPS Simulator
Here is the basis of the Arduino program for my scripted GPS simulator. It works with the following test data file loaded into dataflash (see: Serial Transfer of Text File from PC to Arduino). Sample Data File: 045.593980122.690800292.10084.22 245.593980122.690800292.15084.97 445.594090122.691100291.01092.06 645.594120122.691200291.11087.55 … Continue reading
Posted in Uncategorized
Tagged arduino, dataflash, gps, gps simulator, predictive lap timer
Leave a comment