Git Product home page Git Product logo

inkkeys's Introduction

inkkeys

Details and instructions can be found on https://there.oughta.be/a/macro-keyboard

In contrast to most of my other projects, I decided to put this into its own repository as it is slightly more complex and I am hoping for community contributions.

If you have pull-requests, bug reports or want to contribute new case designs, please do not hesitate to open an issue. For generic discussions, "show and tell" and if you are looking for support for something that is not a problem in the code here, I would recommend r/thereoughtabe on reddit.

Common problems

Display revision 2

Apparently, the original design used revision 1 of the display, while many newly ordered version are revision 2. There are a few differences and thankfully, Corky402 made a good list of required changes on Reddit. Here is an excerpt of the original post for reference:

If you want to test your display hooked to a Arduino or Raspberry Pi you need to run examples for the epd2in9_V2 not the epd2in9.

To get this awesome project working there is no need to make any alterations to the PCB, just simply plumb the Waveshare up on the connectors as I describe, not as per Sebastian's original post.

PCB Pin Waveshare wiring loom

+5v Grey

GND Brown

DIN Blue

CLK Yellow

CS Orange

DC Green

RST Purple

BUSY White

In short you are swapping the RST & BUSY lines on the PCB.

Next, go to your Arduino sketch. This is for the hardware-test script. Enable line numbering and go to line 43 which reads -

GxEPD2_290 display(/CS=/ PIN_CS, /DC=/ PIN_DC, /RST=/ PIN_RST, /BUSY=/ PIN_BUSY);

Change this to -

GxEPD2_290_T94 display(/CS=/ PIN_CS, /DC=/ PIN_DC, /RST=/ PIN_RST, /BUSY=/ PIN_BUSY);

Then go to settings.h

Lines 2 - 7 need to be altered so change that section of code as follows -

const byte PIN_DIN = 16;

const byte PIN_CLK = 15;

const byte PIN_CS = 19;

const byte PIN_DC = 18;

const byte PIN_RST = 10;

const byte PIN_BUSY = 14;

The sketch will then compile and when uploaded to the board you will get the Waveshare drawing all sorts of Austin Powers time machine circles that make your eyes spin!

Gallery

Original design Original design as presented on there.oughta.be with the 3d printing files from this repository.

Original design Design by John, Mat and Roland from the UK. The case was CNC milled from beech with a similarly machined clear perspex lid.

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.