Search models, users, collections, and posts

Desk Buttons

IP Report

Print Profile(1)

All
P1S
A1 mini
X1
X1E
H2S
X1 Carbon
H2D
H2D Pro
A1
P1P
P2S
H2C
X2D
A2L

0.08mm layer, 2 walls, 15% infill
0.08mm layer, 2 walls, 15% infill
Designer
3.6 h
2 plates
5.0(1)

Open in Bambu Studio
Boost
51
138
2
1
27
8
Released 

Description

Desk Buttons


Home Assistant compatible buttons for your desk. 
Whether you want to turn on a light, or close a blind, you can combine esphome + physical buttons to make automating anything you want as simple as pressing a button. 

 

 

 



Hardware Required
 


(Some of the following links are amazon affiliate links). 

  • Any esp32/esp8266 compatible microcontroller. esp32-s3-zero is recommended
  • 5 Cherry MX style buttons: amazon
  • 28 AWG Silicone Wire: amazon
     

     

KeyCaps Generator
 

Keycaps were generated using this python code. All keycaps are generic domed shaped, with the icons being added in Bambu Studio 


https://github.com/nicola-sorace/custom-keycap-generator

 



Firmware
 



Install esphome using the web interface.

Add binary sensors using yaml. 


Esphome config

```binary_sensor:

- platform: gpio

pin:

number: GPIO1

mode: INPUT_PULLUP

inverted: true

name: "Button 1"

id: button_1

- platform: gpio

pin:

number: GPIO2

mode: INPUT_PULLUP

inverted: true

name: "Button 2"

id: button_2

- platform: gpio

pin:

number: GPIO3

mode: INPUT_PULLUP

inverted: true

name: "Button 3"

id: button_3

- platform: gpio

pin:

number: GPIO4

mode: INPUT_PULLUP

inverted: true

name: "Button 4"

id: button_4

- platform: gpio

pin:

number: GPIO5

mode: INPUT_PULLUP

inverted: true

name: "Button 5"

id: button_5
```

Comment & Rating (2)

(0/1000)

License

This user content is licensed under a Standard Digital File License.

You shall not share, sub-license, sell, rent, host, transfer, or distribute in any way the digital or 3D printed versions of this object, nor any other derivative work of this object in its digital or physical format (including - but not limited to - remixes of this object, and hosting on other digital platforms). The objects may not be used without permission in any way whatsoever in which you charge money, or collect fees.