Machine Recycling Discussion and Moderated Newsgroup > Full Machines
> Complete Machines
> Agricultural
> South
> Used
> Ultrasonic ranging detector module ultra-sonic ping
Ultrasonic ranging detector module ultra-sonic ping
2: Quiescent current: less than 2mA
5: Sensor angle: not more than 15 degrees
6: Detection distance: 2cm-450cm
Had a bit of time on holidays to hook up one of these things to simply see if it worked and this is what I did
;Crystal = 8Mhz and timer0 being used at a 1/256 prescale
If the echo pin = 1 then goto loop
;if program gets here then the echo pin = 0
Stop timer0 ; there you have it!