Тёмный

ESP32 and PCM3060 with Arduino Audio Tools 

NA5Y
Подписаться 4,3 тыс.
Просмотров 3,8 тыс.
50% 1

Опубликовано:

 

27 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 26   
@jeroldponko7168
@jeroldponko7168 Год назад
Ian, I hope you haven't abandoned your ESP32-A1S transceiver. I always look forward to viewing your videos. Thank you.
@na5y
@na5y Год назад
Not at all Jerry. Just ran out of ideas on the current board - so I'll probably have to rethink board design. I think I'll - Move the power supply away from the processor - Move the si5351 away from the audio circuitry More to come certainly and thank you for the comment
@rfdave3980
@rfdave3980 Год назад
I enjoy watching your channel. Thanks Ian 73
@na5y
@na5y Год назад
Thank you Dave - glad you enjoyed
@TheOleHermit
@TheOleHermit 3 месяца назад
Just finishing my 2nd T4 Laser Synth PCB, using the PCM3168 CODEC, because the CS42448 went EOL on me.
@m1geo
@m1geo Год назад
If you're making a PCB for this, add more decoupling to the codec, at least one cap per pin. Then I'd add a ferrite bead and series resistor to the 5V (and probably 3V3) to help keep the noise down!
@na5y
@na5y Год назад
Definitely - just trying a simple board to start with. I didn't even know if the PCM3060s I got from aliexpress would work! Thank you for the comment
@m1geo
@m1geo Год назад
​@@na5y Also a single point merging GND and AGND to reduce the analogue current loops! Fascinating series! I'm keen to try this on an Arm/STM32 dev board.
@na5y
@na5y Год назад
@@m1geo Thank you George - glad you are enjoying!
@arturb2996
@arturb2996 3 месяца назад
Great video! i have a board that uses this codec chip and would like to use an arduino to get the data output stream from it (just read it and send to the serial monitor on the pc). How would i do that? read dout pin any time the clock hits high?
@na5y
@na5y 3 месяца назад
Its unfortunately a bit more complicated than that. DOUT outputs an I2S bit stream and you really need the other I2S pins (LRCLK, MCLK, ...) to make sense of the stream. I have a separate video on I2S if you are interested here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-jvmejxsQzn4.html Assuming you can decode the bit stream it would likely be way too much data to output to your serial line. You could output samples - but not the whole stream. I hope this helps and thank you for the comment
@arturb2996
@arturb2996 3 месяца назад
​@@na5y Thank you! i will certainly watch this.
@antaf56
@antaf56 Год назад
Thank you Ian, always interesting solutions, i am following you!! Antonio
@na5y
@na5y Год назад
Thank you Antonio - for a long while I thought I wouldn't be able to get this one working. I didn't think showing multiple hours of things not working would be interesting though ;)
@antaf56
@antaf56 Год назад
@@na5y It is always interesting and useful, I have learnt much more from mistakes than succeses!!😊
@TheEmbeddedHobbyist
@TheEmbeddedHobbyist Год назад
Do you find with the eclipse IDE and the IDF etc it can't always find the includes and shows the red blocks on the right hand side, but compiles just fine so it must know where they are? I've tried everything i can find to get it to work but even when you lose the red warnings, they come back a little later. You might have hit the chip with a little ESD event, can happen at any time if you don't use a ESD mat and a strap.
@na5y
@na5y Год назад
Yes - I have it happen all the time - particularly if I include in the editor some code outside the project. I have found the "Rebuild Index" helps sometimes - but often I have to manually delete all the errors and remove the offending code from the editor. I do think ESD or heat caused the problem - or it could be the aliexpress chips aren't the greatest quality. Thank you for the comment TEH!
@TheEmbeddedHobbyist
@TheEmbeddedHobbyist Год назад
@@na5y i just leave the code as it is, it seems to be an index problem but does not affect the complier as it will fail on errors, and seems to ignore the rest. i think two parts of the IDE are not taking to each other. i expect the code complies correctly as it's being build outside of eclipse in a the esp provided complier. which has got its act together. Still trying to work out how to generate a new project with the esp8266, i have to use an example and then remove all the code except for my bit. can't seem to find a default blank template for it.
@na5y
@na5y Год назад
@@TheEmbeddedHobbyist It doesn't help me that I don't really know CMake or its ecosystem that well
@edgull_tlt
@edgull_tlt Год назад
Thank you. A very interesting topic. 73!
@na5y
@na5y Год назад
Thank you Ed - been meaning to try this for a while
@Seqwad
@Seqwad 5 месяцев назад
Question: In the datasheet of the PCM3060 It says that center voltage for input analog pins is 0.5 * Vcc -> 0.5 * 5V -> 2.5V. Does that mean that the input signal must be raised by 2.5V. So the final audio input signal should be from -0.5V to 4.5V? Sorry I am not a circut master.
@na5y
@na5y 5 месяцев назад
I remember wondering about that myself - but the sample circuit in the datasheet (page 39) shows a DC blocking caps on both of the audio inputs so I think its a mistake - i.e. you don't have to bias the input signal around 2.5V. Perhaps internally its raised to 0.5 * Vcc
@Seqwad
@Seqwad 5 месяцев назад
@@na5y deam that was a quick answer...Thanks.
@JocPlus
@JocPlus Год назад
Good job, interesting topic :)
@na5y
@na5y Год назад
Thank you Jose!
Далее
Simple SDR with Arduino Audio Tools
27:39
Просмотров 10 тыс.
Product Showcase: SparkFun Audio Codec Breakout
13:14
HDMI vs  I2S Audio
4:05
Просмотров 16 тыс.
Playing around with the ESP32 A1S Module
20:00
Просмотров 8 тыс.
Phase Shifting with DSP using the Teensy
24:24
Просмотров 15 тыс.
Some si5351 Hackery and the Tayloe at 150MHz - FAIL!!
21:46
ESP32 Sound - Working with I2S
46:04
Просмотров 336 тыс.