The Future Of RISC-V And The VisionFive 2 Single Board Computer

We’ve been following the open, royalty-free RISC-V ISA for a while. At first we read the specs, and then we saw RISC-V cores in microcontrollers, but now there’s a new board that offers enough processing power at a low enough price point to really be interesting in a single board computer. The VisionFive 2 ran a successful Kickstarter back in September 2022, and I’ve finally received a unit with 8 GB of ram. And it works! The JH7110 won’t outperform a modern desktop, or even a Raspberry Pi 4, but it’s good enough to run a desktop environment, browse the web, and test software.

And that’s sort of a big deal, because the RISC-V architecture is starting to show up in lots of places. The challenge has been getting real hardware that’s powerful enough to run Linux and compile software on, that doesn’t cost an arm and a leg. If ARM is an alternative architecture, then RISC-V is still an experimental one, and that is an issue when trying to use the VF2. That’s a theme we’ll repeat a few times, but the thing to remember here is that getting more devices in the wild is the first step to fixing things. Continue reading “The Future Of RISC-V And The VisionFive 2 Single Board Computer”

Hackaday Links Column Banner

Hackaday Links: March 5, 2023

Well, we guess it had to happen eventually — Ford is putting plans in place to make its vehicles capable of self-repossession. At least it seems so from a patent application that was published last week, which reads like something written by someone who fancies themselves an evil genius but is just really, really annoying. Like most patent applications, it covers a lot of ground; aside from the obvious capability of a self-driving car to drive itself back to the dealership, Ford lists a number of steps that its proposed system could take before or instead of driving the car away from someone who’s behind on payments.

Examples include selective disabling conveniences in the vehicle, like the HVAC or infotainment systems, or even locking the doors and effectively bricking the vehicle. Ford graciously makes allowance for using the repossessed vehicle in an emergency, and makes mention of using cameras in the vehicle and a “neural network” to verify that the locked-out user is indeed having, say, a medical emergency. What could possibly go wrong?

Continue reading “Hackaday Links: March 5, 2023”

Assessing The Micromirror Device From A DLP Printer For Maskless Lithography Duty

Inspired by the idea of creating a maskless lithography system using a digital micromirror device (DMD), [Nemo Andrea] tore into an Anycubic Photon Ultra, DLP & resin-based 3D printer to take a look at its projector system. Here Anycubic isn’t the maker of what is called the ‘optical engine’, which would be eViewTek’s D2 projector and its siblings. This projector assembly itself is based around the Ti DLP300s, which we covered a while back when it was brand new. Since that time Anycubic has released the Photon Ultra and Photon D2 3D printers based around these optical engines.

Using DMD for lithography isn’t a new thing, as [Nemo] points out, referencing the μMLA system by Heidelberg Systems. What would be new is using a freely available and rather affordable DMD (even if it requires sacrificing a 3D printer) to obtain its optical engine in order to create an open and more affordable lithography platform than commercial ‘contact us for a quote’ option.

No doubt it’s a challenging project, but perhaps the nice side effect of having affordable DLP 3D printers out and about is that their DMDs are now also significantly more accessible than they were previously.  We wish [Nemo] all the best in this endeavor, as a maskless lithography machine would be just that addition to any hobbyist’s toolset that we are no doubt waiting for.

(Thanks to Jerry for the tip)

Antenna Hidden In Holiday Lights Skirts HOA Rules

For all their supposed benefits, homeowner’s associations (HOAs) have a reputation of quickly turning otherwise quaint neighborhoods into a sort of Stanford prison experiment, as those who get even the slightest amount of power often abuse it. Arbitrary rules and enforcement abound about house color, landscaping, parking, and if you’ve ever operated a radio, antennas. While the FCC (at least as far as the US is concerned) does say that HOAs aren’t permitted to restrict the use of antennas, if you don’t want to get on anyone’s bad side you’ll want to put up an antenna like this one which is disguised as a set of HOA-friendly holiday lights.

For this build, a long wire is hidden along with a strand of otherwise plain-looking lights. While this might seem straightforward at first, there are a few things that need to be changed on the lighting string in order to make both the antenna and the disguise work. First, the leads on each bulb were removed to to prevent any coupling from the antenna into the lighting string. Clipping the leads turns what is essentially a long wire that might resonate with the antenna’s frequency into many short sections of wire which won’t have this problem. This also solves the problem of accidentally illuminating any bulbs when transmitting, as the RF energy from the antenna could otherwise transfer into the lighting string and draw attention from the aforementioned HOA.

