GithubHelp home page GithubHelp logo

europi's Introduction

EuroPi

Put a Pi in your Eurorack! Hackaday.io Project

Hardware

Nothing fancy, just a regular 128x32 SSD1306 OLED i2c display and a 24 click (forgot what the right term is) rotatory encoder with switch.

So in my configuration, the two outer pins (on the 3 pins side) of the rotatory encoder goes to GPIO 14 and 15, and one of the swich pin goes to GPIO 4. The middle pin and the other of the switch pin goes to ground. We're talking about BCM GPIO mode here.

OLED display is wired with SDA going to BCM 2 and SCL goes to BCM 3.

If you need a pinout reference.

Note Depending on the type of encoder you get, you might have the different rotation than mine. In this case, simply buy the correct one. OK, I'm joking, just change the code in encoder_ev function inside menu.py (swap self.prev() & self.next(), FYI).

Install

Dependencies

Uhh I forgot the details, but you need to get your OLED working first.

Check out the tutorial here and set it up!

After you get that working with their examples, you can clone this repo and run it.

Run

python3 main.py

License

MIT

BTW, I don't know what to do if I copy and modifies someone else's code (GPLv3, I think) that has a different license. If you know better, please tell me. Thanks!

There's also a font, DejaVuSans I'm distributing here. Hope that's okay under their license. Again, please tell me if you know better.

europi's People

Contributors

applefreak avatar

Stargazers

 avatar  avatar

Watchers

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