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

Grove Button Shields

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

Seeed Studio Button Shields

Variants and Versions

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

Parameter

Button V1.2

Button V1.0

Release Date

Dec 2016

Apr 2011

Operation Voltage

3.3V or 5V

3.3V or 5V

Operation Temperature

-25℃ to +70℃

Grove Connectors

1

1

Digital Ports

1

1

Analog Ports

UART Ports

I2C Ports

SPI Ports

Grove Button V1.2 and V1.0

Overview

Model: 101020003, 111020000

The Grove Button V1.2 or Grove Button V1.0 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.

Pin

Function

Meaning

Shield

Board

1

Dn

Digital Signal

Output

Input

2

3

VCC

3.3V or 5V

Output

Input

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 connectors with Grove Digital Layout 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:

Using west:

west build -b mimxrt1060_evkb -p auto -d build/helloshell-seeed_grove_base_v2-grove_btn_d4 bridle/samples/helloshell -- -DSHIELD="seeed_grove_base_v2 grove_btn_d4"
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 ninja on the generated build system:
ninja -Cbuild/helloshell-seeed_grove_base_v2-grove_btn_d4
ninja -Cbuild/helloshell-seeed_grove_base_v2-grove_btn_d4 flash