What are different configurations of UNO Q in ArduinoIDE

I am trying to work UNO Q in ArduinoIDE mode without using AppLab, because the Applab was giving compilation issues with large data transfer through bridge. I presume using ArduinoIDE arrays of data can be quickly transferred between STM and Linux as till now I didnt find compilation issue. I may be wrong in above statements since I have been exploring UNO q since last week. In this configuration, I lose HDMI port from my USB hub as UNO is directly connected to PC by com port.

Can someone please tell me how to get ArduinoIDE in PC com port and at the same time have small HDMI display too.

thanks for attention and any suggestion

JS

Without knowing what those issues were or seeing the code it is rather difficult to advise. Please post the error messages, making sure to mark them as code using the <CODE/> icon at the top of the post editor.

You can run the UNO Q either:

SBC mode - where you connect a USB-C dongle to the UNO Q and connect a display, mouse and keyboard so that it runs like a standalone computer.

PC/Host mode - where you can plug it into your PC via a USB-C cable just like any other Arduino board.

I don't believe you can do both at the same time.

You can however, run RDP (e.g. xrdp) on the UNO Q once it is up and running, so that even when you have it plugged into the PC, you can connect over the WiFi network to the UNO Q Linux desktop and display it on the PC screen.

However, I think the main focus here should be resolving the compilation issues that you are having and that would require seeing both the code and the error messages. Could you please provide a minimal code example to illustrate the problem?

Hi @rawjs.

It is not necessary to have a serial port in order to use the UNO Q with Arduino IDE. The UNO Q also produces a "network" protocol port. You should see this port in Arduino IDE's Tools > Port menu, as long as the following conditions are met:

  • The UNO Q is powered.
  • The UNO Q is connected to the same network as the PC Arduino IDE is running on.

If you select that "network" port in Arduino IDE and then select Sketch > Upload from the Arduino IDE menus (or click the upload button on the toolbar), a dialog will appear that requests a password. You should provide the password of the arduino user account on the UNO Q's Linux machine in this dialog. Arduino IDE will remember the password for the rest of the session, so you won't need to provide it on every upload.

1 Like

@rawjs

In this regard, I am sharing my conceptual understang pos #8 of this thread.

Thanks for reply

Yes compilation was the main issue. I don’t have code as I have overwritten them. But the basic crux was that I wanted to transfer data from STM to linux at few KSPS. Now in AppLab as to my understanding the bridge of routerbridge has limited functions like provide, notify and call. None of the Applab examples has array of data transfer.

However on seeing the libraries in IDE I can find many examples and functions. I picked and modified one of the example which uses MsgPack. The Applab console shows MsgPack and other libraries loaded/used but the compilation never succeeded. Then I presumed the Applab compiler may have limitations so I switched to Arduino IDE for compilation. I am not an expert so I moved to one(IDE) which worked.

If Applab compiler works and Applab can transfer chunks of data fast using bridge, that would be convenient.

Thanks for the reply

Yes I did that way, connected UNO Q by network. Used an USB hub with PD and UNO Q connected on USB-c ports. HDMI of usb port connected to monitor. It is working fine, for serial monitor I am using minicom software on SSH.

I'm going to ask you to provide the full console output from starting the App.


:red_exclamation_mark: This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. Open the App in Arduino App Lab.
  2. Click the ▸ Run button.
    Output will be printed to the "App launch" view in the Arduino App Lab window as the App is launched.
  3. Wait for the App launch to fail, as indicated by the ▸ Run button going back into a clickable state.
  4. Click and drag the mouse pointer over the text in the "App launch" view, so that all the text is highlighted.
  5. Press the Ctrl+C keyboard shortcut (Command+C for macOS users).
    This will copy the selected text to the clipboard.
  6. Open a reply here on this forum topic by clicking the "Reply" button.
  7. Click the <CODE/> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the output are correctly formatted.
  8. Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
    This will paste the copied output into the code block.
  9. Move the cursor outside of the code block markup before you add any additional text to your reply.
  10. Click the "Reply" button to publish the post.

Thanks for the update. I'm glad you are able to successfully use the UNO Q with Arduino IDE!