button input PIC16F877


Closed Thread
Results 1 to 4 of 4
  1. #1
    ob38's Avatar
    ob38 Guest

    Default button input PIC16F877

    Hi,

    I'm buiding a new card, and before doing a mistake, i would like to know if we can connect ON/OFF buttons as inputs on RC, RD and RE ports on the PIC16F877.
    I ask you because i saw, on documentation, that they are Schimdt trigger and not TTL or CMOS ports.


    Please, let me know about this.

    Thanks in advance

    Regards

    Olivier

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    You can connect as many Buttons (Switches) to as many PIC pins as you wish.

  3. #3
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    You can also use AN0 to read multiple buttons via different resisitor values.

    This way, you use one pin and have many buttons; leave all other pins for other jobs.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  4. #4
    ob38's Avatar
    ob38 Guest


    Did you find this post helpful? Yes | No

    Default RE -pic 16F877 as buttons

    Many thanks to you

Similar Threads

  1. RB0 + Internal Pullup + Interrupt
    By Freman in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 10th August 2009, 11:11
  2. button input
    By naga in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 22nd October 2008, 14:24
  3. button input: what is necessary for a proofed behaviour
    By mischl in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 8th November 2007, 15:45
  4. 3 HPWM channels
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 4th April 2006, 02:43
  5. Code check -- button not working
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 2nd March 2006, 22:43

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