Community
cancel
Showing results for 
Search instead for 
Did you mean: 
jnich3
New Contributor I
922 Views

External connections when using internal pullup/down resistor

Jump to solution

Is this the way to wire up the edison if using internal pullup resistors?

(this is a sparkfun gpio block, one side of switch is connected to a gpio pin, other side of switch is connected to gnd)

Are there any schematics of what is going on internally with the edison pullups? Shouldn't I also be connecting vcc in somewhere? Or not?

Sorry if this is a very naive question.

Tags (1)
0 Kudos
1 Solution
idata
Community Manager
63 Views

Hi Jayls,

Thanks for contacting us! Don't worry, we are happy to help you with any questions you have.

 

Regarding your first question, yes, it is the way to wire if you are using an internal pull-up resistor. As a reminder, you should set up the internal pull-up previously, if need help with this let me know please.

The following image is an example of how the internal pull-up works, when the pushbutton is open (unpressed) there is no connection between the two legs of the pushbutton. Because the internal pull-up is active and connected to 5V, we read HIGH when the button is open. When the button is closed, we read LOW because a connection to ground is completed. For that reason it's not necessary to connect an external VCC.

 

Hope this information helps, let me know if you have any questions.

Regards,

 

-Yermi.

 

View solution in original post

1 Reply
idata
Community Manager
64 Views

Hi Jayls,

Thanks for contacting us! Don't worry, we are happy to help you with any questions you have.

 

Regarding your first question, yes, it is the way to wire if you are using an internal pull-up resistor. As a reminder, you should set up the internal pull-up previously, if need help with this let me know please.

The following image is an example of how the internal pull-up works, when the pushbutton is open (unpressed) there is no connection between the two legs of the pushbutton. Because the internal pull-up is active and connected to 5V, we read HIGH when the button is open. When the button is closed, we read LOW because a connection to ground is completed. For that reason it's not necessary to connect an external VCC.

 

Hope this information helps, let me know if you have any questions.

Regards,

 

-Yermi.

 

View solution in original post

Reply