- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 170kb
- Update:
- 2012-11-26
- Downloads:
- 0 Times
- Uploaded by:
- pk91102
Description: AT89S52 MCU-controlled ultrasonic ranging, the main program first initializes the system environment, set the timer T0 mode for 16-bit timer counter mode, the set EA and the total Interrupt Enable bit ports P0 and P2 to show clear 0. Then send a subroutine call occurs ultrasonic ultrasonic pulses, in order to avoid direct transmission of ultrasound from the transmitter to the receiver caused by the direct-wave trigger, must delay 0.1ms (This is the range-finder will have a minimum measurable distance reasons) after the Only open the external interrupt 0 to receive the returned ultrasonic signals. As a result of 12MHz crystal, the machine cycle 1us, when the main program detects that received flag of success, will be the counter of the number of T0 (ie, used ultrasound back and forth time) determined by the formula and the measured object can be measured measured from the distance between the instrument, designed to take 20 ℃ when the speed of sound is 344 m/s there are:
d = (C* T0)
To Search:
- [chaoshenbo] - procedure for ultrasonic distance measur
- [3970972csbcj] - Ultrasonic Distance Measurement procedur
- [SimpIE] - Simple to open ie to achieve connectivit
- [AT89S51] - AT89S51 Microcontroller based on ultraso
- [v5.0led] - LED
- [121231342412] - It has everything: infrared, wireless, a
- [Text1] - Ultrasonic Distance STC89C51 based sourc
- [pasco2-0.1] - Read the IE history, index.dat. An open
- [1] - Ultrasonic Sensors simulation was to tes
File list (Check if you may need any files):
test\cheshi\cheshi.OBJ
....\......\cheshi.SRC
....\......\cheshi._ia
....\......\cheshi.__i
....\......\STARTUP.obj
....\......\tiaoshi
....\......\tiaoshi.hex
....\......\tiaoshi.lnp
....\......\tiaoshi.plg
....\cheshi.c
....\cheshi.ls1
....\cheshi.LST
....\cheshi.OBJ
....\fdf.hex
....\fdf.lnp
....\fdf.M51
....\fdf.Opt
....\fdf.plg
....\fdf.Uv2
....\huibian\CFUNC.A51
....\.......\CFUNC.c
....\.......\CFUNC.ls1
....\.......\CFUNC.LST
....\.......\CFUNC.OBJ
....\.......\CFUNC.__i
....\.......\cs_t.a51
....\.......\cs_t.LST
....\.......\cs_t.OBJ
....\.......\delay.a51
....\.......\delay.LST
....\.......\delay.OBJ
....\.......\DISPLAY.a51
....\.......\DISPLAY.LST
....\.......\DISPLAY.OBJ
....\.......\huibian
....\.......\huibian.lnp
....\.......\huibian.M51
....\.......\huibian.Opt
....\.......\huibian.plg
....\.......\huibian.Uv2
....\.......\laoshigeide
....\.......\laoshigeide.c
....\.......\laoshigeide.hex
....\.......\laoshigeide.lnp
....\.......\laoshigeide.LST
....\.......\laoshigeide.M51
....\.......\laoshigeide.OBJ
....\.......\laoshigeide.Opt
....\.......\laoshigeide.plg
....\.......\laoshigeide.Uv2
....\.......\lizhong.hex
....\.......\lizhong.lnp
....\.......\lizhong.M51
....\.......\lizhong.Opt
....\.......\lizhong.plg
....\.......\lizhong.Uv2
....\.......\lizhong1.plg
....\.......\lizhong1122.plg
....\.......\main.c
....\.......\main.ls1
....\.......\main.LST
....\.......\main.OBJ
....\.......\main.SRC
....\.......\STARTUP.A51
....\.......\STARTUP.LST
....\.......\STARTUP.OBJ
....\.......\ttpp
....\.......\ttpp.hex
....\.......\ttpp.lnp
....\.......\ttpp.M51
....\.......\ttpp.Opt
....\.......\ttpp.plg
....\.......\ttpp.Uv2
....\.......\新建 文本文档.LST
....\.......\李忠.c
....\.......\李忠.LST
....\.......\李忠.OBJ
....\shiyan.lst
....\shiyan.obj
....\shiyan.__i
....\STARTUP.A51
....\STARTUP.LST
....\STARTUP.OBJ
....\sy.bin
....\tiaoshi
....\tiaoshi.lnp
....\tiaoshi.M51
....\tiaoshi.Opt
....\tiaoshi.plg
....\tiaoshi.Uv2
....\yin
....\yin.c
....\yin.hex
....\yin.lnp
....\yin.LST
....\yin.M51
....\yin.OBJ
....\yin.Opt
....\yin.plg
....\yin.Uv2