All Projects → sparkfun → Qwiic_Py

sparkfun / Qwiic_Py

Licence: MIT license
Python package for the qwiic system.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Qwiic Py

OpenLCD
An open source serial LCD (HD44780) controller based on the ATmega328.
Stars: ✭ 28 (-30%)
Mutual labels:  sparkfun
HC-SR04 UltrasonicSensor
Arduino example code for the HC-SR04 ultrasonic ranging sensor.
Stars: ✭ 33 (-17.5%)
Mutual labels:  sparkfun
Qwiic Ublox Gps Py
No description or website provided.
Stars: ✭ 38 (-5%)
Mutual labels:  sparkfun
scd30
arduino esp8266 ESP8266 SCD30 SCD-30 ESP32
Stars: ✭ 38 (-5%)
Mutual labels:  sparkfun
ESP8266 Thing
A breakout and development board for the ESP8266 WiFi SoC.
Stars: ✭ 41 (+2.5%)
Mutual labels:  sparkfun
Rotary Encoder Breakout-Illuminated
This is a clever little breakout board for both the RGB and R/G illuminated rotary encoders.
Stars: ✭ 16 (-60%)
Mutual labels:  sparkfun
RF Links
These wireless transmitters and receivers easily fit into a breadboard and work well with microcontrollers to create a very simple wireless data link.
Stars: ✭ 53 (+32.5%)
Mutual labels:  sparkfun
Easy Driver
The EasyDriver is a simple to use stepper motor driver, compatible with anything that can output a digital 0 to 5V pulse (or 0 to 3.3V pulse if you solder SJ2 closed on the EasyDriver).
Stars: ✭ 27 (-32.5%)
Mutual labels:  sparkfun
BMPtoArray
Python script to convert a bitmap to an Arduino prog_mem array for outputting grayscale images to OLEDs.
Stars: ✭ 25 (-37.5%)
Mutual labels:  sparkfun
Logic Level Bidirectional
Logic level converter bi-directional with Mosfets
Stars: ✭ 66 (+65%)
Mutual labels:  sparkfun
SparkFun AutoDriver Arduino Library
Arduino library support for the SparkFun AutoDriver board based on the ST Micro L6470 stepper driver.
Stars: ✭ 14 (-65%)
Mutual labels:  sparkfun
Big Easy Driver
The Big Easy Driver available from SparkFun Electronics
Stars: ✭ 21 (-47.5%)
Mutual labels:  sparkfun
SparkFun SerLCD Arduino Library
A library to seamlessly control the SparkFun SerLCD over I2C, SPI, and Serial.
Stars: ✭ 18 (-55%)
Mutual labels:  sparkfun
SunnyBuddy
MPPT single-cell LiPo battery charger based on the LT3562
Stars: ✭ 29 (-27.5%)
Mutual labels:  sparkfun
led-speech-edison
Speech-activated LEDs using Intel Edison, SparkFun blocks, Python, and CMU Sphinx
Stars: ✭ 25 (-37.5%)
Mutual labels:  sparkfun
SparkFun MMA8452Q Arduino Library
SparkFun Triple Axis Accelerometer Breakout - MMA8452Q Arduino Library
Stars: ✭ 16 (-60%)
Mutual labels:  sparkfun
SparkFun CCS811 Arduino Library
A library to drive the AMS CCS811 air quality sensor
Stars: ✭ 38 (-5%)
Mutual labels:  sparkfun
ESP32 LoRa 1Ch Gateway
ESP32+RFM95 = Single-channel LoRa WiFI Gateway (or device!)
Stars: ✭ 20 (-50%)
Mutual labels:  sparkfun
SparkFun ADXL345 Arduino Library
Arduino Library for the ADXL345
Stars: ✭ 34 (-15%)
Mutual labels:  sparkfun
Qwiic IMU BNO080
The BNO080/BNO085 IMU has a combination triple axis accelerometer/gyro/magnetometer packaged with an ARM Cortex M0+ running powerful algorithms.
Stars: ✭ 27 (-32.5%)
Mutual labels:  sparkfun

Qwiic_Py

follow on Twitter

The SparkFun qwiic python package aggregates all python qwiic drivers/modules to provide a single entity for qwiic within a python environment. The qwiic package delivers the high-level functionality needed to dynamically discover connected qwiic devices and construct their associated driver object.

New to qwiic? Take a look at the entire SparkFun qwiic ecosystem.

Contents

Supported Platforms

The qwiic Python package current supports the following platforms:

Structure

Each qwiic board has an independent driver library that implements the required logic for the specific board. This driver implementation is structured as a python package that supports standard python package management operations and tools. Additionally, each driver is deployed in a distinct GitHub repository which provides a central area for package management and development.

To provide dynamic discovery and instantiation capabilities, the qwiic package imports all the underlying qwiic driver packages at runtime. As such the qwiic driver packages must be installed prior to using this package. These packages can be installed manually, or the overall package will install them automatically when using a PyPi based package manger (aka pip).

Dependent Modules

To make development and evaluation easer, the modules this package is dependent on are included in this repository as git submodules. This allows rapid checkout and access to the entire qwiic python ecosystem if needed.

This structure has the following layout:

Qwiic_Py/
   |
   +--- qwiic_i2c/                                   --> Link to the qwiic_i2c submodule repository
   |      |--- __index__.py
   |      `--- ... The cross platform I2C bus access driver 
   |
   +--- qwiic/
   |      |--- __index__.py
   |      +--- ... Package Implementation
   |      `--- drivers/
   |            |--- qwiic_bme280	             --> The qwiic_bme280 submodule
   |            |--- qwiic_micro_oled		     --> The qwiic_micro_oled submodule
   |            `--- ... links to qwiic driver submodule repositories
   |
   +--- README.md
   +--- setup.py
   `--- ...etc

Dependencies

The qwiic package depends on the qwiic I2C driver: Qwiic_I2C_Py

This package is also dependent on the driver packages contained in the drivers directory.

Documentation

The SparkFun qwiic package documentation is hosted at ReadTheDocs

Checkout Commands

To clone this repository, a standard git clone command will create a local copy of this repository:

git clone https://github.com/sparkfun/Qwiic_Py

This will create a local version of this repository, but the submodule directories (drivers/*, and qwiic_i2c/ ) will be empty. To clone the git repository and include the submodule contents, use the following command:

git clone --recurse-submodules https://github.com/sparkfun/Qwiic_Py.git 

Installation

PyPi Installation

This repository is hosted on PyPi as the sparkfun-qwiic package. On systems that support PyPi installation via pip, this package is installed using the following commands For all users (note: the user must have sudo privileges):

sudo pip install sparkfun-qwiic

For the current user:

pip install sparkfun-qwiic

This process will also install all modules the qwiic package requires for operation, including the needed qwiic driver packages.

Local Installation

To install, make sure the setuptools package is installed on the system.

Direct installation at the command line:

python setup.py install

To build a package for use with pip:

python setup.py sdist

A package file is built and placed in a subdirectory called dist. This package file can be installed using pip.

cd dist
pip install sparkfun_qwiic_-<version>.tar.gz

SparkFun - Start Something

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].