I am already using the Cozir CO2 sensor on GPIO, want to use a second one in the same port
so I have space for using the PH sensor in the i2C port only,
do you know how can I connect it to the grovepi? this example provides the code
but I dont know how to make the connection, thanks in advance
We haven’t used the Ph Sensor before, it would be great if you could provide us the link to the sensor which you are using, so that we can double check the specs and help you better.
There are three i2C ports on the GrovePI that you can use and you might also have to strip the cables and make a customised cable specific to the sensor used.
The specs of Ph Sensor are here: http://www.atlas-scientific.com/_files/_datasheets/_circuit/pH_EZO_datasheet.pdf
The connection of this sensor is through GPIO and making the circuit that appears in this document.
I think you will have to customise the cable for connecting this Ph sensor to the I2C port.The I2C port of the GrovePi has 4 pins and you will have to map it to the pins in your sensor. You can refer to the I2C pinout in the image below.There are three I2C ports on GrovePi and you can use any one of them.
Please let us know if this helps!
Note: Pinout has been updated
I must connect ph sensor through I2C GPIO (blue pin) like you can see in the follow image:
If i use I2C grove ports, do i have to buy this?:
Yes you can use the Gpio Pinout or the I2C port of GrovePi for I2C communication. Raspberry Pi works on 3.3V logic and hence you must use Pin 1 instead of Pin 4. Also use Pins 3 and 5 for I2C communication and Pin 6 for ground.
If you wish to use the I2C port of GrovePi then you will have to buy the converter that you have posted.