生活中许多目标的高度和水平距离需要进行测量。目前主要的测量方法,仍以传统的皮尺丈量为主,测量效率不高,有时还很不方便,没有技术成熟的数字式测高测距产品。以基本的数学方法为理论依据,利用遥控小车做为载体,采用角度传感器测量角度、霍尔传感器测量水平距离等,通过单片机LM3S615进行数据计算,实现了对待测目标物体的高度、水平距离等数据的快速、精确和数字式的测量,高度测量精度可达99.06%,水平测量精度则可达98.06%。 Abstract: In our lives, the height and horizontal distance of some goals are needed to be measured. Because the currently used methods are still traditional tape-based measuring methods, and the measuring efficiency is low and inconvenient so some kinds of digital and portable measuring methods or instruments are needed. Based on the basic math theory, this paper designed and manufactured a portable, digital and remote controlled measuring mobile small vehicle, which assembled with angle measuring sensor for angle measurement and Hall sensor for horizontal distance measuring. MCU LM3S615 calculated the height and horizontal distance data gotten from these sensors. The measuring process is simple, the measuring results are more accurate and the measuring efficiency is higher than traditional measure instruments. The accuracy of height and distance measurement can reach 99.06% and 98.06%.
上传时间: 2013-10-30
上传用户:jackandlee
提出一种基于凌阳单片机的步进电机加减速的控制方法。采用凌阳科技推出的16位结构工控单片机SPMC75F2413A为控制器,由Allegro公司生产的两相步进电机专用驱动器件SLA7042M构成步进电机的驱动电路,在传统的3段直线加减速控制算法基础上增加至7段S形曲线加减速过程,控制步进电机的启动和停止。实验结果表明,该控制方法克服了直线加减速中不连续、易造成系统冲击的问题,整个系统实现柔性控制,电机启动、停止连续性能提高30%。 Abstract: The method of controlled stepping motor is referred based on SPMC75F2413A MCU, which adopts the 16 knots SPMC75F2413A MCU as the controller. The special-purpose actuation chip SLA7042M of two stepping motor produced by Allegro Corporation constituted to actuation electric circuit. The purpose of increasing to seven section of S shape curve based on the traditional three sections of straight line is to control the start and stop process of stepping motor. The experimental results show that the control method solves easy to pull-out and overshot problems. The overall system realizes flexible control, and the performance of motor start or stop continuity is increased 30%
上传时间: 2013-12-08
上传用户:jiangfire
在深入了解Flash存储器的基础上,采用单片机自动检测存储器无效块。主要通过读取每一块的第1、第2页内容,判断该块的好坏,并给出具体的实现过程,以及部分关键的电路原理图和C语言程序代码。该设计最终实现单片机自动检测Flash坏块的功能,并通过读取ID号检测Flash的性能,同时该设计能够存储和读取1GB数据。 Abstract: On the basis of in-depth understanding the Flash chips,this paper designs a new program which using the SCM to detect the invalid block.Mainly through reading the data of the first and second page to detect the invalid block.Specific implementation procedure was given,and the key circuit schematic diagram and C language program code was introduced.This design achieved the function of using the MCU checks the invalid block finally,and increased the function by reading the ID number of Flash to get the performance of the memory.And the design also can write and read1GB data
上传时间: 2013-10-25
上传用户:taozhihua1314
首先研究CAN总线和SAE J1939协议,提出一种基于MC9S12HZ256微控制器的总线式汽车数字仪表解决方案。详细介绍SAE J1939协议的报文帧格式及应用层协议中发动机相关参数的定义,以及步进电机及其驱动和车速信号的处理方法。该数字仪表系统硬件平台由微处理器和信号采集和信息处理及显示等模块组成。软件设计部分编程实现了对CAN总线和各传感器数据的读取、处理。该系统能够实时反映车辆工况。 Abstract: In this paper,CAN bus and SAE J1939protocol are researched,and a vehicle digital instrument solution based on MC9S12HZ256MCU is proposed.The message frame format and some engine-related parameters’definition in SAE J1939application layer protocol are introduced in detail.Stepper motor and its driver,the methods of speed signal process-ing are also introduced.The hardware platform of vehicle digital instrument is composed by MCU,signal acquisition mod-ule,and signal processing and displaying module.Data receiving and processing from CAN bus and sensors are accom-plished by programming,and vehicle condition can be reflected in real-time.
上传时间: 2013-10-20
上传用户:huannan88
针对盘山路存在的转弯盲区,即在转弯时司机无法得知弯路对面是否有车辆通过,设计一种基于C8051F310的山路转弯预防警示系统。该系统利用一阶滤波算法检测山路转弯时是否有车辆通过。运用该算法可增强系统检测的实时性,提高检测机动车辆的灵敏度,同时大大减少环境温度对检测的干扰。试验表明该系统能够正确指示出在山路转弯时是否有车辆通过,目前该系统已安装在盘山路上,可大大减少事故的发生率。 Abstract: Aiming at passing hilly road,there is a turn blind spot.Motormen usually do not know if the passing of vehicles pass the road.So a system of defending accident on hilly road is designed,which is based on MCU C8051F310.The sys-tem uses the first-order filter algorithm to detect whether there are passing vehicles.This algorithm enhances the real-time detection and improves the sensitivity of detection vehicles.Meanwhile,it reduces the detection interference of environmen-tal temperature.The experimental results show that this system can exactly indicate if there are passing vehicles.At present,the system has been successfully applied to hilly road.The system can greatly decrease accident.
上传时间: 2013-10-10
上传用户:归海惜雪
S3C8-SERIESMCU 三星的SAM8RC系列8位单片机向用户提供了高效快速的CPU,丰富的外围接口,以及各种大小的可编程ROM。 它的地址/数据总线结构和位可编程I/O口为用户提供了一个灵活的编程环境,能够满足不同用户对存储器和I/O口的不同要求。同时,具有可选工作模式的Timer/Counters可支持实时操作。
上传时间: 2014-07-12
上传用户:农药锋6
概述 MC10P22XXY是一款低功耗8位OTP型微控制器单元(MCU),工业级单片机,适合各类电器仪表应用。MC10P22XXY可提供17个通用IO口:强驱动能力带内部上下拉,IO口可提供三态
上传时间: 2013-11-24
上传用户:GHF
介绍了一种基于C8051F020单片机的多路压力测量仪。该测量仪选用电阻应变式压力传感器采集压力信号,并经放大电路处理后送入C8051F020单片机,再由C8051F020单片机内部的A/D转换器将采集到的压力信号进行模数转化,然后分别对数据进行存储和显示。该测量仪能测量6路压力信号,并且各测量点都能单独检测和设置。由于采用了C8051F020单片机,简化了硬件电路,增强了抗干扰能力,使得测量仪具有测量精度高,冲击小等特点。 Abstract: A measurement apparatus for multi-channel pressure based on single chip microcomputer is introduced.It can measure 6 channels signal of the pressure,and the pressure measure points can be detection and located individually.The pressure signal sampling is obtained by resistor stress-type pressure sensors,the digital signals of 6 channels are collected through amplifying and adjustment circuit of pressure signals and internal integrated A/D converter of MCU.Finally,and it realizes the function to store and display data separately.C8051F020 was used to made hardware circuit simple,and it also enhanced the anti-interference ability.It features high precision and little impact.
上传时间: 2013-11-16
上传用户:yare
概述 BM22P02是一款OTP类型低功耗8位通用微控制器(MCU)。可适用于各类简单功能的小家电控制。 主要特点 ●指令与BL2220兼容●CPU:8位●ROM单元:2Kbyte●RAM单元:64byte●晶振电路:400K~4MHz晶体振荡器或内置RC振荡●I/O口:2组8位双向口●1个单向输出口●17位watchdog●1路BUZZER输出●低电压复位LVR(翻转电压1.9V±0.2V),可软件选择●其他外围电路:8位可编程定时器●工作电源电压:2.0~5.5V●工作温度:-40~85℃●静态功耗:<1uA@VDD=3V●动态功耗:<1mA@VDD=3V●封装形式:SOP24/DIP24/SOP20200MIL/SOP20300MIL/SSOP20/DIP20
上传时间: 2013-11-25
上传用户:smthxt
概述 BL35P02R是一款低功耗8位OTP型微控制器单元(MCU),并带有内置高精度振荡器,及一个可直接驱动红外发射管的遥控码输出口,适用于各类家电(如电视、VCD机等)的红外遥控器。 主要特点 8位CISC结构CPU(MotorolaHC05兼容)最多可支持16个通用IO口和1个输入口1个8位定时/计数器9路键盘中断(KBI)1路遥控码输出口(IROUT),8种载波频率可选(1/3占空比),驱动能力强(>300mA)外接晶振325K-8MHz/内置RC振荡4MHz(偏差≤5%,0-40℃,2.0-3.6V工作电压范围内)低功耗设计(待机功耗<1uA@3V)32byteRAM(含堆栈)2K*8bitOTPROMOTP数据加密功能工作电压2.0-5.5V封装形式:SOP20(300mil)/SOP18(300mil)/SOP16(150mil)
上传时间: 2013-10-12
上传用户:z240529971