• AVR Freaks

Hot!Best way to learn about a specific pic micro and how to program it

Author
lazarojhr16
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2019/03/24 16:53:05
  • Location: 0
  • Status: offline
2019/03/30 21:25:48 (permalink)
0

Best way to learn about a specific pic micro and how to program it

Hello I want to get into microcontrollers. I want to know what is the best way to learn how to program them in assembly and c. For example a pic16f. Should I just read their datasheet or are there books that teach it better. Thank you
#1

4 Replies Related Threads

    aamir_uetn
    New Member
    • Total Posts : 10
    • Reward points : 0
    • Joined: 2013/07/24 18:28:08
    • Location: 0
    • Status: offline
    Flagged as Spam (2)
    Re: Best way to learn about a specific pic micro and how to program it 2019/08/25 21:02:53 (permalink)
    #2
    mpgmike
    Super Member
    • Total Posts : 254
    • Reward points : 0
    • Joined: 2014/01/23 17:27:06
    • Location: NJ
    • Status: offline
    Re: Best way to learn about a specific pic micro and how to program it 2019/08/26 07:12:33 (permalink)
    0
    You didn't say if you have any familiarity with ASM or C as languages.  If you are wanting to learn more about the languages themselves as applicable to the PIC, may I suggest "Applying PIC18 Microcontrollers" by Barry B. Brey (2008, ISBN: 13-978-0-13-088546-3).  It is dated (2008), uses the old MPLAB IDE, but can help you learn.  Another dated book is "PIC Microcontrollers" by Martin Bates (2000, 2004, 2011, ISBN: 978-0-08-096911-4).  This one offers more info about how Banks are set up, Harvard Architecture, and other mechanics of the device itself.
     
    Microchip offers libraries of information including structured tutorials:
     
    http://microchipdeveloper.com/training-self:start
     
    I would like to suggest getting started with the C language, as this offers you the most support from this forum (most users aren't that skilled in ASM) as well as example code to learn from.  On that note, there is a great intro to C in the Microchip Developer Training site listed above.  A book I've used to help me with XC8 specifically is "Programming PIC Microcontrollers with XC8" by Armstrong Subero (2018, ISBN-13: 978-1-4842-3272-9).  I rank this 3 out of 5 stars as the author makes assumptions I had a hard time getting, and there are too many typos for my liking.  However, it did help me.
     
    Hope this helps.

    I don't need the world to know my name, but I want to live a life so all my great-grandchildren proudly remember me.
    #3
    NKurzman
    A Guy on the Net
    • Total Posts : 17720
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: offline
    Re: Best way to learn about a specific pic micro and how to program it 2019/08/26 07:22:07 (permalink)
    +1 (1)
    #4
    ric
    Super Member
    • Total Posts : 23591
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: offline
    Re: Best way to learn about a specific pic micro and how to program it 2019/08/26 13:29:34 (permalink)
    +1 (1)
    Note, aamir_uetn resurrected a post from five months ago. The OP has not logged back in since asking the question.

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #5
    Jump to:
    © 2019 APG vNext Commercial Version 4.5