[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 580: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 636: sizeof(): Parameter must be an array or an object that implements Countable
Brads Electronic Projects Forum • Sound problems - Page 2
Page 2 of 3

Re: Sound problems

Posted: Wed Sep 05, 2012 10:19 pm
by brad
Ill check it out and get back to you guys :)

Re: Sound problems

Posted: Wed Sep 05, 2012 10:30 pm
by bitfogav
I Have been running some basic SF code on the super pixel bros board with the 18f4550 and sending just the commands to the soundchip, my results show that playing a song everything works fine, but when selecting a FX sound I get a constant buzz from the buzzer.

I have looked over Stacys soundchip code and I can't see anything out of sync.

Will have a further look at this later :)

Re: Sound problems

Posted: Thu Sep 06, 2012 6:09 am
by bitfogav
I think ive fixed it? :)

Ive changed Stacys Soundchip code for the Super Pixel Bros Soundchip, of course I dont take any credit for this has its all Stacys work :)



Programme this to the Soundchip, you can do it using your Pickit 2 but you will need to download the device file, all the info was on the link on the previous page.
**sound_fix.rar***

(*EDIT* by Bitfogav)
Ive removed the soundchip sound fix file has this doesn't seem to be the 100% fix for the sound constantly buzzing, the problem seems to be the S5080 transistor. (replace it with a 2n2222a).

Re: Sound problems

Posted: Thu Sep 06, 2012 7:45 am
by brad
Nice work bitfogav!

I was going to suggest connecting a pull-down resistor between ground and pin 5 of the audio chip. 10K ohms would do the job nicely :)

Re: Sound problems

Posted: Thu Sep 06, 2012 9:39 am
by mackletus
Excellent,

Just waiting for a socket for my chip, didn't have any at hand, so I'll be easier if I have to work on it again.

I'll try the pull-down too, because I think even with the software fix there is some noise in the sound.

I'll let you know how it goes

Thanks for the help

Mackletus

Re: Sound problems

Posted: Fri Sep 07, 2012 4:04 am
by bitfogav
mackletus wrote:Excellent,
I'll try the pull-down too, because I think even with the software fix there is some noise in the sound.
Mackletus
Mackletus I would remove the S5080 transistor and replace it with a 2n2222a.

I removed the S5080 from my Super Pixel Bros Broad and replaced it with a 2n2222a (not a p2n2222a) and reprogrammed the Original Soundchip code and everything now works with the Original soundchip code, NO constant buzzing!!.. that explains why you haven't had the same issue Brad?.

My S5080 is now in the bin :lol:

Re: Sound problems

Posted: Fri Sep 07, 2012 7:30 am
by brad
Now that I think about it, that would have been the first thing I should have thought of. If you guys both have the S5080 and ARE having problems, and I have the 2n2222a and am NOT having problems then that would be a likely cause!

I'll let iTead know.

Good work team!

Re: Sound problems

Posted: Sat Sep 08, 2012 9:08 am
by mackletus
LOL

I just got my socket for the Sound Chip and de-soldered re-soldered the whole thing...... :evil:

I kind of felt suspicious about that transistor from the beginning :mrgreen:

Now I just need a 2N2222A

Will a Mil Spec TO-18 package 2N2222A work the same?. Mil Spec just sounds Bad Ass :twisted:

Thanks again,

Mackletus

Re: Sound problems

Posted: Sat Sep 08, 2012 12:54 pm
by brad
Yep your Military standard device should work fine.

You can solder it in with your mil spec flame thrower :)

Re: Sound problems

Posted: Sun Sep 09, 2012 1:53 am
by bitfogav
If you are interested in the code I put together to test the sounds on my SPB then you can find it link below :)

SPB Sound Test

Re: Sound problems

Posted: Sun Sep 09, 2012 11:04 pm
by brad
Have just downloaded - thanks bitfogav!

Re: Sound problems

Posted: Mon Sep 10, 2012 3:18 am
by mackletus
:(
Patiently waiting for my new Mil Spec 2N222NA Transistor...

ZZZZZZZZ.......

Wifey asked to keep the flame thrower outside... I think we need new curtains. :P

I'll try your programme as soon as I fix the SPB.

Thanks again for all the help.

MacKletus

Re: Sound problems

Posted: Fri Sep 14, 2012 4:27 am
by mackletus
Finally.
photo.JPG
Mil Spec Transistor
photo.JPG (103.29 KiB) Viewed 19867 times
Ready for war.... lol

Re: Sound problems

Posted: Fri Sep 14, 2012 5:42 am
by bitfogav
Nice!!! :D

Re: Sound problems

Posted: Fri Sep 14, 2012 9:03 am
by brad
Careful! That thing could take out the LED!