calvinsykes
Member
I'm trying to get two 14Ms to talk over a 433Mhz radio link. I know the radio link is working because there's an LED on the reciever side that blinks in time with one on the transmitter side.
If I don't include a check for a qualifier in the reciever code, I see random gibberish; if I do, the PIC doesn't see anything. I'm also using the 0x55 preamble. Full code below:
Tx:
Rx:
Tx is on 4.5V; Rx is on 6V regulated to about 5.3-ish V with a potentiometer (temporary solution until I get a proper voltage regulator), but both in limits.
I've got a few possible theories:
Please comment on some of theese!
If I don't include a check for a qualifier in the reciever code, I see random gibberish; if I do, the PIC doesn't see anything. I'm also using the 0x55 preamble. Full code below:
Tx:
Code:
init: let b0 = 33
main: high 4
serout 5, T600_4, (0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55)
low 4
pause 20
high 4
serout 5, T600, ("data", b0)
low 4
pause 500
goto main
Code:
main: let b0 = 0
serin 0, T600_4, b0
debug
goto main
I've got a few possible theories:
- T or N signals?
- Does serin need a 10k pulldown?
- 10k pullup on Tx data?
- 100nf capacitor in series on Tx data?
- ...and any on Rx?
- Rx output is buffered on a BCX38C (darlington npn). Is this appropriate?
Please comment on some of theese!