Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] RF-PIC16F877A problem

Status
Not open for further replies.

mturna

Junior Member level 2
Joined
Apr 3, 2011
Messages
20
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,283
Activity points
1,418
Hi everybody!
I have a problem about RF and PIC16F877A.
In my project I'm sending the data from PC via rs232 (and max232 and atx-34 s) and and receive via arx-34 c and send to the pic from RC7/RX (26th) pin of 16f877a.
I can see the tx sends the data and rx receives the data. But the problem is pic16f877a can't process the data. What could be the reason.
PS: I'm sending ascii data like B.
e.g. data1=getchar();
if (data1=='B')
{
output_high(port_d5);
delay_ms(1000);
Output_low(port_d5);
}

Thanks you...
 

Hi,

Generally when using those RF modules you have to use some method of Addressing and Encoding otherwise your receiver gets flooded by all the other rf signals around, scope the RX output to see for yourself.

If you search the forum you will find referece to the Manchester encoding method. PIC Tutorial Twelve - RF Remote Control
 

Ok I will try it but I am sending a preamble and sencron code as AAAAAAAAAA0000000000FFFFFFFFFF(in hex) (5 byte AA and then 5 byte 00 and FF) then data e.g. for B char 42(hex). Is there any problem with this. Could it be the reason?
 

Hi ,

Yes that coding is something like you need, but do not do C so cannot help you more.
Sure if you search the forum more you will find the answer, its a frequent question.
 

I hope :) . Thanx.
 

The only docs I can find on the ARX-34C are in Turkish, which I cannot read or speak. If it operates like some of the other 433MHz Transmitters and Receivers, then there are several other examples available on the net.
 

Attachments

  • ARX-34CT.pdf
    1.2 MB · Views: 149

I am using CCS C.
It docs it said send preamble code (5 byte 55 or AA) then for synchronization 5 byte (or you may change according yor program) 00 and 5 byte FF. Then send data.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top