Keyestudio EASY PLUG Ultimate Starter Kit Manual Download Page 73

70

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

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

Summary of Contents for EASY PLUG Ultimate Starter Kit

Page 1: ...keyestudio www keyestudio com EASY PLUG Ultimate Starter Kit For Arduino STEM EDU...

Page 2: ...Arduino Software 62 5 Let s Get Started With Your Projects 73 Project 1 Hello World 73 How To Get Started With Mixly Projects 81 Project 2 LED Light 90 Project 3 Knocking 102 Project 4 How much light...

Page 3: ...Project 20 What s the temperature 215 Project 21 What time is it 224 Project 22 I receive a signal 227 6 Resources 234 7 Our Tutorial 235 8 About keyestudio 235 9 Customer Service 236...

Page 4: ...ing with electronics and coding The Starter Kit includes a user guide with 22 tutorials that will walk you through the basics up to complex projects Although you have a few or even no electronics rela...

Page 5: ...plug Red LED Module 1 5 EASY plug Passive Buzzer Module 1 6 EASY plug Photocell Sensor 1 7 EASY plug Soil Humidity Sensor 1 8 EASY plug Analog Gas Sensor 1 9 EASY plug TEMT6000 Ambient Light Sensor 1...

Page 6: ...or 1 13 EASY plug Flame Sensor Module 1 14 EASY plug PIR Motion Sensor 1 15 EASY plug DS18B20 Temperature Sensor 1 16 EASY plug IR Receiver Module 1 17 EASY plug Infrared Obstacle Detector Sensor 1 18...

Page 7: ...e 1 21 EASY plug OLED Module 1 22 EASY plug L9110 Fan Motor Module 1 23 EASY plug Servo Module 1 24 Keyestudio 9G blue Micro Servo 90 1 25 EASY plug 2812 2x2 full color RGB Module 1 26 200mm blue RJ11...

Page 8: ...5 28 USB cable 1...

Page 9: ...pment a complete support ecosystem for creative e education a stage for maker educators to realize their dreams Although there is an Ardublock graphical programming software launched by Arduino offici...

Page 10: ...7...

Page 11: ...lete the code compile upload save and manage It support four remove methods drag it left out code window or drag to Recycle Bin delete key or right click to delete block It supports four languages Eng...

Page 12: ...9 2 2 In Out Block...

Page 13: ...Output set the HIGH or LOW output for IO pins 3 Returns a digital value of a specific Port Digital IO Read Pin generally used to read the HIGH or LOW level detected by Digital sensor 4 Write analog va...

Page 14: ...generally used to read the Analog value detected by Analog sensor 6 External Interrupts function with three trigger interrupt modes RISING FALLING CHANGE 7 Detachs interrupt to a specific Port Turn o...

Page 15: ...pin within a time set in timeout 11 Set the ShiftOut data pin clock pin Output the data needed from the bitOrder MSBFIRST or LSBFIRST Most Significant Bit First or Least Significant Bit First Generall...

Page 16: ...13 For example Connect your Arduino Uno board then follow the steps below to light the Pin13 led on Arduino UNO...

Page 17: ...14 2 3 Control Block...

Page 18: ...n only once 2 End the program means the program will stop running when use this block 3 Delay function click to select ms or us pause the program for the amount of time in milliseconds specified as pa...

Page 19: ...tement You can click the blue gear icon to select the else if block or else block 5 switch function You can click the blue gear icon to select the case block or default block used to evaluate several...

Page 20: ...A while loop statement 8 break function used to exit from the containing loop 9 millis function returns the system running time since the program started The unit can be ms milliseconds or s microsec...

Page 21: ...18 10 Timer interrupt function that is set a trigger interrupt for the amount of time in milliseconds specified as parameter 11 Timer interrupt start block 12 Timer interrupt stop block...

Page 22: ...19 For example Compile and upload the program below to your Arduino board you should see Pin13 LED on Arduino UNO continue to flash with an interval of 1s equal to 1000ms...

Page 23: ...20 2 4 Math Block...

Page 24: ...CON DEFINITION 1 A number 2 Click to select the Arithmetic Operators addition subtraction x Multiplication division remainder bitwise xor 3 Click to select the bitwise end l bitwise or bitshift left b...

