A temperature and luminosity sensor API package designed for Raspberry Pi
Project description
API Overview
The API contains the following files:
- Setup.py - creates the ADC (MCP3008) channel object
- Sensor.py - handles the sensor package's activities, qualities, and functionality
The following files illustrate the functioning of the API:
- application_console.py - prints the sensor output to the screen
- application_file.py - prints the sensor output to a text file (data.txt)
The API's functionality is interfaced with the Flask Web Application using Samba file sharing.
The API requires the following libraries to run:
- busio
- digitalio
- board
- adafruit_mcp3xxx.mcp3008
- adafruit_mcp3xxx.analog_in
These libraries can be installed on the Raspberry Pi using the following command:
- pip3 install adafruit-circuitpython-mcp3xxx
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file API-StevenThomi-0.0.1.tar.gz.
File metadata
- Download URL: API-StevenThomi-0.0.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b412c63b4eb3e6c4dab9da0da8f29c344b596b5c5bdd1c2628c28c87dd6f59e
|
|
| MD5 |
87307e54e67f936169b28bfdfc9d9387
|
|
| BLAKE2b-256 |
397f513b45f8ad006fea43d260d97050651b22482379686c8b254c4b34a1613f
|
File details
Details for the file API_StevenThomi-0.0.1-py3-none-any.whl.
File metadata
- Download URL: API_StevenThomi-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33a8ab933ccf9f61a866cdbb4de450d65193d3480f75b247a7106c7b4cd56df9
|
|
| MD5 |
06417bae1c27016d11e1e8bd0114ba5b
|
|
| BLAKE2b-256 |
20b5e54767a9881a7cfebe1828a39baf6a48d0786ff30630bc249d961c50325d
|