Shop OBEX P1 Docs P2 Docs Learn Events
Communications from bs2 to propellor — Parallax Forums

Communications from bs2 to propellor

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.

Comments

  • StefanL38StefanL38 Posts: 2,292
    edited 2010-05-23 09:03
    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?

    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
  • bill190bill190 Posts: 769
    edited 2010-05-23 15:00
    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

    ·
  • edited 2010-05-23 17:11
    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!
  • StefanL38StefanL38 Posts: 2,292
    edited 2010-05-23 17:34
    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
  • edited 2010-05-24 18:41
    Thank you stefanL38 for the help and sugesstions!
Sign In or Register to comment.