I want to use sonar to find distance in my robotics project which uses a PIC18F452.The diagram of the circuit is attached below (Which I found from the web). But the resource I found it says I have to use PWM to drive it.Unfortunately I am already using my PWMs for motor controlling. So can anybody tell me how to use it without PWMs alongside my program.(I'm using mikroC language.)
Being new to PIC I don't know much about timers as well.
Thanks in advance...
Being new to PIC I don't know much about timers as well.
Thanks in advance...
Attachments
-
9.5 KB Views: 63
Last edited: