Skip to content
Raspberry Pi related code
Branch: master
Clone or download
Latest commit 286bbfe Dec 15, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ai
auto-report-ip-via-email
emacs-config
fritzing-parts
gpio
real-time-clock
rpi-remote-monitoring-system
webcam
README.md

README.md

Raspberry Pi related code

My video courses corresponding to part of these codes on jikexueyuan.com: link

在极客学院网站上,有我录制的和这些代码(部分)相关的视频课程: 链接

Environment: Raspberry Pi model B+/B

  • For each subproject, if there is no explicit declaration about the applicable RPi model, then it's Model B+.

OS: Arch Linux ARM


Description of each subproject:

auto-report-ip-via-email

Script & config files to let Raspberry Pi report its IP address to an specified Email address at system startup.

emacs-config

Emacs config files on my Raspberry Pi.

gpio

GPIO related applications on Raspberry Pi.

gpio/lcd

Display some messages on a LCD1602 screen, including the examples of using/not using an PCF8574 I2C module.

gpio/led/blink

Blink the LED connected to the GPIO port on Raspberry Pi by using the WiringPi library.

gpio/led/input-control

Control a LED through a button(pressed or not).

gpio/led/pwm

Control the brightness of a LED through PWM.

gpio/piezo-element

Play music through a piezo element.

gpio/sense-light

Control some LEDs through an pyroelectric module.

gpio/stepper-motor

Control a stepper motor through the GPIO ports on Raspberry Pi.

gpio/timer-sense-light

A time-controllable human sense light based on Raspberry Pi.

Click to watch Youtube video demo

Please refer to the README of this subproject for details.

real-time-clock

Slight modification to the ds1302.c shipped with WiringPi to work better with the DS1302 Real-Time Clock module.

rpi-remote-monitoring-system

A remote monitoring system based on Raspberry Pi

Please refer to the README of this subproject for details.

webcam

USB camera related applications on Raspberry Pi.

webcam/motion-detection

Demonstrate how to detect motion in front of an USB camera using OpenCV.

webcam/image-capture/opencv

Demonstrate how to capture an image from USB camera on Raspberry Pi using OpenCV.

webcam/image-capture/v4l2

Demonstrate how to capture an image from USB camera on Raspberry Pi using V4L2, the code of this subproject is forked from https://github.com/twam/v4l2grab/tree/master & I add a shell script to invoke the program.

webcam/video-capture

Demonstrate how to capture video from USB camera on Raspberry Pi & save to a file using OpenCV.

webcam/face-recognition

Demonstrate how to implement a face-recognition application on Raspberry Pi.

You can’t perform that action at this time.