Learn, Make and Invent
  • Educational STEM Products
  • Early Primary
    • Bee Bot
    • Ozobot
    • Matatalab Coding Set
    • Neuron coding blocks
    • Osmo ios
    • Cubetto
    • Sphero Bolt
  • Primary
    • Codey Rocky AI Robot
      • Tutorials
        • Introduction
        • Get Started
        • Upload Mode
        • Emotion Blocks
        • IoT Blocks
        • Neuron Blocks
        • IR Remote
        • Use Python
      • Examples
      • Block Reference
        • Looks
        • Lighting
        • Speaker
        • Action
        • Sensing
        • Infrared
        • Events
        • Control
        • Operators
      • Python API Reference
        • Python API for Codey
        • Python API for Rocky
        • Python API for Third-Party Libraries
        • Python API for Neuron Extension Modules
      • FAQs
    • Edison
    • mBot
      • Introduction
      • Building mBot
      • Connect mBot
      • Preset Modes
    • Microbit
    • Merge Cube
    • Bare Conductive Board
    • Tello Edu
  • Secondary
    • Microbit Grove Inventor Kit
    • mBot Ranger
    • Arduino Science Kit
    • Arduino Starter Kit
    • Arduino Grove Starter Kit
    • CoDrone
  • Senior Secondary
    • CoDrone Pro
    • Arduino CTC Go
  • Digital Tech Kits
    • Digital Tech Kit for K-2
    • Digital Tech Kit for 3-5
    • Digital Tech Kit for 6-8
    • Digital Tech Kit for 9-10
  • Makerspace
    • Otto DIY
      • User guide
      • Assembly Instructions
        • Builder Kit
        • Builder Kit +
        • Builder Kit Humanoid
        • Builder Kit E
      • OTTO enclosures 3D and laser cut files
      • Code
    • Curcuitmess
      • Circuitmess Ringo
        • Inside the Box
        • Tools Needed
        • Soldering the parts
        • Assembling the parts
        • Set up your Ringo
  • Grove Ecosystem
    • Grove System
    • Grove Modules
      • Actuators
        • Atom Node
        • Grove 2 Coil Latching Relay
        • Grove Button
        • Grove Buzzer
        • Grove Dry Reed Relay
        • Grove EL Driver
        • Grove Haptic Motor
        • Grove I2C Motor Driver V1.2
        • Grove I2C Motor Driver V1.3
        • Grove I2C Motor Driver
        • Grove LED Matrix Driver v1.0
        • Grove Mini Fan
        • Grove Mini I2C Motor Driver v1.0
        • Grove MP3 v2.0
        • Grove Recorder v3.0
        • Grove Relay
        • Grove Serial MP3 Player
        • Grove Servo
        • Grove Solid State Relay
        • Grove Speaker
        • Grove Variable Color LED
        • Grove Vibration Motor
        • Grove Water Atomization
      • Display
        • Grove 4 Digit Display
        • Grove Circular LED
        • Grove LCD RGB Backlight
        • Grove LED Bar
        • Grove LED Socket Kit
        • Grove LED String Light
        • Grove LED Strip Driver
        • Grove OLED Display 0.96inch
        • Grove OLED Display 1.12inch
        • Grove Red LED
        • I2C LCD
      • Sensors
        • Grove 3 Axis Analog Accelerometer
        • Grove 3 Axis Compass V1.0
        • Grove 3 Axis Digital Accelerometer 1.5g
        • Grove 3 Axis Digital Accelerometer 16g
        • Grove 3 Axis Digital Accelerometer 400g
        • Grove 3 Axis Digital Gyro
        • Grove 6 Axis Accelerometer And Compass V2.0
        • Grove 6 Axis Accelerometer And Gyroscope
        • Grove 80cm Infrared Proximity Sensor
        • Grove Air Quality Sensor v1.3
        • Grove Alcohol Sensor
        • Grove Barometer Sensor BME280
        • Grove Barometer Sensor BMP180
        • Grove Barometer Sensor BMP280
        • Grove Barometer Sensor
        • Grove Barometer High Accuracy
        • Grove Chest Strap Heart Rate Sensor
        • Grove CO2 Sensor
        • Grove Collision Sensor
        • Grove Digital Infrared Temperature Sensor
        • Grove Digital Light Sensor
        • Grove Dust Sensor
        • Grove Ear clip Heart Rate Sensor
        • Grove Electricity Sensor
        • Grove Finger clip Heart Rate Sensor with shell
        • Grove Finger clip Heart Rate Sensor
        • Grove Fingerprint Sensor
        • Grove Gas Sensor O2
        • Grove Gas Sensor
        • Grove HCHO Sensor
        • Grove High Temperature Sensor
        • Grove IMU 10DOF v2.0
        • Grove Infrared Receiver
        • Grove Line Finder
        • Grove Temperature and Humidity Sensor Pro
        • Grove Temperature And Humidity Sensor
        • Grove Voltage Divider
        • Grove Water Sensor
        • Grove XBee Carrier
      • Communication
        • Grove High Precision RTC
        • Grove LoRa Radio
        • Grove NFC Tag
        • Grove NFC
        • Grove 125KHz RFID Reader
        • Grove 315MHz RF Kit
        • Grove 433MHz Simple RF Link Kit
        • Grove Bee Socket
        • Grove BLE v1
        • Grove BLE dual model v1.0
        • Grove DMX512
        • Grove GPS
        • Grove I2C ADC
        • Grove I2C FM Receiver
        • Grove Protoshield
        • Grove RJ45 Adapter
        • Grove Screw Terminal
        • Grove Serial Bluetooth v3.0
        • Grove Serial RF Pro
        • Grove UART Wifi
      • Others
        • Grove Base Booster Pack
        • Grove Base Cape for BeagleBone v2
        • Grove Base HAT
        • Grove Base Shield for NodeMCU V1.0
        • Grove Base Shield for Photon
        • Grove Breakout for LinkIt Smart 7688 Duo
        • Grove Cape for BeagleBone Series
        • Grove Indoor Environment Kit for Edison
        • Grove Inventor Kit for microbit
        • Grove IoT Developer Kit Microsoft Azure Edition
        • Grove IoT Starter Kits Powered by AWS
        • Grove Recorder
        • Grove Shield for Intel Joule
        • Grove Smart Plant Care Kit
        • Grove Speech Recognizer Kit for Arduino
        • Grove Starter Kit for BeagleBone Green
        • Grove Starter Kit for IoT based on Raspberry Pi
        • Grove Starter kit for LinkIt Smart7688 Duo
        • Grove Starter Kit v3
        • Grove AND
        • Grove Base Shield for IOIO OTG
        • Grove BlinkM
        • Grove DC Jack Power
        • Grove Differential Amplifier v1.0
        • Grove Differential Amplifier v1.2
        • Grove GSR Sensor
        • Grove I2C Hub
        • Grove Joint v2.0
        • Grove Mega Shield
        • Grove Mini Camera
        • Grove Mixer Pack V2
        • Grove MOSFET
        • Grove Node
        • Grove NOT
        • Grove NunChuck
        • Grove OR
        • Grove PS 2 Adapter
        • Grove Recorder v2.0
        • Grove Serial Bluetooth
        • Grove Serial LCD V1.0
        • Grove Single Axis Analog Gyro
        • Grove SPDT Relay 30A
        • Grove Starter Kit for LinkIt ONE
        • Grove Starter Kit for mbed
        • Grove Toy Kit
        • Grove Wrapper
        • GrovePi Plus
  • Arduino
    • Graphical coding with Grove sensors
    • Arduino Comparison Sheet
    • Tutorials
      • Setup Arduino Every board in Arduino IDE
      • Arduino Cloud
      • Installing Libraries
      • Motor, Servo for Arduino
      • Sensor for Arduino
    • Examples
      • Genuino 101
        • Prerequisites
        • Shock / Tap Detection
        • LED Control Over Bluetooth
        • Board Orientation Detection
        • Pedometer – Step Counting Over Bluetooth
        • Timer Switch
        • Appendices
          • Appendix A
          • Appendix B
  • micro:bit
    • Examples
      • Servo with micro:bit
  • Halocode
    • Introduction
    • Get Started
    • Upload Mode
    • Speech Recognition
    • User Cloud Message
    • Use Python with HaloCode
    • Code with Mu A Simple Python Editor
      • Examples
        • Basic Project
          • Color Mixer
          • Compare Strength
          • Connect Wi-Fi
          • Control Multiple HaloCodes via LAN
          • Energy Ring
          • Make a Smiling Face with the LED Ring
          • Make a Volume Detector
          • Press the Button to play LED Animation Meteor
          • Rainbow Button
        • Level Up
          • Control HaloCode's LEDs via Voice Command
          • Remote Control
          • Make HaloCode the Steering Wheel of the Car on Stage
          • HaloCode's Remote Control Deck
          • Emotion Detector
          • Deep Learning and Facial Recognition
          • Use Global Variable to Interact with Sprites
        • Workshop
          • A Kitten with Blinking Eyes and a Waving Tail
          • Pedometer
          • Smart Home
  • Troubleshooting
    • Matatalab
      • Matatalab Upgrade
        • Pre Upgrade Instructions - MatataBot
        • MatataBot Upgrade
        • Matata Tower Upgrade
        • Resources for Upgrade
      • Matatalab Pairing
