
Hi all,
I am trying to use an Arduino UNO Rev 3 with a USB Host 2.0 shield to interface with VNA6000 or NanoVNA V2. Attached at the bottom of the post is a link to the shield documentation and a photo of the one I have.
The goal is to eventually make a system that could work on mobile vehicles, which is why I am using Arduino. Right now, I am struggling to set up communication between the UNO and the VNA. I am unsure whether my Arduino sketch is correct or if it is because I am failing to enter USB mode. The program is designed to send an indicate command through serial by initially sending the OP command and then followed by the indicate command in hex. Then the program will just wait and write the response from serial. However, there is no good way to test this if I cannot enter into USB mode. Would anyone have any advice or help?
Additionally, I have considered using a raspberry PI, but my preference is to use Arduino for this project as it will be controlling other components as well. Another issue that could be occurring is that the current is too low for USB operation. I found from another post that the USB needs to drive 500mA current in order to enter USB mode. So, my work around was to connect a 9V battery to the power pins of the UNO and it will increase the USB to drive at 500mA, as detailed by the Arduino site.
Please let me know if anyone has any ideas or advice. Thank you!
Components:
USB Shield Documentation: Arduino USB Host Shield | Arduino Documentation | Arduino Documentation ( https://docs.arduino.cc/retired/shields/arduino-usb-host-shield )