
73
5.Let’s Get Started With Your Projects
Project 1: Hello World
Overview
This project 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 EASY
Plug 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,
.
In the above part, you can check the detailed use of Arduino IDE.
Component Required:
EASY plug control board*1
USB cable*1
Component Introduction:
keyestudio EASY plug Control Board V2.0
The processor used in keyestudio EASY plug
control board V2.0 is ATmega328. It has 5
single Digital ports labeled D5 to D9 (of which 3
can be used as PWM outputs), 1 dual-digital
interface (D3-D4), 4 analog inputs (A0-A3), a
Joystick socket (D2-A6-A7), a SPI, a serial port and an IIC communication interface.
Also with a USB connection, a power jack, two ICSP headers and a reset button. It
breaks out the IO ports with RJ11 6P6C plug.
Содержание EASY PLUG Ultimate Starter Kit
Страница 1: ...keyestudio www keyestudio com EASY PLUG Ultimate Starter Kit For Arduino STEM EDU...
Страница 8: ...5 28 USB cable 1...
Страница 10: ...7...
Страница 12: ...9 2 2 In Out Block...
Страница 16: ...13 For example Connect your Arduino Uno board then follow the steps below to light the Pin13 led on Arduino UNO...
Страница 17: ...14 2 3 Control Block...
Страница 23: ...20 2 4 Math Block...
Страница 28: ...25 2 5 Text Block...
Страница 31: ...28 2 6 List Block...
Страница 34: ...31 2 7 Logic Block...
Страница 37: ...34 2 8 Variable Block...
Страница 39: ...36...
Страница 40: ...37 2 9 SerialPort Block...
Страница 44: ...41...
Страница 45: ...42...
Страница 46: ...43 2 10 Communicate Block...
Страница 49: ...46...
Страница 50: ...47 2 11 Sensor Block...
Страница 53: ...50 2 12 Actuator Block...
Страница 56: ...53 2 13 Monitor Block...
Страница 60: ...57 2 14 Functions Block...
Страница 63: ...60...
Страница 64: ...61...
Страница 79: ...76 Note to avoid errors the COM Port should keep the same as the Ports shown on Device Manager...
Страница 80: ...77...
Страница 85: ...82...
Страница 87: ...84 2 Open the Program Click Open to open your first program Hello World Follow the steps below...
Страница 88: ...85 Or you can double click or directly drag the program to open Hello World Then you...
Страница 89: ...86 should see the Blocks code shown below...
Страница 90: ...87 After that select the proper Board and Port Upload the code to your EASY Plug control board...
Страница 95: ...92 Example 2 LED Blink Test Code What You Should See...
Страница 101: ...98...
Страница 103: ...100...
Страница 106: ...www keyestudio com 103 Upload the Code...
Страница 107: ...www keyestudio com 104 What You Should See Done uploading the code if knock the module hard the led will be turned on...
Страница 108: ...www keyestudio com 105...
Страница 112: ...www keyestudio com 109...
Страница 115: ...www keyestudio com 112...
Страница 117: ...www keyestudio com 114 Upload the Code...
Страница 122: ...www keyestudio com 119 Open the monitor it will print out the value read from the touch sensor...
Страница 125: ...www keyestudio com 122...
Страница 133: ...www keyestudio com 130 Little Knowledge You are able to adjust the sensitivity by a blue potentiometer on the sensor...
Страница 138: ...www keyestudio com 135 Upload the Code What You Should See...
Страница 139: ...www keyestudio com 136 Done uploading the code when the sensor detects an obstacle the led is turned on...
Страница 147: ...www keyestudio com 144 Upload the Code...
Страница 148: ...www keyestudio com 145 What You Should See...
Страница 153: ...www keyestudio com 150 What You Should See...
Страница 157: ...www keyestudio com 154...
Страница 158: ...www keyestudio com 155 Controlling Servo Angle Hookup Guide Test Code...
Страница 162: ...www keyestudio com 159 Upload the Code What You Should See...
Страница 163: ...www keyestudio com 160 After uploading the code you should see the 4 RGB LEDs flash in different colors Red Green Blue...
Страница 164: ...www keyestudio com 161...
Страница 167: ...www keyestudio com 164 Upload the Code What You Should See...
Страница 169: ...www keyestudio com 166 Open the serial monitor and set the baud rate to 9600 it will print out the data...
Страница 170: ...www keyestudio com 167 Controlling Fan Motor Hookup Guide Test Code...
Страница 172: ...www keyestudio com 169...
Страница 173: ...www keyestudio com 170...
Страница 176: ...www keyestudio com 173 What You Should See...
Страница 178: ...www keyestudio com 175 Controlling LED Lights Hookup Guide Test Code...
Страница 180: ...www keyestudio com 177 Z axis will control the LED light connected to D7...
Страница 181: ...www keyestudio com 178...
Страница 184: ...www keyestudio com 181 What You Should See...
Страница 186: ...www keyestudio com 183...
Страница 187: ...www keyestudio com 184 Controlling RGB Flash Hookup Guide Upload the Code...
Страница 189: ...www keyestudio com 186...
Страница 190: ...www keyestudio com 187...
Страница 195: ...www keyestudio com 192...
Страница 198: ...www keyestudio com 195 What You Should See...
Страница 201: ...www keyestudio com 198 What You Should See Upload success you should see the soil value is showed on the OLED screen...
Страница 202: ...www keyestudio com 199...
Страница 206: ...www keyestudio com 203...
Страница 209: ...www keyestudio com 206...
Страница 213: ...www keyestudio com 210...
Страница 216: ...www keyestudio com 213...
Страница 220: ...www keyestudio com 217 What You Should See...
Страница 224: ...www keyestudio com 221...
Страница 226: ...www keyestudio com 223...
Страница 228: ...www keyestudio com 225 Connect It Up Upload the Code...
Страница 231: ...www keyestudio com 228 RJ11 cable Upload the Code What You Should See...