AVR Programming 04: Writing Code, Etc.

Welcome back to this fourth and final installment of the series. The first three parts should have been enough to get you off the ground, but a few more learning examples wouldn’t hurt. It’s also a good time to discuss some of the other things these little chips can do. Join me after the break to:

  • Expand the sample code, adding features to our simple program while I challenge you to write the code yourself.
  • Discuss AVR fuse bits, how to use them, and what to watch out for
  • Touch on some of the peripherals you’ll come across in these chips

As a grand flourish to the series, I’ve used the example hardware from this final part to build a bicycle tail light. Hopefully this will inspire you to create something much more clever.

Series roadmap:

Continue reading “AVR Programming 04: Writing Code, Etc.”

Exercise Along To Google Street View

As part of a Master’s Thesis [Lette Moloney] made this exercise bike control Google Street View. The hardware setup is quite rudimentary, two hall effect sensors mounted next to each other detect a magnet that was hot-glued to the crank. When the magnet passes the sensors an Arduino establishes if it was a forward or backward stroke based on which sensor was tripped first. From there a keystroke is issued to Google Street View to move the virtual location accordingly.

One thing we didn’t expect until we saw the video (embedded after the break) is that traversing street view is not a smooth experience. It’s more of a slide show as you exercise. Not a big deal since the hardware setup can be reused with different virtual stimuli. One thing that comes to mind is attaching a camera to the handlebars of your bike and recording your favorite rides during the warm months so that you can replay them during your indoor winter training. Of course that’s going to require some coding to marry the Arduino data to the speed of the video playback but we want to see it done anyway. Wow, image a database that would allow folks to share point-of-view videos of their rides… it’s the only way we’d ever get to see what it’s like to climb your way up Alpe_d’Huez.

We saw a slew of these stationary bike hacks a while back. If this wets your appetite, check in on one with a wearable display, another that also uses Street View, or pedaling to the top of a miniature mountain.

Continue reading “Exercise Along To Google Street View”

Tanks Treads For Your Next Robot

If you ever wanted to incorporate tank treads into one of your build you should check out this guide. The method shown above is our favorite, which uses rubber fuel line hose and #10 machine bolts to hold together two lengths of hollow-pin roller chain. You can see the drive sprocket is keyed into the outer length of chain but the wheels that distribute the vehicle’s weight rest on the rubber tubing. You’ll also find details on building hinged track, molded track, plastic conveyor track, treadmill track, and bicycle chain construction. This should cut down on development time when you finally get around to making that paintball tank.

[Thanks BoKu]

Building A Recumbent Trike From Old Parts

This recumbent trike was built using parts from three salvaged bikes and without welding. These bikes are a bit easier on the back and neck than the traditional riding position. This one also allows for a shorter pedal crank which was a concern for the creator, [Barry Millman]. Not only did he do a fantastic job of making the thing, but he shared the project in verbose detail.

It’s a good build. It won’t win a prize for light-weight design as it includes a big chunk of plywood. But it is worth the weight hit if welding is not an option. For your viewing pleasure you’ll find a short parking lot test-drive of the finished recumbent after the break.

Oh, and if you want a more dangerous cycling build, try this over-under tandem.

Continue reading “Building A Recumbent Trike From Old Parts”

The Quest For A Bicycle Power System

[Garote] has been extremely busy. Busy building an electrical system into his bicycle, and even busier writing a monumental post about it. He covers an impressive range of topics, starting with the goal of adding a generator, battery, charging system, lights, and accessories to the bike. From there he clicks off one thing at a time, researching and ordering a wheel with a Dynamo hub for the generator, assembling and testing the cells of his battery, choosing the controller board for the charging system, and designing the accessory circuits like the iPhone charger above. If he adds too much more to the two-wheeled rig he’s going to have to plan a big road trip with it.

[Thanks Xuxo]

A Bicycle Build For… 2.0

Here’s an interesting way to fill the second seat on your tandem bicycle. It seems no one ever wants to be the stoker, so this gentleman decided to build his riding partner. JouleS powers the bicycle from the back using the same motions a human would. It’s not the easiest way to make an electric bicycle but the mechanics that went into it are quite beautiful. See the old boy pedaling away after the beak.

Continue reading “A Bicycle Build For… 2.0”

30 Mph Electric Mountain Bike

[youtube=http://www.youtube.com/watch?v=xBn-VIzJsSk]

A 48 volt power house pushes this mountain bike at speeds up to 30Mph.  That’s a bit of a boost from many off the shelf E-bikes. [Jennifer Holt] wanted speed, and to retain the off road capabilities of her bike, so she made a custom one. As you can see in the video, this thing gets going fast and hills are no problem. She says that it will toss you off if you slam the throttle, and we believe her. We know some of you will insist on chiding her because she’s not wearing a helmet in those videos. She did manage to break her elbow offroading in the video after the break. That part is edited out though.

[via Makezine]

Continue reading “30 Mph Electric Mountain Bike”