PIC Suggestions


Closed Thread
Results 1 to 11 of 11

Thread: PIC Suggestions

  1. #1

    Default PIC Suggestions

    I am new to the PIC world. I am developing an application that requires one digital input and one digital output. I would like the PIC to be ICD ready. The code is 350 words. What PIC would fulfil my needs? Any input is greatly appreciated. I looked on microchip but there are soo many options I thought I would rather ask for guidance than buy three or four chips to find what I need.

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    12F629 will do the job for cheap.

    But it depends on what you mean by "ICD ready".

    _
    DT

  3. #3


    Did you find this post helpful? Yes | No

    Default

    I see that some PICS don't have the In-Circuit-Debug functionality. Ideally I would like to keep this feature. Thanks for the advice.

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    With 1 digital input, and 1 digital output, I doubt that you'll really have a need for In-Circuit-Debugging.

    However, with that said,... ICD comes in several different forms.

    There's the ICD2 programmer/debugger and it's various Cloned versions found on eBay. They only work with MPLAB from Microchip.
    MPLAB also has a simulator built in so for some things, you don't even need to have hardware connected.

    Then there's the In-Circuit-Debugger that comes with Microcode Studio Plus, which only works with PIC chips that have a USART onboard, and assumes you are using PicBasic Pro.

    Other simple debugging techniques can be applied to any PIC by using the ON DEBUG GOTO command in PBP.

    So, I guess it comes back to ... it depends on what you mean by "ICD ready".
    DT

  5. #5


    Did you find this post helpful? Yes | No

    Default

    Thanks for the input. I ordered the 12f629. MELabs is out of stock for their 8/14 Pin SN/SL Adapter. Do you know of anyone else that sells this part?
    Thanks
    Toby

  6. #6
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

  7. #7
    Join Date
    Jan 2008
    Posts
    6


    Did you find this post helpful? Yes | No

    Default Mcsp & Icd

    Can you confirm that the In-Circuit-Debug functionnality of MicroCode Studio Plus works ONLY with PIC having an internal USART?
    If yes I assume that the code of application inside the PIC must not use the hardware USART, am I right?
    I'm starting to build an application that needs absolutely to use the USART to talk to an external equipment. Does that mean I'll not be able to use the MCSP In-Circuit-Debug capabilities?

    pf

  8. #8
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by f5bqp View Post
    Can you confirm that the In-Circuit-Debug functionnality of MicroCode Studio Plus works ONLY with PIC having an internal USART?
    Yes.

    If yes I assume that the code of application inside the PIC must not use the hardware USART, am I right?
    No.
    You can send data using HSEROUT while debugging.
    It will be displayed in the Output window of the debugger.

    I'm starting to build an application that needs absolutely to use the USART to talk to an external equipment. Does that mean I'll not be able to use the MCSP In-Circuit-Debug capabilities?
    Yes!
    Unless you have a PIC with 2 USARTS?
    _
    DT

  9. #9
    Join Date
    Jan 2008
    Posts
    6


    Did you find this post helpful? Yes | No

    Default ICD on MCSP and UART

    Hi Darrel,

    This is what I was assuming, I made som search to find a PIC with 2 UART but could not find one, do you know one like the 16F877A or better the 18F452 and having two UART?
    This would help...

    Many thanks
    pf
    F5BQP
    (Pierre-François)

  10. #10
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by f5bqp View Post
    do you know one like the 16F877A or better the 18F452 and having two UART?
    Nothing like the 877 or 452.

    And the only ones that'll work with the MCS+ ICD are 18F6620, 18F8620.

    But here's a complete list of pics with 2 USARTS.
    Code:
    17C752
    17C756
    17C756A
    17C762
    17C766
    18F6310
    18F6390
    18F63J11
    18F63J90
    18F6410
    18F6490
    18F64J11
    18F64J90
    18F6520
    18F6525
    18F6527
    18F65J10
    18F65J11
    18F65J15
    18F65J50
    18F65J90
    18F6620
    18F6621
    18F6622
    18F6627
    18F66J10
    18F66J11
    18F66J15
    18F66J16
    18F66J50
    18F66J55
    18F6720
    18F6722
    18F67J10
    18F67J11
    18F67J50
    18F8310
    18F8390
    18F83J11
    18F83J90
    18F8410
    18F8490
    18F84J11
    18F84J90
    18F8520
    18F8525
    18F8527
    18F85J10
    18F85J11
    18F85J15
    18F85J50
    18F85J90
    18F8620
    18F8621
    18F8622
    18F8627
    18F86J10
    18F86J11
    18F86J15
    18F86J16
    18F86J50
    18F86J55
    18F86J60
    18F86J65
    18F8720
    18F8722
    18F87J10
    18F87J11
    18F87J50
    18F87J60
    18F96J60
    18F96J65
    18F97J60
    DT

  11. #11
    Join Date
    Jan 2008
    Posts
    6


    Did you find this post helpful? Yes | No

    Default PIC and 2 USART

    Thanks Darrel, I'll investigate this, probably I'll use a PICPROTO80 for the design:

    http://www.melabs.com/products/picproto/40+pproto.htm

    It'll simplify the development phase...

    pf

Similar Threads

  1. PIC && WiFi suggestions
    By rdxbam in forum General
    Replies: 22
    Last Post: - 26th July 2011, 17:40
  2. SMS via pic
    By kenandere in forum GSM
    Replies: 15
    Last Post: - 10th March 2010, 10:00
  3. Replies: 67
    Last Post: - 8th December 2009, 02:27
  4. pic to pic ir link versus wired link : help please anyone
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th May 2008, 21:01
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts