Radio Frequency Transmission Full Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ม.ค. 2015
  • DOWNLOAD CODE HERE FREE:
    robotix.com.au/#/videos/94
    LIBRARY LINK HERE:
    www.resistorpark.com/arduino-v...
    Learn more about this tutorial here:
    www.instructables.com/id/433-...
    he video above explains the basic theory that relates to data transmission, namely how electromagnetic waves are generated by antennas and how they encode 1's and 0's. Non essential information for a hobbyist, but really interesting none the less.
    Component list:
    •1 X Arduino Uno
    •1 X 433MHz RF link pair
    •3 X LED
    •1 X Piezo Buzzer
    •1 X Push Button
    •1 X Resistor 330Ω
    •50cm Single Core Wire
    Equipment needed:
    Soldering Iron
    Observe the schematic and the completed circuit (video tutorial also available)
    Make sure you do ALL of the following:
    1. Connect the module in the following manner Vcc pin connects to Arduino 5V GND to Arduino GND and DATA to Arduino Pin 12
    2.The button connects to Arduino pin 2 and needs to be earthed
    3. The antenna needs to be soldered onto the module. The antenna is 35cm long and soldered into an antenna slot in the transmitter module.
    4. The antenna is to be straight if possible.
    Watch the video from time: 00:40 to see the circuit built from scratch
    ~-~~-~~~-~~-~
    Latest and Best Arduino Playlist in Collaboratio with DFRobot:
    • Arduino Zero to Hero
    ~-~~-~~~-~~-~

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

  • @chbonnici
    @chbonnici 6 ปีที่แล้ว +4

    I have two words for you "You'r Great" Happy holidays

    • @SanjinDedic
      @SanjinDedic  6 ปีที่แล้ว

      Thank you so much. I did really have a great two weeks in China, a mighty interesting country :)

  • @sallyann2828
    @sallyann2828 7 ปีที่แล้ว

    I just want to say thank you so much! You have no idea how watching this has helped me. I'm doing a project where I'm using RF and I'm beginner so I'm still new to this so I wasn't sure that I'd be able to use RF anymore and I was completely hopeless and at a loss but after this, I feel like I actually understand now.Thank you so much for explaining it so well. Subbed!

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

    Dude!
    This tutorial is awesome!!
    Please make others if you get time for that.
    Thanks

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

    Great tutorial, this helped me a lot to gain knowledge on the circuit for my project. Thank you :)

  • @jha518
    @jha518 6 ปีที่แล้ว

    Best tutorial in this subject, amazing work, thanks a lot!!! :))

    • @SanjinDedic
      @SanjinDedic  6 ปีที่แล้ว

      Thank you :) and good on you for getting excited by this challenging topic

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

    Your expanation is really so good
    thank you so much ❤❤

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

      Thanks man, much appreciated

  • @jonthomasinfo
    @jonthomasinfo 7 ปีที่แล้ว

    This is a great video. Do you know how I would count the number of messages received per minute? I am working on a project that if enough communication messages are not received to set of a buzzer.

  • @m.triassubarka3245
    @m.triassubarka3245 6 ปีที่แล้ว

    thanks for the video, it is very useful and very helpful.

  • @jaykrishnarsakin263
    @jaykrishnarsakin263 7 ปีที่แล้ว

    bro very helpful video thanks a lot ☺️

  • @wisran1287
    @wisran1287 8 ปีที่แล้ว

    great ! Question for you: If I want to program LoRa-based RF transmitter - will the same programming principles be applied?

  • @RahulKumar-op9pl
    @RahulKumar-op9pl 2 ปีที่แล้ว

    Knowledgeful Video

  • @muhammadabbas5596
    @muhammadabbas5596 6 ปีที่แล้ว

    Its really great demonstration. Thanks

    • @SanjinDedic
      @SanjinDedic  6 ปีที่แล้ว

      You are very welcome

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

    Hi, just found your videos, they seem well put together and easily followed, as a result I have decided to subscribe for future use. Currently I am working on something which requires me to split an RF signal from a TV aerial, and I believe I may also need to amplify the signal due to loss of signal after splitting. I have had a quick look around the net for amplifier circuits that I could use and have been struggling to find anything that is easy to follow. I understand that I may be looking for a distribution amplifier and not just an amplifier. I found one of your other videos which amplified sounds but it appeared to be only for DC signals and I need one that would work for AC signals. If you have done a video on this sort of thing already, could you point me in that direction or possibly do a video on that if possible. I will be watching some of your videos at a later date to see what other things I can learn from you, electronics with arduino is a hobby of mine, unfortunately I haven't been able to play for a while and my current project is in an effort to reduce house costs right now. Thanks and I will see you in another video.

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

      i am really so exited to know what you have done in this project after 3 years

  • @leors7578
    @leors7578 7 ปีที่แล้ว

    Great video, its for diy videos like this that arduino is so cool to explore!! thank you very much

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

      You are very welcome :)

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

    yo
    this helped me out sooooo much. thank you my dude

    • @SanjinDedic
      @SanjinDedic  6 ปีที่แล้ว

      You are very welcome!, do let me know what youre trying to learn / do and I might be able to help you some more !

    • @crazyman6crazyman639
      @crazyman6crazyman639 6 ปีที่แล้ว

      Robotix I'm actually trying to send gyro/accelerometer data using an rf transmitter and receiver in order to control some servos.

    • @SanjinDedic
      @SanjinDedic  6 ปีที่แล้ว

      This might help out. It gathers Gyro accelerometer data. th-cam.com/video/bqVqwAQEbfE/w-d-xo.html

    • @crazyman6crazyman639
      @crazyman6crazyman639 6 ปีที่แล้ว

      Thx! I'll check it out tmr to see If I can make it happen.

  • @ailnenirakshitha3600
    @ailnenirakshitha3600 6 ปีที่แล้ว

    can u tell me how do i transmit temperature sensor output instead of push button here??

  • @arthurmqondisi1245
    @arthurmqondisi1245 6 ปีที่แล้ว

    wr can i get that programme for the transmitter and for the receiver.and wch language ar u using

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

    You are excellent teacher. :)++

  • @balbirpayla6558
    @balbirpayla6558 6 ปีที่แล้ว

    How can we use tx and rx pin of arduino uno and use usart protocol ?

  • @vinivinefera563
    @vinivinefera563 6 ปีที่แล้ว

    Great video sir!!I have a doubt...Instead of pressing the button manually on transmitter side, can I make it automatic such that it raise alarm at reciever side when sound exceeds some threshold...please let me know that

    • @SanjinDedic
      @SanjinDedic  6 ปีที่แล้ว

      Offcourse you can! all you need to do is change this line: if(digitalRead(button == HIGH){ Arduino treats a button as just another sensor so you can put in a digital sensor like the IR collision sensor and it would just work plug and play. Or you can put in an analog sensor like a microphone like in this tutorial: th-cam.com/video/KAbuMu2BN1M/w-d-xo.html

  • @fendzgiveawaywinner3946
    @fendzgiveawaywinner3946 6 ปีที่แล้ว

    great video. but i just wander how to control several led one at a time using the same module and several switches. thanks

    • @SanjinDedic
      @SanjinDedic  6 ปีที่แล้ว

      I am pretty sure you can just add more leds at the top of the XXreceive program. Then you can add them using digitalWrite in the loop section of the code

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

    cool man. Thank you!

  • @abielgarcia4518
    @abielgarcia4518 7 ปีที่แล้ว

    Do you have formula to calculate the antenna length given a desired frequency? What other frequencies can we use with this transmitter and receiver? Thank you.

    • @SanjinDedic
      @SanjinDedic  7 ปีที่แล้ว

      www.easycalculation.com/physics/electromagnetism/antenna-wavelength.php

  • @marlondumdumaya3409
    @marlondumdumaya3409 6 ปีที่แล้ว

    sir, what if i put 2 more receivers?

  • @TechnologyRules
    @TechnologyRules 6 ปีที่แล้ว

    Is it possible to make it run using Raspberry Pi 3?

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

    are you saying amplitude modification to help people get the concept or do you think thats actually what its called?

  • @caiolira09
    @caiolira09 6 ปีที่แล้ว

    is it possible to send analog data, like from a potentiometer for instance? or even more specific, from two potentiometers at the same time? i'm planning to do an rc with two joystick modules, one to control two motors and the other to control a servo. excelent video, by the way.

    • @SanjinDedic
      @SanjinDedic  6 ปีที่แล้ว +2

      Sure thats possible in the loop just do this message = analogRead(A0) and if you have issues try message = String(analogRead(A0))

    • @caiolira09
      @caiolira09 6 ปีที่แล้ว

      Robotix thank you very much!!!

    • @crazyman6crazyman639
      @crazyman6crazyman639 6 ปีที่แล้ว

      God you legend

  • @justchris846
    @justchris846 6 ปีที่แล้ว

    (sigh) good tutorial. I'm just actually having difficulty grasping this concept. I'd like to make a wifi transmitter. Help?

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

    how can you send rel data using this?
    text , video audio

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

      I'm looking into using PySerial with Python although the tests I've done so far have been on the Raspberry Pi I hope the arduino isnt too different

  • @daveb5041
    @daveb5041 6 ปีที่แล้ว

    Very helpful. I ordered these things and had no clue to hook them up to my arduino until now. Do you have any plans for doing this with longer range moduals such as the 2.4 ghz or 433/900mhz FM? moduals they sell on ebay for 10$? Would wiring them be pretty much the same as all of these generic tx/rx moduals? Are they just looking for data inputs? I could send you moduals if you are still making these videos. The more advanced ones are trancivers and to separate I don't know if that would make a differance or if the modual would handle that.

  • @kubajz2257
    @kubajz2257 7 ปีที่แล้ว

    19:45 So, does it mean, that the communication is immune to disturbances coming from ambient?

    • @SanjinDedic
      @SanjinDedic  7 ปีที่แล้ว

      No not at all. In fact if you listen to the radio you will hear those disturbances when you are close to tram lines or power lines! . However when the transmitter and the receiver are just a couple of meters apart the signal is pretty much 100% reliable.
      More advanced circuits (and more expensive) than this one have very elaborate noise filters to take care of these disturbances!

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

    Hello sir. Why you declared the message is MERRY CHRISTMAS while you sent X word. If I can declare X word for MERRY CHRISTMAS?

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

    Thanks for the video can you pls send me the link to the code

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

      Code available from here, scroll down to half way to download file www.instructables.com/id/433-MHz-RF-Links-Theory-Circuit-and-Program/

    • @CloudSecWithRay
      @CloudSecWithRay 7 ปีที่แล้ว

      Thanks

  • @angelnokare6906
    @angelnokare6906 7 ปีที่แล้ว

    hello i just tried this as i am making a RC car but this doesnt work for me. I copied your program, pressed the button but only red LED light up, the modules get the signal but it seems its not an "X" for some reason. than i tried and removed the antenna , than neither the red LED lighted up so modules should be getting something, its just not what am sending. could it be that my modules are not well made, or could it be the antenna? am using 17 cm on transmitter, and none on the reciever.

    • @SanjinDedic
      @SanjinDedic  7 ปีที่แล้ว

      Try using the serial and then Serial.println(buf[0]), also double check your curly braces

    • @angelnokare6906
      @angelnokare6906 7 ปีที่แล้ว

      am quite sure i exactly copied your program and so i was surprised it didnt work as yours, could it that i dont have an antenna on receiver?
      and would you mind to do a modification with serial.printin you just mentioned? am not sure where to put it in, if by any chance you could write that down for me, either by explaining or just by writing it into program for me.
      Thanks in advance for all of your support.

  • @sachi-abhi
    @sachi-abhi 6 ปีที่แล้ว

    will you send the virtualwire library link. you didn't given in the description

    • @SanjinDedic
      @SanjinDedic  6 ปีที่แล้ว

      Hi thanks for asking I added it to the description and here is the link just in case!

    • @sachi-abhi
      @sachi-abhi 6 ปีที่แล้ว

      Robotix . Thanks you so much.😊

    • @SanjinDedic
      @SanjinDedic  6 ปีที่แล้ว

      You're welcome 😀

  • @comsianlancers7126
    @comsianlancers7126 7 ปีที่แล้ว

    can we use single receiver for multiple transmitter

    • @SanjinDedic
      @SanjinDedic  7 ปีที่แล้ว

      The simple answer is yes! and you can use any kids of remote control!

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

    Okay, I've got this project I'm trying to build. 2 timed light sequences. The concept is race lights for 2 cars, either device can initiate with a button press. Cars lineup, driver A hits a button and the lights go on at the same time in car A and B. I want them battery powered and tossable from car to car. I found enough information on Arduino to build 2 circuits that work "wired," I wrote a sketch, programmed them both and it worked. So I went and got 2 Radio Featherwing RFM69 433mhz devices... and it's like I've hit a brick wall. I don't even know where to begin with these things. I did download the Radiohead. There just doesn't seem to be enough information to get me started on this. Arduino Code is in the description of the video th-cam.com/video/1VBQS9sNIKc/w-d-xo.html
    Future upgrades to include an IR sensor and tx to hold the sequence until the cars lineup, (I figure, wired, and clipped onto an outside mirror on each vehicle.) Maybe even a wire to the throttle position sensor to tell when someone jumps the light for a more permanent install, but cleaner racing.

  • @aymanor
    @aymanor 8 ปีที่แล้ว

    please send for me the programme ( recepteur and for emeteur )

    • @SanjinDedic
      @SanjinDedic  7 ปีที่แล้ว

      Code available from here, scroll down to half way to download file www.instructables.com/id/433-MHz-RF-Links-Theory-Circuit-and-Program/

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

    I wanna ask.. why my buzzer keep beeping even when im not pressing my button ??? Really need help

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

      can you past your receiving code, we will try to get to the bottom of this

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

      For the receiver part im using arduino nano and im following your source code..

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

      Hmm, my exact code, or did you copy it line by line?
      If it is exact I dont know what is going on, other than maybe the buzzer is wired in reverse?

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

      Im copy line by line..
      arduino Nano is just same with uno right?
      Is it the problem is regarding to rf?

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

      Well there could be an error with the nano interacting with the library . . . that is possible!
      but my guess is that you have a curly brace { or } in the wrong place turning on the buzzer regardless of message received being 'X'

  • @charliedelacey8856
    @charliedelacey8856 7 ปีที่แล้ว

    Wow! If you're not a teacher, you should be, because it's extremely rare to find someone who can explain something so ethereal in such an understandable way!
    As per the exceptional content of your video, may I highly suggest using a higher quality camera, especially for the portion wherein you are using the whiteboard to explain the electromagnetic frequencies. As is, I can hardly see some of the things you're writing on the board. Though this could possibly addressed by way of manipulating the light, contrast, saturation, etc. of the video in post-production.

    • @SanjinDedic
      @SanjinDedic  7 ปีที่แล้ว

      Hey Charlie
      thank you so much for that comment
      You will be happy to know that I am a teacher and I also train teachers in programming.
      As for the better contrast and video quality. You should check out the later videos, I got a professional 2 mike setup with a mixer and I mostly do screenshooting
      Take care! and keep the tips coming :)

  • @ashrafsiddiquee3180
    @ashrafsiddiquee3180 7 ปีที่แล้ว

    can you give me the arduino code please?

    • @SanjinDedic
      @SanjinDedic  7 ปีที่แล้ว

      Code available from here, scroll down to half way to download file www.instructables.com/id/433-MHz-RF-Links-Theory-Circuit-and-Program/

    • @ashrafsiddiquee3180
      @ashrafsiddiquee3180 7 ปีที่แล้ว

      thnkz a lot

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

    nyc 1

    • @SanjinDedic
      @SanjinDedic  9 ปีที่แล้ว

      AGREY SIMON
      Thanks mate!

  • @udith-pz4tv
    @udith-pz4tv 7 ปีที่แล้ว

    good Thanks,

  • @anthropomorphousdodecahedr6504
    @anthropomorphousdodecahedr6504 7 ปีที่แล้ว

    You don't need mathematical algorithms to filter out noise. You know what frequencies you are going to get therefore simple band-pass filter can do the trick.

    • @SanjinDedic
      @SanjinDedic  7 ปีที่แล้ว

      Thants a good point. . . . and its very often true for digital circuits which can tolerate a lot of noise (anything that doesnt turn a 0 to a 1 or vice versa is OK But there are tons of applications which arent covered by band pass filters.: en.wikipedia.org/wiki/Noise_reduction.

    • @anthropomorphousdodecahedr6504
      @anthropomorphousdodecahedr6504 7 ปีที่แล้ว

      Hey, thanks, will read-up

    • @SanjinDedic
      @SanjinDedic  7 ปีที่แล้ว

      All good, wish you luck :) .... denoising, encoding and data compression are pretty much the twlight zone of this field... that shit gets both weird and hard if you try to understand it!

  • @mdmokeetalam
    @mdmokeetalam 7 ปีที่แล้ว

    distance

    • @SanjinDedic
      @SanjinDedic  7 ปีที่แล้ว

      is about 15cm between the sensors

  • @acheron4455
    @acheron4455 7 ปีที่แล้ว

    I'm a targeted individual how do i get rid of my radio frequency?

    • @SanjinDedic
      @SanjinDedic  7 ปีที่แล้ว

      Well that depends on what you mean by your radio frequency?
      I dont know that anyone transmits a unique radio frequency (just from their body / brain waves) that can be detected over large distances. So if that is your issue, you need not worry.

    • @NeverSuspects
      @NeverSuspects 7 ปีที่แล้ว

      Maybe have a qualified dentist check any filling you may have gotten done? ;)

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

    Why don't you explain the tutorial directly without talking a lot about the transmission theory!

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

      Here it is :Pth-cam.com/video/gkc9xN9pZ4Y/w-d-xo.html

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

    it's not a tutorial, it's trying to see what you're doing while you mumble a bit and don't clearly explain what you are doing or why

  • @stizandelasage
    @stizandelasage 8 ปีที่แล้ว

    it's not simple

    • @SanjinDedic
      @SanjinDedic  7 ปีที่แล้ว

      As simple as I can make it... ;P

    • @stizandelasage
      @stizandelasage 7 ปีที่แล้ว

      you'll be a lot more satisfied if you do everything from scratch

    • @jwuethrich8385
      @jwuethrich8385 7 ปีที่แล้ว

      you used pre assembled molecular elements? pft what a noob. should have fuzzed your own atoms