Yesterday made the control led, played the first, the rest of the feeling is very simple, here recordJust a couple of photos.Play the honey module only to find the law, generally this module, there will be three pins, VCC (3.3V or 5V power supply output PIN), GNC (for Gpio pin of GNC), out/(I/O) (corresponding to the gpio number of pins), if it is necessary to send information to the
The GPIO pin has two modes board and BCM.1.GPIO output Control LED: Code: (1) Using board mode, GPIO.setmode(GPIO.BOARD) . Pin 35th is GPIO19 under BCM.(2) Set pin 35 to output mode,GPIO.setup(35,GPIO.OUT)(3) on the GPIO35 pin output high level, can also be Gpio.high2.GPIO interface for input signal: Circuit diagram When the switch is off, the GPIO23 is the high point level to obtain the input signa
/17737005
With the above three steps, we can write and develop C language code in Windows, remotely deploy it to Raspberry Pi, compile it using the GCC tool on Raspberry Pi, and then execute it. Before writing the code, let's take a look at Raspberry Pi's GPIO interface, as
The initial start of the Raspberry Pi requires the following steps:Install system image to SD cardConnection Configuration Raspberry PiConfigure Remote Control Raspberry PiThe materials to be prepared are as follows:More than 16G high-speed storage SD card one. (Please note
Reprint: http://shumeipai.nxez.com/2014/05/04/under-windows-serial-connection-control-raspberry-pi.htmlIn the absence of a keyboard mouse monitor, no network devices, even the power and micro USB data cable are not in the case. How to operate the Raspberry Pi, or even install the configuration
Python is used for simple WEB control of Raspberry Pi, and python Raspberry Pi web
First, we will show you the effect. I feel very satisfied. Please continue to read the full text:
Knowledge used: Python Bottle HTML Javascript JQuery Bootstrap AJAX, of course, linux
I'm goi
Raspberry PI Series--bare metal illuminated LED lightsBackgroundRecently just bought Raspberry PI B +, configured to run the official Raspbian system, tossing a week Linux system, feel no meaning, so try to understand the bottom of the start process, through a few days of re
1. Visit the website: http://www.airspayce.com/mikem/bcm2835/, the website provides a library file for the Raspberry Pi: Click to download click to download. Follow the prompts to install.2. In the example folder in bcm2835-1.4.2, which is the history file, open the Bink folder, and use Gcc-o blink blink-l bcm2835 to generate blink execution files.3. In the Blink.c file, prompt to
Simple implementation of Raspberry Pi WEB control, Raspberry Pi web
Final Effect
#! /Usr/bin/env python3from bottle import get, post, run, request, template @ get ("/") def index (): return template ("index ") @ post ("/cmd") def cmd (): print ("press the button:" + request
Original: HTTP://SHUMEIPAI.NXEZ.COM/2014/09/30/RASPBERRY-PI-LED-STATUS-DETAIL.HTML?VARIANT=ZH-CNLED Light Status
LED
Color
function
Normal State
ACT
Green
Card status
Flashing: The SD card is active (similar to a computer's hard drive light)
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.gpio as GPIO3 Import Time4 5 Gpio.setmode (GPIO). BCM)6 gpio.setwarnings (False)7Gpio.set
hardware involved : Raspberry Pi and related kits, LED traffic lightsknowledge : Circuit Test Board, CanakitWhen you're ready, we can start. Use Raspberry Pi for LED prototype control.The first thing to understand is that access t
the power LED light on the small pie.Testing and ConfigurationIf you're using a Mac, all you have to do is open a terminal window and type the following command:Screen/dev/cu. pl2303-00001004 115200Screen/dev/cu. pl2303-00001004 115200The name of the device may be slightly different from mine. So when you type into "cu.pl", press the TAB key and it automatically complements your device name, and then type 115200 (this is the baud rate).If you are usi
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 m
Recent information when found remote control boat is also very fun, and the community just have water, see others play also quite fun, and four axes, technical difficulty and cost are relatively low, so decided to do a remote control ship.Initial implementation of the following functions1. Dual remote control based on Wfly 6 A and Android phone2. Android phone re
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
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
This article by the Raspberry Pi Fan itjoker editor, reprint please indicate the source. I also have Sina blog is also Raspberry Pi fan itjoker may name less it ...Required Materials: Raspberry Pi 2B or more than 2B, l2985n Drive
Linux+raspberry Pi+python* * For students to do a smart home tutorial:Using Raspberry Pi As a server, we have access to the server method, control the Raspberry Pi I/O port high and low
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.