hey guys,
i'm new to the forum, and new to pic. i have a design project due soon and i am having a few problems.
basically it as an ultrasonic distance measure, using 40 Khz transducers. display is 4 seven-segs, pic16f913, and measurement is done on the press of a push button switch
I am using PWM to generate my pulses, timer0 to multiplex my displays, and i want to use timer1 to time the wave.
Firstly how do i send a limited number of pulses?
How do i stop the timer when the return wave occurs?
and how do i read the return wave, as when i check on a scope it returns at 0.8 V, what do i do?
any help and feedback you guys could provide my will be greatly appreciated.
many thanks
Sun
i'm new to the forum, and new to pic. i have a design project due soon and i am having a few problems.
basically it as an ultrasonic distance measure, using 40 Khz transducers. display is 4 seven-segs, pic16f913, and measurement is done on the press of a push button switch
I am using PWM to generate my pulses, timer0 to multiplex my displays, and i want to use timer1 to time the wave.
Firstly how do i send a limited number of pulses?
How do i stop the timer when the return wave occurs?
and how do i read the return wave, as when i check on a scope it returns at 0.8 V, what do i do?
any help and feedback you guys could provide my will be greatly appreciated.
many thanks
Sun
Attachments
-
11.8 KB Views: 28