pic16f84

Author
xx1mar
New Member
  • Total Posts : 6
  • Reward points : 0
  • Joined: 2007/12/14 23:07:42
  • Location: 0
  • Status: offline
2007/12/14 23:11:38 (permalink)
0

pic16f84

hello,

Im a new member here.. kindly help me, how do i interface the PIC16f84 microcontroller with the computer using com port? may i know what is the schematic of bootloader and the software.. thanks... I'm a user of dallas ds89c450 and the software that im using is the microcontroller tool kit by dallas.. i want to try PIC controller.. thanks
#1

13 Replies Related Threads

    Graham2107
    Senior Member
    • Total Posts : 150
    • Reward points : 0
    • Joined: 2007/11/09 23:12:04
    • Location: Durban, South Africa
    • Status: offline
    RE: pic16f84 2007/12/15 00:19:49 (permalink)
    0
    Not sure what you mean by PIC16F84 with the computer as a COM port and a Dallas DS89C450?
     
    Are you interfacing the PIC with the Dallas ?
     
    Try using a PIC with an RS-232 feature built-in.  I use PIC18F2620 (28-pin skinny DIP) but there are loads of others to use.  It makes for easier RS-232 as you will have to use "soft" coding on the PIC16F84 for the RS-232 routine, although this is not difficult.  The 84 is also an old design. Upgrade to 18F and the page and bank boundaries are no longer required.
    #2
    xx1mar
    New Member
    • Total Posts : 6
    • Reward points : 0
    • Joined: 2007/12/14 23:07:42
    • Location: 0
    • Status: offline
    RE: pic16f84 2007/12/15 01:19:53 (permalink)
    0
       i need a loader for pic16f84.. im a newbie with pic microcontroller. Any suggestion what software and hardware that can be use.. thank you
    #3
    leon_heller
    Super Member
    • Total Posts : 6410
    • Reward points : 0
    • Joined: 2004/08/17 13:19:45
    • Location: St. Leonards-on-Sea, E. Sussex, UK.
    • Status: offline
    RE: pic16f84 2007/12/15 01:21:50 (permalink)
    0
    The 16F84 is obsolete. There are newer chips like the 16F88 available that are much easier to use.
     
    Leon

    Leon Heller
    G1HSM

    #4
    xx1mar
    New Member
    • Total Posts : 6
    • Reward points : 0
    • Joined: 2007/12/14 23:07:42
    • Location: 0
    • Status: offline
    RE: pic16f84 2007/12/15 01:22:06 (permalink)
    0
    how do i interface the PIC16f84 microcontroller using rs232
    #5
    xx1mar
    New Member
    • Total Posts : 6
    • Reward points : 0
    • Joined: 2007/12/14 23:07:42
    • Location: 0
    • Status: offline
    RE: pic16f84 2007/12/15 01:25:46 (permalink)
    0
    thank you leon_heller,  how about pic16f877?  can  i  load  a program  using  rs232?
    #6
    leon_heller
    Super Member
    • Total Posts : 6410
    • Reward points : 0
    • Joined: 2004/08/17 13:19:45
    • Location: St. Leonards-on-Sea, E. Sussex, UK.
    • Status: offline
    RE: pic16f84 2007/12/15 01:36:22 (permalink)
    0
    I've never used it. Most of the newer chips can be loaded via RS-232.
     
    Leon
     
     

    Leon Heller
    G1HSM

    #7
    xx1mar
    New Member
    • Total Posts : 6
    • Reward points : 0
    • Joined: 2007/12/14 23:07:42
    • Location: 0
    • Status: offline
    RE: pic16f84 2007/12/15 01:44:54 (permalink)
    0
    thank you leon, i saw in ur website  http://www.geocities.com/leon_heller/pic.html a simple pic programmer and supports pic16f84 using serial port.. what version of IC-PROG and what site? i am a newbie to PIC thanks
    #8
    P Lameijn
    Super Member
    • Total Posts : 1907
    • Reward points : 0
    • Joined: 2004/01/22 18:30:23
    • Location: The Netherlands
    • Status: offline
    RE: pic16f84 2007/12/15 03:27:59 (permalink)
    0
    >> may i know what is the schematic of bootloader and the software..
     
    The 16F84 cannot be used with a bootloader. Select a type with self-programmable flash memory...
    (See the selection guide) 

    Regards,
    Peter
    #9
    Olin Lathrop
    Super Member
    • Total Posts : 7463
    • Reward points : 0
    • Joined: 2004/02/26 17:59:01
    • Location: Littleton Massachusetts
    • Status: offline
    RE: pic16f84 2007/12/15 07:07:18 (permalink)
    0
    how do i interface the PIC16f84 microcontroller with the computer using com port?

    For anyone that has to come here to ask, the answer is "You don't", since the 16F84 has now hardware UART.  It is possible to implement a UART in software, but that is not a beginner topic.  The best answer is to use a 16F648A instead of the 16F84.  The '648A has more RAM, more program memory, has a hardware UART, a few other additional hardware goodies, comes in the same package, and even costs less.
     
    The hardware UART takes care of all the timing and bit level signal generation, but you still can't hook it up directly to a PC COM port.  The voltages are in the wrong range and the logic level is inverted.  You need something like a MAX232 or one of the many equivalent chips to convert between the PIC UART and a COM port.  My RSLink modules might be handy if you want the converter off board or don't want to deal with the MAX232 chip directly.
    #10
    P Lameijn
    Super Member
    • Total Posts : 1907
    • Reward points : 0
    • Joined: 2004/01/22 18:30:23
    • Location: The Netherlands
    • Status: offline
    RE: pic16f84 2007/12/15 07:11:14 (permalink)
    0
    >> The best answer is to use a 16F648A instead of the 16F84. 
     
    That still cannot use the requested bootloader... Would need 16F87/88
     

    Regards,
    Peter
    #11
    Olin Lathrop
    Super Member
    • Total Posts : 7463
    • Reward points : 0
    • Joined: 2004/02/26 17:59:01
    • Location: Littleton Massachusetts
    • Status: offline
    RE: pic16f84 2007/12/15 07:29:40 (permalink)
    0
    That still cannot use the requested bootloader... Would need 16F87/88

    I just checked an you're right.  He should go for a 16F88.  I hadn't realized that flash write was another difference between the 16F648A and the 16F88.  I originally suggested the '648A because I thought the comparator would cause a little less trouble than the A/D if not disabled properly.
    #12
    leon_heller
    Super Member
    • Total Posts : 6410
    • Reward points : 0
    • Joined: 2004/08/17 13:19:45
    • Location: St. Leonards-on-Sea, E. Sussex, UK.
    • Status: offline
    RE: pic16f84 2007/12/15 08:33:21 (permalink)
    0
    Any version of IC-Prog should work with my version of the JDM programmer. You'd be better off with an ICD 2 or PICkit 2, as they support the MPLAB debugger.
     
    Leon

    Leon Heller
    G1HSM

    #13
    P Lameijn
    Super Member
    • Total Posts : 1907
    • Reward points : 0
    • Joined: 2004/01/22 18:30:23
    • Location: The Netherlands
    • Status: offline
    RE: pic16f84 2007/12/15 15:33:28 (permalink)
    0
    >> I originally suggested the '648A because I thought the comparator would cause a little less trouble than the A/D if not disabled properly.

    Then the 16F87 would be a good choice. (16F87 is a 16F88 without A/D converter)  It's also cheaper... Smile

    Regards,
    Peter
    #14
    Jump to:
    © 2017 APG vNext Commercial Version 4.5