I have Quectel_5G-mmWave_EVB (with the module RM510Q). I want to interface the sensors with the microcontroller. The microcontroller will send the sensor data to the Quectel device using the USB connection. The Quectel device will send the data to base station using the 5G mmWave.
I am using Arduino with USB HOST shield, but I am facing difficulty in interfacing the Arduino with the Quectel device. Arduino USB host shield library has several examples, but nothing is working. I am unsure, how can I select the AT port (COM11) using the USB host shield/Arduino. As per my understanding, the Arduino should act as a host and should be able to select the port i.e. COM11 in my case. I can see three ports on the Quectel device when I connect the device to the PC.
I am also unsure about the protocol for communicating between the MCU and Quectel device. I am afraid that the unavailability of the Quectel device driver for Arduino could be a possible reason.
It worked without any problem. When I replace Arduino Mega with the Quectel device it doesn't work. I think the reason could be a selection of the port as three ports are available shown in my previous post. I am unsure how can I select the desired using the Arduino code.
Using the hub_demo example I am able to get the following information. Unfortunately, I can't see any function for sending or receiving data in USB or USBHUB library. I tried to incorporate ACM and FTDI examples in the hub_demo example but neither of them works. Could you please assist me in how can I send the data?