IMHO there is not much point using the ADC with that circuit, you may as well use a normal pin because the voltage will rise to high level and stay there like in post #17I decided to use the ADC for listening to the echo as I cant use pin RC2 for CCP capture mode since its going to be use for multiplexing...dont want to use 2 PORTS for multiplexing so as not to complicate my software!
Attached is the receiver amplifier im going to use, i also attached the schematic in the original post 1 as i need to ask a question: as you can see i have encircled the 33k value of the receiver...
i would like to know if i should keep this or remove it since i am going to use the receiver amplifier attached??
Also im using the chip UA741CN for the op-amp so im not too sure what to do with pin 1 (offset null1) and pin 2 (offset null2) im ok with the other pins.
please allow me to ask one more thing, in the sensor attachement i will like to know if the number 1 and 2 represent what? i mean which one is positive and which is negative between 1 and 2
I am building the whole circuit on breadboard now...
kindly regards, Eric
Unless you have a +/- 9V supply available for the 741 I recommend putting pin 1 and pin 2 in the bin along with the other pins and get an op amp that will work with a 0-5V supply, like the LM358. A rail to rail one might be better but the LM358 will probably be OK.
You would also need something to protect the PIC if you used the 741 with a split supply. A 5.1V zener would probably do it.
I don't think it makes much difference between 1 and 2 on the sensor and receiver, however if there is a black wire and a red wire or a + and a - on them then connect black or - to ground to be safe.
You can scrap the 33k resistor, the 3k9 in the circuit does the same thing.
Last edited: