Water Flow Meter Knows Tank Level

There’s almost always more than one way to get any particular job done. Suppose for instance you have a tank you fill up from a well, and you’d like to know when the time is right to refill the tank. The obvious answer is to measure the level of the tank, and there are plenty of ways to do that. However, [Liam Hanninen] has a different approach. Using a flow meter, he measures how much water leaves the tank. Assuming that you know it was once full, you can deduce how much water is left.

Using a YF-S201 flowmeter on a Raspberry Pi, the code uses Python to populate a database. The meter will need to be calibrated to get an exact volume measurement.

Continue reading “Water Flow Meter Knows Tank Level”

Atari Tape Drive Turned Security DVR

We know that a lot of our beloved readers don’t take kindly to abuse of vintage hardware, so the Atari fans in the audience may want to avert their eyes for this one. Especially if they’re particularly keen on spinning up their Jawbreaker cassette on authentic hardware, as [iot4c] has gutted an Atari XC12 Program Recorder to turn it into an enclosure for a Raspberry Pi video storage device.

Step one of this conversion was, as you might expect, removing all the original hardware from the cassette recorder case. From there, [iot4c] fitted the Raspberry Pi, a USB hard drive, and a YDS-5A DC-DC converter to power them. Depending on what the drive setup looks like, it might also make sense to add a USB powered hub. A length of Ethernet cable was left hanging out the back of the Atari XC12 so it could be plugged into the network, but a panel mount RJ45 connector could spruce things up a bit.

Of course, gutting an old piece of hardware and sticking a Pi into it isn’t exactly breaking any new ground at this point. But we did appreciate that [iot4c] went the extra mile to wire it up so the “Save” LED now doubles as a network activity indicator. Which pretty much brings it full circle in terms of functionality for a network-attached video recorder.

Earlier in the year [iot4c] converted a 65XE into a USB keyboard with the help of an Arduino Leonardo, but the vintage Atari aficionados will be happy to note that at least in that case the donor machine remained fully functional.

Monochrome CRT And Liquid Crystal Shutter Team Up For Color Video

If you were tasked with designing a color video monitor, it’s pretty clear how you’d go about it. But what if you’d been asked to do so 20 years ago? Would it have been a cut and dried from an engineering standpoint? Apparently not, as this hybrid LCD-CRT video monitor demonstrates.

We’d honestly never heard of this particular design, dubbed “LCCS”, or liquid crystal color shutter, until [Technology Connections]’ partial teardown of the JVC monitor and explanation of its operation. The idea is simple and hearkens back to the earliest days of color TV in the United States, when broadcasters were busy trying to bring color to a monochrome world in a way that would maximize profits. One scheme involved rotating a color wheel in front of the black-and-white CRT and synchronizing the two, which is essentially what’s happening in the LCCS system. The liquid crystal panel cycles between red, blue, and green tints in time with the CRT’s images behind it, creating a full-color picture. “But wait!” you cry. “Surely there were small color CRTs back in the year 2000!” Of course there were, but they kind of sucked. Just look at the comparison of a color CRT and the LCCS in the video below and you’ll see why this system carved out a niche in the pro video market, especially for video assist monitors in the days before digital cinematography. A similar system was used by Tektronix for color oscilloscopes, too.

As usual, [Technology Connections] has managed to dig up an interesting bit of the technological fossil record and present it in a fascinating way. From video on vinyl to 1980s copy protection to the innards of a toaster, we enjoy the look under the hood of forgotten tech.

Continue reading “Monochrome CRT And Liquid Crystal Shutter Team Up For Color Video”

A Raspberry Pi 4 Video Streaming Backpack

Were you aware that there’s a market for backpack-housed live streaming video systems, and that they can cost as much as $1600? Apparently these things are popular with social media moguls who want to stream themselves living their fabulous lives to people sitting at home watching on YouTube or Twitch. But believing that even slack jawed yokels like us should have access to the same technology, [Speedify Labs] has been working on less expensive DIY alternative based on the Raspberry Pi 4.

Now you’ll note we didn’t use the term “cheap” to describe this build. As detailed here, it’s still going to cost you around $600. You could always swap out the Sony AS-300 camera and Elgato Cam Link capture device with cheaper versions, but the goal of this project was to deliver high quality HD video that’s comparable to what the professional rigs are capable of, so those kinds of concessions were avoided.

