port/ pin explanation 16F877


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2006
    Posts
    35

    Default port/ pin explanation 16F877

    Where do I find a simple explanation as to what "port" means in relation to RE0 RE1... these are port "E" right same as port RA0 RA1... are port A? and what does that have to do with pin numbers? What is the purpose of "ports" except to be able to group pins as in make them all inputs or outputs? 16f877 is the PIC. Are there any better pins/ports to use for different things? I need one HPWM out right now (either pin 16 or 17 I believe) And RA0 & RE0 for adc inputs. Would it be good to use PORTB.0=0 AND PORTB.1=0 to drive two led's? would those pins be 33 and 34? Just trying to absorb the hardware variables. Too much to learn too little time. Thanks again to an excellent forum. Emmett

  2. #2
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Smile

    Hi Emmett,

    Have you gotten a hold of a datasheet for the 16F877? If not go to www.microchip.com and enter PIC16F877 in the search box and download the .pdf manual on the chip. In there you will get a complete breakdown of the insides of the 877as well as a few other close members of the family. They also have a family manual you should also look at. Everything you need to know about PICs is in the manual. Also look into the PBP manual about ports and pins.

    Have anice day!

    BobK

  3. #3
    Join Date
    Jun 2006
    Posts
    35


    Did you find this post helpful? Yes | No

    Default

    Yes I do but I seem to be able to always complicate the obvious. I'll try until it makes sense like PBP is starting to. Thanks a lot for all you'all do! Emmett

Similar Threads

  1. Is this a K Type sensor?
    By jessey in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 21st November 2009, 13:55
  2. DS1820 with 16f688
    By jessey in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 23rd May 2009, 05:07
  3. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  4. Another RTC, DS1287
    By DavidK in forum Code Examples
    Replies: 0
    Last Post: - 12th December 2006, 17:07
  5. Port pin problems
    By sgreelish in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 8th March 2004, 18:56

Members who have read this thread : 1

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