Keyestudio ARDUINO maker learning kit User manual

keyestudio
www.keyestudio.cc
ARDUINO maker learning kit

keyestudio
www.keyestudio.cc
Catalog
1. Introduction..................................................................................................................................... 1
2. Component list................................................................................................................................ 9
3. Project list......................................................................................................................................16
4. Project details................................................................................................................................ 17
Project 1: Hello World...............................................................................................................17
Project 2: LED blinking............................................................................................................ 20
Project 3: PWM.........................................................................................................................22
Project 4: Traffic light............................................................................................................... 27
Project 5: LED chasing effect................................................................................................... 30
Project 6: Button-controlled LED.............................................................................................33
Project 7: Responder experiment.............................................................................................. 36
Project 8: Active buzzer............................................................................................................ 40
Project 9: Passive buzzer...........................................................................................................43
Project 10: RGB LED............................................................................................................... 46
Project 11: Analog value reading.............................................................................................. 50
Project 12: Photo resistor.......................................................................................................... 54
Project 13: Flame sensor........................................................................................................... 57
Project 14: Analog temperature (thermistor)............................................................................ 62
Project 15: LM35 temperature sensor.......................................................................................67
Project 16: Temperature-controlled cup....................................................................................71
Project 17: DHT11 Temperature and Humidity Sensor............................................................74
Project 18: Tilt switch............................................................................................................... 79
Project 19: Magical Light Cup..................................................................................................82
Project 20: Vibration switch......................................................................................................85
Project 21: Sound-control light.................................................................................................88
Project 22: Voltmeter.................................................................................................................95
Project 23: 74HC595.................................................................................................................97
Project 24: 1-digit LED segment display................................................................................100
Project 25: 4-digit LED segment display................................................................................107
Project 26: 8*8 LED matrix....................................................................................................116
Project 27: 1602 LCD............................................................................................................. 120
Project 28: 9g servo control.................................................................................................... 131
Project 29: Rotary Encoder.....................................................................................................136
Project 30: 5V relay................................................................................................................ 140
Project 31: DS1302 clock....................................................................................................... 145
Project 32: Mos tube driving motor........................................................................................150
Project 33: 4N35..................................................................................................................... 152
Project 34: NE555 Timer........................................................................................................ 156

keyestudio
www.keyestudio.cc
1
1. Introduction
Want to have enormous fun? Want to DIY some projects? Want to be more creative and more
imaginative? Want your child to learn science while having fun? As long as you are willing to
create, dare to experience new things, have a passion for scientific experiments, this maker kit is
your best tailored choice!
Maker learning kit is a DIY kit for scientific experiments based on ARDUINO. Together with
controller, sensors, electronic components, you can build different DIY projects. It can not only
enhance operational ability of teenagers, but also develop their imagination and creativity.
Children who are into DIY can learn electronics, physics, science knowledge and software
programming while playing; teachers can use it to achieve innovative teaching; makers can use it
for design verification of product prototype.
Keyestudio UNO R3 board
Overview
Keyestudio Uno r3 is a microcontroller board based on the ATmega328 (datasheet). It has 14
digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a
16 MHz ceramic resonator, a USB connection, a power jack, an ICSP header, 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.
The Uno r3 differs from all preceding boards in that it does not use the FTDI USB-to-serial driver
chip. Instead, it features the Atmega16U2 programmed as a USB-to-serial converter.

keyestudio
www.keyestudio.cc
2
Parameters
1. Microcontroller core: AVRmega328P-PU ( Processing speed 20MIPS)
2. Working voltage: +5V
3. External input voltage:+7V~+12V(suggest)
4. External input voltage ( extremum ): +6V≤ Vin ≤ +20V
5. Digital signal I/O interface: 14 ( 6 PWM input interface)
6. Analog signal input interface: 6
7. DC I/O interface current: 40mA
8. Flash capacity: 32KB( other 2k used in hootloader)
9. SRAM static storage capacity
10. EEPROM storage capacity: 512bytes
11. Clock frequency:16MHZ
user
1 | Download the Arduino environment
Get the latest version from the download page.
When the download finishes, unzip the downloaded file. Make sure to preserve the folder structure.
Double-click the folder to open it. There should be a few files and sub-folders inside.
2 | Connect the board
The Arduino Uno, Mega, Duemilanove and Arduino Nano automatically draw power from either
the USB connection to the computer or an external power supply. If you're using an Arduino
Diecimila, you'll need to make sure that the board is configured to draw power from the USB
connection. The power source is selected with a jumper, a small piece of plastic that fits onto two
of the three pins between the USB and power jacks. Check that it's on the two pins closest to the
USB port.
Connect the Arduino board to your computer using the USB cable. The green power LED
(labelled PWR) should go on.
3 | Install the drivers
Installing drivers for the Arduino Uno or Arduino Mega 2560 with Windows 7, Vista, or XP:
Plug in your board and wait for Windows to begin it's driver installation process. After a few
moments, the process will fail, despite its best efforts
Click on the Start Menu, and open up the Control Panel.
While in the Control Panel, navigate to System and Security. Next, click on System. Once the
System window is up, open the Device Manager.
Look under Ports (COM & LPT). You should see an open port named "Arduino UNO (COMxx)".
If there is no COM & LPT section, look under "Other Devices" for "Unknown Device".
Right click on the "Arduino UNO (COmxx)" port and choose the "Update Driver Software"
option.
Next, choose the "Browse my computer for Driver software" option.

