What's the best way to be introduced to the Propeller Microcontrollers.
garyg
Posts: 420
I keep looking at postings related to the Propeller programming and use in projects.
It seems that using the Propeller is very complicated.
What would be the most simple, straightforward way to be able to understand exactly how the Propeller microcontroller works?
My concerns are:
Programming Language.
1) BS1 and BS2 use is pretty straightforward when using the Basic Stamp Syntax and Reference Manual.
2) Using the 3Volt I/O of the Propeller also would appear to me to be somewhat confusing.
I'm currently building what I call a ScareCrow Robotic Platform project and am using BS2 Homework board.
If I can make my platform work as efficiently as is possible with my BS2, my next project may need to involve the Propeller.
This sounds like there should be an easy answer to this question, but in the hours I've spent in the forum, I haven't really
seen an answer to this simple question.
Thanks for any comments, suggestions.
garyg
It seems that using the Propeller is very complicated.
What would be the most simple, straightforward way to be able to understand exactly how the Propeller microcontroller works?
My concerns are:
Programming Language.
1) BS1 and BS2 use is pretty straightforward when using the Basic Stamp Syntax and Reference Manual.
2) Using the 3Volt I/O of the Propeller also would appear to me to be somewhat confusing.
I'm currently building what I call a ScareCrow Robotic Platform project and am using BS2 Homework board.
If I can make my platform work as efficiently as is possible with my BS2, my next project may need to involve the Propeller.
This sounds like there should be an easy answer to this question, but in the hours I've spent in the forum, I haven't really
seen an answer to this simple question.
Thanks for any comments, suggestions.
garyg
Comments
3V I/O is pretty much the standard these days with many parts including most new microcontrollers working with 3.3V logic levels and some being "5V tolerant". There's a good thread mentioned in one of the "sticky threads" on 5V interfacing.
The Propeller BOE is intended as a mostly drop-in replacement for the BASIC Stamp BOE. I say "mostly" because of the 3.3V logic levels. It's a much more powerful board than the BASIC Stamp BOE. You might also keep an eye out for the Spin Stamp. There was a problem with availability of the crystal used on that device, but this may have been resolved. You can plug the Spin Stamp into the BASIC Stamp BOE socket and run Propeller programs (using 3.3V logic levels). There's a BoeBotBasic that was originally developed for the BASIC Stamp BOE and a Spin Stamp. I rewrote the Roaming with the BoeBot program for this and it's exciting to watch it roam around and modify and test the program without a PC (using an iPhone/iPad as a terminal).
I also received a free book for it when I bought my grab bag for the 25th sale. I am an avid Stamp user but once I tried this board out I found it and SPIN quite useful. Although my current robot I am building is designed around the BS2, once it is fully functional I will be switching it to the prop. There are so many cool add ons for cheap that it seems it can't be beat. Not to mention Prop 2 which is in the works!!!
BTW I still use my BS2 powered robot frequently because all the sample code out there lets me put something together fast.
http://www.parallax.com/Store/Microcontrollers/PropellerKits/tabid/144/ProductID/415/List/0/Default.aspx?SortField=ProductName,ProductName
Enjoy!
Mike
Our marketing staff will want to destroy me if they see this post, but it should be known for future readers of the original poster's question.
@OP, if you have hardware already the prop manual v1 not 1.1/1.2 has a really good spin tutorial also! The free hydra book is also a good source of info which includes a PASM as well as Spin, and you dont need the hydra to follow it.
What're you looking to do with your microcontrollers?
And I second the listening to First Spin (http://firstspin.tv) - we go step by step and make it less intimidating, I think.
Start by dumping FemtoBasic into the prop and start doing stuff medially and interactively.
There's nothing quite so rewarding as seeing some LEDs blink on your command.
Second, try PropForth. Interactive and fast.
Third and only third is to get into spin or other languages.
Duane J
I tend to lean toward the hardware side of making things in hardware, (and I didn't have much of a budget starting out) so I was introduced to the Propeller with the "Protoboard" products from Parallax. Truth be told, any Propeller-based board is an excellent starting point, and there are many more options now than when I started a few years ago.
Here's a few options with reasons...
1) If you want something that works without fuss out of the box. (To dive into the software side) Get a PropBOE or Quickstart w/Human Interface Combo.
2) If you like breadboarding, grab PE Kit. There is a great reference that comes with it that will get you started.
3) Like to solder? Grab a PMC Kit and you'll have a project you built that will help you explore the Propeller with some of the most interesting options.
4) Prefer the liberty of having no restrictions and like to solder? Grab the new Propeller Project Board USB.
5) There is even a robot based on the Propeller complete with an experimenter's port.
Jeff
I've printed this thread and will follow through on all of your suggestions.
I started using Parallax Microcontrollers about Two years ago.
1st project was a simple 10 minute off delay timer using BS1
2nd progect was a test platform set up to run 2 servos and small motor using BS1
3rd project was a Tachometer for measuring shaft speed on small motors using BS2 and LCD display.
4th Project was a Parallax PIR sensor, no microcontroller to turn on a Big Mouth Billy Bones toy when Deer get close to my bird feeder.
5th project is ongoing, controlling my 3 wheeled Scarecrow platform.
The Propeller looks interesting to me because of it's capability of being able to do several things at the same time.
I think my 1st Propeller project will be to flash LED's and possibly drive a few servos.
Dave
The 5V to 3.3V level shifting is rarely an issue. Most 5V devices will read 3.3V as logic high and all you need between the Prop and a 5V signal is a 4.7k or higher resistor (I usually use 10k resistors).
I've had a few 5V devices not work if I use resistors on an out going signal from a Prop, but once I remove the resistor, I've had very few 5V devices not able to receive input from the Prop.
You mentioned wanting to drive servos. It's been a few days since I've mentioned my 32 servo demo so I figure now's a good time to mention it again.
I agree with those who have recommended a QuickStart as good board to start with. You can use the touchpads as input devices (though they're not as simple to use as normal buttons) and you have eight LEDs to blink. Since the LEDs are on buffers, they don't interfere with the I/O pin if you use the pin to control something else. This comes in handy since you can use the LEDs to monitor the output (or input) to other devices.
I've listed some "learn to program the Prop" references in post #3 of my index. Many of the ones I've listed have already been mentioned in this thread, but there are a few that haven't been mentioned yet.