element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Code Exchange
  • Technologies
  • More
Code Exchange
Forum Learn PIC programming
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Code Exchange to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 7 replies
  • Subscribers 45 subscribers
  • Views 966 views
  • Users 0 members are here
Related

Learn PIC programming

5ilicon
5ilicon over 1 year ago

Hello experts,

I'm a novice at embedded programming.

I have a curiosity board but find it difficult to understand the demo projects on MPLAB Xpress.

Is there a good tutorial to help getting started with PIC/embedded programming?

I know I should read the datasheet of the part fully, but it becomes tedious after a while and I prefer learning through actual examples that run on the board.

Thanks!

  • Sign in to reply
  • Cancel

Top Replies

  • Jan Cumps
    Jan Cumps over 1 year ago in reply to Fred27 +4
    agree. If looking for a book that covers the common embedded topics, I'd recommend Making Embedded Systems by Elicia White. It's definitely not the only book out there. But it has a decent coverage of…
  • Jan Cumps
    Jan Cumps over 1 year ago in reply to 5ilicon +4
    Yes. It is not an intro into C programming. I wouldn't advise to learn C via an embedded system design book. That's dealing with two unknowns in parallel. Learn C with a good C tutorial, then specialise…
  • Fred27
    Fred27 over 1 year ago +3
    I've not looked at the demo projects for MPLAB Xpress or worked with PIC, but I always find that demo projects are the best way to start. Load up blinky. Adapt it so that it lights an LED when you press…
  • Fred27
    Fred27 over 1 year ago

    I've not looked at the demo projects for MPLAB Xpress or worked with PIC, but I always find that demo projects are the best way to start. Load up blinky. Adapt it so that it lights an LED when you press a button, etc. Most peripherals you might want to use (UART, SPI, I2C) probably have a basic example.

    I'm not sure if you meant that you need to learn C programming. If so, then there are online resources and book available. Just have a google and find what you like the style of.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • Jan Cumps
    Jan Cumps over 1 year ago in reply to Fred27

    agree. 

    If looking for a book that covers the common embedded topics, I'd recommend Making Embedded Systems by Elicia White. It's definitely not the only book out there. But it has a decent coverage of the things your average embedded developer works with. 

    • gpio
    • protocols
    • timers
    • adc, dac,
    • resource scarcity

    And it's written in a beginner-friendly way.

    I like the book. No affiliation with author or publisher.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
  • 5ilicon
    5ilicon over 1 year ago in reply to Jan Cumps

    Thanks for the reply. Does the Making Embedded Systems book assume a reasonable level of C coding experience?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Jan Cumps
    Jan Cumps over 1 year ago in reply to 5ilicon

    Yes. It is not an intro into C programming.

    I wouldn't advise to learn C via an embedded system design book. That's dealing with two unknowns in parallel.

    Learn C with  a good C tutorial, then specialise towards embedded.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
  • 5ilicon
    5ilicon over 1 year ago in reply to Jan Cumps

    Do you have any good suggestions of resources to learn C programming for embedded applications?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jc2048
    jc2048 over 1 year ago in reply to 5ilicon

    Have you explored the Microchip University? This one looks like it's in the right sort of area for you, but there's lots of other good stuff there. I can't vouch for any of it, but being Microchip I imagine it's all of good quality.

    https://mu.microchip.com/syntax-and-structure-of-c

    If formal learning like that doesn't suit you, there's a design challenge here on e14, using a SAM E51 Curiosity Nano board, which you might have a look at.

    /challenges-projects/design-challenges/upcycle-iot-design-challenge/dc/dc/67/upcycle_iot_design_c

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • beacon_dave
    beacon_dave over 1 year ago in reply to jc2048

    There's a follow-up course on the MU site

       https://mu.microchip.com/advanced-c-programming

    I found both of them quite good resources.

    There are also some of the Microchip Masters recordings if you can find them

       https://www.youtube.com/watch?v=BtXyvVy67Qs

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube