Low-Frequency DC Block Lets You Measure Ripple Better

We all know how to block the DC offset of an AC signal — that just requires putting a capacitor in series, right? But what if the AC signal doesn’t alternate very often? In that case, things get a little more complicated.

Or at least that’s what [Limpkin] discovered, which led him to design this low-frequency DC block. Having found that commercially available DC blocks typically have a cutoff frequency of 100 kHz, which is far too high to measure power rail ripple in his low-noise amplifier, he hit the books in search of an appropriate design. What he came up with is a  non-polarized capacitor in series followed by a pair of PIN diodes shunted to ground. The diodes are in opposite polarities and serve to limit how much voltage passes out of the filter. The filter was designed for a cutoff frequency of 6.37 Hz, and [Limpkin]’s testing showed a 3-dB cutoff of 6.31 Hz — not bad. After some torture testing to make sure it wouldn’t blow up, he used it to measure the ripple on a bench power supply.

It’s a neat little circuit that ended up being a good learning experience, both for [Limpkin] and for us.

Tiny Microcontroller Uses Real-Time Operating System

Most of the computers we interact with on a day-to-day basis use an operating system designed for flexibility. While these are great tools for getting work done or scrolling your favorite sites, they have a weakness when it comes to interacting quickly with a real-world environment. For these kinds of low-latency, high-reliability systems you may want to turn to something like freeRTOS which is optimized for this kind of application and which [Parikshit Pagare] has used to build his home automation system.

This build is based around an ESP32 for which freeRTOS, designed specifically for embedded systems, is uniquely suited. There are several channels built in capable of monitoring temperature, functioning as a smoke alarm, and sensing whether someone is at the front door. All of these are reported to a small OLED screen but are also updated on an Android app as well, which happens nearly instantaneously thanks to the real-time operating system. There are a number of user-controllable switches as well that are capable of turning lights or fans on and off.

For a home automation system, it’s one of the most low-cost and fully-featured we’ve seen and if you’re still having trouble coming across a Raspberry Pi as they sort out supply issues, something like this might make an excellent substitute at a fraction of the price. If you’re looking to expand even beyond this build, one of the gold standards for ESP32-based automation design is this build from [Marcus] which not only demonstrates how to build a system like this but goes into great detail on the ESPHome environment.

Continue reading “Tiny Microcontroller Uses Real-Time Operating System”

Hackaday Prize 2023: 65uino 6502 Learning In A Familiar Package

[Anders Nielsen] presents his entry for the 2023 Hackaday Prize: The 65uino. Which as you might be able to guess, is a 6502-based microcomputer wedged into an Arduino Uno form factor (well, almost wedged in, but we’ll let it slide) The premise is simple, older micros are easier to understand, the board can be build up from new-old or salvaged stock, and that’s more chips on boards and less sitting on a dusty shelf. After all, even though the 6502 in its original form is long obsolete, it’s far better to be pushing some electrons around, than sitting there decaying.

The OLED frame buffer is bigger than the host’s entire RAM. No problem!

From an educational perspective, the first lesson is the hand-soldering of through-hole DIP components and a smattering of straightforward surface mount parts in their supporting roles.  Then on to setting up the cc65 toolchain. To say this is a pure 6502 system is a little misleading, it actually uses the 6507 device variant, which is a die-bond variant of the same device but with only 28 of the pins utilized.

The use of the 6532 RIOT (RAM-I/O-Timer) chip provides two 8-bit ports of GPIO as well as a timer and 128 bytes of SRAM, making the design more compact. There is a socket that will accept a 24 or 28-pin E(E)PROM device, with the extra four pins removable and the PCB snapped off if fitment into a standard ‘Uno case is desirable. Neat!

Full hardware build and PCB design (using KiCAD) are available on the 65uino GitHub page. Just remember folks, with everything minimal 6502 related — some assembly required :D

We see the 6502 a lot, let’s be fair. But why not? Here’s a slightly more practical board with a bit more resources, an absolute beast of a luggable dual-6502 machine, and yet another 6502 verilog implementation ready to be dropped into a spare corner of a FPGA project that needs a little extra.

Supercon 2023 Is On, We Want You!

We’re absolutely excited to be able to announce that the Hackaday Supercon is on for 2023, and will be taking place Nov 3 – Nov 5 in sunny Pasadena CA. And with that, we’d like to open the floodgates: we’d like to hear your proposals for talks and workshops! The Call for Speakers and Call for Workshops forms are online now, and you’ve got until July 18th to get yourself signed up.

