SRF04 problem
Thanks for the fast reply!
No, there is no 555 in the SRF04. I have built the SRF04 module.
To test it, I am using an external 555 oscillator connected to the trigger pin of the SRF04.
As I said, the signals that ARE being produced seem to be OK.
There are definitely 8 pulses being generated to drive the MAX232 and the transmitter unit. There is definitely a signal being received by the amplifier and the comparator is producing pulses which vary in width as an obstruction is sensed.
The output pin (6) of the PIC, though, remains at 0V.
I have tried a pull-up resistor on the output, with no difference.
Do you have the SRF04 schematic? If not I'll post it, but at
www.robot-electronics.co.uk, there is a schematic and source code available under the SRF04 item.
Thanks again for trying to help. I am totally lost!
Regards