Not A Pot, Not An Encoder: Exploring Synchros For Rotational Sensing

We’re all familiar with getting feedback from a rotating shaft, for which we usually employ a potentiometer or encoder. But there’s another device that, while less well-known, has some advantages that just might make it worth figuring out how to include it in hobbyist projects: the synchro.

If you’ve never heard of a synchro, don’t feel bad; as [Glen Akins] explains, it’s an expensive bit of kit most commonly found in avionics gear. It’s in effect a set of coaxial transformers with a three-phase stator coil and a single-phase rotor. When excited by an AC reference voltage, the voltage induced on the rotor coil is proportional to the cosine of the angle between the rotor and stator. It seems simple enough, but the reality is that synchros present some interfacing challenges.

[Glen] chose a surplus altitude alert indicator for his experiments, a formidable-looking piece of avionics. Also formidable was the bench full of electronics needed to drive and decode the synchro inside it — a 26-volt 400-Hz AC reference voltage generator, an industrial data acquisition module to digitize the synchro output, and an ESP32 dev board with a little OLED display to show the results. And those are impressive; as seen in the video below, the whole setup is capable of detecting tenth-of-a-degree differences in rotation.

The blog post has a wealth of detail on using synchros, as does this Retrotechtacular piece from our own [Al Williams]. Are they practical for general hobbyist use? Probably not, but it’s still cool to see them put to use.

Continue reading “Not A Pot, Not An Encoder: Exploring Synchros For Rotational Sensing”

Exploring The Hall Effect For Haptic Feedback PS4 Joysticks

Modern gaming console controllers aren’t without their annoyances — Joy-Con drift, anyone? The problems might stem from design deficiencies, but we suspect that user enthusiasm and the mechanical stress it can introduce might play a significant role as well. Either way, [Marius Heier] decided to take a look at what would be required to build a better joystick and came up with some interesting results.

The first video below lays the basic groundwork, with a bunch of experiments with 3-axis Hall effect sensors, specifically the Texas Instruments TMAG5273 and TMAG5170. They’re essentially the same sensor with different interfaces — SPI for the 5170 and I2C for the 5273. Using just one of these sensors, he was able to build a joystick with the usual X- and Y- axis control, but also with a rotary axis. What’s more, he built a motorized version using two NEMA 17 steppers to mechanically drive the stick back to center.

The joystick is bulky, but it looks like he’s got plans for a much smaller one with [Carl Bugeja]-style PCB motors that should fit into a PS4 controller. That’s the subject of the second video below, which uses a different Hall sensor — an Allegro A1304 — and is mainly concerned with getting the output of a non-motorized but considerably miniaturized joystick stick talking the language that the controller expects. It’s not a simple process, but it seems to be coming along nicely, and we’ll be watching progress closely.

Continue reading “Exploring The Hall Effect For Haptic Feedback PS4 Joysticks”

Take A Deep Dive Into A Commodity Automotive Radar Chip

When the automobile industry really began to take off in the 1930s, radar was barely in its infancy, and there was no reason to think something that complicated would ever make its way into the typical car. Yet here we stand less than 100 years later, and radar has been perfected and streamlined so much that an entire radar set can be built on a single chip, and commodity radar modules can be sprinkled all around the average vehicle.

Looking inside these modules is always fascinating, especially when your tour guide is [Shahriar Shahramian] of The Signal Path, as it is for this deep dive into an Infineon 24-GHz automotive radar module. The interesting bit here is the BGT24LTR11 Doppler radar ASIC that Infineon uses in the module, because, well, there’s really not much else on the board. The degree of integration is astonishing here, and [Shahriar]’s walk-through of the datasheet is excellent, as always.

Things get interesting once he gets the module under the microscope and into the X-ray machine, but really interesting once the RF ASIC is uncapped, at the 15:18 mark. The die shots of the silicon germanium chip are impressively clear, and the analysis of all the main circuit blocks — voltage-controlled oscillator, power amps, mixer,  LNAs — is clear and understandable. For our money, though, the best part is the look at the VCO circuit, which appears to use a bank of fuses to tune the tank inductor and keep the radar within a tight 250-Mz bandwidth, for regulatory reasons. We’d love to know more about the process used in the factory to do that bit.

This isn’t [Shahriar]’s first foray into automotive radar, of course — he looked at a 77-GHz FMCW car radar a while back. That one was bizarrely complicated, though, so there’s something more approachable about a commodity product like this.

Continue reading “Take A Deep Dive Into A Commodity Automotive Radar Chip”

Clever Mechanism Makes A Linear Control From A Rotary Hall Sensor

Every once in a while we stumble across something so simple yet so clever that we just have to call it out. This custom linear Hall effect sensor is a perfect example of this.

By way of backstory, [Nixieguy], aka [The Electronic Mercenary], offers up a relatable tale — in the market for suitable hardware to make the game Star Citizen more enjoyable, and finding the current commercial joystick offerings somewhat wanting, he decided to roll his own controllers. This resulted in the need for a linear sensor 100 mm in length, the specs for which — absolute sensing, no brushes or encoders, easily sourced parts — precluded most of the available commercial options, like linear pots. What to do?

The solution [Nixieguy] settled on was to use a Hall effect sensor and a diametrally magnetized neodymium ring magnet. The magnet is rotated through 180 degrees by a twisted aluminum bar, which is supported in a frame by bearings. A low-friction slider with a slot captures the bar; moving the slider along the length of the control rotates the bar, which rotates the magnet, which allows the Hall sensor to measure the angle of the magnetic field. Genius!

The parts for the prototype sensor are all made from 0.8-mm aluminum sheet stock and bent to shape. The video below shows the action better than words can describe it, and judging by the oscilloscope trace, the output of the sensor is pretty smooth. There’s clearly a long way to go to tighten things up, but the basic mechanism looks like a clear win to us.

Hats off to [Nixieguy] for this one, which we’ll surely be following for more developments. In the meantime, if you need to brush up on the Hall effect, [Al Williams] did a nice piece on that a while back.

Continue reading “Clever Mechanism Makes A Linear Control From A Rotary Hall Sensor”

Replace Your Automatic Transmission With A Bunch Of Relays

A “Check Engine” light on your dashboard could mean anything from a loose gas cap to a wallet-destroying repair in the offing. For [Dean Segovis], his CEL was indicating a fairly serious condition: a missing transmission. So naturally, he built this electronic transmission emulator to solve the problem.

Some explanation may be necessary here. [Dean]’s missing transmission was the result of neither theft nor accident. Rather, he replaced the failed automatic transmission on his 2003 Volkswagen EuroVan with a manual transmission. Trouble is, that left the car’s computer convinced that the many solenoids and sensors on the original transmission weren’t working, leaving him with a perfectly serviceable vehicle but an inspection-failing light on the dash.

To convince the transmission control module that a working automatic was still installed and clear the fourteen-odd diagnostic codes, [Dean] put together a block of eight common automotive relays. The relay coils approximate the resistance of the original transmission’s actuators, which convinces the TCU that everything is hunky dory. There were also a couple of speed sensors in the transmission, which he spoofed with some resistors, as well as the multi-function switch, which detects the shift lever position. All told, the emulator convinces the TCU that there’s an automatic transmission installed, which is enough for it to give the all-clear and turn off the Check Engine light on the dash.

We love hacks like this, and hats off to [Dean] for sharing it with the VW community. Apparently the issue with the EuroVan automatic transmissions is common enough that a cottage industry has developed to replace them with manuals. It’s not the only questionable aspect of VW engineering, of course, but this could help quite a few people out of a sticky situation.

Continue reading “Replace Your Automatic Transmission With A Bunch Of Relays”

Better Air Quality Sensing With CO2

Measuring air quality, as anyone who has tried to tackle this problem can attest, is not as straightforward as it might seem. Even once the nebulous term “quality” is defined, most sensors use something as a proxy for overall air health. One common method is to use volatile organic compounds (VOCs) as this proxy but as [Larry Bank] found out, using these inside a home with a functional kitchen leads to a lot of inaccurate readings. In the search for a more reliable sensor, he built this project which uses CO2 to help gauge air quality.

Most of the reason that CO2 sensors aren’t used as air quality sensors is cost. They are much more expensive than VOC sensors, but [Larry] recently found one that was more affordable and decided to build this project around it. The prototype used an Arduino communicating over I2C to the sensor and an OLED screen, which he eventually put in a 3D printed case to carry around to sample CO2 concentration in various real-world locations. The final project uses a clever way of interfacing with the e-paper display that we featured earlier.

While CO2 concentration doesn’t tell the full story of air quality in a specific place, it does play a major role. [Larry] found concentrations as high as 3000 ppm in his home, which can cause a drop in cognitive function. He’s made some lifestyle changes as a result which he reports has had a beneficial impact. For human-occupied indoor spaces, CO2 can easily be the main contributor to poor air quality, and we’ve seen at least one other project to address this concern directly.

Ceiling Fan Adds CO2 Sensor

Ceiling fans seem to be an oft-misunderstood or overlooked household appliance. As such, they seem to have missed a lot of the IoT wave. Sure, you can get smart controllers for them to plug into your home automation system of choice, but these mostly rely on temperature sensors, simple timers, or voice commands. There’s a lot more to a ceiling fan than maintaining a comfortable temperature, as [EJ] demonstrates with this smarter ceiling fan build.

A big part of the job of a ceiling fan is to improve air circulation, which can help a room from feeling “stuffy”. This feeling is usually caused by excess CO2 as a result of respiration in an area where the air is not moving enough to exhaust this gas. Not only does [EJ]’s controller make use of a temperature monitor for controlling the fan automatically, but there is also a CO2 sensor integrated to improve this aspect of air quality when needed.

The entire build is based on a Raspberry Pi Zero, and nothing needed to be changed about the ceiling fan itself for this added functionality because it already included a radio-based remote control. With some monitoring of the signals produced by the remote, the Raspberry Pi was programmed to mimic these commands when the surrounding sensors captured a condition where [EJ] would want the fan on. There’s also a manual control button as well, so the fan control is not entirely in the hands of the computer.

For a little more detailed information about this build, there’s a separate project page which details a lot of the information about the RF waveform capturing and recreation. And, if you want to take your fan to the next level, take a look at this one which focuses on building a smartphone app to control the fan instead.