GithubHelp home page GithubHelp logo

Comments (5)

sijmeng avatar sijmeng commented on August 16, 2024

Where in the HAT specification does it dictate that HATs are not stackable. I see a some vague indication it might be the case, but nothing concrete, which therefore implies they could be stackable.

from hats.

lurch avatar lurch commented on August 16, 2024

I guess it's not explicitly stated anywhere in the specs (so perhaps it should be) but I'm fairly sure I read an official statement to that effect on the forums a long time ago, when HATs were first being discussed..
Also, the HAT spec requires a functioning EEPROM at a fixed I2C address, therefore only one EEPROM chip can be read, and therefore only one HAT board can be installed.
And in practical terms, any HAT board is free to drive any GPIO pins to whatever state it feels like, so obviously if you stacked two HAT boards you could easily end up with each HAT driving the same GPIO pin to a different state, causing a short-circuit.

There are stackable add-on boards for the RPi (e.g. https://www.abelectronics.co.uk/ ) but these don't meet the HAT specs, and therefore they're not allowed to be called HATs.

(Disclaimer: I'm not an RPF employee, this is all IMHO)

from hats.

lurch avatar lurch commented on August 16, 2024

Aha. https://www.raspberrypi.org/blog/introducing-raspberry-pi-hats/#comment-974283
'jdb' is an RPF employee (IIRC he's @P33M on github)

from hats.

piguyang avatar piguyang commented on August 16, 2024

when looking at the enviro pHAT it states about using other hats with this. Iwas personally thinking the scroll or unicorn pHATs. Wouldn't these all run into the eeprom interference issues?

from hats.

lurch avatar lurch commented on August 16, 2024

As the name implies, pHATs are not HATs.
https://pinout.xyz/boards can be used to see which boards use which pins. Although it claims that the SenseHAT doesn't use the EEPROM pins, which is wrong. Ping @Gadgetoid !

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.