electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

RF & PIC


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> RF & PIC
Author Message
Zhane



Joined: 02 Feb 2008
Posts: 85


Post29 Feb 2008 13:35   

RF & PIC


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?
Back to top
rajeshkumar123



Joined: 27 Dec 2007
Posts: 179
Helped: 19
Location: Chennai-India


Post29 Feb 2008 15:24   

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
Back to top
Zhane



Joined: 02 Feb 2008
Posts: 85


Post29 Feb 2008 15:31   

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?
Back to top
rajeshkumar123



Joined: 27 Dec 2007
Posts: 179
Helped: 19
Location: Chennai-India


Post01 Mar 2008 17:02   

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.
Back to top
Google
AdSense
Google Adsense




Post01 Mar 2008 17:02   

Ads




Back to top
Zhane



Joined: 02 Feb 2008
Posts: 85


Post02 Mar 2008 14:28   

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
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> RF & PIC
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
PIC Volt & Amp Meterattin6 (53)
100mm display&PIC&ST232 and problem! (1)
PIC 16F84A & PIC 16C56A (6)
Help needed with RS485 & PC & PIC (3)
PIC & usb GPS (need PIC host usb) (1)
PLC & PIC (8)
AVR & PIC (9)
PIC programmer & USB (10)
PIC , MODEM & TCPIP (21)
PDIUSBD12 & PIC problem ! (3)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS