Giter Club home page Giter Club logo

ipodrpi's Introduction

ipodrpi

Classic iPod mod with Raspberry Pi Zero and color screen. Suitable for OSMC and plain Raspbian install.

Install

OSMC:

  • Burn SD card with Raspberry Pi Imager (OSMC PI 0/1)
  • Start Raspberry with SD inside, go through initial OSMC, (with hdmi display and keyboard) connect to WIFI and ensure SSH is on.
  • SSH to RPi from computer or on RPi go to Power > Exit and smash ESC key on keyboard until you get into shell. Default credentials: osmc : osmc

RASPBIAN:

  • Burn SD card with Raspberry Pi Imager > Raspberry Pi OS (32-bit)
  • Put empty file named "ssh" on SD
  • Fill your WIFI name and password in wpa_supplicant.conf and put it on SD
  • Insert your SD in RPi and power it on
  • SSH to RPi from computer. Default credentials: pi:raspberry

Type 3 commands:

wget https://raw.githubusercontent.com/syproduction/ipodrpi/main/cli.sh
sudo chmod +x ./cli.sh
./cli.sh

Ssh on computer (Mac) may refuse to connect if you were previously connecting to this RPi, then:

rm ~/.ssh/known_hosts

After all install please do

sudo raspi-config

And select Auto Login to Command Line, expand filesystem

Caution

Answer honestly on script question OSMC? Because on OSMC we need to disable OSMC repository to sucessfully APT-GET DIST-UPGRADE. When OSMC repository enabled, it fails with upgrading libc6.

What gives

Script will install everything you need to get Raspberry Pi Zero W working with 2 inch Waveshare 320x240 display and iPod's clickwheel.

  • Clickwheel Keyboard
  • Scroll CCW = KEY_UP
  • Scroll CW = KEY_DOWN
  • LEFT = KEY_PREVIOUSSONG
  • RIGHT = KEY_NEXTSONG
  • UP = KEY_ESC
  • DOWN = KEY_PLAYPAUSE
  • CENTER = KEY_ENTER

Whats inside

  1. Disables OSMC repository of APT because it gives errors with libc6. You can add it later to /etc/apt/sources.list (deb http://apt.osmc.tv buster main)
  2. Apt update & upgrade
  3. Waveshare 2 inch 320x240 FBCP driver
  4. PiGPIO
  5. wiringPi
  6. click.c + pigpio abomination
  7. CMUS
  8. ncmpcpp

Wiring

Screen Shot 2021-10-19 at 12 40 11 PM

SpotifyPod_schematicsclickwheel-1536x1242

Preview

IMAGE ALT TEXT HERE

IMG_20211018_234933

Mentions

ipodrpi's People

Contributors

syproduction avatar anilkarip avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.