Skip to content

Running the Demo on ESP32-S3 SAT1 #27

@daKmoR

Description

@daKmoR

hey 👋

sorry for all the issues but I feel stuck 🙈
now not even the demo works...

I'm trying to get it running on the ESP32-S3 based SAT1 Dev Kit
https://futureproofhomes.net/products/satellite1-pcb-dev-kit

What did I do

git clone https://github.com/livekit/client-sdk-esp32.git
cd client-sdk-esp32
git submodule init
git submodule update --recursive
cd examples/voice_agent/

Append my custom IDF settings

👉 examples/voice_agent/sdkconfig.defaults

CONFIG_CODEC_BOARD_TYPE="ESP32_S3_SAT1"
CONFIG_NETWORK_MODE_WIFI=y
CONFIG_WIFI_SSID="xxx"
CONFIG_WIFI_PASSWORD="xxx"
CONFIG_LK_USE_SANDBOX=y
CONFIG_LK_SANDBOX_ID="xxx"
CONFIG_LK_SANDBOX_ROOM_NAME=""
CONFIG_LK_SANDBOX_PARTICIPANT_NAME=""
CONFIG_DEFAULT_PLAYBACK_VOL=85

Append a custom board config

👉 components/third_party/esp-webrtc-solution/components/codec_board/board_cfg.txt

Board: ESP32_S3_SAT1
i2c: {sda: 5, scl: 6}
i2s: {mclk: 16, bclk: 8, ws: 7, dout: 9, din: 15}
out: {codec: DUMMY, pa: -1, use_mclk: 1, pa_gain: 6}
in:  {codec: DUMMY}

Given the following info from the Hardware Devs

Image

and the schematics at https://github.com/FutureProofHomes/Satellite1-Hardware/blob/main/hat/rev6.1hatSCH.pdf

I somewhat think that the config could be correct.

So let's continue

cd examples/voice_agent/
idf.py build
idf.py flash monitor

but I get "nothing" once flashing is done the last view lines are

I (583) octal_psram: BurstLen     : 0x01 (32 Byte)
I (587) octal_psram: Readlatency  : 0x02 (10 cycles@Fixed)
I (593) octal_psram: DriveStrength: 0x00 (1/

So what am I doing wrong? are the Logs going somewhere else? I tried adding a log at the first line of main and even that was not visible 🤔
I do flash via USB-C e.g. via USB mode: USB-Serial/JTAG and I wanna see the logs there

PS: I have an agent running and I tested it by joining a room using the LiveKit Agents Playground
PPS: I also tried without a custom board config or without ANY change at all (besides the settings for wifi, sandbox) but the demo never connects to a room
PPPS: I joined the slack channel as well - maybe someone can point me in the right direction 🤞

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions