5% OFF Over $19, Code: Elephant5; 10% OFF Over $59, Code: Elephant10



Basic Starter Kit for Arduino Starters Tutorials

Posted by Fiona Su on

Create a new blank Sketch

This is the basic Starter Kit, developed specially for those beginners who are interested in Arduino.
You will have a set of Arduino's most common and useful electronic components. What's more, we will offer you a detailed tutorials including project introduction and their source codes.
You may learn about Arduino through using these basic projects. This kit will help you control the physical world with sensors.

thumb

Shipping List:

  • Keyestudio MEGA 2560R3 board Compatible with Arduino x1
  • LED - Blue x5
  • LED - Red x5
  • LED - Yellow x5
  • 10K Ω resistor x5
  • 1K Ω resistor x5
  • 220 Ω resistor x8
  • 10K Ω Pot x1
  • LED - RGB x1
  • Buzzer (active) x1
  • Buzzer (passive) x1
  • 4x button switch x4
  • LM35 Temp Sensor x1
  • Ball tilt sensor x2
  • Photo Resistor x3
  • Flame sensor x1
  • 7-seg LED 1x module x1
  • 7-seg LED 4x module x1
  • 8x8 dot LED array x1
  • IC 74HC595N 16-pin DIP x1
  • IR receiver x1
  • IR remote control x1
  • 1602 lcd x1
  • 9g sevrox1
  • 830-pin Breadboard
  • 6-cell AA Battery pack x1
  • USB cable x1
  • Dupont connector wires

Getting Started with Arduino

Installing Arduino Software
When you get the REV4 development board, first you should install the Arduino software and driver.
We usually use the Windows software Arduino 1.5.6 version. You can download it from the link below:
https://www.arduino.cc/en/Main/OldSoftwareReleases#1.5.x
Or you can browse the ARDUINO website to download the latest version from this link, https://www.arduino.cc, pop up the following interface.

KS0313-1.png

Then click the SOFTWARE on the browse bar, you will have two options ONLINE TOOLS and DOWNLOADS.

KS0313-2.png

Click DOWNLOADS, it will appear the latest software version of ARDUINO 1.8.5 shown as below.

KS0313-3.png

In this software page, on the right side you can see the version of development software for different operating systems. ARDUINO has a powerful compatibility. You should download the software that is compatible with the operating system of your computer.
We will take WINDOWS system as an example here. There are also two options under Windows system, one is installed version, the other is non-installed version. For simple installed version, first click Windows Installer, you will get the following page.

KS0313-4.png

KS0313-5.png

This way you just need to click JUST DOWNLOAD, then click the downloaded file to install it.
For non-installed version, first click Windows ZIP file, you will also get the pop-up interface as the above figure.
Click JUST DOWNLOAD, and when the ZIP file is downloaded well to your computer, you can directly unzip the file and click the icon of ARDUINO software to start it.
Installing Arduino (Windows)
Install Arduino with the exe. Installation package. Here we provide you with Arduino-1.5.6-r2-windows package, you can directly click the icon to install it.

thumb

Click“I Agree”to see the following interface.

thumb

Click “Next”. Pop up the interface below.

thumb

You can press Browse… to choose an installation path or directly type in the directory you want.
Then click “Install” to initiate installation.

thumb

Wait for the installing process, if appear the interface of Window Security, just continue to click Install to finish the installation.

thumb

All right, up to now, you have completed the Arduino setup! The following icon will appear on your PC desktop.

Ks0313图片1.png

Double-click the icon of Arduino to enter the desired development environment shown as below.

717.png

The functions of each button on the Toolbar are listed below:

IDE 1.pngVerify/Compile
Check the code for errors
IDE 2.pngUpload
Upload the current Sketch to the Arduino
IDE 3.pngNew
Create a new blank Sketch
IDE 4.pngOpen
Show a list of Sketches
IDE 5.pngSave
Save the current Sketch
IDE 6.pngSerial Monitor
Display the serial data being sent from the Arduino


