文件名称:Ultrasonic-ranging-data
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2014-10-20
- 文件大小:
- 1.8mb
- 下载次数:
- 0次
- 提 供 者:
- 董**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1.MCU:AT89S52芯片或AT89C52
2.晶振:12MHz
本程序带温度补偿,采用DS18B20测量温度
1.LCD1602液晶屏有显示后,才接入超声波模块。
2.注意超声波模块电源的极性。不清楚请参好淘宝的电路图
3.没有选用频率为12MHz晶振,用了别的频率晶振,单片机定时器的测量值与
发出的40KHz频率脉冲不对。
4.使用者经常误发出20KHZ脉冲当40KHZ脉冲。(40KHz频率脉冲,周期25us,
占空比为50 = 12.5us)
5.如果是用开发板调超声波模块,请检查开发板上的电路是否与超声波模块的
控制脚复用了, 若复用了,请通过跳线分开发板上的电路。
6如果使用的是万用板,请确定单片机的复位电路和晶振电路是否正常,同时
单片机的31脚(EA)记得 接高电平。-1.MCU:AT89S52 chip or AT89C52
2: 12MHz crystal
This procedure with temperature compensation, temperature measurement using DS18B20
1.LCD1602 LCD display, ultrasonic module to access.
2 note the polarity ultrasonic module power supply. Not clear please reference the good Taobao circuit diagram
3 does not use frequency of 12MHz crystal, with other frequency oscillator, timer value and measurement
The frequency of 40KHz pulses emitted by the wrong.
4 user often mistakenly sent 20KHZ pulse when the 40KHZ pulse. (40KHz pulse frequency, cycle 25us,
The duty cycle is 50 = 12.5us)
5 if it is adjustable ultrasonic module development board, please check whether the circuit development board and the ultrasonic module
Control pin multiplexing, if reuse, please by jumper circuit development board.
6 if you are using a universal board, please make sure to reset circuit and oscillator circuit of MCU is normal, and at the same time
MCU 31 feet (EA) remember with the high level.
2.晶振:12MHz
本程序带温度补偿,采用DS18B20测量温度
1.LCD1602液晶屏有显示后,才接入超声波模块。
2.注意超声波模块电源的极性。不清楚请参好淘宝的电路图
3.没有选用频率为12MHz晶振,用了别的频率晶振,单片机定时器的测量值与
发出的40KHz频率脉冲不对。
4.使用者经常误发出20KHZ脉冲当40KHZ脉冲。(40KHz频率脉冲,周期25us,
占空比为50 = 12.5us)
5.如果是用开发板调超声波模块,请检查开发板上的电路是否与超声波模块的
控制脚复用了, 若复用了,请通过跳线分开发板上的电路。
6如果使用的是万用板,请确定单片机的复位电路和晶振电路是否正常,同时
单片机的31脚(EA)记得 接高电平。-1.MCU:AT89S52 chip or AT89C52
2: 12MHz crystal
This procedure with temperature compensation, temperature measurement using DS18B20
1.LCD1602 LCD display, ultrasonic module to access.
2 note the polarity ultrasonic module power supply. Not clear please reference the good Taobao circuit diagram
3 does not use frequency of 12MHz crystal, with other frequency oscillator, timer value and measurement
The frequency of 40KHz pulses emitted by the wrong.
4 user often mistakenly sent 20KHZ pulse when the 40KHZ pulse. (40KHz pulse frequency, cycle 25us,
The duty cycle is 50 = 12.5us)
5 if it is adjustable ultrasonic module development board, please check whether the circuit development board and the ultrasonic module
Control pin multiplexing, if reuse, please by jumper circuit development board.
6 if you are using a universal board, please make sure to reset circuit and oscillator circuit of MCU is normal, and at the same time
MCU 31 feet (EA) remember with the high level.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
超声波测距配备资料
..................\MSP430超声波测距.pdf
..................\电路和使用说明.pdf
..................\超声波测距仪.doc
..................\超声波测距论文.doc
..................\配套程序
..................\........\LCD1602显示不带温度补偿的测距程序
..................\........\.................................\chengxu.bak
..................\........\.................................\chengxu.c
..................\........\.................................\chengxu.LST
..................\........\.................................\chengxu.OBJ
..................\........\.................................\csb1.hex
..................\........\.................................\csb1.M51
..................\........\.................................\csb1.opt.bak
..................\........\.................................\csb1.plg
..................\........\.................................\csb1.Uv2.bak
..................\........\.................................\csb1.uvopt
..................\........\.................................\csb1.uvproj
..................\........\.................................\csb1_Opt.Bak
..................\........\.................................\csb1_Uv2.Bak
..................\........\.................................\csb1_uvopt.bak
..................\........\.................................\STARTUP.A51
..................\........\.................................\STARTUP.lst
..................\........\LCD1602显示带温度补偿
..................\........\.....................\chengxu2.bak
..................\........\.....................\chengxu2.c
..................\........\.....................\chengxu2.LST
..................\........\.....................\chengxu2.OBJ
..................\........\.....................\chengxu2.__i
..................\........\.....................\csb_temp
..................\........\.....................\csb_temp.hex
..................\........\.....................\csb_temp.M51
..................\........\.....................\csb_temp.Opt
..................\........\.....................\csb_temp.plg
..................\........\.....................\csb_temp.Uv2
..................\........\.....................\csb_temp_Opt.Bak
..................\........\.....................\csb_temp_Uv2.Bak
..................\........\.....................\STARTUP.A51
..................\........\.....................\STARTUP.lst
..................\........\.....................\STARTUP.obj