How can i take start programming


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    May 2007
    Posts
    5

    Smile How can i take start programming

    Hi
    I am a electronic technition.I can design and analyze a cct but i was stucked a lot while trouble shooting a micro controlling based cct or pic based cct.I need help to take a start for these.



    best regards


    mubashir

  2. #2
    Join Date
    Apr 2006
    Location
    New Hampshire USA
    Posts
    298


    Did you find this post helpful? Yes | No

    Smile Start blinking an LED.

    Quote Originally Posted by mubashir View Post
    Hi
    I am a electronic technition.I can design and analyze a cct but i was stucked a lot while trouble shooting a micro controlling based cct or pic based cct.I need help to take a start for these.
    best regards
    mubashir
    Hi mubashir,

    Welcome to the MELabs PICBASIC Forum.
    If you start with PIC Microchip microcontrollers:

    Do you have a programmer, compiler and compiler editor?

    Mentioned often on this forum:
    PICkit 2 programmer, PicBasic Pro compiler and MicroCode Studio compiler editor

    Please look at and make note of the difference between these compilers:
    PicBasic compiler (PBC)
    PicBasic Pro compiler (PBP)

    You may want to start with a well used PIC model. Most here would discourage using the PIC16F84, it is now quite limited, and difficult to obtain. There are many newer PICs that are less expensive and more powerful.
    For instance the cheaper PIC16F628, does everything the old PIC16F84 does, and a lot more.
    http://www.rentron.com/PIC16F628.htm

    There are different techniques used to build the electronic circuits. Some use a fairly complex “development” circuit board. Some use the “solder-less bread-board” and just plug components in. Some wire “point to point” or “wire wrap”. Some lay-out circuits on a “printed circuit board”. We would recommend that you don’t start with the more permanent type prototype method. The development board or the solder-less bread-board seem to be a better method.

    Also, most everyone on the forum will recommend that you start small.
    Because you are familiar with electronic design, you are far ahead of a lot of the beginners.
    But, still start with the simplest of PIC programs, simplest of circuit layouts.

    The NOW famous, “blink an LED” is the most recommended start project. We all still revert all the way back to it to test our set-ups and eliminate non complex error possibilities. The code should be cut and pasted to eliminate typos.
    Look for: blink.bas (bottom of page)
    http://www.rentron.com/PicBasic/prod...CBASIC-PRO.htm

    There are code examples at these sites:
    http://www.rentron.com/PicBasic1.htm
    http://www.rentron.com/PicBasic2.htm

    Please do not try any complicated programs until you have built a few of the simpler ones.
    Start blinking an LED.
    Make the LED come on when an input is switched.
    Make the LED dim and brighten.
    Later, you can add a LCD display, or more fancy stuff.

    Anyone else have more advice for mubashir?

    Hope this helps,
    -Adam-
    Ohm it's not just a good idea... it's the LAW !

  3. #3
    Join Date
    May 2007
    Posts
    5


    Did you find this post helpful? Yes | No

    Default How can i take start programming

    Hi
    No i do not have a programmer, compiler and compiler editor.Please tell me how can i get these and from where?

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


    Did you find this post helpful? Yes | No

    Default

    To start, don't go under MicroChip PICKIT 2. it's actually listed ~40 USD$

    IT'S WORKING. Don't waste your time to build your own JDM, PicAll and all other freebies one... they simply don't worth AND you can't trust them..

    Go go go, PICKIT 2... nice start point.

    MicroChipDirect or any good electronic supplier will have them.
    Steve

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

  5. #5
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mubashir View Post
    Hi
    No i do not have a programmer, compiler and compiler editor.Please tell me how can i get these and from where?
    www.google.com
    www.microchip.com
    www.google.com
    www.melabs.com
    www.google.com
    www.microsoft.com
    etc.etc.etc.
    Just a little bit of looking will get you a LONG way...

  6. #6
    Join Date
    Apr 2006
    Location
    New Hampshire USA
    Posts
    298


    Did you find this post helpful? Yes | No

    Post programmer, compiler and compiler editor

    PICkit 2 programmer, PicBasic Pro compiler and MicroCode Studio compiler editor

    You should shop around, these will tell you about the products:
    PICkit 2 programmer
    Part Number: DV164121 - PICkit 2 Debug Express
    http://www.microchipdirect.com/produ...words=DV164121

    PicBasic Pro compiler DEMO
    http://www.rentron.com/Micro-Bot/PBP_Demo.htm

    PicBasic Pro compiler buy full version
    http://www.rentron.com/PicBasic/prod...CBASIC-PRO.htm

    MicroCode Studio compiler editor free DEMO version
    MicroCode Studio Plus compiler editor buy full version
    http://www.rentron.com/PicBasic/prod...ode_Studio.htm

Similar Threads

  1. Data Programming Error at 0000
    By cpatnoi in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 22nd May 2009, 04:37
  2. First timer...building a remote controlled vehicle
    By .n0rig. in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 9th February 2009, 04:44
  3. Problems programming
    By Lionheart in forum General
    Replies: 4
    Last Post: - 7th December 2008, 17:51
  4. Pic16f84 and RC5 kode
    By terminator in forum Bluetooth
    Replies: 5
    Last Post: - 18th June 2007, 22:40
  5. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 03:30

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