So you have decided to work with Genuino, great choice I must say!
Getting Started with Genuino 101 / Uno…
To get started, you would need:
- Hardware / electronic components:
- Genuino Uno or 101 or any other microcontroller board
- Genuino Grove Shield – a board that lets you connect other components to Genuino microcontroller board
- Bunch of components, actually input and output devices, to experiment with
- Software / application: Arduino IDE (integrated development environment) that lets you program the microcontroller board through a computer.
- Additional libraries: Program libraries specific to certain components which allows you with extra functionality to use those components in your program (to fetch data from, manipulate data or write data to). For most of the basic components provided with Grove Kit, you may not need additional libraries unless specified.
- Should you need additional libraries for some components, you can obtain them from the component vendor.
- Once you have those libraries, you can point to them in the Arduino IDE. A detailed instruction on how to use additional libraries can be found here – https://www.arduino.cc/en/Guide/Libraries.
Using Genuino for the first time!
Now that you gathered all the components you needed to work with, let’s test the Genuino with the most basic program or sketch, as it called in maker’s world now, ‘the LED blink’!
To run any program on your Genuino board, you need to go through these basic steps:
Having understood the overall process, let’s try running a basic sketch (Blink) now:
- Connect the Genuino 101 or Uno board to your computer using USB cable. Allow your computer to detect it and install necessary drivers if required.
- Open or start Arduino IDE.
- Navigate to the sketch “Blink” from the menu: File > Examples > 01.Basics > Blink
- The Arduino IDE supports different variants of microcontroller board. Select your board type from: Tools > Board > …
- In most cases, the Arduino IDE automatically detects which COM port the Genuino board is connected to. In case it does not, select the right COM port from the ‘port’ menu: Tools > Port > … The COM ports would be listed differently in a Windows computer (COM1, COM12…etc).
- Once Board and Port setting is done correctly, you can simply compile and upload the program on the microcontroller board by clicking ‘right arrow’ icon.
- Upon successful upload, you would see a blinking LED on your Genuino board.