Author Topic: Need help with 433mhz tx-rx module project  (Read 5168 times)

0 Members and 1 Guest are viewing this topic.

Offline victorTopic starter

  • Regular Contributor
  • *
  • Posts: 110
  • Country: 00
  • Boy who writes code and take things apart
    • vitim.us
Need help with 433mhz tx-rx module project
« on: July 07, 2013, 07:52:32 pm »
Hi there,

First of all I would like to say, that I'm a beginner in electronics, I watch the eevblog on youtube every single week, for quite a while.

I built a pretty basic schematic myself, and not surprisingly it works but not as expected since I built it myself. lol

I'm using a pair of RX-TX 433mhz modules, for a IR remote extender. It works, it transmit data and the receiver just repeat the data transmitted. The problem, whenever the transmitter is not sending any data, the receiver part keeps picking noise.


This part works just fine


RX module keeps receiving noise.

I tried adding 10k and 4.7k pull-down resistor to the data-out pin, without any success. mesuring with a multimeter there's a voltage floating around 1.8~2.8volts.
But the datasheet says

Data High | +200uA | Typical Vcc
Data Low | -10uA | Max 0.3v

I need help.
« Last Edit: July 07, 2013, 07:57:15 pm by victor »
your body is limited, but not your mind
 

Offline David_AVD

  • Super Contributor
  • ***
  • Posts: 2840
  • Country: au
Re: Need help with 433mhz tx-rx module project
« Reply #1 on: July 07, 2013, 10:44:44 pm »
The random noise on the output (when not receiving a signal) is normal for an OOK receiver.  Your decoding will have to deal with it.
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8330
Re: Need help with 433mhz tx-rx module project
« Reply #2 on: July 08, 2013, 05:10:14 am »
The ISM bands are shared, and when the FCC says "this device must accept any interference received, including interference that may cause undesired operation", they mean it.
 

Offline kizzap

  • Supporter
  • ****
  • Posts: 477
  • Country: au
Re: Need help with 433mhz tx-rx module project
« Reply #3 on: July 08, 2013, 06:29:12 am »
What exactly is that 555 timer supposed to be doing? The Trigger, Threshold and discharge look like they do nothing at all.... shouldn't there be a voltage source there somewhere?

secondly, why control the 555 by the power rail? surely you should be using the data out with the trigger input?

Surely the resistor between reset and VCC is unnecessary too?

I'm going to assume that you are using the 555 as a basic on/off toggle for the data LEDs, in which case what I would be doing is finding the voltage at which the data feed outputs, and set the threshold of the trigger at a point below that voltage, and that hopefully should get rid of some of the noise.


as it stands though, that 555 timer looks like it is doing nothing at all.

-kizzap
<MatCat> The thing with aircraft is murphy loves to hang out with them
<Baljem> hey, you're the one who apparently pronounces FPGA 'fuhpugger'
 

Offline fcb

  • Super Contributor
  • ***
  • Posts: 2125
  • Country: gb
  • Test instrument designer/G1YWC
    • Electron Plus
Re: Need help with 433mhz tx-rx module project
« Reply #4 on: July 08, 2013, 01:04:27 pm »
A couple of things.

I would probably have a 10K or smaller pull-down resistor on the data-in on the TX, to make sure you get a nice low voltage when off.

The IR receiver part demodulates the 38-42KHz AM signal, so the data you are sending is likely just a short burst - you need to make sure that this demodulated data is going through your link correctly and not inverted or has distorted pulses.

The 555 on the transmit end is to modulate the data with the new carrier frequency - I'm not sure I like the switching Vcc with data onto the 555, but it would probably work if it can settle fast enough.  I'd probably leave the 555 running and gate the output or perhaps jam the RC network.

Like kizzap says the resistor on the reset pin of the 555 is not necessary - but won't hurt.

Your receiver data-hi must also be within 0.3V of Vcc or that transistor will start conducting, probably but a Vcc based potential-divider on the output of the receiver, say 2k2/10k.

But the thing it sounds like is that you have no muting and just spitting out garbage when not receiving - are you using AM or FM modules? - do you understand AM thresholds or FM RSSI?
https://electron.plus Power Analysers, VI Signature Testers, Voltage References, Picoammeters, Curve Tracers.
 

Offline komet

  • Supporter
  • ****
  • Posts: 155
  • Country: ch
  • Shenzhen Retroencabulator Mfg. Co.
Re: Need help with 433mhz tx-rx module project
« Reply #5 on: July 08, 2013, 01:18:51 pm »
Those eBay 433MHz modules are huge pieces of shit and the behaviour you get is "expected".

You might consider continually transmitting some dummy data as a workaround, but I've found that the correct way to use these modules is to toss them out of the window and get some zigbee or bluetooth bridges instead.
 

Offline victorTopic starter

  • Regular Contributor
  • *
  • Posts: 110
  • Country: 00
  • Boy who writes code and take things apart
    • vitim.us
Re: Need help with 433mhz tx-rx module project
« Reply #6 on: July 08, 2013, 09:19:51 pm »
What exactly is that 555 timer supposed to be doing? The Trigger, Threshold and discharge look like they do nothing at all.... shouldn't there be a voltage source there somewhere?

secondly, why control the 555 by the power rail? surely you should be using the data out with the trigger input?


I forgot to add a 4k7 resistor between threshold/trigger and 5v. Surprisingly it was working without it.
I connected the 555 directly to 5v, and I'm driving it by the reset pin.

Playing around I found that adding a 100k pull down to the undocumented linear out, seems to hold the data pin low when idle.
I need to test further more, unfortunately I don't have a oscilloscope, but I managed to use my mac line in to calibrate the 555 to oscillate to 37Khz (the carrier frequency).
your body is limited, but not your mind
 

Offline Skimask

  • Super Contributor
  • ***
  • Posts: 1433
  • Country: us
Re: Need help with 433mhz tx-rx module project
« Reply #7 on: July 09, 2013, 04:21:29 am »
Ain't nothing wrong with these cheapo 433mhz TX and RX modules that a little bit of EDUCATION won't fix!
In very short...  You can't use them like a regular old serial-in / serial-out type TX and RX.  You have to send a preamble to 'train' the receiver and each 'packet' of data can't be all that long before the receiver 'forgets its training'.  You have to encode the data to be sent and decode the data received.
I've used these type of ASK/OOK modules for a number of years on a handful of projects.
They work just fine.....If you know how to use them...
I didn't take it apart.
I turned it on.

The only stupid question is, well, most of them...

Save a fuse...Blow an electrician.
 

Offline David_AVD

  • Super Contributor
  • ***
  • Posts: 2840
  • Country: au
Re: Need help with 433mhz tx-rx module project
« Reply #8 on: July 09, 2013, 06:17:33 am »
Yes, in the absence of a strong signal, the receiver starts hunting and picks up every little bit of RF rubbish.  This is perfectly normal behaviour.

Most remote controls that use OOK (On-Off-Keying) transmission send either a preamble or the same data packet several times in a row as the first one will be corrupted.
« Last Edit: July 09, 2013, 06:19:21 am by David_AVD »
 

Offline tiofilo75

  • Contributor
  • Posts: 37
Re: Need help with 433mhz tx-rx module project
« Reply #9 on: July 10, 2013, 05:27:10 am »
I used these same modules to remotely switch some led lights i made for my aquarium. I used a 555 timer tied to the transmitter and a pic tied to the receiver that was programmed to count the number of pulses over a specified time interval.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf