Go Down

Topic: 433mhz Receiver (Read 1 time) previous topic - next topic

fasterthanlight

Due to conflicting information, there is a good chance i connected one of these up wrong, switching Gnd and 5v. Now i can't seem to get it to work.

Does that mean its fried? And is there a way to test this?

Thanks.

FTL


Krodal

The only way is to buy an other one to compare them.

Was it powered via the Arduino with the USB bus or did you use an adapter with more current ?

fasterthanlight


Riva

#3
Feb 15, 2013, 12:35 pm Last Edit: Feb 15, 2013, 02:00 pm by Riva Reason: 1

Due to conflicting information, there is a good chance i connected one of these up wrong, switching Gnd and 5v. Now i can't seem to get it to work.

Did you ever have it working? Assuming you have a matching transmitter then try the below sketch to see what you get.
Code: [Select]
void setup() {
   pinMode(3,INPUT);        // ISR 1 Pin
   pinMode(7,OUTPUT);       // TX Pin
   pinMode(13,OUTPUT);      // Onboard LED
   attachInterrupt(1,rxISR,CHANGE);
}

void rxISR(){
   digitalWrite(13,digitalRead(3));    // Echo pin state to LED
}

void loop() {
   digitalWrite(7,HIGH);
   delay(100);
   digitalWrite(7,LOW);
   delay(100);
}

EDIT: Adding explanation...
Connect arduino pin 7 to the TX module DATA pin.
Connect arduino pin 3 to the RX module DATA pin.
Connect arduino 5V & GND to VCC & GND respectfully on both modules.
Upload sketch and run it and the arduinos on-board LED (pin 13) should flash on/off as the transmitter is turns on/off.
http://forum.arduino.cc/index.php?action=unread;boards=5,67,10,11,66,12,15,17,21,22,23,24,25,29;ALL

fasterthanlight

Right, got the receiver working. Thanks for the help folks.

Now to figure out the transmitter. I can't believe it cam with no documentation. All these devices are different.

How can i tell what pins are what. Will photo be useful?

FTL

Riva


Now to figure out the transmitter. I can't believe it cam with no documentation. All these devices are different.

How can i tell what pins are what. Will photo be useful?

Look on both sides of the board near the pins and hopefully it will have something. If not then send pictures of both sides of the transmitter. The example image I posted has 3x TX module pins that are DATA, VCC & GND as you look in the photo but yours may be different so best to be sure first.
http://forum.arduino.cc/index.php?action=unread;boards=5,67,10,11,66,12,15,17,21,22,23,24,25,29;ALL

fasterthanlight

Hope these are clare enough.

FTL

Krodal

I can't find it.
The pins are most of the times : Ground, Data, Vcc, Antenna.
If you look at the board with a magnifier, perhaps you can see which pin is ground and which is the antenna.

fasterthanlight

Its difficult to tell what is what. Even with a magnifyng glass... the back is really cluttered.

FTL

Krodal

Do you have a flat bed scanner, perhaps that can make a good scan/photo.

MisterResistor

Put your camera on manual focus, and back away from the paper it's on. The background paper in the foil side shot is in focus, but with the limited depth of field, the foil side is out of focus. Manually focus that camera if you can, else take multiple shots of both sides, and pick those two that are sharp. Keep it smaller in size, we can blow up a clear shot on this end.

Riva

Looks like they forgot to silkscreen  the board  :(
The image of the back (with components on) could be a bit clearer.
Looking at the front (the side with the big metal can) the second pin (from the left) is most likely GND but without a clear picture of the back cannot figure the other pins out.
Wait for other peoples opinions and hopefully grab a better image of the back but my guess is ANT, GND, DATA & VCC or ANT, GND, VCC & DATA
http://forum.arduino.cc/index.php?action=unread;boards=5,67,10,11,66,12,15,17,21,22,23,24,25,29;ALL

fasterthanlight


Erni

It Looks like this one

http://detail.china.alibaba.com/offer/1126300215.html

But as you say there are so many different.

fasterthanlight


It Looks like this one

http://detail.china.alibaba.com/offer/1126300215.html

But as you say there are so many different.



Close bit no cigar...

FTL

Go Up