keyestudio
www.keyestudio.cc
3
Finally, navigate to and select the driver file named "arduino.inf", located in the "Drivers" folder
of the Arduino Software download (not the "FTDI USB Drivers" sub-directory). If you are using
an old version of the IDE (1.0.3 or older), choose the Uno driver file named "Arduino UNO.inf"
Windows will finish up the driver installation from there.
See also: step-by-step screenshots for installing the Uno under Windows XP.
Installing drivers for the Arduino Duemilanove,Nano, or Diecimila with Windows7, Vista, or XP:
When you connect the board, Windows should initiate the driver installation process (if you
haven't used the computer with an Arduino board before).
On Windows Vista, the driver should be automatically downloaded and installed. (Really, it
works!)
On Windows XP, the Add New Hardware wizard will open:
When asked Can Windows connect to Windows Update to search for software? select No, not this
time. Click next.
Select Install from a list or specified location (Advanced) and click next.
Make sure that Search for the best driver in these locations is checked; uncheck Search removable
media; check Include this location in the search and browse to the drivers/FTDI USB
Drivers directory of the Arduino distribution. (The latest version of the drivers can be found on
the FTDI website.) Click next.
The wizard will search for the driver and then tell you that a "USB Serial Converter" was found.
Click finish.
The new hardware wizard will appear again. Go through the same steps and select the same
options and location to search. This time, a "USB Serial Port" will be found.
You can check that the drivers have been installed by opening the Windows Device Mananger (in
the Hardware tab of System control panel). Look for a "USB Serial Port" in the Ports section;
that's the Arduino board.
4 | Launch the Arduino application
Double-click the Arduino application. (Note: if the Arduino software loads in the wrong language,
you can change it in the preferences dialog. See the environment page for details.)
5 | Open the blink example
Open the LED blink example sketch: File > Examples > 1.Basics > Blink.

keyestudio
www.keyestudio.cc
4
6 | Select your board
You'll need to select the entry in the Tools > Board menu that corresponds to your Arduino.

keyestudio
www.keyestudio.cc
5
Selecting an Arduino Uno
For Duemilanove Arduino boards with an ATmega328 (check the text on the chip on the board),
select Arduino Duemilanove or Nano w/ ATmega328. Previously, Arduino boards came with
an ATmega168; for those, select Arduino Diecimila, Duemilanove, or Nano w/ ATmega168.
(Details of the board menu entries are available on the environment page.)
7 | Select your serial port
Select the serial device of the Arduino board from the Tools | Serial Port menu. This is likely to
be COM3 or higher (COM1and COM2 are usually reserved for hardware serial ports). To find out,
you can disconnect your Arduino board and re-open the menu; the entry that disappears should be
the Arduino board. Reconnect the board and select that serial port.
8 | Upload the program
Now, simply click the "Upload" button in the environment. 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.)
A few seconds after the upload finishes, you should see the pin 13 (L) LED on the board start to
blink (in orange). If it does, congratulations! You've gotten Arduino up-and-running.
If you have problems, please see the troubleshooting suggestions.
You might also want to look at:
the examples for using various sensors and actuators
the reference for the Arduino language
The text of the Arduino getting started guide is licensed under a Creative Commons
Attribution-ShareAlike 3.0 License. Code samples in the guide are released into the public
domain.