Page 25: ...the Round Ceil Floor abs sq sqrt Round Returns the integer part a number using around Ceil Returns the integer part a number using ceil Floor Returns the integer part a number using floor abs Return...

Page 26: ...the min returns the smaller number 7 Initialize the random seed 8 Return a random integer between the two specified limits inclusive 9 Constrain a number to be between the specified limits inclusive g...

Page 27: ...24 10 Map a number from the first interval to the second interval For instance potentiometer controlled servo map the range of potentiometer 0 1023 to the angle of servo 0 180...

Page 28: ...25 2 5 Text Block...

Page 29: ...ine of text 2 A character 3 Creates a piece of text by joining together two piece of text Here Hello join Mixly equals HelloMixly 4 Converts a string into an integer or an float 5 Returns the char cor...

Page 30: ...the length of a string 9 Output the char of a string the char at 0 of hello is h 10 The first string equals or startsWith or endsWith the second string returns 1 otherwise returns 0 if equals both st...

Page 31: ...28 2 6 List Block...

Page 32: ...29 NO BLOCK ICON DEFINITION 1 Create a list with any number of items 2 Creats a list from a text int mylist 0 0 0 3 Returns the length of a list...

Page 33: ...30 4 Returns the value of at the specified position in a list 5 Sets the value of at the specified position in a list Set the first item in mylist to another item...

Page 34: ...31 2 7 Logic Block...

Page 35: ...nputs are not equal to each other Return true if the first input is smaller than the second input Return true if the first input is smaller than or equal to the second input Return true if the first i...

Page 36: ...urn true if at least one of the inputs is true 3 Returns true if the input is false Returns false if the input is true 4 Returns either true or false 5 Returns null 6 If the first number is true the s...

Page 37: ...34 2 8 Variable Block...

Page 38: ...at boolean byte char string 2 Define the data types For example LED breath You need an Arduino Uno and one LED module Connect the control pin of LED module to Pin 3 of Uno board or other pins with tha...

Page 39: ...36...

Page 40: ...37 2 9 SerialPort Block...

Page 41: ...NITION 1 Set the serial buad rate to 9600 2 Write the specified number text or other value 3 Print the specified number text or other value on monitor 4 Print the specified number text or other value...

Page 42: ...rns true otherwise returns false generally used in Bluetooth communication 7 Returns a string in serial port 8 A string read from serial port to a string variable pause until read the specified charac...

Page 43: ...everal serial ports 12 Event function trigger by serial port data that is serial port is ready to call this function equal to an interrupt function For example serial communication Done uploading the...

Page 44: ...41...

Page 45: ...42...

Page 46: ...43 2 10 Communicate Block...

Page 47: ...44 NO BLOCK ICON DEFINITION 1 Do something when receiving infrared signals 2 Sends infrared signals of the specified types IR transmitter sends the data here use the libraries only PIN3 port...

Page 48: ...t and IR frequency For example You need an Arduino Uno board an IR receiver module and an IR remote control Connect the signal pin of IR receiver to Digital pin 3 of Uno board then upload the code and...

Page 49: ...46...

Page 50: ...47 2 11 Sensor Block...

Page 51: ...the distance of ultrasonic sensor measured unit cm 2 Set the control pin of DHT11 temperature and humidity sensor Returns the temperature or humidity of DHT 11 sensor measured 3 Set the pin of digital...

Page 52: ...r example ultrasonic ranging Connect the Trig pin of ultrasonic sensor to Digital 1 of Uno Echo pin to D2 then upload the code and open the monitor you should see the distance value updating once per...

Page 53: ...50 2 12 Actuator Block...

Page 54: ...o pin Moves between 0 180 degree Delay time for servo to rotate 2 Returns that degree with the last servo move Read the degree of servo connected to IO pin set 3 Set the pin and specified frequency fo...

Page 55: ...52 For example Connect the signal end of servo to Digital 0 of Uno then upload the code below servo will rotate 90 degrees Note Delay 100ms is the time required for servo to move...

Page 56: ...53 2 13 Monitor Block...

Page 57: ...NITION 1 Set the IIC LCD1602 address 2 Input the value on LCD line 1 and line 2 from left to right 3 Set the row and column of LCD to print the char 4 Clear the LCD screen 5 Set the control pin and th...

