Simple implementation of Raspberry Pi WEB control, Raspberry Pi web
Final Effect
#! /Usr/bin/env python3from bottle import get, post, run, request, template @ get ("/") def index (): return template ("index ") @ post ("/cmd") def cmd (): print ("press the button:" + request. body. read (). decode () return "OK" run (h
Reprint please specify: @ Xiao Wu Yi Http://www.cnblogs.com/xiaowuyi qq Group: 64770604The Raspberry Pi production NAS process is described in http://www.cnblogs.com/xiaowuyi/p/4051238.html.Bypy is a Baidu cloud/Baidu network Disk Python client, the main purpose is in the Linux Environment (command line) sync Baidu Cloud disk space. Bypy requires more than python2.7 version, the latest version is Https://gi
/
BitTorrent Server :/http/blog.snapdragon.cc/raspberry-pi-as-bittorrent-server/
Web Cam Server :http://www. raspberrypi.org/archive S/tag/webcam
Weather Station :http//blog.retep.org/2012/07/30/ installing-a-usb-weather-station-on-a-raspberry-pi-part-1/
BitCoin Wallet:https://bitcointalk.org/index.php?topi
Install raspberry Pie
The raspberry pie finally arrived.
There's a row on it. Raspberry PI (c) 2011.12 download mirror, write SD card
http://www.raspberrypi.org/downloads/
Select this mirror: Raspbian Debian 2014-01-07
780M compression Pack, a big look.
There seems to be a noobs installation way, completely without s
Securi-Pi: Uses Raspberry Pi as a stepping stone for securityGuideLike many readers of LinuxJournal, I have also lived a very common "technology nomadic" life today, from one access point to another between networks, we are in different places in the real world, but we are always connected to the Internet and other networks that are commonly used.
Recently, I hav
GuideLike many linuxjournal readers, I have also lived in today's very popular "tech nomads" life, between networks, from one access point to another, where we are in different parts of the real world and remain connected to the Internet and other networks we use on a daily basis. Recently I have found that more and more network environments are starting to block common ports such as SMTP (port), SSH (Port 22), and so on. When you walk into a café and want to SSH into one of your servers to do s
Pi2, with U-boot and HYP enabled(3) RPi2-based routines for providing ready -made files Raspberry Pi 2–debian Jessie and U-boot(4) mainline U-boot-based routines How to compile mainline u-boot for Raspberry Pi?microSD card Burn-write Image: Debian JessieUbuntu host on U-boot use mainline version, official website sour
First, install the Raspberry Pi and Arduino development environment
1, Arduino development environment in the previous article has been explained that the need for friends can see "Arduino Control two motor Movement" this blog post.
2. Building a Raspberry Pi serial communication development environment
(1) Install Py
Raspberry Pi speaker, using a shairport
A private cloud service owncloud, can be anywhere, including the use of mobile phones, upload download files, synchronization calendar and so on. This service is relatively slow, is the only one let me buy a new version of Pi reasons.
An alarm clock, the hour will Chime (the first time in the morning is the daughter sh
on the wireless network card, and then the system image is brushed into the SD card, we connect the display keyboard and mouse to initialize the configuration work, of course, no conditions recommend the direct use of SSH connection Raspberry Pi, this is more convenient, because the new system by default open SSH management.The connection information is mainly as follows:Host Name: Raspberrypi user name:
object in the constructor, with the following code:
Image.load ("://cpu.png"); Read icon resource file
: Icon = new Qsystemtrayicon (this);
Icon->seticon (Qicon (image));
Icon->show (); Show tray icon
You can look at the effect of this step. On my Raspberry Pi, the result of the operation is this:Because the main window is hidden, the program
Raspberry Pi-Sonic Pi (sound programming), sonicpi
Sonic Pi is an open-source programming environment designed to explore and teach programming concepts by creating sound production music processes.
The Code executed by Sonic Pi i
Rc. local file of Raspberry Pi (set startup), raspberry rc. local
To run a command or program when Raspberry Pi is started, you need to add the commandRc. localFile. This is useful when you want to run the program directly without configuring it after
local upload to the Raspberry Pi (you can use the Rzsz command, self-search method)
In the last step of the Checkinstall, will ask a number of questions, when there is a problem to provide multiple options, select 2 to modify the package name of Collada-dom-dev, and then choose N for the next two problems, otherwise the final compilation error.
3.2.6 Installation Liblz4-dev
occur. Please let me know if there is a problem in checking the steps mentioned above. ---------------------------------------- (6) Use # #使用 Some basic examples of use can help to start using some of the Raspbian software. Directory: -Scratch-Scratch is a visual tool that lets users do some animations and games by dragging and placing the interface.-Python-Python is a widely used language that is easy to get started and very powerful.-Sonic Pi-Use s
: instructionsumount/dev/sdb* (all partitions of SD are to be uninstalled)sudo dd bs=4m if=2015-05-05-raspbian-wheezy.img of=/dev/sdbView Burn-Write progress: sudo pkill-usr1-n-x DD② under Linux Host: Install and build a cross-compilation environmentThe development kit is more than 500 MB, there are two ways to downloadWindows side: Https://github.com/raspberrypi/toolsUbuntu side: Make sure the Raspberry Pi
sleep 0.5 play 62 sleep 0.5 play 64 sleep 0.5 play 60 sleep 0.5end
You can enter frere to call this method later. For example, call in a loop:
4.times do frereend
6. Synths (synthesizer)
The synthesizer enables the play method to make different sound effects. The default synthesizer is "pretty_bell", but you can change it by yourself:
"pretty_bell""dull_bell""beep""saw_beep""fm"
Try different synthesizer:
with_synth "fm"2.times do play 60 sleep 0.5 play 62 sleep 0.5end
7. threads
command to install the Python library, Pip. If you use Python3, the command can use PIP3 sudo pip install robotframwork #安装脚本引擎核心库 sudo pip install robotframework-ride #安装测脚本的IDE软件 sudo Pip Install robotframework-selenium2library #安装selenium2library库sudo pip install selenium==2.53.6 # Special Note: install the specified version of the Selenium library, if the installation of more than 3.x version, the execution of the script will be abnormal!4. Run the robotframework IDE RidePath:/
/
Putty (0.63)
WinSCP (5.1.7)
Win32diskimager (0.9.5)
notepad++
Raspberry Pi End
RASPBIAN system
Download Link: https://www.raspberrypi.org/downloads/
Webpy
Python-lxml
Python-memcache
Apache2
Mjpg-streamer
RPI. GPIO
All the source code of this program
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.