../../../../_images/seeed_grove.png

Grove Button Shields

Bridle supports a couple of different Button shields carrying Seeed Studio Grove System [1] connectors. Please download and read through the Preface - Getting Started [3] and Introduction to Grove [4] before use the product. Also have a look on the SiPEED Wiki page about the Grove standard interfaces [5].

Seeed Studio Button Shields

Variants and Versions

Here find the comparison between various variants and versions of Seeed Studio Button Shields:

Parameter

Dual Button V1.0

LED Button V1.0

Button V1.2

Button V1.0

Release Date

Sep 2019

Jun 2018

Dec 2016

Apr 2011

Operation Voltage

3.3V or 5V

3.3V or 5V

3.3V or 5V

3.3V or 5V

Operation Temperature

-25℃ to +70℃

-25℃ to +70℃

Grove Connectors

1

1

1

1

Digital Ports

1

1

1

1

Analog Ports

UART Ports

I2C Ports

SPI Ports

Grove Dual Button V1.0

Overview

Model: 111020103 (r/g/b/w)

The Grove Dual Button V1.0 [6] includes 2 buttons, controls two signal channel with one module. Both buttons are low active and drives high in dormant state by an pull up resistance.

SEEED_GROVE_DUAL_BUTTON

Pinout Diagram

The pinout of Grove Button following the Grove Digital Layout [2].

Pin

Function

Meaning

Shield

Board

1

Dn

Digital Signal

Output

Input

2

Dn+1

Digital Signal

Output

Input

3

VCC

3.3V or 5V

Input

Output

4

GND

Ground

Hardware

The button outputs (Dn or Dn+1) a LOW signal when pressed, and HIGH when released.

Grove LED Button V1.0

Overview

Model: 111020044 (r), 111020045 (y), 111020046 (b)

The Grove LED Button V1.0 [9] is a combined module of either yellow, blue or red LED with a momentary and tactile push button in Grove form factor. It uses a N-Channel MOSFET to control the LED to ensure the high switching speed and a low current consumption. The button is low active and drives high in dormant state by an pull up resistance.

SEEED_GROVE_LED_BUTTON

Pinout Diagram

The pinout of Grove Button following the Grove Digital Layout [2].

Pin

Function

Meaning

Shield

Board

1

Dn

Digital Signal

Input

Output

2

Dn+1

Digital Signal

Output

Input

3

VCC

3.3V or 5V

Input

Output

4

GND

Ground

Hardware

The button outputs (Dn+1) a LOW signal when pressed, and HIGH when released.

Grove Button V1.2 and V1.0

Overview

Model: 101020003, 111020000

The Grove Button V1.2 [11] or Grove Button V1.0 [13] is a momentary push button module in Grove form factor. With V1.2 an additional series resistance in the signal line was added and also the pull down resistance was reduced.

SEEED_GROVE_BUTTON

Pinout Diagram

The pinout of Grove Button following the Grove Digital Layout [2].

Pin

Function

Meaning

Shield

Board

1

Dn

Digital Signal

Output

Input

2

3

VCC

3.3V or 5V

Input

Output

4

GND

Ground

Hardware

The button outputs a HIGH signal when pressed, and LOW when released.

Utilization

Requirements

This shield can only be used with a development board or shield that provides a configuration for Grove System [1] connectors with Grove Digital Layout [2] and defines a device tree phandle grove_gpios as an Laced Grove Signal Interface.

Programming

Set -DSHIELD=grove_btn_dX when you invoke west build, wherein X corresponds to the ordinal number of a signal from the Laced Grove Signal Interface. For example:

Grove LED Button V1.0

  1. Grove Base Shield V2 on MIMXRT1060-EVK for GPIO driven Button on Grove D4:

    Using west:

    west build -b mimxrt1060_evkb -p --shield "seeed_grove_base_v2 grove_btn_d4_inv" -d build/helloshell-seeed_grove_base_v2-grove_btn_d4_inv bridle/samples/helloshell
    west flash -d build/helloshell-seeed_grove_base_v2-grove_btn_d4_inv
    

    Using CMake and ninja:

    # Use cmake to configure a Ninja-based buildsystem:
    cmake -Bbuild/helloshell-seeed_grove_base_v2-grove_btn_d4_inv -GNinja -DBOARD=mimxrt1060_evkb -DSHIELD=""seeed_grove_base_v2 grove_btn_d4_inv"" bridle/samples/helloshell
    
    # Now run the build tool on the generated build system:
    ninja -Cbuild/helloshell-seeed_grove_base_v2-grove_btn_d4_inv flash
    
  2. Grove Base Shield V1.3 or Grove Base Shield V1.2 on MIMXRT1060-EVK for GPIO driven Button on Grove D4:

    Using west:

    west build -b mimxrt1060_evkb -p --shield "seeed_grove_base_v1 grove_btn_d4_inv" -d build/helloshell-seeed_grove_base_v1-grove_btn_d4_inv bridle/samples/helloshell
    west flash -d build/helloshell-seeed_grove_base_v1-grove_btn_d4_inv
    

    Using CMake and ninja:

    # Use cmake to configure a Ninja-based buildsystem:
    cmake -Bbuild/helloshell-seeed_grove_base_v1-grove_btn_d4_inv -GNinja -DBOARD=mimxrt1060_evkb -DSHIELD=""seeed_grove_base_v1 grove_btn_d4_inv"" bridle/samples/helloshell
    
    # Now run the build tool on the generated build system:
    ninja -Cbuild/helloshell-seeed_grove_base_v1-grove_btn_d4_inv flash
    

Grove Button V1.2 and V1.0

  1. Grove Base Shield V2 on MIMXRT1060-EVK for GPIO driven Button on Grove D4:

    Using west:

    west build -b mimxrt1060_evkb -p --shield "seeed_grove_base_v2 grove_btn_d4" -d build/helloshell-seeed_grove_base_v2-grove_btn_d4 bridle/samples/helloshell
    west flash -d build/helloshell-seeed_grove_base_v2-grove_btn_d4
    

    Using CMake and ninja:

    # Use cmake to configure a Ninja-based buildsystem:
    cmake -Bbuild/helloshell-seeed_grove_base_v2-grove_btn_d4 -GNinja -DBOARD=mimxrt1060_evkb -DSHIELD=""seeed_grove_base_v2 grove_btn_d4"" bridle/samples/helloshell
    
    # Now run the build tool on the generated build system:
    ninja -Cbuild/helloshell-seeed_grove_base_v2-grove_btn_d4 flash
    
  2. Grove Base Shield V1.3 or Grove Base Shield V1.2 on MIMXRT1060-EVK for GPIO driven Button on Grove D4:

    Using west:

    west build -b mimxrt1060_evkb -p --shield "seeed_grove_base_v1 grove_btn_d4" -d build/helloshell-seeed_grove_base_v1-grove_btn_d4 bridle/samples/helloshell
    west flash -d build/helloshell-seeed_grove_base_v1-grove_btn_d4
    

    Using CMake and ninja:

    # Use cmake to configure a Ninja-based buildsystem:
    cmake -Bbuild/helloshell-seeed_grove_base_v1-grove_btn_d4 -GNinja -DBOARD=mimxrt1060_evkb -DSHIELD=""seeed_grove_base_v1 grove_btn_d4"" bridle/samples/helloshell
    
    # Now run the build tool on the generated build system:
    ninja -Cbuild/helloshell-seeed_grove_base_v1-grove_btn_d4 flash
    

References