Forum Update - Announcement about May 10th, 2018 update and your password.

LED Active Low

2»

Comments

  • Push%20Button%20Board%20Schematic.png

    WANTED STAMP PROFESSIONAL DEVELOPMENT BOARD

    Basic Stamps,SX's and PIC's all share common characteristics.

    'Are you ready to move up to an SX?'-Parallax

    SX28 is drop in replacement for PIC16F57

  • There's the push button board drawing for one pin.

    Same maker as LED board.

    Drawing will have to do until they send me the schematic.

    I need to change gears from thinking about LED board.

    Okay.Reading the pin this time.

    What does it read when button is not pushed?


    WANTED STAMP PROFESSIONAL DEVELOPMENT BOARD

    Basic Stamps,SX's and PIC's all share common characteristics.

    'Are you ready to move up to an SX?'-Parallax

    SX28 is drop in replacement for PIC16F57
  • Reads "1" or high when button is not pushed, "0" or low when pushed.
    In science there is no authority. There is only experiment.
    Life is unpredictable. Eat dessert first.
  • PB0       PIN    0
    Pushed    CON   0
    
    
    IF PB0 = Pushed THEN
    
    Re-inventing the wheel is not a waste of time if, when you are done, you understand why it is round.
    Cool, CA, USA 95614
  • microcontrolleruser,

    That's an active-low pushbutton because the pushbutton is connected to Ground.
    Also notice the 10K pull-up which "pulls up" the I/O pin to Vcc.

    As Tom mentions, you will see 1 on the I/O pin because of the pull-up resistor, but as soon as you press the button it will change to 0.

    Most of the pushbutton circuits in What's a Microcontroller are active-high which is easier to understand.
    You see a 0 and then when the button is pressed it changes to 1.

    Active-low buttons are handy when you want to know if something is there.
    Say for example you want to know if a door is open so you have the switch be on or active when it's closed.
    Then it's easy to see if the door is open because the value will change to 1.
  • microcontrollerusermicrocontrolleruser Posts: 799
    edited April 9 Vote Up0Vote Down
    'Active-low buttons are handy when you want to know if something is there.'

    Like your circuit that you are building the first time.

    It's fail safe when you use active low.

    If you are reading a zero on active high circuit it could be an open circuit but that can be easily tested.

    Now I think it is more a case of when these board were designed the

    micro's were better at putting out a 0 logic than a 1 logic.

    WANTED STAMP PROFESSIONAL DEVELOPMENT BOARD

    Basic Stamps,SX's and PIC's all share common characteristics.

    'Are you ready to move up to an SX?'-Parallax

    SX28 is drop in replacement for PIC16F57
  • microcontrollerusermicrocontrolleruser Posts: 799
    edited April 9 Vote Up0Vote Down
    Look at the board.

    That is 90's era.

    Oops! That's LED board. Okay. Pusthbutton board looks the same.

    Futurlec%20Output%20Test%20Board.jpg
    300 x 224 - 25K

    WANTED STAMP PROFESSIONAL DEVELOPMENT BOARD

    Basic Stamps,SX's and PIC's all share common characteristics.

    'Are you ready to move up to an SX?'-Parallax

    SX28 is drop in replacement for PIC16F57
Sign In or Register to comment.