Recently, the company came to a Raspberry Pi board, is a drawback, although only the size of the slap, but perfectly formed! The optical USB port has 4, also has the HDMI port, the network port and the microUSB port, the power supply only needs a 5V charger, namely the general Android Charger can give him power. But it's such a small
Annotated Source: http://www.cnblogs.com/einstein-2014731/p/5551846.htmlThe use of the C language Control Raspberry Pi 3B serial port, to achieve the purpose of using the serial port to send and receive data. Previously thought this serial port is the default to be formulated into a serial control Raspberry Pi mode,In
effect:[Email protected]:~$ Exportfs-raVerify the Server for NFS locally. Mount the NFS server directory to a different directory on this machine and you can see the files in the NFS server directory under the mount point directory.[Email protected]:~$ ls/home/ky/nfs/Aaaa[Email protected]:~$ sudo mount-t NFS 127.0.0.1:/home/ky/nfs/mnt[Email protected]:~$ ls/mntAaaa[Email protected]:~$ sudo umount/mnt/Use the Development Board to verify that the NFS s
problem occurs:
When using OpenCV on the raspberry pie, the following error occurred:
Window System doesn ' t support OpenGL
After positioning, found that the error occurred in Cvshowimage, after analysis, the reason is that the raspberry system is installed in the easy version of OpenGL, so do not support cvshowimage, the solution is as follows solutions.
Turn from: Http://raspberrypi.stackexchange.com
be on the Pi and not remotely a Ccessing it.I added a gcc toolchainOptions > Build Run > Tab tool Chain > button addChoose GCC
Then set compiler path:/usr/bin/arm-linux-gnueabihf-gcc-4.6
Debugger:/usr/bin/gdb
Mkspec:default
Qt Creator seems to detect, we is going to deploy on a remote target.To fix this:
Go to menu Help > About plugins
Uncheck Device Support > Remote Linux
Restart Qt Creator
Go to Tools > O
FileZilla on Windows to make an SFTP connection with the connection address starting with sftp://. You can no longer use stand-alone displays and keyboards."Timed Shutdown"sudo crontab-u root-eAdd the following content* * * */sbin/init 0"Start-up Run"sudo nano/etc/rc.localAdd the following contentsudo nohup python-u/home/pi/unlockhandler.py >/home/pi/unlockhandler.log 2>1 "Download Installation Dependencie
The successful deployment of ASP. NET on Raspberry Pi today. Before the test success on the Unbuntu, the results of today's operation will not operate, mainly on the Linux is not familiar with, to find information, not many, this time hurriedly record down, in case of the next check.I used the MONO+XSP2.Install mono Tutorial Online A lot of, I do not specifically write, download the big God in the Baidu Net
sudo apt-get/home//home/pi/svn//home/pi/svn/project/conf Nano svnserve.conf### uncomment the "#" number in front of the line of code# # # # # # # # # # # # # # anon-access = none# auth-access = write# password-db passwd Execute Command Nano passwdAdd the code the first Liyang is the user name = LiyangClose Service Killall Svnserve-d-r/home/
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 Raspberry Pi does not have a battery, so the system time stops after the power outage, until you start the timer again.Because the project needs to use local time, the accuracy requirements are not high do not want to toss (if you need high precision, need to install NTP), so consider using Python script synchronization Baidu time, accuracy error is small in
Install Qt in Raspberry Pi
Blog link:Http://blog.csdn.net/jdh99, Author: jdh, reprinted please note.
Environment:
HOST: win7
Hardware: Raspberry Pi
Steps:
Reference: http://qt-project.org/wiki/apt-get_Qt4_on_the_Raspberry_Pi
firstly I got the development tools needed by QT creator
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
3. Computer network cable direct
please refer to the other blog post for the circuit connection method: "Color control for RGB LEDs with Raspberry Pi--c language version"Python code:#!/usr/bin/env python#********************************************************* #File Name:rgb.py#author:jason Dai #Date: 2015/02/04#*********************************************************import Rpi.gpio as GPIOimport timecolors = [0xFF0000, 0x00FF00, 0x0000
1. Configure the PlatformSource: http://www.cnblogs.com/xiaobo-Linux/p/7955769.html2. Select Remote3. Fill in the informationThe JRE path is the path on the Raspberry Pi: how?sudo update-alternatives--display javaOutputJava-auto modeLink Best version Is/usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/bin/javaLink currently points To/usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/bin/javaLink Java Is/usr/bin/javaSl
Raspberry pi +opencv read camera
Call the camera on the Raspberry Pi, read each frame in the video stream, and use the canny edge detection to extract the edges in each frame, the final effect is as follows:
ReadVideo.cpp
#include "opencv2/opencv.hpp"
using namespace CV;
int main (int, char**)
{
videocapture ca
" and he found a way to solve it. And my approach is to migrate the system to Openelec. This is something.Third, the use of TV remote control kodiCec:consumer Electronic control, literal translation into consumer electronics. It provides the use of remote controls to control devices connected via HDMI. And our Raspberry Pi and RASPBMC systems have been supported from both hardware and software levels. The n
Raspberry Pi native Serial port default for console output, if you want to use in your own program need to shut down the system to occupy this serial port.
The method is configured for Rasp-config, or directly modifies the/boot/cmdline.txt
#dwc_otg. lpm_enable=0 console=tty1 console=serial0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 elevator= Deadline Fsck.repair=yes Rootwai
Dwc_otg.lpm_enable=0 console=tty
() Camera.close () Gpio.output (G PIO. Low) def setup (): Gpio.setmode (GPIO). BOARD) # Numbers GPIOs by physical location Gpio.setup (Gpin, GPIO. # Set Green Led Pin mode to Output Gpio.setup (Rpin, GPIO). # Set Red Led Pin mode to Output Gpio.setup (GPIO). Out) Gpio.setup (Btnpin, GPIO. In, Pull_up_down=gpio. PUD_UP) # Set Btnpin ' s mode is input, and the pull-up-to-level (3.3V) Gpio.add_event_detect (Btnpin, GPIO. BOTH, Callback=detect, bo
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.