Skip to content

grappeq/e-ink-pregnancy-tracker

Repository files navigation

E-ink Pregnancy Tracker

A simple project that displays the status of a pregnancy using 2.7 inch e-Paper HAT by Waveshare. Meant to be run on a Raspberry Pi.

Sample screen image

Completed project photo

Setup

  1. Configure your Raspberry Pi according to the docs provided by Waveshare.
  2. Clone this repo:
    git clone https://github.com/grappeq/e-ink-pregnancy-tracker.git
    
  3. Install dependencies:
    pip3 install -r requirements.txt
    
  4. Install libopenjp2 required by Pillow:
    sudo apt-get install libopenjp2-7
    
  5. Copy the config.json.example file as config.json and set the expected birth date.
  6. Configure cron to run the main.py file on a schedule (e.g. every 30 mins).

Testing

If you wish to try out the package locally, you can run the local_test.py file. The script generates the image and displays it on your screen without the need of relying on packages that are available only on Raspberry Pi.

Useful resources

About

Shows progress of a pregnancy on an e-Paper display. Meant to be run on a Raspberry Pi.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages