help me with bicycle speedometer (picaxe 08M) plz

Status
Not open for further replies.

Charleschen

Newbie level 1
Joined
Oct 4, 2009
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
New Zealand
Activity points
1,293
Recently i am doing a project on bicycle speedometer and also show its distance....here are some details about the project:
1.Use a 4017 counter connected 10 Leds as my display( from Q0 to Q9)
2. use a hall effect sensor,,
3. the output of the sensor goes into a window comprotor.(In my case ,when the sensor detect the magnet, the output of the comprator goes from 5V to 0V..)
4.The output of the comprator goes into the pin3(ADC4)
5.Pin7(OUT0) OF picaxe goes into the pin14 (clock pulse) of the 4017..
6.pin6(OUT1/ADC1) of picaxe goes into the pin15(Master reset) of the 4017
7.there is a swith connected to pin5(OUT2/IN2/ADC2),When the switch is closed and being pressed, it (pin5)goes to logic low, so the distance is displayed..

Here are some details of the wheel:
1,the bicycle goes 2.1677 meters between every two pulses..(2.1677m every revolution).
2,the speed and distance should be displayed in km/hr and kw..
3, eg 13km should be displayed in the format: 1 led on, after 1 second 3 leds on...

I know it 's a really tough programming..but could anyone help me or give me some idea...thanks very very much...
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…