PicorderOS
PicorderOS is a Python based set of modules that provides a quick and easy way to use a Raspberry Pi as a handheld sensing device. The real goal of PicorderOS is not just to operate my various Picorder projects as a monolithic entity but to work as a set of modules that the user can enable and disable at will.
By design it will support a wide range of arbitrary selected sensors, displays and form factors. Development is proceeding simultaneously on all elements.
Basic Structure
Sensors
Notes
To reduce power consumption:
- Only draw to screen when sensor reading has changed.
scale would be a factor for determining; different decimal places would trigger different refresh rates.
Download
https://github.com/directive0/picorder2
Installation
PicorderOS requires quite a few python libraries to work.
Open a terminal and follow the next instructions:
- We must first enable SPI and I2C for sensor and display communications.
- Open Raspi Config
sudo raspi-config
- Select "Interfacing Options" (Item 5)
- Scroll down to SPI and when prompted enable it following the onscreen dialogue
- Do the same for I2C
- Open Raspi Config
- Ensure you have Python3 and Pip3 installed (should already be there on Raspbian)
sudo apt-get install python3-pip python3-dev
- Install Sensor Libraries
- If using the BME680 I recommend the Pimoroni bme680 module, install it using pip3
sudo pip3 install bme680
- If using the BME680 I recommend the Pimoroni bme680 module, install it using pip3
- Install luma.lcd for the displays
sudo pip3 install luma.lcd