Page 58: ...nd brightness 7 Set the control pin light number and color click to select the color 8 Clear the data namely turn off digital display 9 Four digit display displaying abcd 10 Turn on or off the digitdi...

Page 59: ...SCL A5 of Arduino Uno to SDA and SCL pins of IIC LCD1602 then set the address of your LCD1602 screen the LCD address we used here is 0x27 Then upload the code LCD screen has two lines you should see t...

Page 60: ...57 2 14 Functions Block...

Page 61: ...reates a function with no output Click the blue icon to set the procedure parameter no return value 2 Creates a function with an output Click the blue icon to set the procedure parameter with return v...

Page 62: ...an example code for line tracking car We use three tracking modules left to D6 middle to D7 right to D8 of course you need a tracking car to test it First edit the forward backward turn left turn rig...

Page 63: ...60...

Page 64: ...61...

Page 65: ...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 lin...

Page 66: ...n see the version of development software for different operating systems So ARDUINO has a rather powerful compatibility You should download the software that is compatible with the operating system o...

Page 67: ...en the ZIP file is downloaded well to your computer you can directly unzip the file and then click the icon of ARDUINO program to start it Installing Arduino Windows Install Arduino with the exe Insta...

Page 68: ...65 Click I Agree to see the following interface Click Next Pop up the interface below You can press Browse to choose an installation path or directly type in the...

Page 69: ...66 directory you want Then click Install to initiate installation Wait for the installing process if appear the interface of Window Security just continue to click Install to finish the installation...

Page 70: ...7 All right up to now you have completed the Arduino setup The following icon will appear on your PC desktop Double click the icon of Arduino to enter the desired development environment shown as belo...

Page 71: ...listed below Verify Compile Check the code for errors Upload Upload the current code to the Arduino New Create a new blank code Open Show a list of codees Save Save the current code Serial Monitor Di...

Page 72: ...vers 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 Ardui...

Page 73: ...option Update Driver Software shown as the figure below It will then be prompted to either Search Automatically for updated driver software or Browse my computer for driver software Shown as below In...

Page 74: ...1 After that select the option to browse and navigate to the drivers folder of Arduino installation Click Next and you may get a security warning if so allow the software to be installed Shown as belo...

Page 75: ...nstalled you will get a confirmation message Installation completed click Close Up to now the driver is installed well Then you can right click Computer Properties Device manager you should see the de...

Page 76: ...e 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...

Page 77: ...ntrol board to your computer via a micro USB cable 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...

Page 78: ...y 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 Select your serial port Select the...

Page 79: ...76 Note to avoid errors the COM Port should keep the same as the Ports shown on Device Manager...

Page 80: ...77...

Page 81: ...78 Then click verify button to check the errors If compiling successfully the message Done compiling will appear in the status bar...

Page 82: ...click the Upload button to upload the code If the upload is successful the message Done uploading will appear in the status bar Open the Serial Monitor After that click the monitor button to open the...

Page 83: ...Hello World is showed on the monitor and TX led blink once Congrats Your first simple program is complete Note In this project we take Arduino code as an example to show Hello World But in the followi...

Page 84: ...ort the Library 1 Begin with the Mixly projects the first step you should import the corresponding library Open the Mixly 0 998 software click Import Shown below 2 Open the folder we provided you can...

Page 85: ...82...

Page 86: ...the custom library successfully you should see it on the Mixly blocks interface Shown below Start with Mixly Project Saying Hello World 1 Hookup Guide Connect the control board to your computer via a...

Page 87: ...84 2 Open the Program Click Open to open your first program Hello World Follow the steps below...

Page 88: ...85 Or you can double click or directly drag the program to open Hello World Then you...

Page 89: ...86 should see the Blocks code shown below...

Page 90: ...87 After that select the proper Board and Port Upload the code to your EASY Plug control board...

Page 91: ...the monitor and set the baud rate to 9600 you should be able to see the Hello World is showed on the monitor Congrats You make it 4 Check Arduino Code What more you can also click to check the Arduin...

Page 92: ...89 Is it more easy and simple to play the Mixly projects Try your first Mixly blocks projects right now Begin with the following projects to motivate your creations...

