+ Post New Thread
Results 1 to 5 of 5
  1. #1
    Member level 1
    Points: 1,089, Level: 7

    Join Date
    Jan 2009
    Posts
    36
    Helped
    1 / 1
    Points
    1,089
    Level
    7

    how to program PIC16f84 using C

    Hi everyone, pls I need help on how program my PIC16f84 using C programming language. Thank in advance for every help given.

    •   Alt23rd February 2011, 16:49

      advertising

        
       

  2. #2
    Full Member level 5
    Points: 4,671, Level: 16

    Join Date
    Aug 2001
    Location
    Argentina
    Posts
    285
    Helped
    27 / 27
    Points
    4,671
    Level
    16

    Re: how to program PIC16f84 using C

    Do you already have a compiler, wich one is it?.
    Compilers generates a output file, normally it is a intel 8 bit .HEX format, that file you can use in most PIC programmers.
    What is your specific doub?



    •   Alt23rd February 2011, 17:13

      advertising

        
       

  3. #3
    Full Member level 4
    Points: 2,211, Level: 10

    Join Date
    Apr 2009
    Location
    Hyderabad, India
    Posts
    217
    Helped
    5 / 5
    Points
    2,211
    Level
    10

    Re: how to program PIC16f84 using C

    You can use MPLAB IDE tool to download the code in your micro controller.

    Regards
    Chanchal

    ---------- Post added at 10:09 ---------- Previous post was at 10:07 ----------

    kindly please describe in more details if you have more query on that.



    •   Alt25th February 2011, 09:09

      advertising

        
       

  4. #4
    Advanced Member level 1
    Points: 3,913, Level: 14

    Join Date
    May 2010
    Location
    Sri Lanka
    Posts
    403
    Helped
    121 / 121
    Points
    3,913
    Level
    14
    Blog Entries
    1

    Re: how to program PIC16f84 using C

    You can use C compilers like MikroC, MikroC PRO, PIC C (or any other supported) to write C program on an editor and compile it to generate Intel-format-hex file that can be executed inside the PIC.

    To program the PIC, you need programmer circuit (So many in JDM type, Pickit2 etc.) and software(PICkit2, WinPIC, Winpicprog, etc.) to operate it from PC. They send generated Intel Hex format file to PIC program memory.

    See PIC microcontroller - Wikipedia, the free encyclopedia



  5. #5
    Advanced Member level 3
    Points: 17,217, Level: 31

    Join Date
    Apr 2005
    Posts
    880
    Helped
    126 / 126
    Points
    17,217
    Level
    31

    Re: how to program PIC16f84 using C

    Check this link:
    PIC Tutorial

    Also, attached is the simplest programmer you can find for programming the PIC16F84



+ Post New Thread
Please login