摘要
该智能预警设备以单片机arduino UNo为控制器,采用超声波技术来测量距离.完成了智能报警系统的设计。系统设计中用arduinouNo单片机、HC-SR04超声测距传感器,蜂鸣器等完成系统的硬件设计;以arduino IDE为软件开发环境完成系统的程序设计。系统实现了报警距离的自由设定,坐姿进入报警范围自动报警、坐时过长自动报警等功能,可以达到对错误坐姿进行预警、防止驼背、脊椎侧弯、保护视力等功能。
We complete d the design of Intelligent Alarm System with the adoption of microcontrollers arduino UNO as the con- troller and the usage of ultrasonic technology to measure the distance.The hardware of the system consists of an arduino UNO mictron,a HC-S1K04 ultrasonic ranging sensor and a buzzer.The programming of system runs in the environment developed from arduino IDE .Users can set the alarm distance at any range.when user' s sitting posture is in the alarm range or user has kept sitting for a long time,it will alarm automatically.Users also can choose the way it alarms as they like.
作者
安蒙蒙
王殊轶
刘智慧
王浴屺
黄倩文
AN Meng-meng, WANG Shu-yi, LIU Zhi-hui, WANG Yu-qi, HUANG Qian-wen (University of Shanghai for Science and Technologw, Shanghai 200093, China)
出处
《电脑知识与技术》
2017年第5期222-224,共3页
Computer Knowledge and Technology
关键词
单片机
超声波测距
报警
程序设计
Single chip
ultrasonic technology to measure the distance
alarm
programming