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
Can I have multiple RPi in the system?
#7
(2020-09-17, 01:00 AM)Oceant Wrote: I have one RPi 4 with the dAISy hat attached and one RPi 3b+ with the BerryGPS IMU attached.  Can I have these both supplying there data to one of them running OpenPlotter?  what would be the best way to do this?

You have two ways to do it.

1 have both devices with their SK server running by serving each its data. One the AIS and the other the berryIMU.

Then in opencpn you define two connections pointing each one to each IP address of each one of the SK servers. This you can do in each of the Opencpn that run in each Rpi. It works, more or less works. But I prefer option 2. 

2 Send the data collected by one of the SK servers to the other. For example send the data of the SK that collects the data of the berryIMU to the one that collects the data of the AIS. Then create in opencpn, in both devices a single connection to the SK server that collects and aggregates both data. This is the most intelligent and elegant option.

No SK server has to be defined as master or slave. They all work in parallel and can send and receive data to and from each other over the network. What is important is not to forward data from both two to each other because it would create a loop that could block both systems.

I use the metod 2 in assembly type BlackBox where a simple Rpi With HAT gathers all the data in its server SK and sends them by the network. Then each device reads them for their applications. Among them there is a second Rpi4 more powerful that receives them in its own server SK. It does not forward the data anymore but uses it for things like InfluxDB, Grafana and similar uses. It is a simpler assembly than it seems.
Reply


Messages In This Thread
RE: Can I have multiple RPi in the system? - by monos1 - 2020-09-28, 08:03 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)