CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Wireless Telemetry HELP

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
cxiong



Joined: 09 Sep 2003
Posts: 52

View user's profile Send private message MSN Messenger

Wireless Telemetry HELP
PostPosted: Fri Jan 30, 2004 1:10 pm     Reply with quote

I have used the the LINX LC modules with the PIC16F877 USART (PIN RC6, AND RC7 to send and receive data through wireless, but it won't work.

My problem is that, no data get to the Transmitter module.

Does any body have any experience with this problem before? Any schematic or subroutine to use with the RS232 (PIN rc6 & rc7).
Ttelmah
Guest







Re: Wireless Telemetry HELP
PostPosted: Sat Jan 31, 2004 3:40 pm     Reply with quote

cxiong wrote:
I have used the the LINX LC modules with the PIC16F877 USART (PIN RC6, AND RC7 to send and receive data through wireless, but it won't work.

My problem is that, no data get to the Transmitter module.

Does any body have any experience with this problem before? Any schematic or subroutine to use with the RS232 (PIN rc6 & rc7).


The problem is probably that the serial data needs inverting to feed the DATA IN pin on these modules. Otherwise there is nothing special at all needed for this type of module. All you need to do, is connect the TXD pin of the PIC (RC6), to the 'data in' pin of the transmitter module, through an inverter. Make sure that you select a relatively low baud rate (the absolute maximum for the modules is 5000bps, and they work better at slower rates - I'd suggest 2400bps, or 1200bps). You must remember, that if using two pairs of modules to allow bi-directional communications, the system is only half-duplex, unless you have the two pairs on different frequencies. Hence your code must be able to handle conflict resolution.
You can test if inversion is the problem, by selecting the 'INVERT' option in the #USE RS232 setup statement, but remember this is not supported using the hardware UART.
If you have two pairs of modules on the same frequencies, and they are both connected, both transmitters will be permanently sending, when the serial lines are idle, and no data will be received.

Best Wishes
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group