ESP32 Flight Tracker On Apple CRT

Sometimes we’re most taken by what’s on the screen; sometimes the screen itself is the most interesting part of the project. In this case, it’s the latter. That’s no slight against [Virtual-Bet-4566], whose ESP32-based flight tracker looks very nice– but a big part of what it makes it so nice is that it’s displaying the ADS-B flight data on an old green-phosphor monitor from the Apple II days.

He’s using an ESP32-WROOM-32, which gives him both the wifi connection needed to grab aircraft locations and flight details– including photos of individual aircraft, when available from Planespotters.net– but crucially has an 8-bit digital-analong-converter that he’s using to drive the composite input on the old Apple monitor. Not all of the expansive ESP32 family have that feature, but at this point you might as well call ESP32 a brand of MCU than a family given the vast differences between them. Since composite video doesn’t need much power, he’s connected the dev board directly to the monitor. It’s that delicious combination of the old and new that really gets us vibing.

It can show you an image of the plane, but it’s not exactly high-def.

Speaking of vibing, yes, this whole thing was vibe-coded, as [Virtual-Bet] freely admits in the Reddit thread. LLMs seem to be really good at making these flight tracking apps, to judge from other posts on that site, but this one stands out for its display method. He’s also apparently got weather and his own local sensor data incorporated in the wifi-controlled display application, and isn’t interested in sharing the code since you could prompt it yourself. Fair enough.

We’ve seen composite-out from the ESP32 family before, more than once— which is probably how the LLM knew to pull it off–but there’s just something about that green glow.

Story via CircuitDigest.

Transmitting Analog Video Via Frikkin’ Laser Beams

Transmitting analog video via photons is old hat: that’s how everything started, after all, back in the day with over-the-air TV. Up the frequency of those photons from radio to visible light, though? Well, now that’s rather interesting. [Daniel] aka [milar111]’s LYME 101– which doesn’t seem to stand for anything–laser-video transmitter/receiver pair was a strong contender in the recently-completed Frikken’ Laser Beams challenge, but somehow we missed putting it up on the blog.

The project is documented quite well on GitHub as linked above, as well as on Instructables, and Hackaday.io, and in a YouTube video we’ve embedded below so you can see it in action. In principle it’s pretty simple: a Raspberry Pi is used to generate the composite video signal, which modulates a red laser diode through a 2N2222 NPN transistor and some passives. The reciever is a BPW34 photodiode wired with reverse bias for speed and fed through a LM318N op-amp. To get +9V and -9V for this circuit, [Daniel] makes the easy hack of using a pair of 9V batteries for a noiseless dual supply. It hooks up to a CRT just fine, but a little finessing in the form of a terminator resistor and a DC bias pot on the transmitter were needed to get his USB capture card working with the signal.

It’s not the weirdest way we’ve seen people hack analog video signals– there’s no audio cassettes to be seen,  and the signal isn’t even SECAM, the oddest encoding— but that’s not a slight. Transmitting video with higher-than-normal-frequency photons might not be that weird, but it looks like a lot of fun.

Continue reading “Transmitting Analog Video Via Frikkin’ Laser Beams” →

One Commodore, Five Displays

If you had one monitor back in the 8-bit era, instead of having to wait to use the family TV, you were already amongst the blessed. If you had five, maybe you worked at a computer store– but if you did, you could have done what [The 8-Bit Guy] demonstrates in a recent YouTube video and plug all five (5) monitors into a Commodore 128.

The computer isn’t modified in any way– well, except for the now standard use of an SD card disk emulator– so what gives? Well, you probably guessed he’s splitting up the colour signal into multiple monochrome images, but since the C128 actually has an RGBI, that I– intensity– actually gives another signal that can be broken out. That makes for four screens being driven from that port via composite, all sharing the same sync. The hardware for that was actually designed for [The 8-Bit Guy] by [Joe Burks] who open sourced the design on GitHub. He’s also selling them on Lectronz.

The fifth screen, of course, is driven by the VIC-II chip that Commodore provided for composite output to begin with. The interesting part is as much the software as the hardware, and while [The 8-Bit Guy] explains some of the thinking behind what he’s doing, he doesn’t link to any BASIC. If you know your way around a Commodore, you should be able to encode the multi-colour images required to do the splits.

For the people who prefer “real computers” — that is IBM compatible PCs– [The 8-Bit Guy] goes a bit outside of his 8-bit comfort zone to demonstrate that this same trick works quite well with the 16-color modes of EGA. With sixteen colours split between the two monitors, you of course get two colours each– combine the dithering with the blur of an old CRT, and it looks better than it has any right to. Just note that you need to have the right EGA card, as some blocked the 16-colour modes when set to output IRGB/CGA– he used a Trident card to good effect. The software here, though, was just Deluxe Paint, which can’t stop winning, even after four decades. 

The hack seems simple enough, and perhaps everyone knew about it back in the day, but this is the first time seeing it for this author. So we’ll leave it to the comments: have you ever seen a 5-display Commodore, or 4-screen EGA output done like this?

Of course CGA had some competition back in the 80s, and it would be fun to see how many retro standards this trick would work on; at the end of the video [The 8-Bit Guy] discusses splitting VGA signals, but that’s only three screens and way too new for him. If one of you takes up his challenge, please let us know. 

Pi Media Player With VCR Vibe Is Perfect For CRTs

If you have a TV and a Pi, you have the workings of a media center, and you’re not exactly short on options for software. But options are good, so here’s one more by [Anthony Caccese] — a player called 240-MP that explicitly targets CRTs with its retro stylings, released under the GPLv3 license.

