Go Down

Topic: 433mhz & RC Switch Woes.... (Read 3 times) previous topic - next topic

fasterthanlight

Feb 20, 2013, 06:27 pm Last Edit: Feb 20, 2013, 06:48 pm by fasterthanlight Reason: 1
Hi Folks

I've been trying for days now to get a 433mhz set-up working with my RF outlet switches (as many have before). I just keep hitting wall after wall.

I'm currently using RCswitch library and am running a test with one arduino as a reciever and one as a transmitter. Both the 433mhz reciever and 433mhz transmitter are powered via the 'receiver' arduino (See image attached) this is important to know later.  

Having decoded the on and off signals from my remote i have put it into the 'send' program. When i run the two arduinos at the same time the 'receive' arduino picks up the send transmission, which seems good, however the outlet does not switch on and off ?!?

The weird thing is i wanted to do a distance test so i took the transmitter out of the breadboard and installed it on a different one attached solely to the 'send' arduino. As soon as i did this it no longer seamed to be transmitting as the serial monitor no longer showed anything. However as soon as i put it back onto the power from the 'recieve' arduino all worked again ?!?

So my two questions are this -

1. Why does the transmitter seem to only work when powered by the 'receive' arduino.
2. Why does my outlet not switch off when apparently the correct code is being transmitted?

Images attached of the arduino set up. Also a screen shot of the two sketches and serial monitor. I can post the code directly too if it helps.

Any help will be greatly appreciated.

FTL


Riva

In your image your powering both the TX and RX modules from the RX arduino. Probably the only reason it works at all is the grounds are connected via the USB sockets in the PC. Power them separately from each Arduino, DO NOT common the 5V between the arduino's though.

fasterthanlight


In your image your powering both the TX and RX modules from the RX arduino. Probably the only reason it works at all is the grounds are connected via the USB sockets in the PC. Power them separately from each Arduino, DO NOT common the 5V between the arduino's though.


Hello again Riva. I have tried this. As soon as i power the transmiter, directly from the transmitter assigned arduino it stops working. This is the problem. 

FTL

Riva

Try connecting them to separate arduino power supplies again and if your still not receiving anything then try swapping 5V and data wires on transmitter. Maybe the wires are wrong (I was only guessing)

fasterthanlight

Ah yes, but i now know (from the manufacturer) that i have it wired right. And earlier today i got it to transmit.

I can't seem to replicate that now. Perhaps a dodgy transmitter??

FTL


Go Up