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
API-StevenThomi-0.0.1.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for API_StevenThomi-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33a8ab933ccf9f61a866cdbb4de450d65193d3480f75b247a7106c7b4cd56df9 |
|
MD5 | 06417bae1c27016d11e1e8bd0114ba5b |
|
BLAKE2b-256 | 20b5e54767a9881a7cfebe1828a39baf6a48d0786ff30630bc249d961c50325d |