2024-04-29, 09:00 PM
2024-05-20, 01:17 PM
Hi Steve,
There are various ways to use hardware-based switches with pypilot.
First of all, you can use the hat from pypilot and then assign the gpios of your Raspberry via port 33333.
The workbook describes how to do this in detail:
https://github.com/pypilot/workbook/wiki...-interface
Then you can wire the GPIOs yourself with switches and switch them in a defined way with pull-down resistors.
The GPIOs are assigned as described above.
A member of the German sailing forum has created a solution like this: https://open-boat-projects.org/de/pypilot/
I myself have used this as the basis for a simplified version because I don't want to use the LCD display.
If you have any further questions, they are very welcome
Michael
Translated with DeepL.com (free version)
There are various ways to use hardware-based switches with pypilot.
First of all, you can use the hat from pypilot and then assign the gpios of your Raspberry via port 33333.
The workbook describes how to do this in detail:
https://github.com/pypilot/workbook/wiki...-interface
Then you can wire the GPIOs yourself with switches and switch them in a defined way with pull-down resistors.
The GPIOs are assigned as described above.
A member of the German sailing forum has created a solution like this: https://open-boat-projects.org/de/pypilot/
I myself have used this as the basis for a simplified version because I don't want to use the LCD display.
If you have any further questions, they are very welcome
Michael
Translated with DeepL.com (free version)
2024-05-21, 01:54 AM
I thought the pypilot computer had pinouts for switches instead of requiring gpio connections or pull down resistors?
2024-05-23, 04:12 AM
The latest computer design does not have pinouts because the remote controls developed work very well. It is simpler to mount a remote control panel near the computer.
The pypilot hat does have pinouts, and you do not need resistors, only to connect each button(s) to ground to activate a particular function. For example tacking typically is programmed for both +1 and +10 buttons.
The pypilot hat does have pinouts, and you do not need resistors, only to connect each button(s) to ground to activate a particular function. For example tacking typically is programmed for both +1 and +10 buttons.