查看“Microduino-Light”的源代码
←
Microduino-Light
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{Language|Microduino-Light}} {| style="width: 800px;" |- | [[File: Microduino-Light.jpg|400px|thumb|right| Microduino-Light]] Microduino-Light is a light-sensitive brightness detection sensor. The light sensor uses photosensitive resistance to turn optical signal to electrical sensor. Its sensitive wavelength is near the wavelength of the visible light, including infrared and ultraviolet wavelength. Light sensor is not just limited to the detection of light but also can be used as detection component to assemble other sensors. For many non electric power detection, you only need to turn this non electric power into light signal change. ==Features== *Resistance-type light sensor with high flexibility; ==Specification== *Electrical specification **Output: 0~5V analog signal **Operation voltage: 3.0V~5.5V *Tech parameters **Stable resistance value detected at room temperature or under dark environment is called dark resistance and the current here is called dark current. Such as MG41-21 type photosensitive dark resistance is greater than or equal to 0.1M. **Stable resistance value detected at room temperature or under bright environment is called bright resistance and the current here is call bright current. 41-21 type photosensitive bright resistance is smaller than or equal to 1k. *Size **Size of the Sensor: **Size of the Board: **1.27mm-pitch 4Pin interface; *Connection method **Pin description: GND, VCC, signal output and NC(Empty). Note: This input signal is analog signal, which needs analog interface to detect (A0~A7), which can connect to Sensorhub's pin A6/A7,A2/A3 and A0/A1. [[file:mCookie-sensorhub_rule.JPG|thumb|800px|center]] [[File: Microduino-Light_rule1.jpg|600px|thumb|center]] ==Document== *Schematic: '''[[File: Microduino_Light.Zip]]''' ==Development== ===Preparation=== *Make sure you build Microduino development environment. If not, please refer to: [[Microduino Getting started]] *Choose the core module **1. Adopt [[Microduino-CoreUSB]] or [[mCookie-CoreUSB]] as the core board. **2.Adopt [[Microduino-Core]] or [[Microduino-Core+]] as the core board and you also need [[Microduino-USBTTL]] to work with the core for program download. ===Program=== *Open " AnalogInput " program in the libraries. [[file:mCookie-AnalogInput.JPG|thumb|800px|center]] *int sensorPin = A0; Define input pin as the analog pin A0. *sensorValue = analogRead(sensorPin); Used for reading pin's value. ===Hardware Buildup=== *Stack all modules, insert the Light sensor into the A0 slot of [[Microduino-Sensorhub]] with the connector. Please refer to: [[Microduino-Sensorhub]] [[file:Microduino-sensorhub_Analog.PNG|thumb|400px|center]] You can refer to: [[mCookie-Hub]] [[file:mCookie-sensorhub_Analog.PNG|thumb|400px|center]] *Connect the core board, Sensorhub and Light sensor to the computer with a USB cable. *Select the right board and COM port, compile and download. Please refer to [[AVR Core: Getting started]] [[file:upload.JPG|thumb|800px|center]] *Select the right port number from Tools→Serial Port in Arduino IDE after compiling, then download the program. *You can open the serial monitor after download, on which the displayed values indicate the current light intensity detected by the sensor. ==Application== You can sense light intensity around you. Microduino-Light is suitable for light intensity detection. ===Project=== * '''[[The Use of Light Sensor]]''' ==Purchase== ==History== ==Pictures== *Front [[file: Microduino-Light-F.JPG|thumb|600px|center|Microduino-Light Front]] *Back [[file: Microduino-Light -b.JPG|thumb|600px|center|Microduino-Light Back]] |}
该页面使用的模板:
模板:Language
(
查看源代码
)
模板:Nmbox
(
查看源代码
)
返回至
Microduino-Light
。
导航菜单
个人工具
创建账户
登录
名字空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
Welcome
首页
创客大赛
大赛详情
3D打印
安装月球车
图形化编程
操控月球车
升级月球车
编程工具下载
软件下载
Arduino
Processing
Mixly
Scratch
模块套件
Microduino 102
mCookie 102
mCookie 202
mCookie 302
IBC
其他
应用套件
四轴飞行器
平衡车
小车CUBE
音乐播放器
刷卡音乐播放器
wifi气象站
彩虹音乐触摸灯
分贝检测仪
迎门汇报
LED点阵时钟
LED点阵屏幕
硬件
mCookie
Sensor
Microduino
MicroWrt
MicroNux
MicroRobot-Core
MicroRobot-CoreESP
ideaBoard
ideaBox
MicroMV
MicroAI
帮助
常见问题
帮助
工具
链入页面
相关更改
特殊页面
页面信息