Sometimes it is not convenient to directly operate Raspberry Pi. You may want to use other computers to remotely control Raspberry Pi.
VNC is a graphical interface shared by the system. It allows you to remotely control the desktop interfaces of another computer. It sends keyboard and mouse events from the computer and
Design and Development of Micro-meteorological stations based on Raspberry Pi (Windows 10 IoT Core) and iotcore
Preface
Raspberry Pi (RPi) is designed specifically for Students' Computer Programming education. Only credit card-sized card-type computers can run Linux or Windo
software package is ready and can be released;
Iii. Cross-compiling source code
1. Environment
Ubuntu
2. Install Raspberry Pi cross compiling tool
Step1. download Raspberry Pi cross compiler tool https://github.com/raspberrypi/tools
Step 2: place the source code in a folder that users can share, such as/usr/tools.
Ste
Use the command line to set Raspberry Pi's Wi-Fi network
If you have not logged on to the Common graphic user interface, This method is suitable for setting Raspberry Pi's wifi. Especially when you do not have a screen or wired network, you only use the serial control line. In addition, this method does not require additional software, and everything is included in Rasp
[Raspberry Pi] USB wireless network card automatically connected
When the Raspberry Pi uses a USB wireless network card, it will not be dropped because the route is restarted.
#! /Bin/bashWhile true; doIf ifconfig wlan0 | grep-q "inet addr:"; thenSleep 60ElseEcho "Network connection down! Attempting reconnection ."Ifup
The first blog gave me a long course design, that is, the topic "3G wireless router. The development platform used in this development project is the Raspberry Pi Development Board. The following is the question .....
Objective: To set Raspberry Pi as a 3G wireless router and access the Internet through Huawei's e261.
Raspberry Pi can do a lot of interesting things, it is equivalent to a small computer, installed on the system can be used as a small server home.
With this small server, you can implement an "offline" Download machine. But offline download here is not really offline, because the Raspberry Pi is still online-since the
installed, ~/.BASHRC must only source the Setup.bash for the version of you is currently using.If you just want to change the environment of your current shell, you can type:$ source/opt/ros/indigo/setup.bashIf you use zsh instead of bash your need to run the following commands to set up your shell:$ echo "Source/opt/ros/indigo/setup.zsh" >> ~/.ZSHRC$ source ~/.ZSHRC4. Maintaining a Source Checkout4.1 Updating the WorkspaceSee the Ubuntu source insta
-pi/i2c-python-library-3-axis-mems-gyro-itg-3205-with-the-raspberry-pi/
Create the 'i2c _ itg3205.py' script. Pay attention to the location of the script. Make sure that you can reference the downloaded 'i2clibraries' package or add the downloaded Python package to the Reference Path.
From i2clibraries import i2c_itg3205From time import *
Itg3205 = i2c_itg3205.i2
backup to prevent a hard disk from being damaged.Prepare Hard Disk
The initial step is to format the hard disk on the desktop. This is for convenience. If something goes wrong, we can remove the hard disk from the NAS and read the data on a PC.
It can be formatted on Raspberry Pi, but it will take several hours to format it much faster from the desktop. Do it now.
Set SSH to enable the root user. First, se
= 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 platform, which is equivalent to a serial deb
.
source. BASHRC
"4" Simple test
In order to test whether the cross tool chain is installed successfully, you can enter the output in the ARM-BCM2708-LINUX-GNUEABI-GCC-V console in the console to verify that the cross-tool chain is installed and that the environment variable is set correctly.
Figure 1 ARM-LINUX-GNUEABIHF-GCC version information
2. A simple exampleWrite a test file, complete the compilation on the PC and upload it to the Raspberry
tts_main(filename, words):
token = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
text = urllib.parse.quote(words)
uuid = "xxxx"
resp = baidu_tts_by_post(text, uuid, token)
f = open("test.mp3", "wb")
f.write(resp)
f.close()
After obtaining the audio file, you can use the mpg123 player to play the video.
Mpg123 test.pdf
Integration
Finally, combine the three parts.
You can first integrate python-related code into main. py, as shown below:
import asr
import tts
import robot
(path, O_RDONLY); if (fd
6. gpio flip operation[Main function]
int main(int argc, char *argv[]){ int i = 0; GPIOExport(POUT); GPIODirection(POUT, OUT); for (i = 0; i [Makefile] -- the code tab here may display problems. Use the code repository as the main component.
# Executable File target = test # dependency target SRCS = gpio-sysfs.c # target file objs =$ (SRCS :. C =. o) # command compiler and options cc = gcccflags =-wall-STD = gnu99 $ (target): $ (objs) $ (CC)-O [e
One: Perform an upgrade on the Raspberry Pi:
1 : Updating the software source
$ sudo apt-get update
2 : Replace the old package
$ sudo apt-getupgrade
3 : Perform a Raspberry Pi firmware upgrade:
1, Raspberry Pi firmware: Can be
In this article you can learn: Berryboot use, Kali installation, open-hung mobaxterm, and tips on mounting via label and UUID. This article defaults to the Linux Foundation you have, and also for the level of just getting started, because this is my toss record. Do not know can leave a message or email. The first thing to be clear is that now is not completely out of the SD card method, because PI is the default from the SD card boot. Just realized pu
= Urllib.parse.quote (words)
UUID = "xxxx"
RESP = baidu_tts_by_post (text, uuid, token)
f = open ("Test.mp3", "WB")
F.write (RESP)
F.close ()
After you get the audio file, you can play it using the mpg123 player.
mpg123 Test.mp3
Integration
Finally, put together these three parts.
You can first integrate Python-related code into main.py, as follows:
Import ASR
Import TTS
Import Robot
Words = Asr.asr_main ("Test.wav")
New_word
./user-install-rpi.sh"6" ResultsIn the Opt/sqlite-rpi folder, there are 4 subfolders, including the SQLite executable file in "Bin", the interface API for SQLite in "include", including the dynamic in the Sqlite3.h and Sqlite3ext.h "Lib" folders. Shared library libsqlite3.so.0.8.6 and static shared libraries libsqlite3.a2. Copy to Raspberry PiThe detailed location of these files in the Raspberry
Original Address: Portal. NET Core on Raspberry PiArm32 builds is available as community supported builds for. NET Core 2.0. There is no SDK this runs on ARM32 if you can publish an application that would run on a Raspberry Pi.These steps has been tested on a RPI 2 and RPI 3 with Linux and Windows.Note:pi Zero supported because the. NET Core JIT depends on ARMV7
Adafruit Raspberry Pi Tutorial Lesson five: Using the control cableTime 2014-05-09 01:11:20 geek Fan Original http://www.geekfan.net/9095/ Theme Raspberry Pi MacOS Linux This article is translated from adafruit.com by Geek fan-boyd Wang. Welcome to the Geek Translation team and join us in translating and sharing. Plea
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.