PDA

View Full Version : receiver can not receive signal



nicolelawsc
- 27th February 2006, 18:17
help me!!plea..se...
i am facing a problem in the rf receiver,my receiver is FM-RX1-433A
the chips i use is pic16f84a.
can someone help me to take a look on it?for my receiver pin
pin 1 connect to antenna
pin 2 connect to ground
pin 3 is DETECT connect to portB.3
pin 4 connect to ground
pin 5 connect to Vcc
pin 6 is AF,FM demodulator output--i left it unconnect
pin 7 connect to portB.0
Below is my code:

INCLUDE "modedefs.bas"
DEFINE OSC 4

INPUT portb.0
INPUT portb.3
OUTPUT portb.1
OUTPUT portb.2

led1 VAR PORTB.1
led2 VAR PORTB.2

Loop:

SERIN PORTB.0,N2400,["A"],portB.3
IF portB.3=1 Then l
GOSUB led_on
ELSE
GOSUB led_off
ENDIF
GOTO loop

led_on:
High led1
Low led2
PAUSE 5000
LOW led1
RETURN

led_off:
Low led1
High led2
PAUSE 5000
LOW led2
RETURN


End



and for the antenna, i am using the type like antenna of normal radio.is it another cause??if this is the problem,do u hv any better suggestion?

below is the link of the receiver datasheet that i used.

http://my.farnell.com/jsp/endecaSearch/searchPage2.jsp?specialorder=on&Ntt=676603&newSearch=true&Nto=676597&Nty=1&showImages=true&N=0&Ntk=gensearch


Thank you for your consideration

Squibcakes
- 19th May 2006, 08:01
Nicolelawsc,

This is a pretty old post, but just in case your still want another crack at it....

I got these to work very well. If your transmitter is a TXC1 or similar, they should work fine with any old bit of wire for antenna (paper clip....) or no antenna at all if they are a couple of inches apart.

I found it very useful to use an oscilliscope (CRO) so you could see the data coming into the transmitter, and at the RX output pin. Without one of these your pretty much waisting your time.

Also, start with a slower Baud rate, say 600 or 1200 so you can see what is going on.
When you can send basic serial data ok... try using some different error correction techniques.... that's were the fun really starts.

Cheers
Squib