Professional Documents
Culture Documents
1
By Maker Studio
Catalog
Install Arduino IDE ................................................................................................................................................... 3
Experiment 01 - Blinking LED ................................................................................................................................. 6
Experiment 02 Button Controlled LED ................................................................................................................. 9
Experiment 03 Self-locking Button ..................................................................................................................... 10
Experiment 04 Light Sensor ................................................................................................................................ 11
Experiment 05 Light Control LED ...................................................................................................................... 13
Experiment 06 Light Control Breathing LED ...................................................................................................... 14
Experiment 07 Rotary Potentiometer control LED .............................................................................................. 15
Experiment 08 RGB LED .................................................................................................................................... 16
Experiment 09 7 Segmental LED ........................................................................................................................ 17
Experiment 10 1602LCD Display........................................................................................................................ 18
Experiment 11 Temperature and Humidity Sensor .............................................................................................. 19
Experiment 12 Remote Infrared Control.............................................................................................................. 20
Experiment 13 PIR Motion Sensor ...................................................................................................................... 21
Experiment 14 Tilt Sensor ................................................................................................................................... 23
Experiment 15 Ultrasonic Sensor......................................................................................................................... 24
Experiment 16 - Buzzer .......................................................................................................................................... 25
Experiment 17 Bluetooth ..................................................................................................................................... 26
Experiment 18 DC Motor .................................................................................................................................... 28
Experiment 19 Stepper Motor .............................................................................................................................. 29
Experiment 20 Servo ............................................................................................................................................ 31
Experiment 21 4 Digital 7-Segment LED with Time Separator .......................................................................... 32
Experiment 22 8x8 Red LED Matrix ................................................................................................................... 33
Experiment 23 Soft Keypad ................................................................................................................................. 35
Experiment 24 125 kHz RFID Kit ....................................................................................................................... 36
Experiment 25 Wireless Remote Control Kit ...................................................................................................... 37
Experiment 26 74HC595 Drive a 7 Segmental LED ........................................................................................... 38
1
Click arduino.exe will run the IDE. In the folder libraries, there is a folder named ArduinoDeluxeKit which
includes all the example code for the kit.
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 directory of the Arduino
distribution. Click next.
The wizard will search for the driver and install it.
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 "Arduino Uno (COMxxx)" in the Ports section;
that's the Arduino board.
Click Tools->SerialPort, and choose the right com port, which will list after the driver successfully installed
Click Upload, the code will be compiled and uploaded to the board and shows the following information if it
is success.
10
11
When hiding the senor by hand or just move it to a darkness room, the output value decreases, from which we
can tell theres little light sensed.
12
Open Makerduino sketch p05_LightControlLED.ino and upload the code to the Makerduino.
Move it to a darkness room, the LED will turn on. When open the lamp, the LED will turn off.
13
14
Hardware Connection
15
Open Makerduino sketch p08_RGBLED.ino and upload it to the Makerduino. The LED will change the color
and the brightness.
16
Open the Makerduino sketch p09_DigitalLED.ino, and upload it to the Makerduino. The digital LED will
display number from 0 to 9 and the dot.
17
Open the Makerduino sketch p10_1602LCD.ino and upload it to the Makerduino. The LCD will display the
time passed in second.
You can change the 1kohm resistor to a Precision Potentiometer for getting the suitable brightness of the
display character.
18
Open the Makerduino sketch p11_HumAndTempSensor.ino and upload it to the Makerduino. Open the Serial
Monitor, it will display the temperature and humidity.
19
20
Hardware Connection
21
22
23
Open the Makerduino sketch p15_Ultrasonic.ino and upload it to the Makerduino. Open the Serial Monitor,
it will show the distance measured.
Physical connection diagram and result show
24
Experiment 16 - Buzzer
Use Makerduino and Buzzer to make sound.
Hardware Connection
Open the Makerduino sketch p16_Buzzer.ino and upload it to the Makerduino. The buzzer will make sound
in different ways.
25
Experiment 17 Bluetooth
Bluetooth is a wireless communication module. It exchanges data over short distances from fixed and mobile
devices, builds personal area networks.
Details
Note: The some version of Bluetooth module only has 4 pins: GND, 5V, TX, RX. Such that D9 is not needed
to connect in the following example.
Hardware Connection
26
27
Experiment 18 DC Motor
In this experiment, you will learn how to control a DC Motor via PWM Pin 9 of Makerduino. For the reason
that the Makerduinos pins cannot deal with larger electric items directly, an external transistor is required.
A transistor (as following show) switches a lot of current using a much smaller current. For a negative type
(NPN) transistor, you connect your load to collector and the emitter to ground. The diode is acting as a
flyback diode.
Hardware Connection
Open the Makerduino sketch p18_Motor.ino and upload it to the Makerduino. The DC Motor will run at the
preset mode in the sketch.
28
Hardware Connection
29
30
Experiment 20 Servo
Use Makerduino to control 9g servo motor rotate between 0 and 180 degree.
Hardware Connection and result show
Connect D9 to the Signal (yellow) wire.
Open Makerduino sketch p20_Servo.ino and upload it to the Makerduino.
The servo will rotates between 0 and 180 degree.
31
32
Hardware Connection
33
34
Hardware Connection
35
Hardware Connection
Needn't distinguish between the positive and
negative of the Induction coil pins.
36
Hardware Connection
37
Hardware Connection
Connect MR and VCC to VCC, OE and GND to GND.
38
39
Recommending Links
Follow us on facebook: https://www.facebook.com/makerstudioSZ/
Get more Arduino products on: http://makerstudio.cc/
40