File tree Expand file tree Collapse file tree 2 files changed +163
-0
lines changed
Expand file tree Collapse file tree 2 files changed +163
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ title : Lilka
3+ date-published : 2025-12-05
4+ type : misc
5+ standard : global
6+ board : esp32
7+ project-url : https://docs.lilka.dev/
8+ made-for-esphome : false
9+ difficulty : 2
10+ ---
11+
12+ ESP32-S3 based modular handheld device designed as an educational and gaming
13+ open-hardware console (hardware v2.3). It is supplied as a self-assembly kit
14+ and features a 1.69" 280×240 IPS display (ST7789), physical navigation buttons,
15+ an internal speaker with I2S audio, microSD support, USB-C power, and expandable
16+ GPIO for custom projects.
17+
18+ ## Product Images
19+
20+ ![ Lilka] ( ./lilka.jpeg )
21+
22+ ## GPIO Pinout
23+
24+ | Pin | Function |
25+ | -----| ----------|
26+ | 46 | Display power (GPIO output) |
27+ | 1 | I2S LRCLK for speaker |
28+ | 42 | I2S BCLK for speaker |
29+ | 2 | I2S DOUT — audio output |
30+ | 3 | ADC input for battery voltage |
31+ | 18 | SPI CLK for display |
32+ | 17 | SPI MOSI for display |
33+ | 15 | ST7789 DC |
34+ | 7 | ST7789 CS |
35+ | 38 | Button Up |
36+ | 41 | Button Down |
37+ | 39 | Button Left |
38+ | 40 | Button Right |
39+ | 5 | Button A |
40+ | 6 | Button B |
41+ | 10 | Button C |
42+ | 9 | Button D |
43+ | 4 | Button Start |
44+ | 0 | Button Select |
45+
46+ Notes: GPIO46 and GPIO16 must be set HIGH - the former controls display power,
47+ the latter drives display backlight and button power rail.
48+
49+ ``` yaml
50+ esphome :
51+ name : lilka
52+ esp32 :
53+ board : esp32-s3-devkitc-1
54+ framework :
55+ type : esp-idf
56+ version : recommended
57+ flash_size : 16MB
58+ psram :
59+ mode : octal
60+ speed : 80MHz
61+ wifi :
62+ ssid : !secret wifi_ssid
63+ password : !secret wifi_password
64+ ap :
65+ ssid : " Lilka Fallback Hotspot"
66+ password : " lilka"
67+ captive_portal :
68+ logger :
69+ api :
70+ ota :
71+ spi :
72+ clk_pin : 18
73+ mosi_pin : 17
74+ display :
75+ - platform : mipi_spi
76+ model : ST7789V
77+ id : my_display
78+ dc_pin : 15
79+ cs_pin : 7
80+ rotation : 270
81+ invert_colors : true
82+ color_order : BGR
83+ pixel_mode : 16bit
84+ dimensions :
85+ width : 280
86+ height : 240
87+ offset_width : 20
88+ auto_clear_enabled : false
89+ i2s_audio :
90+ - id : i2s_out
91+ i2s_lrclk_pin : GPIO1
92+ i2s_bclk_pin : GPIO42
93+ speaker :
94+ - platform : i2s_audio
95+ id : lilka_speaker
96+ dac_type : external
97+ i2s_audio_id : i2s_out
98+ i2s_dout_pin : GPIO2
99+ channel : mono
100+ sample_rate : 16000
101+ bits_per_sample : 16bit
102+ binary_sensor :
103+ - platform : gpio
104+ pin :
105+ number : 38
106+ mode : INPUT_PULLUP
107+ inverted : true
108+ id : button_up
109+ - platform : gpio
110+ pin :
111+ number : 41
112+ mode : INPUT_PULLUP
113+ inverted : true
114+ id : button_down
115+ - platform : gpio
116+ pin :
117+ number : 39
118+ mode : INPUT_PULLUP
119+ inverted : true
120+ id : button_left
121+ - platform : gpio
122+ pin :
123+ number : 40
124+ mode : INPUT_PULLUP
125+ inverted : true
126+ id : button_right
127+ - platform : gpio
128+ pin :
129+ number : 5
130+ mode : INPUT_PULLUP
131+ inverted : true
132+ id : button_a
133+ - platform : gpio
134+ pin :
135+ number : 6
136+ mode : INPUT_PULLUP
137+ inverted : true
138+ id : button_b
139+ - platform : gpio
140+ pin :
141+ number : 10
142+ mode : INPUT_PULLUP
143+ inverted : true
144+ id : button_c
145+ - platform : gpio
146+ pin :
147+ number : 9
148+ mode : INPUT_PULLUP
149+ inverted : true
150+ id : button_d
151+ - platform : gpio
152+ pin :
153+ number : 4
154+ mode : INPUT_PULLUP
155+ inverted : true
156+ id : button_start
157+ - platform : gpio
158+ pin :
159+ number : 0
160+ mode : INPUT_PULLUP
161+ inverted : true
162+ id : button_select
163+ ` ` `
You can’t perform that action at this time.
0 commit comments