Shop OBEX P1 Docs P2 Docs Learn Events
anybody know if the viewport software can be used wirelessly — Parallax Forums

anybody know if the viewport software can be used wirelessly

PatentBotPatentBot Posts: 6
edited 2010-11-15 22:06 in Propeller 1
can the propeller be controlled and monitored wirelessly using viewport?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2010-11-13 07:06
    No


    ViewPort uses very high speed communications between the Propeller and the PC, faster than what can be provided across a WiFi or Bluetooth link. Theoretically, a high speed WiFi link could provide it, but would probably require custom software at both ends.
  • PatentBotPatentBot Posts: 6
    edited 2010-11-13 08:59
    Mike Green wrote: »
    No


    ViewPort uses very high speed communications between the Propeller and the PC, faster than what can be provided across a WiFi or Bluetooth link. Theoretically, a high speed WiFi link could provide it, but would probably require custom software at both ends.
    Ok thanks Mike.
  • HannoHanno Posts: 1,130
    edited 2010-11-13 10:53
    Hi!
    Actually- you can change ViewPort's connection speed using "edit-program preferences". There you can choose between 2mbps, 1mbps and 115kbps. Unlike the Propeller Tool, ViewPort just sends and receives data- it doesn't require special toggling of DTR of Break- and it's timing is also not critical.
    This "should" work...
    Hanno
  • Mike GreenMike Green Posts: 23,101
    edited 2010-11-13 11:07
    Although you can configure most wireless links (like Bluetooth or Telnet/WiFi) for 115KBps, that's the speed for filling the buffer in the controller. Neither Bluetooth nor xBee can sustain that kind of end-to-end speed. WiFi can. Here's one device I found with a websearch that should be able to handle 115KBps or higher. I have no idea whether the device is any good, but the specs look ok.
  • HannoHanno Posts: 1,130
    edited 2010-11-14 01:54
    Mike's mostly right.

    XBee's interface rate is 230kbps- this is how fast you can fill up the controller's buffer. Data is then sent over the air at 115kbps. When you're streaming continuously you can get pretty close that that rate.

    See here: http://www.futureelectronics.com/en/technologies/development-tools/rf-wireless/Pages/9482852-XBP09-DMDK.aspx?Language=en-CA

    TBot uses XBee for wireless re-programming of the Propeller, sharing of sensor data between multiple robots/internet/12blocks ui, and remote debugging.

    Chad demoed this at the UPENE, if people are interested I can create a video/pdf...
    Hanno
  • Roy ElthamRoy Eltham Posts: 3,000
    edited 2010-11-14 05:20
    Hanno,

    I want to use Viewport's Conduit stuff over an XBee connection. I couldn't find anything that would let me do that. Do you have something in the works for it?
  • charleyshfcharleyshf Posts: 165
    edited 2010-11-14 06:24
    You can also use a Matchport b/g wifi module (custom firmware)at 2.3mbps which works very well.
  • HannoHanno Posts: 1,130
    edited 2010-11-15 15:33
    Coming soon to ViewPort:
    - simple serial alternative to Conduit.
    ViewPort connects to a serial port and decodes incoming data into the ViewPort structure- to provide real-time graphing (dso/lsa/spectrum...) of your data. Changing variables will also be supported. This is good for people who:
    - want to use ViewPort but don't have a Propeller
    - don't want to use Conduit (may save memory or a cog)
    - want to use different communication links like bluetooth/xbee
    Your code just needs to send comma separated, null terminated strings like:"x=10,y=5"


    - Programming, monitoring and controlling Propeller over XBee wireless
    You'll need a base station that has a Propeller, XBee and USB connection to PC- as well as one or more remote devices with Propeller+XBee. Once you've loaded the base and remote device with the vp_remote binary, you can load new programs into the remote Propeller.

    Hoping to get both out by end of November...

    Hanno
  • Roy ElthamRoy Eltham Posts: 3,000
    edited 2010-11-15 22:06
    Hanno,

    For that last option, what about having a PC connected directly to an XBee via USB (like with the parallax USB xbee board) on the one end.
Sign In or Register to comment.