Code Monkey home page Code Monkey logo

knobby's Introduction

knobby

๐ŸŽต A little remote to remind you that there's a lot of music out there.

  • Spin the knob and explore across 5,000 microgenres and 150 countries with playlists from everynoise.com and your own library
  • Control playback and see what's playing on any Spotify Connect device
  • Switch between multiple Spotify accounts and devices

demo of genre selection

knobby with coin knobby side view

Hardware

  • LilyGO TTGO T-Display ESP32 board with ST7789 240x135 display
  • Bourns PEC11R-4215F-S0024 rotary encoder
  • MakerFocus 1000mAh LiPo battery
  • 3D printed case and knob

Connect the rotary encoder A and B pins to GPIO 12 and 13 and the button pin to GPIO 15.

Setup

  1. Register an application for the Spotify API and configure http://knobby.local/callback as a redirect URI
  2. Copy src/settings.h.example to settings.h and fill in your API and wi-fi credentials
  3. Build and upload with PlatformIO: platformio run && platformio run --target upload && platformio run --target uploadfs
  4. Visit http://knobby.local to authorize your Spotify account

Usage

  • Rotate and click the knob to select
  • Hold and rotate the knob to switch menus and sort modes
  • Hold the knob for a couple seconds for a random genre
  • Visit http://knobby.local/authorize to add additional Spotify accounts

License

All code is released under the MIT license. The case design is released under the CC-BY-NC 4.0 license.

Credits

knobby's People

Contributors

quadule 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.