In my spare-time I like to bike. Since I live in a region with lots of hills, I built this little device to see how steep the road really is.
In my spare-time, I like to bike. Since I live in a region with lots of hills, this takes quite a lot of energy, many times resulting in a lot of sweat…Sometimes more, sometimes less. What I wanted to know, if there’s a relation between the inclination and the amount of sweat. So I built this little device, which measures the inclination and represents it at an old mobile phone-LCD. Unfortunately, measuring inclination is principally the same as measuring acceleration. So, the display was constantly changing, depending on the momentary power I produced on my pedal. The solution was found in computing the rolling average. Measuring the inclination is done by an accelerometer-chip, the SCA600, produced by VTI-Technologies. Calculations and controlling the LCD is done by a PIC 16F88 microcontroller from Microchip. The PIC also produces the negative voltage for the LCD. The unit has an auto-shut-off function. If the measured inclination has changed less than within 5 percent during 20 minutes, the unit is switched off (RB2). The (dirty!) program is written in assembly. The device is built in a small plastic box and clicked on the bar of my bike using a tool-clamp, see the photo’s. If I had to design it again, I would use a couple of penlights and a LDO regulator.
Elektor Magazine has been one of the leading sources of information on electronics for engineers, designers, start-ups and companies for 65 years. Our magazine is powered by an active community of electronics engineers – from students to professionals – who are passionate about designing and sharing innovative ideas.
For them, we publish hundreds of items a year, in formats such as articles, videos, webinars, and other learning formats. Our mission is to share knowledge in every possible way and inspire readers with the latest developments within the electrical engineering sector.
Thank you for your vote!
Leave further comments in the fields below.
Thank you for your vote!
If you wish to leave a comment with your rating, please first use the login below. If not, just close this window.
Discussion (0 comments)