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.

16f877a USART pin question

Status
Not open for further replies.

sysysy

Member level 3
Joined
Nov 11, 2010
Messages
56
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Activity points
1,801
Hi,

may i know is it possible to use PIC16f877a pin c6 as my 315mhz rf transmitter A, pin c7 as my pin 315mhz rf receiver B as full duplex communication?

hmmm, the transmitter B and receiver A will be at PC side.

look for ur anyone quick responce. urgent help.

Thanks.
 

If at PC side must use max232 since PC is in rs232 level.

But i now wonder that, in my robot side, i wish to use 1 transmitter in pin_c6 and 1 receiver in pin_c7.
i wonder that is it allow...and both also in 325Mhz...

To not confuse u guys, there are total 2 pair of RF module in use ( 2Tx and 2 Rx)
 
  • Like
Reactions: LN37

    LN37

    Points: 2
    Helpful Answer Positive Rating
if both are alike modules then the transmitted data from Pic and PC will be received by both PIC and PC simultaneously... Is it...¿
 

if both are alike modules then the transmitted data from Pic and PC will be received by both PIC and PC simultaneously... Is it...¿

But if in the software, how about i write the different header for different packets. Then in receiver side, only receive with recognize correct header. So, is it method can use?
I did try this before, but once i enable both 315Mhz transmitter in the same time, the whole system cant work.... so, that why i wondering is it the PIC usart tx and rx use as full duplex simultaneously?
 

yes..may be if you use two transmitter then if one transmitter sends 1 and other transmitter sends 0 then which value will the receives takes! So i think you couldnt use two alike transmitter receives pair for this purpose...I mean for full duplex.
 

If at PC side must use max232 since PC is in rs232 level.

But i now wonder that, in my robot side, i wish to use 1 transmitter in pin_c6 and 1 receiver in pin_c7.
i wonder that is it allow...and both also in 325Mhz...

To not confuse u guys, there are total 2 pair of RF module in use ( 2Tx and 2 Rx)

I am just checking this clocking you are using. Is it really 325 MHz? PIC clocking is limited normally to max of 20MHz or slightly higher but not in hundred MHz. I don't think the PIC clock speed will be able to capture anything the robot will sent at this level of clocking if they are not compatible. Must ensure your clocking is correct and within limit. Check Nyquist theorem to verify the correct clock requirement.
 

Your Question is a nit confusing here is what i get
You Have two pair of Tx /Rx working on 315 MHz , definitely these will have some serial control interface.
[@ bbgi: Always RF Transceivers Serial communication interface is connected to UART].
You want to have
PIN RC6 -> TX1[Transmit pin of Transmitter 1]
PIN RC7 -> RX2[Receive pin of Receiver 2]

it will work
a better way to have a transceiver remember if your Transmitter uses RS232 then u need a level conversion
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top