[Solved] Connecting 3 ENV units via 1 to 3 Hub to M5 Stack
m5stack last edited by
@thbonk in the I2C bus, you can't use two same address device at the same time. so if you connect the BTC to the BASIC, when the PaHUB switch channal select ENV Unit, it will working not normal. beacuse BTC and ENV all used DHT12, also has same I2C address
OffLineR last edited by
I keep finding this thread whenever I search using ENV II over PaHUB, so instead of openning a new one I wanted to continue on this.
I am new to development boards however I am an experienced platform developer.
I have a Core2 and I want to use PaHUB and add couple of more units to read. I have no problem reading data via using Wire command over PaHUB like using 4way Relay.
However, I have no idea how to use BMP and SHT over PaHUB. I have tried combining examples without any luck and tried above without any luck.
Question is after portselect, how come bmp access to right address? If you can point me to any direcon, I will be grateful.
roccoskye last edited by
@world101 so the 1 to 3 Hub is used for 3 different i2C addresses?
capacious last edited by
@roccoskye Yes, the HUB makes it possible to connect more diferent I2C devices to the same port A. They all need to have different I2C addressess. The PaHub makes it possible to connect several sensors with the same I2C address and use them. On a HUB they would conflict and the system would know what sensor you'd be referencing to.
roccoskye last edited by
@capacious Ah ok thanks. Do you know how to use the 1 to 3 Hub because when i connect 3 devices to the hub i get the error message: Please change unit to other grove. Do I need to select custom ports for these devices?
Kivlow last edited by
i get a problem with Pa.HUB i connected to it ENV.III. I get Temp and Hum ok but i get -482827.3 for pressure.
What is wrong ??
teastain last edited by
@kivlow Hi! I have some experience with the PaHub and ENV sensors.
Could you post your code (if it is Arduino IDE) or if it is too big, email me?
Kivlow last edited by Kivlow
I use UIFlow
i get weard readings like -482827.3 when connect to pa.hub but connected direct to core 2 ewerything is ok
Cmon169 last edited by
I just started learning how to code and would like to connect ENVIII Unit and Mini TVOC/eCO2 Gas Unit with the PA.HUB to the BASIC kit using the Arduino IDE.
Is there a simple tutorial in how to use the addresses provided in PA.HUB git?
ajb2k3 last edited by
There is generic information on the PAHubs product information page.
An almost identical project was on my list for last week but didn’t get around to it