ESP32 Projects

Real-Time Human Tracking Radar with mmWave Sensor and ESP32-S3 Touchscreen

Step-by-step guide to creating a real-time mmWave Human Tracking Radar ESP32 project with a responsive touch display

Last Updated on August 6, 2025 by Engr. Shahzada Fahad

Description:

Real-Time Human Tracking Radar with mmWave Sensor and ESP32-S3 Touchscreen- What if you could track human movement from another room – wirelessly – using radar?

Not just movement…

It will show exact distance, angle, and speed; live on a touchscreen, with a real radar-style animation.

Touchscreen-based mmWave Human Tracking Radar ESP32 system detecting and displaying human motion.

Sounds futuristic?

I have built it; using the RD-03D mmWave radar and the MaTouch ESP32-S3 Parallel TFT 5” Touch Display.

Close-up of Rd-03D module used in mmWave Human Tracking Radar ESP32 projects for motion detection

In my previous article, I introduced the RD-03D mmWave radar module.

I covered everything; from how it works, to wiring, and detailed decoding of the radar data.

In that article, I didn’t just stop at decoding the radar data…

I went one step further and extracted the actual distance and angle values and printed them live on the Serial Monitor.




Product Links:

RD-03D mmWave Radar

MaTouch ESP32-S3 Parallel TFT 5” Touch Display

Other Tools and Components:

ESP32 WiFi + Bluetooth Module (Recommended)

Arduino Nano USB C type (Recommended)

*Please Note: These are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way!

And let me tell you; the accuracy of this sensor genuinely blew my mind.

The values were incredibly stable and precise. That gave me the confidence to try something more advanced.

So I integrated the RD-03D mmWave radar module into a real-world project; where I used human presence detection to control a bulb.

The idea was simple:

When the sensor detects a person within a certain range, it turns the light on and when the person moves away, it automatically turns the light off.

It was a practical demo of how this tiny radar module can be used for smart home automation without relying on cameras, PIR sensors, or any bulky setup.

And here’s what makes this sensor truly special:

it’s not just a motion sensor; it’s a real human presence detection sensor.

Even if someone is sitting or standing completely still, without making any visible movements; the sensor can still detect that person.

That’s the power of RD-03D millimeter-wave radar module; it can sense micro-movements that regular motion sensors simply can’t detect.

Today, I am taking that same module and building a fully portable, wireless, real-time human tracking radar system.

We are using the exact same wiring. Go ahead and check my previous article on the RD-03D mmWave Radar.

But this time, I have modified the code; turning it into a powerful two-part system:

One device acts as the radar transmitter, and the other; a touchscreen ESP32-S3 display receives and visualizes the data in real time.

Let’s talk about what’s happening behind the scenes.

On the Transmitter side, the RD-03D radar sends raw data via UART.



RD-03D Tx Side Code explanation:

I extract the X and Y positions, convert them to distance and angle, and also get the speed.

Then I format this into a simple comma-separated string — like this:

This makes it super easy to parse on the receiver side.

Once the data is ready, I broadcast it wirelessly using UDP over WiFi.

But why WiFi? And why UDP?

Well, WiFi allows us to create a completely wireless system; no need for physical cables or serial connections between devices. That means more freedom, more portability, and a cleaner setup.

As for UDP, it’s lightweight and designed for real-time communication. It doesn’t require handshakes or acknowledgments like TCP does; so the data gets sent almost instantly, with minimal delay.

And even if a single packet drops occasionally, it doesn’t affect the system much; because we are sending new radar data multiple times per second.

This combination of WiFi + UDP is perfect for a fast, responsive, real-time radar system.



Radar Tx Full Code:



Receiver Side Radar Animation Code Explanation:

On the receiver side, I am using this all-in-one MaTouch ESP32-S3 5-inch touchscreen display.

The same board runs the WiFi receiver code AND renders the radar animation using the Arduino GFX library.

We define the radar screen dimensions, center position, and radius; which helps us later draw the radar arcs, grid lines, and place the red dot precisely based on target distance and angle.

