How Many Wires Do You Need To Measure A Resistor?

Measuring resistance doesn’t seem to be a big deal. Put your meter leads across two wires or terminals and read the value, right? Most of the time that is good enough, but sometimes you need better methods and for those, you need more wires, as [FesZ] explains in his recent video that you can see below.

In the usual case, the meter applies a known voltage and measures the current which, by Ohm’s law, gives you the resistance. It is also possible to control the current and measure the voltage — doesn’t matter. [FesZ] shows how many meters measure voltage across a known resistor and the unknown so that a precision voltage or current source isn’t necessary.

But there are a number of problems with this simple method. For one thing, the test leads have resistance as well. So some voltage will drop across them, contributing to measurement error. Sure, that extra 0.5 ohms won’t matter if you are looking at a 100K resistor, but if you are trying to measure, say, the heated bed of a 3D printer, that extra 0.5 ohms is a large percentage of the total measurement.

Bench meters for lab use often support 4-wire measurements. As [FesZ] shows, this method measures three different voltages to try to negate some of the measurement errors. We liked that he used three different meters to show how it works and the difference between a 2-wire and 4-wire measurement on a small resistor.

There’s an even stranger method using 3 wires to save on wiring for, say, a sensor a long distance away. There are actually at least two ways to use 3 wires, and the video covers both of them.

For measuring resistors in a circuit, though, you need a whopping six wires. This technique uses the two extra wires to control a balance voltage that keeps the current between the unknown resistor and the rest of the circuit at zero. This prevents current flowing except for the measurement current. You’ll see a simulation of how this works in the video.

We’ve looked at 4-wire measurements before if you want some practice simulations to try. Probes for this measurement are a popular project, too.

Continue reading “How Many Wires Do You Need To Measure A Resistor?”

This Week In Security: Y2K22, Accidentally Blocking 911, And Bug Alert

If you had the misfortune of running a Microsoft Exchange server this past week, then you don’t need me to tell you about the Y2K22 problem. To catch rest of us up, when Exchange tried to download the first malware definitions update of 2022, the version number of the new definitions triggered a crash in the malware detection engine. The date is represented as the string 2201010001, where the first two digits represent the year. This string gets converted to a signed long integer, which maxes out at 2,147,483,647. The integer overflows, and the result is undefined behavior, crashing the engine. The server fails safe, not processing any messages without a working malware engine, which means that no e-mail gets through. Happy new year!
Continue reading “This Week In Security: Y2K22, Accidentally Blocking 911, And Bug Alert”

PsyLink An Open Source Neural Interface For Non-Invasive EMG

We don’t see many EMG (electromyography) projects, despite how cool the applications can be. This may be because of technical difficulties with seeing the tiny muscular electrical signals amongst the noise, it could be the difficulty of interpreting any signal you do find. Regardless, [hut] has been striving forwards with a stream of prototypes, culminating in the aptly named ‘Prototype 8’

The current prototype uses a main power board hosting an Arduino Nano 33 BLE Sense, as well as a boost converter to pump up the AAA battery to provide 5 volts for the Arduino and a selection of connected EMG amplifier units. The EMG sensor is based around the INA128 instrumentation amplifier, in a pretty straightforward configuration. The EMG samples along with data from the IMU on the Nano 33 BLE Sense, are passed along to a connected PC via Bluetooth, running the PsyLink software stack. This is based on Python, using the BLE-GATT library for BT comms, PynPut handing the PC input devices (to emit keyboard and mouse events) and tensorflow for the machine learning side of things. The idea is to use machine learning from the EMG data to associate with a specific user interface event (such as a keypress) and with a little training, be able to play games on the PC with just hand/arm gestures. IMU data are used to augment this, but in this demo, that’s not totally clear.

An earlier prototype of the PsyLink.

All hardware and software can be found on the project codeberg page, which did make us double-take as to why GnuRadio was being used, but thinking about it, it’s really good for signal processing and visualization. What a good idea!

Obviously there are many other use cases for such a EMG controlled input device, but who doesn’t want to play Mario Kart, you know, for science?

Checkout the demo video (embedded below) and you can see for yourself, just be aware that this is streaming from peertube, so the video might be a little choppy depending on your local peers. Finally, if Mastodon is your cup of tea, here’s the link for that. Earlier projects have attempted to dip into EMG before, like this Bioamp board from Upside Down Labs. Also we dug out an earlier tutorial on the subject by our own [Bil Herd.]

Continue reading “PsyLink An Open Source Neural Interface For Non-Invasive EMG”

CEEFAX Lives! (Courtesy Of A Raspberry Pi)

As analogue TV slides from memory, there’s a facet of it that’s fondly remembered by a band of enthusiasts. Teletext was an electronic viewdata information service digitally encoded in the frame blanking period, and a TV set with a decoder chip would provide access to many pages of news and other services all displayed in the characteristic brightly colored block graphics. It went the way of the dinosaur with the demise of analog TV, but for [Nathan Dane] the flame is kept alive with his own private version of the BBC’s CEEFAX service.

He has a particular enthusiasm for analog TV, and as such has his own in-house channel served by a UHF modulator. He shares with us the story of how he arrived at a teletext service, before writing code to scrape the BBC news and weather websites and populate his modern-day CEEFAX. Behind it all is a Raspberry Pi, with a vbit-pi board injecting the teletext signal onto the video, and raspi-teletext creating the pages from source material derived from a set of custom scraper scripts.

We like this project a lot, because while it’s not the first Pi teletext system we’ve encountered, the use of a scraped live feed makes it one of the most creative.

Thanks [kwikius] for the tip!