ArduinoA
Arduino5mo ago
2 replies
ZochtKocht

trouble with RD-03D sensor library

im having trouble with an library for the RD-03D sensor. From the example https://www.instructables.com/Radar-Based-Home-Security-System-Using-RD-03D-and-/ its supposed to run on an esp32-2432s028(CYD), but the library uses softwareserial. Even though its supposed to be editet to work with an esp32, which it does on the website, i still get the error:
documents\Arduino\libraries\SoftwareSerial\SoftwareSerial.cpp:41:10: fatal error: avr/interrupt.h: No such file or directory
41 | #include <avr/interrupt.h>
Im just using the example to get the radar to work for my own project so all the web stuff can be ignored.
I tried the full sketch from the site for the CLD, esp32-wroom32 and esp32c6 but it still didnt work.
everything works until #include "RadarSensor.h" is added.
shopping.webp
Instructables
Radar-Based Home Security System Using RD-03D and ESP32-C6: Introduction
Traditional home security systems have a fatal flaw. PIR (Passive Infrared) sensors, the backbone of most security setups, are notorious for false alarms triggered by pets, moving curtains, temperature changes, or even sunlight shifting
Radar-Based Home Security System Using RD-03D and ESP32-C6
Was this page helpful?