Powered by GitBook
On this page
  • Features
  • Part List
  • Hardware connection for GrovePi+
  • Install GrovePi C# library for Raspberry Pi
  • Running Win10 IoT Examples on Rpi3
  • See Also

Was this helpful?

  1. Grove Ecosystem
  2. Grove Modules
  3. Others

Grove Starter Kit for IoT based on Raspberry Pi

PreviousGrove Starter Kit for BeagleBone GreenNextGrove Starter kit for LinkIt Smart7688 Duo

Last updated 5 years ago

Was this helpful?

enter image description here

Building an IoT project on your Raspberry Pi has never been an easy task for many developers. This is due to the messy hardware connections involved, and complicated software programming. Seeed and Microsoft have worked together to alleviate some of these challenges by introducing the Microsoft IoT Grove Kit.

The GrovePi+ cape included in the kit is fully compatible with your Raspberry Pi 3 and Raspberry Pi 2 that both run Windows 10 IoT Core. With the easy-to-use Grove system, you are now able to connect up to 15 Grove modules to your Raspberry Pi simply through the Grove interfaces on the GrovePi+.

In addition to the high performance sensors and actuators, the kit contains a 5 inch HDMI Display and a RGB LCD with a backlight. The Microsoft IoT Grove Kit is a powerful platform on which to begin your exploration on the Internet of Things.

