Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add the support of Pa.HUB (PCA 9548AP) #643

Open
Taranovski opened this issue Dec 31, 2024 · 1 comment
Open

Please add the support of Pa.HUB (PCA 9548AP) #643

Taranovski opened this issue Dec 31, 2024 · 1 comment

Comments

@Taranovski
Copy link

Hi Everyone,

How hard could it be to add the support of the I2C extension module? I am talking about Pa.HUB (PCA 9548AP), which extends 1 I2C slot into 6 I2C slots.

So far with my very limited attempts at coding in arduino ide and UIFlow 2, I don't really see where I can put the "address" of the device - so far it is something like "Serial1" etc.

For the first iteration, e.g. the first slot of the Pa.HUB could be GPS module, second slot could be RFID 2 module, 3rd and 4th slots would be RF433R and RF433T respectively (the most popular/common modules, as far as I understand?)

Eventually, there could be some simple configuration screen for other types of modules, so that you can actually assemble some rig with lego pieces and the choice of modules, without switching the connections back and forth?

@rouing
Copy link
Contributor

rouing commented Jan 1, 2025

TwoWire (i2c) devices are already chainable. i2c is nice because of this capability and its already relied upon for the basics of how the i2c bus works. What you are looking at is a Multiplexer that is intended to attach multiple of devices that happen to have the same address (collision).

GPS modules run off UART/Serial, not i2c

RF433R/T is not supported and does not use i2c (nor do they use UART/Serial, but instead output the signal which you have to decode)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants