07-08-2016, 12:38 AM
(06-30-2016, 04:15 PM)doundounba Wrote: 4) I didn't realize there is not an i2c port on the Pine64 board itself, so I did not get Multi I2C Bus card. Can anyone provide a pointer about how to go about getting i2c communication going between the board and sensor?
Look at Pi-2 connector description - pins 3 and 5 named I2C1_SDA and I2C1_SCL.
connect your sensor directly to pi-2 header:
- "+5V" to pin 2 or 4
- "SDA" to pin 3
- "SCL" to pin 5
- "GND" to pin 6
I can't find schematic for your sensor board, so may be you should connect 4.7k...10k pull-up resistors from SDA/SCL to +3.3V (pin 1)
That's all.
I don't know how to access this sensor from linux, so google about Si7021 linux kernel driver