This contains designs, firmware, and client side libraries for the mjbots pi3hat. It is a daughterboard for Raspberry Pi (tm) boards and similar to provide:
- 4x 5Mbps CAN-FD ports
- 1x 125kbps CAN port
- 1kHz IMU with attitude reference
All files contained in this repository, unless otherwise noted, are available under an Apache 2.0 License https://www.apache.org/licenses/LICENSE-2.0
- hw/ - Eagle schematic
- fw/ - Firmware
- docs/ - Reference documentation
- lib/ - Client side libraries
- tools/ - bazel build configuration
A: We recommend using the following configuration:
isolcpus
andsched_setaffinity
used to keep linux from running on the processor interfacing with the pi3hatchrt 99
to run the process at the maximum real time prioritymlockall
to prevent linux from swapping any part of the process
These are demonstrated in the --realtime
option of pi3hat_tool
.
A: Despite the name pi3hat
, yes it works just fine on a Raspberry Pi
4 too.
A: Nope. You can power the Raspberry Pi with through any means. The pi3hat internally only uses the 3.3V output from the Raspberry Pi, and the input connector is just an independent mechanism to power the Pi.
A: Maybe? If it has the same pinout as a Raspberry Pi, can can be powered through the GPIO header with 5V @ 2.5A then there is a chance.
A: If you install a higher GPIO riser then it is possible. Samtec ESW-120-12-G-D works. You can install one yourself, or contact [email protected] to get one fitted at the factory.