raspberry pi gpio projects

Discover raspberry pi gpio projects, include the articles, news, trends, analysis and practical advice about raspberry pi gpio projects on alibabacloud.com

Design and Development of Micro-meteorological stations based on Raspberry Pi (Windows 10 IoT Core) and iotcore

://www.cnblogs.com/yanxiaodi/p/4941312.html Below are the Database classes in the system: public class DataBase : SQLiteConnection { public static string path = Path.Combine(ApplicationData.Current.LocalFolder.Path, "atmo.db"); public DataBase() : base(new SQLitePlatformWinRT(), path) { CreateTable INotifyPropertyChanged interface implementation public class ViewModelBase : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyC

Raspberry Pi-web Control Appliance

For students to do a smart home tutorial: The use of Raspberry Pi as a server, we through the method of accessing the server, control the high and low level of the I/O port of the Raspberry Pi, I/O port connected on the relay (to achieve low voltage control high voltage), relay you can be arbitrarily connected to the h

Raspberry Pi uses the python quick2wire library to develop I2C applications

How to enable I2C device http://www.cnblogs.com/hangxin1940/archive/2013/04/02/2997077.html and build a python I2C Development Environment http://www.cnblogs.com/hangxin1940/archive/2013/04/03/2997094.html Quick2wire is a python library used for I2C communication on Raspberry Pi. It allows non-root users to read and write gpio pins conveniently. Why use it? Some

Monitor Raspberry Pi CPU temperature changes through the Yeelink platform

Temperaturedefget_cpu_temp (): Cpu_temp_file= Open ("/sys/class/thermal/thermal_zone0/temp") Cpu_temp=Cpu_temp_file.read () cpu_temp_file.close ( )returnFloat (cpu_temp)/1000defMain (): whileTrue:strftime=time.strftime ("%y-%m-%dt%h:%m:%s") Print "Time :", StrftimePrint "cpu_temp:", Get_cpu_temp ()#Sleep 60 secondsTime.sleep (60)if __name__=='__main__': Main ()2nd step: Become the Yeelink platform developer and complete the configuration of the Raspb

Setting up a remote door system for Raspberry Pi mobile phone

TargetPress the button in the mobile app to open the bedroom door.Basic principleRaspberry Pi as a control device: It runs a Linux system, so it is powerful and provides a GPIO interface, so it is easy to control the physical door mechanism.Yeelink Platform as a cloud provider: it is very difficult to build your own Web server, Yeelink provides free internet of things cloud services, and open APIs that can

Introduction to the PWM pulse width modulation function of Raspberry Pi

Recently want to use Raspberry Pi control model of the ESC, so studied the next PWM, seemingly control the ESC is troublesome, because the ESC needs to send a few specific signals to start, and then to enter the control mode, today first understand PWM, slowly toss. The following program pro-test is available, I use the Raspberry

Introduction to common functions of Raspberry Pi wiringpi

Tags: Raspberry Pi wiringpi Zookeeper 1. Void pinmode (INT pin, int mode ); This function sets the Input and Output Modes of the pin and the input and output modes of PWM. InWiringpi onlyPin 1 (bcm_gpio 18) supports PWM output. 2. Void digitalwrite (INT pin, int value ); This function is used to set the level of the pin. When we write high or low (1 or 0), the mode of the pin must be the output mode.

No mouse, no keyboard, no monitor, no network, only control the Raspberry Pi via serial connection

Prepare Raspberry Pi Development Board ( Click here to purchase ) (has been brushed into the official Raspbian system ) USB to Serial board ( click here to buy ) DuPont Line (4 root) Connection 串口板 树莓派--------------------VCC +5V(非必须)RX TXD(GPIO15)TX RXD(GPIO14)GND Ground     Raspberry

Raspberry Pi Ultrasonic ranging + buzzer (C language)

