OpenMarine
Raspberry Pi 4 released! - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=2)
+--- Thread: Raspberry Pi 4 released! (/showthread.php?tid=1855)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21


RE: Raspberry Pi 4 released! - Sailoog - 2019-07-10

(2019-07-09, 05:53 AM)paulo.abdon@gmail.com Wrote:
(2019-06-30, 10:41 AM)Sailoog Wrote: You can do that mod it is easy. We are sorry for that but no one expected that hardware change never did before on old Raspberry boards.

More changes than expected have to me made in openplotter 2 to make it work with Raspberry 4: moving nodejs from 8 to 10, xygrib, wifi access point, most opencpn plugins... but do not worry we will success and we will build the most robust, stable and documented openplotter version ever before.

RPI 4 now has many UARTs. Do you have plans to modify hardware and software to incorporate some (at least 4) RS422 and / or RS232 into a new version of Moitessier HAT? Or some new HAT that exposes these serial interfaces and that can be stacked with Moitessier. This would allow for more secure connections to the NMEA0183 interfaces and would facilitate installation and maintenance by dispensing cables, connections, and USB converters.

I do not find info about the new UARTs. Are they software or hardware ports? Do you have any link?


RE: Raspberry Pi 4 released! - Sailoog - 2019-07-10

(2019-07-09, 10:44 AM)Luckbert Wrote:
(2019-07-05, 01:22 PM)Sailoog Wrote:
(2019-07-05, 12:58 PM)jim321 Wrote: has this been implemented yet.
https://github.com/sailoog/openplotter/issues/224#issuecomment-421732046
i saw the Latest commit was fix sdr

Yes it was done some time ago. In OpenPlotter 2 is possible to get data from both AIS channels simultaneously using only one device. But at this moment only in Raspberry 3.
The commit you are referring to is the fix for gqrx for buster (SDR Radio reception)

