Implement your own RPi. GPIO (1)-Python C Extension, rpi. gpio-python
Raspberry Pi has a Python module of RPi. GPIO. After import, you can directly use Python to operate the GPIO hardwa
branch:
git clone git://github.com/raspberrypi/firmware.git
And for the next branch:
git fetch git://github.com/raspberrypi/firmware.git next:refs/remotes/origin/next
Or you can download a tarball from the website using these links: master nextTransfer the firmware
Firstly, update the required boot files in the RPiBootDirectory with those you 've downloaded. These are:
Bootcode. bin
Fixup. dat
Start. elf
Next, you need to copy the VC libraries over. There are two copies of this: one for ha
Preface
Raspberry Pi (Raspberry pi,rpi) is designed for students ' computer programming education, only card-sized card computers that can run Linux or Windows IoT core operating systems. This article uses the Raspberry Pi and UWP (Universal Windows Platform) development technology to build a weather station system that can be monitored in real time.
Hardware and technology involved
Hardware section:
Raspberry Pi 2 or 31 blocks, 8G or more m
Transferred from: http://blog.csdn.net/mirkerson/article/details/8464290An overviewThe Gpio in the Linux kernel is the simplest, most common resource (and interrupt, Dma,timer) driver, the application is able to use the corresponding interface using Gpio,gpio to use the integer ID between 0~max_int, can not use negative numbers,
Through the Sysfs control Gpio, first access to the/sys/class/gpio directory, the export file to write the Gpio number, so that the Gpio operation interface from the kernel space exposed to the user space, Gpio operating interface including direction and value, etc. The dire
/************************************************************************* * Android telnet RPi 2 B * Description: * This document records the RPI 2B how to use the installation Telnet service, Android How to access the RPI 2B system via busybox telnet *, RPI 2B system default without Telnet service, so you need to ssh
start of the Your program. If it returns -1 then the initialisation of the GPIO have failed, and you should consult the global errno To see why.The differences between the setup functions is as follows:
Wiringpisetup (void);
This initialises the WIRINGPI system and assumes, the calling program are going to be using the WIRINGPI pin n Umbering scheme. This was a simplified numbering scheme which provides a mapping from virtual PIN number
/* ************************************************************************ * windows ping RPi 2B * declaration: * This document mainly records how to set up the RPI 2B static IP and ping the RPI 2 B through windows. * 2016-2-15 Shenzhen Nanshan Ping Shan Village Zengjianfeng **************************
/************************************************************************* * RPi 2B automatically send get IP to a fixed mailbox * declaration: * This article mainly records the RPI 2B how to automatically send IP to the mailbox in the form of mail. * 2016-2-21 Shenzhen Nanshan Ping Shan village Zengjianfeng ************************************************************ ************/First, reference documents
/* *************************************************************************** * RPi 2B SD read-only Filesytem * Description: * Sometimes I often want to toss the Raspberry Pi file system, such as with the Ubuntu-core, busybox file * system, often encounter the SD card is in the read-only file system situation. * * 2016-3-17 shenzhen Nanshan Ping Shan village Zengjianfeng ********************
by Sysfs control Gpio, first access the/sys/class/gpio directory, write the GPIO number to the export file, so that the Gpio operation interface from the kernel space exposed to the user space, The GPIO's operating interface includes direction and value, and direction controls the
/* ************************************************************************ * windows SSH RPi 2B * declaration: * This article mainly records how to access RPI 2 B using SSH. * 2016-2-15 Shenzhen Nanshan Ping Shan Village Zengjianfeng ************************************************************************ * I. Reference article: Raspberry pi
/************************************************************************* * Windows Remote Desktop Connection RPi 2 B * Disclaimer: * This article mainly records how to remote RPI 2B under Windows, through SSH to install XRDP, set up USB * Wireless network card and so on. * 2016-2-15 Shenzhen Nanshan Ping Shan village Zengjianfeng ************************************************************ ************/Fi
/**************************************************************************** * RPi 2B IPC webcam ser Ver * Description: * Recently may need to use the webcam, just the hand has the RPI 2B, also has a camera, so understand the IPC * working principle, find some information to do some of the Raspberry Pi test, reference article has reference operation video. * 2016-9-12 Shenzhen Nanshan Ping Shan village Zen
Raspberry Pi advanced GPIO library, wiringpi2 for python Use note (3) GPIO operations, gpiowiringpi2
The core function of the GPIO library is to operate GPIO. GPIO is the "general input/output" interface, such as lighting up an LED or relay, or using iic spi 1-wire and other
I. Overview
Through the SYSFS mode control GPIO, first access to the/sys/class/gpio directory, write GPIO number to the export file, so that the GPIO operating interface from the kernel space exposure to user space, GPIO operating interface, including direction and value And
Http://elinux.org/RPI-Wireless-HotspotWhat does it does?This project configures your Raspberry Pi to connect to the Internet through Ethernet, and share it connection over WiFi .What does you need?
A Raspberry Pi, model B.
A boot SD card for the Raspberry Pi.
A USB WiFi device that supports the "Access point" mode.
An Ethernet cable to connect to the local network.
Please make sure your Wifi dongle supports Access point or Ma
Gpio Library core function, of course, is the operation of Gpio, Gpio is the "general input/Output" interface, such as lighting a LED, relays, or through the IIC SPI 1-wire and other protocols, read, write data, this is the use of Gpio, can say no gpio, Raspberry Pi can only
executable files, while easyarm im287 cannot. Easyarm im287 uses the busybox instruction set, which is also different from the Debian Instruction Set in Raspberry Pi.
[Related blog] [easyarm I. mx28 learning notes-file IO operations gpio] [Raspberry Pi learning notes-shell script operations gpio] [Raspberry Pi learning notes-Cross-compilation tool chain] [Linux learning notes-Example: makefile index blog]
This guide would show you how to login to a Debian image and start LXDE by simply powering the Pi on.Method 1:auto Login:In Terminal:sudo nano/etc/inittabScroll down to:1:2345:respawn:/sbin/getty 115200 tty1and change to#1:2345:respawn:/sbin/getty 115200 tty1Under that line add:1:2345:respawn:/bin/login-f pi tty1 Ctrl+x to exit, Y to save followed by enter twiceMethod 2:auto StartX (Run LXDE)In Terminal:sudo nano/etc/rc.localScroll to the bottom and add the following above exit 0:Su-l pi-c Start
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.