Shop OBEX P1 Docs P2 Docs Learn Events
Programming pics other than the basic stamp — Parallax Forums

Programming pics other than the basic stamp

studysessionstudysession Posts: 66
edited 2007-02-04 20:53 in General Discussion
I ordered something coming in the mail that comes with a PIC16F870

Can I use my BASIC STAMP·editor and program it? What is similar to the BASIC STAMP EDITOR that I can use to program the PIC16F870· that is very cheap in price?

Many thanks -
SS

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-02-03 02:52
    The Basic Stamp Editor can only be used to program Parallax Stamps. You'll have to do your own websearch to find ways to program a PIC16F870 since this is a Parallax support forum and does not support PIC programming in general. There are plenty of other sources for information on how to use PIC processors.
  • studysessionstudysession Posts: 66
    edited 2007-02-03 14:08
    Thanks -

    I have 2 Boe-Bots and one Basic Stap 2 board. So used to how it works and the programming environment. Was was hoping there was a way to use it and then somehow translate it to something that this other chip can understand.
  • Bruce BatesBruce Bates Posts: 3,045
    edited 2007-02-03 15:28
    StudySession -

    You can certainly use the MicroChip assembler, which as far as I'm aware, is still free. Obviously that will require learning assembly language, which can be a project in itself, if you're not familiar with any other assembler language.

    Regards,

    Bruce Bates

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    <!--StartFragment -->
  • studysessionstudysession Posts: 66
    edited 2007-02-03 15:30
    Thanks -
    I am not familiar with other programming languages. One reason I was hoping to keep things the same. Looks like need to purchase some extra study material. [noparse]:)[/noparse]
  • RDL2004RDL2004 Posts: 2,554
    edited 2007-02-04 12:40
    This may be of help.

    www.piclist.com/techref/piclist/index.htm

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Rick
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2007-02-04 16:30
    Two things:

    1. Parallax's SX microcontroller has an instruction set almost identical to that of the baseline PICs and is a lot faster. If you're not stuck on the PIC16F870 (which, admittedly, has some other nice features), you might give the SX a try. The advantage here is that you gain access to the SX/B Basic compiler (free), which provides a nice on-ramp to this architecture, consistent with its high performance. Then you can add assembly coding as you need it.

    2. If you really must use the PIC, by all means do not use the Microchip assembler. The Microchip mnemonics are totally cryptic, and you'll hate them. Better to get the Parallax derivitive assembler, CVASM16, included with the TDE design environment from TechTools, here. It uses much more readable mnemonics which, not coincidentally, are the same as those used by Parallax's SX assembler. TechTools also offers some reasonably-priced programming hardware.

    -Phil

    Post Edited (Phil Pilgrim (PhiPi)) : 2/4/2007 4:36:32 PM GMT
  • studysessionstudysession Posts: 66
    edited 2007-02-04 16:35
    Thanks -

    I bought a learning kit off ebay: (one of these)
    http://cgi.ebay.com/Microchip-PIC16F870-3-Axis-Stepper-Motor-Project_W0QQitemZ220078095836QQihZ012QQcategoryZ50915QQrdZ1QQcmdZViewItem

    It comes with the chip. Want a way to program it. If I knew how to do same thing with other chip I am open to that. Thanks

    End result - I bought this to learn how to make a 3 axis stepper driver/controller. Learn to make my own and maybe be able to do it all from basic stamp or something else. I am open to change once I know what I am doing.

    Thanks
  • NewzedNewzed Posts: 2,503
    edited 2007-02-04 17:06
    Programming the 16F870 requires a programmer, like WARP-13, and an Editor such as MicroCode Studio.· The Editor can be downloaded from Reynolds Electronics - www.rentron.com.· Once you have the program written I can download it to your chip since I have a WARP 13.

    Sid

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Sid Weaver
    Don't have VGA?

    Newzed@aol.com
    ·
  • FranklinFranklin Posts: 4,747
    edited 2007-02-04 17:17
    You could probably do this with a bs2p40 but you would have to write your own code. But that is what you want to do anyway, to learn.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • studysessionstudysession Posts: 66
    edited 2007-02-04 17:27
    Franklin -
    Are you saying to use this one:
    http://www.parallax.com/detail.asp?product_id=BS2P40-IC

    What board do I use with it?
    Thanks
  • Kevin WoodKevin Wood Posts: 1,266
    edited 2007-02-04 20:53
    You can plug the BS2 modules into your breadboard the way the Ebay picture shows.

    If you are really up to something different, you could also use a Propeller.

    Combined with something like an EarthLCD (or similar) touch screen, you could make a nice CNC controller.
Sign In or Register to comment.