Tests of this antenna seemed to show surprising promise while it was on the ground, but when the string and antenna was attached to the roof fascia the performance dropped slightly, presumably because of either the metal drip edge or the gutters. Still, the antenna’s creator [Bob] aka [HOA Ham] had excellent success with this, making clear contacts with other ham radio operators hundreds of miles away. We’ve shared another of [Bob]’s HOA-friendly builds below as well which hides the HF antenna in the roof’s ridge vent, and if you’re looking for other interesting antenna builds take a look at this one which uses a unique transformer to get wide-band performance out of an otherwise short HF antenna.

Continue reading “Antenna Hidden In Holiday Lights Skirts HOA Rules”

Pi Pico Calculates Water Usage

Modern WiFi-enabled microcontrollers have made it affordable and easy to monitor everything from local weather information to electricity usage with typically no more than a few dollars worth of hardware and a little bit of programming knowledge. Monitoring one’s own utility data can be a little bit more difficult without interfering with the metering equipment, but we have seen some clever ways of doing this over the years. The latest is this water meter monitoring device based on a Raspberry Pi Pico.

The clever thing here isn’t so much that it’s based on the tiniest of Raspberry Pis, but how it keeps track of the somewhat obscured water flow information coming from the meter. Using a magnetometer placed close to the meter, the device can sense the magnetic field created as water flows through the meter’s internal sensors. The magnetic field changes in a non-obvious way as water flows through it, so the program has to watch for specific peaks in the magnetic field. Each of these specific waveforms the magnetometer detects counts to 0.0657 liters of water, which is accurate for most purposes.

For interfacing with a utility meter, this is one of the more efficient and elegant hacks we’ve seen in a while. There have, of course, been other attempts to literally read the meter using web cams and computer vision software, but the configuration for these builds is much more complex than something like this. You can interface with plenty of utility meters other than water meters, too, regardless of age.

Retro Gadgets: Make Your Scope Dual Channel

We live in a time when having an oscilloscope is only a minor luxury. But for many decades, a good scope was a major expense, and almost no hobbyist had a brand new one unless it was of very poor quality. Scopes were big and heavy and, at the price most people were willing to pay, only had a single channel. Granted, having one channel is better than having nothing. But if the relative benefit of having a single channel scope is 10 points, the benefit of having two channels is easily at least 100 points. So what was a poor hacker to do when a dual-trace or higher scope cost too much? Why, hack, of course. There were many designs that would convert a single trace scope into a poor-quality multichannel scope. Heathkit made several of these over the years like the ID-22, the ID-101, and the ID-4101. They called them “electronic switches.” The S-2 and S-3 were even earlier models, but the idea wasn’t unique to Heathkit and had been around for some time.

For $25, you could change your scope to dual trace!

There were two common approaches. With alternative or alt mode, you could trigger a sync pulse and draw one trace. Then trigger again and draw the second trace with a fixed voltage offset. If you do this fast enough, it looks like there are two traces on the screen at one time. The other way is to rapidly switch between voltages during the sweep and use the scope’s Z input to blank the trace when it is between signals. This requires a Z input, of course, and a fast switching clock. This is sometimes called “chopper mode” or, simply, chop. This wasn’t just the realm of adapters, though. Even “real” analog scopes that did dual channels used the same methods, although generally with the benefit of being integrated with the scope’s electronics.

Continue reading “Retro Gadgets: Make Your Scope Dual Channel”

MIT Spins Qubits Round And Round

Quantum computers are coming, but there are still many problems with realizing practical machines. One is finding a reliable and affordable way to encode qubits — the basic unit for quantum computers. MIT researchers have a proposal. By using two slightly different colored lasers, they can manipulate nuclear spin. This isn’t the first time someone’s tried to use light to impact spin, but according to MIT, the other methods use an indirect coupling which is more prone to noise, something that limits the viability of quantum computers. They published a recent paper on the process if you want to read more.

Nuclear spin has weak interactions, but the new method doesn’t require intermediate steps, so it may be much more practical than previous methods. MIT mentions that typical quantum elements have coherence time limits, which means data stored in them becomes useless in less than a second. The new method promises to have coherence times measured in hours.

The method is known as the optonuclear quadrupolar effect or ONQ. From the paper:

[The ONQ effect] is second order in the electric field and nuclear spin I, as mediated by the quadrupole electric coupling, and is thus one of the nonlinear optical (NLO) responses of materials present in perfect crystals. Via the ONQ effect, nuclear spins can be coherently controlled by two-color photons, without electron spins as the media.

If you understood that, you should probably head over and read the rest of the paper. Meanwhile, the rest of us are waiting for our quantum Arduino.