Skip to main content

Features

The buttons of the Kode Dot are distributed between a directional pad of four buttons and two independent buttons. With these buttons you can navigate through kodeOS, control the state of the ESP32-S3 and turn the device on or off.

Connection diagram

All buttons are connected to the IO expander, except for the top button that is connected directly to the ESP32-S3. In addition, all have a physical pull-up resistor. The connection of the buttons is as follows:
See IO expander to learn how the IO expander works.
The top button is connected to GPIO0, to control the BOOT state of the ESP32-S3.

Arduino

ESP-IDF

Example code

With this code you can check the functionality of the buttons. Connect the Kode Dot to the serial monitor and depending on which button you press, you will see a message in the monitor.
buttons_check.ino

Download examples

You can test the example codes using the Arduino IDE or the ESP-IDF IDE or download the codes in our drive: Examples using the buttons