Backpack and Pins 4,5,6,7
Tom_005
Posts: 7
I have a pair of Backpacks, and have the Bell202 successfully running, Thank you Mr. Pilgrim.
So pins 1 and 2 are tied up with that. Pins 2 and 3 make it straight to the daughter board, that is good. 4,5,6,7 also come up to the daughter board, but they are Pulled up to VDD by 4.7K resistors.
I understand It was for compatibility reasons. But I am unclear on how to use these pins with them pulled up? I need to do a few RC circuits, a Servo, few buttons, and a few led's. Pins 2 and 3 are fine.
I just don't know how to use 4,5,6,7 , I can handle All the listed things with a normal, clean pin, But the pull up resistors are confusing me.
Any Thoughts?
So pins 1 and 2 are tied up with that. Pins 2 and 3 make it straight to the daughter board, that is good. 4,5,6,7 also come up to the daughter board, but they are Pulled up to VDD by 4.7K resistors.
I understand It was for compatibility reasons. But I am unclear on how to use these pins with them pulled up? I need to do a few RC circuits, a Servo, few buttons, and a few led's. Pins 2 and 3 are fine.
I just don't know how to use 4,5,6,7 , I can handle All the listed things with a normal, clean pin, But the pull up resistors are confusing me.
Any Thoughts?
Comments
Things like RC circuits may be easier if they get inverted. So instead of having a resistor to ground, charging it high, then waiting for a low; just use the built in pull up (or add another), and set it low, then wait for a high.
Similar story on the button. You wire the NO circuit from the IO to ground, and use the built-in pull-up. The pin will be high, then with the button is pressed it goes low.