An ESP32-based walkie-talkie for communicating on bicycle/motorcycle rides
- Use the
--recursive
flag when cloning to pick up the ESP-IDF
- ESP-IDF Tools
cd esp-idf
export IDF_GITHUB_ASSETS="dl.espressif.com/github_assets"
./install.sh
- 1x ESP32 board
- 1x INMP441 I2S MEMS microphone
- 1x PCM5102A I2S DAC
ESP32 | INMP441 |
---|---|
3v3 | VDD |
GND | GND |
GPIO 32 | SCK (bit clock) |
GPIO 25 | WS (word select) |
GPIO 33 | SD (or is it SO?) (data pin) |
GND | L/R (left/right select) |
ESP32 | PCM5102A |
---|---|
3v3 | VIN |
GND | GND |
GPIO 4 | BCK (bit clock) |
GPIO 5 | LCK (word select) |
GPIO 18 | DIN (data pin) |
GND | SCK (left/right select) |
$ make menuconfig
or
$ idf.py menuconfig
$ make -j8 # Or pick your favorite parallel number
or
$ idf.py build
$ make -j8 flash monitor
or
$ idf.py flash monitor
$ make monitor
or
$ idf.py monitor
Exit with Ctrl + ]
.
$ make erase_flash
or
$ idf.py erase-flash
clang-format
is used for code formatting.
$ make format