Archive for the ‘bicycling’ Category.

Bicycle v. Boston

I recently went to a DJ show at Good Life, and since these shows usually last longer than the T runs and I also hate cabs, I decided to bike both ways (about 5.5 miles each way). It had been flurrying all day, but there wasn’t enough snow or ice on the roads to make me worried about wiping out.

One factor I hadn’t considered, however, was road salt:

My bike, caked with salt and grime

My bike, caked with salt and grime


Closeup of salt and grime

Closeup of salt and grime

I’ve wiped as much of it off as I can, but it’s too cold to wash the bike (it would probably just freeze). My hope is that the chain isn’t ruined and my components aren’t all going to rust. Ah well, the show was fun.

  • Share/Bookmark

(partial) Tour de Nat 2007

Travelling from Braintree, MA to North Truro with Mike MacHenry.

Total distance: 108.23
Time moving: 7:44:57
Time elapsed (includes train ride from Davis to Braintree): 12:30
Average speed: 14.0
Max speed: 31.0

Details to follow, including video clips from the ride.

  • Share/Bookmark

a window on another world

“Next to the name of one regular, who has a habit of bringing in women he is not married to, is an instruction to make sure the man’s wife has not booked a separate table for the same day.”

The New York Times, 6/18/07.

The great thing about the Times is, even when their articles are hopelessly behind the curve (you mean you can reserve a table OVER THE INTERNET???!!), there are sometimes little nuggets of gold on the inside. The best of these come in the form of revelations about how “the other 1%”1 live. In this case, we learn about a man who is so rich, his restaurants help make sure his wife doesn’t find out about his regular infidelities. I’m lucky if the person at the Qdoba realizes I’ve been ordering the same thing once a week for two years!

I haven’t had this much fun learning about rich people since the Escapes article in which one fellow has a summer house in Phoenix that he keeps permanently air-conditioned so it would be cool if he decides to visit.

  1. My dad coined used this phrase while we were biking this weekend in Weston, MA. I like it. []
  • Share/Bookmark

Tour de Nat training: Part 1

Ever since I read about the infamous Tour de Nat challenge, I knew it was something I wanted to do. In August, I will do it.

I have the bike and I have the system, all I need now is a body capable of the task. So a few weeks ago I started riding every weekend that the weather was good, of which there has been only one.

This is the route I took two weekends ago:
route1.jpg (31 miles)

The link takes you to the mapping site I used. Load this GPX file to see the route up close. The route was quite good, although the first hill in Belmont at waypoint 15 kicked my ass.

I’ll be posting all of the routes I take on my way to Tour de Nat 2006, but I can’t guarantee quality choices. I don’t have years of experience to rely on, so I’m using a combination of google maps and google earth to pick my roads. Google Earth sucks for determining elevation, however. I’d prefer a real topographical map. I’ll be steadily increasing the mileage until I can do 60 miles reliably. Come August, I should be ready.

  • Share/Bookmark

Bicycle GPS navigation on the cheap

Necessity may be the mother of invention, but being cheap is the mother of glorious hacks.

My friend Mike and I went bike riding two weeks ago using a route from a book. This was awkward because each of us could only retain three or four instructions at a time (“right? left? Mountain? Peach Orchard?”). We had to check the map so often that progress was slow and uncontinuous. Ah, but for a handlebar-mounted gps with mapping!

Vista -- pricy!

Ouch! Ok, nevermind.

So I did some googling, and discovered that someone had made some Garmin-specific files of Boston area bike rides. Char and I own the cheapest Garmin, the eTrex. No mapping, no magnetic compass, no altitude, just location data and route information. I got it at target thinking we might do some Geocaching, but we haven’t done any yet. The problem was, how to get the maps into the GPS?

serial cable

Cheap-ass serial cable! I learned that the data port on the Garmin is simply a serial port: Rx, Tx, Ground. Wire those terminals to a 9 pin serial connector (everyone has a 9 pin serial cable lying around in a drawer somewhere of course!), and you’ve saved yourself $38.00. My cable isn’t very well made and could use a little solder to improve the connections, but right now it works well enough.

While it’s nice to use other people’s maps, I really wanted to create my own. As you can see by my previous post, the solution was handed to me on a silver platter, as was the problem of format conversion and linux-based uploading. This weekend I created a short map on the website, uploaded it to the GPS, and Char and I followed the path around the neighborhood. The problems I noted after that walk led to the development of the python script I wrote.

The last problem was the one I had been avoiding thinking about: mounting the GPS on my thick handlebars. The sanctioned mounting kit fits handlebars of one-inch, but mine are larger. After some fiddling, it appeared that I might be able to attach the device to the stem of the bike. Maybe zip-ties could do it?

GPS hack

Yes! And in the event of catastrophic zip-tie failure, the lanyard is secured to the stem so the GPS doesn’t go careening to the ground.

Had I gone the “legit” route, I would have paid:

Garmin Etrex GPS 100$
Data Cable 38$
Bicycle Mount 18$
Software 30$
Total 186$

And that’s not counting the price of windows! (:P)

If I had gotten the Vista, it would have been 250$ for the device plus the same 18$ and 38$ for the mount and cable, plus an optional 117$ for a national map (which, by the way, I can’t get for any price with my eTrex) for a total of $423. That’s a lot to pay for directions.

Instead I paid:

Garmin Etrex GPS 100$
Serial Cable free (from drawer or old mouse)
Out of Date Credit Card free
Zip Ties free (from work)
Total 100$

Which I think is a better deal, even if I have an ugly cable and worry-inducing mount. I bet the map-creation interface is better, though :) . You could go even cheaper by getting a used eTrex on ebay or craigslist. I hope to take the whole contraption on the road this weekend. The one big feature I might miss is the “beep on upcoming waypoint,” but the screen is large and clear so that shouldn’t be an issue.

Happy Hacking!

  • Share/Bookmark

Creating GPS route maps from google maps

This is an expansion of the excellent work done by Mr. Davis at his Open Source GPS HOW TO page. He has a google maps hack here that allows one to make a GPX xml file by clicking on intersections. This is a very quick way to make a route map.

I wanted to expand on his work in two ways:

  1. I wanted to fill in waypoint names for items that were left blank, and
  2. I wanted to automatically check for waypoint name duplication, because duplicates cause data to be overwritten in Etrex GPS devices.

I wrote a python script that does both things. All one has to do now is:

  1. Create a map on his website
  2. Name major waypoints on the map (I like to name intersections using the name of the street I’ll be turning on to)
  3. Save the GPX file to disk
  4. Run gpxrecode.py [inputfile] [outputfile]

gpxrecode removes the leading number and hyphen from the waypoint name. If the waypoint is blank it gives it the same name as the last one. If the waypoint is already in a cache of waypoints, it adds a number to the end of the name. The cache is maintained between runs of the program, so multiple routes shouldn’t clobber each-other’s names.

Source after the break.

Continue reading ‘Creating GPS route maps from google maps’ »

  • Share/Bookmark