bitluni / ESP32CompositeVideo

343 stars 62 forks source link

esp32 s3 + external dac #31

Open Cheapy-D opened 2 years ago

Cheapy-D commented 2 years ago

I was wondering if I could use a external dac since the esp32 s3 doesn't have one. like this one from adafruit: https://www.adafruit.com/product/935 ? I already have it I just need to know how if possible

UncleRus commented 2 years ago

This DAC is too slow. It supports up to 3.4MHz i2c clock, but ESP32 i2c driver only supports 1MHz max. To set output voltage on it, you need to write 4*9 = 36bits. This gives a maximum theoretical analog voltage update rate of approximately 27 kHz (actually even less).

willfurnell commented 1 year ago

Would there be a DAC that would work do you think? I also have an S3 and would be interested in getting this working