I am trying to connect an LD2410 radar sensor to my RaspberryPi with the following connections:
VCC to Pin 2(5V)
GND to Pin 34(GND)
TX to Pin 10(GPIO 15 RX)
RX to Pin 8(GPIO 14 TX)
Out to Pin 12(GPIO 18)
I can't seem to find any online resources about connecting this sensor to a Raspberry Pi, only how to connect it to Arduino and PCs through a USB port. I need this so I can calculate the distance someone is from my sensor in my Python code.
Currently, the code seems to return void from the serial port, even if I execute the command in the terminal it still returns void.
I have already checked the serial ports configurations and everything seems to be fine.
VCC to Pin 2(5V)
GND to Pin 34(GND)
TX to Pin 10(GPIO 15 RX)
RX to Pin 8(GPIO 14 TX)
Out to Pin 12(GPIO 18)
I can't seem to find any online resources about connecting this sensor to a Raspberry Pi, only how to connect it to Arduino and PCs through a USB port. I need this so I can calculate the distance someone is from my sensor in my Python code.
Currently, the code seems to return void from the serial port, even if I execute the command in the terminal it still returns void.
I have already checked the serial ports configurations and everything seems to be fine.
Statistics: Posted by HenriqueLopes — Fri Jul 05, 2024 9:24 am — Replies 0 — Views 22