Shop OBEX P1 Docs P2 Docs Learn Events
Connect 3 Propeller Proto Boards — Parallax Forums

Connect 3 Propeller Proto Boards

HumanoidoHumanoido Posts: 5,770
edited 2009-06-20 13:17 in Propeller 1
What is the most easy way to homebrew this?

My only experience is with the one wire serial interface on the Basic Stamp Supercomputer.
It would be nice if that effort could be duplicated on the Proto Boards.

It must be a simple system that works in a simple way.

humanoido

Comments

  • BradCBradC Posts: 2,601
    edited 2009-06-20 12:44
    RS485, wireless, ethernet, one wire, a bus, wet string (got 4800 baud across the workshop)...

    <edit> whoops forgot avian

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Missed it by ->" "<- that much!
  • HumanoidoHumanoido Posts: 5,770
    edited 2009-06-20 12:55
    Is there an example schematic/code for a one wire interface?
  • Mike GreenMike Green Posts: 23,101
    edited 2009-06-20 13:17
    There's a 1-Wire master I/O driver in the Object Exchange. You probably want a half duplex serial interface using a single I/O pin. You might look at the BS2 Compatibility Library object in the Object Exchange. It provides Propeller equivalents of many of the specialized statements in PBasic (as function / procedure calls). There's a simple serial I/O set of routines that will do what you want. You could also look at the Simple_Serial I/O driver from the Object Exchange. There are also serial I/O drivers with a portion in assembly to handle higher speeds and buffering. Most of them need a little work to operate cleanly with a half duplex interface (single wire). It's mostly a matter of having to wait until the transmit buffer is empty and the last character sent before "turning the line around" for receiving.
Sign In or Register to comment.