Alternative for picaxe08

Discussion in 'Embedded Systems and Microcontrollers' started by jose_007, May 3, 2011.

  1. jose_007

    Thread Starter New Member

    May 3, 2011
    24
    0
    Please guide with a good alternative for PICAXE-08 microcontroller.....
    Preferable programming in BASIC


    Thanks
    Jose
     
  2. BillO

    Well-Known Member

    Nov 24, 2008
    985
    136
    Well, there is the Picaxe 08M.
     
  3. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    A (real) PIC, a PICKIT 3 programmer/debugger and some free version of Basic for PICs.
     
  4. jose_007

    Thread Starter New Member

    May 3, 2011
    24
    0
    @billo
    other than picaxe series
     
  5. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    7,389
    1,605
    QFT

    I would add Microchip has free evaluation versions of their C compilers that work with the 18 series and up.

    For more baseline devices (10's, 12's and 16's) see SourceBoost who also has free evaluation versions. Though more limited then MC's versions you can still push thru some useful stuff.

    Though I stopped using them a few years ago oshonsoft.com has some very inexpensive Basic compilers that I found very useful, though I do not believe they integrate into the MPLAB environment (which is a very useful thing).
     
  6. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
  7. jose_007

    Thread Starter New Member

    May 3, 2011
    24
    0
    @all
    I am looking for MCU and not compilers
     
  8. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    If you are going to program in basic you will need a Basic compiler. MCU programming the proper way is quite different from the way you probably know from the flimsy PICaxe way of doing things.
    And also PIC have many hundred MCUs. What kind of work do you want to do with your MCU
     
  9. jose_007

    Thread Starter New Member

    May 3, 2011
    24
    0
    @t06afre
    I had designed my circuit with picaxe 08 but its unavailable right now..So i was looking for an identical MCU of another company...Can you guide please...
     
  10. AlexR

    Well-Known Member

    Jan 16, 2008
    735
    54
    There is no other company!
    The picaxe08 uses the Microchip's PIC12F629 microcontroller chip into which the picaxe people program a their proprietary Basic interpreter. No-one other than picaxe sells chips that run picaxe software.
    Your options are;
    1. Re-write your code to suit a picaxe you can get.
    2. Learn to program Microchip PIC chips in either assembler or C and get a PICKIT2/3 programmer. This will give you access to a very larger range of microcontroller chips and the ability to create much more powerful programs that the picaxe can handle.
     
  11. nickelflipper

    Active Member

    Jun 2, 2010
    280
    35
    jose 007:
    The Pickit 2 starter kit, includes the low pin count demo board, and would be a good way to start. GCBasic is a capable open source Basic compiler.
     
  12. jose_007

    Thread Starter New Member

    May 3, 2011
    24
    0
    @AlexR
    thanks for reply

    you mean to say that no chip other than picaxe can be programmed with BASIC ? and all require C ??
     
  13. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    No not at all. You can program PIC MCUs in basic. If you want to do that. But it is only chips from the PICAXE vendor that support the PICAXE concept.
     
  14. jose_007

    Thread Starter New Member

    May 3, 2011
    24
    0
    sorry to say but I dont get the point.....what's picaxe concept you are talking about ?

    and does it mean i should search for PIC12F629 sold by some other company or what ??I mean what should i say to vendor ?
     
  15. jose_007

    Thread Starter New Member

    May 3, 2011
    24
    0
    and also will I have to change circuit design to accomodate mcu change ?
     
  16. AlexR

    Well-Known Member

    Jan 16, 2008
    735
    54
    As I said previously the picaxe has a basic interpreter programmed into the chip. This means that you download the Basic text file to the chip. It read the text file and on the fly translates the Basic command into machine code that the microcontroller can understand.
    Only the picaxe has the picaxe Basic interpreter programmed into it so only a picaxe will run a picaxe Basic program.

    If you are using a PIC chip and not the using the picaxe then you must run a compiler on you computer. It can run Basic, C, assembler or any language you like but it must be written for PIC chips. The compiler converts your text source code into binary machine code that the PIC can understand.
    You then have to use a programmer to burn the binary machine code into the PIC flash memory.
     
  17. jose_007

    Thread Starter New Member

    May 3, 2011
    24
    0
    @alex
    Thanks for explaining that.....My doubts are cleared now...
    Just 3 things:
    1)If I feed the same code(in BASIC) as of picaxe into any of the compilers earlier mentioned,will it work ?...Sorry if its dumb
    2)Will the original circuit have to be modified ?
    3)As I am not getting picaxe 08 ,can i simply ask vendor to give me any PIC12F629 chip ?


    Thanks again everyone
     
  18. AlexR

    Well-Known Member

    Jan 16, 2008
    735
    54
    It might or it might not. There are no standards for the basic language so it all depends how close the basic you choose is in its commands and syntax to the basic that picaxe uses. However since picaxe seems to hide much of the PIC functionality behind high level commands I would guess that your program will need quite a bit of modification.
    Probably. If you are using the PIC12F629 chip you will gain a couple of extra I/O pins that were used by the PICAXE loader but depending on your programmer you may need to provide some programming connections.
    Yes you can but you also need to get a programmer some compiler software.
     
  19. jose_007

    Thread Starter New Member

    May 3, 2011
    24
    0
    in picaxe ,i was using 6 pins of i/o and 2 pins for programming.....
    and PIC12F629 datasheet also says the same thing....so where am i going to gain pins ? and eventually waht will be need to modify the circuit ?


    Also,if by any chance i am gaining any pin,but my circuit appears ok with old config. , is it fine to leave a pin idle ??I mean no connection anywhere


    Thanks
     
    Last edited: May 4, 2011
  20. jose_007

    Thread Starter New Member

    May 3, 2011
    24
    0
    please reply
     
Loading...