Front-facing:1. hostname Please change from default Raspberrypi to test.comsudo nano /etc/hostnamePlease change the raspberrypi in the file to test.com2. Change the IP address of the Raspberry Pi to static, in this case 172.16.0.68, the gateway exits to 172.16.0.1sudo nano /etc/dhcpcd.confAt the bottom of the document, add the following settings:interface eth0static ip_address=172.16.0.68/24static routers=1
-start: $local _fs
# Required-stop: $local _fs
# Default-start: 2 3 4 5
# Default-stop: 0 1 6
# short-description: Start/stop Tightvncserver #
# # # END INIT INFO
# More details see:
# http://www.penguintutor.com/linux/ TightVNC
# # # Customize This entry
# Set the user variable to the name of the user to start Tightvncserver under
(Note: The value of the user variable is the default user name, this is
: $local _fs
# Required-stop: $local _fs
# Default-start: 2 3 4 5
# Default-stop: 0 1 6
# short-description: Start/stop Tightvncserver #
# # # END INIT INFO
# More details see:
# http://www.penguintutor.com/linux/ TightVNC
# # # Customize This entry
# Set the user variable to the name of the user to start Tightvncserver under
(Note: The value of the user variable is the default user name, this is
The official Raspberry Pi camera Module, capable of shooting 5 million megapixel images and recording 1080p video, uses the CSI interface on the Raspberry Pi board.Installing the CameraFirst make sure that the Raspberry
vi or nano command to edit the content of the/etc/network/interfaces file. Make sure that the content of the file is displayed as follows.
Auto loIface lo inet loopback
Iface eth0 inet dhcp
Auto wlan0Allow-hotplug wlan0Iface wlan0 inet manualWpa-roam/etc/wpa_supplicant/wpa_supplicant.confIface default inet dhcp
If you do not want to set it as a Dhcp Dynamic IP address or static IP address, the file content is as follows:Auto loIface lo inet loopback
Iface eth0 inet dhcp
Allow-hotplug wlan0Iface
First, hardware preparation(1), Raspberry Pi Pi2(2), 8G 10-speed Micro SD card(3), LCD display (if the VGA interface, need to add an HDMI to VGA module)(4), mouse(5), the installation of Windows 10 PC (requires physical direct installation, not virtual machine mode, this article is not required)Second, software preparation(1), Windows IoT
1. DMESG//Show recent events in Raspberry Pi
2. cat/var/log/syslog//Print Log
3, Raspberry Pi has a lightweight x11--lxde, can be set by Raspi-config automatic login LXDE
4, if you like to use the graphical interface installation program, you can install the package: synaptic
sudo apt-get-y install synaptic//Downlo
: 1, using Sdformatter to format the SD/TF card, if you have already done noobs, you can use DiskPart clean to clear all the partitions on the card. When formatting, be sure to turn on "logical resizing" 650) this.width=650; "title=" clip_image001 "style=" border-left-0px; border-right-width:0px; Background-image:none; border-bottom-width:0px; padding-top:0px; padding-left:0px; padding-right:0px; border-top-width:0px "border=" 0 "alt=" clip_image001 "src=" http://s3.51cto.com/wyfs02/M01/88/5C/ W
, according to the above Airodump search for the wireless signal, and then can pick a strong signal to crack (that is, the lower the value of the PWR column, the better) also not all can run pin (MB this column 54e. There's this "." To run a pin) now pick a signal strong use the Reaver commandAnother thing: Remember Bssid (is the router's Mac) CH (channel, also can not) ESSID (the name of the WiFi, or you do not know that you run the WiFi is funny)Of course, you need to install Apt-get installed
Needless to say, Raspberry Pi deployed in the intranet, then there is no public IP address, how to make FTP file transfer through the external network? Let's tell you today with peanut shell Peanut wand port mapping combined with raspberry sent to solve the problem of the method.Peanut Shell website: http://hsk.oray.com/Here's how it works:1, connected peanut sti
Needless to say, Raspberry Pi deployed in the intranet, then there is no public IP address, how to make FTP file transfer through the external network? Today, we will tell you how to use the port mapping of peanut rods combined with raspberry sent to solve this problem.Here's how it works:1, connected peanut stick2. Log in peanut sticksConfigure the peanut Wand p
Raspberry Pi to teach you to install the USB wireless card on the Raspberry Pi support WiFiRaspberry Pi Although already has the wired network card, but did not configure the wireless network card, the mobility is not strong enough, fortunately, the machine is equipped with
"/" that is, for example, the IP address of the Raspberry Pi is: 192.168.0.10
That with http://192.168.0.10:8080 access to our "/" route (bottle default port is 8080)
Similarly, the path to the second route is "/cmd", which means that access to Http://192.168.0.10:8080/cmd accesses the second route
The last sentence: run (host = "0.0.0.0") is called the bottle Run method, set up an HTTP server, so that we
. BOARD) Gpio.setup (GPIO). Out) P =gpio. PWM (0.5) P.start (1) Input (' Click enter Stop: ') # in Python 2 you need to use Raw_inputp.stop () Gpio.cleanup ()The following is an example of switching LEDs between light and dark:Import Timeimport Rpi.gpio as Gpiogpio.setmode (GPIO. BOARD) Gpio.setup (one, GPIO). Out) Gpio.setup (GPIO). Out) p = GPIO. PWM (P11) = GPIO. PWM (one, P.start) (0) p11.start (0) Try: While 1: for DC in range (0, 101, 5
The first thing we think of about Linux Web servers is:Apache + MySql + Php.
Apache: is the world's first Web server software to use.
Can run on almost all widely used computer platforms, and is the most popular Web server-side software because of its widespread use across platforms and security.
MySQL: is a relational database management system developed by the Swedish MySQL AB company. is the most popular relational database management system, MySQL is one of the best RDBMS (r
Configuration Interface
sudo raspi-config
Or you can enter the following code directly into the language configuration interface
sudo dpkg-reconfigure locales
As shown in the figure: select Change_locale
In the Default locale for the system environment, use the spacebar of the keyboard to select the following five items:En-gb.utf-8 UTF-8 ZH_CN. GB2312 en. CN. GB18030 GB18030 ZH_CN. GBK GBK ZH_CN. UTF-8 UTF-8Press the TAB key on the keyboard to select Confirm, and then select Zh_cn in the men
Github:https://github.com/hicrater/raspberry-dht11-temperature.gitFirst, look at the wiring
Wiring diagram
Vcc
Cathode
Pick up the Raspberry Pi 3.3v power supply (choose one on the line)
GND
Negative
Pick up the Raspberry
/opt/ros/indigo
Common errors:
The compilation process compiles more than 180 package and installs it in the/opt/ros/indigo directory, often reporting ' collada_parser ', ' collada_urdf ', ' Rviz ', ' Visualization_ Tutorials ', ' rqt_robot_plugins/rqt_rviz ' these packets are faulty and the installation is interrupted. The solution is to remove the packages from the directory ~/ROS_CATKIN_WS/SRC directory and recompile the entire Ros. Finally, a separate workspace is created and the packages a
Raspberry Pi advanced GPIO library, wiringpi2 for python Use note (3) GPIO operations, gpiowiringpi2
The core function of the GPIO library is to operate GPIO. GPIO is the "general input/output" interface, such as lighting up an LED or relay, or using iic spi 1-wire and other protocols, reading and writing data are all useful for GPIO. It can be said that without GPIO, R
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.