PicorderOS

From Squared Wave
Revision as of 12:40, 20 June 2019 by Directive0 (Talk | contribs)

Jump to: navigation, search
Logo for the PicorderOS project

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

PicorderOS diagram.png


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
  • Ensure you have Python3 and Pip3 installed (should already be there on Raspbian) sudo apt-get install python3-pip python3-dev
  • Install Sensor Libraries
  • Install luma.lcd for the displays sudo pip3 install luma.lcd