View previous topic :: View next topic |
Author |
Message |
louwi_138
Joined: 17 Nov 2012 Posts: 23
|
Wireless communication |
Posted: Tue Apr 02, 2013 12:31 am |
|
|
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
|
|
Posted: Tue Apr 02, 2013 2:25 am |
|
|
Iyed was asking a similar question two days ago.
Mike |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9226 Location: Greensville,Ontario
|
|
Posted: Tue Apr 02, 2013 5:55 am |
|
|
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
|
|
Posted: Tue Apr 02, 2013 9:38 am |
|
|
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 |
|
|
|