Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 14:56 25 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : PicoMiteVGA - sound out

Author Message
PEnthymeme

Regular Member

Joined: 27/12/2023
Location: United Kingdom
Posts: 42
Posted: 03:43pm 15 May 2024
Copy link to clipboard 
Print this post

Afternoon all

In my attempt to build a countdown timer (LEDs sorted) - I am moving onto the audio aspect.   The plan is for it to "tick" as it counts down and then play an "alarm".  

I am working using a 1second wav file of the "tick-toc" which is played as the LEDs countdown.  And likewise an "alarm.wav" to play at the end.  This part seems ok.

Where I'm at is the PWM > Audio out.

Two questions emerge:

(1) What is the simplest filter to use - fidelity doesn't really matter
(2) I want this to feed into powered speakers - will I be able to drive them directly or will I need an amplifier - have a few LM386 amp modules so could tinker with those.

The other route is one of those "MP3" boards I see on my fav Chineese site - but that seems like overkill for my use case.

The bigger plan is to hard code some default buttons - 1m, 2m, 5m, 15m on the countdown and bundle into a project box.

Whilst I mention PicoMiteVGA - will probably be plain old PicoMite it the final version.

Any pointers?

Px
 
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 713
Posted: 04:32pm 15 May 2024
Copy link to clipboard 
Print this post

Simple R.C. should do .......

Will not need amp with powered speakers ..
my site
 
PEnthymeme

Regular Member

Joined: 27/12/2023
Location: United Kingdom
Posts: 42
Posted: 04:35pm 15 May 2024
Copy link to clipboard 
Print this post

  hitsware2 said  Simple R.C. should do .......

Will not need amp with powered speakers ..


Thanks for the sanity check!

Px
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6783
Posted: 05:00pm 15 May 2024
Copy link to clipboard 
Print this post

Whatever you do, don't connect a low impedance load directly to an IO pin. I would suggest a resistor of 270R minimum to protect the pin.

The simplest RC filter would probably be 1K series followed by 47nF to GND. Any load after that should total 1K or higher.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2127
Posted: 05:23pm 15 May 2024
Copy link to clipboard 
Print this post

https://europe1.discourse-cdn.com/arduino/original/4X/c/8/3/c832b7cb1cea80815e33fc2eec0b67de3f37f8d2.jpeg
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024