Whatever video source your audience and budget are comfortable with, it eventually gets fed into the Raspberry Pi 4 which uses an ffmpeg one-liner to encode the video and ultimately push it out as 720p at 24 FPS, which [Speedify Labs] says seems to be about as good as the Pi can do. The operator is able to start and stop the stream at will using a Circuit Playground Express and a Python script.

Of course, the trick to all of this is getting the video stream uploaded over potentially flaky mobile networks. But as you might have guessed, that’s where [Speedify Labs] gets to flex their eponymous product: a VPN with software channel bonding that allows you to combine multiple Internet connections for higher bandwidth and reliability. With their software, the Pi is able to stream the video through two mobile phones connected to it over USB. As demonstrated in the video below, the setup was able to maintain the stream even as they walked in and out of buildings.

Our very own [Lewin Day] wrote about his experiments with streaming video over 4G on the Raspberry Pi which might be of interest to anyone looking to take their show on the road. Though if you want to get serious it would be worth taking a look at the impressive mobile streaming rig that [Jenny List] saw at the BornHack 2019 hacker camp in Denmark.

Continue reading “A Raspberry Pi 4 Video Streaming Backpack”

Speeding Up Drawing To MCU-Connected Serial Displays

Writing image data to serially connected (SPI/I2C) displays from a microcontroller is easy enough these days, courtesy of standards defined by the MIPI Alliance, yet there are some gotchas in it which may catch someone using it unaware. [Larry Bank] wrote up a good summary of how one can get maximum performance out of such a display link.

At the core is the distinction between pixel data and command transmissions. The change from command to pixel data mode requires signaling, which takes precious clock cycles away from transferring pixel data between the MCU and display. The common MIPI DCS instruction set allows for a big reduction in needed data transfers by allowing parts of the display to be addressed instead of requiring a full refresh. Yet by not properly segmenting command and data transfers, one ends up unnecessarily slowing down the process.

The result is that one can run something like a Pac-Man emulator on an AVR MCU with a sluggish 320×480 SPI LCD at 60 FPS, as one can see in the video that is embedded after the break. Check the article for another demo video as well.

Continue reading “Speeding Up Drawing To MCU-Connected Serial Displays”

RCA Created Video Records Too Late

It is easy to find technology success stories: the PC, DVD, and cell phone are all well-documented tales. However, it is a little harder to find the stories behind the things that didn’t quite take off as planned. As the old saying goes, “success has many parents but failure is an orphan.” [Technology Connections] has a great video about RCA’s ill-fated SelectaVision video disc systems. You can see part one of the video below.

RCA started working on the system in the 1960s and had they brought it to market a bit earlier, it might have been a big win. After all, until the VCR most of us watched what was on TV when it was on and had no other options. You couldn’t record things or stream things and f you didn’t make it home in time for Star Trek, you simply missed that episode and hoped you’d get luckier when and if they reran it during the summer. That seems hard to imagine today, but a product like the SelectaVision when it was the only option could have really caught on. The problem was of course, that they waited too late to bring it to market. The video also makes the point that the system contained a few too many technical compromises.

Continue reading “RCA Created Video Records Too Late”

10-Way Game Console Lets Everyone Play

[Bitluni]’s motto seems to be, “When you’re busy, get busier.” At least that would explain adding even more work to his plate in the run-up to the Hanover Maker Faire and coming up with a ten-player game console from scratch.

As for this being extra work, recall that [bitluni] had already committed to building a giant ping pong ball LED wall for the gathering. That consisted of prototyping a quarter-scale panel, building custom tooling to get him past the literal pain point of punching 1200 holes, and wiring, programming and testing the whole display. Building a game console that supports ten players at once seems almost tame by comparison. The console is built around an ESP32 module, either WROOM or WROVER thanks to a clever multifunctional pad layout on the slick-looking white PCBs. [bitluni] went with a composite video output using the fast R-2R ladder network DAC that he used for his ESP32 VGA project. The console supports ten Nintendo gamepads for a simple but engaging game something like the Tron light cycles. Unsurprisingly, players found it more fun to just crash into each other on purpose.

Sure, it could have been biting off more than he could chew, but [bitluni] delivered and we appreciate the results. There’s something to be said for adding a little pressure to the creative process.

Continue reading “10-Way Game Console Lets Everyone Play”