Adding Human Detection To Home Automation

Radar made a huge impact when it was first invented, allowing objects to be detected using radio waves which would normally be difficult or impossible to observe through other means. Radio waves of all frequencies can be used for radar as well, whether that’s detecting ships beyond the horizon, tracking aircraft near an airport, penetrating the ground, or imaging objects with a high resolution. At the millimeter wavelength it’s fairly easy to detect humans with the right hardware, and using some inexpensive radar modules [Tech Dregs] shows us how to add this capability a home automation system.

Since these modules aren’t trying to image humans with fine detail or detect them at long range, the hardware can be fairly inexpensive. [Tech Dregs] is using the LD2410B modules which have not only an on-board microcontroller but also have the radio antennas used for radar built right onto the PCB. They have a simple binary output which can communicate whether or not a human is detected, but there’s also UART for communicating more details about what the module senses in the room. [Tech Dregs] is using this mode to connect the modules to Home Assistant, where they will be used to help automate his home’s lighting.

The only significant problem he had setting these modules up was getting them built into an enclosure. The short wavelengths used in this type of radar module don’t penetrate solid objects very well at all, so after trying to hide one behind an e-ink screen he eventually settled on hollowing out a space in a bezel with very thin plastic between the module and the room. If you need more out of your radar modules than object detection, though, you can always try building a pulse compression radar which can provide much more accurate ranging of objects.

Continue reading “Adding Human Detection To Home Automation”

DIY Passive Radar System Verifies ADS-B Transmissions

Like most waves in the electromagnetic spectrum, radio waves tend to bounce off of various objects. This can be frustrating to anyone trying to use something like a GMRS or LoRa radio in a dense city, for example, but these reflections can also be exploited for productive use as well, most famously by radar. Radar has plenty of applications such as weather forecasting and various military uses. With some software-defined radio tools, it’s also possible to use radar for tracking aircraft in real-time at home like this DIY radar system.

Unlike active radar systems which use a specific radio source to look for reflections, this system is a passive radar system that uses radio waves already present in the environment to track objects. A reference antenna is used to listen to the target frequency, and in this installation, a nine-element Yagi antenna is configured to listen for reflections. The radio waves that each antenna hears are sent through a computer program that compares the two to identify the reflections of the reference radio signal heard by the Yagi.

Even though a system like this doesn’t include any high-powered active elements, it still takes a considerable chunk of computing resources and some skill to identify the data presented by the software. [Nathan] aka [30hours] gives a fairly thorough overview of the system which can even recognize helicopters from other types of aircraft, and also uses the ADS-B monitoring system as a sanity check. Radar can be used to monitor other vehicles as well, like this 24 GHz radar module found in some modern passenger vehicles.

Continue reading “DIY Passive Radar System Verifies ADS-B Transmissions”

DIY 6 GHZ Pulse Compression Radar

Conceptually, radar is pretty simple: send out a radio wave and time how long it takes to get back via an echo. However, in practice, there are a number of trade-offs to consider. For example, producing a long pulse has more energy and range, but limits how close you can see and also the system’s ability to resolve objects that are close to each other. Pulse compression uses a long transmission that varies in frequency. Reflected waves can be reconstituted to act more like a short pulse since there is information about the exact timing of the reflected energy. [Henrik] didn’t want to make things too easy, so he decided to build a pulse compression radar that operates at 6 GHz.

In all fairness, [Henrik] is no neophyte when it comes to radar. He’s made several more traditional devices using a continuous wave architecture. However, this type of radar is only found in a few restricted applications due to its inherent limitations. The new system can operate in a continuous wave mode, but can also code pulses using arbitrary waveforms.

Some design choices were made to save money. For example, the transmitter and receiver have limited filtering. In addition, the receiver isn’t a superheterodyne but more of a direct conversion receiver. The signal processing is made much easier by using a Zynq FPGA with a dual-core ARM CPU onboard. These were expensive from normal sources but could be had from online Chinese vendors for about $17. The system could boot Linux, although that’s future work, according to [Henrik].

At 6 GHz, everything is harder. Routing the PCB for DDR3 RAM is also tricky, but you can read how it was done in the original post. To say we were impressed with the work would be an understatement. We bet you will be too.

Radar has come a long way since World War II and is in more places than you might guess. We hate to admit it, but we’d be more likely to buy a ready-made radar module if we needed it.

How Airplanes Mostly Stopped Flying Into Terrain And Other Safety Improvements

We have all heard the statistics on how safe air travel is, with more people dying and getting injured on their way to and from the airport than while traveling by airplane. Things weren’t always this way, of course. Throughout the early days of commercial air travel and well into the 1980s there were many crashes that served as harsh lessons on basic air safety. The most tragic ones are probably those with a human cause, whether it was due to improper maintenance or pilot error, as we generally assume that we have a human element in the chain of events explicitly to prevent tragedies like these.

