Hey folks,
So after getting one of these Wemos S3 Mini Pro, I had to install ESPHome!
This is a really cool board with lots of peripherals, a nice price and an interesting full-color silkscreen.
For those looking to do the same, here is a starting point that I’m using…
There are a few problems however:
- Initially I had it working with ESP-IDF, however I started having some weird compile issues, and didn’t spend too much time investigating.
- The matching
lolin_s3_mini
doesn’t seem to be supported with Arduino framework. Just using a generic ESP32-S3 for now… (though I guess it’s missing PSRAM?) - It’s not using the IMU (QMI8658C), since I didn’t find an example of it working with esphome.
- Also not using the IR Led, though this would be easy to do.
esphome:
name: "s3-mini-pro"
friendly_name: S3_Mini_Pro
platformio_options:
board_build.flash_mode: dio
on_boot:
then:
# Turn on backlight and power to neopixel
- output.turn_on: backlight_output
- output.turn_on: neopixel_power
esp32:
board: esp32-s3-devkitc-1
# board: lolin_s3_mini
variant: esp32s3
framework:
type: arduino
# type: esp-idf
# version: 5.2.1
# platform_version: 6.8.1
logger:
api:
wifi:
ap: {}
ota:
- platform: esphome
# Buttons
binary_sensor:
- platform: gpio
name: "Button - Left"
pin:
number: GPIO0
inverted: true
mode:
input: true
pullup: true
on_press:
then:
- light.turn_on:
id: neopixel
red: 1
green: 0
blue: 0
- platform: gpio
name: "Button - Middle"
pin:
number: GPIO47
inverted: true
mode:
input: true
pullup: true
on_press:
then:
- light.turn_on:
id: neopixel
red: 0
green: 1
blue: 0
- platform: gpio
name: "Button - Right"
pin:
number: GPIO48
inverted: true
mode:
input: true
pullup: true
on_press:
then:
- light.turn_on:
id: neopixel
red: 0
green: 0
blue: 1
# WS2812 LED
# PIN GPIO07 needs to be HIGH so it gets power
light:
- platform: esp32_rmt_led_strip
rgb_order: RGB
id: neopixel
pin: GPIO08
num_leds: 1
rmt_channel: 0
chipset: ws2812
name: "Neopixel"
# Backlight and WS2812 Power Supply
output:
- platform: gpio
pin: GPIO07
id: neopixel_power
- platform: gpio
pin: GPIO33
id: backlight_output
spi:
clk_pin: GPIO40
mosi_pin: GPIO38
display:
- platform: ili9xxx
id: disp
dimensions:
height: 128
width: 128
offset_height: 1
offset_width: 2
model: st7789v
data_rate: 80MHz
cs_pin: GPIO35
dc_pin: GPIO36
reset_pin: GPIO34
invert_colors: true
transform:
mirror_x: true
mirror_y: true
show_test_card: true
If anybody got a better config with esp-idf fully working, let me know!
References: