Arduino: App connectivity via built-in USB?

Arduino Nano (and other models) has a USB connector on the circuit board.

Can the Arduino application (the code inside the loop () function) communicate with the PC / Mac via the built-in USB channel?

+5
source share
2 answers

The board that you indicated uses the FTDI USB chip for the UART chip; ATMega168 itself does not have a USB controller. The UART side of the FTDI chip is connected to the UART ATMX168 RXD / TXD pins. So, in terms of Arduino code, you are just talking to a serial port controlled by UART.

FTDI USBSER.SYS UART ( COM- VCP). COM- .

, , , , - Arduino, .

+3

. - POSIX- , .

+1

All Articles