Skip to content

JohnsonJian/raspberry-pi

 
 

Repository files navigation

Raspberry Pi related code

My video courses corresponding to 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 50.2%
  • C++ 30.1%
  • Emacs Lisp 9.4%
  • JavaScript 7.9%
  • Shell 1.5%
  • CSS 0.6%
  • Other 0.3%