Posts: 3,013
Threads: 62
Joined: Mar 2016
Reputation:
282
Now is difficult to know what happened. My theory is that your configuration was not complete or wrong and you cut the power corrupting the SD.
Yours is a different case than rszemeti's. When you are at the "plymouth-shutdown.service" screen it is safe to cut the power, but you did it before then.
Do not be afraid of testing again please, this is a well tested feature and it should work. Make sure you have the configuration of the screenshot but use the switch only after a first reboot to apply changes. Make also sure that no other device or app is using GPIO21 and GPIO26.
Posts: 74
Threads: 12
Joined: Jun 2019
Reputation:
0
Just as an update, I now have this installed on the vessel, Maiana is running well, the MacArthur HAT is providing GPS data over NMEA 0183 to the VHF, integrated with my NMEA2K network for depth/speed/wind and providing compass data from the IMU to the network too. OpenCPN is doing its thing ... and all is well in the world! Great product that has allowed me to go from a "2 pi" solution with a Moitessier and a Pican M to a single pi with a Macarthur hat.
So far, the "shutdown" issue has not shown itself again, but I really would like to have an LED that I could mount next to the display that comes on as shutdown begins and goes out when the device is truly powered down.
I still have to figure out the compass data ... which just like the compass on the Moitessier is prone to huge chnages in offset ... I got around this on the previous install by just mounting the box with the Moitessier on a single screw and when it booted and was massively out with the mag compass on the binnacle, I would just turn the whole box with the Moitessier and Pi around until they matched, easier than messing with the config. I have no idea why it does this, calibration is "locked", this IMU seems to behave the same ... sigh. No clue why, will play more with it.
Posts: 3,013
Threads: 62
Joined: Mar 2016
Reputation:
282
2023-05-23, 10:02 AM
(This post was last modified: 2023-05-23, 10:12 AM by Sailoog.)
Glad to read that, thanks for the update! That was the main goal: simplify.
We did not have any "failed" shutdown while development and that means hundreds of attempts. You already have the 5V and the 12V leds in the MacArthur. If these leds are hidden by a casing or some panels, you can add a LED + resistor to the 3.3V/GND pins. when the shutdown sequence is complete, it will turn off. You can also use 5V/GND pins or even the 1W connector, see 1W alternative uses in the manual.
Just in case, calibration should not be "locked". The system should be always re-calibrating.
Posts: 74
Threads: 12
Joined: Jun 2019
Reputation:
0
So one more "nice to have" option ... I would like to have the option to keep the Maiana powered even when the plotter/hat is off ... it is a very low consumption device and in summer I am happy to leave it running, the solar will easily cope with this, even when I am away from the boat.
A jumper to send permanent 12V to the Maiana, or even use the "Transmit" switch to control the power woud be nice!
Posts: 3,013
Threads: 62
Joined: Mar 2016
Reputation:
282
If you want to keep your electronics on but turn off openplotter just shutdown from the main menu without opening the main switch.
Posts: 74
Threads: 12
Joined: Jun 2019
Reputation:
0
No, I want to turn everything off *except* maiana ... shutting down the Pi will leave the screen and MacArthur hat powered.