This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Speed-Data directly from Sensor
#2
The problem with Seatalk is that it uses 9-bit sentences. The UART uses 8 Bits by default. I'm not an Arduino expert, but I think you can read 9-bit sentences with Arduino.
Another possibility is to use a SeaTalk to NMEA converter like this one https://www.ebay.com/itm/SEAYAK-Seatalk1...:rk:5:pf:0
or this more complete one: https://ocenav.com/en/base-stations-atm105a/, with which you can integrate all marine communication standards.

More complicated, you can read the pulses from the speed sensor directly with a GPIO from the Raspberry Pi. As the hall sensor produces, as you said, 12 Volt pulses. This voltage must first be reduced to the 3V input of the Raspberry GPIO, for example by using a voltage divider mounted as a pull down system,
[Image: pull-down-abierto.png]

although the best system is by optoisolation, for example with the 4n25 or better with the LTV817

[Image: Raspberry-Optocoupler.jpg]

That if, it will be necessary to write a program in Python to read the pulses and to turn them into speed
Reply


Messages In This Thread
RE: Speed-Data directly from Sensor - by gypsylyon - 2018-12-25, 10:52 PM
RE: Speed-Data directly from Sensor - by CVL - 2019-01-20, 11:08 AM
RE: Speed-Data directly from Sensor - by abarrow - 2019-01-07, 03:03 PM
RE: Speed-Data directly from Sensor - by abarrow - 2019-01-20, 03:42 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)