We have created functions like drawRadarGridLineAtAngle() and drawRadarArcAtRadius() to draw the classic radar-style circular grid — just like you’d see on military or airport radars.

Another function drawTargetInfo() shows the real-time numerical values at the top of the screen;

distance, angle, and speed — all in bright yellow so you can clearly monitor the target data as it streams in.

The drawTarget() function places a red dot on the radar based on the incoming angle and distance.




If you move, the red dot moves with you; just like a real radar screen tracking a moving object.

And to make it even more dynamic; we add a sweeping animation using the drawRadarSweepTrail() function. This creates a green radar beam that fades as it moves, just like in the movies.

The loop listens for any incoming data packets, decodes the comma-separated string,

and extracts the distance, angle, and speed; which are then passed to the draw functions.

That means every red dot, every sweep, every number you see on the display is coming in live from the RD-03D radar module via WiFi.

And remember; all of this is running on this single Touch Display with a built-in ESP32-S3; no PC, no external controller.

It’s a complete package; code, display, and WiFi, all in one!



Receiver Side Full Code:



touch.h code:

If you need the project source codes and all the other resources you can download it from my Patreon page. I have added a link in the description below. 

Practical Demonstration:

Let’s test it.

mmWave Human Tracking Radar ESP32 capturing human movement with radar-based sensing technology.

I move in front of the radar.

And look; the red dot follows my position based on distance and angle.

Human movement detected in real time using mmWave Human Tracking Radar ESP32 with precise radar sensing.

The values on top update in real-time as I walk; all wirelessly.

This is next-level tracking; compact, smart, and portable.



Now you have probably seen radar scanning projects that use ultrasonic sensors connected to laptops.

Visual animation comparing ultrasonic sensor and mmWave Human Tracking Radar ESP32 tracking system.

But here’s the problem:

  • The controller stays wired to a PC.
  • The laptop must stay on constantly.
  • It’s not portable. Not energy-efficient. And not practical at all.

My setup?

mmWave Human Tracking Radar ESP32 visualizing human presence with radar-style animation on screen.

Fully standalone.
The receiver is a single touchscreen board with built-in ESP32-S3.

You can carry it anywhere in your house.
Power it using a battery.
No PC required. No cables. Just freedom.

Now let’s look at a real-life use case.

I take the ESP32-S3 touchscreen receiver to my room… and start monitoring my lab remotely.

Human tracking displayed on radar using mmWave Human Tracking Radar ESP32 and motion-sensing technology.

Suddenly; I notice movement on the radar!

I walk in to check, and guess what?

My brother is there, talking on the phone.

Touchscreen interface displaying real-time data from mmWave Human Tracking Radar ESP32 system.

This is how you remotely detect presence, wirelessly, in real time.

This radar system is more than a demo; it’s a foundation.

A foundation for home automation, security, elderly care, or motion-triggered alerts.

And it’s fully portable, customizable, and battery-friendly.

So, that’s all for now.




Watch Video Tutorial:

 


Discover more from Electronic Clinic

Subscribe to get the latest posts sent to your email.

Engr. Shahzada Fahad

Engr. Shahzada Fahad is an Electrical Engineer with over 15 years of hands-on experience in electronics design, programming, and PCB development. He specializes in microcontrollers (Arduino, ESP32, STM32, Raspberry Pi), robotics, and IoT systems. He is the founder and lead author at Electronic Clinic, dedicated to sharing practical knowledge.

Related Articles

One Comment

  1. Mr.Fahad
    Hi, My name is John and I would like to build the Real time human tracking with real touchscreen ESP32.
    The touch screen is on its way and I have the RS-03D
    Amazon did not have the ESP32 you listed available. But they did have this available.
    Arduino Nano ESP32 with Headers [ABX00083] – ESP32-S3, USB-C, Wi-Fi, Bluetooth, HID Support, MicroPython Compatible for IoT & Embedded Projects
    Will this work with your project.
    Looking forward to build
    Thank You,
    DEX

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button

Discover more from Electronic Clinic

Subscribe now to keep reading and get access to the full archive.

Continue reading

Electronic Clinic
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.