Home - RichardChambers/raspberrypi GitHub Wiki

A Raspberry Pi Project using the Osoyoo Raspberry Pi Starter Kit

This repository is the home for a set of learning projects using the Osoyoo Raspberry Pi Starter Kit. The Osoyoo web site has lesson plans for the kit which are in English and appear to have both C language and Python language examples that work with the kit components. However the example source code is a bit lean on comments and information so I am putting together this repository for two purposes.

The first purpose is to have a copy of my work which I can share with others. The second purpose is to have a backup copy of my work when the inevitable microSD card goes bad event happens.

I am primarily using Raspbian for these projects. Any projects with Windows 10 IoT and UWP applications will be clearly marked.

The C language programs use the wiringPi library. The project source code is in the C or C++ programming language and uses the wiringPi library in order to interface with the Raspberry Pi GPIO board.

My Setup

I have a Raspberry Pi 3 Model B kit I bought from newegg.com sold by Makerbright. The kit is composed of:

  • Raspberry Pi 3 Model B
  • 5v 2.5a power supply that plugs into the wall with a micro-USB connector
  • 16 GB microSD card with NOOBS installed on it
  • HDMI cable
  • clear plastic case

I then purchased an ASUS 23" monitor with HDMI connector for a display and a Perixx PERIPAD-501 touchpad from newegg.com. I already had a USB keyboard lying around.

I purchased an Osoyoo Raspberry Pi Starter Kit from Amazon which has the necessary breadboard with 40 pin cable and the T connector along with several sensors, a servo motor, a few LEDs, and a package of resistors.

The manufacturer's web site is at URL http://osoyoo.com/2017/07/13/raspberry-pi-3-starter-learning-kit-introduction/ which has a parts list as well as a number of lessons using the parts.

Using the Orange Pi 5 Plus

The Orange Pi 5 Plus is the latest version of the Orange Pi 5 which is part of the Orange Pi product line that resembles the Raspberry Pi product line.

See Orange Pi 5 Plus Wiki.

The Orange Pi 5 Plus Downloads contains links to the various operating system images available for the SBC.

Finally there is a version of the wiringPi library for the Orange Pi 5 Plus at https://github.com/orangepi-xunlong/wiringOP however see the instructions in Section 3.17 How to install wiringOP which has this to say:

Download the code of wiringOP

 orangepi@orangepi:~$ sudo apt update
 orangepi@orangepi:~$ sudo apt install -y git
 orangepi@orangepi:~$ git clone https://github.com/orangepi-xunlong/wiringOP.git -b next

Note that Orange Pi 5 Plus needs to download the code of the wiringOP next branch, please don't miss the -b next parameter.

If you have problems downloading the code from GitHub, you can directly use the wiringOP source code that comes with the Linux image, and the storage location is: /usr/src/wiringOP