Exploiting Hardware-Level Parallelism In The Manticore Hardware-Accelerated RTL Simulator

Before a chip design is turned from a hardware design language (HDL) like VHDL or Verilog into physical hardware, testing and validating the design is an essential step. Yet simulating a HDL design is rather slow due to the simulator using either only a single CPU thread, or limited multi-threading due to the requirements of fine-grained concurrency. This is due to the strict timing requirements of simulating hardware and the various clock domains that ultimately determine whether a design passes or fails. In a recent attempt to speed up RTL (transistor) level simulations like these, Mahyar Emami and colleagues propose a custom processor architecture – called Manticore – that can be used to run a HDL design after nothing more than compiling the HDL source and some processing. Continue reading “Exploiting Hardware-Level Parallelism In The Manticore Hardware-Accelerated RTL Simulator”

Exploring The Early Days Of QRP Radio

Morse code might seem obsolete but for situations with extremely limited bandwidth it’s often still the best communications option available. The code requires a fair amount of training to use effectively, though, and even proficient radio operators tend to send only around 20 words per minute. As a result of the reduced throughput, a type of language evolved around Morse code which, like any language, has evolved and changed over time. QRP initially meant something akin to “you are overloading my receiver, please reduce transmitter power” but now means “operating radios at extremely low power levels”. [MIKROWAVE1] explores some of the earlier options for QRP radios in this video.

There’s been some debate in the amateur radio community over the years over what power level constitutes a QRP operation, but it’s almost certainly somewhere below 100 watts, and while the radios in this video have varying power levels, they tend to be far below this upper threshold, with some operating on 1 watt or less. There are a few commercial offerings demonstrated here, produced from the 70s to the mid-80s, but a few are made from kits as well. Kits tended to be both accessible and easily repairable, with Heathkit being the more recognizable option among this category. To operate Morse code (or “continuous wave” as hams would call it) only requires a single transistor which is why kits were so popular, but there are a few other examples in this video with quite a few more transistors than that. In fact, there are all kinds of radios featured here with plenty of features we might even consider modern by today’s standards; at least when Morse code is concerned.

QRP radios in general are attractive because they tend to be smaller, simpler, and more affordable. Making QRP contacts over great distances also increases one’s ham radio street cred, especially when using Morse, although this benefit is more intangible. There’s a large trend going on in the radio world right now surrounding operating from parks and mountain peaks, which means QRP is often the only way to get that done especially when operating on battery power. Modern QRP radios often support digital and voice modes as well and can have surprisingly high prices, but taking some cues from this video about radios built in decades past could get you on the radio for a minimum or parts and cost, provided you can put in the time.

Continue reading “Exploring The Early Days Of QRP Radio”

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”