Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temp + / - via Hardware Buttons #186

Open
cottec opened this issue Jan 24, 2022 · 6 comments
Open

Temp + / - via Hardware Buttons #186

cottec opened this issue Jan 24, 2022 · 6 comments

Comments

@cottec
Copy link
Contributor

cottec commented Jan 24, 2022

To allow easy adjustment of temperature for switching between different coffee roasts without a smartphone it would be handy to have hardware controlled buttons on free pins using the ESP32 built in pull up/down

pinMode(pin, INPUT_PULLUP);
pinMode(pin, INPUT_PULLDOWN);

pins could be 5&17 (next to each other on the board an unused for pidonly)
if routed outside the machine, combined with a display, it's ground connection might be ideal for using pull-down as the positive input could be +5V which wouldn't be healthy for the board

@endym
Copy link
Contributor

endym commented Jan 26, 2022

In fact I've implemented such feature already. This branch is running fine in my Rancilio Silvia E with a NodeMCU. Here you can see a short video of (not the latest) display menu.
However, this branch is based on the current master (version 2.9.4). The current "next version" development branch differs very much meanwhile, so an integration will require some effort.

@fiendie
Copy link
Member

fiendie commented Feb 9, 2023

This should probably be closed as the new hardware only has support for rotary encoders.

@endym
Copy link
Contributor

endym commented Feb 10, 2023

I do not know the new hardware, but wondering that no two GPIOs are free?

@fiendie
Copy link
Member

fiendie commented Feb 10, 2023

The rotary encoder uses 3, so in theory those could be repurposed.

@SphaeroX
Copy link
Contributor

Pin 14 and 12 free.

These two pins are so called touchpins which means you can make an input by touching them.

Here is a video: https://youtu.be/4YY7TutRrQE?t=196

With this you could also build a control where you can select left and right and if you hold the right button longer you can set a value (flashes then).

@LoQue90
Copy link
Member

LoQue90 commented Dec 24, 2023

there is a wip PR #419 to add a menu on the display with a rotary encoder. It´s allready posible to change the temperature with this menu. Try it out. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants