Is this the correct PIC?


Closed Thread
Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697

    Default Is this the correct PIC?

    Hi. Ive been trying to use the Microchip PIC search page to find a PIC that best suits my project. After entering some search criteria it came up with PIC16F526. Is this really the best match for my project? I thought i best check before i go ordering parts.

    The project needs:-
    6 outputs to other chips.
    1 output to an LED
    3 switch inputs
    Serial in/out 9600,n,8,1 (using serin/serout and not the hardware UART)

    It appears that i can use an internal MCLR and oscillator so i would have enough pins to do what i want. Can someone just check it to make sure its right please. It probably isnt

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Hi,
    i've never been a real fan of the internal osc for serial communication, but some use it without problem. So yes the PIC you have selected seems right.

    PIC16F676, PIC16F684, PIC16F88, PIC16F819, PIC16F690, PIC18F1320 are some other popular model.

    9600 baud @4MHz may work, i would suggest you to use DEBUG/DEBUGIN instead of SERIN.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    9600 baud has always worked on a 4MHz *external* osc for me before. I think that means 4MHz is enough but it might be a different story with the internal one.

    How did you get that list of PICs? when i searched for what i wanted it only found that 1 result. I only specified a few search items too.

    I wont ask why i should use DEBUGIN because im sure the manual covers it. It has arrived but ive not had chance to read it yet (i will do before i have to program something again). It came with a CD too I was expecting a floppy disk

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Those PIC are few of those i have in stock.

    I was expecting a floppy disk
    problem is that there's not a load of people who still have or use it. Most, see all, new computer no longer ship with it.

    My first PBP disk was on floppy though... when i was young
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    >>Ive been trying to use the Microchip PIC search page to find a PIC that best suits my project

    Have your tried the search tool at the MELABS website? I think it works just great -

    http://melabs.picbasic.com/Scripts/perl/picsearch.pl
    Paul Borgmeier
    Salt Lake City, UT
    USA
    __________________

  6. #6
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    mister_e, I do still have computers with floppy drives in but im no sure if any of them work. I was worried i would put it in and the drive would damage it (its happened before). But now in a strange turn of events all my CD rom drives seem to have stopped working. 1 of them took a disk off me yesterday and wouldnt open until i jammed a paperclip in that little hole.

    paul borgmeier, I haddnt but at first glance it looks a lot easier to use and has been added to my favs. Thanx

    Edit: Just a thought. Is there somewhere i can get a full list of PICs that can easily be imported into MySQL? Im quite good with SQL queries so that would make finding chips even easier

  7. #7
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by The Master View Post
    But now in a strange turn of events all my CD rom drives seem to have stopped working. 1 of them took a disk off me yesterday and wouldnt open until i jammed a paperclip in that little hole.
    Hello T.M.,
    Win95 & up . . . open up the device manager and remove the offending drive, reboot and let it find and set it up again. ALSO many times CD R and CDRW will do that (get stuck) I think the drive is looking for something it never finds.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  8. #8
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    Thanx for the advice but the drive has fixed itself :S. It must have just been that CD that it didnt like (not PBP). To be honest, the PC is quite old. The CD drive is a bit newer but it could be better. Im planning to replace the whole PC with something really good as soon as i can afford it. As for the other PC im not sure. Its a fairly decent one but the CD drive just didnt like that CD. It must be the CD since im sure both drives normally work fine.

  9. #9
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Some CDs are just that way, only good for hanging in your backyard fruit trees to scare off the birds
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Similar Threads

  1. HSERIN & Interupts (aka controlling PIC programs from a remote PC)
    By HankMcSpank in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 17th June 2009, 14:46
  2. 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
  3. Replies: 14
    Last Post: - 26th September 2007, 05:41
  4. Must reset PIC to get correct operation?
    By Christopher4187 in forum General
    Replies: 5
    Last Post: - 2nd June 2006, 01:59
  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 : 1

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