Giter Site home page Giter Site logo

peridot's Introduction

peridot

RP2040 firmware for Peridot - a tactile Decent Espresso DE1 interface

What is Peridot?

Peridot is a device for the Decent Espresso DE1 that enables simple control (Espresso, Steam, Flush, Hot Water) with two buttons - a major tactile and accessibility improvement to the Decent experience. Additionally, Peridot supports a ring of 24 RGB (NeoPixel compatible) LEDs for visual interaction feedback, as well as display pressure and flow while pulling a shot of espresso.

How does it work?

Peridot sits between the DE1's main MCU and its BLE module. It relays messages between them as if it wasn't even there, but can inject commands - like "Start Espresso!" The DE1 responds as if the command came from the tablet through the BLE interface. Peridot also listens in to the messages to extract information like the pressure and flow during a shot, so it can display them on pretty LEDs.

Why? What about the keyboard_control plugin in the Decent app?

I wrote the keyboard_control plugin to go along with my first tactile controller, which acted as a BLE keyboard for the Decent's Android tablet. The problem is, the tablet is very prone to dropping BLE packets. This would lead to frustrating behaviors - the DE1 not responding to a tactile interaction with the controller, or worse! Occasionally the key-release packet would be missed, and the DE1 would get spammed with endless commands! I incorporated some simple debouncing in the plugin to reduce the impact of these events, but it could never be perfect.
On top of that, the connection between the DE1 and its tablet can also be flaky. You can't always count on pressing the stop button and the DE1 actually stopping. Newer DE1s with the touch controller bypass this flakiness, but I want something tangible! Something I can use without thinking. Something that feels good. To me, a good volume knob will always feel better than a touch interface. And so that first tactile controller evolved into Peridot.

peridot's People

Contributors

vjapolitzer avatar

Watchers

 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.