Having some experience with quadcopters, they all use something called an IMU – inertial measurement unit – which gives you the pitch, roll and yaw of the craft. These two values are generated by a gyroscope and accelerometer working together cancelling out each others possible errors. Additional measurements are normally available, a compass for direction and a barometer for altitude readings. With a GPS, the compass (magnometer) allows you to plot a course and have the vehicle follow waypoints; sounds like its worth a look.
An IMU board is now pretty cheap to get your hands on, in fact you can get a complete quadcopter ‘brain’ for $35 here, which contains an Atmel ATMEGA2560, with all of the above sensors ready to use. For my boards, a pre-made I2C board would be ideal which is exactly what I found; the GY-80.
Cycling is my main form of transportation which often means I’m travelling at night, hoping other road users can see me as I ride along. I used cheap LED lights for a while, but the batteries either ran out too quickly, or their light output was sub-par. I looked around for a better more expensive set but ended up – foolishly – deciding I could do a much better job myself.
The first iteration was an Arduino Fio with a stripboard MOSFET driver board which lead to my discovery of OSH Park and – after a few months of experimentation and feature-creep – I ended up with a GPS RTC enabled board reporting its position and battery level back through a GPRS module. This board eventually suffered a catastrophic failure which I’m still unsure why it happened, but I was left without lights which was my biggest concern. Continue reading Making Arduino bike lights
The BT Home Hub project is now almost finished, its just the last few quirks to work out and fix. For the last time, I’ve added a new module to my monitoring dashboard which allows me to see usage against time.
While checking out whether this page was working, I noticed an interesting spike in both sent and received traffic…