Page 93: ...ntrol board 1 EASY plug LED Module 3 RJ11 cable 1 USB cable 1 Component Introduction EASY plug LED Module The LED light modules have shiny colors ideal for Arduino starters It can be easily connected...

Page 94: ...LED Upload the Code Below is an example code for lighting up an LED What You Should See The LED is turned on If it doesn t make sure you have assembled the circuit correctly and verified and uploaded...

Page 95: ...92 Example 2 LED Blink Test Code What You Should See...

Page 96: ...93 The LED will flash on for one second then blink off for one second If it doesn t make sure you have assembled the circuit correctly and verified...

Page 97: ...make the LED flash on and off more quickly or slowly you can modify the Delay time here Thank you Enjoy the following programming Example 3 LED Breath Here do you know how to connect the LED module C...

Page 98: ...95 Little Knowledge Here no connection diagram which port should you choose Yeah Pin 5 See the code you can modify the connection pin here...

Page 99: ...Should See The LED gradually becomes brighter for one second then gradually dimming for one second If it doesn t make sure you have assembled the circuit correctly and verified and uploaded the code t...

Page 100: ...97 Example 4 Brighten and Dim Hookup Guide Connect the three EASY Plug LED modules to control board using RJ11 cables Upload the Code Below is an example code for three LED modules experiment...

Page 101: ...98...

Page 102: ...You Should See The three LEDs are gradually brighter then gradually off one by one circularly If it doesn t make sure you have assembled the circuit correctly and verified and uploaded the code to you...

Page 103: ...100...

Page 104: ...e successfully but LED still not lights up Make sure your board and LED module are connected correctly Program Not Uploading This happens sometimes the most likely case is a confused Board and serial...

Page 105: ...vibration switch which is an inductive proximity switch It is an electronic switch that transmits the sensing result to the circuit device and induces the circuit to start working when the vibration f...

Page 106: ...www keyestudio com 103 Upload the Code...

Page 107: ...www keyestudio com 104 What You Should See Done uploading the code if knock the module hard the led will be turned on...

Page 108: ...www keyestudio com 105...

Page 109: ...r A photoresistor or light dependent resistor LDR or photocell is a light controlled variable resistor The principal is very simple The resistance of photoresistor varies with incident light intensity...

Page 110: ...e detector circuits intelligent switch design and light and dark activated switching circuits Interface Easy plug Sensor type analog Working voltage 5V Connect It Up Connect the EASY Plug photocell se...

Page 111: ...www keyestudio com 108 What You Should See Done uploading the code you should see the analog value change in accordance with how much light your photoresistor is sensing...

Page 112: ...www keyestudio com 109...

Page 113: ...www keyestudio com 110 Controlling light brightness Hookup Guide Connect the EASY Plug photocell sensor and LED module to control board using RJ11 cable Test Code...

Page 114: ...www keyestudio com 111 What You Should See Done uploading the code you should see the brightness of LED change in accordance with how much light your photoresistor is sensing...

Page 115: ...www keyestudio com 112...

Page 116: ...troduction EASY plug Passive Buzzer Module We can use Arduino to make many interactive works of which the most commonly used is acoustic optic display The buzzer we introduced here is a passive buzzer...

Page 117: ...www keyestudio com 114 Upload the Code...

Page 118: ...www keyestudio com 115 What You Should See Done uploading the code you should be able to hear the buzzer module make a small click...

Page 119: ...ch Sensor You can find touch sensors mostly on electronic device Instead of buttons upgrade your Arduino project with our new version touch sensor and make it cool This EASY Plug digital capacitive to...

Page 120: ...www keyestudio com 117 Supply Voltage 3 3V to 5V Sensor type Digital Function range 0 to 100 Connect It Up Connect the EASY Plug touch sensor to control board using an RJ11 cable Upload the Code...

Page 121: ...www keyestudio com 118 What You Should See Done uploading the code when you touch the sensor the led on the sensor will light up...

Page 122: ...www keyestudio com 119 Open the monitor it will print out the value read from the touch sensor...

Page 123: ...www keyestudio com 120 Simulating Table Lamp Test Code What You Should See Powered up and upload well the code press down the button LED light is...

