- Posts: 27
- Thank you received: 0
7i73 input 0-7 i cant'use
- andreabonuc
- Topic Author
- Offline
- Junior Member
-
Less
More
1 year 8 months ago #320928
by andreabonuc
7i73 input 0-7 i cant'use was created by andreabonuc
Hi everyone, I have a 7i96s and a 7i73, until now I have used the 3 analog inputs of the 7i73 (in 0,1,2,3- pin 3,4,5,6) to use them with 3 potentiometers but they are not stable and I have not continued to use them. I would like to understand if they can be used as standard inputs because I have to move 4 external buttons to recover the 6 encoder inputs for the potentiometers. My problem is that I see them as inputs in halshow but I can't use them, I can use from in8 up. I certainly wrote something in the HAL to enable the analog inputs but I haven't solved anything for 2 days to get them working as standard inputs again. It's been more than 1 year since I changed the hal file and being a beginner I don't remember... Can anyone help me? Thanks.
Please Log in to join the conversation.
1 year 8 months ago #320931
by PCW
Replied by PCW on topic 7i73 input 0-7 i cant'use
Inputs 0..7 on the 7I73 have no pullups/pulldowns
so these must be added externally if used with
single throw switches.
so these must be added externally if used with
single throw switches.
Please Log in to join the conversation.
- andreabonuc
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 27
- Thank you received: 0
1 year 8 months ago #320934
by andreabonuc
Replied by andreabonuc on topic 7i73 input 0-7 i cant'use
sorry but I'm not very expert, what do you mean by added externally? Can you explain it to me practically? Thank you
Please Log in to join the conversation.
1 year 8 months ago #320941
by PCW
Replied by PCW on topic 7i73 input 0-7 i cant'use
You would need to add an external resistor from 3.3V to each input (0 through 7)
connected to a switch, assuming the switch switches to ground (a 4.7K resistor is a reasonable value)
If the switch/button has NO and NC contacts you can do without the resistor, but a normal
SPST switch needs the resistors.
connected to a switch, assuming the switch switches to ground (a 4.7K resistor is a reasonable value)
If the switch/button has NO and NC contacts you can do without the resistor, but a normal
SPST switch needs the resistors.
Please Log in to join the conversation.
- andreabonuc
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 27
- Thank you received: 0
1 year 8 months ago #320942
by andreabonuc
Replied by andreabonuc on topic 7i73 input 0-7 i cant'use
I use a momentary switch and will insert a 4.7 k ohm resistor. Thanks for your help!
Please Log in to join the conversation.
Time to create page: 0.093 seconds
