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

  Рет қаралды 132,395

Martyn Davies

Martyn Davies

Күн бұрын

Пікірлер: 244
@stevenq4859
@stevenq4859 3 жыл бұрын
With out a doubt the most comprehensive and best video on communicating with radio frequency I've seen, thank you.
@MartynDavies
@MartynDavies 3 жыл бұрын
You are very kind
@englishrupe01
@englishrupe01 4 жыл бұрын
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!
@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.
@bornach
@bornach 6 жыл бұрын
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 6 жыл бұрын
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 6 ай бұрын
Do you need an oscilloscope to do this? Cannot get the code using arduino?
@harjeetsinghmakkar5177
@harjeetsinghmakkar5177 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
@bgable7707
@bgable7707 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
@AndyMcGeever
@AndyMcGeever 2 жыл бұрын
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.
@BalticLab
@BalticLab 8 ай бұрын
I think this is the first time KZbin recommended your channel to me. Good stuff, subscribed!
@bjornroesbeke
@bjornroesbeke Жыл бұрын
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 3 жыл бұрын
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 3 жыл бұрын
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.
@the1spyderryder
@the1spyderryder Жыл бұрын
The round device on the transmitter is a SAW device not a crystal as one would think of it.
@nikospapakyritsis3161
@nikospapakyritsis3161 Күн бұрын
Thank you for this analysis !
@KT-ut9zg
@KT-ut9zg 5 жыл бұрын
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.
@MartynDavies
@MartynDavies 5 жыл бұрын
yes great idea
@MrBobWareham
@MrBobWareham 4 жыл бұрын
A very good video with lots of information thank you and no banging music how refreshing
@MartynDavies
@MartynDavies 4 жыл бұрын
Thanks. Yes, I dislike constant music in KZbin videos also.
@bitschips
@bitschips 4 жыл бұрын
Martin, thank you for the explanations and for explaining the transmitter and receiver diagrams (yes it is complicated!) Best regads and be safe.
@MartynDavies
@MartynDavies 4 жыл бұрын
Glad you liked it
@craiglarson2346
@craiglarson2346 3 жыл бұрын
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 3 жыл бұрын
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 3 жыл бұрын
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.
@awaitingthetrumpetcall4529
@awaitingthetrumpetcall4529 4 жыл бұрын
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'.
@saikumarv2639
@saikumarv2639 5 жыл бұрын
I Have learned new thing from this video, Good explained .
@bigbothoee8617
@bigbothoee8617 11 ай бұрын
Very nice info and detail have you used these with your own circuit
@manashiroy331
@manashiroy331 2 жыл бұрын
Wonderful, in depth explanation. Thank you very much.
@mysoul1802
@mysoul1802 2 жыл бұрын
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
@grzesiek1x
@grzesiek1x 2 жыл бұрын
I make circuits like those ones for my own :) They are really nice to play with
@eagleeye389
@eagleeye389 6 жыл бұрын
You are a good man, thank you for this information
@cslovell
@cslovell Жыл бұрын
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 Жыл бұрын
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.
@9wattd
@9wattd 5 жыл бұрын
Thank you, teacher. Your explanation can help me to create & apply some devices. Already subscribed.
@douglasheld
@douglasheld 3 жыл бұрын
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 3 жыл бұрын
True. Perhaps I corrupted the following item in memory, but I seem to have got away with it this time.
@douglasheld
@douglasheld 3 жыл бұрын
@@MartynDavies Oh, thank you for confirming. I am still learning this language.
2 жыл бұрын
combining theory with practice, a great video
@2Green2Freak
@2Green2Freak 3 жыл бұрын
Wow thank you very much for this very very educational video
@vaibhavkhurana215
@vaibhavkhurana215 3 жыл бұрын
Thank you so much !! This was really informative
@HanLok420
@HanLok420 Жыл бұрын
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.
@mannnanshaikh7608
@mannnanshaikh7608 2 жыл бұрын
you are god sir . very clear explanation. thank you soo much
@user-bj4lp3fr1o
@user-bj4lp3fr1o 2 жыл бұрын
I only get about a 5 foot range even with a 17.3 mm antenna.
@MartynDavies
@MartynDavies 2 жыл бұрын
That is poor. I would suspect a faulty module.
@dronesrus7436
@dronesrus7436 2 жыл бұрын
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 2 жыл бұрын
@@dronesrus7436 Thanks for the correction. I'll try it with the longer antenna.
@imtrung5244
@imtrung5244 6 ай бұрын
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 6 ай бұрын
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.
@hadibq
@hadibq 2 жыл бұрын
Brilliant teaching skills! Thanks a lot!
@cinibar
@cinibar 6 ай бұрын
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 6 ай бұрын
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 6 ай бұрын
@@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.
@johnthompson4011
@johnthompson4011 Жыл бұрын
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 Жыл бұрын
At least I'm not rude
@johnthompson4011
@johnthompson4011 Жыл бұрын
Loved ur vid bro,chill @@MartynDavies
@ithaca2076
@ithaca2076 4 жыл бұрын
Your handwriting looks amazing!
@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.
@Althu-blog
@Althu-blog 3 жыл бұрын
Am used this Modyool but one problem. No range 100mr . Haw to boost range in circuit Sir
@MartynDavies
@MartynDavies 3 жыл бұрын
You might get improved range with a better antenna, but this module is intended to be a very low power transmitter.
@SLATEB0Y
@SLATEB0Y 6 жыл бұрын
Very interesting and nicely explained.
@louiswilkinson4258
@louiswilkinson4258 3 жыл бұрын
An excellent video ! Thank you very much.
@douglasheld
@douglasheld 3 жыл бұрын
5:25 that's only one significant digit!
@saikumarv2639
@saikumarv2639 5 жыл бұрын
Make more videos like this sir.
@Dralsoft
@Dralsoft 2 жыл бұрын
what woud you say it consumes less? ESPNOW protocol or this
@MartynDavies
@MartynDavies 2 жыл бұрын
I have not used ESPNOW, but in general low complexity means low power
@slucas601
@slucas601 6 жыл бұрын
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 6 жыл бұрын
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 6 жыл бұрын
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 жыл бұрын
Yale battan theek nissan.
@James_Bowie
@James_Bowie 3 жыл бұрын
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 3 жыл бұрын
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.
@mekimr9736
@mekimr9736 2 жыл бұрын
You use subliminal picture in 16:15, why ??
@MartynDavies
@MartynDavies 2 жыл бұрын
Just an error in editing. It seems to be the background frame: I composite the screen grabs over the background in the video editor, rather than chroma-key in video sources in real time.
@mekimr9736
@mekimr9736 2 жыл бұрын
@@MartynDavies Ok sorry
@humward888
@humward888 3 жыл бұрын
Great video, great explanation. Thank you.
@MartynDavies
@MartynDavies 3 жыл бұрын
Thanks!
@simonsalon9478
@simonsalon9478 2 жыл бұрын
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
@alaanoor3679
@alaanoor3679 Жыл бұрын
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.
@abubakarrsawaneh1930
@abubakarrsawaneh1930 5 жыл бұрын
Thanks this is what I was looking for.
@kamleshchavan7451
@kamleshchavan7451 4 жыл бұрын
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 4 жыл бұрын
I'm not sure that I have more detail
@kamleshchavan7451
@kamleshchavan7451 4 жыл бұрын
@@MartynDavies ok sir thanks
@egyrmexiq1
@egyrmexiq1 10 ай бұрын
Beautiful explanation, thanks for posting..
@tlangdon12
@tlangdon12 3 жыл бұрын
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 3 жыл бұрын
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 3 жыл бұрын
@@MartynDavies Thanks Martyn. That’s really useful.
@ДмитрийНорд-с3я
@ДмитрийНорд-с3я Жыл бұрын
Автор, можно скетч для трансмиттера отправки конкретного кода 24 bit?
@8m405
@8m405 Жыл бұрын
Really impressed by your knowledge
@tonywright8294
@tonywright8294 4 жыл бұрын
Why did you keep moving the parts ?
@forthidiot4297
@forthidiot4297 4 жыл бұрын
How to change variable frequency replace components
@pro-eq9oy
@pro-eq9oy 3 жыл бұрын
Very valuable information for me. thnks
@chenitimohamed4141
@chenitimohamed4141 2 жыл бұрын
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.
@SidhuD_96k
@SidhuD_96k 3 жыл бұрын
Kitne metar pe kam karta he
@ramuvanparti
@ramuvanparti 5 жыл бұрын
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/
@kaustubhponkshe6186
@kaustubhponkshe6186 5 жыл бұрын
Can I transmitt PWM signal generated from arduino using these RF modules ?
@MartynDavies
@MartynDavies 5 жыл бұрын
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
@caner8688
@caner8688 4 жыл бұрын
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 3 жыл бұрын
3*10^8 / (4 * 433 * 10^6) = 17.3 cm, and for both transmitter AND receiver!
@rongarza9488
@rongarza9488 2 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
@@MartynDavies Thanks, Martyn, as soon as I can get them I'll give it a test.
@rongarza9488
@rongarza9488 2 жыл бұрын
@@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 2 жыл бұрын
@@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.
@meszarosistvan197603
@meszarosistvan197603 2 жыл бұрын
Perfect! Bravo, and 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
@yankovalsky7696
@yankovalsky7696 3 ай бұрын
@@euphoriachemistryclasses1383 , maybe there is an smd coil there?
@hamidrezanaghshehchi7228
@hamidrezanaghshehchi7228 5 жыл бұрын
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
@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?
@dandwrasan2342
@dandwrasan2342 5 жыл бұрын
Great vid nicely done ✅👍🏻
@surenbono6063
@surenbono6063 2 жыл бұрын
..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 2 жыл бұрын
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 2 жыл бұрын
@@MartynDavies ..you can always add a password to verify data reception.. string length check are never good enough...better with espnow broadcast
@surenbono6063
@surenbono6063 Жыл бұрын
@Arnold Rimmer ...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...
@btzee
@btzee 9 ай бұрын
if someone sniffs and copies the transmitter and replays it? Is there any security in these modules?
@MartynDavies
@MartynDavies 9 ай бұрын
No, there's no security. It sends a simple signal and in the clear, so is easily compromised.
@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 жыл бұрын
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.
@gartmorn
@gartmorn 6 жыл бұрын
Martyn is your background in software/electronics through work or is it just a hobby as you seem very knowledgeable imho?
@MartynDavies
@MartynDavies 6 жыл бұрын
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 6 жыл бұрын
@@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
@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)
@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.
@matheokoning4456
@matheokoning4456 3 жыл бұрын
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 3 жыл бұрын
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 3 жыл бұрын
@@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 :-)
@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.
@eandecraftsceylon5360
@eandecraftsceylon5360 5 жыл бұрын
Great information
@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
@bjgminten
@bjgminten 4 жыл бұрын
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 4 жыл бұрын
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.
@bigbothoee8617
@bigbothoee8617 11 ай бұрын
How far will they work apart without antana Im hoping to have less than 1 meter apart
@MartynDavies
@MartynDavies 11 ай бұрын
I didn't experiment much with the distance
@alidemir8434
@alidemir8434 2 жыл бұрын
i need to do this without rh_ask or i need a rh_ask lib for stm32 on cubeide
@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 жыл бұрын
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.
@MariaSouza-mg8bs
@MariaSouza-mg8bs 2 жыл бұрын
Tem como colocar um amplificador de áudio no receptor mudar a bobina para escutar aviação?
@MartynDavies
@MartynDavies 2 жыл бұрын
No
@kaustubhponkshe6186
@kaustubhponkshe6186 5 жыл бұрын
@12.07 , do we need to remove insulation from antenna wire ?
@tlangdon12
@tlangdon12 3 жыл бұрын
No, the insulation can remain on the antenna wire.
@saavedra29orig69
@saavedra29orig69 5 жыл бұрын
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
@deepakkoirala2296
@deepakkoirala2296 Жыл бұрын
How can we increase the strength of sender and receiver? Like around 500 meters?
@MartynDavies
@MartynDavies Жыл бұрын
I'm not sure that this module can broadcast over that kind of range, I haven't tried to evaluate it.
@deepakkoirala2296
@deepakkoirala2296 Жыл бұрын
Or may be like 150 meter ?
@AravindAnirudh595
@AravindAnirudh595 5 жыл бұрын
Nice work. Can you share the detailed schematic diagram?
@MartynDavies
@MartynDavies 5 жыл бұрын
If you go to google images and search for 'fs1000a schematic' and 'xy-mk-5v schematic', you will find them.
@asharampatel8429
@asharampatel8429 4 жыл бұрын
Please explain ht12e & ht12e with logic circuit
@MartynDavies
@MartynDavies 4 жыл бұрын
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/
@jeffbeck6501
@jeffbeck6501 2 жыл бұрын
Awesome video.
@Anhad1313
@Anhad1313 2 жыл бұрын
Buy link?
@MartynDavies
@MartynDavies 2 жыл бұрын
Type the part number into Google?
@kabirsharma4820
@kabirsharma4820 4 жыл бұрын
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 жыл бұрын
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.
@SAURABHKUMAR-vk5xb
@SAURABHKUMAR-vk5xb 4 жыл бұрын
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
@jimver04
@jimver04 10 ай бұрын
4th unused pin is analog receive?
@MartynDavies
@MartynDavies 10 ай бұрын
Just joined to the other centre pin
@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 5 жыл бұрын
Memory of between 200 hz and 3khz to data pin at 5v -
@kibonumwemedia7474
@kibonumwemedia7474 4 жыл бұрын
Thank u bro
@ItsMeK99
@ItsMeK99 2 жыл бұрын
Can i get a voltage signal and plot it from these antennas ???
@MartynDavies
@MartynDavies 2 жыл бұрын
Yes, but the OOK signal isn't so interesting; either the carrier is present, or it's not.
@ItsMeK99
@ItsMeK99 2 жыл бұрын
@@MartynDavies can you help with the code for the transmitter and receiver
@rypr_lobo
@rypr_lobo 3 жыл бұрын
Please sur i need shèma reciver all valeur capacitor please
@MartynDavies
@MartynDavies 3 жыл бұрын
For the transmitter, search for the schematic online. For the receiver, I don't know.
@rypr_lobo
@rypr_lobo 3 жыл бұрын
@@MartynDavies Thank you sur
@e1Pr0f3ss0r
@e1Pr0f3ss0r 5 жыл бұрын
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 5 жыл бұрын
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 2 жыл бұрын
@@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 2 жыл бұрын
@@dronesrus7436 Probably desirable to disable your own receiver while transmitting, to avoid receiving your own TX.
@dronesrus7436
@dronesrus7436 2 жыл бұрын
@@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...
433MHz RF wireless modules from eBay (transmitter and receiver)
18:07
Andro, ELMAN, TONI, MONA - Зари (Official Audio)
2:53
RAAVA MUSIC
Рет қаралды 8 МЛН
🎈🎈🎈😲 #tiktok #shorts
0:28
Byungari 병아리언니
Рет қаралды 4,5 МЛН
FS1000A and XY-MK-5V 433MHz #Arduino radio modules range test
14:57
PS After Hours
Рет қаралды 63 М.
The BEST Mechanical Display You've EVER Seen!!!
13:51
Tin Foil Hat
Рет қаралды 486 М.
Radio-Frequency (RF) Communication Modules
28:38
Playful Technology
Рет қаралды 98 М.
Which radio module? NRF24, LoRa, CC1101, HC12, 433MHz, HC05
17:00
Electronoobs
Рет қаралды 489 М.
Using Inexpensive 433 MHz RF Modules with Arduino
29:50
DroneBot Workshop
Рет қаралды 582 М.
Creating a Walkie-Talkie with generic 433MHz RF Modules?!
10:01
GreatScott!
Рет қаралды 351 М.
Stop Wasting Money on New Batteries! Restore Old AA Batteries Today!
18:17
Andro, ELMAN, TONI, MONA - Зари (Official Audio)
2:53
RAAVA MUSIC
Рет қаралды 8 МЛН