KS0505
KS0505
Arduino
Table of Contents
1.Introduction ........................................................................................................... 2
1
5.3 How to Install the Driver of CP2102............................................... 22
1.Introduction
passionate about science and dare to explore new things, this STEM
This kit also comes with 28 projects tutorials, which are entirely
suitable for beginners. Each tutorial has detailed wiring diagrams and
2
2.Part List
Plus board*1 LED - Blue*5 LED - Red*5 LED - Yellow*5 LED - Green*5 LED - RGB*1
220Ω Resistor*10 10KΩ Resistor*10 1KΩ Resistor*10 10KΩ Potentiometer*1 Buzzer (Active)*1 Buzzer (Passive)*1
Button Switch*4 Ball Tilt Sensor*2 Photo Cell*3 Flame Sensor*1 LM35 Temp Sensor*1 IC 74HC595N *1
TIP122 Transistor*1 1 Digital Tube Display*1 4 Digital Tube Display*1 8*8 LED Matrix*1 1602 I2C LCD *1 IR Receiver*1
3
IR Remote Control*1 Servo Motor*1 130 Motor Propeller*1 130 Dc Motor*1 Stepper Driver*1 Stepper Motor*1
Joystick Module*1 Sound Sensor*1 PIR Motion Sensor*1 HC-SR04 Ultrasonic*1 DHT11 Sensor*1 400-hole Breadboard*1
Type c USB Cable*1 Cartoon paper Cartoon paper Cartoon paper Resistor card
projects.
4
Arduino and contains all the functions of the Arduino UNO R3, but it is
more powerful than the Arduino UNO R3. It is the best choice to learn
how to build circuits and design your own code. Let us get more
5
D13 is SCK
6
4.1 Download Software
Arduino IDE is the open-source Software makes it easy to write code
and upload it to the board. When getting the control board, we first
following page.
Click and
7
Then you will see a page where you can download the latest version of
the IDE. There are the Installer (.exe) and the Zip packages you can
choose for Windows. We suggest you use the first one that installs
including the drivers. With the Zip package you need to install the
drivers manually. The Zip file is also useful if you want to create a
portable installation.
Pull down this page, you can also click "previous version of the current
8
In this project, we choose Installer (.exe) for Windows.
9
10
If the following interface appears, you should choose “Install”.
Before using the KEYESTUDUO Plus Control Board, you must install
Unlike the USB series chip (ATMEGA8U2) of the Arduino UNO R3, the
The driver of the CP2102 chip is included in 1.8.0 version and newer
computer and wait for Windows to begin its driver installation process.
If the driver installation process fail, you need to install the driver
manually.
Note:
1. Please make sure that your IDE is updated to 1.8.0 or newer version
11
2.If the version of Arduino IDE you download is below 1.8, you should
https://fs.keyestudio.com/CP2102-WIN
failed.
Double-click the font with yellow exclamation mark and clich “OK”
12
Click “browse my computer for updated driver software”.
13
Navigate to the "Drivers" folder of the Arduino Software you have
14
4.3 Configure Arduino IDE
After the driver is successfully installed, it’s time to configure the IDE
Tools > Board > and select Arduino Uno(as shown below). However, if
you are using a different board (i.e., not the Arduino Uno or
KEYESTUDIO Plus Control Board), you must select the proper board!
15
Then select the correct COM port.
You can see the corresponding COM port after the driver is
successfully installed.
16
Navigate to Tools > Port >COM7
17
The function of each symbol in the Arduino IDE toolbar.
F- send the serial data received from board to the serial monitor.
18
Click File -> Examples -> 01.Basics ->Blink
When the sketch window opens, you can see the entire sketch in the
window.
19
Choose the correct board type and COM port
Dode uploarding!
The onboard LED lights on for 1s, lights off for 1s.
20
5.Installing Driver on MAC
21
5.2 Download the Driver of CP2102
https://fs.keyestudio.com/CP2102-MAC
Arduino IDE
22
Click Tools to configure Board and Port: Arduino Uno and
/dev/cu.usbserial-0001
23
Tap Upload to upload code, if burn successfully, you will view done
uploading.
24
Note: If burn unsuccessfully, you need to
https://www.silabs.com/products/development-tools/software/u
25
sb-to-uart-bridge-vcp-drivers
26
4.You will view the following files as follows:
5. Double-click Install CP210x VCP Driver, tick Don’t warn me and tap
Open
27
6. Tap Continue
28
8.Click Continue and input your password
29
9.Select Open Security Preferences
30
10.Click the lock to unlock security & privacy preference.
31
11.Then click Allow
32
13.Successfully installed
14.Then enter ArduinoIDE, click Tools and select Board: Arduino Uno
33
and /dev/cu.SLAB_USBtoUAPT
34
6. Install the Libraries to Arduino
35
What are Libraries ?
Libraries are a collection of code that makes it easy for you to connect
The built-in libraries and some of these additional libraries are listed in
the reference(https://www.arduino.cc/en/Reference/Libraries).
When you want to add a library manually, first quit the Arduino
For this example, we will install the IR Remote Library which can be
First, download the library as a ZIP, which is done by clicking the green
36
Once downloaded, Unzip the the IR Remote Library package.
37
Open the“Libraries”folder in the Arduino folder and then drag the
To install a new library into your Arduino IDE you can use the Library
38
Manager (available from IDE version 1.6.2). Open the IDE and click to
the "Sketch" menu and then Include Library > Manage Libraries.
Then the Library Manager will open and you will find a list of libraries
will install the Bridge library. Scroll the list to find it, click on it, then
select the version of the library you want to install. Sometimes only
39
does not appear, don't worry: it is normal.
Finally click on install and wait for the IDE to install the new library.
Once it has finished, an Installed tag should appear next to the Bridge
40
You can now find the new library available in the Sketch > Include
Library menu.
Open the Arduino IDE, navigate to Sketch > Include Library. At the top
of the drop down list, select the option to "Add .ZIP Library''.
https://github.com/shirriff/Arduino-IRremote
41
First, download the library as a ZIP, which is done by clicking the green
You should now see the library at the bottom of the drop-down menu.
42