loading

I will show you how to build a bike speedometer. It shows your speed,
the average speed,the temperature, the trip time and the total distance. You can change it using the button. Additionally, the speed is shown on a tachometer. I built it because I like building new things, I have not found anything like this on the internet so I want to show you how to build a good speedometer as the one on my bike is not as cool as I want :) . So let's get started.

Step 1: Parts:

This is a list of parts that you will need. They cost me about $ 40 but I bought them in Poland.

-arduino

-bike with reed switch

-LCD display 16x2

-servo

-breadboard

-thermometer DS18B20

-resistor 1.2k Ω , 4.7k Ω

-switch

-button

-potentiometer 10 kΩ

-9V battery

-cables

-box

-tools (drill, soldering, knife, tape)

<p>i have run the code, but it counts by it self and the speed is 63 as a stable speed. It should give 0.00 . Any solution for that?</p><p>and thank you for the ide</p>
Congratulations Nikus, great proyect, but I have the same problem. Can you help me? Mi email is vordesigns@hotmail.com. I will thank you very much.
<p>Check if you have everything alright with connection. Hard to say but for sure you have problem with hardware. It is also possible that you used NC reed switch (normally close) but you should use NO (normally open)</p>
<p>I have the same problem. </p>
<p>This is a speedometer ,not a tachometer.</p>
<p>Which arduino board you have used?</p>
<p>leonardo</p>
<p>Looks really cool! I can put this on my To-Do list (after I learn arduino :( ...)</p>
<p>Thanks! Good luck with arduino </p>
<p>Could you tell us more about Reed switches and How to connect Reed switch to wheels..?</p>
<p>is there anychance that the sensor would be a steppermotor connected to the wheel ?</p>
<p>If you were to connect a regular motor to the wheel, you could measure its voltage and get an accurate reading of your speed, you could also use that voltage to run your system and forgo batteries altogether!</p>
<p>I've never done anything with steppermotors so I do not know. Now I'm going on holiday so I can't check it but when I get back I'll try.</p>
<p>Cool project!</p><p>You can save a wire on the DS18B20 by running it in parasite-power-mode. It's supported by the PJRC-library.</p><p>Also, i don't know how much time you get out of the 9V battery, but i cannot be very much. 40% of the energy of the 9V battery is lost as heat in the voltage regulator on the Arduino, and there isn't much more than 600 mAh in one of those, so it will run down very fast. You will get much longer runtime with a battery holder for 3 AA-cells, and connecting that to the 5V-rail. It should be plenty enough to run all your stuff nicely. If not, use 5 AA-cells, and wire it to the VIN-terminal. Then you will have 2000-2500 mAh capacity :D</p>
<p>Thank you.</p><p>I know about the 9V battery, about temperature sensor too. I plan to do a second version which will have a more function and other power will be much smaller size.</p>
<p>what are you using for the sensor</p>
<p>I use reed switch.</p>
Nice idea :)
<p>Thank you :)</p>

About This Instructable

29,600views

183favorites

License:

Bio: Hi, my name is Nikodem. I live in Poland, I'm 17 years old. I like to program and create robots, devices and things. In ... More »
More by Nikus:Cheap 3D scanner How to Assemble and Use Cheap CNC Machine 555 Useless Machine 
Add instructable to: