Im a amatuer programmer
JosephMichael
Posts: 11
I need to know how to program the propeller chip·to perform the following functions:
Speed controller
Relays Switches
And autonomous modes
How do i program it cause i dont really know how to "write" the program. I'm used to drag and drop "flow chart" programming.
Speed controller
Relays Switches
And autonomous modes
How do i program it cause i dont really know how to "write" the program. I'm used to drag and drop "flow chart" programming.
Comments
Can you post a pointer to a web page or doc that describes your "drag & drop" programming?
It sounds fascinating. My imagination may see something entirely different. Perhaps you
can take your experience and use it as a framework for programs you would like to write?
It seems as though the world is made of blocks anyway ... some more opaque than others.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
jazzed·... about·living in·http://en.wikipedia.org/wiki/Silicon_Valley
Traffic is slow at times, but Parallax orders·always get here fast 8)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Welcome to the forum JosephMichael. Along with Mike, I also recommend going through the tutorial/educational labs. Those labs will help to teach you about the Propeller and a little about programming on the Propeller. I am guessing you are familiar with robotics and some electronics and mechanics. What products have you used?
Speed control and relay switches can be easy things to do. It depends on exactly what you want to do. You mentioned autonomous behaviour and that is a wide open definitions. Can you be more specific in what you are trying to accomplish?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter
www.brilldea.com·- check out the uOLED-IOC, an I/O expansion for the uOLED-96-PROP
www.tdswieter.com
One little spark of imagination is all it takes for an idea to explode
For instance, in a relay you can 'flip' it by charging the coil. If you set a pin to high and put it through the coil, the relay will flip.
If you have a relay that has two settings, you could flip it one way by setting one pin high and causing current to flow one way. Or flip it the other way by having another pin set it high on the other side.
Of course to do this you would need a clever network of diodes to control current flow and would need to set everything up so it would work.
----
The propeller is only what you make of it. I'm with everyone else. Go get a propeller education kit, work through all of the included labs, come to the forum if you have questions as you go along, then work on your project.
You need to learn what the propeller can do before you can decide the best way to do something.
Cheers!
-Greg
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter
www.brilldea.com·- check out the uOLED-IOC, an I/O expansion for the uOLED-96-PROP
www.tdswieter.com
One little spark of imagination is all it takes for an idea to explode
The structure of the GUI elements are closely related to the C code. You might continue with what you got until you have a firm foundation with C and can build applications with it from scratch. You could buy some good books to help.
The good news for Propeller users who know C is the ImageCraft C tools are making progress. The full version price may be out of range for some, but limited size free versions may be available at some point and have been discussed.
C is widely used since the beginning of the computer epoch and a very marketable skills language. Spin is more obscure, but from a hobbiest point of view this is of little consequence. If you've learned one, you can learn 17 others.
Of course, the Parallax Propeller spin/asm software tool is free. A very flexible Propeller hardware development system can be had for about $45 USD (PropProtoboard & PropPlug) for serial port use (add $15 for the VGA accessory kit you can solder). This of course does not included a bread-board. If you need a breadboard, the Propeller Demo Board comes with all the bells and other whistles (mic input, stereo output, leds, TV composite) for about $80 USD.
If you understand the Lab Ideas Timothy mentioned combined your previous experiences and the spin code makes some sense, then you may as well dive into spin (hope it doesn't become a whirlpool). Of course the Propeller spin language may be just as easy to learn as C since they have many similarities with a dash of some quirky little differences.
Best of luck.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
jazzed·... about·living in·http://en.wikipedia.org/wiki/Silicon_Valley
Traffic is slow at times, but Parallax orders·always get here fast 8)