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

What programming software do you recommend?

Discussion in 'Electronic Books' started by Karkas, Nov 8, 2009.

  1. Karkas

    Karkas Member

    Joined:
    Aug 30, 2009
    Messages:
    160
    Likes:
    1
    Location:
    Latin America
    Hi, I have no experience with microcontrollers, haven't got to the subject that covers that yet, but I'm starting by reading tutorials and books about microcontrollers fundamentals, and I've seen that some PIC microcontrollers books are about one specific programming software, which one (s) do you recommend me to learn? I know about MPLAB, visual basic, C (have some experience with it), but which one has been better (in your experience) for your projects?

    By the way I'm starting with Microcontrollers fundamental by Steven Barret & Daniel Pack.

    Thanks.
     
  2. Smartie

    Smartie Member

    Joined:
    Oct 2, 2008
    Messages:
    122
    Likes:
    1
    Location:
    Auckland, New Zealand
    ok well, MPLAB is made by the same company that makes PIC micro controllers, MPLAB uses ASM which is simple but hard to learn. you can get different compilers for MPLAB that enable you to use BASIC, c,c++ and so on.

    If you prefer basic to any other language, you can look at PICAXE which are based on PICs but use their own boot loader and are good for beginners.

    So for recommenced software, there is C18, a plug in for MPLAB that allows you to program c/c++, designed for 18F series micro controllers and above its free but after 60 days, code optimization gets turned off.

    There is cc5x which is free-ish that is also a plugin for MPLAB, it lets you program in c for 16F series microchips and below but have a program size limitation for the free version.

    so either way, you will be using MPLAB for most of your PIC related stuff

    Cheers
    Roman
     
    Last edited: Nov 10, 2009
  3. smanches

    smanches New Member

    Joined:
    Mar 5, 2009
    Messages:
    986
    Likes:
    8
    Location:
    Oregon, USA
    One quick correction. No C++ on microcontrollers usually (there are a few very expensive compilers.) Just straight C.

    Your language choices are C, ASM, or a couple different flavors of BASIC. The development environment you use can be anything really, although there are IDEs written specifically for microcontrollers. (MPLab, Hi-Tech's IDE, etc.)
     
  4. dave

    Dave New Member

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


     
  5. Pommie

    Pommie Well-Known Member Most Helpful Member

    Joined:
    Mar 18, 2005
    Messages:
    10,007
    Likes:
    316
    Location:
    Brisbane Australia

    I use MPLAB and the C/C++ compilers from SourceBoost which have a free student edition. They also do a Basic compiler but I haven't used it.

    Mike.
     
  6. Karkas

    Karkas Member

    Joined:
    Aug 30, 2009
    Messages:
    160
    Likes:
    1
    Location:
    Latin America
    Ok, thanks to everyone for your replies.
    So, if MPLAB is free I guess I can download it directly from the microchip website, haven't checked it yet. You recommend me not to start with ASM? I looked up some information about it, it is another compiler right?
    I have to check and learn how to get different compilers for it, it is on the information about MPLAB? or do I need someone to explain how to do it?

    Thanks.
     
  7. kchriste

    kchriste New Member Forum Supporter

    Joined:
    Jul 23, 2006
    Messages:
    3,677
    Likes:
    47
    Location:
    Victoria BC, Canada
    The ASseMbler for PICs comes with MPLAB. I would highly recommend learning PIC assembler if you want an in depth knowledge of PICs. Even if you use a high level language, you'll still need to figure out the peripherals and a prior knowledge of ASM helps. If you choose to use the 18F series of PICs, Microchip has the free C18 compiler available too. For the 24F, 30F and 33F there is the C30 compiler also. Both integrate nicely with MPLAB.
     
    Last edited: Nov 11, 2009
  8. smanches

    smanches New Member

    Joined:
    Mar 5, 2009
    Messages:
    986
    Likes:
    8
    Location:
    Oregon, USA
    I stand corrected.
     
  9. Karkas

    Karkas Member

    Joined:
    Aug 30, 2009
    Messages:
    160
    Likes:
    1
    Location:
    Latin America
    Thanks again.
    I'll take your word, I will learn ASM. Why is it sometimes called assembler and other times assembly?
    Is that or I've got confused?
     
  10. kchriste

    kchriste New Member Forum Supporter

    Joined:
    Jul 23, 2006
    Messages:
    3,677
    Likes:
    47
    Location:
    Victoria BC, Canada
    It is called assembly language. The assembler is the program which converts the mnemonics to binary code. Sometimes people get it wrong or slip up like I just did. ;)
     
    Last edited: Nov 12, 2009
  11. Karkas

    Karkas Member

    Joined:
    Aug 30, 2009
    Messages:
    160
    Likes:
    1
    Location:
    Latin America
    Thank you very much. I'll keep it in mind.
     

Share This Page