- Fri Sep 23, 2022 7:51 am
#58662
Hello, I need to put together a small circuit to convert a switched 12V input to 0-5V input for my Speeduino.
I want to make it the most robust and realiable I can (without overengineering it), and I was planning to use an optocoupler with a suitable series resistor to achieve a forward current of 5mA @12V (a little more @ 14V); the output of the optocoupler would then pull the Speeduino input to ground when active.
If it were you, would you add anything else to the 12V part of the circuit to handle spikes, fluctuations and such?
I want to make it the most robust and realiable I can (without overengineering it), and I was planning to use an optocoupler with a suitable series resistor to achieve a forward current of 5mA @12V (a little more @ 14V); the output of the optocoupler would then pull the Speeduino input to ground when active.
If it were you, would you add anything else to the 12V part of the circuit to handle spikes, fluctuations and such?
1997 BRG EU-Spec 1.6L MX-5 from Italy