I have two arduinos, one powered by a 9 V adapter, which has a blinking light and an RF transmitter which outputs 1 if the LED is on, 0 if the LED is off.
On the other arduino which is connected via USB, i have an RF receiver which outputs the value of whatever it is receiving to the serial monitor in Arduino.
Now no matter which baud rate I set, I seem to be either getting interference, or am not understanding how to decipher. HEAPS of data is coming in. I do use a wireless keyboard etc, but is there a way around this without cutting out every wireless device in the building?
You have to tell us what type of transmitter so things like the interference from the wireless keyboard can be factored in. Also what sort of wireless keyboard.
Have you tried turning this off and seeing if it works?
However my bet is on the serial setup.
I am using a Logitech keyboard and mouse, though unfortunately i can't do much without them.. Will have a go at turning them off while the arduinos are going in a second...
Ummm, I'm a little confused here. How exactly do you have those modules connected to your Arduino? Unless I'm missing something, they're not serial devices.
Normally, I would suggest using something like the VirtualWire library but AFAIK it hasn't yet been tested with those particular modules.
Oh, I see you've taken that code from the Sparkfun example. Wow, from what I'd read about those receivers/transmitters I wouldn't have thought you'd have been able to receive anything without any error correction etc.
What voltage are you driving them with. If it is 5V and you are connecting it straight into the Arduino then there will not be enough to keep it high as it will only be at 2.5V for a logic one. It could be it is dithering at the threshold of the input.