The main purpose of Genuino (yes, the open-source microcontroller board) is to build systems that could interact with outside world i.e., accept input or data (switching input, sensor signal, keypress), process it and produce an output (turn on/off an LED, motor speed control, display message or value etc.). There are different types of input and output devices or components that you can use with your Genuino board.
The Grove Kit!
Grove kit is one such modularized collection of various components that can be easily connected to Genuino board and can extend the system functionality. They enable development of a meaningful plug-n-play system in no time. A complete list of Grove input and output modules that are Genuino compatible can be found at – http://wiki.seeedstudio.com/wiki/Grove_System.
For the tutorial series, we are going to work with a few Grove modules listed at here.
Grove eco-system of modules offers a “base-shield” sits on top of your Genuino board and facilitates easy and intuitive connection of other grove sensor and actuator modules to Genuino.
Let’s try it out!
So let’s take out the Genuino board, Grove Base Shield, a connector, LED module and an LED and connect then as show below:
- You will have to put the Grove base shield on top of Arduino
- Connect the LED module to (say) D3 of base shield using connector cable
- Insert the LED into the LED module – take a note of polarity! The shorter lead or one near the flat spot is the ‘cathode’ or ‘negative’ terminal of the LED.
- Connect the Genuino board to computer using USB cable
- Open the Arduino IDE (the software)
- Open the BLINK example code using the menu: File > Examples > 01.Basics > Blink
- Ensure the BOARD and PORT settings are correct: Tools > Board & Tools > Port
You’ll have to modify the ‘LED Pin’ from 13 to 3, as we connected the LED module to D3.
Compile and upload the sketch, you should see LED blink.
Can you do it?
Try connecting the LED module to another pin (say D2 or D8) and modify the sketch to achieve a blinki