Sending data between AM receiver and transmitter using UART

Status
Not open for further replies.

Zhane

Member level 5
Joined
Feb 2, 2008
Messages
89
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,876
say i have a pair of AM receiver and transmitter... how should I use it to send data from 1 receiver to 1 transmitter end?

should I use uart?
how should I encode the data? I've read about manchester encoding..but it's rather complex. does anyone has the C source for it?
 

Re: RF & PIC

HI,

U have to use the UART here.

First you have to send preambles for proper reception and sync word for every packet to ensure byte Synchronisation
 

Re: RF & PIC

dont really get you...

1 packet is 8N1?
so i have to send 2 packets of 8bit data?

erm...how can i receive 2 packets of them?
 

Re: RF & PIC

HI,

A packet means it is a collection of bytes. Preamble is sent first and then the sync word then the actual data finally the CRC for error detection.I hope u got it.
 

Re: RF & PIC

i tried.. sending 0xFF all the time, and only data when required.

my receiver... ignores all 0xFF, and only decode non- 0xFF

but.. doesnt quite respond to the way i want it to be
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…