597
« on: February 26, 2015, 12:40:21 PM »
1) If my picaxe is normally outputting 5V INTO the input pin on the BoB, and then it goes low, does that then mean that the picaxe is driving the input pin to 0V? Or does it mean it's left floating? I assumed the latter, as I thought a lack of output from a microprocessor output pin just means it floats around, not tied to 0V.
Yes, the picaxe pulls the input down to 0V, which is what you want. Provided that a micro o/p pin is not tri-state, it is either at 1 (=5V or whatever the supply voltage is) or near 0 V.
2) Normally, inputs on my BoB are connected just to switches that act to ground the 5V that my multimeter tells me exists at the input pin. Having trouble getting my head around connecting inputs to anything other than switches; the idea of driving an external voltage into an input pin is a bit alien to me.
It's just standard practice. That's exactly what the parallel port on your PC does, drive voltages from the PC into the BoB. And the BoB does the same thing back to the PC.
3) If I'm driving 5V into the input, is that input then just held at logic high (5V), or is it held at logic high with 5+5=10V potential?
It's just held at logic high, not at 5+5.