Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nielse63/raspberry-pi-examples
Examples of sensors, servers, and scripts to run on Raspberry Pi
https://github.com/nielse63/raspberry-pi-examples
Last synced: 28 days ago
JSON representation
Examples of sensors, servers, and scripts to run on Raspberry Pi
- Host: GitHub
- URL: https://github.com/nielse63/raspberry-pi-examples
- Owner: nielse63
- License: mit
- Created: 2024-01-02T07:14:34.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-01-30T18:30:29.000Z (9 months ago)
- Last Synced: 2024-04-14T05:26:10.607Z (7 months ago)
- Language: Python
- Size: 2.36 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# raspberry-pi-examples
> Examples of sensors, servers, and scripts to run on Raspberry Pi
- [Setting Up Raspberry Pi](#setting-up-raspberry-pi)
- [Development](#development)
- [Creating a new example](#creating-a-new-example)
- [GPIO Pin Reference](#gpio-pin-reference)## Setting Up Raspberry Pi
Install kernal dependencies:
```bash
sudo apt-get update -y
sudo apt-get updgrade -y
```Create virtual environment
```bash
python3 -m venv .venv
source .venv/bin/activate
```Or just run the setup script in this project:
```bash
.bin/setup
```## Development
Run the dev setup script:
```bash
.bin/setup-dev
```This will create a virtual environment, install all dependencies and a add pre-commit git hook.
### Creating a new example
```bash
node .bin/generate.js
```## GPIO Pin Reference
![GPIO Pins](./assets/gpio-pins.png)