Is any body have any idea about digital speedometer. I am not an electronics engineer but its my hobby. I am computer programmer and know assembly and other things. Can we attach a magnet to motorcycle's spoke and a coil neat it so that every time the wheel passes the coil it generates some current. By measuring the dia of wheel and counting the current per second we can generate the speed of motorbike which can be displayed on a digital display.