Comments (4)
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.
That is a great idea, especially in light of the new "phat stack" product from Pimoroni
from hats.
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.
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)
- error doing i/o operation HOT 4
- eepflash.sh not compatible with dd 8.23 (no status=progress) HOT 6
- Dimension error in uhat-board-mechanical.pdf HOT 3
- PoE HOT 4
- eepmake: How to access the flashed custom file from user space? HOT 5
- Dimension error in hat-board-mechanical.pdf HOT 3
- Question: Changes to power requirements for RPi 4? HOT 2
- eepflash.sh when using i2c-gpio on Pi4 uses i2c bus 7 not bus 3 HOT 2
- How can I create /proc/device-tree/hat/custom_0 HOT 4
- SCL/SDA mixup in designguide.md HOT 1
- eepflash.sh update cannot find eeprom in system folder
- eepflash.sh fails with ~ in eeprom filename HOT 2
- RPi 4B ZVD HOT 1
- Clarification on back-voltage protection HOT 1
- Strange Power Up behavior Pi-4
- HAT on top of HAT on CM4
- Link to forums is broken HOT 2
- eepmake fails with assertion HOT 3
- Is back-powering safety required for a hat?
- custom_data is required and should be checked.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hats.