Shop OBEX P1 Docs P2 Docs Learn Events
Propeller communication speed — Parallax Forums

Propeller communication speed

Julian800Julian800 Posts: 31
edited 2010-03-04 04:36 in Propeller 1
Hi All,
I am new to propeller. I need some suggestion for how to do fast PC to Propeller, inter propeller·connection. I do apologies if the question has been asked, but I real have no ideal which way is the go. ··I also want to know what is the maximum speed we can achieve for those connection. Thanks··turn.gif

Comments

  • Clock LoopClock Loop Posts: 2,069
    edited 2010-03-03 03:53
    Viewport gets very high speed communications to the propeller. Using FTDI drivers in the correct way.

    It depends how fast your talking.

    FTDI devices can do a maximum of 2Mbps(1Mbps stable)(prop to pc), prop to prop can be done at 250Kbps easily,... it is possible to get 8mbps prop to prop using some of the methods people talk about in the forums.

    What are you trying to do?
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2010-03-03 04:21
    Have a look at BeauNet for inter-prop communications. You can get 32-bits every 3.8us which means over 1M bytes/sec.

    http://forums.parallax.com/showthread.php?p=691952

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    *Peter*
  • Julian800Julian800 Posts: 31
    edited 2010-03-03 21:47
    Thanks for your help

    I am doing a project to run 24 to 96 IMS MDrive stepper which have driver integrated. The only control which I need is clock input to drive micro-steps. The multiple counters of propeller make it easy to drive those Steppers. I am trying to use one propeller as master node which get stepper speed data from PC and some leave nodes for drive steppers.

    Is there any post Or object show how viewport' high speed communications work?
  • HannoHanno Posts: 1,130
    edited 2010-03-04 04:08
    Hi Julian,
    There's a review of ViewPort in my signature and a link to download a free 30 day trial. Should be ideal for your project. Here's a short not on using ViewPort to drive motors and control speed via PID.

    http://hannoware.com/viewport/motor.php

    Hanno

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Co-author of the official Propeller Guide- available at Amazon
    Developer of ViewPort, the premier visual debugger for the Propeller (read the review here, thread here),
    12Blocks, the block-based programming environment (thread here)
    and PropScope, the multi-function USB oscilloscope/function generator/logic analyzer
  • Julian800Julian800 Posts: 31
    edited 2010-03-04 04:31
    Hanno

    Thanks for the information. We definitely consider using viewport in our prroject. We directly control stepper speed by send clock which indicate micro-steep(each clock plus is 1 micro-steep ) there is no need for PID and I already finished those parts. My problem right now is how to do high speed (PC to prop) and (inter prop with address) connections. Any suggestion?
  • HannoHanno Posts: 1,130
    edited 2010-03-04 04:36
    Lots of people are using ViewPort to monitor/control their Propeller hardware. What do you want to do from the PC? Do you need a completely custom interface? Have you tried ViewPort? There are several ways to solve interprop communication- depending on how many pins you want to use, if you want to use a standard like i2c, and what speed you need. Check out the object exchange... Forum members have come up with novel techniques!
    Hanno

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Co-author of the official Propeller Guide- available at Amazon
    Developer of ViewPort, the premier visual debugger for the Propeller (read the review here, thread here),
    12Blocks, the block-based programming environment (thread here)
    and PropScope, the multi-function USB oscilloscope/function generator/logic analyzer
Sign In or Register to comment.