In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 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 manipulate raspberry pie with a mobile phone. The editor thinks it is very practical, so I share it with you. I hope you can get something after reading this article.
1. Brief introduction of raspberry pie
Baidu encyclopedia's explanation:
Raspberry Pi (Chinese name "raspberry pie", abbreviated as RPi) is designed for computer programming education, only the size of a credit card microcomputer. A
Since its inception, it has been sought after by many computer enthusiasts and founders, and it has been difficult to find a "pie". Despite its petite appearance, the inner "heart" is very powerful, with video, audio and other functions. It can be said that "although the sparrow is small, it has all the internal organs."
Here's a picture to see what raspberry pie looks like.
1.2 operating system
Raspberry pie mainly supports operating systems based on Linux kernel, although raspberry pie 2 can run "Windows 10 core version of the Internet of things"
General operating systems: Raspbian, Snappy Ubuntu Core, OSMC, Windows10 Lot Core
This is the system download link of the official website.
1.3 uses
What can I do with Raspberry Pi?
Just like any other desktop or laptop running Linux, there are many things you can do with Raspberry Pi. Of course, it's inevitable that it's a little different. Ordinary computer motherboards rely on hard drives to store data, but Raspberry Pi uses a SD card as a "hard disk", and you can also have an external USB hard drive. Raspberry Pi allows you to edit Office documents, browse the web, and play games-even games that require powerful graphics accelerator support, such as Quake.
The low price of Raspberry Pi means that it has a wider range of uses, and it is also a good choice to build it into a multimedia center of excellence. Video can be played with Raspberry Pi, and power can even be supplied through the USB interface of the TV.
Baidu encyclopedia explains as above, but electronic enthusiasts have played a lot of tricks, such as being a wireless router, home theater, playing FM radio on network radio (there is a feeling of being overqualified and overqualified), as well as a more advanced six-legged walking robot, simple face recognition and so on.
Want to know more raspberry pie applications here
two。 Brief introduction of Mobile phone connection Raspberry Pie 2.1
Raspberry pie is just a circuit board and doesn't have its own display. If you want to use raspberry pie to program or play games, the easiest way is to connect a monitor through the HDMI cable, like this.
If you don't have a monitor or don't want to view raspberry pie through a monitor, you can only connect it remotely, usually via ssh.
Because the raspberry pie is connected remotely through the Internet, before that, you have to connect the raspberry pie to the network and assign an IP address to the raspberry pie.
There are generally several ways to access the network.
Plug the network cable directly into the raspberry pie
Connect wifi in raspberry pie
Mobile USB network sharing, sharing network with raspberry pie
No matter which way to connect to the network, if you want to connect through ssh instead of directly plugging into the HDMI cable to connect to the display screen, you must first know the IP address of the raspberry pie. Here is the third, sharing network for raspberry pie via mobile USB. It can be done directly with a mobile phone, which can not only connect the raspberry pie to the Internet, but also act as a display screen plus keyboard and mouse.
2.2 specific steps to power the raspberry pie
First insert the memory card (which has been swiped systematically) into the raspberry pie
Plug in the power cord and turn on the power switch. If you see the raspberry pie green light, the system is starting up.
Connect raspberry pie to the network
Connect the phone to the raspberry pie through the USB cable
Enable USB sharing function in mobile phone
Different phones have different ways to enable USB sharing. Please make your own Baidu.
Check the IP address of the raspberry pie
Because the raspberry pie is connected through ssh, it is necessary to know the IP address of the raspberry pie (this is important). By sharing through the mobile USB network, an IP address is dynamically assigned to the raspberry pie each time, and each time it is different, all of which have to be scanned through an IP scanner.
Mainly through an IP scanner in the phone, scan the IP in the local area network to find out the IP address of the raspberry pie. I use a mobile phone software called "Network Scanner".
The download address is here, and you can download it automatically by clicking it in your mobile browser (Android phone).
Let's introduce how to use the software.
Click on the wrench-like icon
Select Settin
Click scan Settings
Set the IP starting address to: 192.168.42.1
The IP end address is set to: 192.168.42.255
(I don't understand why it is the IP in this section. Maybe different mobile phones or operators have different IP sections to set.)
After setting up the IP, go back to the main interface and click the magnifying glass icon to scan.
There are two IP addresses, 192.168.42.101. Write down that you will need it when you log in to SSH (this step is very important).
Connect raspberry pie
Once you know the IP address assigned to the raspberry pie, you can connect through your cell phone. As long as it is a mobile software that supports ssh. I'm using
A software called "Termius", Baidu cloud disk link here, copied to the mobile browser to download.
Https://pan.baidu.com/s/1EsXsk36w1gbsykNhh9JdZg password: wtia
You only need to set 4 parameters in the software:
IP address
Port number
User name
Password
Click the plus sign in the lower right corner and the above interface will appear, and then click New Host
Click the above figure to set four parameters, IP address, port number, user name and password, and click the tick in the upper right corner.
Then this screen will appear, click CONNEXT
If there is no problem, the following interface will appear, indicating that the connection is successful. You can operate raspberry pie with only one mobile phone without plugging in a monitor, keyboard or mouse. Now you can enter some linux operation instructions.
If you want to turn it off, just type "sudo poweroff".
Areas where improvements can be made:
Because of the ssh connection, what appears is the command line interface. If you want to log in through a graphical user interface, you need to log in with a software called VNCviewer.
The above is how to manipulate raspberry pie with a mobile phone. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please 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.
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.