Installing Driver
Next, we will introduce the driver installation for development board. The driver installation may have slight differences in different computer systems. So in the following let’s move on to the driver installation in the WIN 7 system.
The Arduino folder contains both the Arduino program itself and the drivers that allow the Arduino to be connected to your computer by a USB cable. Before we launch the Arduino software, you are going to install the USB drivers.
Plug one end of your USB cable into the Arduino and the other into a USB socket on your computer.
When you connect the REV4 board to your computer at the first time, right click the icon of your “Computer” —>for “Properties”—> click “Device manager”, under “Other Devices”, you should see an icon for “Unknown device” with a little yellow warning triangle next to it. This is your Arduino.

Driver 1.png

Then right-click on the device and select the top menu option (Update Driver Software...) shown as the figure below..

Driver 2.png

It will then be prompted to either “Search Automatically for updated driversoftware” or “Browse my computer for driver software”. Shown as below.
In this page, select “Browse my computer for driver software”.

Driver 3.png

After that, select the option to browseand navigate to the “drivers” folder of Arduino installation.

KS0286-4.png

Click “Next” and you may get a security warning, if so, allow the software to be installed. Shown as below.

Driver 5.png

Once the software has been installed, you will get a confirmation message. Installation completed, click “Close”.

Driver 6.png

Up to now, the driver is installed well. Then you can right click “Computer” —>“Properties”—>“Device manager”, you should see the device as the figure shown below.

Driver 7.png

REV4 Platform
Overview
It is very simple. You can use only a main board and a USB cable to display the “Hello World!”. It is a communication experiment between the control board and PC. This is an entry experiment for you to enter the Arduino programming world.
Note that need to use a serial communication software, Arduino IDE.
In the above part, you can check the detailed use of Arduino IDE.
Component Required

  • REV4 control board*1
  • USB cable*1

Component Introduction
Keyestudio REV4 Board
Keyestudio REV4 development board is a microcontroller board based on the ATmega328P (datasheet), fully compatible with ARDUINO UNO. It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, 2 ICSP headers and a reset button.
It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started.
Connect It Up
Connect the REV4 board to your computer using the USB cable. The green power LED should go on.

0040-02.png

Upload the Code
Below is an example code for displaying the Hello World!

int val;
int ledpin=13;
void setup()
{
Serial.begin(9600);
pinMode(ledpin,OUTPUT);
}
void loop()
{
val=Serial.read();
if(val=='R')
{
digitalWrite(ledpin,HIGH);
delay(500);
digitalWrite(ledpin,LOW);
delay(500);
Serial.println("Hello World!");
}
}

Select the Arduino Board
Open the Arduino IDE, you’ll need to click the “Tools”, then select the Board that corresponds to your Arduino.

Board.jpg Select your serial port
Select the serial device of the Arduino board from the Tools | Serial Port menu.
Note: to avoid errors, the COM Port should keep the same as the Ports shown on Device Manager.

Manager.jpg 

Port.jpg

Then click verify button to check the errors. If compiling successfully, the message "Done compiling." will appear in the status bar.

Compile 2.jpg

After that, click the “Upload” button to upload the code. Wait a few seconds - you should see the RX and TX leds on the board flashing. If the upload is successful, the message "Done uploading." will appear in the status bar.
(Note: If you have an Arduino Mini, NG, or other board, you'll need to physically present the reset button on the board immediately before pressing the upload button.)

Upload 2.jpg

Open the Serial Monitor
After that, click the serial monitor button to open the serial monitor.

UNO monitor.png

Then set the baud rate as 9600, enter an “R” and click Send, you should see the RX led on the board blink once, and then D13 led blink once, finally "Hello World!" is showed on the monitor, and TX led blink once.
Congrats! Your first simple program is complete.

Ks0248 monitor 2.png

All Project List

0 comments

Leave a comment

Please note, comments must be approved before they are published