Hi! I'm new to both this forum and picaxe.
I am trying to interface a 08M with a few push-buttons used as input of some other (unknown) microcontroler. I have measured the voltage over the button contacts to be 3.15V. I am guessing that I could always use a transistor connected to one of the picaxe outputs to close the switch but as I am fresh out of transistors could I use a resistor and a diode to connect the microcontroller (normally high) side of the switch directly to the picaxe output:
picaxe ---|<----|10k|----- mC
and then set the output low to trigger a button press? Am I right in assuming that the diode should protect the mC while the picaxe output is high (5V power supply)?
I do apologize for asking such a trivial question.
I am trying to interface a 08M with a few push-buttons used as input of some other (unknown) microcontroler. I have measured the voltage over the button contacts to be 3.15V. I am guessing that I could always use a transistor connected to one of the picaxe outputs to close the switch but as I am fresh out of transistors could I use a resistor and a diode to connect the microcontroller (normally high) side of the switch directly to the picaxe output:
picaxe ---|<----|10k|----- mC
and then set the output low to trigger a button press? Am I right in assuming that the diode should protect the mC while the picaxe output is high (5V power supply)?
I do apologize for asking such a trivial question.