Skip to content

Cryptogotchi fetches live cryptocurrency prices and displays them on a 2.13-inch e-ink display. Track your favorite coins like Bitcoin, Dogecoin, and more!

Notifications You must be signed in to change notification settings

frogCaller/cryptogotchi

Repository files navigation

cryptogotchi

A playful twist on Pwnagotchi! Cryptogotchi fetches live cryptocurrency prices and displays them on a 2.13-inch e-ink display. Track your favorite coins like Bitcoin, Dogecoin, and more!

Data provided by CoinGecko

Materials


(Amazon affiliate links)

Installations

  1. OS install:

    • Install Raspberry Pi OS Lite (64-bit) on your Raspberry Pi
  2. Enable SPI:

    • Open a terminal on your Raspberry Pi.
    • Run sudo raspi-config
    • Navigate to Interfacing Options -> SPI -> Enable.
  3. Clone the repository:

    sudo apt install -y git
    git clone https://github.com/frogCaller/cryptogotchi.git
    cd cryptogotchi
    

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. Install System and Python Dependencies:

    chmod +x setup.sh
    ./setup.sh
    

Usage

python3 app.py

Open a browser and go to:

http://<raspberrypi-IP>:5000

Replace with your Raspberry Pi’s actual IP address (e.i., http://192.168.0.41:5000).

Configuration Instructions

The config.yaml file is used to customize the behavior and appearance of cryptogotchi. Follow these steps to edit the file and adjust the settings:

  1. Open the config.yaml file in a text editor:

    nano config.yaml
  2. Modify the settings under the Settings section. Below is a description of each configurable option:

    Key Example Value Description
    username cryptoFan123 Your custom username displayed on the device.
    dark_mode true Enables or disables dark mode (true for dark mode, false for light).
    screen_rotation 0 Screen rotation in degrees (0 or 180).
    refresh_rate 5 How often the screen refreshes (in seconds).
    show_faces false Displays animated faces on the screen (true to show, false to hide).
    graph_history 7 Number of days shown in historical graphs (e.g., 7 for 7 days).

Troubleshooting

Common Issues:

  • Ensure SPI is 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

About

Cryptogotchi fetches live cryptocurrency prices and displays them on a 2.13-inch e-ink display. Track your favorite coins like Bitcoin, Dogecoin, and more!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published