We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
phidgets.com (Read 4426 times)
phidgets.com
Jul 18th, 2005, 6:47pm
 
Can anybody explan me what's the deal with this stuff (http://www.phidgets.com) ? It looks like some kind of wiring board but I don't understant why all the devices, sensors, motors have usb plugs. What is it all about ?
Re: phidgets.com
Reply #1 - Jul 25th, 2005, 4:42pm
 
The idea is that you plug everything in, and then write all your code on the computer.  Which means that it all needs a way to talk to the PC, which is why they have all the USB plugs.  It also means (I believe) that the Phidgets won't work without a computer, while the Wiring board can work stand alone.
Re: phidgets.com
Reply #2 - Oct 11th, 2005, 11:09am
 
Is it possible to communicate with Phidgets using Processing? I've got a Phidget RFID-Reader (USB) which I like to work with  using Processing...
Re: phidgets.com
Reply #3 - Oct 11th, 2005, 12:17pm
 
Hmm. I was playing around with Phidgets a while ago, and I used Java for that, receiving and sending vars was not difficult, so if you can do it in Java, you can do it in Processing. I remember that Java suport was a bit beta, but it worked.
Re: phidgets.com
Reply #4 - Nov 8th, 2005, 11:12pm
 
I also have an RFID Phidget and am working to figure out how read from it and use it to hit a MySQL database. There's not a ton of documentation lying around.

I'm using it for my thesis project; so I'll be playing with it for a while. Samuel Sjoberg (http://samuelsjoberg.com/archive/2005/03/phidgets-and-java) has some useful classes for the card on his site.

Beth
Re: phidgets.com
Reply #5 - Jan 9th, 2006, 8:26pm
 
do you all know about gumstix (http://gumstix.com/)? they are tiny linux computers and are relatively cheap. you could potentially write a processing program that lives on a gumstix and works in a standalone way, much the way a wiring board might.
Re: phidgets.com
Reply #6 - Feb 1st, 2006, 6:07am
 
I've been having trouble getting processing to connect to Phidgets. Using the following code I get the same results weather my device is connected or not (false, 0).

 Phidget myObjRef = new Phidget();
 
 boolean attached = myObjRef.GetIsAttached();
 int serial = myObjRef.GetSerialNumber();
 println(attached);
 println(serial);

Is there anything else I have to do besides include the phidgets.jar library?
Re: phidgets.com
Reply #7 - Feb 1st, 2006, 10:00pm
 
From Phidget's Java Docs:
Quote:
public class Phidget
extends java.lang.Thread

Version:
1.0.5
This is the base class from which all Phidget Devices derive. Don't cerate phidget devices directly using this class. Use the specific class for the device that you wish to access.


@see: http://www.phidgets.com/modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=2&page=1
Re: phidgets.com
Reply #8 - Jun 19th, 2006, 4:51am
 
and also, attaching isn't instant, you'll have to wait until it attaches:
while(myObjRef.GetIsAttached()!=true){} //if it isn't attached this will hang the program, but otherwise it'll work
Page Index Toggle Pages: 1