True
Grove Beginner Kit: A beginner's Guide to Arduino

Now is the time to learn Arduino. If you want to know the functions of Arduino, Grove Beginner Kit is one of the best tools for beginners, students, engineers, and even hobbyists. How do you get started with Grove Beginner Kit for Arduino? Or what are the modules that you can use to boost your knowledge of Arduino? In this blog, we’ll talk you through Grove Beginner Kit, its modules, and its learning applications to get you started.


Grove Beginner Kit for Arduino

Introducing Grove Beginner Kit. It is an all-in-one kit that includes an Arduino compatible board combined with ten modules pre-wired on a single PCB. Additionally, no breadboard, no soldering, not even jumper cables are needed. Moreover, Seeed Studio has developed more than 300 Grove modules covering a wide range of applications that can fulfill various needs. But before we dive deeper into Grove Beginner Kit, we must first understand what Grove is.


What is Grove?

Grove makes it easier to connect, experiment, and simplify the prototyping process. First, Grove allows you to say goodbye to soldering or using a breadboard for all prototyping needs. Second, you can start using Grove modules just by plug-and-play. Third, it is compatible with many development platforms, including Arduino, Raspberry Pi, Beaglebone, and more.

Learning Objectives

Grove Beginner Kit for Arduino is a key tool to learn new things. Teachers, students, and hobbyists can start working on Grove Beginner Kit with basic Arduino programming. By understanding the kit, you can also learn basic open-source hardware systems. Not just that, you can also master communication principles and methods for sensors. Furthermore, this kit gives you an advantage with hands-on implementation of Open Source Hardware projects.

Hardware Overview


Modules

LED
Simple LED Module
Buzzer
Piezo Buzzer
Button
Momentary Push Button
Light
Detects Surrounding Light Intensity
Sound
Detects Surrounding Sound Intensity
Temperature & Humidity Sensor
Detects Surrounding Temperature and Humidity Values
Air Pressure Sensor
Detects Surrounding Atmospheric Pressure
3-Axis Accelerator
Detects Object Acceleration
Seeeduino Lotus
Arduino Compatible Board with Grove Ports
OLED Display 0.96″
128×64 dot resolution High brightness, self-emission, and high contrast ratio Big screen on a compact design Low power consumption
Rotary Potentiometer
Adjustable Potentiometer

Let's use Grove Beginner Kit!

This section will teach you how to make a temperature and humidity monitoring machine using Grove Beginner Kit for Arduino. Let's get started! 

What is Protocol Signal (I2C)

Protocol signal: the protocol signal we use is I2C, so here is a brief introduction to I2C. I2C bus needs two wires to transmit information connection between the devices: the SDA (Serial Data Line) and SCL (Serial Clock Line).

These two lines are bidirectional I/O lines, the main component used to start the bus transfer data and generate the clock to open the transmission device. Any devices that are addressing at this time are considered from the device.

The relationship between master and slave(sender and receiver) on the bus is not constant but depends on the direction of data transmission. If the host wants to send data to the slave device, the host first addresses the slave device, then actively sends data to the slave device, and finally terminates the data transmission by the host. If the host receives data from the slave, the slave is first addressed by the master.

The host then receives the data sent from the device, and the host terminates the receiving process in this case. The host is responsible for generating the timing clock and completing the data transfer.

Monitor Temperature & Humidity

Tools and Parts

  1. Seeeduino Lotus

  2. Grove OLED

  3. Grove Temperature and Temperature Sensor

  4. Grove Cable



Hardware connection

Module Connection

  • Default connection by PCB stamp hole.

  • Connect Seeeduino Lotus to the computer through a USB cable.

Software Code

  • Open Arduino IDE

  • Install the Grove Temperature and Humidity Sensor(DHT11) library: Navigate to Sketch -> Include Library -> Manage Libraries... and Search for the keyword "Grove Temperature and Humidity Sensor(DHT11)" in the Library Manager, then install. 

  • Copy the following code, click Verify to check for syntax errors. Verify that there are no errors, and you can upload the code.

//Temperature and Humidity Sensor
#include "DHT.h"
#include <Arduino.h>
#include <U8x8lib.h>
 
#define DHTPIN 3     // what pin we're connected to
#define DHTTYPE DHT11   // DHT 11 
DHT dht(DHTPIN, DHTTYPE);
 
U8X8_SSD1306_128X64_NONAME_HW_I2C u8x8(/* reset=*/ U8X8_PIN_NONE);
 
void setup(void) {
  Serial.begin(9600); 
  Serial.println("DHTxx test!");
  dht.begin();
  u8x8.begin();
  u8x8.setPowerSave(0);  
  u8x8.setFlipMode(1);
}
 
void loop(void) {
 
  float temp, humi;
  temp = dht.readTemperature();
  humi = dht.readHumidity();
 
  u8x8.setFont(u8x8_font_chroma48medium8_r);
  u8x8.setCursor(0, 33);
  u8x8.print("Temp:");
  u8x8.print(temp);
  u8x8.print("C");
  u8x8.setCursor(0,50);
  u8x8.print("Humidity:");
  u8x8.print(humi);
  u8x8.print("%");
  u8x8.refreshDisplay();
  delay(200);
}                            

Code Analysis

float temp, humi;

Defines variables to store readings.

temp = dht.readTemperature();
humi = dht.readHumidity();

Description

Here are functions to read temperature and humidity values from the sensor.

Syntax

dht.readTemperature() and dht.readHumidity(). Return type: float.

Call these functions to read the temperature and humidity and store them in defined variables.

Breakout Guide

Use Grove cable to connect the OLED to Seeeduino Lotus's I2C interface (Note: I2C's default address is 0x78). Connect the Grove Temperature and Humidity Sensor to Seeeduino Lotus's digital signal interface D3.

Grove Beginner Kit: A beginner's Guide to Arduino
snoosnoo 14 January, 2021
Share this post
Tags
Archive
Sign in to leave a comment
How to Set up TrueNAS Storage Operating System on Odyssey – X86

To install this Web App in your iPhone/iPad press and then Add to Home Screen.