Hello, Saillog, 
I have already worked with AISDeco2 (http://xdeco.org/?page_id=30#ai2_id=30#ai2) in the last OP versions. It always worked very well and can also receive signals on 2 channels. 
I just tested the program with a RPI3+ and Buster. 
It seems to work. I just had to install the required packages and then it worked. 
Unfortunately I am not able to test it with real ships at the moment. 

Is this an option?
Greetings Jürgen

It could be an option but we use https://github.com/sailoog/rtl-ais and aisdecoder and it is already working really well.


RE: Raspberry Pi 4 released! - MatsA - 2019-07-10

(2019-07-10, 05:34 PM)Sailoog Wrote:
(2019-07-09, 10:44 AM)Luckbert Wrote:
(2019-07-05, 01:22 PM)Sailoog Wrote:
(2019-07-05, 12:58 PM)jim321 Wrote: has this been implemented yet.
https://github.com/sailoog/openplotter/issues/224#issuecomment-421732046
i saw the Latest commit was fix sdr

Yes it was done some time ago. In OpenPlotter 2 is possible to get data from both AIS channels simultaneously using only one device. But at this moment only in Raspberry 3.
The commit you are referring to is the fix for gqrx for buster (SDR Radio reception)

Hello, Saillog, 
I have already worked with AISDeco2 (http://xdeco.org/?page_id=30#ai2_id=30#ai2) in the last OP versions. It always worked very well and can also receive signals on 2 channels. 
I just tested the program with a RPI3+ and Buster. 
It seems to work. I just had to install the required packages and then it worked. 
Unfortunately I am not able to test it with real ships at the moment. 

Is this an option?
Greetings Jürgen

It could be an option but we use https://github.com/sailoog/rtl-ais and aisdecoder and it is already working really well.

Checked aisdeco2 and it doesn't work on RPi 4, and is not open source !! Error "rtlsdr_read_reg failed with -7".


RE: Raspberry Pi 4 released! - paulo.abdon@gmail.com - 2019-07-11

(2019-07-10, 05:32 PM)Sailoog Wrote:
(2019-07-09, 05:53 AM)paulo.abdon@gmail.com Wrote:
(2019-06-30, 10:41 AM)Sailoog Wrote: You can do that mod it is easy. We are sorry for that but no one expected that hardware change never did before on old Raspberry boards.

More changes than expected have to me made in openplotter 2 to make it work with Raspberry 4: moving nodejs from 8 to 10, xygrib, wifi access point, most opencpn plugins... but do not worry we will success and we will build the most robust, stable and documented openplotter version ever before.

RPI 4 now has many UARTs. Do you have plans to modify hardware and software to incorporate some (at least 4) RS422 and / or RS232 into a new version of Moitessier HAT? Or some new HAT that exposes these serial interfaces and that can be stacked with Moitessier. This would allow for more secure connections to the NMEA0183 interfaces and would facilitate installation and maintenance by dispensing cables, connections, and USB converters.

I do not find info about the new UARTs. Are they software or hardware ports? Do you have any link?

RPI 4 uses BCM2711 which has multiple UART and I2C interfaces, as described briefly at https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2711/README.md.

I've found some more details on how RPI 4 distributes these interfaces to the GPIO connector at https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2711/rpi_DATA_2711_1p0_preliminary.pdf.

I am not yet having a RPI 4 to do the tests, but I believe we now have a hardware that allows and deserves a HAT that implements at least 4 422/232 serial interfaces using best isolation and protection practices and simplifying NMEA183 connections.

Are you doing an incredible job with Moitessier for what was allowed for RPI 3. Are there any plans for a new version of Moitessier or a new stackable HAT that makes it easier to use these new RPI4 serial interfaces?

Thank you


RE: Raspberry Pi 4 released! - jim321 - 2019-07-11

there's more than one way to skin a cat
i have a few extra serial ports on a raspberry pi 3 now
   
 i picked up this for $10.00 on ebay
[Image: icusb2328.b.jpg]
and a few of these
[Image: s-l500.jpg]


RE: Raspberry Pi 4 released! - paulo.abdon@gmail.com - 2019-07-11

(2019-07-11, 11:35 AM)jim321 Wrote: there's more than one way to skin a cat
i have a few extra serial ports on a raspberry pi 3 now

 i picked up this for $10.00 on ebay
[Image: icusb2328.b.jpg]
and a few of these
[Image: s-l500.jpg]

This is certainly one of the possible solutions to get around the lack of RIP 3 serial interfaces, but more connectors, more power supplies, and more cables often mean worse MTBF and MTTR.  

RIP 4 apparently has enough uarts to connect with the main NMEA183 devices that may possibly exist on the boat.  I'm trying to figure out how best to take advantage of this extra feature and simplify the installation and maintenance of the entire system.

 What do you guys think of a new HAT to address this?

Thank you.


RE: Raspberry Pi 4 released! - Sailoog - 2019-07-11

(2019-07-11, 06:11 AM)paulo.abdon@gmail.com Wrote:
(2019-07-10, 05:32 PM)Sailoog Wrote:
(2019-07-09, 05:53 AM)paulo.abdon@gmail.com Wrote:
(2019-06-30, 10:41 AM)Sailoog Wrote: You can do that mod it is easy. We are sorry for that but no one expected that hardware change never did before on old Raspberry boards.

More changes than expected have to me made in openplotter 2 to make it work with Raspberry 4: moving nodejs from 8 to 10, xygrib, wifi access point, most opencpn plugins... but do not worry we will success and we will build the most robust, stable and documented openplotter version ever before.

RPI 4 now has many UARTs. Do you have plans to modify hardware and software to incorporate some (at least 4) RS422 and / or RS232 into a new version of Moitessier HAT? Or some new HAT that exposes these serial interfaces and that can be stacked with Moitessier. This would allow for more secure connections to the NMEA0183 interfaces and would facilitate installation and maintenance by dispensing cables, connections, and USB converters.

I do not find info about the new UARTs. Are they software or hardware ports? Do you have any link?

RPI 4 uses BCM2711 which has multiple UART and I2C interfaces, as described briefly at https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2711/README.md.

I've found some more details on how RPI 4 distributes these interfaces to the GPIO connector at https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2711/rpi_DATA_2711_1p0_preliminary.pdf.

I am not yet having a RPI 4 to do the tests, but I believe we now have a hardware that allows and deserves a HAT that implements at least 4 422/232 serial interfaces using best isolation and protection practices and simplifying NMEA183 connections.

Are you doing an incredible job with Moitessier for what was allowed for RPI 3. Are there any plans for a new version of Moitessier or a new stackable HAT that makes it easier to use these new RPI4 serial interfaces?

Thank you

Thanks Paulo,
After studying that info I can see that RPI4 has from ALT0 to ALT5 GPIO alternate functions.
ALT0 is used by all the old RPI models and ALT1 to ALT5 are available only in RPI4 so you are talking about redesign the moitessier hat and design new hardware only for RPI4?


RE: Raspberry Pi 4 released! - paulo.abdon@gmail.com - 2019-07-11

(2019-07-11, 05:08 PM)Sailoog Wrote:
(2019-07-11, 06:11 AM)paulo.abdon@gmail.com Wrote:
(2019-07-10, 05:32 PM)Sailoog Wrote:
(2019-07-09, 05:53 AM)paulo.abdon@gmail.com Wrote:
(2019-06-30, 10:41 AM)Sailoog Wrote: You can do that mod it is easy. We are sorry for that but no one expected that hardware change never did before on old Raspberry boards.

More changes than expected have to me made in openplotter 2 to make it work with Raspberry 4: moving nodejs from 8 to 10, xygrib, wifi access point, most opencpn plugins... but do not worry we will success and we will build the most robust, stable and documented openplotter version ever before.

RPI 4 now has many UARTs. Do you have plans to modify hardware and software to incorporate some (at least 4) RS422 and / or RS232 into a new version of Moitessier HAT? Or some new HAT that exposes these serial interfaces and that can be stacked with Moitessier. This would allow for more secure connections to the NMEA0183 interfaces and would facilitate installation and maintenance by dispensing cables, connections, and USB converters.

I do not find info about the new UARTs. Are they software or hardware ports? Do you have any link?

RPI 4 uses BCM2711 which has multiple UART and I2C interfaces, as described briefly at https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2711/README.md.

I've found some more details on how RPI 4 distributes these interfaces to the GPIO connector at https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2711/rpi_DATA_2711_1p0_preliminary.pdf.

I am not yet having a RPI 4 to do the tests, but I believe we now have a hardware that allows and deserves a HAT that implements at least 4 422/232 serial interfaces using best isolation and protection practices and simplifying NMEA183 connections.

Are you doing an incredible job with Moitessier for what was allowed for RPI 3. Are there any plans for a new version of Moitessier or a new stackable HAT that makes it easier to use these new RPI4 serial interfaces?

Thank you

Thanks Paulo,
After studying that info I can see that RPI4 has from ALT0 to ALT5 GPIO alternate functions.
ALT0 is used by all the old RPI models and ALT1 to ALT5 are available only  in RPI4 so you are talking about redesign the moitessier hat and design new hardware only for RPI4?

I don't think it makes sense to redesign Moitessier just to include those interfaces. However, if some hardware or layout incompatibility with RIP4 requires a revision in Moitessier, it might be a good idea to include some 422/232 serial interfaces in this new version for when it was used with RIP4.

Anyway, I think the best thing to do would be to build a new stackable HAT capable of staying between RPI4 and Moitessier to provide easy, isolated, and protected access to some of the new interfaces available on RIP4. This would also solve the Moitessier problem with the new RIP4 ethernet connector position. 

Btw, if you prefer we could move this topic to a new thread about "HATs for RPI4".


RE: Raspberry Pi 4 released! - Luckbert - 2019-07-12

(2019-07-10, 05:34 PM)Sailoog Wrote:
(2019-07-09, 10:44 AM)Luckbert Wrote:
(2019-07-05, 01:22 PM)Sailoog Wrote:
(2019-07-05, 12:58 PM)jim321 Wrote: has this been implemented yet.
https://github.com/sailoog/openplotter/issues/224#issuecomment-421732046
i saw the Latest commit was fix sdr

Yes it was done some time ago. In OpenPlotter 2 is possible to get data from both AIS channels simultaneously using only one device. But at this moment only in Raspberry 3.
The commit you are referring to is the fix for gqrx for buster (SDR Radio reception)

Hello, Saillog, 
I have already worked with AISDeco2 (http://xdeco.org/?page_id=30#ai2_id=30#ai2) in the last OP versions. It always worked very well and can also receive signals on 2 channels. 
I just tested the program with a RPI3+ and Buster. 
It seems to work. I just had to install the required packages and then it worked. 
Unfortunately I am not able to test it with real ships at the moment. 

Is this an option?
Greetings Jürgen

It could be an option but we use https://github.com/sailoog/rtl-ais and aisdecoder and it is already working really well.
Hello,
Then it's all right.
I thought there were problems with the AIS reception on two channels. 
I must have read it wrong. 
Greetings Jürgen

(2019-07-10, 08:04 PM)MatsA Wrote:
(2019-07-10, 05:34 PM)Sailoog Wrote:
(2019-07-09, 10:44 AM)Luckbert Wrote:
(2019-07-05, 01:22 PM)Sailoog Wrote:
(2019-07-05, 12:58 PM)jim321 Wrote: has this been implemented yet.
https://github.com/sailoog/openplotter/issues/224#issuecomment-421732046
i saw the Latest commit was fix sdr

Yes it was done some time ago. In OpenPlotter 2 is possible to get data from both AIS channels simultaneously using only one device. But at this moment only in Raspberry 3.
The commit you are referring to is the fix for gqrx for buster (SDR Radio reception)

Hello, Saillog, 
I have already worked with AISDeco2 (http://xdeco.org/?page_id=30#ai2_id=30#ai2) in the last OP versions. It always worked very well and can also receive signals on 2 channels. 
I just tested the program with a RPI3+ and Buster. 
It seems to work. I just had to install the required packages and then it worked. 
Unfortunately I am not able to test it with real ships at the moment. 

Is this an option?
Greetings Jürgen

It could be an option but we use https://github.com/sailoog/rtl-ais and aisdecoder and it is already working really well.

Checked aisdeco2 and it doesn't work on RPi 4, and is not open source !! Error "rtlsdr_read_reg failed with -7".

Hi,
I'm sorry, 
I could only test it with an RPI 3+ with Buster. 
Greetings Jürgen


RE: Raspberry Pi 4 released! - Sailoog - 2019-07-12

(2019-07-10, 08:04 PM)MatsA Wrote:
(2019-07-10, 05:34 PM)Sailoog Wrote:
(2019-07-09, 10:44 AM)Luckbert Wrote:
(2019-07-05, 01:22 PM)Sailoog Wrote:
(2019-07-05, 12:58 PM)jim321 Wrote: has this been implemented yet.
https://github.com/sailoog/openplotter/issues/224#issuecomment-421732046
i saw the Latest commit was fix sdr

Yes it was done some time ago. In OpenPlotter 2 is possible to get data from both AIS channels simultaneously using only one device. But at this moment only in Raspberry 3.
The commit you are referring to is the fix for gqrx for buster (SDR Radio reception)

Hello, Saillog, 
I have already worked with AISDeco2 (http://xdeco.org/?page_id=30#ai2_id=30#ai2) in the last OP versions. It always worked very well and can also receive signals on 2 channels. 
I just tested the program with a RPI3+ and Buster. 
It seems to work. I just had to install the required packages and then it worked. 
Unfortunately I am not able to test it with real ships at the moment. 

Is this an option?
Greetings Jürgen

It could be an option but we use https://github.com/sailoog/rtl-ais and aisdecoder and it is already working really well.

Checked aisdeco2 and it doesn't work on RPi 4, and is not open source !! Error "rtlsdr_read_reg failed with -7".

that is the error on RPI4 using SDR devices. No matter what soft you use.