查看“Microduino Rain sensor usage”的源代码
←
Microduino Rain sensor usage
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{Language | Microduino 雨滴传感器使用}} {| style="width: 800px;" |- | ==Objective== This tutorial will teach you how to use the rain sensor. ==Equipment== *'''[[Microduino-Core]]''' *'''[[Microduino-FT232R]]''' *'''[[Microduino-Cube-S1]]''' *'''[[Microduino-OLED]]''' *Other equipment **USB cable one **Jumper several **Rain sensor one ==Rain sensor== Introduction: *Voltage:5V *Power indictor, output LED indicator. *TTL ouput: TTL output signal for low level effectively. Drive power is about 100ma, can driven relay, buzzer, small fan, and so on directly . *Sensitivity can be adjusted through the potentiometer *Raindrops board and control board are separated, convenient to wire leads. *The raindrops plates has large area, and more conducive to detect the rain. *The board with a hole and convenient installation. *Control board size is 3*1.6MM *Raindrops board size is 5.4*4.0MM Usage introduction: *Connect the 5V power, the power LED indicator light. If no rain on raindrop board, DO port outputs high voltage, then switch LED off, otherwise, D0 port outputs low voltage, switch LED on. *Remove the rain on raindrop board, system will recover to original state and output high voltage. *AO analog output, can be connected to the microcontroller AD port to detect the rainfall. *DO TTL output also can be connected to microcontroller to defect the rain. [[File:雨滴传感器.jpg|600px|center|thumb]] ==Schematic== [[File:雨滴传感器原理图.jpg|600px|center|thumb]] ==Program== https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_Sensor/rainDropSensor The program is very simple. Read the A0 analog value directly, the rain sensor will generatea voltage when hit the rain. ==Debug== Step 1:Stack all Microduino module and sensor, as follows: [[File:雨滴传感器连接图.jpg|600px|center|thumb]] Step 2:Compile the program and download it. Step 3:Drop two drops of water, the OLED displayed value will be changed. ==Result== OLED displays value will be changed with the rainfall. ==Video== http://v.youku.com/v_show/id_XNzAxMTA2MDAw.html |}
该页面使用的模板:
模板:Language
(
查看源代码
)
模板:Nmbox
(
查看源代码
)
返回至
Microduino Rain sensor usage
。
导航菜单
个人工具
创建账户
登录
名字空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
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
帮助
常见问题
帮助
工具
链入页面
相关更改
特殊页面
页面信息