SK
Signal K7mo ago
Henry

Henry - I'm quite please that I've managed to g...

I'm quite please that I've managed to get my engine RPM onto the N2K / SignalK with a cheap Aliexpress converter. I'm new to Node-Red so still learning, I managed to make an average function to smooth it out a bit (RPM was jumping around a bit). But next challenge is getting it to read zero. When the engine is off the unit turns off stops sending a signal. I'm thinking I could implemenet a Node-Red function that injects a zero and then an IF function to choose the larger of the two. (the functions aren't quite right as I'm practising at home so online node-red doesn't have all of the signalk plugins). But any comments / thoughts / code corrections welcome.
No description
No description
No description
No description
10 Replies
Tony
Tony7mo ago
If there is no data then that isn’t really zero. Something like null or displaying —
Henry
HenryOP7mo ago
Cheers, managed to get trigger and timeout working well. I just went for zero for ease, means dial shows zero which (when the engine is off) is correct
No description
Ed
Ed7mo ago
@Henry May I ask what sensor hardware you used to accomplish this?
Henry
HenryOP7mo ago
A cx5003 from eBay engine nmea 2000 converter. Hardware wise very easy to install.
Ed
Ed7mo ago
Wow, that is an inexpensive device! What I’m particularly interested in is how the rpm is measured. Is it connected to the existing analogue rpm gauge?
Henry
HenryOP7mo ago
We've just installed a new balmar alternator and regulator. That has a tacho output which is a pulse. But would also work off a normal alternator, just takes the tacho pulse and you set the dip switch to set the frequency.
Tony
Tony7mo ago
The tach output on the Balmar regulator doesn’t work for me once the battery is charged.
Henry
HenryOP7mo ago
Have read that is a common problem. We don't motor that often and have a 540ah lithium battery so will take a while for engines to get to float. Worse case for another tacho to the flywheel.
Tony
Tony7mo ago
Yes that is my plan. Dedicated tacho always working
Want results from more Discord servers?
Add your server