Тёмный

AM Radio Transmitter on ESP32 

bitluni
Подписаться 252 тыс.
Просмотров 174 тыс.
50% 1

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

Наука

Опубликовано:

 

25 янв 2018

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 249   
@AhmetAkifKaya
@AhmetAkifKaya 6 лет назад
Is that the recording in the end an ascription to the Hawaii wrong nuclear alarm
@bitluni
@bitluni 6 лет назад
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 ( ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-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 лет назад
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 лет назад
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 лет назад
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 Месяц назад
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 лет назад
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
@TommyHelgevold
@TommyHelgevold 6 лет назад
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 лет назад
You Rickrolled us! :') I am so glad you made this awesome video! Thanks.
@CiprianBindiu
@CiprianBindiu 6 лет назад
This one was really awesome!!! I really like your style and sense of humor!
@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
@bluegizmo1983
@bluegizmo1983 4 года назад
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.
@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!!
@RoSi4You
@RoSi4You 6 лет назад
*It is a joy to watch your videos!*
@donjoergo
@donjoergo 6 лет назад
Haha your humour is fantastic :D Also very nice use of the 8bit DUCK
@BEdmonson85
@BEdmonson85 6 лет назад
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 года назад
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
@Really2950
@Really2950 6 лет назад
You’re quite an amazing genius. No one else covering audio like this. Original content...because genius :)
@tomaims
@tomaims 3 года назад
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.
@avijitdas6872
@avijitdas6872 5 лет назад
This is a kiss from love of technology 😘Mmmmmmmmmaaaahhh, well done my dear luni, your work have won my heart
@manickn6819
@manickn6819 6 лет назад
Damn I have a lot to learn on this but videos like this are quite an inspiration.
@macgyver5108
@macgyver5108 Год назад
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".
@AHamAtHrt
@AHamAtHrt 6 лет назад
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.
@abathurwaifu3302
@abathurwaifu3302 2 года назад
what
@piero957
@piero957 6 лет назад
Amazing trick and nice video editing. Your videos spark my interests.
@pch4287
@pch4287 6 лет назад
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!
@danielpare9129
@danielpare9129 6 лет назад
Great project, I love the Hawaiian touch at the end.
@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.
@jontech_Lab
@jontech_Lab 4 года назад
Always Genius,i admire your creativity
@DanielStinebaugh
@DanielStinebaugh 6 лет назад
Awesome job! It reminds me of the numbers station project for the pi
@GutsyGibbon
@GutsyGibbon 3 года назад
another great little project.
@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.
@dl8cy
@dl8cy 6 лет назад
Awesome work - thank you!
@TheLenstaa
@TheLenstaa 6 лет назад
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 лет назад
it's most probably much higher... I was just curious what we can do with no components :-)
@manuelminutello3027
@manuelminutello3027 6 лет назад
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
@avijitdas6872
@avijitdas6872 5 лет назад
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
@JohnoScott
@JohnoScott 6 лет назад
Fantastic yet again.
@davidgmos
@davidgmos 6 лет назад
Great work!
@ThiwankaWimalasuriya
@ThiwankaWimalasuriya 6 лет назад
great project. i will be doing this today
@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.
@JerryEricsson
@JerryEricsson 4 года назад
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.
@olivercrain5768
@olivercrain5768 3 года назад
Funny way to learn something. Thx for this.
@dasworkshop4967
@dasworkshop4967 4 года назад
The Rick-Roll was simply outstanding! Subscribed!
@RPhulNewsTrue
@RPhulNewsTrue 6 лет назад
You videos are great...
@MNfishing
@MNfishing 6 лет назад
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 :)
@MadLabZ
@MadLabZ 5 лет назад
Your electronics room tho, so clean, SUBBED!!!...my "project" room looks like someone shot off a cannon filled with components -_-
@emmanuelvidales505
@emmanuelvidales505 6 лет назад
Funny and Simple.. good video!
@manwithafork
@manwithafork 2 года назад
This video is a classic. Makes me spit my coffee out laughing every time.
@mohawkmike5271
@mohawkmike5271 4 года назад
DUDE YOU ARE AWESOME!
@samykamkar
@samykamkar 6 лет назад
Nice!
@tony91200211
@tony91200211 6 лет назад
Samy Kamkar bro where have you been no new videos?
@mafhper
@mafhper 2 года назад
THIS IS SOO COOL!
@TheDIYGuy999
@TheDIYGuy999 6 лет назад
Ingenious
@deejeymx
@deejeymx 5 лет назад
You're a genius !
@raymondtwm
@raymondtwm 6 лет назад
Awsome!
@gazzacroy
@gazzacroy 3 года назад
brilliant video.. your a cleaver fella :)
@abedamraie7879
@abedamraie7879 4 года назад
Nice one! thank you
@delusiongaming2506
@delusiongaming2506 6 лет назад
Im your fan!!!!
@hollensted
@hollensted 6 лет назад
This is sooo funny and impressive. :)
@EVERY.CIRCUIT
@EVERY.CIRCUIT 3 года назад
Nice idea
@chriskall6276
@chriskall6276 6 лет назад
The younger generation will never know the joy of rick rolling someone *one tear runs down my face*
@enaudeni
@enaudeni 5 лет назад
I was just wondering the audio you used for the esp32 “This is an emergency broad cast. Nuclear missile inbound detected…” Where did you get that from? Thanks.
@MrNoorino
@MrNoorino 3 года назад
You are the best
@planker
@planker 11 месяцев назад
Excellent
@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
@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... :)
@aonoymousandy7467
@aonoymousandy7467 5 лет назад
Would this work on an arduino uno r3?
@odissey2
@odissey2 4 года назад
I must've missed the trick, but how AM modulation was done? Do you calculate whole Ampl(t) * Sine(wt) and send it to the DAC in real-time?
@skane01
@skane01 4 года назад
Hi, great video, fantastically simple yet so powerful. Have you set up a transmitter / receiver pair?
@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.
@adamkrasuski4743
@adamkrasuski4743 6 лет назад
Love the quick jokes!
@TomBruner1
@TomBruner1 4 года назад
Have you tried hooking up a standard AM loop antenna like you have on your receiver?
@lintangwisesa
@lintangwisesa 6 лет назад
Masterpiece (y)
@MrEoxs
@MrEoxs 3 года назад
do you think that a esp32 would be capable to decode a component or s-video signal and convert to vga? like a video adapter?
@Brausepaul123
@Brausepaul123 6 лет назад
Is it possible to use an Analog input pin for audio in? I'm not confirm to audio signals on an 3,5 mm jack but may the voltage drop on a resistor could be used as input signal
@bitluni
@bitluni 6 лет назад
I will try to build a basic audio filter in future, so we can try that then
@mihigyver
@mihigyver 6 лет назад
why not bluetooth?
@Zhaymoor
@Zhaymoor 6 лет назад
How do you create the file ? what happens to the audio when you convert it
@joinedupjon
@joinedupjon 6 лет назад
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
@BloodAsp
@BloodAsp 5 лет назад
Does this have to be modified in order to work on the ESP8266 12E?
@justinhulme7269
@justinhulme7269 6 лет назад
how does your converter work? I would like to replicate and modify it for a project of mine. I am trying to wirelessly add the file to my ESP32 using OTA.
@richardgrier4721
@richardgrier4721 6 лет назад
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 лет назад
Good luck getting anything close to a quarter wave on the AM BC bands
@richardgrier4721
@richardgrier4721 6 лет назад
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
@GianniDPC
@GianniDPC 5 лет назад
The code after the "//modulating that sample on the 16 values of the carrier wave (respect to I2S byte order, 16Bit/Sample)" comment, why do you have to increment with 0x8000? I suspect this is to keep the MSB a 1 but why?
@computerchannel3624
@computerchannel3624 Год назад
Which pin should the antenna be plugged into for the ESP32 MiniKIT?
@ProtoG42
@ProtoG42 6 лет назад
Awesome! Any luck with FM transmissions?
@tarablecode6115
@tarablecode6115 6 лет назад
Can the frequency be changed? This is cool as heck but I don't understand the math behind it :/
@noelandrew3600
@noelandrew3600 Год назад
Could this be used for a FM transmiter for use as Ham radio Fox hunt transmiter? would make it nice and small and hard to find.
@RelianceIndustriesLtd
@RelianceIndustriesLtd 6 лет назад
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
@andrewandrosow4797
@andrewandrosow4797 4 года назад
Did you use a DDS technique for tuning?
@sincerelyyours7538
@sincerelyyours7538 6 лет назад
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.
@albygnigni
@albygnigni 6 лет назад
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 лет назад
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?
@kemperschannel4099
@kemperschannel4099 4 года назад
you are best
@MiNDDisruptor
@MiNDDisruptor 6 лет назад
very nice :)
@avijitdas6872
@avijitdas6872 5 лет назад
Or you can attach a 225 meter vertical wire 😵 which is a 5/8 wavelength antenna at 833 kHz.
@GerardoKasevich
@GerardoKasevich 3 года назад
Hi. I want to build a system like rfid uhf for access control vehicles. Any idea 💡?
@crawlinginfilm9683
@crawlinginfilm9683 4 года назад
04:18 frequency stability seems to be an issue? any fix for that?
@tommymairo8964
@tommymairo8964 5 лет назад
You can add a push pull amplifier to increase the output power.
@fixmix4954
@fixmix4954 5 лет назад
Super! I go to make it.
@Valentiy
@Valentiy 5 лет назад
Пять балоффф... Поучительно и с юмором.... :)
@biker2k3
@biker2k3 6 лет назад
Exelente!
@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.
@avijitdas6872
@avijitdas6872 5 лет назад
This is the second sdr project by you on esp32
@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?
@TheTurmanDreams
@TheTurmanDreams 2 года назад
Great !!!!
@edgeeffect
@edgeeffect 4 года назад
8-bit Ducks! Excellent!
@mili_pili
@mili_pili 2 месяца назад
Is it also possible to transfer video? Like DVB-T?
Далее
I made a little LED Matrix and everything went wrong
14:08
Склеил девушку-курьера ❤️
01:00
ESP32 Composite Video
5:56
Просмотров 151 тыс.
1 MHz AM Transmitter
14:19
Просмотров 83 тыс.
Arduino as AM Radio Transmitter
9:31
Просмотров 9 тыс.
I made a custom ASIC: World's first of its kind
16:38
Просмотров 189 тыс.
I made a VGA card that blew my mind
15:44
Просмотров 424 тыс.
How to make a AM Radio Transmitter
11:36
Просмотров 137 тыс.
How to Make AM Radio Transmitter
8:43
Просмотров 356 тыс.