melvin7 / raspberry-pi

Raspberry Pi related code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Raspberry Pi related code


Languages

Language:C 49.0%Language:C++ 30.2%Language:Emacs Lisp 9.3%Language:JavaScript 7.8%Language:Shell 1.6%Language:Python 1.2%Language:CSS 0.6%Language:Makefile 0.2%Language:HTML 0.1%