Page 124: ...turned on it will not be off when release the button But if press the button once again LED will be turned off It seems like your table lamp Open the monitor you should be able to see how many times d...

Page 125: ...www keyestudio com 122...

Page 126: ...oading This happens sometimes the most likely case is a confused Board and serial port you should firstly select your proper board and port If it doesn t make sure you have assembled the circuit corre...

Page 127: ...odule The fan motor module uses the L9110 driver to control the forward and reverse rotation of propeller which can easily blow out the fire of a lighter 20cm away It should be connected to the double...

Page 128: ...www keyestudio com 125 Connect It Up Connect the EASY Plug fan motor module to control board using an RJ11 cable Upload the Code...

Page 129: ...www keyestudio com 126 What You Should See Done uploading the code the motor fan will rotate forward for 3 seconds and then rotate reverse for 3 seconds repeatedly...

Page 130: ...RJ11 cable 2 USB cable 1 Component Introduction EASY plug Flame Sensor The flame sensor can be used to detect fire or other wavelength at 760nm 1100nm light In the fire fighting robot game the flame...

Page 131: ...www keyestudio com 128 Connect It Up Connect the EASY Plug Flame Sensor and LED module to control board using RJ11 cables Upload the Code...

Page 132: ...o com 129 What You Should See Done uploading the code put a lighter close to the flame sensor Once the sensor detects the flame the led lights up If isn t you are able to adjust the sensitivity by a p...

Page 133: ...www keyestudio com 130 Little Knowledge You are able to adjust the sensitivity by a blue potentiometer on the sensor...

Page 134: ...www keyestudio com 131 Simulating Fire Extinguisher Let s go into an interesting project When detecting the flame by flame sensor the fan motor will rotate to blow out the fire Hookup Guide Test Code...

Page 135: ...www keyestudio com 132 What You Should See Done uploading the code put a lighter close to the flame sensor Once the sensor detects the flame you should see the fan motor run...

Page 136: ...Introduction EASY plug Obstacle Avoidance Sensor Infrared obstacle avoidance sensor is equipped with distance adjustment function and is especially designed for wheeled robots This sensor has strong...

Page 137: ...line count and black and white line tracking and many other occasions Working voltage DC 3 3V 5V Working current 20mA Working temperature 10 to 50 Detection distance 2 40cm Output signal TTL voltage E...

Page 138: ...www keyestudio com 135 Upload the Code What You Should See...

Page 139: ...www keyestudio com 136 Done uploading the code when the sensor detects an obstacle the led is turned on...

Page 140: ...yestudio com 137 Controlling Motor In the previous section we use the obstacle detector sensor to control the LED on and off Now let s try another play controlling the motor rotating Hookup Guide Test...

Page 141: ...www keyestudio com 138 What You Should See Done uploading the code when the sensor detects an obstacle the fan motor rotates Otherwise fan motor stops...

Page 142: ...m 139 Troubleshooting Compiling Fails This happens sometimes the most likely case is a library file not added You should be sure that all the libraries are added to the libraries directory of Arduino...

Page 143: ...www keyestudio com 140 Program Not Uploading This happens sometimes the most likely case is a confused Board and serial port you should firstly select your proper board and port...

Page 144: ...the Micro Servo and EASY PLUG control board to do some experiments you need to use the EASY plug Servo extension module The EASY plug Servo module is extended into Registered Jack so you can connect i...

Page 145: ...ay choose to attach any mount you wish for the circuit It will serve as a visual aid making it easier to see the servo spin The rotation angle of servo is controlled by regulating the duty cycle of th...

Page 146: ...DC 4 8V 220 20mA DC 6V Stop torque 1 1 0 01kg cm DC 4 8V 1 3 0 1kg cm DC 6V Stop current 600 30mA DC 4 8V 750 30mA DC 6V Standby current 4 1mA DC 4 8V 4 1mA DC 6V Operation temperature 10 50 Save tem...

Page 147: ...www keyestudio com 144 Upload the Code...

Page 148: ...www keyestudio com 145 What You Should See...

Page 149: ...www keyestudio com 146 After uploading the code open the serial monitor enter the number 1 to 9 and click Send it will control the servo motor rotate at a certain angle...

