Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frogCaller/e-ink-ticker
2.13inch e-ink display project using a Raspberry Pi to display crypto prices.
https://github.com/frogCaller/e-ink-ticker
Last synced: 26 days ago
JSON representation
2.13inch e-ink display project using a Raspberry Pi to display crypto prices.
- Host: GitHub
- URL: https://github.com/frogCaller/e-ink-ticker
- Owner: frogCaller
- Created: 2024-07-31T23:23:25.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-11-04T01:03:01.000Z (about 2 months ago)
- Last Synced: 2024-11-04T02:17:25.625Z (about 2 months ago)
- Language: Python
- Size: 5.23 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- starred - frogCaller/e-ink-ticker - 2.13inch e-ink display project using a Raspberry Pi to display crypto prices. (Python)
README
# 2.13in e-ink Price Ticker
This project uses a 2.13inch e-ink display with a Raspberry Pi to display crypto prices.
# Materials
* [Raspberry pi Zero 2 WH](https://amzn.to/3VO7eu2)
* [Micro SD Cards](https://amzn.to/4erXgWD)
* [2.13inch e-ink](https://amzn.to/3WLFCX2)
* [UPS Hat](https://amzn.to/4ceZp6I)
(Amazon affiliate links)## **Installations**
1. **OS install:**
- Install Raspberry Pi OS Lite (64-bit) on your Raspberry Pi
2. **Enable SPI & I2C:**
- Open a terminal on your Raspberry Pi.
- Run `sudo raspi-config`
- Navigate to Interfacing Options -> SPI -> Enable.
- Navigate to Interfacing Options -> I2C -> Enable.3. **Python libraries:**
- sudo apt-get update
- sudo apt-get install python3-pip -y
- sudo apt-get install python3-pil -y
- sudo apt install python3-spidev -y
- sudo apt-get install python3-numpy -y
- sudo apt install python3-matplotlib -y
# Wiring and Setup
1. **Connect 2.13inch e-Ink HAT to Raspberry Pi:**
- Connect the 2.13inch e-Ink HAT to your Raspberry Pi.
- Connect the UPS Hat for continuous power supply. This will allow you to move the project anywhere without worrying about power interruptions.2. Clone the repository:
```bash
sudo apt install git -y
git clone https://github.com/frogCaller/e-ink-ticker.git
cd e-ink-ticker
# Usage
Run the script:
- `python3 ticker.py`# How It Works
- The script fetches cryptocurrency prices and 7-day historical data from the CoinGecko API every 5 minutes.
- The data is displayed on the e-Ink screen, refreshing every 20 seconds.
- The y-axis scale of the graphs is adjusted based on the lowest and highest prices of the week.# Troubleshooting
Common Issues:
- Ensure SPI & I2C are enabled in the Raspberry Pi configuration.
- Check all connections if the screen does not display anything.
- Verify all required packages are installed correctly.
- [More Info](https://www.waveshare.com/wiki/2.13inch_e-Paper_HAT_Manual)