Hello, I'm new here and have the following question:
Does the USB interface for programming the Arduino always have to be reserved for this purpose and therefore has to remain unused in my application?
I want to use 2 USB interfaces in my application with the board (1 x MIDI and 1 x PC keyboard). Am I right in assuming that I need 2 additional USB interfaces to implement this?
Is that even possible?
Thanks in advance for your feedback
Your topic has been moved. Please do not post in "Uncategorized"; see the sticky topics in https://forum.arduino.cc/c/using-arduino/uncategorized/184.
The USB interface can be used for uploading as wrll as for other purposes like serial communication with a PC.
No! When using it the terminal will not be available. The boards are designed in such a way that this can be done, there is a resistor in series with the Rx line to allow this. I would seriously consider another board that has several serial channels such as the Mega, they are not that much more and will save you a lot of programing and debugging time.
have a look at the ESP32-S3-DevKitC-1 which in addition to the USB-to-UART Serial port has a USB OTG interface
Which board are you are using? USB MIDI and PC keyboard can only be done with a board with native USB ( e.g. Leonardo or Micro ). Such a board can run different protocols ( e.g. MIDI and Serial ) on the same USB interface. The upload process is not affected by this use.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.