Features

  • Easy-to-use GrovePi+ that is compatible with Raspberry Pi B/B+/A+/2/3

  • Plug-n-play Grove Modules for rapid prototyping

Part List

SKU

Part Name

Qty

Link

103010002

GrovePi+

1

104990243

5 Inch HDMI Display with USB TouchScreen

1

103020005

Grove - Relay

1

101020011

Grove - Temp&Humi Sensor

1

101020010

Grove - Ultrasonic Ranger

1

104020006

Grove LED Bar v2.0

1

101020048

Grove - Rotary Angle Sensor(P)

1

107020000

Grove - Buzzer

1

101020023

Grove - Sound Sensor

1

101020014

Grove - Light Sensor v1.2

1

101020003

Grove - Button

1

104030001

Grove - LCD RGB Backlight

1

109990056

HDMI Cable

1

321010007

Micro USB Cable - 48cm

1

Hardware connection for GrovePi+

1.1 Connecting the GrovePi+ to the Raspberry Pi

First, mount your GrovePi+ on the Raspberry Pi. The GrovePi+ slides over top of the Raspberry Pi as shown in the picture below.

Ensure that the pins are properly aligned when stacking the GrovePi+.

Powering up the Raspberry Pi

To power the GrovePi+ and the Raspberry Pi, you can use the micro USB power port on the Raspberry Pi. Remember to use a good power adapter capable of supplying 2A at 5V. If you want to run the GrovePi+ in a standalone configuration, then you might find a USB power bank.

Install GrovePi C# library for Raspberry Pi

The GrovePi can be programed in C#, but first you should install the Windows 10 IoT C# driver library for GrovePi, There’re two ways to do this: install the NuGet package and use the GrovePi C# library code powered by Dexter .

Install the NuGet package

The GrovePi NuGet package for the current release is available. To install GrovePi for Windows IoT follow the following steps.

STEP1.

From the Tools menu, select Library Package Manager and then click Package Manager Console.

The Package Manager Console window is displayed.

STEP2.

Run the following command in the Package Manager Console.

PM> Install-Package GrovePi

Use the GrovePi C# library code

STEP1.

Move the two C# library projects “GrovePi” and “Driver” to the folder where your project resides. And add them to your project in Solution Explorer. For example, right click the Solution “GrovePiExamples ”, Add | Existing Project, as below shows.

Then add “GrovePi” and “Driver” to the Solution Explorer.

STEP2.

Set the C# library as the reference projects. Right click References and click Add References

Click Projects | Solution, and check box as shown in the red box below. Then click OK.

Now, you have already install the GrovePi C# library successfully.

All supported sensors are available through the DeviceFactory class.

Examples

Below are some simple examples of how to use the library.

  • Measure Distance

Ultrasonic sensor plugged into digital pin 2 (D2)

var distance = DeviceFactory.Build.UltraSonicSensor(Pin.DigitalPin2).MeasureInCentimeters();
  • Display Hello World

     DeviceFactory.Build.RgbLcdDisplay().SetText("Hello World").SetBacklightRgb(0, 255, 255);
  • Sound the buzzer

Sound the buzzer plugged into digital pin 2 (D2).

DeviceFactory.Build.Buzzer(Pin.DigitalPin2).ChangeState(SensorStatus.On);

Running Win10 IoT Examples on Rpi3

Before you get started, please build GrovePi project first. This is because the other projects depend on it.

Hello World from RGB LCD

This example is meant to be your first project with the GrovePi+. All the parts used in this project are available in the GrovePi+ Starter Kit. Once mastered, you can move on to more complicated projects like connecting a display or other sensors to the Raspberry Pi.

  • Step1: Set the HelloWorld(LCD) project as StartUp Project.

  • Step2: Hardware connection.

Connect the RGB LCD to Port I2C-1 and power on the Raspberry Pi using the Grove wire connector.

  • Step3: Deploy your app.

1) With the application open in Visual Studio, set the architecture in the toolbar dropdown. Select ARM.

2) Next, in the Visual Studio toolbar, click on the Local Machine dropdown and select Remote Machine.

4) You can verify or modify these values by navigating to the project properties (select Properties in the Solution Explorer) and choosing the Debug tab on the left.

When everything is set up, you should be able to press F5 from Visual Studio. If there are any missing packages that you did not install during setup, Visual Studio may prompt you to acquire those now. The HelloWorld app will deploy and start on the Windows IoT device, and you will see the HelloWorld form the Grove RGB LCD.

Grove Rotary Angle Sensor

This example can be set up the same way as HelloWorld(LCD).

  • Step1: Set the GroveAngleSensor project as StartUp Project.

  • Step2: Hardware connection.

    Connect the Grove Angle Sensor to Port A0 and connect Raspberry Pi to LCD screen by HDMI cable.

  • Step3: Deploy your app. Refer to the HelloWorld(LCD) example of Step3.

