I am a program ape, hardware is his hobby! I hope you will not hesitate to enlighten us.
In the absence of monitors and network cables, the serial port is the only choice to connect Pcduino V2. This paper mainly records the process steps of my Usb-ttl connecting Pcduino V2 under Linux, for reference only!
System: Ubuntu 14.04
Software: minicom
Hardware:
Hardware connection:
Usb-ttl adapter and Pcduino V2 connection, please refer to:
I use the USB to TTL serial device such as:
Connect the adapter to the USB port on the computer and enter LSUSB to see if the PL2303 USB device is recognized:
Use the DMESG command to view device information:
Complete the hardware setup by connecting the USB power to the Pcduino V2 motherboard.
minicom Installation:
Minicom Configuration:
Log in as root and run the following command:
# minicom-s
The minicom main configuration menu appears on the screen, the keyboard key is moved, the "Serial Port Setup" option is selected, 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 device/dev/ttyusb0;
Baud rate 115200;
Frame Format 8N1 (indicates 8-bit data, 0-bit checksum and 1-bit stop bit);
Soft and hardware flow control No.
Note that the serial number can be changed based on the port being connected
After the configuration is complete, go back to the main configuration menu, select the "Modem and dialing" option, and clear the value of the "A-init string", "B-reset string" and "k-hang-up string" options. Then return to the main menu and select the "Sxdye as DFL" option and save as the default setting. After selecting exit from Minicom, restart Minicom with the following command:
# minicom
Reference:
http://www.crifan.com/continue_try_access_pcduino_via_ttl_serial_port/comment-page-1/
Http://it.china-b.com/lixt/456363.html
Linux TTL serial login Pcduino V2