Tracking a Bike Ride & PIC16F88 GPS Logger DR1r7

My original intention for my PIC16F88 Delorme Tripmate GPS Logger and GPS Logger with Time and Speed was to log my runs around Lafayette and West Lafayette. However, I’ve found that the weight of the GPS makes it a real pain to lug it around. Running around with a weight bouncing around in my backpack is no fun. Now that it has gotten warmer and the sun is shining ’til 9 PM (really more like 9:30 PM), I’ve been biking quite a bit. The lower impact nature of bike riding makes it much easier to carry the Tripmate GPS receiver. So I took went out this afternoon for a ride to see how it performs:

2007-06-15 Bike Ride Path Thumbnail

And the ride did not turn out too bad! (Click the image above to see a better view of the route, outlined in yellow.) There are some problems with the logging, but this can be attributed to the quality of the fix (most likely 2-D for most of the ride) and the tendency for the GPS to loose its fix when the sky was occluded. See the upper right of the path where I went biking through the woods and you can see that it lost the fix from the time I entered the woods to the time I left them. Continue to the post for more information and the updated firmware. Read More

PIC16F88 Delorme Tripmate GPS Logger with Time and Speed

I’ve updated my PIC16F88 Delorme Tripmate GPS Logger, so it now includes time and speed logging. Using the trip information recorded by the GPS logger, you now have even more variables to play with. For example, using time and velocity information, one can plot not only the speed, but also the acceleration of the car (dv/dt) for a trip:

Continue to the post for more information about the updated firmware, usage instructions, and limitations of this firmware. Read More

PIC16F88 Delorme Tripmate GPS Logger

This project focused on creating a simple serial data logger for the Delorme Tripmate (also known as the GPSTripmate). The Tripmate is an older GPS receiver that can be purchased on eBay for <$20. I happen to have one that my family used a couple of years ago and it is still in great shape. It has been sitting in the back of my car for the past four years, so I finally decided to put it to good use. The plan was to create a GPS data logger that would record the position of the unit and allow me to read back the latitude and longitude after acquiring the data. My ultimate goal will be to use a small backpack to record my runs (once the weather warms up). This was a fun experiment because not only did I need to interface the PIC16F88 to the Tripmate, but I also needed to parse the output and implement an efficient storage solution. Read on to find out more information about the project, see the schematic and soure code I wrote, and find out how the data was visualized. Read More

Website Host Transfer Complete + Sparks

I’ve completed the server move and the DNS changes, so hopefully everything will now work. There was a problem with the email program (cgiemail) during the transfer, but it seems as though I resolved the problem by using a different script (FormMail). Please feel free to send me an email or leave a comment in this post if there are any problems.

High Voltage Sparks Over and Through Red LED 2/3

As an added bonus, I’ve attached some pictures of sparks generated with my high voltage power supply, which I was able to fix. It appears as though the old MOSFET had blown, so I was able to recreate the circuit with no issues. Continue to the post for a few more pictures. Read More

Royal Blue Luxeon K2

Royal Blue Luexon K2Lowe’s had a 1 Watt Luxeon Plastic Flashlight on sale for $2.50 recently. I ordered one online for in-store pickup and was able to get one of the last flashlights available at the store closest to me (they actually didn’t have enough to fulfill all of the orders, but I was able to convince them that I deserved one). When I brought it home and broke it open I found a nice white 1 watt Luxeon star hex (LXHL-MW1D) bolted to the top. The flashlight itself felt relatively cheap and flimsy, so I decided to find out what I would do with it and how I could modify it. The flashlight used 3 1.5V AA batteries in series (i.e. 4.5V open circuit) and had a 1 Ohm resistor in series to limit the current to the LED. White flashlights are nice, but sometimes you need to just have fun. So, I took one of the Luxeon K2 Royal Blue LEDs (LXK2-PR12-L00) that I had purchased with Matt Kocsis and dropped it in. Read More

Some More High Voltage Videos

Last night a number of events conspired against me and my geeky endeavors:

  1. My flyback transformer driver was working intermittently for a period of time then suddenly stopped working. It seems as though there is a problem with either the 7805 or the PIC12F683, but I can’t pinpoint the problem because of events 2 and 3 below. I’ll have to double check to make sure that I didn’t accidentally fry any components with, ironically, static discharge.
  2. My multimeter was accidentally left on the last time I used it, so the batteries were dead and I couldn’t check the voltages at different points in the circuit (to determine whether the PIC was switching the driver MOSFET). Why does this always happen at the most inopportune times?
  3. My PIC programmer is no longer recognizing any of my PICs. I’m hoping that there’s just a problem with the firmware and that I can fix it by borrowing a friend’s programmer to reflash it, but nothing I could do last night would make the programmer recognize PIC12F675s, PIC12F683s, or PIC16F628s. Maybe this is a sign that I should get an ICD2…

So, in short, it was an overall crappy night. So, here are some of the latest videos with the high voltage flyback transformer zapping some more beer, rum, and just plain arcing just for the heck of it. I’m heading back home tomorrow for Thanksgiving tomorrow, so I won’t be able to debug the problems until I get back. Read More

Luxeon K2 LED show-off

A friend (Matt Kocsis) and I purchased some Luxeon K2 LED emitters from Lumileds and I’m looking forward to building some constant current PWM drivers for them. I’ve found a couple of constant current driver schematics, but I’m planning on pulsing the outputs (which can draw up to 1.5A), so I want to make sure that the circuits will work with the high-frequency PWM. Matt and I are also working on a heatsink that will effectively cool these LEDs. The plan is to create a programmable high-intensity RGB spot/wash light with pan/tilt and optic (i.e. focus) control. We’ll see how this project pans out, but in the meantime, playing with these incredibly high intensity LEDs has been quite fun. Read More

PIC12F683 High Voltage Flyback Transformer Driver

PIC12F683 High Voltage Flyback Transformer DriverA friend at Purdue University (Sumanth Peddamatham) helped motivate and inspire me to create a high voltage flyback transformer driver for a computer CRT flyback transformer. While the schematic and code for driving the transformer are extremely straightforward and simple, finding and obtaining a high quality solid state flyback transformer can be difficult. Please note that the voltages generated by the flyback transformer are potentially very dangerous, so extreme care must be exercised when building and/or using the schematic presented in this project. Diode split flyback transformers (like the one used in this project) can output 25kV or more. Read More