Close

OLED Setup Guide

A project log for Pi Portable Recorder

A portable recorder, using a Pi Zero, which also has extra functionality for birding (listing, location logging for sighting etc.)

louis-parkersonLouis Parkerson 07/15/2018 at 22:420 Comments

I started of by trying to get the OLED (see components list) for the recorder working after following this (https://www.raspberrypi-spy.co.uk/2018/04/i2c-oled-display-module-with-raspberry-pi/) guide. However, I then got an error saying I needed to install Adafruit PureIO. This was fixed by entering 

git clone https://github.com/adafruit/Adafruit_Python_PureIO.git

After this I entered 

cd Adafruit_Python_PureIO

Then to install everything I entered 

sudo python3 setup.py install

I could then use the OLED as described in the excellent post by Matt. I then coded a program (which I will upload to Github) based loosely on the example image.py script to measure the frames per second the screen could display. I worked out the the screen averaged at around 3.7 frames per second. However, I then wanted to increase the performance of the screen so I followed another great guide by Matt (https://www.raspberrypi-spy.co.uk/2018/02/change-raspberry-pi-i2c-bus-speed/). I then ran my program again and my results averaged at around 5.6 frames per second - an increase of 1.9 frames per second. This was tested on a Pi Zero v1.3 running Raspbian and then retested on a Pi Zero W as well.

Update - After more testing, I have recorded the frames per second displayed on the OLED as high as 5.9, although the average is still just over 5.6.

Thanks for reading my first post.

Next post planned - How to create your own images to display on the OLED using GIMP.

Discussions