Recently began to learn Python, the teacher let the deployment of the Python environment, deployed on the x86 platform is no pressure, think can not be a set of Raspberry Pi. Because using the Raspbian system and Debian is almost a problem when installing Mysql-python. Now record as follows:First Raspbian switch to root modeInstalling the Flask tool SetApt-get In
How to connect the circuit see another blog post:"using Raspberry Pi to control stepper motor--pythony language"/******************************************************* File name:stepmotor.c* Author:jason Dai* date:20 15/01/26******************************************************/#include Compile:GCC Stepmotor.c-o STEPMOTOR-LWIRINGPIRun:./stepmotorUsing
MQ-7 Carbon Monoxide Sensor Module IntroductionBrief description:First, size:32mm x22mm x27mm length x width x HeightSecond, the main chip:LM393,MQ-7 gas sensorThree, the operating voltage: DC 5 VoltsFour, Characteristics:1, with signal output indication. 2. Dual signal output (analog output and TTL level output)3,theTTL Output valid signal is low level. (When the output low signal light, can be directly connected to single-chip microcomputer)4, the analog output 0~5v voltage, the higher the con
Raspberry Pi is not like the motherboard of the PC with a battery for the timing after the shutdown, each time the board starts to re-time, netizens generally provide the method is to use the Ntpdate network calibration, but the board is not even mobile network, because the mobile firewall will intercept the relevant access.For detailed installation and configuration of this calibration service, there are a
1. Preface:
You need to understand the concept of Bitcoin
You need to know the computing power of the Raspberry Pi, which is much less effective than the graphics card mining, the baked cat, the USB mining, etc.
If you want to toss it, come on. 2. Prepare:
You want to dig Bitcoins, first of all to know where to dig Bitcoin, Bitcoin is in a mine, so we register the mine pool account
It could be that the BT
(decorated with @ post)
The first route is very simple, that is, reading the index template (the template is html) and sending it to the client (browser), because the path is "/", that is, for example, the IP address of Raspberry Pi is 192.168.0.10.
Use http: // 192.168.0.10: 8080 to access our "/" route (the default port of the bottle is 8080)
Similarly, the second route path is "/cmd", that is, access ht
Because our campus network can be connected to the Internet only through web page authentication, it is really difficult for me to do this only for those who have no GUI on the command line.
I want to write a script in Python to automatically fill in the form, and then post it. Later I found that Linux has a curl command, and Raspberry Pi has been installed by default (My ubuntu10.04 does not exist ). Now,
Qt InstallationPC-Side download and installation can be HTTPS://MIRRORS.USTC.EDU.CN/QTPROJECT/OFFICIAL_RELEASES/QTRaspberry Pi: qt Dev kit and OPENCV installationsudo apt-get install Qt4-dev-toolssudo apt-get install Libopencv-devDeveloped on the PC after the test to the Raspberry Pi, modify the Pro link library and header file directoryTEMPLATE = AppCONFIG + = c
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
RPI the compiler installed by default is gcc-4.6.2Now the latest C + + Libsockets library needs to use compilers that support the C++-11 feature, which requires 4.8.2. To do this, you need to upgrade the compiler before you can support compilation.You also need cmake to generate the makefile fileThe steps are as follows:1. Download the source code:2, installation CMakeInstall3, upgrade the compiler to 4.8.2Tutorial Links: http://www.cnblogs.com/sn-dnv-aps/p/4419484.html4. Compiling Libsocket$CD/
Let's see if there are any of the following alternatives, and if not, you need to update the software source:
Install in sequence:
sudo apt-get installqtcreator
sudo apt-get installqt4-default
sudo apt-get install Qt4-designer
sudo apt-get install Qt4-qmlviewer
sudo apt-get install Qt4-qmake
Move the qwt6.1.3 to the Raspberry
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.