All Projects → Seeed-Studio → Grove.py

Seeed-Studio / Grove.py

Licence: mit
Python library for Seeedstudio Grove devices

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Grove.py

Respeaker for raspberrypi
Examples to use ReSpeaker series Mic Arrays on Raspberry Pi
Stars: ✭ 27 (-68.24%)
Mutual labels:  raspberrypi
Raspipass
RaspiPass - Homepass software for the Raspberry Pi 3
Stars: ✭ 43 (-49.41%)
Mutual labels:  raspberrypi
Mic hat
2 Mic Array for Raspberry Pi
Stars: ✭ 69 (-18.82%)
Mutual labels:  raspberrypi
Freedom Maker
The FreedomBox image builder. Read-only mirror of https://salsa.debian.org/freedombox-team/freedom-maker
Stars: ✭ 34 (-60%)
Mutual labels:  raspberrypi
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 (+1089.41%)
Mutual labels:  raspberrypi
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 (-38.82%)
Mutual labels:  raspberrypi
Gassistpi
Google Assistant for Single Board Computers
Stars: ✭ 911 (+971.76%)
Mutual labels:  raspberrypi
Noisy
Simple random DNS, HTTP/S internet traffic noise generator
Stars: ✭ 1,208 (+1321.18%)
Mutual labels:  raspberrypi
Piweatherrock
Displays local weather on a Raspberry Pi
Stars: ✭ 42 (-50.59%)
Mutual labels:  raspberrypi
Rpi Vk Driver
VK driver for the Raspberry Pi (Broadcom Videocore IV)
Stars: ✭ 1,160 (+1264.71%)
Mutual labels:  raspberrypi
Pi4j V2
Pi4J Version 2.0 - Experimental
Stars: ✭ 36 (-57.65%)
Mutual labels:  raspberrypi
Raspberrysharp
A .NET/Mono IO Library for Raspberry Pi This library is a complete refactoring of Raspberry-Sharp libraries, merged into one library and updated to RB3, CM3 and RB3+
Stars: ✭ 41 (-51.76%)
Mutual labels:  raspberrypi
Pi Bluetooth Obd
Connect Raspberry Pi with Bluetooth OBD adapter and collect real-time car data.
Stars: ✭ 54 (-36.47%)
Mutual labels:  raspberrypi
Pi Builder
Extensible tool to build Arch Linux ARM for Raspberry Pi on x86_64 host using Docker
Stars: ✭ 31 (-63.53%)
Mutual labels:  raspberrypi
Homekitcam
A project to make a Raspberry Pi driven, HomeKit Enabled camera.
Stars: ✭ 69 (-18.82%)
Mutual labels:  raspberrypi
Fabscanpi Build Raspbian
Build Script for FabScanPi Raspbian Images
Stars: ✭ 21 (-75.29%)
Mutual labels:  raspberrypi
01cnode
tool to monitor full bitcoin node bitcoind-web
Stars: ✭ 50 (-41.18%)
Mutual labels:  raspberrypi
Mobilenet Ssd
MobileNet-SSD(MobileNetSSD) + Neural Compute Stick(NCS) Faster than YoloV2 + Explosion speed by RaspberryPi · Multiple moving object detection with high accuracy.
Stars: ✭ 84 (-1.18%)
Mutual labels:  raspberrypi
Inkyshot
Get a daily random inspirational quote delivered direct to your desk with Inkyshot. Build multiple Inkyshots and share the inspiration with your friends, family and loved ones ❤️
Stars: ✭ 72 (-15.29%)
Mutual labels:  raspberrypi
Q3lite
Q3lite, an OpenGL ES port of Quake III Arena for embedded Linux systems.
Stars: ✭ 64 (-24.71%)
Mutual labels:  raspberrypi

grove.py

Build Status

Python library for Seeedstudio Grove Devices on embeded Linux platform, especially good on below platforms:



Architecture

To operate grove sensors, the grove.py depends many hardware interface libraries such as mraa/upm/smbus2.




Installation

For beginner or library user only, please install with online method.
For developer or advanced user, please install dependencies and then install grove.py with source code.

Online install

install/update all dependencies and latest grove.py

curl -sL https://github.com/Seeed-Studio/grove.py/raw/master/install.sh | sudo bash -s -

Install grove.py

From source code

git clone https://github.com/Seeed-Studio/grove.py
cd grove.py
# Python2
sudo pip install .
# Python3
sudo pip3 install .



Usage

Basic GPIO Input & Output demo

import time
from grove.gpio import GPIO

led = GPIO(12, GPIO.OUT)
button = GPIO(22, GPIO.IN)

while True:
    if button.read():
        led.write(1)
    else:
        led.write(0)
    time.sleep(0.1)

See more demos and how to run



API Documentation

click here

how to update me



Contribution

Check list for adding a new grove device, for simple, take grove_led as a example.

  • Add a Class in the python source file, and export with __all__ =
  • Code sytle PEP8 is recommanded
  • The python source could run directly with python <file> and python3 <file>
  • Add demo code at the near top of source file
  • The demo code could run directly with someone python/python3 IDE.
  • Add document to class and it's member and show the result by refering to API document
  • Add a command item in setup.py console_scripts list, take effect by install again
  • Add a item to command table in Usage Doc
  • If the command need argument but not specified, please list available arguments.
  • If specified invalid argument, also output usage document then exit.
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].