Shop OBEX P1 Docs P2 Docs Learn Events
Next step from BS to PIC — Parallax Forums

Next step from BS to PIC

ArchiverArchiver Posts: 46,084
edited 2002-03-23 01:18 in General Discussion
Hi guys

We have almost finished the development of our basic stamp project,
and are trying to "cut costs". Is it possible to port the code
directly to the same PIC that parallax uses as it command
interpreter? As in take the hex code, and put it into a raw chip?
Or is this possible?

Thanks
Jody

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-03-20 19:33
    Hi,

    > We have almost finished the development of our basic stamp project,
    > and are trying to "cut costs". Is it possible to port the code
    > directly to the same PIC that parallax uses as it command
    > interpreter?

    I'm not sure about with the Parallax products, but a British company called
    'Revolution Education' make a range of products entitled 'Picaxe' - their
    webpage is here: http://www.rev-ed.co.uk/detail.asp?id=rev02&prodname=PICAXE

    They use Parallax-based technology (Their Stamp controller uses a Stamp 1
    chip), including the PBASIC language, and can compile code to certain PIC
    chips - specifically the Microchip 16F627 - although it lacks certain
    features.

    It could be worth you having a look... it may well do what you want.

    Michael
  • ArchiverArchiver Posts: 46,084
    edited 2002-03-21 02:18
    You can try buying the software PICBasic Pro, it directly converts
    the Parallax Basic into PIC Microcontroller ASM and HEX, try to
    contact me if how to. You can also use the Windows Interface Code
    Designer with the PicBasic Pro.

    --- In basicstamps@y..., "moparjody" <jody.gallant@s...> wrote:
    > Hi guys
    >
    > We have almost finished the development of our basic stamp project,
    > and are trying to "cut costs". Is it possible to port the code
    > directly to the same PIC that parallax uses as it command
    > interpreter? As in take the hex code, and put it into a raw chip?
    > Or is this possible?
    >
    > Thanks
    > Jody
  • ArchiverArchiver Posts: 46,084
    edited 2002-03-21 02:25
    May I can help also to convert your Parallax Basic to ASM or HEX,
    hope no one will get angry at me by helping you.

    --- In basicstamps@y..., "mysemicon2000" <semiconductor@p...> wrote:
    > You can try buying the software PICBasic Pro, it directly converts
    > the Parallax Basic into PIC Microcontroller ASM and HEX, try to
    > contact me if how to. You can also use the Windows Interface Code
    > Designer with the PicBasic Pro.
    >
    > --- In basicstamps@y..., "moparjody" <jody.gallant@s...> wrote:
    > > Hi guys
    > >
    > > We have almost finished the development of our basic stamp
    project,
    > > and are trying to "cut costs". Is it possible to port the code
    > > directly to the same PIC that parallax uses as it command
    > > interpreter? As in take the hex code, and put it into a raw
    chip?
    > > Or is this possible?
    > >
    > > Thanks
    > > Jody
  • ArchiverArchiver Posts: 46,084
    edited 2002-03-22 00:45
    You need a PIC Basic compiler, like PICBasic Pro. I remember a
    site, www.compilespot.com , that lets you compile code for a small
    fee without the need to purchase the compiler.

    I personally use Atmel AVR, so I don't know much more about PIC
    things.

    --- In basicstamps@y..., "moparjody" <jody.gallant@s...> wrote:
    > Hi guys
    >
    > We have almost finished the development of our basic stamp
    project,
    > and are trying to "cut costs". Is it possible to port the code
    > directly to the same PIC that parallax uses as it command
    > interpreter? As in take the hex code, and put it into a raw
    chip?
    > Or is this possible?
    >
    > Thanks
    > Jody
  • ArchiverArchiver Posts: 46,084
    edited 2002-03-22 00:57
    For Jody

    Good evening from Florida. I have gone from Stamp to PIC with reasonable
    success. If you have received everything you need , great. If not, contact
    me off line and I will help you however I can. I've programmed the 16F877,
    the 16F876 and the 16F84A.

    Sid


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-03-22 01:42
    You would be better off buying Parallax's BASIC Stamp interpreter chip. You
    can buy a lot of these chips for the price of a compilier that may not do the
    job correctly. If I was going to program a PIC or SX chip I would use
    assembly code only so to have a lot of program space available. Some
    compiliers eat up a lot of chip program space and have questionable
    performance within the chip. There are a lot of good assemby code examples
    available.
    Chuck
  • ArchiverArchiver Posts: 46,084
    edited 2002-03-22 03:35
    I agree with Chuck on the assembeler. If you are looking to save
    money go with it and learn assembelly language. Really it is not as
    bad as you think, and in no time it will be almost second hand. Two
    great books from Parallax are available for download, Intro to
    Assembelly with the sx and the other is I/O control with the sx.
    Plus they are super fast.
    Personally I would go with the SX chipset since it is improved over
    the pic16c57. I think that Al Williams got the pic basic to compile
    for a project with the sx I seen listed somewhere. Plus you are
    already ahead in the part that you have R and D your project with a
    Basic Stamp and have proven it. Also if you are using Ascii
    transmissions with a SX or pic you will be able to use and inturupt
    and check your I/O while you are recieving or sending your
    transmission.

    Just my 2 cents

    Timothy Hosey



    --- In basicstamps@y..., "moparjody" <jody.gallant@s...> wrote:
    > Hi guys
    >
    > We have almost finished the development of our basic stamp project,
    > and are trying to "cut costs". Is it possible to port the code
    > directly to the same PIC that parallax uses as it command
    > interpreter? As in take the hex code, and put it into a raw chip?
    > Or is this possible?
    >
    > Thanks
    > Jody
  • ArchiverArchiver Posts: 46,084
    edited 2002-03-23 01:18
    I don't have a problem with assembly. A long time ago in my
    Computere engineering course, I learned it. (I think I still have my
    books [noparse]:)[/noparse] )

    The real purpose behind this whole thing, was to gain a power
    savings advantage in two ways.

    1 - Lower powered processor
    2 - Have a processor with an interrupt that I could power down, and
    have my receiver RSSI wake up when receiving a transmission.

    What this means, is having twice the lifetime, on half the battery.

    Thanks for the help.

    Jody


    --- In basicstamps@y..., "automated_panels" <thosey@w...> wrote:
    > I agree with Chuck on the assembeler. If you are looking to save
    > money go with it and learn assembelly language. Really it is not
    as
    > bad as you think, and in no time it will be almost second hand.
    Two
    > great books from Parallax are available for download, Intro to
    > Assembelly with the sx and the other is I/O control with the sx.
    > Plus they are super fast.
    > Personally I would go with the SX chipset since it is improved
    over
    > the pic16c57. I think that Al Williams got the pic basic to
    compile
    > for a project with the sx I seen listed somewhere. Plus you are
    > already ahead in the part that you have R and D your project with
    a
    > Basic Stamp and have proven it. Also if you are using Ascii
    > transmissions with a SX or pic you will be able to use and
    inturupt
    > and check your I/O while you are recieving or sending your
    > transmission.
    >
    > Just my 2 cents
    >
    > Timothy Hosey
    >
    >
Sign In or Register to comment.