bschwind / walkie-talkie

An ESP32-based walkie-talkie for communicating on bicycle/motorcycle rides
10 stars 2 forks source link

walkie-talkie

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

Clone

Dependencies

Parts and Pinouts

Parts

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