CM3-Home technical documentation Buy

Seeedstudio Grove interface

Grove is a modular, standardized connector prototyping system made by the company Seeed studio. On the CM3-HOME-B is available one Grove port managed directly by the Raspberry Pi. On the CM3-HOME-F is available another Grove port managed by the Cortex-M0+ CPU mounted on the Yarm module.

The Grove port can be managed in I2C or GPIO way but not in Serial or Analog way. Please check the lines tipology of your Grove modules before use them.

Grove 1 connector - How to use it with Raspberry Pi

GPIO port used

  • GPIO 44 - SDA
  • GPIO 45 - SCL

Schematic

config.txt definition

To use the GPIO 44 and GPIO 45 lines as I2C bus insert this line in /boot/config.txt and reboot the Raspberry Pi.

#Set the I2C1 interface on GPIO44 and 45
dtparam=i2c_arm=on
dtparam=i2c_arm_baudrate=400000
dtoverlay=i2c1-bcm2708,sda1_pin=44,scl1_pin=45,pin_func=6

Install the i2c-tools package:

apt-get update
apt-get install i2c-tools

then check if your module is detected on the I2C bus by using this command:

i2cdetect -y 1

Home page CM3-Home technical documentation Buy