Here are the parts used for this project
- Raspberry Pi Zero W $10.00 USD
- 2x20 pin Header $0.95 USD
- Mini PiTFT 135x240 Color TFT $14.95 USD
- MicroUSB power supply $7.95 USD
Before using any scripts in this project, you'll need to setup your Raspberry Pi with the basics
-
Acquire necessary components as listed above. This project uses a Raspberry Pi Zero W, but any Raspberry Pi with networking support and modern header layout should suffice.
-
If using the recommended Raspberry Pi Zero W, solder on the pin header as you normally would, or acquire one with pins pre-soldered.
-
Install operation system as Raspberry Pi Os Lite using Raspberry Pi Imager. Follow guidance here: https://www.raspberrypi.org/software/
-
Next you'll want to enable SSH, setup your Wi-Fi settings on the Micro SD card.
-
Once powered up, identify the raspberry Pi on the network and SSH in. The default credentials are pi/raspberry, and you should change these
-
Once logged in, run
sudo raspi-config
and enable the interfaces for SPI and I2C. Save and exit, reboot the pi and SSH back in after startup
This project depends on Python and assorted libraries
Follow instructions here: https://learn.adafruit.com/circuitpython-on-raspberrypi-linux/installing-circuitpython-on-raspberry-pi
Which are paraphrased as follows
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -y python3 git python3-pip
sudo update-alternatives --install /usr/bin/python python $(which python2) 1
sudo update-alternatives --install /usr/bin/python python $(which python3) 2
sudo update-alternatives --config python
pip3 install RPI.GPIO
pip3 install adafruit-blinka
Now run these commands
sudo pip3 install adafruit-circuitpython-rgb-display
sudo pip3 install --upgrade --force-reinstall spidev
sudo apt-get install ttf-dejavu
wget https://assets.ubuntu.com/v1/0cef8205-ubuntu-font-family-0.83.zip
unzip 0cef8205-ubuntu-font-family-0.83.zip
sudo mkdir -p /usr/share/fonts/truetype/ubuntu
sudo mv ubuntu-font-family-0.83/*.* /usr/share/fonts/truetype/ubuntu
sudo rm -rf ubuntu-font-family-0.83/
sudo apt-get install python3-pil
sudo apt-get install python3-numpy
You're all set. Go back to the readme for remaining installation and documentation.
Personally, I go with Stadicus Raspibolt, but there are plenty of other good nodes, and handy guides to get started. Check out the node.guide by Bitcoin Q+A
The Run The Numbers service is referenced by the scripts. Feel free to reach out if you need help setting this up.