2025-08-21, 03:36 PM
This HAT is sold by Waveshare: https://www.waveshare.com/2-ch-rs485-hat.htm
After an update a couple of months ago you will get a warning using:
that the overlay has been renamed. The above is still the instruction in the Waveshare WIKI for your config.txt.
Previously, the above line did work. Kind/of.
And also note that enabling or disabling SPI in the "Raspberry Pi Configuration" before the update did not do any difference (!).
After some kernel updates; in order to have this HAT work try:
And make sure SPI is enabled in the "Raspberry Pi Configuration" application.
You may find only the second dtoverlay line when googling.
At least here, both lines and enabling SPI is required.
Now i get the RS485 NMEA0183 data from the sensor stably and reliably on /dev/ttySC0.
There are differences between using the HAT with RPi4 and RPi5. I use a 5.
Some kernel-dude indicated that it might look as it's working on the Rpi4.
I'm posting this because the Waveshare WIKI is *NOT* updated.
HTH
/Dany
After an update a couple of months ago you will get a warning using:
Code:
dtoverlay=sc16is752-spi1,int_pin=24that the overlay has been renamed. The above is still the instruction in the Waveshare WIKI for your config.txt.
Previously, the above line did work. Kind/of.
And also note that enabling or disabling SPI in the "Raspberry Pi Configuration" before the update did not do any difference (!).
After some kernel updates; in order to have this HAT work try:
Code:
dtoverlay=spi1-1cs,cs0_spidev=off
dtoverlay=sc16is75x-spi,sc16is752,spi1-0,int_pin=24And make sure SPI is enabled in the "Raspberry Pi Configuration" application.
You may find only the second dtoverlay line when googling.
At least here, both lines and enabling SPI is required.
Now i get the RS485 NMEA0183 data from the sensor stably and reliably on /dev/ttySC0.
There are differences between using the HAT with RPi4 and RPi5. I use a 5.
Some kernel-dude indicated that it might look as it's working on the Rpi4.
I'm posting this because the Waveshare WIKI is *NOT* updated.
HTH
/Dany