Code Monkey home page Code Monkey logo

pi3hat's Introduction

mjbots pi3hat

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

LICENSE

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

Directory Structure

  • hw/ - Eagle schematic
  • fw/ - Firmware
  • docs/ - Reference documentation
  • lib/ - Client side libraries
  • tools/ - bazel build configuration

FAQ

How do I get the best timing performance?

A: We recommend using the following configuration:

  • isolcpus and sched_setaffinity used to keep linux from running on the processor interfacing with the pi3hat
  • chrt 99 to run the process at the maximum real time priority
  • mlockall to prevent linux from swapping any part of the process

These are demonstrated in the --realtime option of pi3hat_tool.

Will this work on a Raspberry Pi 4?

A: Despite the name pi3hat, yes it works just fine on a Raspberry Pi 4 too.

Do I need to use the XT 30 input connector?

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.

Will this work on insert random board here?

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.

Can I use the Raspberry Pi Camera?

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.

pi3hat's People

Contributors

brawner avatar isherman avatar jpieper avatar stephane-caron avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.