2022-08-25, 08:53 PM
(2022-08-25, 06:27 PM)Techstyle Wrote: I am now trying to get the RPM sensor to work for me, it seems you made your own board, but I already had a Optocoupler board based on the EL817 that I used for my ST1 connection (https://amzn.to/3Kkoy2q). Running the code below:Yeah, I think that might work. Are you seeing a change in voltage from the alternator side at all? It’s a Yanmar engine?
Code:(new DigitalInputCounter(RPM_PIN, INPUT_PULLUP, RAISING, 500))
it seems the voltage to at the pin never drops, I think I should try:
Code:(new DigitalInputCounter(RPM_PIN, INPUT_PULLDOWN, FALLING, 500))
any thoughts?