Install a lamp environment for Raspberry Pi in the past two days, but there are too many things installed on it, and the default system space is occupied. But the SD card itself is 16 GB. What if I want to extend the Raspberry Pi to a larger space? I can continue to install the software only after the expansion. After
-dev Libtiff-dev Libjasper-dev2. Get the source code to create the OpenCV folder in the Raspberry Pi user directory mkdir OpenCVTo get OpenCV source code from sourceforge website, this article chooses 2.4.9 version. The download process may be slow, please wait patiently. wget http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.9/opencv-2.4.9.zip/download Opencv-2.4.9.zipExtract the source c
unhandled event object from the message queue and enables further processing of the event. The next step is to extend the Pygame_1 program to draw different circles by capturing mouse events, the closer the edge of the window is, the greater the radius of the circle.The program looks like this :The result diagram is beautiful:5. Play SoundTips: Here, the Raspberry Pi screen appears at the top right of a c
Requirement
Without a network, a keyboard, or a monitor, controlling Raspberry Pi becomes a problem. I accidentally saw an article today.ArticleThat is, you can directly control the Raspberry Pi through the serial port. Give a decisive try. The effect is good. Share it with others!Pai_^ Preparation
0 PrefaceThis article describes how to control the Raspberry Pi gpio port through the file IO sysfs. Control gpio through sysfs, first access the/sys/class/gpio directory, write the gpio number to the export file, so that the operation interface of this gpio is exposed from the kernel space to the user space, gpio operation interfaces include ction and value. Direction controls the gpio direction, while val
software Download1. Quick Boot GuideEnglish version. pdfChinese version. doc2.SD Card Format tool, optional.SD Formatter 4.0 for SD/SDHC/SDXC3.NOOBS (ver:1.3.9), optional.Noobs.zipNoobs itself is not the operating system, but the Raspberry Pi is the official recommended startup management software. With noobs, you can install the system without the mirror brush a
to wireless NICs, wireless keyboards, microphones, and audio power supplies.
We can divide robot conversations into three parts: listening, thinking, and speaking.
"Listen" is to record what people say and convert it into text.
"Thinking" means giving different outputs based on different inputs. For example, if the other party says "the current time", you can answer "the current time is Beijing time ".
"Speaking" refers to converting text into speech and playing it out.
These three parts inv
-J8 option downloads 8 packages in parallel.Note:the Roslisp package are excluded in these generators because the dependency sbcl are not available in the Raspbian rep Ositories. Building SBCL from source may be possible and is not tested. So far, only these variants has been tested on the Raspberry Pi in Indigo; However, more is defined in REP 131such as robot, perception, etc. Just Change the package path
write down what people say, and convert it into words.
"Thinking" is to give different outputs based on different inputs. For example, the other person said "now time", you can answer "now is Beijing time xx point xx points."
"To say" is to convert the text into speech and play it out.
These three parts involve a lot of speech recognition, speech synthesis, artificial intelligence and other technologies, these are to spend a lot of time and effort to study, fortunately, some companies have ope
0. PrefaceWhy do you want to use cross-compilation for "1"
The speed at which the cross-compilation tool is developed faster. The Raspberry Pi has already installed the GCC toolchain, which can be compiled directly from the Raspberry Pi source code to generate the executable
0. PrefaceThis blog post may not have much use value. But practice for practice. There are many ways to use SQLite on Raspberry Pi, and there are many ways to install it. "1" assumes that Python is used, so you don't have to install SQLite because Python has its own sqlite."2" can be installed using Apt-get. Only the version of SQLite is slightly lower. "3" can be installed using the source code, directly
= deadline rootwait.
2.2 Modify/etc/inittab and enter the following command on the terminal:
sudo nano /etc/inittabAfter opening, comment out the last line and add a # sign before it. # T0: 23: respawn:/sbin/getty-L ttyAMA0 115200 vt100
3. After modification, you need to install a mini-com on Raspberry Pi. Here, mini-com is a serial debugging tool on the Linux
a more complex input with timing. Here are two points to note: The SetMode is in BCM mode, and the pin used is the same as the BCM number corresponding to the pin graph. You can also set the physical PIN number to use SetMode (GPIO). BOARD). The input/output mode is input when receiving data/status relative to host or Raspberry Pi, output i²c
I²c can be a bus to connect n devices, as long as the device's i
, the monitor can use its own, I have a desktop monitor, bought an HDMI to VGA port line, you need to purchase according to their actual situation.Two: Install the Raspbian system.This is the official website system, the first time you can consider installing this, and then slowly.Install under Windows:1, download Raspbian system, B + board available system can be downloaded here (if the earlier system may not recognize the peripheral), download at the same time, do not empty, here download WinX
1. Preparatory work:
1.1 Development environment System Ubuntu 16 (64-bit)
1.2 Download Source: Https://github.com/raspberrypi
Linux: Raspberry Pi kernel source
Tools: Raspberry Pi cross-compilation tool
Download mode:
(1) Web download
Download zip directly
(2) Command down
/gpio$1/direction
echo setting pi high
echo 1 >/sys/clas S/gpio/gpio$1/value
A few notes"1" If you write a shell script on windows (and then transfer to the Raspberry Pi using the FTP tool), you must save it in UNIX format. The shell script ends with \ n per line, not \ r \ n in Windows. You can use the notepad++ f
, running at 700Mhz, core frequency 250Mhz, Memory frequency 400Mhz, no increase in voltageModest moderate overclocking, running at 800Mhz, core frequency 250Mhz, Memory frequency 400Mhz, no increase in voltageMedium Medium overclocking, running at 900Mhz, core frequency 250Mhz, memory frequency 450Mhz, increased voltage 2High-height overclocking, running at 950Mhz, core frequency 250Mhz, memory frequency 450Mhz, increased voltage 6Turbo Ultimate Overclocking, running at 1000Mhz, core frequency
. "; }}if($data = file_get_contents ($file)) {;//This function supports version (PHP 4 >= 4.3.0, PHP 5)Echo"the content written to the file is: $data";} ?>5. Code parsingThe Python version number used here is 2.7.13Import Timeimport serialReference Python's 2 class library time and the serial Port debug library serial, in order to implement the program debugging can be written, before using the serial serial debugging library, to achieve the Raspberry
What you need to know before installing1. Coolpy is a Nodejs-based IoT platform (official website http://icoolpy.com). Note: The domestic IoT platform has the LEGO network , Yeelink and so on, but only coolpy is open-source. 2. Node. JS is a platform built on the chrome JavaScript runtime to easily build fast, easy-to-scale Web applications Note: Therefore, to run coolpy, you must first install the Nodejs. 3. The new coolpy does not use a database but is stored locally as a file. Note: So a lar
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,
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.