delhatch / PiPod_ePaper

PiPod MP3 player with a 250 × 122 e-Paper screen
45 stars 1 forks source link
epaper epaper-displays epaper-screen mp3 mp3-player mp3player raspberry-pi raspberry-pi-zero-w raspberrypi

PiPod_ePaper

This project takes the github.com/delhatch/PiPod project (which was derived from github.com/BramRausch/PiPod) and replaces the LCD screen with an e-Paper screen.

Motivation

The goal of this project was switching from a 2.2" 320x240 LCD screen to a 2.13" 250x122 e-Paper screen (from Waveshare) in order to extend the battery run-time.

Using the project's standard 1200 mAh battery, the continuous play time is now 4 hours, 48 minutes. Since a USB power supply is rarely far away, this seems sufficient.

In addition to using an e-paper screen, I also added a headphone amplifier based on the TP6113 IC. Note: This amplifier is rated at 40 mW, which does not sound like a lot of power, but even with inefficient headphones this equates to 108 dBSPL (equivalent to a gas lawn mower at 1m), which is far too loud for sustained listening. Watch your volume setting!

Project Derivation

This project is derived from github.com/delhatch/PiPod_Zero2W. This repository has changes to impliment the use of the e-Paper screen, along with other minor bug fixes.

Structural Changes

I have changed the OS to the "lite" version: 2024-03-15-raspios-bookworm-arm64-lite.img.xz This change reduces power consumption by ~20 mA, which is a 9% savings, so reasonably significant.

Also moved from Pygame to Pillow for the screen graphics.

Then I got rid of Pygame completely, since I was only using it for the key stroke buffer, and the Python keypad library was already taking care of that. Eliminating Pygame reduced power consumption by 9.2% when idle, and by 5.2% when playing music.

Status

28 June 2024: I built a unit with the Rev2 PCB (black PCB, see pics). It works great. The Rev3 (current) case files appear to be acceptable.

Power Savings

With the LCD screen, with the backlight on, during playback, the current draw is 266 mA.

With the LCD screen, with the backlight off, during playback, the current draw is 220 mA.

With the e-Paper screen, during playback, the current draw is 175 mA.

Having eliminated Pygame, the current draw is down to only 166 mA.

So the e-Paper screen is definitely a major improvement in battery life (playback time), and also useability because there is no anxiety about leaving an LCD backlight on.

Known Bugs

Features TODO

Instructions

Completion of these instructions takes about 40 minutes, not including the time transferring the music files.

The bare PC board and case parts can be ordered via this link at PCBWay. For the case parts (top, bottom and frame parts) I specified 3D printing in Nylon: PA-12 with 35% glass fill. For the navigation and side buttons, 3D printing in any cheap white plastic will do.

PCB from PCBWay

Instructions: