Unsolved Connecting nanoVNA to Duet2Wifi through USB
reghend79 last edited by
I am attempting to connect a nanoVNA-F V2 to my Duet 2 Wifi so I can control the VNA directly through the DWC (would eventually like to take frequency readings during prints). It receives ASCII commands through USB (5V/1A), and I have successfully sent commands through the command line, PuTTy, Matlab, etc.
I tried connecting the VNA to the main serial interface on my Duet and sending these commands on DWC to change the sweep range:
M575 P0 S2 (also tried S0, S1, and S3)
M118 P1 S"sweep 1000000 2000000 101"
The sweep range is displayed on the VNA's LCD screen, and nothing happens when I send this. I also don't receive any data when sending other commands.
Is this a problem with the connection to the main serial interface, or is there a problem with my code? I've also thought of connecting the VNA to the PanelDue port instead, but I'd need to level shift it.
I'm running RepRap 3.3beta2 and DWC 3.2.2. I'd appreciate any help or insight!