Let's Make Robots!

What's the difference between the BS programming language and PIC's Language?

I've been programming a BASIC Stamp II, and so-far-so-good. However, one of the main things that has bothered me about it is its cost. I couldn't afford to build all my robots with a BS II. 

 

I was wondering, as this is one of my biggest concerns, what's the difference between the BASIC Stamp programming Language and the PIC language? This may seem like a dumb question, but keep in mind that I'm pretty new to all this.

 Seeing that there's a PIC chip inside the BS II, I'm hoping that there's no difference.

 The only BS programing is the editor for the BS II. Can I switch to PIC easily without learning another language? 

And please, just answer the question without a barrage of insults towards the BS Family. I know where many of you stand in this. 

 

Thank you for your help. One day I might be good at this kind of thing. :)

 

Isn't there 1 free editor that you can use for all PICs? I got the "Serial PIC Programmer". How does the programming in this editor differ from that of the BS editor?

 Krumlink mentioned PICBASIC. Is that compatible with the axe023, PICAXE 28-X1, and pretty much all the "standard" PICS?

 Can I convert Frits's beginners tutorial code into Swordfish Basic? 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
You seem to be trying to start an arguement.

I don't think you're helping with your comments...  :)

Anyway, his original point was just that it requires a few other components to get it to work and it's not just the cost of the mcu that you should look at...but I'm sure that  you already got that. 

It can b e much cheaper to make a 18F1320 board. It all depends on how you design it, so It could be a lot less or a lot more than a BS2, but thats the thing, you can make it how you want. the BS2 is already premade, so you would need a pinout board for pretty much a pinout board. He is obviously thinking of a board that is expensive.

It indeed can be  much cheaper or more expensive to make any mcu into an operating robot controller.

What I was trying to do was develop a price list for making an 18F1320 into something that had the equivalent functionality of a Basic Stamp 2, for a more accurate price comparision.

That includes a low drop voltage regulator (not just any 7805), RS232 translation, a resonator, headers pins, and a PCB to put it all on that are all present on the Basic Stamp 2. And I was not adding the serial EPROM that they have.

 I did leave a hole in the comparison accidentally, but you haven't found it yet.

 

They also have a brownout detector onboard.

This is a better example of what is onboard. 

http://www.me.psu.edu/rahn/me462/bs2csche.gif

or this one as well 

http://www.me.psu.edu/rahn/me462/bs2_fig2.gif

The 18F1320 has a internal brownout detector.

Let see, you make a wildly inaccurate comparison, accuse me of bias, present half truths as a rebuttal without backup, and accuse me of lying.

So no, I'M not trying to start an arguement.

I have never used PICBasic. Swordfish basic works in modules and is free. Try that.

IN answer to you ever changing question, all those variants which are based around PICs will run on PICs. They are all based on PICs, after all!

Wether the bootloader firmware is AVAILABLE for you to flash into the PIC is a different story. I understand there are freely available through programmers supporting several languages.

 

The picaxe command set is very similar to the bs1 command set from what I've looked at of the source. I've used it also to use some of the parallax products as it easily converts. There are only a few commands, like  pot(bs1) and adc(picaxe) for example that are different but do esentually the same thing. I think the picaxe basic also has some extra commands that are helful and of course some of the functions only run on certain models.

The bs2 uses several of the same commands as the bs1 with some added extras to do more advanced functions.

As far as the standard pic(generic), I think it's covered in several of the comments above.