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
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Embedded Forum Suggestions for learning to program PIC microcontrollers please
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 2 replies
  • Subscribers 460 subscribers
  • Views 245 views
  • Users 0 members are here
Related

Suggestions for learning to program PIC microcontrollers please

Former Member
Former Member over 15 years ago

I am working on engineering projects involving PIC microcontrollers. I need the groups assistance with some suggestions for good places to start learning this type of product. Tutorials, web sites, books (do they still have those?) anything of assistance. Also demonstration boards etc.

I have no experience with any type of microcontroller. I am leaving the work to the professional programmer on staff, but I would like to be able to look at code, understand resourse use - be able to review work and see how and why things happened etc -  even write some of my own code to try ideas.

 

I am a professional engineer and can pick up most things fairly rapidly. My analogue electronics is fairly good - I just happen to have graduated before micros became common place in the industry and have managed to avoid working on them for the past 30 years.

I can program to an extent - Excel, math, MCAD programs etc. I have never touched machine code or assemblers. No C experience.

I will be working on lighting industry projects. Power conversion, PWM, motor control, ADC - monitoring current, heat and responding to the same, communications, IR, rf and wired.

PIC products seems to be a good palce to start - I like what I see on the Microchip website - just based on their application notes.

I would appreciate the groups pointers on:

Starter board - resource to write and program some code into a chip. For instance - See how fast / accurate an AD converter needs to be to safely handle current control of an HB LED for instance - play with conceptual drive ideas... See if I can come up with some novel mathmatical solutions to control problems.

Suggestions on where a savvy engineer with no experience could look for a friendly high level lnaguage interface to write some code. I can think like a program - just have no experience writing anything into a device like this.

 

Many thanks in advance,

 

Jon Connell, IESNA, MIEEE

  • Sign in to reply
  • Cancel
  • enrico.migchels
    enrico.migchels over 15 years ago

    Hi Jon,

     

    A few years ago a microcontroller project was thrown in my lap. I could have passed on the work to an external company but i also saw the added value of understanding microcontrollers myself so this is what i did.

     

    I bought the book:

    Embedded C programming and the microchip PIC

    By Richard H. Barnett,Larry O'Cull,Sarah Cox

     

    The book describes the Microchip PIC controllers and the CSS C compiler. There is really no need in starting with lower level prgramming (such as assembler) or trying to program ANSI C. Always remember that there is ANSI C and Assembler, that is sufficient.

     

    Ordered the Pickit2 programmer at Farnell.

     

    This programmer also comes with a small experiment board, i bought some additional controllers. I build a experimental board myself with some standard components (switches, LEDs, Relays, POTs, crystal oscillator).

     

    You can buy a debugger, but for simple programs this is not needed.

     

    Reading the book (great!) and trying some of the programs will learn you the basics pretty fast.

     

    Best regards,

     

    Enrico Migchels

     

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • MicrochipRTCfr
    MicrochipRTCfr over 15 years ago

    Hi Jon,

     

    The fastest way to learn about PIC microcontrollers is probably to attend training at one of the Microchip Regional Training Centers located around the world.

    This classes catalog is not up to date but will give you a good glimpse about possibilities.

    You can even learn the basics embedded C programming (course TLS2101) in a couple of days.

    There are courses on all subjects : various architectures, technologies like USB, Ethernet, graphics displays,...

     

    Another source to get started are the webseminars (5 to 20mn).

     

    If you are particurlarly interested by HB LEDs, there is a design center dedicated to various ligting technologies, including HB here.

     

    You can also find lots of PIC centric book references here.

     

    Good reading

    Regards

    • Cancel
    • Vote Up 0 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