2016-11-29, 09:52 PM
(2016-05-17, 07:50 PM)Sailoog Wrote:Hello(2016-05-17, 05:55 PM)manitu Wrote: I would love to have a standard STW sensor input! It has been done with an ardunio and I could just do that, but just dedicating a input on the analog interface would make it so much easier on the non tech-heads. https://github.com/HomegrownMarine/better_speedoHi manitu,
About STW sensors...
We are working on an OP module to simulate speedometers pulses with SOG from GPS. That means, if your speedometer gets dirty and is not working, OP converts SOG to pulses and sends them to your electronics through GPIO. Here is the info (sorry, in Spanish): http://foro.latabernadelpuerto.com/showp...count=1653
But your question was not about transmitting pulses but receiving pulses and the answer is absolutely yes. We can "count" pulses from GPIO so in future versions of OP, there will be a new tab "Pulse sensors" that allow us to connect pulse sensors and measure water and fuel flow, engine rpm, anchor chain, wind... and accurate STW of course.
I managed to read out the pulses from my old VDO speedo, as the Display unit had broken down. I am reading the pulses via GPIO, and a "quick 'n dirty" python script calculates STW and passes the NMEA sentences to kplex via a FIFO. They are then shown in the cockpit by a NMEA display or wifi on a tablet. It works basically, I still have to calibrate the speed correctly, documentation how many pulses count for 1NM is difficult to find - next summer, when the boat is back in the water....
I am happy to share, if there is any interest.
Fair winds
Christian