
www.keyestudio.com
179
Project 15: Ambient Light
Overview
This project we will test the ambient light. You can use analog reading to
read the data from this sensor.
Component Required:
EASY plug control board*1
EASY plug TEMT6000 Light Sensor *1
EASY plug LED module *1
EASY plug RGB module *1
RJ11 cable *2
USB cable*1
Component Introduction:
EASY plug TEMT6000 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
room or ambient light in a space.
This EASY plug TEMT6000 light sensor uses a special ambient light detector
(TEMT6000) with spectral response that closely emulates the human eye.
It does react well to very small changes in a wide range of brightness,
however, it does not react well to IR or UV light.
The sensor can help you to to detect the light density.
Содержание 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...