Hi, I am a beginner in the Radar field, and I've been using the phaser in my first project with Radars. I have connected Pluto to my PC via USB as well as the Raspberry Pi via an ethernet cable. I am trying to run the FMCW_Radar_Waterfall.py script as is shown in the Drone tracking part 3 YouTube video (FMCW Radar). However, after running the Python file, the user interface which is shown in the video - does not appear on my screen. I'm obviously missing something. Can you please direct me how to continue so that I can run the file properly?
Best Regards
Hi,
Have you very carefully followed the video and instructions here:
https://wiki.analog.com/resources/eval/user-guides/circuits-from-the-lab/cn0566/quickstart
Follow all of those steps, and don't skip any step. And if you have trouble, let us know which step it is failing on.
Hi again - thank you for sharing this video, it was very helpful. It seems that I had an issue with the code used on the RPi to configure the SD card. I will point out that I got an error that the python files were not compatible because the RPi was using NumPy 2.0.2, but the code was using a lowergrade version. After downgrading, I was able to run the files from the RPi and access the GUI and even get measurements from the HB100.
I did run into an issue when trying to run the more updated files from my PC. I connected to my PC via Ethernet, and plugged in Pluto directly to my PC via a USB cable. I tried to run the FMCW_Radar_Waterfall.py file from Visual Studio on my PC but I keep getting a result of "Press any key to continue..." and then once I press any key it exits the code:
Meaning I'm still not getting the interface window, perhaps I'm still missing something?
I would greatly appreciate your help.
Yes, you may have to redo the matplotlib plotting routine for Visual Studio. I did something that worked well for the Spyder IDE, but it may not display well on other IDEs. It should be easy to modify from other matplotlib examples.
Hello, I downloaded Spyder and tried to run the FMCW_RADAR_Waterfall script, but get error that "No device found."
I have installed the pyadi-iio library (and the rest of the libraries in this video) according to the following video from Mark Thoren:
INFORMAL Software Tool Installation and Demos for Analog Devices data converter and sensor products
Once I started to run and debug the code, it seems that an exception occurs in line 36 of the context_manager file ("No device found"):
My hardware setup is that I have an ethernet cable connected to the Raspberry pi from my PC, and Pluto is connected to my PC via a USB cable. I have also changed the following like of code:
my_sdr=ad9361(uri="ip:pluto.local")
to:
my_sdr=adi.ad9361(uri=sdr_ip)
(line 54 in the FMCW_RADAR_Waterfall file)
Can you please advice as to what you think the issue is, and how it can be solved?
With Pluto plugged into your computer (and use the center USB plug on pluto, not the one on edge) try these commands and tell me what results you get:
import adi print(adi.__version__) sdr_ip = "ip:192.168.2.1" my_sdr = adi.ad9361(uri=sdr_ip) print(my_sdr.rx())
Hi, my USB is plugged into the center port, and I get the following error: 'str' object has no attribute 'rx'
line 4 should not have quotation marks. Try this:
my_sdr = adi.ad9361(uri=sdr_ip)
i get the same exception that no device is found
Is this the Pluto that was shipped with your Phaser kit? It should be already configured for 2T/2R operation, but it looks like its not. You can update the firmware, and follow these instructions:
https://wiki.analog.com/resources/eval/user-guides/circuits-from-the-lab/cn0566/quickstart#appendixpluto_setup
Hi, is this is what is supposed to appear after running the code you posted above?
if so, the issue was that i had not installed the Windows Driver, which seemingly stopped the connection between the pluto and the PC