Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

AES3 digital audio interface for ESP32

License

NotificationsYou must be signed in to change notification settings

KarstenHervoeHansen/AES3_for_ESP32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This library will utilize the SPI output of the ES321 chip to form a digital audio interface according to EBU tech 32502. The code has been testet on theLilyGO TTGO-T display3 and the ESP32 D1 R32 UNO from Wemos4.

Development Environment

The code has been developed in Microsoft Visual Studio VS2019 with the Visual Micro5 extension but it is fully compatible with the Arduino IDE6. Tested with version 1.8.9Installation of arduino IDE and the TTGO-T can be done by following the procedure described at Joen's code snippets pages3 and the development board can be bought from various sites on the internet.Visual Studio can be downloaded directly from Microsoft's homepage7;

Library Installation Guide

Download the library in zip format.

Arduino

Open the dropdown menu Sketch and pick Include Library, Add zip library and select the file in the dowload directory.

Board Manager

Search for ESP32 and install esp32 by Espressif Systems version 3.0.5

Visual Studio

Open AddLibrary from the task bar and install library from zip and re-scan under vMicro-General.

Pin Configuration

In the AES.h the digital audio pins are assigned and the output samplerate. Please note. The assigned samplerate is two times the audio samplerate because of the bi-phase mark encoding2. GPIO_NUM_26 is the serial data output and leave the other pins un-connected. A FrameFlag is defined to pin 17 but any pin can be used.

Output Impedance

The specification calls for a ballanced 300 Ohms or 50 Ohms un-ballanced out. The output impedance of the native pin of the ESP32 is approximately 10 Ohms so adding an external resistor of 39 Ohms in series with the pin will satisfy the requirement for impedance matching and protection of the ESP32 output

Examples

The sinetone generator can be found in the example/basic folder or in the dropdown Example list under AES3.

Testing

The sinetone generator has been tested with a FFT Analyzer8 on the DK-Technohogies9 DKT7.

ToDo List

  • Channel Status

Contribution

Please contact me if you like to contribute10.

Revision

Updated Oct.10. 2024 to be compatible with esp32 by Espressif Systems version 3.0.5

Footnotes

  1. API reference ESP32ESPRESSIF.

  2. EBU StandardTech 3250-E 2004.2

  3. Application example on Joen's code snippetsTTGo-T.2

  4. Pinout for the Wemos D1 R32 [https://bpb-ap-se2.wpmucdn.com/blogs.auckland.ac.nz/dist/9/698/files/2021/08/2_Pinout_D1_R32.png]

  5. Visual Micro (https://www.visualmicro.com/).

  6. Arduino IDE (https://www.arduino.cc/en/software).

  7. Visual Studio (https://visualstudio.microsoft.com/downloads).

  8. Fast Fourier transform (https://en.wikipedia.org/wiki/Fast_Fourier_transform).

  9. DK-Technologies (https://www.hansens.dk/);

  10. Contact: Karsten Hervoe Hansenkh@hansens.dk

About

AES3 digital audio interface for ESP32

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp