PDA

View Full Version : Communications from bs2 to propellor



Andy "A Man With A Plan"
05-23-2010, 08:15 AM
Does anyone know how to make a basic stamp work with the propeller chip for sending data. For example x= (insert variable). Thanks for any help you can offer.

StefanL38
05-23-2010, 05:03 PM
Hello Andy,

you ask in a very general matter and to me this looks like if you would like to say
"can anyone do all the programming for me?" This makes me react do it on your own.

It's not only software it's also hardware

HOW TO SAFELY INTERFACE A 5V SIGNAL TO THE PROPELLER? (http://forums.parallax.com/showthread.php?p=585920)

As you call yourself A man with A Plan:
how about "planning" the learning how this works.

a template
1.) iform the forum-members about your knowledge-level about electronics and about programming
2.) post your first approach how YOU would do this with concrete questions
(if you find this hard: imagine you had a spacehip emergency-landing on mars and leaving mars = staying alive depends on YOURSELF programming it)

make suggestions what YOU think which basic-stamp commands would be suitable to use here.

best regards

Stefan

bill190
05-23-2010, 11:00 PM
Well there is the physical connection. That could be using wired, or wireless devices, maybe bluetooth, maybe radio frequency, or infra red LED's and detectors. These gizmos would be in the Parallax online store and would have sample software.

Then there are networking protocols. I don't know what is available for both the Stamp and Propeller, but might want to check several out and see what was available software-wise and would suit your needs best.

I know both have well documented serial connections or RS-232 (search these forums for this also of course)...

http://en.wikipedia.org/wiki/RS-232

Then there is I2C...
http://en.wikipedia.org/wiki/I%C2%B2C

Can Bus...
http://en.wikipedia.org/wiki/CAN_bus

Ethernet...
(I call it "either net" - either it works or it doesn't!)
http://en.wikipedia.org/wiki/Ethernet

Or just an old fashioned wired connection.

Also visit the Propeller Object Exchange and check out the "Protocol" area and see what is there. That would be for the Propeller only...
http://obex.parallax.com


Andy "A Man With A Plan"
05-24-2010, 01:11 AM
Thanks bill190 for the push in the right direction.

Stefanl38:

If you bothered to read and comprehend my original post you would have saw that I had limited info to work with ( i.e. Beginner). I also asked for ANY help that could be offered; not a handout for a whole project, or the work to be done for me. Do not take this as me ranting about poor etiquette or your poor grammar I just felt it was a little rude. Again no hard feelings I just wanted you to know how your expressed ideas came out and that this a place of learning not ridicule!

StefanL38
05-24-2010, 01:34 AM
keyword searching in the BS-manual page 127 asynchronious serial IO

basic stamp-side: to send data command debug BS manual page 153 or command serout manual page 415

propeller-side: object FullDuplexSerial

Propeller Education Kit Labs Fundamentals Version 1.1
page 100 FullDuplexSerial and Other Library Objects

Andy "A Man With A Plan"
05-25-2010, 02:41 AM
Thank you stefanL38 for the help and sugesstions!