-
Notifications
You must be signed in to change notification settings - Fork 4
Home
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.
The library was already part of my Raspbian build and I did not need to install it. You can check if it is already installed by using the following command line: gpio -v which should print out something like:
pi@raspberrypi:~ $ gpio -v
gpio version: 2.44
Copyright (c) 2012-2017 Gordon Henderson
This is free software with ABSOLUTELY NO WARRANTY.
For details type: gpio -warranty
Raspberry Pi Details:
Type: Pi 3, Revision: 02, Memory: 1024MB, Maker: Embest
* Device tree is enabled.
*--> Raspberry Pi 3 Model B Rev 1.2
* This Raspberry Pi supports user-level GPIO access.
pi@raspberrypi:~ $
The wiringPi GPIO Interface library for the Raspberry Pi is at URL: http://www.wiringpi.com
The web site has a blog with quite a bit of information about using the library and the Raspberry Pi. The library has also been ported to other boards and several different programming languages.
See as well this BCM2835 ARM Peripherals document describing the Broadcom board - http://www.element14.com/community/servlet/JiveServlet/downloadBody/43016-102-1-231518/Broadcom.Datasheet.pdf
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.