A newbie Propellar Question
MovieMaker
Posts: 502
So, I purchased a BOE-Bot with the Ping and other sensors. But, instead of getting a basic stamp, I got a Propellar chip.· I have seen these robots on YouTube and such doing basic object avoidance stuff.· Is there a place I can download this basic program so I can add objects to it and customize it? I have great plans for the little fella. Or, does anyone have the program already written for basic robot stuff. I know about the objects , but can't find a basic operation program. My wife is going to kill me if when I get this thing put together next week and it doesn't do anything. At least obsticle avoidance is a start. Please reply.
Thanks,
MovieMaker
Thanks,
MovieMaker
Comments
Did you get just the propeller or did you get a proto- or demo- board for the propeller?
The propeller doesn't work on a Board of Education (the board that came with the BOE-bot).
You will either need to use a Basic Stamp, or get a board for the Propeller.
"Is there a place I can download this basic program"
Propeller runs SPIN code and ASM -- not Basic. You can find plenty of programs in Basic for the Basic Stamp that run BOE with different hardware, and a simple program for object avoidence is even in the Book for the BOE-bot and can be download from the support part of the site. Mike Green also published his code for using the BOE-bot with a Propeller Demo Board (or was it a protoboard), and can be downloaded from the Propeller object site.
First. lets get an idea of what exactly you have, and what you want to do, and we can help figureout what you need, and where to go for code to start learning from. What board(s) do you have (they should be printed on the edge of the PCD), and what chip(s) do you have (should be on the top of the silicone)? What is the ideal "finished" project do at the end of your first stage?
I would urge you to learn Spin at your first opportunity though so you dont have to stay lost in "90 goto 10" loops.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··· Right now , I have nothing. Except good soldering skills. I am a computer technician.· My parts are on order and should arrive next week.· I ordered a basic BOE-BOT kit without the pc board. Then I ordered instead of the basic stamp, the propeller board and the ping sensors.· I hope to put this together and make a working robot. I would like to go way beyond just an obsticle avoiding toy.· When I told tech support that I needed it to do 100 or more things at once, they said "you need a propeller because of 8 cores."· Sorry it took so long to reply. I am at work and can only grab a moment here and there.
Are you saying the Boe-bot stamp stuff is code compatible with the propeller and I can just install it and run it like the prop?
Mike Green can tell you more about basic stuff.
His "femto" Basic is here: http://obex.parallax.com/objects/28/
Some BoeBot code is here: http://obex.parallax.com/objects/27/
Some PBASIC stuff is here: http://obex.parallax.com/objects/30/
You might consider looking at this thread for more resources:
http://forums.parallax.com/forums/default.aspx?f=25&m=281597
Good luck.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
You'll also need to download the Propeller Tool, mostly to be able to download BoeBotBasic to your Propeller.· This includes the Spin compiler and Propeller assembler which you don't have to use now.· Eventually you'll want to learn them and there are some tutorials, both in the Propeller manual and in the Propeller Education Kit downloads.· You can use the hardware you're getting to do many of the tutorials.
To do what you're talking about would require much more computer than anything Parallax sells. You're talking about something like an embedded Linux system running standard LISP or Scheme or other list processing language on a large scale, 64MB minimum RAM, a couple GB of Compact Flash for mass storage.
The Propeller design doesn't use interrupts because they expect you to use polling via a COG to get events. If you need low latency, you can use the waitpne or waitpeq commands within a COG to monitor the designated interrupt input (kind of a waste of a COG). If you don't need low latency, your interrupt COG could do other things·and periodically run the pin monitor. The other reason to use an interrupt for multi-tasking ticks is not of much interest in the Propeller community, but this can be done too with some special coding ....
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Hey Parallax guys: When are you going to come out with a BOP-BOT? A Board of Propeller...