"select * from Temps;" In the console and return the results as follows. rpi.cpu|2014-08-03 10:40:40|48.7rpi.cpu|2014-08-03 10:41:41|48.7rpi.cpu|2014-08-03 10:42:41|49.2RPi.CPU| 2014-08-03 10:43:41|48.7rpi.cpu|2014-08-03 10:44:41|48.7rpi.cpu|2014-08-03 10:45:41|49.23 boot background run"Startup script"--auto-start.shCreate a new auto-start.sh script in this directory, as follows #!/bin/bashcd/home/pi/python-works/cpu-temp python db-insert-temp.py "Si
Raspberry Pi to teach you to install the USB wireless card on the Raspberry Pi support WiFiRaspberry Pi Although already has the wired network card, but did not configure the wireless network card, the mobility is not strong enough, fortunately, the machine is equipped with
Environment: Raspberry Pi, System Raspbian, System comes with two versions of Python and Pygame.1. ArtboardsThe procedure is as follows:1! /home/pi/game_1.py2 ImportPygame3 4width = 6405Height = 4806RADIUS = 1007Fill = 18 9Pygame.init ()#Initialize PygameTen Onewindow =Pygame.display.set_mode ((window, height)) AWindow.fill (Pygame. Color (255, 255, 255))#fill t
original value is 69.
# Connection! [Rasp] (http://images.cnblogs.com/cnblogs_com/hangxin1940/466697/o_rasp_gpio.png "rasp ")
This figure specifies the position of 5 V output and 3 V output in the Two-row gpio real script to specify the direction
! [Rasp] (http://images.cnblogs.com/cnblogs_com/hangxin1940/466697/o_rasp_GPIOs_gy85.png "rasp ")
This figure details the connection between the GY-85's true foot and Raspberry
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
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. Dir
Tags: Raspberry Pi CPU Temperature0 PrefaceThis article through the Python SQLite query Raspberry Pi CPU temperature history data, in the previous blog post has introduced the Raspberry Pi CPU temperature acquisition, SQLite opera
To telnet to the Raspberry Pi GUI via vnc, the Raspberry Pi must have a VNC Server service installed on one side, and a few simple configurations are required to make the operation more convenient, as detailed steps below.1. Installing the VNC server component--tightvncserversudo Install Tightvncserver2. Set up a VNC p
Use Raspberry Pi to implement chatbots. Raspberry Pi is used to implement a conversation robot. recently, Raspberry Pi is used to implement a robot that can communicate with people. RaspberryPi is the world's most popular micro-co
Raspberry PI 3 to create a music player
1. Software Environment
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install mplayer2//music playback software
sudo apt-get install Alsamixergui//volume control
2. Prepare the song
Find a song. MP3 Songs
Here is a: wget Http://blog.lxx1.com/wp-content/uploads/2016/07/shero.mp3
3, set the Raspberry
Windows Ten for Raspberry Pi 2Raspberry Pi 2 generation on Windows 10We ' re excited to announce that we're expanding our Windows Developer program for IoT by delivering a version of Windows 1 0 that supports Raspberry Pi 2. This
similar to this articleThe article does not write much, in order to avoid later people wandering around and neglected to write the time of the article, these special Plus is June 28, 2014, the province is not on the software version (some of the "latest"and that's the time to say it.). If the forwarding time can add my old gu link is better:)or in 2008-2010 years, compared to the powder Emacs, and then spent a lot of time on the above, programming efficiency is indeed high, but it took a lot of
Implementing a dialogue robot with Raspberry Pi
Recently, we have implemented a robot that can talk to people with Raspberry Pi, a brief introduction.
Raspberry Pi is the world's most popular micro-computer motherboard, is the le
website has been suspended, but other images can be used.
sudo wget "http://downloads.sourceforge.net/project/vim-n4n0/sakis3g.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fvim-n4n0%2Ffiles%2Fts=1363537696use_mirror=tene~t" -O sakis3g.tar.gzsudo tar -xzvf sakis36.tar.gzsudo chmod +x sakis3g
3. dial-up Internet access
sudo ./sakis3g --interactive "connect"
Enter the interaction interface as follows:
(If an error occurs during dialing, restart Ras
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
/Raspbian does not release the corresponding deb.If Raspberry Pi uses Arch Linux ARM, there is already a pkg of OpenVPN 2.3;If you select Raspbian (Debian), you may need to compile OpenVPN from the source. You have not tried it yourself.
The following example uses Raspbian (my environment does not have IPv6 at the moment). I believe that Arch users must be under no pressure.Arch problems: If hostapd is up,
address. .......:fe80::c011:2b50:411b:56b7%38 (preferred) IPv4 address ............: 20.20.20.8 (preferred) subnet mask ........... .:255.255.255.0 time to obtain lease .........:2017 May 14 19:46:52 Lease expires in .........:2017 May 15 7:46:52 default gateway. ............ :20.20.20.1DHCP server ......... ..:20.20.20.1dhcpv6iaid....... ....:810821406DHCPv6 client duid.... ...:00-01-00-01-1C-58-D9-FD-44-8A-5B-ED-33-CFDNS server .. .........:20.20.20.1TCPIP on the NetBIOS.......: enabledTry
The dynamic IP address of the Raspberry Pi was not read before Windows7, so moved to Ubuntu,The Raspberry Pi is plugged in, a network cable connects both ends (PC, Raspberry Pi)Ctrl +alt+t Open TerminalSu and switch to root userIn
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.