Hi, I'm working on a tachometer for my RC car and it appears that there's no other way to do it than using small DC motor as a dynamo. Arduino will read generated voltage and convert it to speed. But I ran into some potential problems. What will happen when there's a small voltage applied to the ground (when the motor spins backwards)? I put a protective Schottky diode D1 there but it will not open until there's at least ~ 0.2 V. Next question is what will happen if the generator spins while the Arduino is off, so there's more than 0.5 V above supply voltage (which is obviously 0V). Will it damage that analog pin? Or does it only apply to digital pins?
Schematic I made: Ulož.to Disk