Skip to content
Software for a ESP8266 based walkie talkie radio (doesn't work very well)
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tools Audio output, power button May 31, 2018
Makefile
README.md
alaw.c
alaw.h
audio_task.c
audio_task.h
fast_adc.c
fast_adc.h Basic audio sending May 3, 2018
sigma_delta.c Audio output, power button May 31, 2018
sigma_delta.h Audio output, power button May 31, 2018
user_main.c Add echo cancellation and noise removal Jul 16, 2018

README.md

ESP8266 Walkie Talkie

This is a somewhat failed attempt to make a ESP8266 based two-way radio. It fails due to ESP8266 causing a lot of radio noise in the audio signals.

Files

  • alaw.c: Implementation of A-law audio compression algorithm.
  • audio_task.c: Main logic for audio capture and playback and network connection
  • fast_adc.c: Fast ADC implementation (up to ~20kHz samplerate)
  • sigma_delta.c: Sigma-delta modulation for audio playback
  • user_main.c: Startup logic, volume control and wifi passwords.

Building

To build the firmware, you need https://github.com/SuperHouse/esp-open-rtos and https://github.com/pfalcon/esp-open-sdk/ installed.

Make sure that esp-open-sdk is in your PATH environment variable.

If needed, edit ESP_OPEN_RTOS_DIR in Makefile.

Then just type make to build or make flash to also program the ESP8266.

Connections

See http://essentialscrap.com/esptalkie/ for more details, but for basic testing you can connect:

  • GPIO3 / RXD to speaker
  • TOUT / ADC0 to output from microphone amplifier (0..1V voltage level)

Testing with PC

There is a script in tools/listen.py that can act as the other end of the connection, playing back sound using PC speakers.

You can’t perform that action at this time.