Shop OBEX P1 Docs P2 Docs Learn Events
FullDuplexSerial object — Parallax Forums

FullDuplexSerial object

stefstef Posts: 173
edited 2008-10-01 13:26 in Propeller 1
Hi

I'm using the FullDuplexSerial object to minitor 4 serial connections in the background. I start every connection in a new cog.
I was wondering, bacause thier are more pins on the propeller, how menu serial connections I could monitor wit 1 propeller. How do jou do it when you run out off cog's or is it an other object to use for that.

I would like to monitor 10 rs485 line's, translate what is comming in and send it out on a rs232 to the computer. Sommething like a protocol converter. Has someone experiance with that?? or can someone advice me on the tought.

Stafan


Post Edited (stef) : 9/29/2008 8:01:39 PM GMT

Comments

  • stefstef Posts: 173
    edited 2008-09-29 19:03
    sorry subject forgotten.



    stefan
  • TeslaTesla Posts: 55
    edited 2008-09-29 19:09
    RS-485 is multi-drop. Could you just use one line and get away with it?
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-09-29 19:34
    You can add a subject by clicking the pencil icon to the top-right of your message. Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
  • stefstef Posts: 173
    edited 2008-09-29 20:03
    Hi

    Yes I know it is multidropbut the rs485 is comming from different machines and has already the maximum adresses occupied for the protocol used. That is wy I need to combine them. Thier is a master on ietch line that don't like it if it is connected to the other line with an other master.

    I tried to set up a littel connection with my demo board and it is working.

    That is why I was wondering now how far I could go with one propeller.

    Stefan
  • StefanL38StefanL38 Posts: 2,292
    edited 2008-09-30 13:41
    Hello Stefan,

    funny to have another forum-member with the same prename.

    There is a Multiple serial port driver object in the obex

    obex.parallax.com/objects/340/

    it serves four ports within one cog. So 5 cogs would be just enough to make all 32-IO-Pins
    to serial ports

    4 cogs receiving 15 ports and 1 cog to send it out again

    It think with this driver it is possible to increase the buffersize. Like it is with FullDuplexSerial

    Stefan, if you finished this project. I think parallax would be very interested in presenting your project.
    As it show very good what a propeller is able to do what most other chips can not within ONE single chip

    best regards

    Stefan
  • stefstef Posts: 173
    edited 2008-10-01 13:26
    Hi

    Yes we have the same name, but that can't be bad.

    Thanks for the advice. I will look into it.

    stefan
Sign In or Register to comment.