Switch PIC16F877 ON/OFF


Results 1 to 8 of 8

Threaded View

  1. #1

    Arrow Switch PIC16F877 ON/OFF

    Good Day

    Please see Attached Drawing.

    I have a MAX1672 Step Up / Down Converter to Regulate my Voltage for my circuit as well as to switch it ON and OFF.

    Attached to my PIC16F877 is a Membrane Keypad with an ON button to switch my circuit ON.
    This is working smoothly as the MAX1672 Put the circuit ON if I put the PIC Pin (Bottom Left) Low and OFF if it is High, so I have put a Pull Up Resistor on the PIC Pin so that it is by Default High (OFF).

    If I press the ON Button on my Keypad it Pulls the Pin to Ground, switch the circuit on and then the first Line of Code I put that PIN (Bottom Left) LOW to keep the circuit ON.

    This is working without a problem, but when I tried to program my keypad I get the following problem.
    The top 4 Input Pins I put high and the Bottom Output Pins low, and then check for a LOW on the top 4 to find out which key was pressed.
    But Because the Pin in the left bottom corner is LOW to keep the circuit on, it Pulls the one line of the keypad also to LOW, so that Line is always low.

    How could I fix this Problem?
    Attached Images Attached Images  

Similar Threads

  1. Switch on/off every sine pulse
    By ChrisHelvey in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 27th July 2009, 20:45
  2. PIC16f877 code crosses boundary @800h
    By inventosrl in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th April 2009, 22:03
  3. 'Soft' On/Off Power Switch
    By Art in forum General
    Replies: 19
    Last Post: - 14th November 2008, 01:54
  4. Swicth PIC ON/OFF with Membrane Keypad
    By koossa in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 24th August 2005, 13:28
  5. Switch Polling vs Interrupts
    By eric blair in forum General
    Replies: 1
    Last Post: - 17th October 2003, 09:38

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts