PIC Newbie


Closed Thread
Results 1 to 8 of 8

Thread: PIC Newbie

  1. #1
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    49

    Default PIC Newbie

    Hi all,

    I am new to PIC. In fact I am totally zero with this MCU world.After going through this forum for some time i've decided to put myself in this community. I need some guide from you all out there if posible. I have few question for begining.

    1. What do I need to get involve in PIC worl? (software & hardware).I already download PicBasic Software from Melab.I prefer Basic cause I think it is the simplest language for newbie like me.

    2. For the programmer is it posible to do it on my own cause it's dificult toget here in my place. Anybody out there can help me with the schematic.

    3. What is the best PIC for me as a newbie?

    Hope not trouble you so much. Thanks in advance and I really appreciate if someone could point me to right direction.

    see u.

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by azmax100 View Post
    Hi all,

    I am new to PIC. In fact I am totally zero with this MCU world.After going through this forum for some time i've decided to put myself in this community. I need some guide from you all out there if posible. I have few question for begining.

    1. What do I need to get involve in PIC worl? (software & hardware).I already download PicBasic Software from Melab.I prefer Basic cause I think it is the simplest language for newbie like me.

    2. For the programmer is it posible to do it on my own cause it's dificult toget here in my place. Anybody out there can help me with the schematic.

    3. What is the best PIC for me as a newbie?

    Hope not trouble you so much. Thanks in advance and I really appreciate if someone could point me to right direction.

    see u.
    1) Which version of PBP did you get?
    2) Go to Microchip.com, look up the PICKIT2. With that package, you can pretty much build you own programmer and use the software that goes with it.
    3) Depends on what you want to do. Read a bunch of threads, get some ideas, and pick a PIC.

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


    Did you find this post helpful? Yes | No

    Default

    Welcome in the addictions world

    1. What do I need to get involve in PIC worl? (software & hardware).I already download PicBasic Software from Melab.I prefer Basic cause I think it is the simplest language for newbie like me.
    You're right, it's easy to get started with Basic. However i will also recommend you learn a little bit of assembler one day. It's always handy.

    BTW, you need
    1. the compiler.. you have a demo version.
    2. a code editor. I recommend MicroCode Studio. There's a free version available bellow.
      http://www.mecanique.co.uk/code-studio/index.html
    3. a PIC programmer. I second the PICKit 2 idea. There's still some free available here and there... but ~50$ worth the price to have peace of mind.

    2. For the programmer is it posible to do it on my own cause it's dificult toget here in my place. Anybody out there can help me with the schematic.
    ok, have a look to the WinPicProg , IC-PROG and/or Winpic8000 websites. Everything should be there. I think the P16PRO40 and JDM are the most popular models.

    bellow you'll find a whole thread talking about that
    http://www.picbasic.co.uk/forum/show...+programmer%27

    3. What is the best PIC for me as a newbie?
    anything else than the useless PIC16F84 will be fine. But to begin some experiments, i'll suggest PIC16F628A or better... PIC16F88.
    Steve

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

  4. #4
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    49


    Did you find this post helpful? Yes | No

    Default PIC Newbie

    Thanks skimask & mister_e for your guidance.

    Now things come bit clear to me. trough my understanding I need:

    Software:
    MicroCode Studio. (already download)
    Compiller. (already downlosd PicBasic Pro Demo version).

    Hardware:
    After reading some thread here http://www.picbasic.co.uk/forum/show...+programmer%27

    I found this http://www.olimex.com/dev/pic-pg2c.html and have download the schematic.It seem quite simple for me to get it done but i'm not sure whether I can use MicroCode Studio with this programmer.


    can you please let me know?

    If can't can you please provide me with Schematic diagram for the programmer that i can use with MicroCode Studio.
    I really need your help to start with PIC.

    Sorry for few dumb question.

    Really appreciate your help. Thanks.

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


    Did you find this post helpful? Yes | No

    Default

    No dumb question at all. You just need few tips.

    MicroCode Studio is you code editor. It have nothing to do with you PIC programmer... apart that you can launch the PIC programmer software from it. but let's skip it first.

    What you'll need to do.
    1. create your code in MicroCode Studio
    2. hit F9, to compile it. This will create a .HEX file
    3. open ICPROG (or else application which fit your Olimex programmer)
    4. select the right PIC #
    5. open the .HEX file
    6. program you PIC
    7. enjoy your first program... or not depending

    later, we could launch ICPROG from MicroCodeStudio using the command line i just found bellow
    http://www.ic-prog.com/cmdline.txt
    Steve

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

  6. #6
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Smile The site's best asset: Mister E

    Quote Originally Posted by mister_e View Post
    No dumb question at all. You just need few tips.

    MicroCode Studio is you code editor. It have nothing to do with you PIC programmer... apart that you can launch the PIC programmer software from it. but let's skip it first.

    What you'll need to do.
    1. create your code in MicroCode Studio
    2. hit F9, to compile it. This will create a .HEX file
    3. open ICPROG (or else application which fit your Olimex programmer)
    4. select the right PIC #
    5. open the .HEX file
    6. program you PIC
    7. enjoy your first program... or not depending

    later, we could launch ICPROG from MicroCodeStudio using the command line i just found bellow
    http://www.ic-prog.com/cmdline.txt
    I think Mister E is quite possibly the most helpful person on here. Mind you, I only signed up as a member the other day, but it certainly looks like Mister E's the right person to ask for help around here. I just have to say, on top of the aforementioned list of ingredients there should also be a mention of the fact that a good understanding of electronics is vital. Without this you will struggle. No matter how easy the language. I think it’s a good assumption in saying that if you can throw together a simple circuit using discrete logic IC’s then you’ll do well with PICs. Best not to start with the latter.

    Regards,
    Trent Jackson

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


    Did you find this post helpful? Yes | No

    Default

    Hi Trent,
    Welcome to the forum and thanks for all the good words.

    I have to agree, some electronic basics is needed. As you will notice, most of the user problem are about programming. In a really few case, we see hardware problems (appart those missing decoupling caps, bad psu etc etc).

    At least, we have a nice community here and many user are always ready to help. Maybe why ALL forums exist
    Steve

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

  8. #8
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    49


    Did you find this post helpful? Yes | No

    Default

    Hi everybody,

    First of all I have to thank to all of you especially mister_e for the time spending to answer my question. I really apreciate it so much.

    For know I almost understand what do i need to start with PIC. I have very little knowledge in electronic but i will learn as much as posible and with the support from the very supportive forum members I think i would learn more from time to time.

    I will start to work with the programmer and let you all know the outcome soon.

    Thanks again.

    Take care.

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. Replies: 14
    Last Post: - 26th September 2007, 05:41
  3. Newbie to pic but not electronics
    By Techbuilder in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 13th July 2007, 17:48
  4. PIC to PC newbie
    By Michael in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 19th June 2007, 01:07
  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