Don’t let the name fool you, though. While the blue-and-white styling is very evocative of 90s VCRs, the output isn’t limited to 240p. If you’re running it into a vintage CRT over composite, as [Anthony] does, sure, it’ll do that. If you want to use HDMI on a modern TV, however, that’s an option too, in 4K if that’s your jam. Higher resolution video will need a beefier Pi, of course, but MPV can handle the files, and ultimately this is a wrapper for MPV. You still get the vintage styling, which can do green-and-black as easily as white-and-blue, as well as whatever custom color scheme you want to define. It might not look quite as good if it’s not on a display tube, but we could see this as a good fit for a plasma TV, too.

As you can see in the demo video embedded below, the player is equally happy listing and playing local files — including playlists — or streaming via a PLEX server. Other add-ons, for example to launch emulators, may be forthcoming. Of course, if you’re not willing to wait you could always code them yourself.

Given the roots of this project in old VHS interfaces, we’re somewhat surprised there doesn’t seem to be an option for control via physical tokens. We’ve already seen projects that try and replicate that portion of the VCR magic, though. If it’s not the tapes you miss from back in the day, you can also simulate cable TV.

Continue reading “Pi Media Player With VCR Vibe Is Perfect For CRTs” →

How Do PAL And NTSC Really Work?

Many projects on these pages do clever things with video. Whether it’s digital or analogue, it’s certain our community can push a humble microcontroller to the limit of its capability. But sometimes the terminology is a little casually applied, and in particular with video there’s an obvious example. We say “PAL”, or “NTSC” to refer to any composite video signal, and perhaps it’s time to delve beyond that into the colour systems those letters convey.

Know Your Sub-carriers From Your Sync Pulses

A close-up on a single line of composite video from a Raspberry Pi.
A close-up on a single line of composite video from a Raspberry Pi.

A video system of the type we’re used to is dot-sequential. It splits an image into pixels and transmits them sequentially, pixel by pixel and line by line. This is the same for an analogue video system as it is for many digital bitmap formats. In the case of a fully analogue TV system there is no individual pixel counting, instead the camera scans across each line in a continuous movement to generate an analogue waveform representing the intensity of light. If you add in a synchronisation pulse at the end of each line and another at the end of each frame you have a video signal.

But crucially it’s not a composite video signal, because it contains only luminance information. It’s a black-and-white image. The first broadcast TV systems as for example the British 405 line and American 525 line systems worked in exactly this way, with the addition of a separate carrier for their accompanying sound. Continue reading “How Do PAL And NTSC Really Work?” →

Pocket-sized Test Pattern Generator Helps Check Those CRTs

[Nicholas Murray]’s Composite Test Pattern Generator is a beautifully-made, palm-sized tool that uses an ESP32-based development board to output different test patterns in PAL/NTSC. If one is checking out old televisions or CRTs, firing up a test pattern can be a pretty handy way to see if the hardware is healthy or not.

The little white add-on you see attached to the yellow portion is a simple circuit (two resistors and an RCA jack) that allows the microcontroller to output a composite video signal. All one needs to do is power on the device, then press the large button to cycle through test patterns. A small switch on the side toggles between NTSC and PAL video formats. It’s adorable, and makes good use of the enclosures that came with the dev board and proto board.

In a pinch a hacker could use an original Raspberry Pi, because the original Pi notably included a composite video output. That feature made it trivial to output NTSC or PAL video to a compatible display. But [Nicholas]’s device has a number of significant advantages: it’s small, it’s fast, it has its own battery and integrated charger, and the little color screen mirroring the chosen test pattern is a great confirmation feature.

This is a slick little device, and it’s not [Nicholas]’s first test pattern generator. He also created a RP2040-based unit with a VGA connector, the code of which inspired a hacker’s home-grown test pattern generator that was used to service a vintage arcade machine.

Nostalgic Camera Is A Mashup Of Analog Video Gear

These days, you get a fantastic camera with the purchase of just about any modern smartphone. [Abe] missed some of the charm of earlier, lower-quality digital cameras, though, and wanted to recreate that experience. The way forward was obvious. He built a nostalgic digital video camera from scratch!

[Abe] figured he could build the entire project around analog gear, and then simply find a way to store the video digitally, thus creating the effect he was looking for. To that end, the build is based around a small analog video camera that’s intended for use with FPV drones. It runs on 5 to 20 volts and outputs a simple composite video signal. This makes it easy to display its output on a small LCD screen, originally intended to be used with an automotive reversing camera. These were both paired with a mini video recorder module from RunCam, which can capture composite video and store it on a microSD card in 640 x 480 resolution.

These parts were quickly lashed together, with the camera sending its output to the RunCam video recorder module, which then passed it on to the screen. Everything worked as expected, so [Abe] moved on to implementing an on-screen display using the MAX7456 chip, which is built specifically for this purpose. It overlays text on the video feed to the screen as commanded by an RP2040 microcontroller. Once that was all working, [Abe] just had to provide a battery power supply and wrap everything up in a nice retro-styled case. Then, at the last minute, the separate camera and recorder modules were replaced by a TurboWing module that combined both into one.

The result is a nifty-looking camera that produces grainy, slurry, old-school digital video. If you love 640 x 480 as a resolution, you’ll dig this. It’s got strong 90s camcorder vibes, and that’s a very good thing.

We love a good custom camera around these parts, especially those that offer deliciously high resolution. If you’re building your own, be sure to let us know. Video after the break.

Continue reading “Nostalgic Camera Is A Mashup Of Analog Video Gear” →