Why should cyclists have all of the fancy toys? Bicycle computers are very common these days but you won’t find similar hardware for skateboards and longboards. [KobraX22] isn’t taking it lying down. He built this speed and distance computer for his longboard. It doesn’t use very many components and should be easy to install.
The device monitors the rotation of one of the wheels by mounting a reflectance sensor on one of the trucks. It points toward the inside of a wheel which has a piece of black tape on it. Every time the tape passes it prevents the IR led from reflecting back at its paired receiver. This lets the Arduino count the revolutions, which are then paired with the wheel diameter to calculate speed as well as distance traveled. Of course the wheels wear down over time to so frequent riders will have to take new measurements at regular intervals.
[KobraX22] went with a QRB1114 sensor. It costs less than $2 and doesn’t require him to embed a magnet in the wheel like a hall effect sensor setup would have. It also shouldn’t interfere with any other fancy wheel hacks you’ve done, like adding a POV display.
[via Reddit]
Anyone know where to source a QRB1114? Digikey and Sparkfun don’t carry them anymore.
http://dx.com/p/tcrt5000-reflective-infrared-sensor-photoelectric-switches-black-silver-10-pcs-151828?rt=1&p=8&m=1&r=3&k=2&t=1&u=151828
a quick google search upturned this and only this
http://www.robotshop.com/productinfo.aspx?pc=RB-Phi-11&lang=en-US
Unfortunately for me to get this in the uk it will cost me upwards of £25
They have an EU website too. They happen to have a decent selection of sparkfun and adafruit products too.
http://www.robotshop.com/eu/productinfo.aspx?pc=RB-Phi-11&lang=en-US
Here are some similar Sparkfun IR / Phototransistor sensors:
https://www.sparkfun.com/products/246
https://www.sparkfun.com/products/8545
arduino, lcd, sensor, additional supprt parts… why wouldn’t I just use a gps or smart phone?
because you’re a hackaday reader who likes to play with electronics, not a davey downer who likes to play with his smartphone
Cost, reliability, size considerations, update rate, lack of ownership of gps/smartphone, issues with calculating low speeds with GPS, fun? Many reasons for and against.
I am friends with KobraX22. We don’t have a GPS to use so we would have to buy one that costs money. Smartphone GPSs aren’t very good either and aren’t very accurate or reliable for calculating speeds when we tried it (Even getting a GPS lock wasn’t consistent), not to mention the risk of damage in the event you bail.
This also will mount onto the front of the board so it’s easy to glance at in the middle of a run.
Those all make sense to me. Thanks for the honest, sincere answer.
Using the QRB1114 is very cheap but very accurate! GPS takes a few seconds to minutes from cold start to get satellite info. I would of use a hall effect sensor with a magnet in the wheel (drill hole and insert magnet). The hall effect would make this even more robust, dirt, water proof. I guest he tested that it works with QRB1114 so using hall effect is sort of plug and play.
I really like what he did. I wonder why I read 188km/h… that is 13298.261 rpm with a 75mm wheel!
Was a calibration error.
Oh awesome. I didn’t realise when I posted it to reddit that it would find it’s way here. I’m glad you guys like it.
Somehow ended up replying to main post by accident http://hackaday.com/2013/03/04/a-longboard-speed-and-distance-computer/comment-page-1/#comment-970293
QRB1114 is obsolete part, search for a replacement
http://www.mouser.com/Search/Refine.aspx?Keyword=QRB1114
Cool project and nice work! I have to be a butt, but beyond the joy of making you can do this really cheaply and easily with a $20 bell bike computer. The wheel diameter calibration goes down to longboard sizes. Big advantages are you already have a moisture and vibration resistant device. Challenges are maintaining wheel balance after mounting the magnet, finding an epoxy to mount things that can resist that much vibration, and either shortening or storing the enameled wire.
I was able to pull it off using an 1/8″ riser mounted on top of dropped through Randall IIs with the wire zip tied to the underside of the riser and the bikeputer base screwed and marine epoxied to the top.
Cheers!
Yeah, the GPS on my phone sucks. I use it with Glympse and half the time it’s teleporting me all around the city…