Cool stuff for Raspberry Pi, Arduino and all electronics hobby projects
Notifications
Clear all

[Solved / Archived] Is Witty Pi 4 Compatible with “Other Hardware”?

3 Posts
2 Users
0 Likes
262 Views
(@graeme61)
Posts: 0
New Member Customer
Topic starter
 

I have a temperature and humidity sensors .

On the schematic diagram there are 2 i2c addresses (0x44,0x39)

There are 6 pins used 3v3,+5v,GND,PWM,SCL,SDA.

I want to confirm something in the WittyPi4 user manual,just in case something has changed.

1. WittyPi4 uses i2c 0x08 

2.Page 44 SCL (GPIO 3),SDA (GPIO 2)coloured green used by WittyPi4.

3. Page 45 says 

GPIO-2 and GPIO-3 are for I2C communication between Raspberry Pi and the MCU (ATtiny841). I2C
devices are identified by I2C address, and they can share the I2C pins as long as they have different
I2C addresses

So i am assuming i can use the same GPIO 2,GPIO 3 for the temperature/humidity sensors ??

Reason i need to double check is that i plan to use a idc 6 pin connector for 3v3,+5v,GND,SCL,SDA. ( a lot more tidy and secure)

PWM pin to GPIO 12 (seperate wire)

Once again thank you for your continued support

 
Posted : 05/09/2023 9:07 am
(@admin)
Posts: 371
Member Admin
 

Yes, you can use the same GPIO 2, GPIO 3 for your I2C sensors. This is the typical way to connect I2C devices.

 
Posted : 05/09/2023 1:55 pm
(@graeme61)
Posts: 0
New Member Customer
Topic starter
 

Thank you very much for confirming the information

 
Posted : 05/09/2023 5:50 pm
Join Waitlist We will inform you when the product arrives in stock. Please leave your valid email address below.