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.

Wireless communication between two PIC16F877A using 433MHz TX/RX modules

Status
Not open for further replies.

ponty77

Newbie level 3
Joined
May 11, 2015
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
24
Hello Everyone,

I would like to use wireless communication between 2 pic16f887. I use rf 433 mhz module, and i would like controll 2 motor pwm. I use mikroC, and attached the source code. I have a problem with the wireless communication, and how to set txsta, rcsta, baudctlbit. I would like use 9600 baud. If anybody need the mikroC file, I will post it.

Thanks for help.
 

Attachments

  • transmitter.txt
    1.1 KB · Views: 6
  • receiver.txt
    2.8 KB · Views: 4

milan.rajik

Banned
Joined
Apr 1, 2013
Messages
2,528
Helped
540
Reputation
1,078
Reaction score
523
Trophy points
1,393
Activity points
0
Please Zip and post the mikroC PRO Project files.
 

ponty77

Newbie level 3
Joined
May 11, 2015
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
24
Thanks for your reply. Here is 2 mikroc project and 1 protheus file with wire communication.

View attachment copter.zip Sorry I forget it :D
 
Last edited:

ponty77

Newbie level 3
Joined
May 11, 2015
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
24
Yes, I can. But I need your help in register setting. If I transmit the pwm duty, do you tell me an example ?? And if would like send another data e.g. adc value, or someting, how can I do it ??
 

milan.rajik

Banned
Joined
Apr 1, 2013
Messages
2,528
Helped
540
Reputation
1,078
Reaction score
523
Trophy points
1,393
Activity points
0
Can you instead send PWM duty value (0 - 255) from transmitter to receiver ?

Here is the fixed code but I think the logic of operation is not correct.

- - - Updated - - -

Use RC Toy.rar
 

Attachments

  • mikroC PRO PIC.rar
    91.5 KB · Views: 5
  • RC Toy.rar
    91.7 KB · Views: 6
Last edited:

ponty77

Newbie level 3
Joined
May 11, 2015
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
24
Thanks for your replying. I will test the code at the weekend, and I will write for you. Thanks for your help.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top