Skip to main content

A tiny Raspberry Pi powered ePaper ticker.

Project description

🚀 tinyticker 🚀

size doesn't matter

tinyticker uses a Raspberry Pi zero W and a small ePaper display to periodically display a stock or crypto chart.

A flask web interface is created to set the ticker options and control the Raspberry Pi.

tinyticker uses the cryptocompare API to query the crypto price information, you'll need to get yourself a free API key. As well as the yfinance package to get the stock financial data.

Hardware

Shopping list:

Recommended setup

I highly recommend using comitup to setup the networking on your RPi.

  • Write the comitup image to your sd card
  • Boot up the RPi and setup the networking
  • ssh into your RPi, you'll probably want to change the password while you're at it
  • Enable the SPI interface
  • (Optional) rename the hostname of your RPi by editing the /etc/hostname and /etc/hosts file
  • (Optional) rename the Wifi AP name by editing the /etc/comitup.conf file
  • Install the BCM2835 driver:
    curl http://www.airspayce.com/mikem/bcm2835/bcm2835-1.60.tar.gz | tar xzv
    cd bcm2835-1.60/
    ./configure
    make
    make install
    
  • Install pipx depdencies:
    sudo apt install python3-pip python3-venv
    
  • Install pipx:
    python3 -m pip install --user pipx
    
  • Install dependency requirements:
    sudo apt install libatlas-base-dev libopenjp2-7 libtiff5 libxml2-dev libxslt1-dev
    
  • Install tinyticker (the CFLAGS variable is required for RPi.GPIO to install):
    FCLAGS=-fcommon pipx install tinyticker
    
  • Setup tinyticker to start on boot:
    tinyticker --start-on-boot -vv
    
    • This will write and enable 3 systemd unit files tinyticker.service, tinyticker-qrcode.service and tinyticker-web.service.
    • On boot, a qrcode linking to the flask app will be flashed on the display
  • Leave a star, reboot and HODL !

Note: the Raspberry Pi zero isn't very fast so be patient :)

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

tinyticker-0.1.9.tar.gz (135.3 kB view details)

Uploaded Source

Built Distribution

tinyticker-0.1.9-py3-none-any.whl (144.0 kB view details)

Uploaded Python 3

File details

Details for the file tinyticker-0.1.9.tar.gz.

File metadata

  • Download URL: tinyticker-0.1.9.tar.gz
  • Upload date:
  • Size: 135.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.5 Linux/5.18.9-arch1-1

File hashes

Hashes for tinyticker-0.1.9.tar.gz
Algorithm Hash digest
SHA256 5e381bdeeb990fd79fd3234051f998d3ba4e39428cd2a965833515c3a25e9896
MD5 447adce573949e195f44f6e32da7538f
BLAKE2b-256 2ef667f635e4f907e75bd8493d1ff276ba4d59b1f2771af9fc9a6c9556117990

See more details on using hashes here.

File details

Details for the file tinyticker-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: tinyticker-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 144.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.5 Linux/5.18.9-arch1-1

File hashes

Hashes for tinyticker-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 7c46ee5bbedbb20ca2deddea6dcefbc6b02bf704552d945b6e18542c43075e55
MD5 d0e5a3602538aa8647aa29f4e5388cbc
BLAKE2b-256 8aba12f96768734832991498e0a67b097ff32297795c78351400d03fa63e2548

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page