Discover what to with raspberry pi 3, include the articles, news, trends, analysis and practical advice about what to with raspberry pi 3 on alibabacloud.com
Http://blog.csdn.net/c80486/article/details/8460325
If Raspberry Pi is made into an electric appliance, several actions must be supported when it is powered on.
1. Automatic Logon
2. automatically run the startx startup Window System
3. After the window system is started, it automatically runs the custom program (generally the main interface of the application)
The complete effect of these 4 battles is: Let the Raspberry Pi send its own IP address to the mailbox automatically by mail.Combat 2 : http://blog.csdn.net/make_app/article/details/47305179Combat 3 : http://blog.csdn.net/make_app/article/details/47305337Combat 4: http://blog.csdn.net/make_app/article/details/473053870. System EnvironmentRaspberry
40 Gpio on a Raspberry Pi is the best thing to play.They can be directly controlled by c,/c++, Python, Java and other languages.Now, let's see how to do the same thing with node. js.Before you try, install node. js, and move to: 1. Prepare the Test foldermkdir/home/pi/documents/test-gpio-demo/2. Create a file Package.json{ "name":"Test-gpio-demo", "version":"0.
First, basic settings
1
sudo raspi-config
Move to the fifth "Enable Camera", enter, press the TAB key to switch to "enable" to confirm the return. Back to the main menu, tab to "Finish" to confirm the return. The Raspberry Pi will restart automatically.or execute a command to manually shut down the machine
1
sudo shutdown-h now
Warning!!!!!!!!!
Beginner Python , try to change the program that was previously written in C on the Raspberry Pi. Python version of the. Four-bit common yin digital tube and Raspberry Pi Circuit connection method is as follows:A ~ p-------------------------------GPIO0 ~ GPIO7D1 ~ d4-----------------------------GPIO11 ~gpio8Here is the
Raspberry PI Series--bare metal illuminated LED lightsBackgroundRecently just bought Raspberry PI B +, configured to run the official Raspbian system, tossing a week Linux system, feel no meaning, so try to understand the bottom of the start process, through a few days of research, It is found that the boot of the lowe
The problem is the Web server built on the Raspberry Pi, want to control the Raspberry Pi Gpio through the Web page, the webpage is implemented by PHP, through the PHP exec function call write good program implementation of the GPIO operation, but depend what no effect, anal
0. Power supply is micro USB (Android power connector)
1. Download the operating system from the official website and write the memory card with Win32diskimager.
2. Locate the IP and set the static IP under the router:
Command: sudo vi/etc/network/interfaces
Switch
Auto LoIface Lo inet LoopbackIface eth0 inet StaticAddress 192.168.1.88Netmask 255.255.255.0Gateway 192.168.1.1Allow-hotplug Wlan0Iface Wlan0 inet ManualWpa-roam/etc/wpa_supplicant/wpa_supplicant.conf
(recommended)-l,–ignore-locks ignore locked state reported by the target APIgnore the locked status reported by the target AP-e,–eap-terminate terminate each WPS session with an EAP FAIL packetTerminates the WPS process whenever an EAP failure packet is received-n,–nack Target AP always sends a nack [Auto]Always send Nack to target AP, default auto-w,–win7 Mimic a Windows 7 registrar [False]Analog win7 registration, default offReference:Http://lok.me/a/1972.htmlHttp://bao3.blogspot.com/2013/05/
# 1. The ssh,11 version released on Raspberry 15th is not turned on by default. # 2. Start the root user, after executing this command, you will be prompted to enter the root password two times, enter the password you want to set, and then execute sudo passwd root# Unlock root account sudo passwd--unlock root# 3. Update software sudo apt-get update-ysudo apt-get upgrade-y# 4. Installing CPUs and related se
1. Visit the website: http://www.airspayce.com/mikem/bcm2835/, the website provides a library file for the Raspberry Pi: Click to download click to download. Follow the prompts to install.2. In the example folder in bcm2835-1.4.2, which is the history file, open the Bink folder, and use Gcc-o blink blink-l bcm2835 to generate blink execution files.3. In the Blink
Haha, you listen to the right!Using the Raspberry Pi can make a radio station, let your radio station to put their favorite music, is so capricious!?First, a bunch of geniuses at Imperial College in the UK (for the school that took the big 3D glasses a while ago) wrote a program that could send broadcasts on the Raspberry Pi
Gpio Library core function, of course, is the operation of Gpio, Gpio is the "general input/Output" interface, such as lighting a LED, relays, or through the IIC SPI 1-wire and other protocols, read, write data, this is the use of Gpio, can say no gpio, Raspberry Pi can only be used as a small computer, with a gpio, it is upgraded to a controller. First of all, how to operate a digital volume (high and low
The content of this article is Raspberry Pi python get GY-85 nine axis module information example, here using Python curses package development cli window program, used to refresh the sensor reading in real time, see the code first
GY-85.py:
The code is as follows:
#! /Usr/bin/python3#-*-Coding: UTF-8 -*-Import cursesFrom time import *From i2clibraries import i2c_itg3205, i2c_
Network service networking restart or restart the Raspberry PiTest networking after reboot can be sudo apt-get update or open browser test via graphical interfaceIv. Possible problemsIf you set the default to enter the Raspberry Pi GUI, may enter a user login interface, but do not know the password, ctrl+alt+f1 command line mode.Raspberry
1. System Installation1.1. Download Ubuntu-mate Image: https://ubuntu-mate.org/raspberry-pi/Download SDFORMATTERV4: https://www.sdcard.org/downloads/formatter_4/Download win32diskimager:https://sourceforge.net/projects/win32diskimager/1.2. Prepare a TF card greater than 8GB, using SDFORMATTERV4 format TF1.3. Write Ubuntu-mate Mirror (ubuntu-mate-16.04-desktop-armhf-rasp
In Raspberry Pi 3, direct startup does not enter the graphical interface by default. When you enter using SSH dialing (software such as putty), you can enter it at the command line
sudo raspi-config //Enter settings, here are a lot of settings
In the boot option, the Raspberry
Recently in the toss Raspberry Pi, at that time also did not pay attention to, look at the price, bought Mercury network MW150US Ultra-small 150M wireless USB card. But the tragedy was to use iwconfig and not recognize the wireless card But with lsusb words can see MW150US with is Rtl8188eu chip, search on the network, finally found a solution 1. first download the latest Linux kernel for compiling and inst
Realize the WiFi disconnection automatically, the principle is to use Python to monitor whether the network is disconnected, if the disconnection will restart the network service. Next to everyone to share the implementation of code, need to refer to the friend
1.Python code autowifi.py, placed in the/HOME/PI directory:
#!/usr/bin/pythonimportos, Time whiletrue: if ' 192 ' not in Os.popen (' ifconfig | grep 192 '). Read (): print ' \n**** * * W
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.