1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

PIC16F Vs. PIC18F

Discussion in 'Microcontrollers' started by pouchito, Jan 7, 2007.

  1. pouchito

    pouchito New Member

    Joined:
    Nov 17, 2006
    Messages:
    103
    Likes:
    0
    What are the main differences between the 16Family and the 18Family
     
  2. picasm

    picasm Member

    Joined:
    Sep 6, 2006
    Messages:
    358
    Likes:
    3
    Location:
    UK
    Microchip application note 716 (AN716) describes the main differences.
    (It talks about 16C74 and 18C442 chips but it still applies to newer chips).
     
  3. Nigel Goodwin

    Nigel Goodwin Super Moderator Most Helpful Member

    Joined:
    Nov 17, 2003
    Messages:
    39,205
    Likes:
    640
    Location:
    Derbyshire, UK
    ONLINE
    The 16F is 14 bit, and the 18F is 16 bit, this allows the 18F series to have a larger instruction set - the 18F has an instruction set that's optimised for use with C, and MicroChip even provide a free C compiler for it. Essentially it's a higher end version of the 16F, and runs faster as well, with an internal PLL that can run four times faster than the external crystal.
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. pouchito

    pouchito New Member

    Joined:
    Nov 17, 2006
    Messages:
    103
    Likes:
    0

    Thanks a lot :)
     
  6. Nigel Goodwin

    Nigel Goodwin Super Moderator Most Helpful Member

    Joined:
    Nov 17, 2003
    Messages:
    39,205
    Likes:
    640
    Location:
    Derbyshire, UK
    ONLINE
    If you're starting PIC programming, the 16F are a good place to start - it's a fairly easy progression to the 18F.
     
  7. fvm

    fvm Member

    Joined:
    Nov 21, 2011
    Messages:
    42
    Likes:
    0
    so wahts the benefit of larger instruction set
     
  8. ronsimpson

    ronsimpson Well-Known Member Most Helpful Member

    Joined:
    Apr 17, 2007
    Messages:
    7,253
    Likes:
    961
    Location:
    Loveland, CO USA
    It is like using a larger vocabulary to write a book.
     
  9. Mr RB

    Mr RB Well-Known Member

    Joined:
    Jul 22, 2008
    Messages:
    4,716
    Likes:
    194
    Location:
    Out there
    With less words needed in the book. ;)
     
  10. Nigel Goodwin

    Nigel Goodwin Super Moderator Most Helpful Member

    Joined:
    Nov 17, 2003
    Messages:
    39,205
    Likes:
    640
    Location:
    Derbyshire, UK
    ONLINE
    It gives you a number of extra instructions which simplify some tasks.

    Bearing in mind the original post is five years old, there's also now the enhanced 16F series (16F1827 etc.), which provide a smaller number of extra instructions than the 18F, but offer great enhancements over the standard 16F, and (best yet) they are a fraction of the cost of either.
     
  11. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,147
    Likes:
    907
    Location:
    Rochdale UK
    The big change for me is the larger program memory... With 16 bit architecture comes 64k memory ( some have 96k, even 128k ) Albeit two byte instructions... It's better for larger applications..
     

Share This Page