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

Sdílet
Vložit
  • čas přidán 8. 07. 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
  • Věda a technologie

Komentáře • 243

  • @englishrupe01
    @englishrupe01 Před 4 lety +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 Před 2 lety +9

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

  • @BalticLab
    @BalticLab Před 2 měsíci +1

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

  • @bgable7707
    @bgable7707 Před 3 lety +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 Před rokem +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 Před 3 lety +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  Před 3 lety

      I definitely can't understand myself at 1.75 speed

  • @bitschips
    @bitschips Před 4 lety +1

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

  • @saikumarv2639
    @saikumarv2639 Před 5 lety +4

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

  • @MrBobWareham
    @MrBobWareham Před 3 lety +1

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

    • @MartynDavies
      @MartynDavies  Před 3 lety +1

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

  • @9wattd
    @9wattd Před 4 lety +3

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

  • @manashiroy331
    @manashiroy331 Před rokem +1

    Wonderful, in depth explanation. Thank you very much.

  • @eagleeye389
    @eagleeye389 Před 5 lety +3

    You are a good man, thank you for this information

  • @SLATEB0Y
    @SLATEB0Y Před 5 lety +2

    Very interesting and nicely explained.

  • @arnolduk123
    @arnolduk123 Před rokem +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!

  • @hadibq
    @hadibq Před rokem +1

    Brilliant teaching skills! Thanks a lot!

  • @KT-ut9zg
    @KT-ut9zg Před 5 lety +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.

  • @awaitingthetrumpetcall4529

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

  • @bornach
    @bornach Před 5 lety +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  Před 5 lety

      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

  •  Před 2 lety +1

    combining theory with practice, a great video

  • @vaibhavkhurana215
    @vaibhavkhurana215 Před 3 lety +2

    Thank you so much !! This was really informative

  • @abubakarrsawaneh1930
    @abubakarrsawaneh1930 Před 4 lety +2

    Thanks this is what I was looking for.

  • @louiswilkinson4258
    @louiswilkinson4258 Před 2 lety +1

    An excellent video ! Thank you very much.

  • @2Green2Freak
    @2Green2Freak Před 3 lety +1

    Wow thank you very much for this very very educational video

  • @dandwrasan2342
    @dandwrasan2342 Před 5 lety +2

    Great vid nicely done ✅👍🏻

  • @ithaca2076
    @ithaca2076 Před 4 lety +3

    Your handwriting looks amazing!

  • @wardhum6611
    @wardhum6611 Před 3 lety +1

    Great video, great explanation. Thank you.

  • @demef758
    @demef758 Před 2 lety +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  Před 2 lety

      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.

  • @bigbothoee8617
    @bigbothoee8617 Před 5 měsíci +1

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

  • @AndyMcGeever
    @AndyMcGeever Před rokem +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.

  • @grzesiek1x
    @grzesiek1x Před rokem +3

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

  • @classicryda120908
    @classicryda120908 Před 5 lety

    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?

  • @bjornroesbeke
    @bjornroesbeke Před 10 měsíci +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.

  • @jeffbeck6501
    @jeffbeck6501 Před rokem +1

    Awesome video.

  • @eandechannelwiththaranga5360

    Great information

  • @8m405
    @8m405 Před rokem +1

    Really impressed by your knowledge

  • @saikumarv2639
    @saikumarv2639 Před 5 lety +5

    Make more videos like this sir.

  • @the1spyderryder
    @the1spyderryder Před rokem +1

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

  • @craiglarson2346
    @craiglarson2346 Před 2 lety +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  Před 2 lety

      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 Před 2 lety +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.

  • @pro-eq9oy
    @pro-eq9oy Před 2 lety +1

    Very valuable information for me. thnks

  • @mannnanshaikh7608
    @mannnanshaikh7608 Před 2 lety +1

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

  • @forthidiot4297
    @forthidiot4297 Před 4 lety +1

    How to change variable frequency replace components

  • @Maolana_ModiG
    @Maolana_ModiG Před rokem +1

    EXCELLENT VIDEO

  • @hamidrezanaghshehchi7228
    @hamidrezanaghshehchi7228 Před 5 lety +2

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

    • @MrBobWareham
      @MrBobWareham Před 3 lety

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

  • @meszarosistvan197603
    @meszarosistvan197603 Před rokem +1

    Perfect! Bravo, and thanks....

  • @mysoul1802
    @mysoul1802 Před 2 lety +1

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

    • @MartynDavies
      @MartynDavies  Před 2 lety

      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

  • @egyrmexiq1
    @egyrmexiq1 Před 4 měsíci +1

    Beautiful explanation, thanks for posting..

  • @James_Bowie
    @James_Bowie Před 2 lety +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  Před 2 lety

      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.

  • @tlangdon12
    @tlangdon12 Před 2 lety +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  Před 2 lety +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 Před 2 lety

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

  • @bjgminten
    @bjgminten Před 3 lety

    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  Před 3 lety +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.

  • @manjurohila4248
    @manjurohila4248 Před 4 lety +1

    nice explanation thanks

  • @slucas601
    @slucas601 Před 5 lety +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  Před 5 lety +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 Před 5 lety +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 Před 5 lety +1

      Yale battan theek nissan.

  • @batkotivalio
    @batkotivalio Před 3 lety

    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  Před 2 lety

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

  • @alaanoor3679
    @alaanoor3679 Před rokem +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  Před rokem

      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.

  • @cslovell
    @cslovell Před 5 měsíci +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  Před 5 měsíci

      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.

  • @imtrung5244
    @imtrung5244 Před 9 dny +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  Před 4 dny +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.

  • @Willy_Tepes
    @Willy_Tepes Před 4 lety

    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  Před 4 lety +1

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

    • @Willy_Tepes
      @Willy_Tepes Před 4 lety

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

  • @kaustubhponkshe6186
    @kaustubhponkshe6186 Před 5 lety +1

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

    • @tlangdon12
      @tlangdon12 Před 2 lety

      No, the insulation can remain on the antenna wire.

  • @ramuvanparti
    @ramuvanparti Před 5 lety +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  Před 5 lety

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

  • @kaustubhponkshe6186
    @kaustubhponkshe6186 Před 5 lety +1

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

    • @MartynDavies
      @MartynDavies  Před 5 lety +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

  • @HanLok420
    @HanLok420 Před rokem +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  Před rokem

      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 Před rokem

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

  • @funnyexperiment1576
    @funnyexperiment1576 Před 2 lety +1

    Kitne metar pe kam karta he

  • @eclecticlife
    @eclecticlife Před 5 lety

    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 Před 4 lety

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

  • @mouhammadabbasi9548
    @mouhammadabbasi9548 Před 5 lety +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 Před 4 lety

      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

  • @rongarza9488
    @rongarza9488 Před rokem

    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  Před rokem

      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 Před rokem

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

    • @rongarza9488
      @rongarza9488 Před rokem

      @@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  Před rokem

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

  • @DerEineFuck
    @DerEineFuck Před 3 lety

    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  Před 3 lety

      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 Před 3 lety +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

  • @tonywright8294
    @tonywright8294 Před 3 lety +1

    Why did you keep moving the parts ?

  • @kibonumwemedia7474
    @kibonumwemedia7474 Před 3 lety +2

    Thank u bro

  • @johnthompson4011
    @johnthompson4011 Před 11 měsíci

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

  • @Dralsoft
    @Dralsoft Před 2 lety +1

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

    • @MartynDavies
      @MartynDavies  Před 2 lety +1

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

  • @matheokoning4456
    @matheokoning4456 Před 2 lety

    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  Před 2 lety

      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 Před 2 lety

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

  • @user-ds5pn2vi4x
    @user-ds5pn2vi4x Před rokem

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

  • @ekamautomation1567
    @ekamautomation1567 Před rokem

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

    • @MartynDavies
      @MartynDavies  Před rokem

      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.

  • @euphoriachemistryclasses1383

    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  Před 2 lety

      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 Před 2 lety

      @@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  Před 2 lety

      @@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 Před 2 lety

      @@MartynDavies ok

  • @MariaSouza-mg8bs
    @MariaSouza-mg8bs Před 2 lety

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

  • @surenbono6063
    @surenbono6063 Před rokem

    ..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  Před rokem +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 Před rokem

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

    • @arnolduk123
      @arnolduk123 Před rokem +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 Před rokem

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

  • @simonsalon9478
    @simonsalon9478 Před 2 lety +1

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

    • @MartynDavies
      @MartynDavies  Před 2 lety

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

    • @simonsalon9478
      @simonsalon9478 Před 2 lety

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

  • @kamleshchavan7451
    @kamleshchavan7451 Před 3 lety +1

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

  • @cinibar
    @cinibar Před 20 dny +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  Před 4 dny

      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 Před 4 dny +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.

  • @althuelectronics5158
    @althuelectronics5158 Před 2 lety +1

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

    • @MartynDavies
      @MartynDavies  Před 2 lety

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

  • @vladimirpotapov7050
    @vladimirpotapov7050 Před 2 lety +1

    Thank you a lot!

  • @bigbothoee8617
    @bigbothoee8617 Před 5 měsíci

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

    • @MartynDavies
      @MartynDavies  Před 5 měsíci

      I didn't experiment much with the distance

  • @btzee
    @btzee Před 3 měsíci

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

    • @MartynDavies
      @MartynDavies  Před 3 měsíci

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

  • @gartmorn
    @gartmorn Před 5 lety +2

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

    • @MartynDavies
      @MartynDavies  Před 5 lety +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 Před 5 lety +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

  • @douglasheld
    @douglasheld Před 2 lety +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  Před 2 lety +1

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

    • @douglasheld
      @douglasheld Před 2 lety +1

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

  • @caner8688
    @caner8688 Před 4 lety +1

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

    • @MartynDavies
      @MartynDavies  Před 4 lety

      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 Před 2 lety

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

  • @user-bj4lp3fr1o
    @user-bj4lp3fr1o Před 2 lety +1

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

    • @MartynDavies
      @MartynDavies  Před 2 lety +1

      That is poor. I would suspect a faulty module.

    • @dronesrus7436
      @dronesrus7436 Před rokem

      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 Před rokem +1

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

  • @chenitimohamed4141
    @chenitimohamed4141 Před 2 lety +1

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

  • @SAURABHKUMAR-vk5xb
    @SAURABHKUMAR-vk5xb Před 3 lety

    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 Před 2 lety

      🇮🇳🤮🤮🤮🤮🤮🤮

    • @SAURABHKUMAR-vk5xb
      @SAURABHKUMAR-vk5xb Před 2 lety

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

    • @windowsxseven
      @windowsxseven Před 2 lety

      @@SAURABHKUMAR-vk5xb defensive

  • @douglasheld
    @douglasheld Před 2 lety +1

    5:25 that's only one significant digit!

  • @jimver04
    @jimver04 Před 4 měsíci

    4th unused pin is analog receive?

  • @emylrmm
    @emylrmm Před 3 lety

    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  Před 3 lety

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

  • @kabirsharma4820
    @kabirsharma4820 Před 4 lety +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  Před 4 lety +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.

  • @dwrdbr
    @dwrdbr Před 2 lety

    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  Před 2 lety

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

    • @dwrdbr
      @dwrdbr Před 2 lety

      @@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  Před 2 lety

      @@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 Před 2 lety

      @@MartynDaviesThanks

  • @asharampatel8429
    @asharampatel8429 Před 3 lety

    Please explain ht12e & ht12e with logic circuit

    • @MartynDavies
      @MartynDavies  Před 3 lety

      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/

  • @pupupupu448
    @pupupupu448 Před 2 lety

    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  Před 2 lety +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 Před 2 lety

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

    • @MartynDavies
      @MartynDavies  Před 2 lety

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

  • @Arvinthhh
    @Arvinthhh Před 4 lety

    Nice work. Can you share the detailed schematic diagram?

    • @MartynDavies
      @MartynDavies  Před 4 lety +2

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

  • @ItsMeK99
    @ItsMeK99 Před rokem

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

    • @MartynDavies
      @MartynDavies  Před rokem

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

    • @ItsMeK99
      @ItsMeK99 Před rokem

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

  • @mehmetaltinsoy525
    @mehmetaltinsoy525 Před 2 lety +1

    Thanks

  • @user-kt6qe8uk5y
    @user-kt6qe8uk5y Před 8 měsíci

    Bonsoir comme bonjour celà dépend de l'heure que tu es entrain de lire ce message s'il te plaît je peux avoir un schéma normal mais simple de radio rc . récepteur comme émetteur j'aime beaucoup électronique aide moi s'il vous plaît

  • @rypr_lobo
    @rypr_lobo Před 2 lety +1

    Please sur i need shèma reciver all valeur capacitor please

    • @MartynDavies
      @MartynDavies  Před 2 lety +1

      For the transmitter, search for the schematic online. For the receiver, I don't know.

    • @rypr_lobo
      @rypr_lobo Před 2 lety

      @@MartynDavies
      Thank you sur