(I have searched here for the answer to this but can't find it - apologies if it is a dupe post)
I am having problems with reading pulses from a Futaba r/c receiver using a surface mount 28X1. The PIC and the receiver normally run at 5 volts but the signals from the receiver are set at 3 volts. The cause of this problem seems to be that the signal levels are too low for the PICAXE to detect.
If I run my board at anything between 2.6 volts and 4.8 volts
the PIC detects the pulse okay. Anything below 2.6 volts and the receiver
fails (and so is irrelevant) - anything above 4.8 volts and the PIC doesn't detect it. My guess is that at the higher voltage the 3 volts signal is not high enough for the PIC to register it in relation to its supply voltage.
As far as the circuit is concerned I only have a 100k pull-down resistor on the input - there is nothing in series.
Everything I have read suggests that the signal should be detected. David Lincoln's book says that it should detect anything >=2.5 volts. The data sheet says that VIL is set at 0.8V and VIH to 2V.
I can't see why this isn't working. Any suggestions?
Cheers,
Nigel
(Yes, I know I could probably use a pull-up resistor but I think the circuit should work as it is.)
I am having problems with reading pulses from a Futaba r/c receiver using a surface mount 28X1. The PIC and the receiver normally run at 5 volts but the signals from the receiver are set at 3 volts. The cause of this problem seems to be that the signal levels are too low for the PICAXE to detect.
If I run my board at anything between 2.6 volts and 4.8 volts
the PIC detects the pulse okay. Anything below 2.6 volts and the receiver
fails (and so is irrelevant) - anything above 4.8 volts and the PIC doesn't detect it. My guess is that at the higher voltage the 3 volts signal is not high enough for the PIC to register it in relation to its supply voltage.
As far as the circuit is concerned I only have a 100k pull-down resistor on the input - there is nothing in series.
Everything I have read suggests that the signal should be detected. David Lincoln's book says that it should detect anything >=2.5 volts. The data sheet says that VIL is set at 0.8V and VIH to 2V.
I can't see why this isn't working. Any suggestions?
Cheers,
Nigel
(Yes, I know I could probably use a pull-up resistor but I think the circuit should work as it is.)