Тёмный

Arduino Audio Delay Project. Full design and programming (part 1) 

BW's Technoshed
Подписаться 1,3 тыс.
Просмотров 990
50% 1

Sponsored by PCBWay.com
This is a long-form project video with all circuit and firmware work developed on camera.
The project has examples of using an Arduino Nano for analogue input and digital output, performing digial to analogue conversion, using SPI and level shifting audio.
In this, the first part, I build a circuit with he Nano that performs some elementary audio sampling, a very small but measurable delay and plays that audio back at low fidelity.
Later in the project I intend to improve the sampling, regulate the playback, filter the audio properly, extend and make configuratble the delay and build a user interface.
Let me know down below if you like these long-format tutorial-style videos, or prefer a simple brief-and-show-results approach.
PCBWay offer PCB manufacture, CNC machining, sheet metal fabrication, 3D printing and injection moulding and check out their new price reduction on 4 and 6 layer boards here: www.pcbway.com/blog/News/Big_...
0:00 Welcome & PiStormST update
1:26 Introduction
3:55 Components & initial circuit design
19:27 Initial breadboarding
24:38 PCBWay Price Reductions!
25:30 Firmware: programming a sine wave
32:31 Firmware: driving the SPI DAC
38:42 Testing the output on on the scope
41:32 Firmware: sampling input with an analogRead()
43:31 Testing with audio input
45:35 Testing with audio output too
48:09 Theory: adding a delay
49:52 Firmware: adding a delay
55:16 Measuring the sampling frequency
56:42 Testing the delay
59:05 Summing up

Наука

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

 

22 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 4   
@RoundSparrow
@RoundSparrow Год назад
I liked the long format and hope to see part 2.
@akkudakkupl
@akkudakkupl Год назад
Did similar thing a while ago for guitar 🙂 Maximum delay wasn't very long, but I added delay time modulation and depending on settings got really nice sounding chorus. I used a counter PWM channel at 62kHz as the DAC and was sampling at 4 times slower clock than the PWM signal. Worked surprisingly well with a 3 pole filter at 4kHz. I did my own custom analog read routine and 'overclocked' the ADC to get faster conversion time. In the ISR I was starting a conversion, doing some math to not waste CPU time waiting, read the register and finished doing math.
@thetechnoshed
@thetechnoshed Год назад
Thanks for the description. Not sure quite where I’ll go with the design next, so that’s really interesting. I do have a ‘proper’ ADC around here somewhere and an I2C audio mixer. It could get complex 😅
@akkudakkupl
@akkudakkupl Год назад
@@thetechnoshed theoreticaly it would be possible to do convolution effects, but I didn't try 🙂
Далее
Arduino and Audio: Getting Started | Simon Hutchinson
25:23
Mega ST 4: Spoiled to Splendid?
53:23
Просмотров 562
СПАЛИЛА МАМЕ СТАРШУЮ СЕСТРУ
00:23
Fixing the STFM
24:37
Просмотров 1,6 тыс.
Adobe is horrible. So I tried the alternative
25:30
Просмотров 700 тыс.
How To Design and Manufacture Your Own Chip
1:56:04
Просмотров 84 тыс.
Breadboarding tips
20:16
Просмотров 424 тыс.
Click Snap | Introducing New Feature of Click boards!
6:01
Open Source Analog ASIC design: Entire Process
40:11
Просмотров 35 тыс.
Op-Amps  - Using Operational Amplifiers
44:21
Просмотров 274 тыс.
Это Xiaomi Su7 Max 🤯 #xiaomi #su7max
1:01
Просмотров 1,3 млн
КРУТОЙ ТЕЛЕФОН
0:16
Просмотров 6 млн