Among the worst pilot errors we find the phenomenon of controlled flight into terrain (CFIT), which usually sees the pilot losing track of his bearings due to a variety of reasons before a usually high-speed and fatal crash. When it comes to keeping airplanes off the ground until they’re at their destination, here ground proximity warning systems (GPWS) and successors have added a layer of safety, along with stall warnings and other automatic warning signals provided by the avionics.

With the recent passing of C. Donald Bateman – who has been credited with designing the GPWS – it seems like a good time to appreciate the technology that makes flying into the relatively safe experience that it is today.

Continue reading “How Airplanes Mostly Stopped Flying Into Terrain And Other Safety Improvements”

Satellite Provides Detailed Data On Antarctic Ice

Ever since the first satellites started imaging the Earth, scientists have been using the data gathered to learn more about our planet and improve the lives of its inhabitants. From weather forecasting to improving crop yields, satellites have been put to work in a wide array of tasks. The data they gather can go beyond imaging as well. A new Chinese satellite known as Fengyun-3E is using some novel approaches to monitor Antarctic sea ice in order to help scientists better understand the changing climate at the poles.

While it is equipped with a number of other sensors, one of the more intriguing is a piece of equipment called WindRad which uses radar to measure wind at various locations and altitudes based on how the radar waves bounce off of the atmosphere at various places.  Scientists have also been able to use this sensor to monitor sea ice, and can use the data gathered to distinguish new sea ice from ice which is many years old, allowing them to better understand ice formation and loss at the poles. It’s also the first weather satellite to be placed in an early morning orbit, allowing it to use the long shadows cast by the sun on objects on Earth’s surface to gather more information than a satellite in other orbits might be able to.

With plenty of other imaging sensors on board and a polar orbit, it has other missions beyond monitoring sea ice. But the data that it gathers around Antarctica should give scientists more information to improve climate models and understand the behavior of sea ice at a deeper level. Weather data from satellites like these isn’t always confined to academia, though. Plenty of weather satellites broadcast their maps and data unencrypted on radio bands that anyone can access.

Street Photography, With RADAR!

As the art of film photography has gained once more in popularity, some of the accessories from a previous age have been reinvented, as is the case with [tdsepsilon]’s radar rangefinder. Photographers who specialized in up-close-and-personal street photography in the mid-20th century faced the problem of how to focus their cameras. The first single-lens reflex cameras (SLRs) were rare and expensive beasts, so for most this meant a mechanical rangefinder either clipped to the accessory shoe, or if you were lucky, built into the camera.

The modern equivalent uses an inexpensive 24 GHz radar module coupled to an ESP32 board with an OLED display, and fits in a rather neat 3D printed enclosure that sits again in the accessory shoe. It has a 3 meter range perfect for the street photographer, and the distance can easily be read out  and dialed in on the lens barrel.

Whenever the revival of film photography is discussed, it’s inevitable that someone will ask why, and point to the futility of using silver halides in a digital age. It’s projects like this one which answer that question, with second-hand SLRs being cheap and plentiful you might ask why use a manual rangefinder over one of them, but the answer lies in the fun of using one to get the perfect shot. Try it, you’ll enjoy it!

Some of us have been known to dabble in film photography, too.

Thanks [Joyce] for the tip.

‘Radar’ Glasses Grant Vision-free Distance Sensing

[tpsully]’s Radar Glasses are designed as a way of sensing the world without the benefits of normal vision. They consist of a distance sensor on the front and a vibration motor mounted to the bridge for haptic feedback. The little motor vibrates in proportion to the sensor’s readings, providing hands-free and intuitive feedback to the wearer. Inspired in part by his own experiences with temporary blindness, [tpsully] prototyped the glasses from an accessibility perspective.

The sensor is a VL53L1X time-of-flight sensor, a LiDAR sensor that measures distances with the help of pulsed laser light. The glasses do not actually use RADAR (which is radio-based), but the operation is in a sense quite similar.

The VL53L1X has a maximum range of up to 4 meters (roughly 13 feet) in a relatively narrow field of view. A user therefore scans their surroundings by sweeping their head across a desired area, feeling the vibration intensity change in response, and allowing them to build up a sort of mental depth map of the immediate area. This physical scanning resembles RADAR antenna sweeps, and serves essentially the same purpose.

There are some other projects with similar ideas, such as the wrist-mounted digital white cane and the hip-mounted Walk-Bot which integrates multiple angles of sensing, but something about the glasses form factor seems attractively intuitive.

Thanks to [Daniel] for the tip, and remember that if you have something you’d like to let us know about, the tips line is where you can do that.