In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how to control raspberry pie through serial port. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Control raspberry pie through serial port
Demand
Without the Internet, keyboards and monitors, controlling raspberry pie becomes a problem. Today, I came across an article saying that raspberry pie can be controlled directly through the serial port. Try decisively, the effect is good, share decisively!
# preparation
Raspberry pie development board (this is raspberry pie Model B +) (official system has been brushed, in fact, as long as it supports serial port debugging)
USB to Serial Port tool (PL2303)
DuPont Line (4)
# Connect
PL2303 raspberry pie
VCC + 5V
RX RXD (GPIO14)
TX TXD (GPIO15)
GND Ground
Raspberry pie pin distribution map:
Physical connection diagram:
Directly use the laptop power supply, of course, you can also add a power supply.
# install software
The environment is ubuntu 14.04.
Install ckermit
$sudo apt-get install ckermit
Edit the configuration file: $vi ~ / .kermrc and write the following:
Set line / dev/ttyUSB0set speed 115200set carrier-watch offset handshake noneset flow-control nonerobustset file type binset file name litset rec pack 1000set send pack 1000set windows 5windows
Under windows, you can use HyperTerminal or putty, select a com port, and then set the baud rate 115200 to connect.
# start connecting, insert PL2303 into computer USB, and start raspberry pie
Sudo kermit
Open kermit, type c, hit enter, and you should see some output when the raspberry pie starts
After startup, enter the user name and password to control the raspberry pie
# how to disconnect
Enter the shortcut key: CTRL\, and then press c to exit to the kermit interface. Type c again to connect to the raspberry pie and exit to exit kermit
# feel that it is much more convenient to connect through the serial port. After all, most of the time we don't need or don't have a monitor. It's enough to just control the raspberry pie.
Thank you for reading! This is the end of the article on "how to control raspberry pie through serial port". I hope the above content can be of some help to you, so that 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
© 2024 shulou.com SLNews company. All rights reserved.