Skip to content

An ESP32-based walkie-talkie for communicating on bicycle/motorcycle rides

Notifications You must be signed in to change notification settings

Formula-Electric-Belgium/walkie-talkie

 
 

Repository files navigation

walkie-talkie

An ESP32-based walkie-talkie for communicating on bicycle/motorcycle rides

Clone

  • Use the --recursive flag when cloning to pick up the ESP-IDF

Dependencies

  • ESP-IDF Tools
    • cd esp-idf
    • export IDF_GITHUB_ASSETS="dl.espressif.com/github_assets"
    • ./install.sh

Parts and Pinouts

Parts

  • 1x ESP32 board
  • 1x INMP441 I2S MEMS microphone
  • 1x PCM5102A I2S DAC

Mic Wiring

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)

Speaker Wiring

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)

Configure

$ make menuconfig

or

$ idf.py menuconfig

Build

$ make -j8 # Or pick your favorite parallel number

or

$ idf.py build

Run (and see serial output)

$ make -j8 flash monitor

or

$ idf.py flash monitor

Monitor Serial Output

$ make monitor

or

$ idf.py monitor

Exit with Ctrl + ].

Erase Flash

$ make erase_flash

or

$ idf.py erase-flash

Code Format


clang-format is used for code formatting.

$ make format

About

An ESP32-based walkie-talkie for communicating on bicycle/motorcycle rides

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 90.1%
  • Makefile 5.7%
  • CMake 4.2%