Communicating with 433MHz OOK/ASK wireless modules (#88)

Поделиться
HTML-код
  • Опубликовано: 23 июл 2024
  • This cheap pair of radio modules (transmitter FS1000A and receiver XY-MK-5V) can be bought lots of places online, and all the hard work of using them (at least for Arduino) has been provided in the RadioHead library.
    I connect a couple of Arduinos (Mega and Nano) and transmit a message in the 433MHz ISM band.
    RadioHead library: www.airspayce.com/mikem/arduin...
    My video on serial communciation: • Tutorial: Serial Commu...
    The source code featured in the video is on my github page: github.com/magiccow/ook
  • НаукаНаука

Комментарии • 244

  • @englishrupe01
    @englishrupe01 4 года назад +15

    This is a really fantastic clear explanation of what is happening in these modules! Thank you so much for taking the time to help us newbies to this field. I really appreciate it!

  • @stevenq4859
    @stevenq4859 2 года назад +9

    With out a doubt the most comprehensive and best video on communicating with radio frequency I've seen, thank you.

  • @davidederosi6068
    @davidederosi6068 Год назад +2

    You made difficul things understandable things. You have teaching skills of keeping attention focused and explain the logic of things you are talking about. Thank you.

  • @bgable7707
    @bgable7707 3 года назад +3

    THANK YOU!, for the clear detailed explanation of the ASK and the Receiver mode component back down. It really is quite simple .... when you know what your doing. Cheers

  • @harjeetsinghmakkar5177
    @harjeetsinghmakkar5177 3 года назад +3

    I was really looking for such explaination only. You have quality of a good techer. Nice editing too. Explained so well, slowly but surely. i had to listen to it at 1.75 times the normal speed. But worth it. Keep it up.

    • @MartynDavies
      @MartynDavies  3 года назад

      I definitely can't understand myself at 1.75 speed

  • @BalticLab
    @BalticLab 2 месяца назад +1

    I think this is the first time RUclips recommended your channel to me. Good stuff, subscribed!

  • @bitschips
    @bitschips 4 года назад +1

    Martin, thank you for the explanations and for explaining the transmitter and receiver diagrams (yes it is complicated!) Best regads and be safe.

  • @MrBobWareham
    @MrBobWareham 3 года назад +1

    A very good video with lots of information thank you and no banging music how refreshing

    • @MartynDavies
      @MartynDavies  3 года назад +1

      Thanks. Yes, I dislike constant music in RUclips videos also.

  • @arnolduk123
    @arnolduk123 Год назад +1

    These are very useful modules for basic on off wireless switch but not for critical data exchange as a message can be corrupted along with the checksum to create a valid data packet but with an invalid message. I think for more reliable data exchange the data packet should be checked on both sides. I like your explanation as it is clear and precise. Thanks!

  • @saikumarv2639
    @saikumarv2639 5 лет назад +4

    I Have learned new thing from this video, Good explained .

  • @awaitingthetrumpetcall4529
    @awaitingthetrumpetcall4529 4 года назад +1

    Thanks. I always wanted to know about the circuits inside the modules. I designed my method of sending data based on the TV remote method. I use a 'start bit' and a 'start byte'.

  • @KT-ut9zg
    @KT-ut9zg 5 лет назад +2

    Fantastically detailed explanation. Thanks a million. In a rather silly way, I'm going to see if I can create a simple morse transmitter and receiver using the 'binary' on/off to send and receive.

  • @9wattd
    @9wattd 4 года назад +3

    Thank you, teacher. Your explanation can help me to create & apply some devices. Already subscribed.

  • @manashiroy331
    @manashiroy331 Год назад +1

    Wonderful, in depth explanation. Thank you very much.

  • @bornach
    @bornach 5 лет назад +3

    433MHz ASK is the protocol used by many remote control electrical sockets such as those made by Status. I hooked up the receive module to an oscilloscope to examine the pulses sent when I pressed each button on the remote control. Reverse engineering the codes allowed me to program an Arduino to send the same codes via the transmit module in place of remote control. I can now create a crude Internet of Things switch to turn on and off anything that you plug into the mains.
    I think bitluni's channel goes into more detail on how to use these modules to do this.

    • @MartynDavies
      @MartynDavies  5 лет назад

      I've got some old wireless power switches - I'll have to see if pressing buttons on the remote control results in any messages on the Arduino

    • @jeriellopez4927
      @jeriellopez4927 11 дней назад

      Do you need an oscilloscope to do this? Cannot get the code using arduino?

  • @eagleeye389
    @eagleeye389 5 лет назад +3

    You are a good man, thank you for this information

  •  2 года назад +1

    combining theory with practice, a great video

  • @bjornroesbeke
    @bjornroesbeke 11 месяцев назад +1

    I know these modules are used in wireless doorbells and radio controlled sockets, so i bought and experimented a bit with these modules.
    So far i've only been able to get 30cm range with a 1/4 wavelength antenna, and only when the polarization matches almost exactly.
    The receiver is outputting continuous noise, even when the transmitter is turned off.

  • @demef758
    @demef758 2 года назад +2

    Simple on/off keying communication like this is ideal for standard serial protocols that use stop and start bits to synchronize the data stream. 2400 or 4800 baud should work great. Many uPs are equipped to work with these streams, too. Just make sure both your transmit and receive uPs are set for the same baud rate, and you're in business.

    • @MartynDavies
      @MartynDavies  2 года назад

      I agree. For IoT projects a simple radio link is ideal so that you can make things like remote sensors as cheap and simple as possible.

  • @hadibq
    @hadibq Год назад +1

    Brilliant teaching skills! Thanks a lot!

  • @SLATEB0Y
    @SLATEB0Y 5 лет назад +2

    Very interesting and nicely explained.

  • @vaibhavkhurana215
    @vaibhavkhurana215 3 года назад +2

    Thank you so much !! This was really informative

  • @classicryda120908
    @classicryda120908 5 лет назад

    hi, i am using the same hardware but i cant send a 433 mhz signal from far distance, it is really strange that my receiver can only receive command when the transmitter is located REALLY close to it, like 2-5cm apart, i mean.. whats the point of having RF receiver if the achievable distance is this tiny?
    my goal is to receive a signal from a 433 mhz remote/switch from at least 4m distance
    I also tried to add an antenna for both the tx and rx but still no luck
    any help?

  • @James_Bowie
    @James_Bowie 2 года назад +1

    Very good video, thank you. 👍
    Re the Tx schematic, what is capacitor C1 with the dotted lines? Also, I bought this Tx/Rx set and the Tx came with only one coil -- the larger one. Is this a manufacturing error or have they somehow done away with it?

    • @MartynDavies
      @MartynDavies  2 года назад

      I suppose that C1 allows a low impedance path for high frequencies (i.e. to attenuate them). L1 is in the power rail (is this what's missing?), so this would reduce signals leaking back into the power supply (or microcontroller?). I imagine that both these components could be left out.

  • @abubakarrsawaneh1930
    @abubakarrsawaneh1930 4 года назад +2

    Thanks this is what I was looking for.

  • @2Green2Freak
    @2Green2Freak 3 года назад +1

    Wow thank you very much for this very very educational video

  • @grzesiek1x
    @grzesiek1x Год назад +3

    I make circuits like those ones for my own :) They are really nice to play with

  • @ithaca2076
    @ithaca2076 4 года назад +3

    Your handwriting looks amazing!

  • @louiswilkinson4258
    @louiswilkinson4258 2 года назад +1

    An excellent video ! Thank you very much.

  • @slucas601
    @slucas601 5 лет назад +2

    On the receive module in the circuit where the incoming signal is combined with the 433mhz signal generated in the upper part of the circuit diagram before being amplified by the first op amp, how does the combining of these two inputs decode the incoming signal? Also, what is the practical range and data throughput of these types of modules?

    • @MartynDavies
      @MartynDavies  5 лет назад +1

      I think this is what is called a 'heterodyne demodulator', where you mix the signal with something close to 433Mhz, and this gives you a 'beat' frequency that is the difference of the two, and this will be in the range that the op-amp can amplify. That's probably all you need, since the aim is to distinguish between 'signal' and 'no-signal' for OOK.
      I haven't tested the range, but I imagine quite short due to other devices in the band: car keys, mains remotes and so on. Also, the output stage of the transmitter is only one small transistor as you saw, so the output power is low. You could do a lot better in aerial design of course than (cough) my piece of wire.
      For a range of tens of metres you probably want Bluetooth, or for hundreds of metres Lora. These systems have extra coding in the signal to improve signal to noise ratio and detection of errors.

    • @slucas601
      @slucas601 5 лет назад +1

      Thanks Martyn. I will investigate more and I have a order placed for these parts to experiment with. Great introduction, you have sparked my curiosity.

    • @techinfotahir7912
      @techinfotahir7912 5 лет назад +1

      Yale battan theek nissan.

  • @craiglarson2346
    @craiglarson2346 2 года назад +1

    You say there are four discrete voltage levels for ASK. I had no idea. That raises the value of binary by a square of 2. I continue to be shocked by the fundamentals. Thank you for your clarity and contribution.

    • @MartynDavies
      @MartynDavies  2 года назад

      ASK can have as many levels as you like (with this code I'm using here it is 2, which means the same as OOK), it's all a question of the complexity of the receiver, because of course it gets harder and harder to tell one level from another, the more levels you add.

    • @tlangdon12
      @tlangdon12 2 года назад +1

      As Martyn says, you can have as many levels as your receiver can distinguish between. If your receiver was sensitive enough, e.g. it had eight levels, you could send one byte of data in one time period. This is one way to achieve faster data transmission rates.

  • @hamidrezanaghshehchi7228
    @hamidrezanaghshehchi7228 5 лет назад +2

    Thank you for amazing tutorial, i wanna make a receiver how to get schematic circuit?

    • @MrBobWareham
      @MrBobWareham 3 года назад

      Look on the web for PT2262%20TX-RX%20decoder%20chip.pdf

  • @mysoul1802
    @mysoul1802 2 года назад +1

    Thanks for your sharing, I want to use STM8 instead of arduino board but don't know how.

    • @MartynDavies
      @MartynDavies  2 года назад

      It's been a while since I used the STM8, so I can't help a lot, but I remember that the interface/programmer boards are cheap and that you have to download a special C compiler to program it. Here's a starter tutorial that talks about that: maker.pro/custom/tutorial/getting-started-with-stm8-microcontrollers

  • @cslovell
    @cslovell 6 месяцев назад +1

    Thank you very much for such an informative & quality video. If I may ask: It appeared to me that you did not include the spi library in your receive sketch whereas you did include it in the transmit sketch. Is there any reason it's not required in one but in the other, or was that just an oversight? Also, is the spi library required when specifying the transmit & receive pins?

    • @MartynDavies
      @MartynDavies  6 месяцев назад

      SPI is a different type of serial interface - basically some chips have the SPI pins built-in (e.g. LED controller chips) to allow several chips to share a set of control pins to one controller (e.g. Arduino). This is the 'old-school' serial interface, which at its minimal level just has two pins (RX and ground or TX and ground). This kind of serial interface goes back through the decades to even before I started using computers and connects just two things together, here the Arduino and the RF module.

  • @tlangdon12
    @tlangdon12 2 года назад +1

    Thanks for the video Martyn. Have you done any further experiments with these modules and the library to see what is the maximum data rate that you can get reliable communications with? I think anyone trying to use these modules would benefit from knowing what is realistically achievable with them if you want reliability.

    • @MartynDavies
      @MartynDavies  2 года назад +1

      I haven't experimented with the rate, but I suspect it will be fairly low, firstly because the receiver doesn't use interrupts and so the program is polling for incoming bits, and secondly because the Atmel processor is quite a slow one anyway. I worked on some multi-port serial cards many years ago (also a polling solution), and I think we had the bit rate at 19200 for reliability. Hardware USARTs usually have some kind of buffer (at least a byte) to store incoming bits until the main processor has time to come and service the receive request. The default speed in the RH library seems to be 2000bps.

    • @tlangdon12
      @tlangdon12 2 года назад

      @@MartynDavies Thanks Martyn. That’s really useful.

  • @bjgminten
    @bjgminten 3 года назад

    How do you know how long the period is for one bit in the on/off switching? Can you compare it with a baudrate that you can set to a value in advance? Or does this work totally different?

    • @MartynDavies
      @MartynDavies  3 года назад +1

      In this case, the bit rate over the radio link is set to 2000 when the RH_ASK object is created - so the assumption is that this bit rate is fixed and known to both ends of the communication. In some radio systems it's more dynamic than this - for example you can transmit a preamble with a known bit pattern (e.g. 10101010), which allows the receiver to measure the length of a bit so that it can interpret the rest of the message correctly.

  • @dandwrasan2342
    @dandwrasan2342 5 лет назад +2

    Great vid nicely done ✅👍🏻

  • @ramuvanparti
    @ramuvanparti 5 лет назад +1

    I have created same RF modules using encoding and decoding IC HT12 how range of is very less how can achieve it for 100 meters?

    • @MartynDavies
      @MartynDavies  5 лет назад

      I did not do a range test, but this guy did: quadmeup.com/fs1000a-and-xy-mk-5v-433mhz-rf-modules-overview/

  • @eclecticlife
    @eclecticlife 5 лет назад

    Thanks for the great video!! I am trying to connect the transmitter to a smoke detector, so that when the sensor goes off, it will transmit a signal. I was just providing 9volts to the data pin but it doesn't send any signal. Any help would be greatly appreciated. Thanks in advance

    • @drjwilber
      @drjwilber 4 года назад

      Memory of between 200 hz and 3khz to data pin at 5v -

  • @wardhum6611
    @wardhum6611 3 года назад +1

    Great video, great explanation. Thank you.

  • @egyrmexiq1
    @egyrmexiq1 4 месяца назад +1

    Beautiful explanation, thanks for posting..

  • @AndyMcGeever
    @AndyMcGeever Год назад +1

    For simpler calculation of wavelength to one Mhz if you don't need to be ultra precise - 300/Freq - 300/433=0.69m or 69 cm. Antennas designed for the 70cm amateur band work well for these transmitters.

  • @kaustubhponkshe6186
    @kaustubhponkshe6186 5 лет назад +1

    Can I transmitt PWM signal generated from arduino using these RF modules ?

    • @MartynDavies
      @MartynDavies  5 лет назад +1

      yes, that should work - the 'on' pulses will get modulated with the 433MHz carrier, and your original PWM waveform should get recovered at the receiver

  • @Willy_Tepes
    @Willy_Tepes 4 года назад

    Can you use these without a microcontroller, like a pushbutton on the transmitter that lights a LED on the receiver? It is just an on/off signal that is sent anyway.

    • @MartynDavies
      @MartynDavies  4 года назад +1

      Yes. The output of the receiver should be the same as the state at the transmitter input.

    • @Willy_Tepes
      @Willy_Tepes 4 года назад

      ​@@MartynDavies Great, I am considering making an early warning system for camping and hiking. We have brown bears and wolves around here :)
      Trip wire/IR on the transmitter and a buzzer and LED at the receiver should do the trick.

  • @mouhammadabbasi9548
    @mouhammadabbasi9548 5 лет назад +1

    I want to add a power transistor to increase the range up to 5km
    Is it possible?!
    Plz help
    I have 2n3442 for this

    • @drjwilber
      @drjwilber 4 года назад

      nope - look up the max frequency .- power trans around audio - get small mosfet from ebay
      www.nxp.com/part/BFR93A
      albit no longer manufactured 5 GHz to 6 GHz - and parrallel connect for power

  • @kaustubhponkshe6186
    @kaustubhponkshe6186 5 лет назад +1

    @12.07 , do we need to remove insulation from antenna wire ?

    • @tlangdon12
      @tlangdon12 2 года назад

      No, the insulation can remain on the antenna wire.

  • @batkotivalio
    @batkotivalio 3 года назад

    Hi, is this set suitable for proportional controlling of two brushed motors on rc car and Is it possible to run motors in opposite directions at the same time for drift?

    • @MartynDavies
      @MartynDavies  3 года назад

      Sorry, but I don't know a lot about circuits for radio control.

  • @saikumarv2639
    @saikumarv2639 5 лет назад +5

    Make more videos like this sir.

  • @bigbothoee8617
    @bigbothoee8617 5 месяцев назад +1

    Very nice info and detail have you used these with your own circuit

  • @forthidiot4297
    @forthidiot4297 4 года назад +1

    How to change variable frequency replace components

  • @HanLok420
    @HanLok420 Год назад +1

    Thank you for the detailed explaination Martyn! Is it also possible to activate and deactivate a 433 MHz power outlet with this, if you collect the data send by the remote before?
    If yes, how does the transmitted data code have to look like if you send it as binary or decimal code?
    I have tried the RC-switch library before but it is working very unreliable and before I am buying a new transmitter to exclude a disfunction, I would like to try the RadioHead method.

    • @MartynDavies
      @MartynDavies  Год назад

      I haven't reverse engineered one of those outlet switches before, but yes I would try to capture the transmissions from the remote control and see if I could understand the byte structure. Note that 433MHz is a band (I think about 1MHz wide), so there are variations in frequency between devices, and units from different vendors can be fundamentally incompatible.

    • @HanLok420
      @HanLok420 Год назад

      @@MartynDavies thanks for responding, capturing the signal of the worked out without any issue. The problem i have is, that I dont know how to write the code to transmit the data with this method so the power outlet receives it.

  • @jeffbeck6501
    @jeffbeck6501 Год назад +1

    Awesome video.

  • @8m405
    @8m405 Год назад +1

    Really impressed by your knowledge

  • @DerEineFuck
    @DerEineFuck 3 года назад

    How do you use the incomming data (if it's a number) as an integer to for example set a Led that brightness (analogWrite(LEDPin, TheValue)). I can't find information on that anywhere

    • @MartynDavies
      @MartynDavies  3 года назад

      analogWrite should work, but PWM only works on certain pins - you need to look up which pins can support PWM on your model of Arduino

    • @DerEineFuck
      @DerEineFuck 3 года назад +1

      @@MartynDavies thanks for the reply, Pin 9 seems to interfere with Radiohead (Arduino uno) or is broke. Pin 5 works fine. It took me 3 days to find that out, I feel really stupid

  • @alaanoor3679
    @alaanoor3679 Год назад +1

    Mr, Davies i have a question
    i've noticed that we always use two arduino boards , one for Tx and the other is RX
    for sake of two way communications , can we use a single arduino for tx and RX
    and the other arduino also have TX and RX
    so we can exchange data ?

    • @MartynDavies
      @MartynDavies  Год назад

      For two way communication, you might want a radio module that has both Tx and Rx built-in (i.e. a transceiver), so that you minimise the chance of receiving your own transmission. I think these 433Mhz modules are best used in the simplest applications.

  • @rongarza9488
    @rongarza9488 Год назад

    Thank you, Martyn. Where can I get more information on the different amplitude signals you mentioned from minute 9 to minute 10? Is it just a matter of using different resistors between the transmitter's data pin and gnd, and reading the receiver's data pin as an analog instead of a digital signal? I've just got 3 events (off, medium, and high) so I'm trying to get by without a microprocessor on the send side.

    • @MartynDavies
      @MartynDavies  Год назад

      The FS1000A is a very basic transmitter and I assume that the transistor is just switching the oscillator on and off. However, putting different resistors across the base might work. On the receive side you'll need some different software to decode multiple levels - but I suppose that the Radiohead library has something to do that (i.e. Amplitude Shift Keying).

    • @rongarza9488
      @rongarza9488 Год назад

      @@MartynDavies Thanks, Martyn, as soon as I can get them I'll give it a test.

    • @rongarza9488
      @rongarza9488 Год назад

      @@MartynDavies Okay my tests show that on-off works but halfway with resistors doesn't send signals of varying strengths. IMSAI Guy posted a schematic of the transmitter. I wish there were a schematic for the receiver. Could the receiver work better with adjustment? There appears to be a variable resistor in the middle of the PCB.

    • @MartynDavies
      @MartynDavies  Год назад

      @@rongarza9488 I do show the receiver schematic in this video. This receiver won't work unmodified for your application though as the last stage is a comparator that forces the signal into on or off.

  • @mannnanshaikh7608
    @mannnanshaikh7608 2 года назад +1

    you are god sir . very clear explanation. thank you soo much

  • @emylrmm
    @emylrmm 3 года назад

    Some of the designs for the Receiver are very sensitive to noise on the VCC connection. Even a tiny voltage ripple on VCC may cause output to put out a continuous square wave. That will render data reception impossible. Power the receiver from a very tightly regulated 5 volt supply

    • @MartynDavies
      @MartynDavies  3 года назад

      That's interesting. My 5V power source (a Riden module) seems very stable.

  • @saikatd9037
    @saikatd9037 3 года назад

    Why D11?
    May I change Transmitter pin or Receiver pin in arduino code?
    Please describe the library functions

    • @MartynDavies
      @MartynDavies  3 года назад

      The documentation is online (www.airspayce.com/mikem/arduino/RadioHead/classRH__ASK.html), where you can see that 'rxPin' has a default of 11. You can of course override that in your RH_ASK declaration, as I do for the transmit side (see 14:29)

  • @imtrung5244
    @imtrung5244 23 дня назад +1

    Thank you so much for clarifying me about 433mhz. I bought one receiver and a remote. But I don’t know why the distance is too short (abt 17cm) even I tried to use antenna of 17.2cm. Do you know what happened to my receiver?

    • @MartynDavies
      @MartynDavies  18 дней назад +1

      To be honest, I haven't tried to see what distances it will work, but I seem to remember that someone on YT has done a video on this.

  • @douglasheld
    @douglasheld 2 года назад +1

    15:57 Thank you, I really like your buffer management and explanation. This code makes much more sense to me than the RH example code with the gratuitous use of the *s.
    When you slap the buf[buflen]=0; however, isn't this writing beyond the end of the buffer? I can appreciate the clarity but maybe you should expect a message of BUFSIZE-1, and then add on the protective trailing 0 before interpreting the bytes as a string.

    • @MartynDavies
      @MartynDavies  2 года назад +1

      True. Perhaps I corrupted the following item in memory, but I seem to have got away with it this time.

    • @douglasheld
      @douglasheld 2 года назад +1

      @@MartynDavies Oh, thank you for confirming. I am still learning this language.

  • @kamleshchavan7451
    @kamleshchavan7451 3 года назад +1

    Sir can it be possible for you to explain the RF receiver module circuit diagram more in detail , I mean everything in detail

  • @matheokoning4456
    @matheokoning4456 2 года назад

    I tried to copy the transmitter module but I can't get it to work. I tried the schematic you show in the video and several others on the web that are similar but with different resistor values. When I connected the ground pin of the resonator to L1 inductor, it worked for a short while. Did you or someone manage to copy the transmitter module to process in a pcb or does anyone have any tips what I can do to get it working? Is there a way to test if the resonator is still good? Would really like to be able to do this myself but have no idea how to troubleshoot.

    • @MartynDavies
      @MartynDavies  2 года назад

      No, I just used an off-the shelf one. I suspect the finished ones from China are cheaper than I could get the components for.

    • @matheokoning4456
      @matheokoning4456 2 года назад

      @@MartynDavies That's right. The modules are indeed cheaper than if you make it yourself. But I want to learn and like to make my own projects in my own pcb. Unfortunately I can't find much information about this on the internet. Or am I looking wrong :-)

  • @the1spyderryder
    @the1spyderryder Год назад +1

    The round device on the transmitter is a SAW device not a crystal as one would think of it.

  • @pro-eq9oy
    @pro-eq9oy 2 года назад +1

    Very valuable information for me. thnks

  • @Arvinthhh
    @Arvinthhh 4 года назад

    Nice work. Can you share the detailed schematic diagram?

    • @MartynDavies
      @MartynDavies  4 года назад +2

      If you go to google images and search for 'fs1000a schematic' and 'xy-mk-5v schematic', you will find them.

  • @ekamautomation1567
    @ekamautomation1567 Год назад

    Can we use multiple transmitter and receiver in one room with different address mode

    • @MartynDavies
      @MartynDavies  Год назад

      Receivers will likely receive every transmission, but you could code every message sent, then in software decide which codes to act on in any given receiver.

  • @Maolana_ModiG
    @Maolana_ModiG Год назад +1

    EXCELLENT VIDEO

  • @eandechannelwiththaranga5360
    @eandechannelwiththaranga5360 4 года назад +2

    Great information

  • @MariaSouza-mg8bs
    @MariaSouza-mg8bs 2 года назад

    Tem como colocar um amplificador de áudio no receptor mudar a bobina para escutar aviação?

  • @funnyexperiment1576
    @funnyexperiment1576 2 года назад +1

    Kitne metar pe kam karta he

  • @simonsalon9478
    @simonsalon9478 2 года назад +1

    MR Martyn Can i transmit with this tx module another freqency? under 433Mhz I mean

    • @MartynDavies
      @MartynDavies  2 года назад

      It's an oscillator based around a 433Mhz crystal - I expect if you swapped in another crystal, you could change the frequency.

    • @simonsalon9478
      @simonsalon9478 2 года назад

      @@MartynDaviesThank you for answer i gor it but Sir for example i wanna transmit a frequenct like 412.2mhz ,so when the module support 433 mhz ,any way with add some other element ? changeable frequency crystal

  • @tonywright8294
    @tonywright8294 3 года назад +1

    Why did you keep moving the parts ?

  • @meszarosistvan197603
    @meszarosistvan197603 Год назад +1

    Perfect! Bravo, and thanks....

  • @surenbono6063
    @surenbono6063 Год назад

    ..can the transmitter work one to many receiver at the exactly same time and data within it's range like normal broadcast..?..I have checked it it's not as good as espnow on esp8266.. ~30m

    • @MartynDavies
      @MartynDavies  Год назад +1

      Yes you can broadcast, and in fact this is a disadvantage of these simple transmitters - anyone can receive and decode the data. You might not want a simple setup like this to control a gate or door.

    • @surenbono6063
      @surenbono6063 Год назад

      @@MartynDavies ..you can always add a password to verify data reception.. string length check are never good enough...better with espnow broadcast

    • @arnolduk123
      @arnolduk123 Год назад +1

      @@surenbono6063 Yeah, but anyone could simply capture the whole data stream and resend it with the captured password, no need to even know what it is. 🙄

    • @surenbono6063
      @surenbono6063 Год назад

      @@arnolduk123 ...of course it's not an important data transmission like a redundant clock info on each reception side..I'm interested in rf clock projects...

  • @johnthompson4011
    @johnthompson4011 11 месяцев назад

    Thank you bro,Made it crystal clear for, but had to play it at 1.75x speed to not fall asleep, get rid of the umms,errs etc...

  • @althuelectronics5158
    @althuelectronics5158 2 года назад +1

    Am used this Modyool but one problem.
    No range 100mr . Haw to boost range in circuit Sir

    • @MartynDavies
      @MartynDavies  2 года назад

      You might get improved range with a better antenna, but this module is intended to be a very low power transmitter.

  • @SAURABHKUMAR-vk5xb
    @SAURABHKUMAR-vk5xb 3 года назад

    Sir, my modules are not working, please can you suggest something what should I do. I'm doing a project on gesture control robot with accelerometer and making it wirelessly using rf 433mhz modules but I'm not receiving anything on the receiver side, what should I do please help ! Thank You

    • @windowsxseven
      @windowsxseven 2 года назад

      🇮🇳🤮🤮🤮🤮🤮🤮

    • @SAURABHKUMAR-vk5xb
      @SAURABHKUMAR-vk5xb 2 года назад

      @@windowsxseven Well sucks to you. I had completed my project and it works. Need Anything ?

    • @windowsxseven
      @windowsxseven 2 года назад

      @@SAURABHKUMAR-vk5xb defensive

  • @euphoriachemistryclasses1383
    @euphoriachemistryclasses1383 2 года назад

    I am facing problem with this FS1000A module. They are not communicating. I noticed one thing that in my Rx circuit there is no 1uH inductor, but I can see in your this video that your Rx module has a green coloured inductor of 1uH ( color code Brown, black, golden,silver). Is this the reason that my Tx and Rx modules are not communicating? Each and every effort I made to communicate them but nothing is happening. Can you help me what could be the possible reason.

    • @MartynDavies
      @MartynDavies  2 года назад

      If the inductor is missing, the emitter of the transistor won't be connected to ground, so yes that would stop the oscillator.

    • @euphoriachemistryclasses1383
      @euphoriachemistryclasses1383 2 года назад

      @@MartynDavies if I use inductor other then 1uH the it work? because I use 3.3uH nothing happened as I have inductor of only this value this time.

    • @MartynDavies
      @MartynDavies  2 года назад

      @@euphoriachemistryclasses1383 This looks like a tuned circuit (there's no crystal to set the frequency of the receive side), so I suspect the value is important.

    • @euphoriachemistryclasses1383
      @euphoriachemistryclasses1383 2 года назад

      @@MartynDavies ok

  • @pupupupu448
    @pupupupu448 2 года назад

    Hello Martyn, thanks for this great Video! But one question i have.. i cant get any results on google..
    so what happends if there is a sender which always sends an signal, so always voltage on..
    Now you have a receiver near, but how now the receiver can get other signals then 1, if one is permanently sending 1.. (or sending permanently waves) how a receicer can now get any 0's?
    The wave which the receiver becomes will look always ^^^^^^ because another sender is permanently on? Now if another sender want to send waves the reveiver cant get any offs, because of the sender which permanently sends? Or do i missing something?
    Thanks you!

    • @MartynDavies
      @MartynDavies  2 года назад +1

      Yes, this rather simple form of modulation can be jammed quite easily. A more sophisticated scheme, like spread spectrum, allows the energy to be distributed so that sending a single jamming signal has a limited effect on the system, and the signal can still be received despite the additional noise.

    • @pupupupu448
      @pupupupu448 2 года назад

      @@MartynDavies Okay, thanks :)
      how you mean it exactly? use a range of frequencies?

    • @MartynDavies
      @MartynDavies  2 года назад

      @@pupupupu448 It's rather complicated, but spread spectrum technologies add a spreading code that makes the signal use a much wider frequency band, such that when you despread the signal, the overall effect of noise (and other signals) is less. This simple radio module cannot do that.

  • @user-ds5pn2vi4x
    @user-ds5pn2vi4x Год назад

    Автор, можно скетч для трансмиттера отправки конкретного кода 24 bit?

  • @cinibar
    @cinibar Месяц назад +1

    Excellent description of this system! Thank You! Which now inspires some questions! PLEASE bear with me here. The frequency number mentioned is 433 MHz. I'm guessing that it is exactly 433.000, correct? So since this is probably right, then if I had more than one of these transmitters, they would all be on 433 and so all receivers are tuned to the same 433.000, correct? If so then if two or more transmitters are transmitting simultaneously, then the receivers would all hear/receive all transmitters at once?! Correct? Since the receivers are not using a crystal for the receive frequency, It appears that the receiver is somewhat wide banded and tunable as you mention.
    What I would like to do is use this system but have no transmitter/receiver pair interfere with each other. By them all being on the same frequency, 443.000 this has to be a problem.
    Can the transmit crystal/oscillator be changed to a slightly different frequency and then retune the receiver to that new frequency? I'm thinking it should be able to do this.
    The replacement 'oscillator' I would use is a SiT8008B programmable IC. What I would like to do is use a few of these in somewhat close proximity of each other without any of them causing interference with the others.
    Yout thoughts Sir?
    Thank you very much! Cheers!

    • @MartynDavies
      @MartynDavies  18 дней назад

      If multiple transmitters send at the same time, then yes interference can happen. However this scheme only sends carrier for 1's, so you might get away with having multiple transmitters as long as they're sending infrequently. Also, stronger signals (e.g. closer modules) will likely get precedence over weaker. These are very simple radios and don't have features for contention, security, acknowledgements etc. For complex scenarios, you might switch to OFDM, bluetooth, Lora etc.

    • @cinibar
      @cinibar 18 дней назад +1

      @@MartynDavies Thank You! I will also be checking out the HC12 module in which you can program it for slightly different frequencies. That way they should not interfere with others.

  • @bigbothoee8617
    @bigbothoee8617 5 месяцев назад

    How far will they work apart without antana Im hoping to have less than 1 meter apart

    • @MartynDavies
      @MartynDavies  5 месяцев назад

      I didn't experiment much with the distance

  • @btzee
    @btzee 3 месяца назад

    if someone sniffs and copies the transmitter and replays it? Is there any security in these modules?

    • @MartynDavies
      @MartynDavies  3 месяца назад

      No, there's no security. It sends a simple signal and in the clear, so is easily compromised.

  • @gartmorn
    @gartmorn 5 лет назад +2

    Martyn is your background in software/electronics through work or is it just a hobby as you seem very knowledgeable imho?

    • @MartynDavies
      @MartynDavies  5 лет назад +2

      Electronics is a hobby (since my teen years). Software, cloud technology and computer communications is my daily work. I've studied software, electronics and radio; it's great to know some theory but really good to wire things up and actually do stuff; that's what really where you really find that you know what you can do.
      Thanks for following my videos, I really appreciate your support, and best wishes for the Christmas season!

    • @gartmorn
      @gartmorn 5 лет назад +2

      @@MartynDavies I thought you might have a background in software! I worked as an electrical fitter and as a plant operator in the power industry until getting early, ill health, retirement following a bad accident in the power station! We worked on all kinds of plant and control gear from 17kv downwards but it was mostly relays, contactors etc and any electronics was dealt with by the instrument techs! I did a bit of electronics when I was an apprentice and took it up again when I retired although I have always dabbled a bit! I'm afraid programming is a bit of an Achilles heel for me but I'm trying my best! I love your channel as it's a good mix and you explain things well and assume nothing of your viewers! Keep up the great work!
      Davy

  • @caner8688
    @caner8688 4 года назад +1

    what is the length of the antenna belonging to transmitter? please

    • @MartynDavies
      @MartynDavies  4 года назад

      I don't have the unit with me, but the wavelength at 433MHz is 0.69m, so most likely 17cm, which is about a quarter wavelength.

    • @demef758
      @demef758 2 года назад

      3*10^8 / (4 * 433 * 10^6) = 17.3 cm, and for both transmitter AND receiver!

  • @ItsMeK99
    @ItsMeK99 Год назад

    Can i get a voltage signal and plot it from these antennas ???

    • @MartynDavies
      @MartynDavies  Год назад

      Yes, but the OOK signal isn't so interesting; either the carrier is present, or it's not.

    • @ItsMeK99
      @ItsMeK99 Год назад

      @@MartynDavies can you help with the code for the transmitter and receiver

  • @asharampatel8429
    @asharampatel8429 3 года назад

    Please explain ht12e & ht12e with logic circuit

    • @MartynDavies
      @MartynDavies  3 года назад

      I don't have these chips at the moment, but this might be what you are looking for: www.instructables.com/Make-a-RF-Transmitter-and-Receiver-With-HT12E-HT12/

  • @jimver04
    @jimver04 5 месяцев назад

    4th unused pin is analog receive?

    • @MartynDavies
      @MartynDavies  5 месяцев назад

      Just joined to the other centre pin

  • @channel1-u8z
    @channel1-u8z 2 года назад

    Can i use the receiver to receive data from a HC 12 transceiver? I have read that HC 12 uses gfsk. Will it be able to communicate with the receiver which is ook/ask?

    • @MartynDavies
      @MartynDavies  2 года назад

      No, these simple modules only have one carrier frequency and can't support FSK.

    • @channel1-u8z
      @channel1-u8z 2 года назад

      @@MartynDavies Thank you for replying. Last question, the receiver i got which is the same model as this uses 315 mhz. If I use it alongside with a HC 12 transceiver which is 433mhz, will they interfere each other?

    • @MartynDavies
      @MartynDavies  2 года назад

      @@channel1-u8z I don't have any equipment for measuring RF emissions so I don't know, but the FS1000A has no kind of shielding so it could be quite noisy. I would just try it and see how it goes; they are on very different frequencies so that is in your favour.

    • @channel1-u8z
      @channel1-u8z 2 года назад

      @@MartynDaviesThanks

  • @manjurohila4248
    @manjurohila4248 4 года назад +1

    nice explanation thanks

  • @chenitimohamed4141
    @chenitimohamed4141 2 года назад +1

    Please tell me the type of oscillator, is it colpitt oscillator or not

  • @kabirsharma4820
    @kabirsharma4820 4 года назад +1

    Hey, great video..
    I m trying bidirectional communication using these sensors.
    I have a transmitter and receiver on remote and a transmitter and receiver on robot.
    The robot will send the battery voltage to the remote, (only if the voltage is in acceptable limit the remote should work), then the remote will send command to the robot to move (forward backward sideward etc).
    I m doing this using arduino nano but bidirectional is not working.
    have you tried bidirectional communication, is it working?

    • @MartynDavies
      @MartynDavies  4 года назад +1

      No, I haven't tried bi-directional with these modules. I can see that it might be a problem that both directions will be using exactly the same carrier frequency, so the sender will hear its own signal (and probably quite loud). It's quite common in radio technologies to use slightly different frequencies for the two directions.

  • @user-bj4lp3fr1o
    @user-bj4lp3fr1o 2 года назад +1

    I only get about a 5 foot range even with a 17.3 mm antenna.

    • @MartynDavies
      @MartynDavies  2 года назад +1

      That is poor. I would suspect a faulty module.

    • @dronesrus7436
      @dronesrus7436 Год назад

      Your antenna must have 17,3 cm, not mm. More power Addition with higher Transmiter-voltage, e.g. 9 V is better than 5 V... good luck

    • @user-bj4lp3fr1o
      @user-bj4lp3fr1o Год назад +1

      @@dronesrus7436 Thanks for the correction. I'll try it with the longer antenna.

  • @kibonumwemedia7474
    @kibonumwemedia7474 3 года назад +2

    Thank u bro

  • @vladimirpotapov7050
    @vladimirpotapov7050 2 года назад +1

    Thank you a lot!

  • @e1Pr0f3ss0r
    @e1Pr0f3ss0r 4 года назад +1

    Can I receive an 433 MHz Freq RF code and reply back with this module?
    If not will u plz help me for How to make that kind of module..by using Arduino...plz it's request.

    • @MartynDavies
      @MartynDavies  4 года назад +1

      One module is a transmitter and the other is a receiver, so no you can't reply back. You can get combined transmitter/receivers (transceivers); they're a little more expensive. Search on ebay or aliexpress for '433 transceiver' and you will find some choices.

    • @dronesrus7436
      @dronesrus7436 Год назад +1

      @@MartynDavies this is a intressting point. With 4 modules (2 transmitter and 2 receiver) is a full-duplex-reply possible, but one transmitter has to be a master and must wait for the reply to avoid frequency-mismatch. The other transmitter is a slave and transmit data only on demand from the master...

    • @MartynDavies
      @MartynDavies  Год назад

      @@dronesrus7436 Probably desirable to disable your own receiver while transmitting, to avoid receiving your own TX.

    • @dronesrus7436
      @dronesrus7436 Год назад

      @@MartynDavies yes, that's right. It's all a matter of software. As long as the current consumption of the receiver module is less than 20 mA, this module can simply be powered by an I/O pin from the Arduino - and switched on and off if necessary... it's just one idea out of many...

  • @Anhad1313
    @Anhad1313 Год назад +1

    Buy link?

  • @Mr_Tophat
    @Mr_Tophat 16 дней назад +1

    Nice pen

  • @douglasheld
    @douglasheld 2 года назад +1

    5:25 that's only one significant digit!