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 communication

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



Joined: 17 Nov 2012
Posts: 23

View user's profile Send private message

Wireless communication
PostPosted: Tue Apr 02, 2013 12:31 am     Reply with quote

Hello,
I'm working these days with a low cost wireless communication like the "XY-MK-5v" so I tried to make the receiver in the RX pin of the microcontroller and the Transmitter pin in the TX of the other microcontroller, and use RS232 to send data but It didn't work cause of the noise.

I looked in the net and I found that there is a library in Arduino software that deals with that problem which is called "virtualwire.h". I'm asking if there is an equivalent library in picc ?
Mike Walne



Joined: 19 Feb 2004
Posts: 1785
Location: Boston Spa UK

View user's profile Send private message

PostPosted: Tue Apr 02, 2013 2:25 am     Reply with quote

Iyed was asking a similar question two days ago.

Mike
temtronic



Joined: 01 Jul 2010
Posts: 9161
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Tue Apr 02, 2013 5:55 am     Reply with quote

Why not download that code, convert into CCS C code, and upload your version into the 'code library' here to share with others?

It is NOT that difficult to do butI don't have the hardware to test the driver if I did the work.

hth
jay
asmboy



Joined: 20 Nov 2007
Posts: 2128
Location: albany ny

View user's profile Send private message AIM Address

PostPosted: Tue Apr 02, 2013 9:38 am     Reply with quote

Quote:

It didn't work cause of the noise.


NO odds are it does not work because of the SIGNAL , TTL-Rs-232 you try to send.

this is another CHEAP RF system w/o any recovered DC restoration, and the asymmetry of your SIGNAL is being distorted .

it is not suitable for ordinary RS-232 signalling

see here
http://www.ccsinfo.com/forum/viewtopic.php?p=174048#174048
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