alistairsam
Senior Member
Hi,
I just got a 434Mhz RF Transmitter receiver from sparkfun and am having trouble receiving transmitted data.
http://www.sparkfun.com/commerce/product_info.php?products_id=8946
http://www.sparkfun.com/commerce/product_info.php?products_id=8950
I have searched through this forum, and am using the "precondition" transmit and pause as suggested, but still don't receive what I'm transmitting.
i'm using two 20x2's, one for the transmitter and one for the receiver.
I have soldered a 17cm long wire to the transmitter as suggested, and no antenna in the receiver. they're 1m apart.
receiver has a 16x2 LCD that I want to display the received data on.
if I don't use qualifiers at the receiver, it outputs numbers randomly which I presume is noise.
am I doing this correctly?
I just got a 434Mhz RF Transmitter receiver from sparkfun and am having trouble receiving transmitted data.
http://www.sparkfun.com/commerce/product_info.php?products_id=8946
http://www.sparkfun.com/commerce/product_info.php?products_id=8950
I have searched through this forum, and am using the "precondition" transmit and pause as suggested, but still don't receive what I'm transmitting.
i'm using two 20x2's, one for the transmitter and one for the receiver.
I have soldered a 17cm long wire to the transmitter as suggested, and no antenna in the receiver. they're 1m apart.
receiver has a 16x2 LCD that I want to display the received data on.
if I don't use qualifiers at the receiver, it outputs numbers randomly which I presume is noise.
am I doing this correctly?
Code:
'TRANSMITTER
#picaxe 20x2
let dirsB = 00000011
main:
for b0 = 0 to 240
serout B.0, N2400_16, (0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55)
pause 5
serout B.0,N2400,(b0)
sertxd (#b0,CR,LF)
pause 300
next b0 ‘ next loop
goto main
---------
' RECEIVER
#picaxe 20x2
let dirsB = 00000011
main:
serin C.0,N2400_8,b1
pause 5
serout B.0, T9600_8,(254,128,#b1)
pause 300
goto main