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
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.
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.
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....
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.
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".
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!
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.
@@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.
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.
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.
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
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.
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.
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!!
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.
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.
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.
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
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.
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.
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.
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... :)
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.
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
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.
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.
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'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!
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.
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.
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?
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.
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!
I liked the emergency announcement broadcast, I wonder what would happen if I let it rip in the middle of a church service? (through the main PA of course) For your AM antenna, a resonant coil on a ferrite rod would probably be your easiest option. For longwire antenna's, a quarter wavelength is the desired length, along with a ground, or a dipole - both ridiculous large at this frequency, so a loop antenna is your best bet.
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
The antenna must be half the wavelength. That creates a resonant oscillation in the antenna, using ground as negative antenna, and that creates the electromagnetic wave. The orientation of the antenna determinate the polarity of the wave (vertical or horizontal). The smallest the angle, the better quality of the audio. NOTE: I'm not an expert, in fact, I barely know about this, so it might be wrong
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
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?
please try to make code to decode encode to oled and transmit from keyboard on various frequencies ham radio psk31/rtty/feldhell. you think it can be done?
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!
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?
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
Could you make a audiostrobe mindmachine decoder? You know, the funny flashing goggles. 1) Filter out the music below 18Khz 2) AM-decode the audiostrobe signal at 19.2Khz 3) output the signal to leds. That would be awesome!
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.
The a tank filter centred at the Fc would work. But you could also use a switched capacitor filter and drive the clock with an output of the computer clock.
dan b some antennas are able to perform the filtering function by themselves. Something to do with distributed element model, but scaled accordingly for AM frequencies.
A bandpass filter, with very steep response curve and 9 KHz bandwidth to be sure not to create disturbances on the rest of the band to tune to the emission frequency, but this I would use only after a linear amplifier: in the video it was clearly seen that as soon as you went out of frequency with the receiver the signal disappeared, therefore, simplifying, no detectable disturbance.
@@bitluni Construct a pi filter on the output, but that will necessitate the use of more components, the thing you're trying not to do. But that's what makes a good transmitter.
I have a question. I'm trying to find an AM transmitter that would send a tone or whatever on as close to 470 khz as I can get, the IF frequency of an antique radio I'm trying to restore. I'd like to use it to peak the IF circuits of this radio and a few others. I don't quite understand the math involved in setting the carrier frequency. If I could alter the code to send at a frequency of 470khz, I could upload a tone to the "audio to header converter" and this would suit my needs perfectly. I've seen the ESp32 FM transmitter out there, which you can set the frequency , but I need AM. Could someone point me in the right direction ? Maybe I could just change the ESP32 max frequency from 240m in the code to a proportionally lower frequency? (say 135.414m ? ) Or should I change the sampling rate? Thanks for any assistance
Since you need an external circuit, can't you just put a switch on the side to manually sync? You could also have the ESP connect to NTP and output some voltage to GPIO to trigger your radio receiver part..?
Is that the recording in the end an ascription to the Hawaii wrong nuclear alarm
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
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.
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.
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....
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.
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
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".
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!
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.
what
@@tunahankaratay1523 or use coils instead of a massive 180cm antenna I'd say.
Still obviously it'd be pretty overkill anyway
@@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.
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.
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.
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
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.
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.
what
You Rickrolled us! :')
I am so glad you made this awesome video!
Thanks.
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!!
You’re quite an amazing genius. No one else covering audio like this. Original content...because genius :)
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.
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.
This one was really awesome!!! I really like your style and sense of humor!
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.
it's most probably much higher... I was just curious what we can do with no components :-)
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
Haha your humour is fantastic :D Also very nice use of the 8bit DUCK
1/4 wavelength wave is best. Load with an inductor (coil) in series for a shorter physical antenna.
thanks
Good luck getting anything close to a quarter wave on the AM BC bands
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.
It also depends on the shape of the antenna that you are trying to send the signal to.
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
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.
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
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.
joinedupjon
youre right but we are making a broadcast radio like Deutsche Welle with a poor crystal microtransmitter
Damn I have a lot to learn on this but videos like this are quite an inspiration.
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.
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... :)
Nice!
Samy Kamkar bro where have you been no new videos?
*It is a joy to watch your videos!*
This is a kiss from love of technology 😘Mmmmmmmmmaaaahhh, well done my dear luni, your work have won my heart
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.
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
Great project, I love the Hawaiian touch at the end.
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.
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.
The Rick-Roll was simply outstanding! Subscribed!
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.
Awesome! Thanks... this should be helpful!
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!
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.
Did you see SpriteTM's video BTW, where he uses the internal clock-calibration-register of an 8-pin AVR to make FM?
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.
Well done! I think you can get better transmission adding a unity gain op amp, since the DAC is really low power
DAC won't be really interesting, if possible :-D
that's true.. it's just few components more
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?
Or you can attach a 225 meter vertical wire 😵 which is a 5/8 wavelength antenna at 833 kHz.
This is a really cool weekend project, man! Keep it up
Always Genius,i admire your creativity
make the antenna a 1/4 wavelength of the carrier frequency
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.
Your electronics room tho, so clean, SUBBED!!!...my "project" room looks like someone shot off a cannon filled with components -_-
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.
Awesome job! It reminds me of the numbers station project for the pi
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!
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.
Use an analogue amplifier for the radio signal. The controller generates the signal, but it simply needs more power.
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?
Amazing work.Congratulations
I liked the emergency announcement broadcast, I wonder what would happen if I let it rip in the middle of a church service? (through the main PA of course)
For your AM antenna, a resonant coil on a ferrite rod would probably be your easiest option.
For longwire antenna's, a quarter wavelength is the desired length, along with a ground, or a dipole - both ridiculous large at this frequency, so a loop antenna is your best bet.
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
My one seems to be too old. Don't have an ethernet port
it wont let me upload it to my esp32 and keeps saying i2s_conf or whatever is not declared
Which pin should the antenna be plugged into for the ESP32 MiniKIT?
You can add a push pull amplifier to increase the output power.
Funny way to learn something. Thx for this.
Congratulations for the video! Your videos teach and make me laugh a lot too!
The antenna must be half the wavelength. That creates a resonant oscillation in the antenna, using ground as negative antenna, and that creates the electromagnetic wave. The orientation of the antenna determinate the polarity of the wave (vertical or horizontal). The smallest the angle, the better quality of the audio.
NOTE: I'm not an expert, in fact, I barely know about this, so it might be wrong
Half wave gives a high impendence that requires matching, quarter wave doesn't so I think it's better to use that.
This video is a classic. Makes me spit my coffee out laughing every time.
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
Amazing trick and nice video editing. Your videos spark my interests.
is it possible to decode SSB IQ signal with esp32? ..thanks
Hi. I want to build a system like rfid uhf for access control vehicles. Any idea 💡?
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.
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?
please try to make code to decode encode to oled and transmit from keyboard on various frequencies ham radio psk31/rtty/feldhell. you think it can be done?
I have tried the code on one of my ESP boards I had left over from a WLED project. I can't get the code to compile. Not sure why.
Awesome! Any luck with FM transmissions?
Hey mein bester, hammer videos und ein mega geiler Kanal!!!! Bin ein riesen Fan!!!!! Mach bitte immer weiter so. Viele Grüße Michi
Ah und grüß Eunice von mir :)
The younger generation will never know the joy of rick rolling someone *one tear runs down my face*
Good job!!!
Thanks for sharing, Bruno!
Have you tried hooking up a standard AM loop antenna like you have on your receiver?
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!
- I’d offer to send you the camera if your interested ( I’m interested in smarter home uses)
Пять балоффф... Поучительно и с юмором.... :)
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?
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?
for boostin signal it's better a simple transistor amplificator than an opamp: usually opamp are for signal not for power
With a slightly larger range and more ESPs your roadmates could know every time you step on the brake hard because of their bad driving!
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?
another great little project.
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
I will try to build a basic audio filter in future, so we can try that then
why not bluetooth?
how to make a 20hz / 20khz audio transmitter and receiver to use as a wireless ear and also a guitar transmitter?
code translation ('rtc_clk_cpu_freq_set' was not declared in this scope) stops with error :(
Is it also possible to transfer video? Like DVB-T?
Can the frequency be changed? This is cool as heck but I don't understand the math behind it :/
Could you make a audiostrobe mindmachine decoder? You know, the funny flashing goggles. 1) Filter out the music below 18Khz 2) AM-decode the audiostrobe signal at 19.2Khz 3) output the signal to leds. That would be awesome!
Just had to check what that is... interesting... I'll put it on my list :-D
Congrats making it onto Hackaday !!
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.
Would this work on an arduino uno r3?
can this be done with a nodemcu (esp8266)?
why no filtering?! it's gonna splatter all over the band like crazy!!!!
The point is to show what's possible with no components at all.. but how would the filter look like?
The a tank filter centred at the Fc would work. But you could also use a switched capacitor filter and drive the clock with an output of the computer clock.
dan b some antennas are able to perform the filtering function by themselves. Something to do with distributed element model, but scaled accordingly for AM frequencies.
A bandpass filter, with very steep response curve and 9 KHz bandwidth to be sure not to create disturbances on the rest of the band to tune to the emission frequency, but this I would use only after a linear amplifier: in the video it was clearly seen that as soon as you went out of frequency with the receiver the signal disappeared, therefore, simplifying, no detectable disturbance.
@@bitluni Construct a pi filter on the output, but that will necessitate the use of more components, the thing you're trying not to do. But that's what makes a good transmitter.
great project. i will be doing this today
this is little strange for me. 32 have wifi module, but have no radio module. How this works?
Hi can you make video on how to make anlog cctv camera wireless with node MCU,
can u make analog to digital video transmitter with wifi
can we send voice command using this procedure!????
How to make live gsm monitoring device to listen live audio
Hi, great video, fantastically simple yet so powerful. Have you set up a transmitter / receiver pair?
I have a question. I'm trying to find an AM transmitter that would send a tone or whatever on as close to 470 khz as I can get, the IF frequency of an antique radio I'm trying to restore. I'd like to use it to peak the IF circuits of this radio and a few others. I don't quite understand the math involved in setting the carrier frequency. If I could alter the code to send at a frequency of 470khz, I could upload a tone to the "audio to header converter" and this would suit my needs perfectly.
I've seen the ESp32 FM transmitter out there, which you can set the frequency , but I need AM. Could someone point me in the right direction ?
Maybe I could just change the ESP32 max frequency from 240m in the code to a proportionally lower frequency? (say 135.414m ? ) Or should I change the sampling rate?
Thanks for any assistance
Since you need an external circuit, can't you just put a switch on the side to manually sync? You could also have the ESP connect to NTP and output some voltage to GPIO to trigger your radio receiver part..?
Antenna lengths become practical at frequencies above 20 Mhz
This is the second sdr project by you on esp32
Funny and Simple.. good video!
Nice tube.
The sound track on 3:30 is cool, will you upload the complete file of it?
can anyone help me plz ? I have an error when compiling the code " Compilation error: soc/rtc.h: No such file or directory "
How about a 1 to 800 kHz programmable fm generator with off chip frequency multiplier pll stage