ESPFLIX Brings Streaming Video To The World Of Microcontrollers

These days, if you’ve got a TV that’s a little too old to directly access streaming services, you’ve got plenty of options. Apple TV, Chromecast, and a cavalcade of Android boxes are available to help get content on your screen. However, if you’re really stuck in the past, ESPFLIX might just be for you.

Control of the system is achieved by an Apple TV remote.

Yes, that’s right – it’s an online streaming service running on an ESP32. [rossumur] has achieved this feat through a careful use of codecs, and some efficient coding strategies to make it all come together. Video is MPEG1, at just 352×192 resolution. Audio is via the SBC codec, originally intended for use with Bluetooth devices. It’s chosen here for its tiny sample buffers, making it easier to decode in the limited RAM of the ESP32. Output is via composite video, generated on the ESP32 itself.

The titles themselves consist of public domain content, running off an Amazon Web Services instance. With limited RAM on the ESP32, there’s not much buffering to be had, so [rossumur] is bankrolling an AWS Cloudfront instance which should make it possible to use ESPFLIX from most places around the world with a solid internet connection.

We’ve seen [rossumur]’s work before, with the ESP_8_BIT serving as a prelude to this project’s capabilities. Video after the break.

Continue reading “ESPFLIX Brings Streaming Video To The World Of Microcontrollers”

3D Printable Kinematic Couplings, Ready To Use

Time may bring change, but kinematic couplings don’t. This handy kinematic couplings resource by [nickw] was for a design contest a few years ago, but what’s great is that it includes ready-to-use models intended for 3D printing, complete with a bill of materials (and McMaster-Carr part numbers) for hardware. The short document is well written and illustrated with assembly diagrams and concise, practical theory. The accompanying 3D models are ready to be copied and pasted anywhere one might find them useful.

What are kinematic couplings? They are a way to ensure that two parts physically connect, detach, and re-connect in a precise and repeatable way. The download has ready-to-use designs for both a Kelvin and Maxwell system kinematic coupling, and a more advanced design for an optomechanical mount like one would find in a laser system.

The download from Pinshape requires a free account, but the models and document are licensed under CC – Attribution and ready to use in designs (so long as the attribution part of the license is satisfied, of course.) Embedded below is a short video demonstrating the coupling using the Maxwell system. The Kelvin system is similar.

Continue reading “3D Printable Kinematic Couplings, Ready To Use”

Glasgow Uses An FPGA As An Embedded Systems Multitool

Everyone who builds embedded systems wants tools to help build and debug systems faster, so it isn’t uncommon to see boards outfitted with various tools like serial port sniffers. We’ve seen a few incarnations and the latest is Glasgow. The small board uses an FPGA and claims to do the following:

  • UART with automatic baud rate determination
  • SPI or I2C
  • Read and write common EEPROMs and flash chips
  • Read and write common EPROMs including a data rescue function
  • Program AVR chips via SPI
  • Play back JTAG SVF files
  • Debug ARC and some MIPS CPUs
  • Program XC9500LX CPLDs
  • Communicate to several wireless radios and CPUs
  • Do sound synthesis
  • Read raw data from floppy drives

The revC board is the first to be relatively functional and sports 16 I/O pins operating at up to 100 MHz, although the documentation hints that 6 MHz might be the top of what’s easily accomplished. The software is written in Python and the iCE40 FPGA toolchain that we’ve talked about many times in the past.

This already looks like a useful tool and the reconfigurable nature of FPGAs makes it a good platform to expand. The documentation discusses the difficulty in debugging things for the board, so the base software offers support such as a built-in logic analyzer to help.

We have seen dev boards become bench tools, like using the iCEstick as a logic analyzer. It’s nice to see dedicated tools like this one built up around the speed and versatility of FPGAs.

Continue reading “Glasgow Uses An FPGA As An Embedded Systems Multitool”

Modular Vibrating ‘Bots Made From PCBs

Printed circuit boards, they’re a medium designed primarily to mount electrical components with the wires themselves places as copper traces on the boards. To accommodate wide range of needs that have arisen over decades, board houses have evolved all manner of advanced techniques in routing and plating. To our benefit, this also makes it possible to leverage PCBs in an entirely artistic way, taking advantage of the highly-optimized manufacturing process. [GeeekClub] did just that, creating awesome vibrating robots out of custom-made PCBs.

The ‘bots come as a single PCB, with the parts snapped out akin to removing parts from sprues in a plastic model kit. They can then be assembled, with a pair of pager vibration motors installed to provide motive power. But really it’s the aesthetic of the boards and not the functionality that make these so incredible.

The design nestles a coin cell in the base of each bot, providing power and using the weight to help keep them upright. There’s a smattering of LEDs on board, and the art style of the ‘bots draws from Hopi Indian, Asian, and South American influences.

Cyphercon 2017 featured these exciting cubic badges, created from PCBs and soldered by hand.
This Star Trek inspired piece shows just how far you can go with the right color soldermask and some creativity.

