- Posts: 2180
- Thank you received: 0
7i73 inputs question (pull-down resistors) (SOLVED)
5 years 7 months ago #202647
by spumco
7i73 inputs question (pull-down resistors) (SOLVED) was created by spumco
Wiring up my first Linux/Mesa machine now and am in need of some guidance on 7i73 inputs.
Manual states[strike] P1/0 to P1/7[/strike] P2/0-P2/7 require pull-up or pull-down resistors when used for switch sensing.
So... if one side of a momentary switch is connected to the 3.3v supply on 7i73 (P/29), and the other is connected to [strike]P1/7[/strike] P2/7, then I would also connect a 4.7k resistor between [strike]P1/7[/strike] P2/7 and GND - making it a pull-down resistor?
If I have four switches on [strike]P1/4[/strike] P2/4 through[strike] P1/7[/strike] P2/7, each one would need a 4.7k resistor connected to GND (along with the switch conductor)?
If I've got it right, any confirmation would be helpful. And if I'm wrong, an explanation in really small words and a diagram would be favorite.
Thanks,
Ralph
Edited to correct port designation error
Manual states[strike] P1/0 to P1/7[/strike] P2/0-P2/7 require pull-up or pull-down resistors when used for switch sensing.
So... if one side of a momentary switch is connected to the 3.3v supply on 7i73 (P/29), and the other is connected to [strike]P1/7[/strike] P2/7, then I would also connect a 4.7k resistor between [strike]P1/7[/strike] P2/7 and GND - making it a pull-down resistor?
If I have four switches on [strike]P1/4[/strike] P2/4 through[strike] P1/7[/strike] P2/7, each one would need a 4.7k resistor connected to GND (along with the switch conductor)?
If I've got it right, any confirmation would be helpful. And if I'm wrong, an explanation in really small words and a diagram would be favorite.
Thanks,
Ralph
Edited to correct port designation error
Please Log in to join the conversation.
5 years 7 months ago #202649
by PCW
Replied by PCW on topic 7i73 inputs question (pull-down resistors)
That's correct.
The pins have no internal pull-up or pull-down resistors
so have an undefined state if left unconnected (when the switch is off)
The pull-up or pull-down resistors define the pin state when unconnected
The pins have no internal pull-up or pull-down resistors
so have an undefined state if left unconnected (when the switch is off)
The pull-up or pull-down resistors define the pin state when unconnected
Please Log in to join the conversation.
5 years 7 months ago #202651
by spumco
Replied by spumco on topic 7i73 inputs question (pull-down resistors)
Thanks much, looking forward to getting this thing moving around.
Please Log in to join the conversation.
Time to create page: 0.084 seconds
