All Projects → leon-anavi → Rpi Examples

leon-anavi / Rpi Examples

Licence: mit
Raspberry Pi examples

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Rpi Examples

Enclosure Picroft
Mycroft interface for Raspberry Pi environment
Stars: ✭ 649 (+506.54%)
Mutual labels:  hacktoberfest, raspberry-pi, rpi
Diozero
Java Device I/O library that is portable across Single Board Computers. Tested with Raspberry Pi, Odroid C2, BeagleBone Black, Next Thing CHIP, Asus Tinker Board and Arduinos. Supports GPIO, I2C, SPI as well as Serial communication. Also known to work with Udoo Quad.
Stars: ✭ 167 (+56.07%)
Mutual labels:  hacktoberfest, raspberry-pi, i2c
Padd
PADD (formerly Chronometer2) is a more expansive version of the original chronometer.sh that is included with Pi-Hole. PADD provides in-depth information about your Pi-hole.
Stars: ✭ 1,011 (+844.86%)
Mutual labels:  hacktoberfest, raspberry-pi
Hyperion.ng
The successor to Hyperion aka Hyperion Next Generation
Stars: ✭ 1,008 (+842.06%)
Mutual labels:  hacktoberfest, rpi
Raspberrypi tempmon
Raspberry pi CPU temperature monitor with many functions such as logging, GPIO output, graphing, email, alarm, notifications and stress testing. Python 3.
Stars: ✭ 52 (-51.4%)
Mutual labels:  raspberry-pi, rpi
Androidthings Drivers
Android Things open source peripheral drivers
Stars: ✭ 30 (-71.96%)
Mutual labels:  raspberry-pi, i2c
Openswiftui
WIP — OpenSwiftUI is an OpenSource implementation of Apple's SwiftUI DSL.
Stars: ✭ 967 (+803.74%)
Mutual labels:  hacktoberfest, raspberry-pi
Rpi Battery Monitor
Monitor battery voltage from a Raspberry Pi
Stars: ✭ 51 (-52.34%)
Mutual labels:  raspberry-pi, rpi
Gentoo On Rpi 64bit
Bootable 64-bit Gentoo image for the Raspberry Pi4B, 3B & 3B+, with Linux 5.4, OpenRC, Xfce4, VC4/V3D, camera and h/w codec support, weekly-autobuild binhost
Stars: ✭ 831 (+676.64%)
Mutual labels:  raspberry-pi, rpi
Swiftygpio
A Swift library for hardware projects on Linux/ARM boards with support for GPIOs/SPI/I2C/PWM/UART/1Wire.
Stars: ✭ 1,188 (+1010.28%)
Mutual labels:  raspberry-pi, i2c
Opencv 3.2.0 Compiling On Raspberry Pi
Download, Compile, Build, and Install OpenCV 3.2.0 with Extra Modules on RPI running Jessie
Stars: ✭ 65 (-39.25%)
Mutual labels:  raspberry-pi, rpi
Mraa
Linux Library for low speed IO Communication in C with bindings for C++, Python, Node.js & Java. Supports generic io platforms, as well as Intel Edison, Intel Joule, Raspberry Pi and many more.
Stars: ✭ 1,220 (+1040.19%)
Mutual labels:  raspberry-pi, i2c
Tldr
📚 Collaborative cheatsheets for console commands
Stars: ✭ 36,408 (+33926.17%)
Mutual labels:  hacktoberfest, examples
Pi Hole
A black hole for Internet advertisements
Stars: ✭ 34,076 (+31746.73%)
Mutual labels:  hacktoberfest, raspberry-pi
Cimonitor
Displays CI statuses on a dashboard and triggers fun modules representing the status!
Stars: ✭ 34 (-68.22%)
Mutual labels:  hacktoberfest, raspberry-pi
Gassistpi
Google Assistant for Single Board Computers
Stars: ✭ 911 (+751.4%)
Mutual labels:  raspberry-pi, rpi
Lsquaredc
A library for I2C communications for Linux devices (Beaglebone Black, Raspberry PI, and possibly others).
Stars: ✭ 42 (-60.75%)
Mutual labels:  raspberry-pi, i2c
Mfrc522 Rpi
🔑 Control your MFRC522 RFID Module with your Raspberry-pi and JavaScript
Stars: ✭ 91 (-14.95%)
Mutual labels:  raspberry-pi, rpi
Testing Nestjs
A repository to show off to the community methods of testing NestJS including Unit Tests, Integration Tests, E2E Tests, pipes, filters, interceptors, GraphQL, Mongo, TypeORM, and more!
Stars: ✭ 685 (+540.19%)
Mutual labels:  hacktoberfest, examples
Recipes
📁 Examples for 🚀 Fiber
Stars: ✭ 691 (+545.79%)
Mutual labels:  hacktoberfest, examples

rpi-examples

Raspberry Pi examples

Videos

Notes

If you are interested in running any of the examples for I2C written in C/C++ as a regular user (not root) perform the following steps:

  • Remove line "wiringPiSetup();" in "HTU21D_test.c"
  • Add your user in "i2c" group

Buzzer

C

Beep

Simple application to test if a piezo buzzer attached to pin 11 is working.

Install wiringPi and after that execute the following command to build the application:

cd buzzer/c/
gcc beep.c -o beep -lwiringPi -std=c99

Execute the following command to run the application:

sudo ./beep

Star Wars

Implementation of the Imperial March from Star Wars.

Install wiringPi and after that execute the following command to build the application:

cd buzzer/c/
gcc starwars.c -o starwars -lwiringPi -std=c99

Execute the following command to play the Imperial March:

sudo ./starwars

TSL2561

Install i2c tools:

sudo apt-get install i2c-tools

Enable i2c on Raspberry Pi with Raspian GNU/Linux distribution:

sudo raspi-config

Go to Advanced Options > A7 I2C and reboot the board

Verify that TSL2561 is detected on i2c address 39 on bus 1:

[email protected]:~ $ i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- 39 -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --

Build and run the source code

cd TSL2561/c/
make
./TSL2561_test

MAX44009 Ambient Light Sensor Module

Build and run the source code

cd MAX44009/c/
make
./MAX44009_test

The example written in the C programming language has been cotributed by Pixel_K.

PN532 NFC Module

  • Install Adafruit Python PN532:
sudo apt-get update
sudo apt-get install build-essential python-dev git
cd ~
git clone https://github.com/adafruit/Adafruit_Python_PN532.git
cd Adafruit_Python_PN532
sudo python setup.py install
  • Clone rpi-examples:
cd ~
git clone https://github.com/leon-anavi/rpi-examples.git
  • Save data to RFID/NFC card
cd ~/rpi-examples/PN532/python
sudo python rfid-save.py
  • Listen and scan for RFID/NFC cards
cd ~/rpi-examples/PN532/python
sudo python rfid-scan.py
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].