I'm new with such of this things.
I want to connected 5 arduino to raspberry via i2c.
5 arduino send data to raspberry then all data display in raspberry.
i've try connecting 1 arduino to raspberry via i2c and so far it's can communicating so well.
But now, i really don't have any idea how to connect 2 or more arduino to raspberry via i2c.
as I know raspberry just have 1 pin SDA and 1 pin SCL.
is it possible to do that?
It can, but you do need to separate the i2c bus of the RPI and the arduino's. The standard I2C bus of an arduino runs on 5V logic levels while the RPI runs on 3.3V logic levels.
Running an arduino on 3.3V will work "most of the time". But if you have multiple units or long wires, the efficiency drops.
So, i can paralel the arduino SDA SCL pins to connect it to SDA SCL pins raspberry pi?
I've foud this blog: Coding to the Max: Connecting Raspberry Pi and Arduino. Hardware
is it something that you mean that i need to separate the i2c bus of the RPI and the arduino's?
And about addresses, is it right we can set any address for arduino?
for example arduino 1 we give 01 as address, arduino 2 = 02, and etc?