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 research, It is found that the boot of the lowe
to fix RPLIDAR to the plate.
Use pieces of Velcro tape-to-fix it on Roomba top.
Step 3:build a usb-serial Cable (Optional) usb-serial CableIf you don't have the usb-serial cable for Roomba, you can build it easily with the this product.
ftdi:ttl-232r-5v
Akiduki denshi:ttl-232r-5v
Notice that the Roomba's inerface is TTL (5V).ConnectorYou need a mini-DIN 8 pin connector for the Roomba ' s serial interface. Actually Roomba ' s connector is mini-DIN 7 pin, however, it's
() 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
(); Show An error if there is no Gpio controller if (GPIO = = null) { pin = null; Gpiostatus.text = "There is no GPIO controller on this device."; return; } Pin = Gpio. Openpin (Led_pin); Show an error if the pin wasn ' t initialized properly if (pin = = null) { Gpio
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 level, I/O port on the relay (to achieve low
follow this lesson, you need the following devices or software: Hardware section Raspberry Pi Adafruit Control Cable The logic level of this cable is 3.3V so it is safe, but not all kinds of cables are 3.3v! Only use the Adafruit control cable in this tutorial to avoid damaging the gpio pins on the small faction. Software Installation (MAC) OSX has its own ter
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 Ra
://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
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
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
problem, the following task is simple. For pythoner, the things mentioned below are not called things!Pai_^
Below is a simple list:
A song is captured from sogou MP3. You only need to enter the name of the song and search automatically. Then, the URL of the song is returned.
The Web management interface is implemented using web. py to display the list of songs and songs being played in real time.
The database uses sqlite3 to save the song information entered by the user for late
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
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.
Installing ROS Indigo on the Raspberry PiDescription:this instruction covers the installation of ROS Indigo on the original Raspberry Pi with Raspbian.Keywords:raspberry Pi, Setup, IndigoContents1 IntroductionThis tutorial explains how to install ROS Indigo from source on th
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
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
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
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
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
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.