1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Tem
28th

dsPIC33F ve SRF05 ile Ultrasonik Mesafe Ölçücü

usonicc.JPG

dsPIC33F ileyapılan ultrasonic mesafe ölçücü devresi www.micropic.es sitesinde yer almakta. Sitede çalşır hale getirilmiÅŸ ccs c ile yapılan faydalı olabilecek projeler yer almakta. Sitenin dili ispanyolca ve yazıların içeriÄŸini görmek için üyelik istiyor. Üyelik ücretsiz ve üye olma kısmı ingilizce. Üye olunduktan sonra yazıları anlamak için google traslate veya babel fish transtlation yardımcı olabilir. Programları indirmek için “Descargar(Download)” kısmını takip ederek dosyalara ulaÅŸabiliyoruz.

Devrenin videosu http://www.youtube.com/watch?v=VDAoDyV5PmU

And our module made their catches in a very efficient and simple, by interruptions, leaving the heart of our micro-free for other tasks.

 

The capture can be done with a maximum resolution of 16 bits, and can be configured to detect flanks upstream, downstream or both.

 

To determine the width of a catch, relies on Timer2 or Timer3, which can be configured by internal or external pulse. This opens a wide range of possibilities for action.

su22.gif

The main difference between the SRF04 Diego, and SRF05 that I use is that the latter requires only one pin to make the communication as follows:
– Configure the pin as output
– Sent a pulse of high 10us
– Configure the pin as input
– Expect a pulse period which will tell us the distance

The period of this pulse is 0ms to 30 ms. The relationship between time and distance is as follows:
58us = 1cm

Benzer Yazılar

Yorum yapın