Results 1 to 9 of 9

Thread: software to program? whats best for a noobe

  1. #1
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    184
    Downloads
    0
    Uploads
    0

    software to program? whats best for a noobe

    Was wondering what software everyone uses to program their Pics. I have MS c++ but searched and saw PicBasic. Was the easier of the 2.. Also Im new to C++


  2. #2
    Registered
    Join Date
    Jul 2005
    Location
    us
    Posts
    668
    Downloads
    0
    Uploads
    0
    I'm just using assembler. I haven't seen any assembly code in over 20 yrs and it only took a couple hrs to get up to speed with the pic language. Only 35 or so instructions. Microcontrollers are at their best manipulationg bits, nibbles and bytes and so is the assembly language.
    Steve
    DO SOMETHING, EVEN IF IT'S WRONG!


  3. #3
    Registered
    Join Date
    Feb 2006
    Location
    USA
    Posts
    102
    Downloads
    0
    Uploads
    0
    I don’t think your going to have a whole lot of luck trying to program a
    Microchip Pic chip using C++. Pics just don’t have the memory or large
    enough registers to handle that type of programming. You can use plain
    (ANSI) C to program Pic Chips but it has to be a compiler intended to
    generate code which is targeted at the micro you intend to use. Lots of C
    compilers for Pic chips out there. C++ is intended for processors found in PCs
    and some embedded systems, which have a LOT more resources than the Pic
    chips have. You CAN use C++ to develop a PC program to communicate with
    a PIC based controller regardless of what language is used to program the Pic
    Chip.

    As far as the PicBasic goes you can get a limited DEMO from
    http://www.melabs.com/pbpdemo.htm the full program runs from
    100.00 – 250.00 ( $ USD ) the lower priced version being somewhat limited in
    functionality.

    You could go with Pic assembly for Free, from Microchip
    http://www.microchip.com/stellent/id...&part=SW007002

    Then you need a Programmer Board to get the code into the chip, this range from 100.00 up.

    Best of luck
    Mike_L

    When I was younger I thought I knew EVERYTHING,
    NOW, the older I get the more I find out I don’t know!


  4. #4
    Gold Member
    Join Date
    May 2005
    Location
    UK
    Posts
    269
    Downloads
    0
    Uploads
    0
    Hi, i've been using Proton+ Basic compiler from www.crownhill.co.uk, have been using this language on and off for several years now, I think they have a free version. On the larger PIC's floating point is supported and the code produced is quite tight. I managed to build a 6805 debugger/ emulator with rs232 support and a pc command interface with just one PIC18F452.

    There are some GPL'd compilers on the net if you want to go free.


  • #5
    Registered
    Join Date
    Aug 2005
    Location
    U.S.A
    Posts
    52
    Downloads
    0
    Uploads
    0
    Microchip provides their student version C compiler for free for the PIC18 family of processors. You should probably also uses MPLAB (FREE) for your development and debugging. You could use MPLAB and the C Compiler, assembly language, or both for code development.

    I have used a pic programmer called Epic from microEngineering Labs in the past. This devices is under $50 last time I looked. Their are other under $100 programmer solutions out their. I would also look at microchips PICKit develpoment system


  • #6
    Registered
    Join Date
    Sep 2005
    Location
    USA
    Posts
    425
    Downloads
    0
    Uploads
    0
    I have been using assembly or C to program small micros (PIC's and many others) for years and would suggest the same. Follow the advice above on the free tools from Microchip as a very good starting point.


  • #7
    Registered
    Join Date
    Aug 2005
    Location
    U.S.A
    Posts
    52
    Downloads
    0
    Uploads
    0
    there, there , there

    I should be more aware of my grammer.


  • #8
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    184
    Downloads
    0
    Uploads
    0
    ?????

    Quote Originally Posted by Megahertz
    there, there , there

    I should be more aware of my grammer.


  • #9
    Registered pminmo's Avatar
    Join Date
    Jun 2003
    Location
    St. Peters, Mo USA
    Posts
    3,325
    Downloads
    0
    Uploads
    0
    Languages are a catch22. If your doing real low level hardware functions at high speed and very tight timing, assember, no other way. Lots of memory, C or the complied basics.
    Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
    Vist my websites - http://pminmo.com & http://millpcbs.com


  • Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.