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

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 เม.ย. 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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 239

  • @englishrupe01
    @englishrupe01 4 ปีที่แล้ว +14

    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 ปีที่แล้ว +8

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

  • @BalticLab
    @BalticLab 4 วันที่ผ่านมา +1

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

  • @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

  • @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.

  • @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

  • @bitschips
    @bitschips 3 ปีที่แล้ว +1

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

  • @eagleeye389
    @eagleeye389 5 ปีที่แล้ว +3

    You are a good man, thank you for this information

  • @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 .

  • @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 TH-cam videos also.

  • @awaitingthetrumpetcall4529
    @awaitingthetrumpetcall4529 3 ปีที่แล้ว +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.

  • @manashiroy331
    @manashiroy331 ปีที่แล้ว +1

    Wonderful, in depth explanation. Thank you very much.

  • @9wattd
    @9wattd 4 ปีที่แล้ว +3

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

  • @HalilGok
    @HalilGok ปีที่แล้ว +1

    combining theory with practice, a great video

  • @hadibq
    @hadibq ปีที่แล้ว +1

    Brilliant teaching skills! Thanks a lot!

  • @vaibhavkhurana215
    @vaibhavkhurana215 3 ปีที่แล้ว +2

    Thank you so much !! This was really informative

  • @SLATEB0Y
    @SLATEB0Y 5 ปีที่แล้ว +2

    Very interesting and nicely explained.

  • @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

  • @abubakarrsawaneh1930
    @abubakarrsawaneh1930 4 ปีที่แล้ว +2

    Thanks this is what I was looking for.

  • @bigbothoee8617
    @bigbothoee8617 2 หลายเดือนก่อน +1

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

  • @bjornroesbeke
    @bjornroesbeke 8 หลายเดือนก่อน +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.

  • @dandwrasan2342
    @dandwrasan2342 5 ปีที่แล้ว +2

    Great vid nicely done ✅👍🏻

  • @louiswilkinson4258
    @louiswilkinson4258 2 ปีที่แล้ว +1

    An excellent video ! Thank you very much.

  • @grzesiek1x
    @grzesiek1x ปีที่แล้ว +3

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

  • @wardhum6611
    @wardhum6611 3 ปีที่แล้ว +1

    Great video, great explanation. Thank you.

  • @2Green2Freak
    @2Green2Freak 3 ปีที่แล้ว +1

    Wow thank you very much for this very very educational video

  • @Maolana_ModiG
    @Maolana_ModiG 9 หลายเดือนก่อน +1

    EXCELLENT VIDEO

  • @mannnanshaikh7608
    @mannnanshaikh7608 2 ปีที่แล้ว +1

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

  • @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.

  • @ithaca2076
    @ithaca2076 4 ปีที่แล้ว +3

    Your handwriting looks amazing!

  • @cslovell
    @cslovell 3 หลายเดือนก่อน +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  3 หลายเดือนก่อน

      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.

  • @jeffbeck6501
    @jeffbeck6501 ปีที่แล้ว +1

    Awesome video.

  • @saikumarv2639
    @saikumarv2639 5 ปีที่แล้ว +5

    Make more videos like this sir.

  • @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.

  • @8m405
    @8m405 10 หลายเดือนก่อน +1

    Really impressed by your knowledge

  • @meszarosistvan197603
    @meszarosistvan197603 ปีที่แล้ว +1

    Perfect! Bravo, and thanks....

  • @eandechannelwiththaranga5360
    @eandechannelwiththaranga5360 4 ปีที่แล้ว +2

    Great information

  • @the1spyderryder
    @the1spyderryder 10 หลายเดือนก่อน +1

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

  • @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.

  • @egyrmexiq1
    @egyrmexiq1 2 หลายเดือนก่อน +1

    Beautiful explanation, thanks for posting..

  • @pro-eq9oy
    @pro-eq9oy 2 ปีที่แล้ว +1

    Very valuable information for me. thnks

  • @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.

  • @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.

  • @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.

  • @johnthompson4011
    @johnthompson4011 8 หลายเดือนก่อน

    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...

    • @MartynDavies
      @MartynDavies  8 หลายเดือนก่อน

      At least I'm not rude

    • @johnthompson4011
      @johnthompson4011 8 หลายเดือนก่อน

      Loved ur vid bro,chill @@MartynDavies

  • @manjurohila4248
    @manjurohila4248 3 ปีที่แล้ว +1

    nice explanation thanks

  • @HanLok420
    @HanLok420 11 หลายเดือนก่อน +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  11 หลายเดือนก่อน

      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 11 หลายเดือนก่อน

      @@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.

  • @hamidrezanaghshehchi7228
    @hamidrezanaghshehchi7228 5 ปีที่แล้ว +2

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

    • @MrBobWareham
      @MrBobWareham 2 ปีที่แล้ว

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

  • @alidemir8434
    @alidemir8434 ปีที่แล้ว +1

    i need to do this without rh_ask or i need a rh_ask lib for stm32 on cubeide

  • @kibonumwemedia7474
    @kibonumwemedia7474 3 ปีที่แล้ว +2

    Thank u bro

  • @mysoul1802
    @mysoul1802 ปีที่แล้ว +1

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

    • @MartynDavies
      @MartynDavies  ปีที่แล้ว

      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

  • @classicryda120908
    @classicryda120908 4 ปีที่แล้ว

    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?

  • @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

  • @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.

  • @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.

  • @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.

  • @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.

  • @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.

  • @eclecticlife
    @eclecticlife 4 ปีที่แล้ว

    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 -

  • @vladimirpotapov7050
    @vladimirpotapov7050 2 ปีที่แล้ว +1

    Thank you a lot!

  • @forthidiot4297
    @forthidiot4297 3 ปีที่แล้ว +1

    How to change variable frequency replace components

  • @Dralsoft
    @Dralsoft 2 ปีที่แล้ว +1

    what woud you say it consumes less? ESPNOW protocol or this

    • @MartynDavies
      @MartynDavies  2 ปีที่แล้ว +1

      I have not used ESPNOW, but in general low complexity means low power

  • @batkotivalio4876
    @batkotivalio4876 2 ปีที่แล้ว

    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  2 ปีที่แล้ว

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

  • @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.

  • @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

  • @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.

  • @ekamautomation1567
    @ekamautomation1567 11 หลายเดือนก่อน

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

    • @MartynDavies
      @MartynDavies  10 หลายเดือนก่อน

      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.

  • @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 :-)

  • @tonywright8294
    @tonywright8294 3 ปีที่แล้ว +1

    Why did you keep moving the parts ?

  • @simonsalon9478
    @simonsalon9478 ปีที่แล้ว +1

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

    • @MartynDavies
      @MartynDavies  ปีที่แล้ว

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

    • @simonsalon9478
      @simonsalon9478 ปีที่แล้ว

      @@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

  • @mehmetaltinsoy525
    @mehmetaltinsoy525 2 ปีที่แล้ว +1

    Thanks

  • @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.

  • @Noobgirlo
    @Noobgirlo 5 ปีที่แล้ว +1

    can you it without arduino?

  • @funnyexperiment1576
    @funnyexperiment1576 2 ปีที่แล้ว +1

    Kitne metar pe kam karta he

  • @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

    • @MartynDavies
      @MartynDavies  3 ปีที่แล้ว +1

      I'm not sure that I have more detail

    • @kamleshchavan7451
      @kamleshchavan7451 3 ปีที่แล้ว +1

      @@MartynDavies ok sir thanks

  • @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

  • @chenitimohamed4141
    @chenitimohamed4141 2 ปีที่แล้ว +1

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

    • @MartynDavies
      @MartynDavies  2 ปีที่แล้ว

      In the receiver? I would say yes.

    • @chenitimohamed4141
      @chenitimohamed4141 2 ปีที่แล้ว

      @@MartynDavies no in the transmitter.

  • @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.

  • @ramuvanparti
    @ramuvanparti 4 ปีที่แล้ว +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  4 ปีที่แล้ว

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

  • @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...

  • @kaustubhponkshe6186
    @kaustubhponkshe6186 4 ปีที่แล้ว +1

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

    • @MartynDavies
      @MartynDavies  4 ปีที่แล้ว +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

  • @dwrdbr
    @dwrdbr 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.

    • @dwrdbr
      @dwrdbr 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 ปีที่แล้ว

      @@dwrdbr 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.

    • @dwrdbr
      @dwrdbr 2 ปีที่แล้ว

      @@MartynDaviesThanks

  • @user-ds5pn2vi4x
    @user-ds5pn2vi4x ปีที่แล้ว

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

  • @jimver04
    @jimver04 2 หลายเดือนก่อน

    4th unused pin is analog receive?

    • @MartynDavies
      @MartynDavies  2 หลายเดือนก่อน

      Just joined to the other centre pin

  • @mouhammadabbasi9548
    @mouhammadabbasi9548 4 ปีที่แล้ว +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

  • @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.

  • @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.

  • @jahangir386
    @jahangir386 ปีที่แล้ว

    Beat video

  • @bigbothoee8617
    @bigbothoee8617 2 หลายเดือนก่อน

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

    • @MartynDavies
      @MartynDavies  2 หลายเดือนก่อน

      I didn't experiment much with the distance

  • @MariaSouza-mg8bs
    @MariaSouza-mg8bs 2 ปีที่แล้ว

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

  • @caner8688
    @caner8688 3 ปีที่แล้ว +1

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

    • @MartynDavies
      @MartynDavies  3 ปีที่แล้ว

      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!

  • @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.

  • @btzee
    @btzee 21 วันที่ผ่านมา

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

    • @MartynDavies
      @MartynDavies  20 วันที่ผ่านมา

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

  • @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

  • @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 ปีที่แล้ว

      🇮🇳🤮🤮🤮🤮🤮🤮

    • @SAURABHKUMAR-vk5xb
      @SAURABHKUMAR-vk5xb ปีที่แล้ว

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

    • @windowsxseven
      @windowsxseven ปีที่แล้ว

      @@SAURABHKUMAR-vk5xb defensive

  • @e-m-a
    @e-m-a 3 ปีที่แล้ว +1

    grazie zi

    • @e-m-a
      @e-m-a 3 ปีที่แล้ว

      forza giuve

  • @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/

  • @saavedra29orig69
    @saavedra29orig69 5 ปีที่แล้ว +3

    I wish all the videos where informative, educating and useful like this and not reproducing already known recipes of how to do this and that.

    • @MartynDavies
      @MartynDavies  5 ปีที่แล้ว

      Thank you very much

    • @saavedra29orig69
      @saavedra29orig69 5 ปีที่แล้ว

      I thank you for the video. @@MartynDavies