RaspBerry Pi eInk Display

in #qtum8 years ago (edited)

A US$17 eInk display for my Qtum Stake.

Reference

Setup

  • assume you have did the similar setup in https://steemit.com/qtum/@cryptominder/qtum-staking-tutorial-using-qtumd-on-a-raspberry-pi-3

  • Make sure the SPI is enabled, edit /boot/config.txt and uncomment the line
    sudo nano /boot/config.txt dtparam=spi=on The pin connection Here is the connection between Raspberry Pi 3B and E-paper. e-Paper RaspberryPi3.3V(red) 3.3V (pin1)GND GND (pin6)DIN MOSI (pin19)CLK SCLK (pin23)CS CE0 (pin24)DC BCM25(pin22)RST BCM17(pin11)BUSY BCM24(pin18) Phython script Download the demo code from https://www.waveshare.com/wiki/File:1.54inch_e-Paper_Module_code.7z and unzip it. Create a new python file e.g. nano read_qtum_wallet.py script is currently raw Source code here https://drive.google.com/file/d/0B_wF6Tm_vWFUMFV6ZzJNWGJSRzQ Add to crontab</> crontab -e Run the script every 15min. 0,15,30,45 * * * * /usr/bin/python /home/pi/eInk/qtum/check_qtum_wallet.py