keyestudio
www.keyestudio.cc
6
Keyestudio Mega 2560 R3 board
Introduction
Keyestudio Mega (core to ATmega2560) is a development board (used with16MHz crystal
oscillator ) of microcontroller. There 54 groups of I/O (input/output ) digital ends (of which
14 group to do PWM output), 16 groups of simulation analogy input ends and 4 groups of
UART (hardwareserial ports) in it . Because its bootloader, process can be downloaded directly
with the USB and you don’t need to use other external programmer. And its power can be supplied
by the USB, or the AC-to-DC adapter and battery can be also as an external power supply.
Opening source code and using C language developed status in Java concept (cross platform)
make a rapid growth of Arduino peripheral module and application. The main reason to
attract Artist to use Arduino is that they can quickly use all kinds of software communication such
as Arduino language and Flash or Processing and so on. and make multimedia interactive
works. Development interface of Arduino IDE is based on the principle of opening source code,
which you can download freely used in the thematic making, school teaching, television
controlling, interactive works and so on.
Design of Power Supply
There are two choices (direct power supply trough USB or external power supply) for the power
supply system of Arduino Mega, and they can be Automatic switched. External power supply can
be AC-to-DC adapter or battery. Lit rang of voltage of this control board is 6V~12V, but if

keyestudio
www.keyestudio.cc
7
the supplied voltage is greater than 12V, the voltage stabilizing device will be likely overheated
and overheat protection and damaging Arduino MEGA will be more likely to occur. So we suggest
the power supply should be 6.5~12V in operation and recommended supply is 7.5 or 9V.
Summary
Microcontroller: ATmega2560
Operating Voltage: 5V
Input Voltage (recommended): 7-12V
Input Voltage (limits): 6-20V
Digital I/O Pins: 54 (of which 15 provide PWM output)
Analog Input Pins: 16
DC Current per I/O Pin: 40 mA
DC Current for 3.3V Pin: 50 mA
Flash Memory: 256 KB of which 8 KB used by bootloader
SRAM: 8 KB
EEPROM: 4 KB
Clock Speed: 16 MHz
Procedure for Installing Arduino Driver
To download the Arduino developing software on the web address:
http:/arduino.cc/en/Main/Software. The downloaded file is arduino-1.0.zip,
a compressed folder, to decompress it to the hard disk.
When 2560R3 Developing Board is connected to the Windows through the
USB line, Windows will prompt a new USB device is found, then it will lead us into the "found
new hardware wizard" window.
The next step is to install 2560R3 driver required, selecting the option of "install from a list or
specific location (Senior)" and click "next" button:
To put the driver into the driver directory of Arduino 1.0 installation directory, and we
need to specify this directory to be the searched directory when installing the driver.
Click "next" button, Windows begins to find and install Arduino driving procedure.
If all goes well, we will see the success interface as follows:
After the installation of Arduino driver is successful, we can find the corresponding Arduino serial
port in the Windows device manager:
Well, the next is to test driver installation.
Testing code:

keyestudio
www.keyestudio.cc
8
Copy the code above to Arduino status , select the model 2560 and port, and then upload the code.
To wait a moment and the results came out, then you will see the LED flashing at D13 of your
2560r3 board and the time interval is 1s, and then we know that is ok.

keyestudio
www.keyestudio.cc
9
2. Component list
No.
Product Name
Quantity
Picture
1
LED - Red
10
2
LED - Yellow
10
3
LED - Blue
10
4
LED - Green
10
5
LED - RGB
2
6
220 Ω resistor
20

keyestudio
www.keyestudio.cc
10
7
100K Ω resistor
20
8
1K Ω resistor
20
9
4.7K Ω resistor
20
10
47K Ω resistor
20
11
10K Ω resistor
20
12
101 ceramic capacitor
10
13
103 ceramic capacitor
10

keyestudio
www.keyestudio.cc
11
14
22 ceramic capacitor
10
15
104 ceramic capacitor
10
16
100uf16V electrolytic
capacitor
10
17
10uf16V electrolytic
capacitor
10
18
Button
6
19
Yellow round cap
3
20
Blue round cap
3
21
4007 diode
5
22
8050 Transistor
2

keyestudio
www.keyestudio.cc
12
23
8550 Transistor
2
24
1-digit 7-seg LED
(small)
1
25
4-digit 7-seg LED
(small)
1
26
LED Matrix (small)
1
27
5V Relay
1
28
MOS (metal oxide
semiconductor) tube
1
29
Crystal oscillator
1

keyestudio
www.keyestudio.cc
13
30
801S sensor
1
31
Highly sensitive MIC
1
32
Rotary encoder
1
33
DHT11 temperature and
humidity
1
34
LM35 temperature
sensor
1
35
Flame sensor
1
36
Ball tilt sensor
2

