Success!
It was the resistor issue. I think this is the second time one of those damn things has screwed me up. I also had a 0 and a 1 reversed in part of my code which didn't show up until I got the resistor issue resolved.
So, now my question is this. I have a pre-programmed sound module which I know very little about and won't ever know anymore on. It runs on 3 to 4 volts and probably barely uses any amps at all. It is runs on 50 ma I'd be surprises. It drives a little 1.25" speaker.
I've been using just comman transistors and resistors on the breadboard in an effort to just turn the power on/off to the sound module. That problem now fixed thank God.
But, when I go to put this together for real I want to ensure I'm using suitable stuff that is over-engineered just enough to keep things working as future repair will be pretty much impossible.
So, is there a generic enough way to come up with a suitable transistor and resitor value to do this?
I had originally picked out a BCX5316CT-ND from Digikey as a transistor because it seemed to match the common through hole one I was using for testing. Resistor I was never quite sure on, but was thinking like 330 ohm.
Advice on this issue would be appreciated.
Thanks for enough questions and comments that I could troubleshoot this to a conclusion.
Bart
Bookmarks