Modules using Grove standard interfaces, Grove is a unified interface system used by the Seeed team, and currently supports a large number of modules.
The cables of the Grove interface have 4 colors, and users can quickly distinguish them according to the colors
|pin 1||yellow||(for example, SCL on I2C Grove Connectors)|
|pin 2||white||(for example, SDA on I2C Grove Connectors)|
|pin 3||Red||VCC (All Grove ports are VCC in red)|
|pin 4||black||GND (all Grove ports are GND in black)|
Grove module mainly has 4 kinds of interfaces:
- Grove Digital digital interface:
The Grove digital interface consists of four standard wires of Grove plugs.
The two signal lines are usually called D0 and D1.
Most modules only use D0, but some (like LED Bar Grove displays) use both. Usually the core board will call the first Grove connector on the board as D0, and the second as D1. The first The connector will be connected to the DO/D1 pin of the main control chip, the second connector will be connected to the D1/D2 pin of the main control chip, and the following connectors will be deduced by analogy.
|pin1||Dn First digital input||—|
|pin2||Dn+1 The second digital input||—|
|pin3||VCC power supply pin 5V/3.3V||—|
- Grove UART :
The Grove UART is a special digital input and output interface.
It uses pins 1 and 2 for serial input and transmission.
Pin 1 is the RX line (used to receive data, so it is input), Among them, pin 2 is the TX line (used to transmit data to the Grove module).
|pin3||VCC||Power supply pin 5V/3.3V|
There are many types of I2C Grove sensors available.
The Grove on MaixCube only supports 3.3V sensors
The Grove I2C connector has a standard layout. Pin 1 is the SCL signal, and pin 2 is the SDA signal
|pin3||VCC||Power supply pin, 5V/3.3V|
For details, please refer to: Grove_System
The following peripherals all use Grove interface