Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to choose Port in Arduino

2025-03-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to choose the port in Arduino, the article is very detailed, has a certain reference value, interested friends must read it!

2.4.4 Select Port

After selecting the board, we need to select the port where the board is connected to the computer. It is also set in the tools menu, as shown in figure 2.42.

Note: the COM1 port is usually the serial port that comes with the motherboard, so it is usually not the port on which the LilyPad is located. The port number is not fixed, and under the Windows operating system, the number can be seen in the device manager, as shown in figure 2.43.

Under the Linux operating system, ports are named differently from Windows, as shown in figure 2.44.

Under the Linux operating system, you can view the port name through the dmesg command:

Arduino-1.6.0$ dmesg

[51608.798450] usb 2-2.1: Product: FT232R USB UART

[51608.798453] usb 2-2.1: Manufacturer: FTDI

[51608.798455] usb 2-2.1: SerialNumber: AL00DUXU

[51608.807806] ftdi_sio 2-2.1 1.0: FTDI USB Serial Device converter detected

[51608.808028] usb 2-2.1: Detected FT232RL

[51608.810892] usb 2-2.1: FTDI USB Serial Device converter now attached to ttyUSB0

You can see from the last line of output that the FTDI USB Serial Device converter now attached to ttyUSB0, the LilyPad programmer, is attached to the ttyUSB0.

The above is all the contents of the article "how to choose a Port in Arduino". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report