Page 150: ...www keyestudio com 147 Rotating back and forth Complete the above project you can also upload the code below to control the servo motor rotating back and forth at a certain angle Test Code...

Page 151: ...er Module The EASY plug slide potentiometer uses high quality sliding appliances for stable and reliable performance It is a dual analog output that outputs a 0 VCC analog voltage signal The module pi...

Page 152: ...www keyestudio com 149 Connect It Up Connect the EASY Plug Slide Potentiometer module to control board using an RJ11 cable Upload the Code...

Page 153: ...www keyestudio com 150 What You Should See...

Page 154: ...w keyestudio com 151 After uploading the code open the serial monitor and set the baud rate to 9600 you should be able to see the analog value of analog pin A0 If slide the slider the value will chang...

Page 155: ...www keyestudio com 152 Controlling LED Brightness Except from reading the analog value of slide potentiometer you are able to use the slide potentiometer to control the brightness of LED Hookup Guide...

Page 156: ...www keyestudio com 153 Test Code What You Should See After uploading the code slide the potentiometer the brightness of LED will change...

Page 157: ...www keyestudio com 154...

Page 158: ...www keyestudio com 155 Controlling Servo Angle Hookup Guide Test Code...

Page 159: ...www keyestudio com 156 What You Should See After uploading the code slide the potentiometer the servo motor will rotate to a certain angle...

Page 160: ...ame appearance as a 5050 LED bead and each component is a pixel point The pixel point includes an intelligent digital interface data latch signal shaping and amplifying driving circuit as well as a hi...

Page 161: ...ection and energy saving high brightness wide scattering angle good consistency ultra low power long life and so on Specifications Operating Voltage DC5V Power 0 1W Light Source SMD 5050 RGB IC model...

Page 162: ...www keyestudio com 159 Upload the Code What You Should See...

Page 163: ...www keyestudio com 160 After uploading the code you should see the 4 RGB LEDs flash in different colors Red Green Blue...

Page 164: ...www keyestudio com 161...

Page 165: ...11 cable 3 USB cable 1 Component Introduction EASY plug PIR Motion Sensor PIR stands for Pyroelectric Infrared many times they are also referred as Passive Infrared sensors This is because their princ...

Page 166: ...Maximum 6V Working Current 15uA Working Temperature 20 85 Output Voltage High 3V Low 0V Output Delay Time High Level About 2 3 to 3 Seconds Detection angle 100 Detection distance 7 meters Pin limit c...

Page 167: ...www keyestudio com 164 Upload the Code What You Should See...

Page 168: ...www keyestudio com 165 Done uploading the code if the sensor detects someone moving nearby you should see the LED is turned on...

Page 169: ...www keyestudio com 166 Open the serial monitor and set the baud rate to 9600 it will print out the data...

Page 170: ...www keyestudio com 167 Controlling Fan Motor Hookup Guide Test Code...

Page 171: ...keyestudio com 168 What You Should See If the sensor detects someone moving nearby you should see the LED is turned on and the fan motor is rotating Otherwise LED is turned off and motor stops rotati...

Page 172: ...www keyestudio com 169...

Page 173: ...www keyestudio com 170...

Page 174: ...plug LED module 3 RJ11 cable 4 USB cable 1 Component Introduction EASY plug Joystick Module Lots of robot projects need joystick This module provides an affordable solution By simply connecting to two...

Page 175: ...keyestudio com 172 Connect It Up Connect the EASY Plug Joystick module to control board using an RJ11 cable Note X axis is connected to A6 Y axis is connected to A7 Z axis is default by D2 Upload the...

Page 176: ...www keyestudio com 173 What You Should See...

Page 177: ...www keyestudio com 174 Done uploading the code open the serial monitor and set the baud rate to 9600 If push the Joystick button towards different direction you should get the different value...

Page 178: ...www keyestudio com 175 Controlling LED Lights Hookup Guide Test Code...

Page 179: ...What You Should See Upload the code successfully push the Joystick X axis to downward the LED light connected to D5 will become off If push the Joystick Y axis to leftward the LED light connected to...

Page 180: ...www keyestudio com 177 Z axis will control the LED light connected to D7...