This “flat-pack” style of PCB design that comes to life with creative use of angles and layers is becoming its own sub-genre of the art. The Star Trek Enterprise inspired build in another great example. We’ve also seen a growing trend of using the PCB as enclosures, take the Cyphercon badge and Queercon badge projects from 2017 as examples. Get yourself up to speed on design techniques for using FR4 as an enclosure from [Voja Antonic’s] in-depth guide.

Raspberry Pi Gets PATA/IDE Drive Via GPIO Header

By and large, the Raspberry Pi is a computer that eschews legacy interfaces. Primarily relying on SD cards for storage and USB ports for further expansion, magnetic hard drives are a rare sight. However, [Manawyrm] decided that some 40-pin goodness was in order, and set to making a PATA IDE adapter for the platform.

To achieve the task of interfacing now-vintage IDE devices with the Raspberry Pi, [Manawyrm] elected to use the single board computer’s GPIO pins to get the job done. 23 pins are required, with 16 used for the data bus, with the rest dedicated to address lines, strobes, and other features.

The adapter is no speed demon, netting 800 KiB/s on reads and 500 KiB/s on writes with a Raspberry Pi 4. The main bottleneck comes from relying on libgpiod, which [Manawyrm] readily admits is designed for general IO tasks, not data transfers. Despite this, it’s still fast enough to play an audio CD from an IDE CD-ROM drive without skipping. A kernel build is required, however, as Raspberry Pis are unsurprisingly not configured to use ATA disks by default.

Obviously, more serious applications would substitute a dedicated USB hard disk adapter or give the Raspberry Pi a PCI-express (PCIe) card for sata drives instead, but that doesn’t discount the fun inherent in the build. While it may be slow, it shows that talking to PATA hard disks is actually quite straightforward when you understand the basics. Of course, if you want to do the opposite, and have your Raspberry Pi emulate a PATA disk, that’s possible too. Video after the break.

Continue reading “Raspberry Pi Gets PATA/IDE Drive Via GPIO Header”

True Craftsmanship: Pneumatic Powered Drone Wasn’t Made To Fly

From time to time it’s good to be reminded that mechanical engineering can also be art. [José Manuel Hermo Barreiro], also known as [Patelo], is a retired naval mechanic with a love for scale model engines. Using only basic tools and a lathe, he has built a non-flying hexacopter display model, each propeller turned by a tiny single cylinder motor that runs on compressed air. From the tiny components of the valve systems, the brass framed acrylic windows into the crankcases, and the persistence of vision disc on the exhaust, the attention to detail is breathtaking.

One of the six hand crafted pneumatic motors

[Patelo] started the project on paper, and created a set of detailed hand-drawn blueprints to work from. Sadly a large part of the build took place during lockdown, and was not filmed, but we still get to see some work on a crankcase, connecting rod, camshaft, propellers, flywheel, and exhaust tubes. It is very clear that [Patelo] knows his way around his lathe very well, and is very creative with custom tools and jigs. The beautiful machine took approximately 1,560 hours to build, consists of 265 individually made parts held together with 362 screws.

We previously featured tiny V-12 engine that [Patelo] built around 2012. At that time he was 72 years of age, which means he should be around 80 now. We can only hope to come to emulate him one day, and that we get to see more of what comes out of his workshop. Hats off to you, sir.

Breathtaking Alarm Clock Looks Like It Came From A 1960 Fallout Shelter

All the hardcore geeks have alarm clocks where the bell striker is a hard disk read head… or at least they’ll be building them after seeing this. [Senile Data Systems] created an industrial voltage alarm clock out of decade counters that looks like it was unearthed from a fallout shelter (machine translation).

At first glace you might mistake this for a binary clock since it uses a column of LEDs to indicate each digit of 24-hour time. It’s not, as each row corresponds to a pin on the CD4017 decade counters that make up the timekeeping circuit inside.

Thumbscrew wheel switches at the top of the bulky handheld unit are how the alarm time is set, triggering a bell along the top edge. The clock is driven by the 50 Hz line voltage and [SDS] tried using that AC to drive a solenoid as the striker on the prototype unit but it performed poorly. The use of a hard disk read head turns out to be the perfect striker, as heard in the video after the break. As for triggering from the decade counters, here’s what [SDS] told us about the design:

The switches’ outputs gets ANDed with a 10 Hz signal (on a 60 Hz grid it will become 12 Hz). This drives a slightly beefy transistor which in turn drives an electromagnet to hammer a bell which broke off my bicycle. Yes. This is a digital analog alarm clock. The clock portion is digital but the bell is analog and sounds like Grampa’s old wind up alarm clock.

The build came about when a cache of over 600 industrial LEDs (24 V – 48 V) fell into his lap. This makes the insides of the clock something to behold as point-to-point soldering connects the panel mount lights and all nine logic chips. Add in that transformer for getting the line voltage and we imagine this thing has quite a bit of heft to it.

If you’ve ever had an alarm with a wind-up bell you know there’s no better way to jolt yourself out of a peaceful slumber and into the chaos of the real world. If the gentle tinkle of the hard drive head isn’t enough for you, this fire bell alarm clock will certainly do the trick.

 

Continue reading “Breathtaking Alarm Clock Looks Like It Came From A 1960 Fallout Shelter”