Sound problems
Moderators: Chuckt, Garth, bitfogav
- brad
- Site Admin
- Posts: 2578
- Joined: Fri Mar 26, 2010 10:30 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Sound problems
Ill check it out and get back to you guys
Re: Sound problems
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
I have looked over Stacys soundchip code and I can't see anything out of sync.
Will have a further look at this later
If you don't know what Voltage your country is using, you shouldn't be doing electronics
Re: Sound problems
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).
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).
If you don't know what Voltage your country is using, you shouldn't be doing electronics
- brad
- Site Admin
- Posts: 2578
- Joined: Fri Mar 26, 2010 10:30 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Sound problems
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
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
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
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
Mackletus I would remove the S5080 transistor and replace it with a 2n2222a.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
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
If you don't know what Voltage your country is using, you shouldn't be doing electronics
- brad
- Site Admin
- Posts: 2578
- Joined: Fri Mar 26, 2010 10:30 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Sound problems
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!
I'll let iTead know.
Good work team!
Re: Sound problems
LOL
I just got my socket for the Sound Chip and de-soldered re-soldered the whole thing......
I kind of felt suspicious about that transistor from the beginning
Now I just need a 2N2222A
Will a Mil Spec TO-18 package 2N2222A work the same?. Mil Spec just sounds Bad Ass
Thanks again,
Mackletus
I just got my socket for the Sound Chip and de-soldered re-soldered the whole thing......
I kind of felt suspicious about that transistor from the beginning
Now I just need a 2N2222A
Will a Mil Spec TO-18 package 2N2222A work the same?. Mil Spec just sounds Bad Ass
Thanks again,
Mackletus
- brad
- Site Admin
- Posts: 2578
- Joined: Fri Mar 26, 2010 10:30 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Sound problems
Yep your Military standard device should work fine.
You can solder it in with your mil spec flame thrower
You can solder it in with your mil spec flame thrower
Re: Sound problems
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
SPB Sound Test
If you don't know what Voltage your country is using, you shouldn't be doing electronics
- brad
- Site Admin
- Posts: 2578
- Joined: Fri Mar 26, 2010 10:30 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Sound problems
Have just downloaded - thanks bitfogav!
Re: Sound problems
Patiently waiting for my new Mil Spec 2N222NA Transistor...
ZZZZZZZZ.......
Wifey asked to keep the flame thrower outside... I think we need new curtains.
I'll try your programme as soon as I fix the SPB.
Thanks again for all the help.
MacKletus
Re: Sound problems
Finally.
Ready for war.... lol
Ready for war.... lol
Re: Sound problems
Nice!!!
If you don't know what Voltage your country is using, you shouldn't be doing electronics
- brad
- Site Admin
- Posts: 2578
- Joined: Fri Mar 26, 2010 10:30 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Sound problems
Careful! That thing could take out the LED!
Who is online
Users browsing this forum: No registered users and 3 guests