Page 181: ...www keyestudio com 178...

Page 182: ...00 Ambient Light Sensor Light sensors are probably one of the most common sensors in life They can be found in your laptop phone or home lighting system A light sensor measures the level of light in a...

Page 183: ...180 Supply Voltage 5V DC 50mA Interface Analog Input Near Human Eye Spectral Response and Very Low IR Sensitivity Connect It Up Connect the EASY Plug TEMT6000 sensor to control board using an RJ11 cab...

Page 184: ...www keyestudio com 181 What You Should See...

Page 185: ...182 Done uploading the code open the serial monitor and set the baud rate to 9600 you should be able to see the printed analog value When the sensor detects different light intensity the brightness o...

Page 186: ...www keyestudio com 183...

Page 187: ...www keyestudio com 184 Controlling RGB Flash Hookup Guide Upload the Code...

Page 188: ...ould See Upload the code successfully when the measured light intensity is less than 50 RGB lights are turned on Light 1 flashes in red light 2 flashes in green light 3 flashes in blue light 4 flashes...

Page 189: ...www keyestudio com 186...

Page 190: ...www keyestudio com 187...

Page 191: ...for organic light emitting diode On the microscopic level an OLED display is a matrix of organic LEDs that light up when they emit energy Our EASY Plug OLED displays are perfect when you need a small...

Page 192: ...e phones and portable digital media players car radios and digital cameras among others Specifications 0 96 diagonal OLED Pixels 128 64 Color Depth Monochrome White 5V power Brightness cd m2 100 Typ C...

Page 193: ...www keyestudio com 190 What You Should See Done uploading the code you should be able to see the text is displayed on the OLED screen...

Page 194: ...s the most likely case is a confused Board and serial port you should firstly select your proper board and port Or make sure you have placed all the libraries below into arduino 1 8 5 libraries folder...

Page 195: ...www keyestudio com 192...

Page 196: ...e amount of moisture present in the soil surrounding it It s an ideal for monitoring an urban garden or your pet plant s water level This soil moisture sensor uses the two probes to pass current throu...

Page 197: ...Easy plug Power Supply 3 3V or 5V Working Current 20mA Output Voltage 0 2 3V Sensor type Analog output Surface finish immersion tin Connect It Up Connect the EASY Plug soil sensor to control board usi...

Page 198: ...www keyestudio com 195 What You Should See...

Page 199: ...com 196 Done uploading the code open the serial monitor and set the baud rate to 9600 you can see the analog value is 0 When place the two probes of moisture sensor into your plant soil you can see th...

Page 200: ...www keyestudio com 197 Adding OLED Display If you want to display the soil moisture value more convenient you can add OLED screen Hookup Guide Test Code...

Page 201: ...www keyestudio com 198 What You Should See Upload success you should see the soil value is showed on the OLED screen...

Page 202: ...www keyestudio com 199...

Page 203: ...Y plug Analog Gas Sensor This analog gas sensor MQ2 is used in gas leakage detecting equipment in consumer electronics and industrial markets This sensor is suitable for detecting LPG I butane propane...

Page 204: ...www keyestudio com 201 Connect It Up Connect the EASY Plug analog gas sensor to control board using an RJ11 cable Upload the Code...

Page 205: ...www keyestudio com 202 What You Should See Done uploading the test code open the serial monitor and set the baud rate to 9600 you should be able to see the analog value...

Page 206: ...www keyestudio com 203...

Page 207: ...www keyestudio com 204 Adding OLED Display If you want to display the gas analog value more convenient you can add OLED screen Hookup Guide Test Code...

Page 208: ...www keyestudio com 205 What You Should See Upload success you should be able to see the analog value is showed on the OLED screen...

Page 209: ...www keyestudio com 206...

Page 210: ...ion EASY plug SR01 Ultrasonic Module This EASY Plug SR01 Ultrasonic module includes ultrasonic transmitter receiver and corresponding control circuit It should be connected to the double digital inter...

Page 211: ...quency 40KHz Max Range 3 5m Min Range 2cm Measuring Angle 15 degree Trigger Input Signal 10 S TTL pulse Interface double digital Connect It Up Connect the EASY Plug Ultrasonic module to control board...