When everything is set up, you should be able to press F5 from Visual Studio. If there are any missing packages that you did not install during setup, Visual Studio may prompt you to acquire those now. The GroveAngleSensor app will deploy and start on the Windows IoT device. You can see the Grove Angle Sensor value on the LCD Screen.

Grove LED Bar

This example can be set up the same way as HelloWorld(LCD).

  • Step1: Set the GroveLedBar project as StartUp Project.

  • Step2: Hardware connection.

    Connect the Grove Led Bar to Port D5.

  • Step3: Deploy your app. Refer to the HelloWorld(LCD) example of Step3.

When everything is set up, you should be able to press F5 from Visual Studio. If there are any missing packages that you did not install during setup, Visual Studio may prompt you to acquire those now. The GroveLedBar app will deploy and start on the Windows IoT device. You can see the Grove Led Bar will be lighted up in cycle.

Grove - Light Sensor

This example is the same use as HelloWorld(LCD).

  • Step1: Set the GroveLightSensor project as StartUp Project.

  • Step2: Hardware connection.

    Connect the Grove Light Sensor to Port A2 and connect Raspberry Pi to LCD screen by HDMI cable.

  • Step3: Deploy your app. Refer to the HelloWorld(LCD) example of Step3.

When everything is set up, you should be able to press F5 from Visual Studio. If there are any missing packages that you did not install during setup, Visual Studio may prompt you to acquire those now. The GroveLightSensor app will deploy and start on the Windows IoT device. You can see the Grove Light Sensor value on the LCD Screen.

Grove - Relay

This example is the same use as HelloWorld(LCD).

  • Step1: Set the GroveRelay project as StartUp Project.

  • Step2: Hardware connection.

    Connect the Grove Relay to Port D2.

  • Step3: Deploy your app. Refer to the HelloWorld(LCD) example of Step3.

When everything is set up, you should be able to press F5 from Visual Studio. If there are any missing packages that you did not install during setup, Visual Studio may prompt you to acquire those now. The GroveRelay app will deploy and start on the Windows IoT device. You can see the Grove Relay will open and close every 1 second.

Grove - Sound Sensor

This example is the same use as HelloWorld(LCD).

  • Step1: Set the GroveSoundSensor project as StartUp Project.

  • Step2: Hardware connection.

    Connect the Grove Sound Sensor to Port A1 and connect Raspberry Pi to LCD screen by HDMI cable.

  • Step3: Deploy your app. Refer to the HelloWorld(LCD) example of Step3.

When everything is set up, you should be able to press F5 from Visual Studio. If there are any missing packages that you did not install during setup, Visual Studio may prompt you to acquire those now. The GroveSoundSensor app will deploy and start on the Windows IoT device. You can see the Grove Sound Sensor value on the LCD Screen.

Grove - Temperature and Humidity Sensor

This example is the same use as HelloWorld(LCD).

  • Step1: Set the GroveTempAndHumi project as StartUp Project.

  • Step2: Hardware connection.

    Connect the Grove Temp & Humi Sensor to Port D3 and connect Raspberry Pi to LCD screen by HDMI cable.

  • Step3: Deploy your app. Refer to the HelloWorld(LCD) example of Step3.

When everything is set up, you should be able to press F5 from Visual Studio. If there are any missing packages that you did not install during setup, Visual Studio may prompt you to acquire those now. The GroveTempAndHumi app will deploy and start on the Windows IoT device. You can see the Temperature and Humidity value on the LCD Screen.

Grove - Ultrasonic Ranger

This example is the same use as HelloWorld(LCD).

  • Step1: Set the GroveUltrasonicSensor project as StartUp Project.

  • Step2: Hardware connection.

    Connect the Grove Ultrasonic Ranger to Port D4 and connect Raspberry Pi to LCD screen by HDMI cable.

  • Step3: Deploy your app. Refer to the HelloWorld(LCD) example of Step3.

When everything is set up, you should be able to press F5 from Visual Studio. If there are any missing packages that you did not install during setup, Visual Studio may prompt you to acquire those now. The GroveUltrasonicSensor app will deploy and start on the Windows IoT device. You can see the Distance value on the LCD Screen.

Home Weather Display

This example is the same use as HelloWorld(LCD).

  • Step1: Set the HomeWeatherDisplay project as StartUp Project.

  • Step2: Hardware connection.

    Connect the Grove Temp and Humi Sensor to Port D3, RGB LCD to Port I2C using the Grove wire connector.

  • Step3: Deploy your app. Refer to the Blink example of Step5.

When everything is set up, you should be able to press F5 from Visual Studio. If there are any missing packages that you did not install during setup, Visual Studio may prompt you to acquire those now. The Home Weather Display app will deploy and start on the Windows IoT device, and you can see the temperature on the RGB LCD.

All Modules in One Project

This example is the same use as HelloWorld(LCD).

  • Step1: Set the All_in_One project as StartUp Project.

  • Step2: Hardware connection.

    • Grove - Relay > D2

    • Grove - Temp&Humi Sensor > D3

    • Grove - Ultrasonic Ranger > D4

    • Grove - LED Bar V2.0 > D5

    • Grove - Buzer > D6

    • Grove - Button > D7

    • Grove - Rotary Angle Sensor > A0

    • Grove - Sound Sensor > A1

    • Grove - Light Sensor > A2

Connect the Grove Modules to GrovePi+ as the table shows. And connect Raspberry Pi to LCD screen by HDMI cable.

  • Step3: Deploy your app. Refer to the HelloWorld(LCD) example of Step3.

When everything is set up, you should be able to press F5 from Visual Studio. If there are any missing packages that you did not install during setup, Visual Studio may prompt you to acquire those now. The All_in_One app will deploy and start on the Windows IoT device. You can see the Distance Sound Light value and relay state on the LCD Screen. The angle sensor will be shown as the chart on the screen. The Led Bar indicates the value of angle sensor. Press the Button and hold it, the Grove Relay will open.

See Also

Please note this kit DOES NOT include the Raspberry Pi board. Please visit to purchase separately.

!!!Note GrovePi+ and some of the code was designed by . Click to get more information about Dexter.

[]()

enter image description here
enter image description here
enter image description here
enter image description here

More details at .

If you’re a senior programmer or you can’t install the GrovePi NuGet package successfully, you can download the library code by click this .

enter image description here
enter image description here
enter image description here
enter image description here

Here we have a list of example projects that show just how easy it is to start a project with the Raspberry Pi. These Raspberry Pi projects combine easy-to-use Grove sensors with the powerful Raspberry Pi. You can click to download the GrovePi Example code for win10. You will need to press the green button “Clone or download” on the right and choose “Download ZIP”. Then you need to extract the ZIP in a location of your choice. Open the GrovePiExamples(win10).sln with your Visual Studio 2015, you can see there’re 12 projects in the Solution Explorer as the picture below shows.

enter image description here
enter image description here
enter image description here

3) At this point, Visual Studio will present the Remote Connections dialog. If you previously used to set a unique name for your device, you can enter it here (in this example, we’re using my-device). Otherwise, use the IP address of your Windows IoT Core device. After entering the device name/IP select None for Windows Authentication, then click Select.

enter image description here

here
Dexter Industry
https://www.nuget.org/packages/GrovePi/
https://github.com/DexterInd/GrovePi/tree/master/Software/CSharp
here
PowerShell
Windows Dev Center
GrovePi C# Library Code
Example Code
Get One Now
Get One Now
Get One Now
Get One Now
Get One Now
Get One Now
Get One Now
Get One Now
Get One Now
Get One Now
Get One Now
Get One Now
Get One Now
Get One Now
http://www.seeedstudio.com/Microsoft-IoT-Grove-Kit-(Azure-Certified)-p-2694.html
enter image description here