Prepare
Raspberry Pi Development Board ( Click here to purchase ) (has been brushed into the official Raspbian system )
USB to Serial board ( click here to buy )
DuPont Line (4 root)
Connection
串口板 树莓派--------------------VCC +5V(非必须)RX TXD(GPIO15)TX RXD(GPIO14)GND Ground Raspberry
500ms} led.state=0;}//led.close ();//Process.exit (); //Exit ProgramThere is also a component cur.jsvarHTTP = require ("http");//Utility function that downloads a URL and invokes//callback with the data.function Download (URL, callback) {http.Get(URL, function (res) {vardata =""; Res.on ('Data', function (chunk) {data+=Chunk; }); Res.on ("End", function () {callback (data); }); }). On ("Error", function () {Callback (NULL); });} Exports.dow
-linaro-arm-linux-gnueabihf-raspbian-x64 are used for 64-bit machines.
Each cross-compilation tool has a bin directory in the directory to enter, execute./arm-linux-gnueabihf-gcc-v to view the GCC version.
I use ARM-RPI-4.9.3-LINUX-GNUEABIHF here because the GCC version on the board is now 4.9.3 3. Start compiling
3.1 Enter the Linux kernel directory:
$ CD ~/RASPBERRY/LINUX-RPI-4.4.Y
$ kernel=kernel7
$ make
-lPS1080.soWith this file, pkg-config you can output the compiler, the parameters required by the linker, and the version information of the installed package. Check if it can be found correctly:$ pkg-config --modversion libopenni2If the version number is 2.2.0.0 , no problem.3. TestingNext, test whether the installation was successful. First, install CORE_SAMPLES , add in the Makefile last line:core_samples: $(CORE_SAMPLES)Compile:PLATFORM=Arm make c
you do not understand the operation of 2, want to look at the detailed steps here, in another blog:3. After connecting the Raspberry Pi to the WiFi, the installation method has a tutorial. It should be noted that if the WiFi signal is above 10 channels, it is likely not recognized, then the router's channel to tune not more than 10.4. To install the Remote Deskt
Today when I tried to connect the Raspberry Pi with SSH, I found that the Raspberry Pi did not open the SSH service.I don't have a monitor, I don't have an external keyboard.So, I pulled the Raspberry Pi hard drive (memory card) a
of the machine, install the Chinese font, and then change back to ZH_CN. UTF-8, otherwise the first boot will appear square)Change_timezone – because the Raspberry Pi does not have an internal clock, is the time taken over the network to select Asia–shanghai.
Memory_split – The video memory configured for the desktop display.
SSH – whether to activate the sshd service.
Boot_behaviour – Set
Raspberry Pi ------For Windows
Step 1:in Order to write the image for sd,we should download and install image Writer for Windows
Step 2:download and install putty and connected to serial port
Step 3:plug in the power then start Raspberry Pi and
If you're bored with a smart home that just has to download a specific app to control a light, here's the good news: Openhab can give you the most flexible control of smart home, Openhab is a mature, open source home automation platform that can run a lot of software, There is no agreement, which means it can now be connected to almost all of the home automation hardware on the market.Here we will show you how to install and launch the free smart home system.We first use
The latest version of the 2017-03-02 version of the Raspberry Pi system does not directly SSH login issues
Last night when installing the latest Raspbian system using Raspberry Pi 3 (2017-03-02), there was a problem:
There is no HDMI monitor on hand, so you can only use SS
Docker is a good thing, thinking that Raspbian is a Debian-based system, and that certainly supports Docker.With Docker, there is an extremely simple way to install Home assistant on the Raspberry Pi.1. Installing Docker on the Raspberry PiCurl-ssl https://get.docker.com | shReference: https://www.raspberrypi.org/blog/docker-comes-to-
to the Raspberry Pi, then execute the LSUSB command on the Raspberry Pi, this time the list is connected to all the USB devices, as follows:
Bus 005 device 001:id 0000:0000
bus 001 device 001:id 0000:0000
bus 004 device 001:id 0000:0000
bus 003 Dev Ice 001:id 0000:0000
bus 002 device 006:id 15d9:0a37
Bus 002 Device 00
Your Linux distribution may already contain the Remote Desktop Viewer program, which you can use to connect your Raspberry Pi with VNC. This program can usually be found under the Applications/internet menu (the following is an example of Ubuntu);Once you select the Remote Desktop Viewer program and click the Connect button, you will see the following dialog box. Select VNC in the Protocol (Protocol) option
1,apache Introduction:Apache is the world's first-ranking Web Server software . It can run on almost all of the widely used computers platform Because of its cross-platform and security is widely used, is the most popular Web server-side software. For more information, see: " Baidu Encyclopedia- Apache" " Wikipedia -apache HTTP Server "2, install Apache to Raspberry Pi:Apt-get Install Apache2Want to continue[y/n]? When entering Y,
Raspberry Pi advanced GPIO library, wiringpi2 for python using notes (4) practice DHT11 decoding, gpiodht11
DHT11 is a temperature and humidity sensor with calibrated digital signal output. Precision humidity +-5% RH, temperature +-2 ℃, range humidity 20-90% RH, temperature 0 ~ 50 deg C.
The encapsulated modules I bought contain the pull-up resistor. After che
;;EsacExit0The /etc/init.d/myscript is not yet randomly activated. Linux on boot, the real check is the/ETC/RCN.D folder, execute the script therein. The n here represents the RunLevel. For example, at run Level 2 o'clock, Linux checks the/ETC/RC2.D folder and executes its scripts. UNIX systems can work in different operating modes, such as single-user mode, multiuser mode, and each mode is called a runlevel. Most UNIX systems follow:Operating level:
the mobile power, from the mobile power of the USB is micro-port, Can not connect, need a male-to-male USB cable, there is no way to buy a data cable alone, the module is connected to the same way as other modules, connect the power of the USB port, the above pin has 3.3V, 5V, GND, it is clear, said above, the general module requires VCC and GND, Gpio above these two quantities are limited, you can receive this independent power supply module, out pin normal to the
downside is that no matter how big your card is, its partitioning depends on the operating system, which wastes some space. The command is as follows: DD if=raspybin bs=1kb count=4000 of=/dev/sdxx here xx is your SD card, don't make a mistake! Otherwise lose hard drive data at your own risk. I purchased a 8G SD card, after installing the raspybin image of Pi, insert the SD card slot, connect the mouse, keyboard and HDMI to power up. The firs
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.