keyestudio
www.keyestudio.cc
14
37
103 thermistor
2
38
Photoresistor
2
39
103 variable resistor
2
40
4N35
1
41
NE555P
1
42
DS1302
1
43
595 IC
2
44
Active buzzer
1

keyestudio
www.keyestudio.cc
15
45
Passive buzzer
1
46
Pin header 1*16
1
47
Fan leaf
1
48
Fan motor
1
49
9G servo motor
1
50
1602 LCD
1
51
USB cable 100mm
1
52
Jumper Wire 1*65
1

keyestudio
www.keyestudio.cc
16
53
830-hole Breadboard
1
54
Retaining screws
1
55
Acrylic fixed platform
1
3. Project list
Project 1: Hello World
Project 2: LED blinking
Project 3: PWM
Project 4: Traffic light
Project 5: LED chasing effect
Project 6: Button-controlled LED
Project 7: Responder
Project 8: Active buzzer
Project 9: Passive buzzer
Project 10: RGB LED
Project 11: Analog value reading
Project 12: Photo resistor
Project 13: Flame sensor
Project 14: Analog temperature (thermistor)
Project 15: LM35 temperature sensor
Project 16: Temperature-controlled cup
Project 17: Temperature and humidity sensor

keyestudio
www.keyestudio.cc
17
Project 18: Tilt switch
Project 19: Magical Light Cup
Project 20: Vibration switch
Project 21: Sound-control light
Project 22: Voltmeter
Project 23: 74HC595
Project 24: 1-digit LED segment display
Project 25: 4-digit LED segment display
Project 26: 8*8 LED matrix
Project 27: 1602 LCD
Project 28: 9g servo control
Project 29: Rotary encoder
Project 30: 5V Relay
Project 31: DS1302 clock
Project 32: Mos tube driving motor
Project 33: 4N35
Project 34: NE555 timer
4. Project details
Project 1: Hello World
Introduction
As for starters, we will begin with something simple. In this project, you only need an Arduino
and a USB cable to start the "Hello World!" experiment. This is a communication test of your
Arduino and PC, also a primer project for you to have your first try of the Arduino world!
Hardware required
Arduino board *1
USB cable *1
Sample program
After installing driver for Arduino, let's open Arduino software and compile code that enables
Arduino to print "Hello World!" under your instruction. Of course, you can compile code for
Arduino to continuously echo "Hello World!" without instruction. A simple If () statement will do
the instruction trick. With the onboard LED connected to pin 13, we can instruct the LED to blink
first when Arduino gets an instruction and then print "Hello World!”.

keyestudio
www.keyestudio.cc
18
//////////////////////////////////////////////////////////
int val;//define variable val
int ledpin=13;// define digital interface 13
void setup()
{
Serial.begin(9600);// set the baud rate at 9600 to match the software set up. When connected to
a specific device, (e.g. bluetooth), the baud rate needs to be the same with it.
pinMode(ledpin,OUTPUT);// initialize digital pin 13 as output. When using I/O ports on an
Arduino, this kind of set up is always needed.
}
void loop()
{
val=Serial.read();// read the instruction or character from PC to Arduino, and assign them to
Val.
if(val=='R')// determine if the instruction or character received is “R”.
{ // if it’s “R”,
digitalWrite(ledpin,HIGH);// set the LED on digital pin 13 on.
delay(500);
digitalWrite(ledpin,LOW);// set the LED on digital pin 13 off. delay(500);
Serial.println("Hello World!");// display“Hello World!”string.
}
}
////////////////////////////////////////////////////////////////
Result
Table of contents
Other Keyestudio Toy manuals
Popular Toy manuals by other brands

KNEX
KNEX Super Mario 3D World CAT MARIO user guide

V-tech
V-tech Toot-Toot Drivers RemoteControl Racer user manual

V-Tec
V-Tec Bluey's Book Of Games instruction manual

V-tech
V-tech Touch & Turn Tunes user manual

LaserPegs
LaserPegs National Geographic Oceans quick start guide

Air Hogs
Air Hogs FURY JUMP JET Operating instruction

esky
esky BELT-CP V2 CX 2 operating instructions

LaserPegs
LaserPegs FACTOID MPS 100 quick start guide

Hobby King
Hobby King de Havilland Mosquito TT.35 Assembly manual

V-tech
V-tech InnoTab Software - Disney Fairies user manual

V-tech
V-tech Toot-Toot Friends user manual

Lightmybricks
Lightmybricks LEGO STATUE OF LIBERTY 21042 installation guide