Page 212: ...keyestudio com 209 What You Should See Done uploading the code open the serial monitor and set the baud rate to 9600 You should see the measured distance between the ultrasonic sensor and front obsta...

Page 213: ...www keyestudio com 210...

Page 214: ...www keyestudio com 211 Turn on Light When the measured distance between an obstacle and ultrasonic sensor is less than a certain range turn the led on Hookup Guide...

Page 215: ...www keyestudio com 212 Test Code What You Should See Upload success when the measured distance is less than 30 the LED will be turned on Otherwise the LED is turned off...

Page 216: ...www keyestudio com 213...

Page 217: ...www keyestudio com 214 Little Knowledge You can modify the setting distance in the code here so that turn on or off led according to the obstacle distance measured by ultrasonic sensor...

Page 218: ...duction EASY plug DS18B20 Temperature Sensor The DS18B20 temperature sensor is exactly what it sounds like a sensor used to measure ambient temperature The usable temperature ranges from 55 C to 125 C...

Page 219: ...estudio com 216 Supply Voltage 3 3V to 5V Temperature range 55 C to 125 C Interface Digital Connect It Up Connect the EASY Plug DS18B20 temperature sensor to control board using an RJ11 cable Upload t...

Page 220: ...www keyestudio com 217 What You Should See...

Page 221: ...www keyestudio com 218 Done uploading the code open the serial monitor on the window will print out the Celsius and Fahrenheit value...

Page 222: ...www keyestudio com 219 OLED Display Hookup Guide Connect the EASY Plug DS18B20 temperature sensor and OLED module to control board using RJ11 cables Test Code...

Page 223: ...www keyestudio com 220 What You Should See Upload success you should be able to see the Celsius and Fahrenheit value are printed out on the OLED screen...

Page 224: ...www keyestudio com 221...

Page 225: ...ssfully but LED still not lights up Make sure your board and OLED module are connected correctly Upload Failed This happens sometimes the most likely case is a confused Board and serial port you shoul...

Page 226: ...www keyestudio com 223...

Page 227: ...ntegrated temperature compensated crystal oscillator TCXO and crystal A real time clock RTC is a computer clock most often in the form of an integrated circuit that keeps track of the current time It...

Page 228: ...www keyestudio com 225 Connect It Up Upload the Code...

Page 229: ...www keyestudio com 226 What You Should See Done uploading the code open the serial monitor and set the baud rate to 9600 you should be able to see the date and the time...

Page 230: ...r Module 1 EASY plug LED Module 1 RJ11 cable 2 USB cable 1 Component Introduction EASY plug IR Receiver Module Infrared receiver is a component with functions of reception amplification and demodulati...

Page 231: ...www keyestudio com 228 RJ11 cable Upload the Code What You Should See...

Page 232: ...one uploading the code when aiming at the IR receiver press down the key on an IR remote controller you should see the key decoding is displayed on the serial monitor If long press the key it will app...

Page 233: ...www keyestudio com 230 Little Knowledge This test can record all your remote control key decoding So you can apply them to the next experiment to control LED lights...

Page 234: ...www keyestudio com 231 Remote Controlled Light Hookup Guide Connect the EASY Plug Infrared receiver module and LED module to control board using RJ11 cables Test Code...

Page 235: ...www keyestudio com 232 What You Should See Upload success press the key 1 on your remote controller LED lights up Then press the key 2 LED is turned off...

Page 236: ...ww keyestudio com 233 Little Knowledge If you want to change another remote control key you should be able to change your remote key decoding Shown below After that upload the code again and have a tr...

Page 237: ...o WIKI Website http wiki keyestudio com User Guide Download https drive google com open id 18LIx8Tp8oUYidKidEuqbhHS_EktBGEBp Download all the information here https drive google com open id 1yuif8ccIu...

Page 238: ...velopment production and marketing Keyestudio is a best selling brand owned by KEYES Corporation our product lines range from Arduino boards shields sensor modules Raspberry Pi micro bit extension boa...

Page 239: ...APU90DTITU5DG JP Amazon storefront http www amazon jp shops AE9VWCCXQIC6J 9 Customer Service As a continuous and fast growing technology company we keep striving our best to offer you excellent produc...

Reviews: