PDA

View Full Version : anybody know if the viewport software can be used wirelessly



PatentBot
11-13-2010, 02:49 PM
can the propeller be controlled and monitored wirelessly using viewport?

Mike Green
11-13-2010, 03:06 PM
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.

PatentBot
11-13-2010, 04:59 PM
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.

Hanno
11-13-2010, 06:53 PM
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 Green
11-13-2010, 07:07 PM
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 (http://serialio.com/products/mobile/wifi/software/WiSnapCOMTCP.php)'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.

Hanno
11-14-2010, 09:54 AM
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 Eltham
11-14-2010, 01:20 PM
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?

charleyshf
11-14-2010, 02:24 PM
You can also use a Matchport b/g wifi module (custom firmware)at 2.3mbps which works very well.

Hanno
11-15-2010, 11:33 PM
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 Eltham
11-16-2010, 06:06 AM
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.