Go Down

Topic: RF Communication with PC problem. (Read 773 times) previous topic - next topic


i'm trying to communicate my arduino with pc but i have problem. first of all i have this devices:

  • Arduino UNO

  • http://www.ebay.com/itm/CP2102-USB-2-0-to-UART-TTL-6PIN-Module-Serial-Converter-/130683943875?pt=LH_DefaultDomain_0&hash=item1e6d5ebbc3

  • http://www.ebay.com/itm/300733295714?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649

My sketch is here:
Code: [Select]

int i;
void setup() {

void loop() {
  for (i=0; i<5; i++){

and my connections :

when i set up the putty's baudrate and serial port  i'm expecting to see "start" , "data1"..etc on my pc monitor. but there is no data. if you have a example about it ,can you send me?


My first question would be: "Why does the receiver have two pins marked 'data'?"

Have you got technical specifications for the transmitter and receiver modules?

Have you tried sending a simple ON/OFF signal?  For example, connect an LED to the receiver data pin and connect Pin 13 of the Arduino to the transmitter data pin.  If you run the Blink example does the receiver LED blink at the same time as the built-in LED of the Arduino?  Until that works I would not expect any wireless serial communications to work.
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp


Wont work at all with those radios.
They are simple Amplitude keyed radios with no intelligence at all.
To transmitastnc  serial data you must have an error corrected radio link with squelch on the radio receiver.
You can use the radios to talk from one Arduino to another Arduino using the Virtualwire library, which provides
all the error correction and coding needed to send async data.

Go Up