Go Down

Topic: Basic high/low signals using RF modules (Read 682 times) previous topic - next topic


I have receiver (http://www.sparkfun.com/commerce/product_info.php?products_id=8948) and transmitter(http://www.sparkfun.com/commerce/product_info.php?products_id=8945) and I just want to send a high/low signal from the tansmitter to receiver. The receiver is connected to an led and the transmitter to my arduino.I just want the led to turn off and on but it just keeps flickering.any advice?Here is my code.
Code: [Select]
int pin3=3;

void setup()
void loop()


Is this the code for the sender or the receiver? How do you have the transmitter and receiver connected on the two Arduinos?

The input side of the transmitter needs to be connected to the TX pin, if using hardware serial, or the tx pin if using NewSoftSerial.

The output side of the receiver needs to be connected to the RX pin, if using hardware serial, or the rx pin if using NewSoftSerial.

The data to be transmitted is sent using Serial.print, and receive using Serial.read (or the NewSoftSerial instance).
The art of getting good answers lies in asking good questions.


These transmitters and receivers can't handle a steady logic level. The bandwidth doesn't go down to DC.
You need to transmit serial data through them.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131