We have explained in detail the Raspberry Pi control ultrasonic module ranging (http://www.cnblogs.com/yuemo/p/8888342.html) and ultrasonic control buzzer module audible (http://www.cnblogs.com/ yuemo/p/8906111.html).Today we'll see how to apply all two modules and make an anti-theft device.First look at the connection of each pin (requires seven mother-to-female DuPont line):Ultrasonic module:1.VCC: Connec

Raspberry Pi-01-Initial Startup

Pi. Http://sourceforge.net/projects/win32diskimager/ After the image is complete, you can insert it to the PI to start. Connect to the power supply, display start, crash, actually need a keyboard. Otherwise, initialization fails. Fortunately, you can use SSH to connect to the previous stage and quickly open the direct router to view the newly allocated DHCP user

Raspberry Pi Learning notes-source code mode installation OpenCV

-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/

Color control for RGB LEDs with Raspberry Pi--c language version number

Color control for RGB LEDs with Raspberry Pi RGBColor Modeis a color standard for industry. is through theRed (R),Green (G),Blue (B)Three ColorsChanneland they overlap each other to get a variety of colors, RGB is the representativeRed,Green,Bluethree channels of color. This standard almost contains all the colors that human vision can perceive, and is now the most widely usedColor System one of them. Th

Raspberry Pi Connection DHT11 temperature and humidity sensor (python)

Introduced The DHT11 is a cheap accessory that includes temperature and humidity sensors, and the code is easy to use. This article describes if you use DHT11 in a Raspberry Pi, the code is python. If you have any questions, please leave a comment below. Wiring VCC Connection 5V or 3.3V Data is connected to the Gpio (I'm picking up the B

Geek DIY: Uses Raspberry Pi to create a four-axis drone

Geek DIY: Uses Raspberry Pi to create a four-axis drone If you want to DIY a drone of your own, you can read this article and it may be helpful to you. The main parts used in this project are mainly from Erle Robotics (an open-source four-axis aircraft project using Linux ). The author of this article does not work for this company. If you are interested in this scenario, you can also focus on basic

RGB LED color control with Raspberry Pi--python version

please refer to the other blog post for the circuit connection method: "Color control for RGB LEDs with Raspberry Pi--c language version"Python code:#!/usr/bin/env python#********************************************************* #File Name:rgb.py#author:jason Dai #Date: 2015/02/04#*********************************************************import Rpi.gpio as GPIOimport timecolors = [0xFF0000, 0x00FF00, 0x0000

[Raspberry Pi +. net mf to create a video surveillance Smart Car] control (. net mf)

)(System.Math.Abs(e.y - ( i = ; i Definition of steering gear parameters: PWM [] steering_pwm = PWM [UInt32 [] periods = UInt32 [] {,}; Cpu. PWMChannel [] steering_chanels = (I =; I Ps2_Click (e. key = PS2.Key. LRocker)]. duration = (UInt32) (durations [] + (-e. x) *]. duration = (UInt32) (durations [] + (-e. y) * (e. key = PS2.Key. r2) + =; (value>) value =]. duration = (UInt32) (durations [] + (value-) * (e. key = PS2.Key. r1)-=; (value Http://v.youku.com/v_show/id_XNjY2MTE1NjQ0.html

Raspberry Pi uses sn74hc595 to control the digital tube

the digital tube. The correspondence depends on the order in which you send the data when you wire and write the code. DS is a serial input pin, so-called serial is to make the data on a signal line in order to transmit one by one, like a string of candied fruit. This pin we received from the Raspberry Pi at any one of the Gpio ports (output mode). The

Raspberry Pi--Operation LED

The simplest of a Raspberry Pi Gpio operation Getting started, here is a record of the followingFirst on the connection diagram:Horizontal slots. Figure Akzent The BigUsing the Gpio gnd and #18 pins, this is not, the red wire is 18 pins, the dark line is the GND pin, the following Python code:1 #Coding:utf-82 ImportGpi

Raspberry Pi Getting Started Tutorial--using QT to develop interface program

project, the entire framework of the program has been set up, we directly compile the program to tryCompile no problem, below we expand the left side of the forms file directory, double-click the Mainwindow.ui file, and then we add two buttons on this interface, two buttons respectively control the Raspberry Pi one pin output high and low level, as shown in:Modify the name of the button control on the righ

Raspberry Pi button interrupt realizes camera photo

() Camera.close () Gpio.output (G PIO. Low) def setup (): Gpio.setmode (GPIO). BOARD) # Numbers GPIOs by physical location Gpio.setup (Gpin, GPIO. # Set Green Led Pin mode to Output Gpio.setup (Rpin, GPIO). # Set Red Led Pin mode to Output Gpio.setup (GPIO). Out) Gpio.setup (Btnpin,

Total Pages: 6 1 2 3 4 5 6 Go to: Go

Contact Us

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: [email protected] and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.