Shop OBEX P1 Docs P2 Docs Learn Events
Backpack and Pins 4,5,6,7 — Parallax Forums

Backpack and Pins 4,5,6,7

Tom_005Tom_005 Posts: 7
edited 2011-07-26 09:11 in Propeller 1
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?

Comments

  • Bobb FwedBobb Fwed Posts: 1,119
    edited 2011-07-26 09:11
    Tom_005 wrote: »
    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?
    There probably won't be much of a change in your circuitry or software. Just wire the LED and servo as if the available circuits were just normal IOs.
    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.
Sign In or Register to comment.