In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces how to log on to pcDuino V2 through TTL under Linux. The content is very detailed. Interested friends can refer to it and hope it will be helpful to you.
I am a programmer, hardware is my hobby! I hope you will not begrudge your advice.
In the absence of a monitor and network cable, the serial port is the only choice for connecting pcDuino V2. This article mainly records the process steps of connecting pcDuino V2 through USB-TTL transfer under LINUX, for reference only!
System: ubuntu 14.04
Software: minicom
Hardware:
PL2303 USB-TTL adapter
3 DuPont lines
PcDuino V2 piece with USB power supply
Hardware connection:
For the connection between the USB-TTL adapter and pcDuino V2, please refer to the following figure:
The USB-to-TTL serial port device I use is shown below:
Connect the adapter to the USB port of the computer and enter lsusb to see if the USB device of the PL2303 is recognized:
Use the dmesg command to view device information:
Connect the USB power to the pcDuino V2 motherboard to complete the hardware setup.
Minicom installation:
Sudo apt-get install minicom
Minicom configuration:
Log in as root and run the following command:
# minicom-s
The main configuration menu of Minicom appears on the screen, move the arrow keys of the keyboard, select the "Serial Port Setup" option, and the following configuration items appear:
A-Serial Device: / dev/ttyUSB0
B-Lockfile Location: / var/lock
C-Callin Program:
D-Callout Program:
E-Bps/Par/Bits: 115200 8N1
F-Hardware Flow Control: No
G-Software Flow Control: No
Change which setting?
Configure the following parameters as needed:
◆ serial port device / dev/ttyUSB0
◆ baud rate 115200
◆ frame format 8N1 (indicates 8-bit data, 0-bit parity and 1-bit stop bit)
◆ software and hardware flow control No.
Note that the serial device number can be changed according to the port to which it is connected
When the configuration is complete, go back to the main configuration menu, select the "Modem and Dialing" option, and clear the values of the "A-Init string", "B-Reset string" and "K-Hang-up string" options. Then return to the main menu, select the "Save setup as dfl" option, and save it as the default. After selecting "Exit from Minicom" to exit, restart Minicom with the following command:
# minicom
About Linux TTL how to serial login pcDuino V2 to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un