Sorry, I don't use Atmel processors - but they may well have an open-collector part?, they copied everything else from MicroChipScarr said:Hi all,
Thanks for the help so far
EricGibbs, I have attached a quick circuit (just hope I got it right!)
Nigel, Do you know of a small Ateml part of the top of your head that has a open drain pin? reason I ask is my compiler is for Atmel parts, I probably could port it but if we find the correct transistor might not be worth the hassle. and to trawl throught all the PDF's would take ages.
Just use a normal NPN transistor, like a BC148, and add an external base feed resistor.Auido Guru, your suggesting it's the transistor I'm using thats at fault and with my limited knowledge I can see why (however I originally thought it was due to limitations of the transistor) can you sugest a replacment?