GithubHelp home page GithubHelp logo

Comments (4)

jimbojr avatar jimbojr commented on August 16, 2024 1

Whether we should (could) stack HATs was extensively discussed both internally and publicly on the forum when we were in the process of creating the HAT spec.

In short it is too complex to guarantee that stacking any HAT on another won't cause either Pi or HAT damage (or both). Hence there is no support for stacking.

That doesn't mean you cant stack HATs - it just means we don't support or recommend it unless you really know what you are doing.

from hats.

shawaj avatar shawaj commented on August 16, 2024

That is a great idea, especially in light of the new "phat stack" product from Pimoroni

from hats.

transistorgrab avatar transistorgrab commented on August 16, 2024

The identification part of this would be easy enough, just configure the I²C EEPROM for another address. But this needs to be user configurable. Maybe one kind of module can be stacked multiple times.
The difficulties come, where two HATs drive to the identical GPIO. Proven practise is that at each output a series resistor has to be provided, even if only for signal termination.
But how can one make sure that each output to one GPIO has the same drive strength and will not be damaged by a stronger driver? Possibly by limiting the max. drive current to 1 mA?

Stacking is a great idea. But I think there are a lot of problems to solve when combining existing HATs with such designed for stacking.
I think only modules designed to a specification with stacking in mind can be allowed to be used for stacking.

From the hardware/mechanical point of view a 0.1'' socket strip with long pins (i.e. https://www.adafruit.com/product/2223) is the simplest solution for this purpose.

from hats.

shawaj avatar shawaj commented on August 16, 2024

The capability to just load multiple HAT EEPROM data files and device trees would probably be enough and then just say "everything else is at your own risk and look at pinout.xyz for compatibility"?

from hats.

Related Issues (20)

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.