Continue reading “Supercon 2023 Is On, We Want You!”

A clock made with LED displays and reflective film

Clever Optics Make Clock’s Digits Float In Space

If you’ve never heard of Aerial Imaging by Retro-Reflection, or AIRR for short, you’re probably not the only one. It’s a technique developed by researchers at Utsunomiya University that uses beam splitters and retroreflective foil to create the illusion of an image floating freely in the air. Hackaday alum [Moritz v. Sivers] has been experimenting with the technique to make — what else — a clock, appropriately called the Floating Display Clock.

The most commonly available retroreflective films are typically used for things like street signs and high-visibility clothing, but also work perfectly fine for homebrew AIRR setups. [Moritz] tried several types and found that one called Oralite Superlens 3000 resulted in the best image quality. He combined it with a sheet of teleprompter glass and mounted both in their appropriate orientation in a black 3D printed enclosure.

An inside view of a clock based on the AIRR projection techniqueThe projected image is generated by a set of 8×8 RGB LED displays, which are driven by a PCA9685 sixteen-channel servo driver board. A Wemos D1 Mini fetches the time from an NTP server and operates the display system, which includes not only the LED panels but also a set of servos that tilt each digit when it changes, giving the clock an added 3D effect that matches nicely with the odd illusion of digits floating in space.

We can imagine it’s pretty hard to capture the end result on video, and the demonstration embedded below probably doesn’t do it justice. But thanks to [Moritz]’s clear step-by-step instructions on his Instructables page, it shouldn’t be too hard to replicate his project and see for yourself what it looks like in real life.

Although this isn’t a hologram, it does look similar to the many display types that are commonly called “holographic”. If you want to make actual holograms, that’s entirely possible, too.

Continue reading “Clever Optics Make Clock’s Digits Float In Space”

A Look Inside A Vintage Aircraft Altimeter

There’s a strange synchronicity in the projects we see here at Hackaday, where different people come up with strikingly similar stuff at nearly the same time. We’re not sure why this is, but it’s easily observable, with this vintage altimeter teardown and repair by our good friend [CuriousMarc] as the latest example.

The altimeter that [Marc] dissects in the video below was made by Kollsman, which is what prompted us to recall this recent project that turned a jet engine tachometer into a CPU utilization gauge. That instrument was also manufactured by Kollsman, but was electrically driven. [Marc]’s project required an all-mechanical altimeter, so he ordered a couple from eBay.

Unfortunately, thanks to rough handling in transit they arrived in less than working condition, necessitating the look inside. For which we’re thankful, of course, because the guts of these aneroid altimeters are quite impressive. The mechanism is all mechanical, with parts that look like something [Click Spring] would make for a fine timepiece. [Marc]’s inspection revealed the problem: a broken pivot screw keeping the expansion and contraction of the aneroid diaphragms from transmitting force to the gear train that moves the needles. The repair was a little improvisational, with 0.5-mm steel balls used to stand in for the borked piece. It may not be flight ready, but it worked well enough to get the instrument back in action.

We suspect that [Marc] won’t be able to leave well enough alone on this one, so we’ll be on the lookout for a proper repair. In the meantime, he’ll be able to use this altimeter in the test setup he’s building to test a Bendix air data computer from a 1950s-era jet fighter. Continue reading “A Look Inside A Vintage Aircraft Altimeter”

WordStar Reborn

Wordstar was the word processor that helped sell the personal computer. At one time, it was ubiquitous, and many authors had a hard time giving it up. Some, like George R. R. Martin, apparently are still refusing to give it up. But most of us have moved on. Thanks to an open-source clone, WordTsar, you may not have to. This is a modern interpretation of our old friend.

Programmers that write were especially fond of WordStar since it had a non-document mode and was often the best text editor you had available for writing code. Being able to do your documentation without switching brain gears is useful, too. Touch typists love the efficiency of easy control of things without resorting to cursor keys or a mouse — the same thing vi and emacs fans enjoy but in a different way.

The software runs on multiple platforms and has some new features. Installation on Linux is easy because it is packaged in an AppImage file. Of course, you can also fire up your best CP/M machine, replica, or emulation and run the real WordStar, but — honestly — WordTsar seems more practical if you wanted to go back to using this kind of wordprocessor or editor for everyday use.

Of course, some word processors were actual hardware. If you want some cheap CP/M hardware, that’s easy enough, too.