Analog TV Station on ESP8266
github.com
github.com
based on these repositories: https://github.com/substack/glsl-ntsc-video - modulate and demodulate an ntsc video signal in a shader
https://github.com/substack/ntsc-video-simulator - real-time ntsc television simulator
https://github.com/substack/analog-tv-simulation - the demo itself
[0] https://www.radiomuseum.org/r/cbc_browni_transistor_tv_space...
Even a ~1W radio can go a long way, even in a city. So, yes, think of the spectrum.
Regardless of the power level, thinking about spectrum and trying not to create harmful interference is important IMHO. I live in a place where listening FM in stereo mode is impossible due to interference and radio transmissions around me. Even Wi-Fi cannot penetrate beyond next room.
We've looked how spectrum looked here with a listen-only SDR. It wasn't pretty. My friends' exact words were "Dude, that's not what I see at home. This is some serious traffic."
This is a bit bashed GPIO pin on a 3.3V microcontroller that has a max current rating of 12mA per pin. Even if that piece of wire used as an antenna here were capable of loading the pin up to its max output, it'd be something around 0.004W - and in reality it'll likely be an order of magnitude or two lower than that. That's at least 8 orders of magnitude less power, and even allowing for the inverse square radiation power pattern, this this is only gonna be detectable at single digit meters in all likelihood.
This _is_ a bad idea, spectrum noise and interference wise, but it's unlikely to have enough power at either its intended transmit frequency any of its nasty harmonics to make it outside the rooms it's in. You probably might not want to take this to hospital with you, or on that camping trip near the radio telescope, but I wouldn't think twice about firing this up in my home workshop...
I have a raspi zero whose only job is to set its clock frequency to 104.1 MHz and modulate it with Daft Punk’s Daftendirekt every morning for a clock radio that I picked out of the trash.
Well below the 5 mW power limit but it comes through clear in the same room.
Edit: for the first week I was broadcasting over the local NPR station. There were likely people on commutes nearby getting interference from me, so I switched to dead space.
A transmitter like this will radiate harmonics, and that's the major concern. It is not just a TV signal.
All that said, this is nice work. Analog signals are a lot of fun.
NTSC going away makes me sad. I have abused it to great results many times over the years.
Apparently Don has made the above book available on his site: https://www.tinaja.com/ebooks/cvcb1.pdf
Ah, here we go, thanks to the Wayback Machine: https://web.archive.org/web/20010419225940/http://jya.com/te...
> No provision of these rules prevents the use by an amateur station of any means of radiocommunication at its disposal to provide essential communication needs in connection with the immediate safety of human life and immediate protection of property when normal communication systems are not available.
That seems to only apply to amateur stations, which 47 CFR defines as stations in an amateur service. I.e., ham radio stations.
I've got a ham radio license, so it would cover me if I transmitted outside of the ham bands, or exceeded power limits, or used an unauthorized modulation method to try to help save lives and protect property, but for someone without a ham license I think we'd have to look elsewhere for legal cover.
Some 40 years ago I made 2 Mhz emergency Morse transmitter from RCA Cosmac, because I planned to spend a summer on Antarctis. It worked quite well with long ass wire antenna. But they do not monitor that frequency anymore and nobody understands morse.
So yeah, the receivers are still shipped, just ~nobody tunes into their ranges anymore.
1) Everyone got fiber tv so the old communitary antenna has been taken down from the roof
2) My building is surrounded by taller ones blocking the signal for a tiny 40DB indoors antenna
There may only be a few OTA broadcasters left on analog in the US, but I don't know how far the digital transition went in developing markets. I'd bet there's some rural cable systems still running analog as well.
As the availability of Internet, Devices capable of receiving online courses has been taken for granted, many who are not privileged not only missed education for several months now but also lost communication with their schools.
I've been thinking about inexpensive compute capable device capable of receiving analog TV via SDR and also communication through LoRAWAN[1] to address this. Now I'll also explore ESP8266's ability to receive analog TV signals.
[1]https://needgap.com/problems/149-remote-education-for-underp... (Disclaimer: it's my problem validation platform).
I don't seem to find the specifications of the I2S in Raspberry Pis, all I can find is in the range of kHz. So probably it cannot be done.
In my country, VHF TV transmissions started going out in the 60s when colour came in, and were fully turned off in the 80s.
Modern DTV runs over UHF channels (replacing the previous analog transmissions between 2009 and 2012)
See the Apple 2 video circuit for a great example of that.
50hz was often just a bit slow for me. PAL 60 is where it was truly at, IMHO.
Both formats have nice abuse potential, and exploiting it on early computers, and later on, microcontrollers, is a lot of fun.
I have fond memories of tuning the TV to channel 3 to play Nintendo as a kid. This would make for an interesting retro gaming experience.
I wonder if it is easily adapted to use coax cable instead of an antenna.
For anyone looking for the TL;DR:
> This is basically a 1-bit dithering DAC, operating at a frequency below the nyquist, trying to encode luma and color at the same time