Skip to content

wangwendong1024/raspberry-pi

 
 

Repository files navigation

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:

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

Emacs config files on my Raspberry Pi.

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.

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.

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

A remote monitoring system based on Raspberry Pi

Please refer to the README of this subproject for details.

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 49.0%
  • C++ 30.2%
  • Emacs Lisp 9.3%
  • JavaScript 7.8%
  • Shell 1.6%
  • Python 1.2%
  • Other 0.9%