Skip to content

splitti/oled_phoniebox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Date: 06.02.2022 Version: 2.0.3 - 20220206

oled_phoniebox

oled_phoniebox Based on https://github.com/rm-hull/luma.oled

Tested with this display (affiliate Link): https://amzn.to/2SjPFPt

Start Screen Play View Full Play View Mixed Play View Lite Info Screen Pause Screen Play Screen Vol Down Screen Vol Up Screen
Caption Caption Caption Caption Caption Caption Caption Caption Caption

My finished Box on Youtube: Die drei ??? Kids Phoniebox

Youtube Information Video: German Youtube Video

Forum: German Forum

My Phoniebox Project (german only): My Selfmade Phoniebox

Installation Steps

Deactivate Buttons

It is possible, that the Display uses the same GPIO like the Shut-Command of the jukebox4kids. In this case, you should edit the file gpio-buttons.py like this

sed -i -e "s:shut = Button(3, hold_time=2):#shut = Button(3, hold_time=2):g" ~/RPi-Jukebox-RFID/scripts/gpio-buttons.py

Service Installation

Please notice: This installer will create the directory oled_phoniebox in the home-Directory of the user. If you try to rename or move this folder, the service stops working. Run the following code with the user pi for the installer:

cd; rm o4p_installer.sh; wget https://raw.githubusercontent.com/splitti/oled_phoniebox/master/scripts/install/o4p_installer.sh; chmod +x o4p_installer.sh; ./o4p_installer.sh

Contrast Control

You can add Contrast Control while editing the ~/RPi-Jukebox-RFID/scripts/gpio-buttons.py. You can find an example here: https://github.com/splitti/oled_phoniebox/tree/master/scripts/gpio-buttons Add a Button press and start these commands:

python3 ../oled_phoniebox/scripts/contrast/contrast_up.py python3 ../oled_phoniebox/scripts/contrast/contrast_down.py

Just another Feature

Press Prev- and Next-Button together for two or more seconds, and you get some Information about your WiFi and the installed oled_phoniebox-Version. If you press the buttons again, you can change the Display-Mode.

Spend me a coffee

paypal.me

FAQ

How can i switch between lite or full version?

  • Press and hold Next and Prev together for 2 seconds or more. The Information Screens will be displayed. Press and hold Next and Prev again for 2 seconds and the mode will be changed.

How should i update the oled_phoniebox?

  • This time, the only way is to run the installer again, because there are different changes in the file-system. git pull does not work here!

Thank you

Contributors and Testers:

Github:

Image (music.png):

Images (cardhand and musiccard) based on:

Font:

Changelog

  • 06.02.2022 - 2.0.3 - 20220206
  • 13.03.2022 - 2.0.2 - 20220113
    • Bugfix:
      • Remove unneeded package
  • 14.03.2021 - 2.0.1 - 20210314
  • 14.03.2021 - 2.0.0 - 20210314
    • Update compatibility to the new phoniebox-version.
    • Bugfix:
      • Add sleep to the pause button.
  • 13.03.2020 - 1.9.3 - 20200313
    • Feature:
      • Check for Sync State and showing the process
  • 09.02.2020 - 1.9.2 - 20200209
    • Feature:
      • Set higher baudrate in the installation; improves a faster display reaction
  • 05.01.2020 - 1.9.1 - 20200105
    • Bugfix:
      • Adding i2c dev dependecy to systemd, to give more control for starting the service (sometime i2c modules are not loaded and the service could not start)
  • 05.01.2020 - 1.9.0 - 20200105
    • Bugfix:
      • Code review: Sometimes the box hangs while shutting down. A complete Code review and some bug fixes will help to prevent this problem.
  • 02.01.2020 - 1.8.4 - 20200102
    • Bugfix:
      • The Phyton Package phyton-imageing was replaced by python-pil; see also issue 5
    • Featues:
      • Boot speed improvement. Reinstall necessary!
  • 26.06.2019 - Version 1.8.3 - 20190626
    • Features:
      • New Mixed Mode
      • Special Button Hint optimized
      • Shorter Duration Time of Status like Play, Vol Up/Down
  • 31.01.2019 - Version 1.7.1 - 20190131
    • Bugfix:
      • The information on the radio stream was not displayed correctly: fixed (Issue: #2 (comment))
      • Fixing some small errors
    • Features:
      • Mute Image
      • Radio Image (new Font added)
  • 18.01.2019 - Version 1.6.2 - 20190118
    • Bugfix: One Line Install-Script
  • 16.01.2019 - Version 1.6.1 - 20190116
    • Change mode without shell or installation
  • 13.01.2019 - Version 1.5.3 - 20190113
    • Bugfix:
      • Wifi
      • Button Replacement
    • Features:
      • New updated Scrolling (Letter Scrolling)
      • Wifi gets a new view
  • 11.01.2019 - Version 1.3.6
    • Bugfixing
    • Code optimized
    • Lite and Full Display Version (like parent and kids-mode)
    • Contrast-Control Installation
    • I2C Installation
    • New Button Control Installation
    • Special Button Hint: Press Prev + Next for more then two seconds and you get some informations...
  • 10.01.2019
    • New One Line Setup
    • Removed Luma Examples; Function integrated
  • 09.01.2019
    • Bugfixing WLAN
    • Contrast Control Tutorial with GPIO-Button-Control
  • 05.01.2019
    • Contrast Control added
  • 04.01.2019
    • WiFi-Signal
    • Monospaced Font
    • New Track View
    • Play bar 0 - 100%
  • 01.01.2019
    • Shutdown Image
  • 30.12.2018
    • Added Text scrolling
    • Added Tracknr.
    • New Screens optimized
  • 29.12.2018
    • Python 3 Support
    • New Screens
    • Setup Bugfixes

About

oled_phoniebox

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published