AM Radio Transmitter on ESP32

Поделиться
HTML-код
  • Опубликовано: 25 янв 2018
  • This video shows how to make a super simple AM radio transmitter using the ESP32 microcontroller.
    The parts, code, audio converter, and details can be found on the project page: bitluni.net/am-radio-transmitter/
    plz share :-)
    Consider supporting our work on Patreon for some extras:
    / bitluni
    We are also thankful for any donation on PayPal:
    paypal.me/bitluni
    ..or use our affiliate links:
    the Rigol oscilloscope is quite cheap on Amazon us:
    amzn.to/2DBQ4Fo
    Twitter: @bitluni
  • НаукаНаука

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

  • @AhmetAkifKaya
    @AhmetAkifKaya 6 лет назад +78

    Is that the recording in the end an ascription to the Hawaii wrong nuclear alarm

    • @bitluni
      @bitluni  6 лет назад +52

      Funfact.. the video was scripted just before Hawaii happened. I almost removed that gag since I was kind of tasteless. But since the release was postponed by a week I kept it :-D
      The text is influenced by the ridiculous propaganda videos from the cold war in USA "duck and cover" where children were conveyed they could hide under the table from a nuclear impact ( ruclips.net/video/IKqXu-5jw60/видео.html ). The text is spoken by my girlfriend. We also were trying to use a similar inflection like flight attendants are using as if this was something trivial

    • @AhmetAkifKaya
      @AhmetAkifKaya 6 лет назад +2

      bitluni's lab , Yes the cold war era was something interesting and It's so cool that how humourous this video is about that. Also I really appreciate your projects and experiments.

    • @kc8omg
      @kc8omg 6 лет назад +19

      Really enjoyed the video, awesomely simple solution.
      I like sharing the following because I found it interesting when I discovered it:
      Having done some research for a paper I wrote, hiding under a desk from an atomic bomb is not as ridiculous as it sounds. Just like regular bombs the damage is worst at the center and gets weaker as you get away from the center. Essentially if you're at a distance from the detonation that you could see a flash and react to it ("duck and cover"), you're at a distance where the initial blast/heat isn't going to kill you, but the heat flash could still burn you and the flying debris from the incoming pressure wave could hurt you, so putting something between you and that debris/heat can actually prevent a lot of injuries.
      Also, while you would receive some dose of radiation, if you're at a distance from the epicenter where "duck and cover" would make a difference, it would not be a life threatening amount of radiation. With the nuclear weapons currently in service around the world, if you're close enough to receive lethal radiation, you'll be killed in the initial blast anyway. Interestingly, at these "duck and cover" distances the heat wave can still be strong enough to cause 2nd and even 3rd degree burns, but it's so brief that clothing and even something as thin as a sheet, tablecloth, or even newspaper can stop it from hurting you.
      So no, if you're near the center of the detonation it won't do you any good, that much is obvious. But we're talking about a bomb that can have an effect on many square kilometers of area, and there is a significant portion of that area where "duck and cover" could quite possibly save your life and/or prevent injury.

    • @bitluni
      @bitluni  6 лет назад +6

      That indeed is quite interesting. What kind of radiation is involved? I guess alpha and beta are probably blocked by the air at the distance you survive the blast....

  • @DewaldPierreNel
    @DewaldPierreNel 8 дней назад +1

    You can try making a magnetic loop similar to the loop on your receiver. The magnetic loop can be adjusted using a variable capacitor to allow it to resonate to your carrier. There are many online calculators available. I would also suggest adding an amplifier circuit to drive the loop while keeping the output pin on the transmitter safe. Thus a high impedance input seen from the pin and the gain of the amplifier will help boost the signal to make it propagate further to your granny next door.

  • @onlyrgu
    @onlyrgu 6 лет назад +9

    I remember AM transistor radio kits i use to play with in the late 90s..It took me 100 times the effort to build one...Thanks for the video

  • @CiprianBindiu
    @CiprianBindiu 6 лет назад +7

    This one was really awesome!!! I really like your style and sense of humor!

  • @TommyHelgevold
    @TommyHelgevold 6 лет назад +4

    Simply super clever. This is what I've been looking for to give my old radio's some extra life. I have tube radios like yours, big console radios, one of them is from 1949, and this would be nice. I can imagine streaming audio to it, and using that as the transmitter.

  • @sagarshubham8660
    @sagarshubham8660 6 лет назад +42

    You Rickrolled us! :')
    I am so glad you made this awesome video!
    Thanks.

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

    Love the simplicity of this design and that you used a simple esp32 dac. Your videos are good food. Going to sign up for patrion for you

  • @Really2950
    @Really2950 6 лет назад +10

    You’re quite an amazing genius. No one else covering audio like this. Original content...because genius :)

  • @RoSi4You
    @RoSi4You 6 лет назад +2

    *It is a joy to watch your videos!*

  • @BEdmonson85
    @BEdmonson85 6 лет назад +64

    The antenna length for a radio transmitter is generally some multiple of 1/4 wave length. But that's only part of the story, the transmitter's output impedance should match the load impedance of the antenna. This load impedance differs depending on the type of antenna you use. I suspect that if you were to cut a wire the same length as the antenna and attach it to ground, you may get better range. This wire is called a counterpoise and gives the antenna a "ground plane" to radiate from. Or if held inline with the antenna wire, you'd have a dipole, though for a much higher frequency than intended. Also you could add a coil to the bottom of the antenna to add some inductance to it, which makes the antenna appear electrically longer to the transmitter. Good Luck!

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

      1/4 wavelength dipole with an impedance matching balun is definitely the way to for high power applications. But for such a low power transmitter, it's not worth having a massive 180m dipole antenna.

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

      what

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

      @@tunahankaratay1523 or use coils instead of a massive 180cm antenna I'd say.
      Still obviously it'd be pretty overkill anyway

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

      @@MaxC_1 Yes, coils are the only sensible antennas for medium wave in small applications. Because it is not 180cm. It is 180 METERS. That's why the actual stations use such large antennas. 180cm would actually be reasonable, even low power FM stations use a proper dipole antenna because they are easy to make, place and maintain.

  • @martinj9268
    @martinj9268 6 лет назад

    This is a really cool weekend project, man! Keep it up

  • @GeekMustHave
    @GeekMustHave 6 лет назад

    I am in awe. The level of technology here is amazing, you explained some things about AM transmissions is such an easy way to understand. The vintage radio looks like a Grundig? On top of all this, you are a musician. I bet you know how to cook too. ;-) I think all you need now is a 1kw linear amplifier and you can become Radio Bitluni. Keep broadcasting!!

  • @tomaims
    @tomaims 3 года назад +7

    I think antennas can be 1/2 or even 1/4 of the recommended length. Also, coiling the wire if it is long can help manage these potentially long antenna wires. Various modern antenna designs can do amazing things with short wires. The problem is they are not free. Nice project I just subscribed as you appear to have some unique projects/ideas I'd like to explore.

  • @donjoergo
    @donjoergo 6 лет назад +27

    Haha your humour is fantastic :D Also very nice use of the 8bit DUCK

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

    I know this video is old and I'm sure someone already commented this, but antenna length (without going into crazy details) should generally be 1/4 wave in length for optimal range.

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

    4:49 not sure if you've discovered it by now but an "ideal" antenna length for transmitting/receiving is either a 1/4 wavelength vertical using a ground plane (like on a car hood, the car body is ground) or a dipole antenna with two 1/4 wave elements that alternate +/- fields, like on old TV's that used "rabbit ears".

  • @manickn6819
    @manickn6819 6 лет назад +1

    Damn I have a lot to learn on this but videos like this are quite an inspiration.

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

    This is a kiss from love of technology 😘Mmmmmmmmmaaaahhh, well done my dear luni, your work have won my heart

  • @piero957
    @piero957 6 лет назад

    Amazing trick and nice video editing. Your videos spark my interests.

  • @pch4287
    @pch4287 6 лет назад +1

    Amazing work.Congratulations

  • @reneweise
    @reneweise 6 лет назад

    Congratulations for the video! Your videos teach and make me laugh a lot too!

  • @ettorediblasio7241
    @ettorediblasio7241 6 лет назад

    Good job!!!
    Thanks for sharing, Bruno!

  • @manuelminutello3027
    @manuelminutello3027 6 лет назад +1

    the antenna type that you want is a monopole antena, that type require a length of 1\4 wavelength, but that requires a counterpoise to work properly. also an antenna do not works just by length, tha shape and position takes a good part of the data to characterize an antenna, also your transmitter do not have a constant output impedance so a precisely shaped antenna will be worthless. in this case coil up as much wire as you can and you will be fine :)
    manuel, 18 years old ham radio operator from italy

  • @DanielStinebaugh
    @DanielStinebaugh 6 лет назад

    Awesome job! It reminds me of the numbers station project for the pi

  • @AHamAtHrt
    @AHamAtHrt 6 лет назад +2

    I just tried this and it works great. It's brilliant in it's simple implementation. Congratulations. The only issue I had was the I2S_NUM_0 is the DAC1 pin not GPIO_0, missed that point in the video. Once that was figured out, I received my wav file on 835Khz.

  • @danielpare9129
    @danielpare9129 6 лет назад +1

    Great project, I love the Hawaiian touch at the end.

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

    Always Genius,i admire your creativity

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

    another great little project.

  • @mobluse
    @mobluse 6 лет назад

    High Five! I've got this project running, on the same 5" B/W video monitor that I run your first composite projects on, because it also have an AM receiver and FM receiver.

  • @dl8cy
    @dl8cy 6 лет назад

    Awesome work - thank you!

  • @samykamkar
    @samykamkar 6 лет назад +11

    Nice!

    • @tony91200211
      @tony91200211 6 лет назад +1

      Samy Kamkar bro where have you been no new videos?

  • @phizicks
    @phizicks 6 лет назад

    ROFL enrick!!!! that got me on the floor. Usually antennas are 1/4 wave length. been 30 years since I had worked on it at a technical college.

  • @TheLenstaa
    @TheLenstaa 6 лет назад +5

    That's pretty awesome, you should buy a cheap wideband RF amplifier (you can get miniaturised ones from eBay and such, also they run on 5V), then link it up and see what the range is like afterwards.

    • @bitluni
      @bitluni  6 лет назад +1

      it's most probably much higher... I was just curious what we can do with no components :-)

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

    Funny way to learn something. Thx for this.

  • @JohnoScott
    @JohnoScott 6 лет назад

    Fantastic yet again.

  • @MNfishing
    @MNfishing 6 лет назад +1

    Hey mein bester, hammer videos und ein mega geiler Kanal!!!! Bin ein riesen Fan!!!!! Mach bitte immer weiter so. Viele Grüße Michi

    • @MNfishing
      @MNfishing 6 лет назад

      Ah und grüß Eunice von mir :)

  • @zolatanaffa87
    @zolatanaffa87 6 лет назад

    Hello
    Ah! old amateur radio memories come back to life!
    (I hope not to say nonsense: I go to memory 20 years ago)
    for good signal transmission there are at least three very important variables:
    the power of the transmitter (I think ESP32 does not have much to put out)
    The length of the antenna (based on frequency and wire propagation factor)
    The relative position between the two antennas, (RX and TX)
    the higher the frequency the higher the influence of relative positioning of the antennas is.
    In your case, given the frequency and the distance between TX and RX, I believe that the main responsible for signal attenuation is the microscopic output power of the ESP32.
    The antenna of the modern tuner is then of the ring type, so as it is done it should not be affected by the position of the transmitting antenna and is calculated to pick up microvolt so even the small power of ESP32 is captured, a short distance away, but as soon as you move away. ..
    The power drops with the square of the distance, so ...
    You could use the output signal to excite a linear amplifier (for these frequencies: a simple amplifier with a normal transistor and a band-pass filter, you can find amateur schemes on the internet) adjusted for the AM frequency and drastically improve the range of your ESP32 .
    for some proof it can be done, but I do not know the German laws and I would not give you problems of transmission nonn authorized, of these times I would not want someone to accuse you of acts of terrorism :-)
    P.S. in case you could think of making yourself a long antenna do not do it in full wave, but at most 5/8 wave. if I remember well, You do not get a good signal transfer.

  • @ThiwankaWimalasuriya
    @ThiwankaWimalasuriya 6 лет назад

    great project. i will be doing this today

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

    It was back in 1977, I was just completing my 2nd enlistment in the US Army, since I was going to get out, the recruiting station where I was located put me on terminal leave, so with nothing to do, I enrolled in college studying to be an auto mechanic. I was a bit of a older student at the time, and it happened that one of my fellow students had rolled his muscle car by driving a bit over the speed limit, (read about twice the limit) so he was without a ride to college. I drove right through his town to go to the Tech every day, so stopped and picked him up to give him a ride. I was driving a little Opel Manta, neat little car, and my experience as a police officer gave me a bit more skill to drive those wandering back roads of rural Minnesota. The little bastard used to brag all the way to college and back about his driving skills, so I began getting even with him. First, I would drive, a bit over the speed limit when I came to where I knew he had wrecked his car, then I began getting closer and closer to the guard rails that protected us from the narrow bridge crossings on the back roads, and last but not least, I found an 8 track tape (after in 77 what else could you play in a car?) with police sirens, So when I neared that bridge, I floored the little German car, she jumped forward like a spurred stallion, up across that old wooden bridge, the door handles nearly scraping the guard rails, I pushed in the tape and told him to hang on, the Sheriff is behind us. He ducked down and began to weep, so being the kind hearted man that I am, I only kept up the fake chase for another mile or so before announcing that I lost the cop. Result? The dude never again asked me for a ride to college.

  • @davidgmos
    @davidgmos 6 лет назад

    Great work!

  • @RPhulNewsTrue
    @RPhulNewsTrue 6 лет назад

    You videos are great...

  • @emmanuelvidales505
    @emmanuelvidales505 6 лет назад

    Funny and Simple.. good video!

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

    The Rick-Roll was simply outstanding! Subscribed!

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

    Best antennas for MW band are ferrite based, those are lossy too. In order to improve the range a band pass amplifier is mandatory along with such antennas

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

    Your electronics room tho, so clean, SUBBED!!!...my "project" room looks like someone shot off a cannon filled with components -_-

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

    DUDE YOU ARE AWESOME!

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

    This video is a classic. Makes me spit my coffee out laughing every time.

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

    You're a genius !

  • @TheDIYGuy999
    @TheDIYGuy999 6 лет назад +1

    Ingenious

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

    THIS IS SOO COOL!

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

    my dude its all good your radio is beast. But I will suggest a trick I discovered that works most times. Take a antenna from a car and just stick a jack to it works wonders xD

  • @raymondtwm
    @raymondtwm 6 лет назад +3

    Awsome!

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

    Nice one! thank you

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

    brilliant video.. your a cleaver fella :)

  • @hollensted
    @hollensted 6 лет назад

    This is sooo funny and impressive. :)

  • @delusiongaming2506
    @delusiongaming2506 6 лет назад +1

    Im your fan!!!!

  • @EVERY.CIRCUIT
    @EVERY.CIRCUIT 3 года назад

    Nice idea

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

    I too do not have much knowledge about antenas, but in my university(UFCG), people use this book as a reference of the class that studies it: from Constantine A. Balanis, Antenna Theory: Analysis and Design.
    I think you can start with that... Great video! If you want some help to find the book, comment below... :)

  • @lintangwisesa
    @lintangwisesa 6 лет назад

    Masterpiece (y)

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

    You are the best

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

    In the US, the FCC has rules about the size of AM broadcast band antennas used with unlicensed transmitters. I think it's like 1 meter long or something.
    As far as practical small antennas for medium wave, I'd suggest multiturn loop antennas.

  • @richardgrier4721
    @richardgrier4721 6 лет назад +27

    1/4 wavelength wave is best. Load with an inductor (coil) in series for a shorter physical antenna.

    • @bitluni
      @bitluni  6 лет назад

      thanks

    • @Jefferson-ly5qe
      @Jefferson-ly5qe 6 лет назад +3

      Good luck getting anything close to a quarter wave on the AM BC bands

    • @richardgrier4721
      @richardgrier4721 6 лет назад +3

      That's why a loading coil is used. It matches (as closely as is practical) the impedance that the transmitter sees to that of a 1/4 wavelength antenna -- allowing a much shorter physical antenna to be used.

    • @Moonblade042194
      @Moonblade042194 6 лет назад

      It also depends on the shape of the antenna that you are trying to send the signal to.

    • @Jefferson-ly5qe
      @Jefferson-ly5qe 6 лет назад

      Richard Grier yeah, fair enough. The inductive ballast will help. It's just a long way from a quarter wave. May as well call it a whip antenna

  • @planker
    @planker 10 месяцев назад

    Excellent

  • @joinedupjon
    @joinedupjon 6 лет назад +1

    IIRC the theory... you always want the best aerial on the transmitter and then it matters less what aerial you have on the receiver. This is to do with getting your desired signal further above the 'noise floor'.
    So maybe borrow the AM loop seen at 2.53 for the TX and use the wire (or a ferrite out of a junk AM boombox) for the receiver.
    Might also be possible to tune the loop (which is inductive ofc) using a variable cap across the twisted pair feeder.

    • @zolatanaffa87
      @zolatanaffa87 6 лет назад

      joinedupjon
      youre right but we are making a broadcast radio like Deutsche Welle with a poor crystal microtransmitter

  • @sincerelyyours7538
    @sincerelyyours7538 6 лет назад +1

    Very nice! Been looking for a home Hi-Fi AM transmitter to broadcast oldies music to my tube radios (one of which is a Grundig Type 2030 W/3D radio from 1955 that looks strikingly like the nameless one you have in your video). I'm especially interested in getting bandwidth as close to 15 kHz as possible to reproduce the best Hi-Fi AM sound, which is what those old radios used to receive before FM became popular in the 1960s. Today 10 kHz BW is the legal limit for AM but as long as no commercial stations are nearby, exceeding that by a few kHz in a very localized area should theoretically be possible. By localized I mean keeping your signal under 1/4 watt so your range will barely make it out your front door.

    • @stewartrv
      @stewartrv 6 лет назад

      Or instead install a wireless USB bluetooth adapter and insert the signal into the valve amp. Then you can send stuff from your phone or laptop to play on the old radio as if it was a bluetooth dock.

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

    Пять балоффф... Поучительно и с юмором.... :)

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

    Hi, great video, fantastically simple yet so powerful. Have you set up a transmitter / receiver pair?

  • @adamkrasuski4743
    @adamkrasuski4743 6 лет назад

    Love the quick jokes!

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

    You can add a push pull amplifier to increase the output power.

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

    Super! I go to make it.

  • @albygnigni
    @albygnigni 6 лет назад +2

    Well done! I think you can get better transmission adding a unity gain op amp, since the DAC is really low power

    • @Harvid.
      @Harvid. 6 лет назад

      DAC won't be really interesting, if possible :-D

    • @bitluni
      @bitluni  6 лет назад +1

      that's true.. it's just few components more

    • @martinj9268
      @martinj9268 6 лет назад

      Isak Thjellesen am I misinterpreting this, or are you saying digital to analog conversion wouldn't be interesting if it were even possible? Or does DAC stand for something else in this case?

  • @2ftg
    @2ftg 3 года назад

    Put a coil in series with the antenna (at the ESP32 end) to match it better to the pin's output impedance and to lengthen the antenna electrically.

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

    Lol, your awesome. Please consider some fun projects using the JeVois smart camera.. I would love to see and build them. ( light strips that follow your movement / or lights on with guesture/ Or make a giant virtual key board to re-Inact Tom Hanks in “big”? Interested?)
    I could put to practical use these projects :) -Requires creating some test patterns and train neural net by doing.. Someone of your skill and knowledge could really rock in this area, and get others like me out of the gate 🙂Thanks for all your vids!

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

      - I’d offer to send you the camera if your interested ( I’m interested in smarter home uses)

  • @MiNDDisruptor
    @MiNDDisruptor 6 лет назад

    very nice :)

  • @biker2k3
    @biker2k3 6 лет назад

    Exelente!

  • @jaredgray7872
    @jaredgray7872 6 лет назад +1

    I should've seen that coming

  • @chriskall6276
    @chriskall6276 6 лет назад

    The younger generation will never know the joy of rick rolling someone *one tear runs down my face*

  • @ProtoG42
    @ProtoG42 6 лет назад

    Awesome! Any luck with FM transmissions?

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

    This is the second sdr project by you on esp32

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

    you are best

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

    Or you can attach a 225 meter vertical wire 😵 which is a 5/8 wavelength antenna at 833 kHz.

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

    Great !!!!

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

    That's awesome, now you culd tweak the code so that you might have one input channel as Audi input? So you can use an mp3 player for audio sources. You might want to bias the input channel, si you get negative portion of the voltage in the ad converter.
    What it comes to the antenna, there is a lot of info online about the antenna design
    This is how I wuld go oon with it. If the pin output voltage is 5v and the max amps ia example 1A you have ability off 5w into a 1 ohm load. End feed 1/2 and full wave antennas have a really high feed iimpedance, closer to 3000 or 5000 ohm. So not going to work without advantage tuning system. An 1/4 wave antenna has about 50 ohm but it needs a lot off ground. An half wave middle feed or as called dipole has abaut 50 ohm. So you need a ground in your system, not only the radiator of the pin.
    @50 ohm you should have about 0.5w. Of course that's the peak number, so as am modulation head room you carrier is abaut 0.25w
    If you built a balun, it's a fancy name for transformer. Let's say 1 to 4 your 50 ohm loud looks like 12.5 ohm to the board, so you get around 2w peak power and 1w carrier.
    I probably wouldn't go much higher than that without knowing how the antenna really works, there is a lot of impact from whats around the antenna that impacts both impedance and resonance. You probably won't go that far away, but at least having a big coil might help the range a bit

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

    8-bit Ducks! Excellent!

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

    Fun dude 😉

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

    You need a ferrite loop antenna. That's your best bet. Remember that it is "noise cancelling" so you need to place it in the correct orientation.

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

    :P made my day

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

    I gave two thumbs up for your puns! Doh!

  • @mihalym.6876
    @mihalym.6876 3 года назад

    Thank you for this project, it is very interesting. To check the operation of a crystal foxhole radio I decided to build a simple transmitter. This solution seems OK for me therefore I started to study and understand your project. The HW side is presented well, no question about that. The SW side left open a couple of questions. Unfortunately the video and the comments on the source code does not show much about this. First the carrier frequency: I do not know how could it be 835khz. If clock is 240Mhz than PLL_D2_CLK is 240Mhz. The divider is (1/3)(1/2) in master mode gives 40Mhz clock frequency. Where the 6.5 Mhz come from?. The most interesting part is the modulation of the carrier frequency. The code is simple and dense but I was not able to figure out how it works. Unfortunately I do not find useful information about the decoded audio data format. Not knowing this is a barrier to understand the decoder code. Any help is appreciated in advance!

  • @tekvax01
    @tekvax01 6 лет назад +8

    make the antenna a 1/4 wavelength of the carrier frequency

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

      It would be 90 meters for monopole and 180 meters for dipole, which is not only quite impossible, but also such a low power transmitter wouldn't be effective on such a long antenna.

  • @youssefaly97
    @youssefaly97 6 лет назад +3

    This antenna is known as a monopole antenna, it's linearly polarized, so it must be aligned to be parallel with the receiver antenna as much as possible specially with such low transmission power. It should also have a ground plane connected to the ESP32 ground and the antenna should be normal to it. Ground plane dimensions are not very critical, at least not for this, it's best if it's circular though. The antenna length commonly used is 1/4 of the wavelength or a multiple or fraction of that. The feed line, the yellow in this case, is best if it's shielded and the shield connected to the ESP32 ground as well as the ground plane.

    • @bitluni
      @bitluni  6 лет назад +1

      Awesome! Thanks... this should be helpful!

    • @youssefaly97
      @youssefaly97 6 лет назад

      bitluni's lab also try to amplify that signal with an opamp or even a 2N3904 amplifier and tell me how much range you can get out of that, would be awesome if you can get 5 meters or more!

    • @AdityaMehendale
      @AdityaMehendale 6 лет назад +1

      A monopole should be 1/4th the wavelength (longer is never better; shorter is acceptable but worse) - but this assumes you have a large ground plane. If you don't have a large ground, then a dipole (i.e. a double monopole, L/4 to one side and L/4 to the other, so L/2 total wire-length) would be best, shorter is okay, but longer is never better.
      Think of it as if you have a sinusoidally varying electric field. You want to sample the highest and the lowest point (with say a superfast multimeter). Where would you put the leads of the multimeter? The red wire at the peak and the black wire at the valley - this is essentially the dipole --> L/2 distance between the peak and valley. If you go shorter with your leads (dipole antenna) you'll get a smaller measured voltage (signal strength). Having longer wires will never be better, as then you would go "downhill" again.

    • @AdityaMehendale
      @AdityaMehendale 6 лет назад +1

      Did you see SpriteTM's video BTW, where he uses the internal clock-calibration-register of an 8-pin AVR to make FM?

    • @youssefaly97
      @youssefaly97 6 лет назад +1

      Aditya Mehendale sorry I couldn't get to reply earlier. In theory, multiples of 1/4 wavelength is better in some aspects, including better gain and directivity, in practice not, specially frequencies less than 1 Ghz which tend to have quite long wavelengths. Earth or soil, can be used as a ground plane but be sure to isolate the feedline center/positive/antenna from the soil/ground.

  • @DaveJunior
    @DaveJunior 6 лет назад

    how to make a 20hz / 20khz audio transmitter and receiver to use as a wireless ear and also a guitar transmitter?

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

    Use an analogue amplifier for the radio signal. The controller generates the signal, but it simply needs more power.

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

    sounds very cool, could it be use to be a realtime broadcaster?

  • @lordhelmchen100
    @lordhelmchen100 6 лет назад +2

    i see you use a Denon AVR. You might not know this, but these are actually great for controlling via an ESP. Denon provides a Table of instructions for controlling it over the ethernet port on their website

    • @bitluni
      @bitluni  6 лет назад +1

      My one seems to be too old. Don't have an ethernet port

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

    Have you tried hooking up a standard AM loop antenna like you have on your receiver?

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

    Antenna lengths become practical at frequencies above 20 Mhz

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

    Very interesting work. But unfortunately I don't have the right libary's in my arduino IDE. Can you tell me wich libaries I need?

  • @RelianceIndustriesLtd
    @RelianceIndustriesLtd 6 лет назад +1

    i just found yur channel.yur awesome..is it also possible to build an FM transmitter with esp32? can we boost the signal strength with an opamp? does the the esp12e have any DACs?

    • @zolatanaffa87
      @zolatanaffa87 6 лет назад

      for boostin signal it's better a simple transistor amplificator than an opamp: usually opamp are for signal not for power

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

    RickRolled! Love it!