2022-04-04, 11:38 AM
(This post was last modified: 2022-04-04, 04:08 PM by Boatingbaileys.)
(2022-04-03, 06:08 PM)MigGat Wrote:(2022-04-03, 04:14 PM)Boatingbaileys Wrote: Hi, I’ve just added fuel consumption (predicted based on RPM) so if that’s works I’ll share all the code either on GitHub or on here. Plan to test that this next week.
I have just used the examples and stuck it all together but happy to share.
That'd be interesting!
On another topic, I tried today the same solution for the RPM counter, just that it didn't work on my side :/
Tried the exact same critcuit from boatybits/boatymonpy and after testing it at home successfully, tried to connect it to the actual alternator, but 2 things happened:
1) The existing (old style analog) RPM counter stopped working. After disconnecting my circuit worked again.
2) The voltage between connector 1 and 2 from the schematic was 1.9V DC
Any idea what could I have done wrong?
Now that I see the schematic again.. I might I might have reverted the terminals. Ground should go to 1 and W from the alternator should go to 2, is that right? Cause I did it the other way around.
Also, since there is only 1 power source, the ground can come from anywhere? Or is there something specific of the alternator?
Thanks a lot!
Hi,
The ground should go to 1 and the W terminal should go to 2. From what you said, the RPM gauge stopping when connected would make sense as you grounded the terminal?
You should be able to take the ground from anywhere. Follow that from the back of your alternator and see where it goes. On my MD2030, it goes to the block, so its all ground. You could take power from the back of the alternator, that's something I'm just trying to work out on mine so I can get 'ignition on' and make my timer work correctly.
Stick your multimeter on AC, as the W terminal sends out AC voltage rather than DC and let us know what voltage that shows. I'm sure mine was around 9v AC.
I've posted my code here - https://github.com/Boatingwiththebaileys/ESP32-code Just note I've not tested the fuel consumption part yet, so if anyone does copy that just hash it out if it doesn't work. I'm still learning too