Pages: [1]   Go Down
Author Topic: reasonable sound for less than 10 bucks?  (Read 808 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 42
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Im building a toy and needs some music and sound. A simple pwm to a speaker is ok but i would like some better quality if possible. I found some really cool shields but way over kill for my project. I did find some older 80's chips - 8 bit music chips for $4-5, but they appear to need extensive support. I also realize i can use pwm to simulate a sin wave, but my toy has a bunch of other things to do and i dont want to dedicate it to music. So my question is, can i get some better music than a square wave?

Thanks
Logged

Dubai, UAE
Offline Offline
Edison Member
*
Karma: 22
Posts: 1675
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

A good starting point for Arduino audio is an LM386 audio amplifier chip - get the n4 version if you can its the most powerful - very easy to use and sounds great with Arduino.

Auduino synth played through LM386
http://rcarduino.blogspot.com/2012/08/adding-audio-to-arduino-projects.html

Duane B
Logged


Argentina
Offline Offline
Full Member
***
Karma: 5
Posts: 160
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

My two cents:
http://arduino.cc/forum/index.php/topic,117009.0/topicseen.html
Logged

Dubai, UAE
Offline Offline
Edison Member
*
Karma: 22
Posts: 1675
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

then there is the five dollar synthesiser, its just "pwm to a speaker", but the sinewaves at the end are a nice mellow sound and the arpeggios in the middle sound pretty reasonable too -

http://m.youtube.com/index?&desktop_uri=%2F#/watch?v=yQsgIRSDGm0

A link to the how to is in the video comments and the sorce code is available to anyone that PMs me for it.

Duane B

rcarduino.blogspot.com


Logged


Offline Offline
Edison Member
*
Karma: 116
Posts: 2205
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

TDA2822 would be my choice.

You can also use a npn to buffer if the input is sufficiently high.
Logged

Pages: [1]   Go Up
Jump to: