Phidgets22 Plugin Discussion

Posted on
Wed Jul 21, 2021 9:59 am
berkinet offline
User avatar
Posts: 3484
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Phidgets22 Plugin Discussion

Available very soon...

I hope to release a pre-beta version of a new Phidgets22 plugin within the next week. This new plugin will be in addition to the existing Phidgets plugin.

The initial devices supported will be at least the following:
  • VINT Hubs and interface kit I/O
    • Digital inputs
    • Digital outputs (duty cycle control on the VINT)
    • Voltage inputs
    • Voltage ratio inputs
      Most original analog and ratiometric Phidget devices will be supported in this first release.
  • Standalone Phidgets
    • 1054 Frequency Counter
    • 1048 4-input temperature sensor
If you have any high-priority stand-alone or VINT devices you would like to see supported please note them in a reply in this topic.

Posted on
Thu Jul 22, 2021 3:40 am
berkinet offline
User avatar
Posts: 3484
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: Phidgets22 Plugin Discussion

Introduction to the Phidgets22 plugin

With the introduction of the Phidget22 libraries, there has been a major change in the way Phidget devices are logically organized on the network. Under the new paradigm, every unique sensor (input) or control (output) function is individually identified, accessed, and controlled. So, for example, a 1048 4-input temperature sensor previously appeared in Indigo as a single device with 5 temperature states (the onboard sensor, + 4 inputs). Now, with the Phidget22 libraries, this will appear as 5 unique devices. Each showing only the state of its associated sensor. Also, rather than defining a device like in InterfaceKit with multiple inputs and outputs, each individual input or output is directly visible. So, there is no need, or indeed option, to create an Indigo device for InterfaceKits, SBCs, etc.

The Phidgets22 plugin also supports VINT Phidget devices and hubs. Unlike the previous analog sensors which simply returned a voltage between 0 and 5v, and had no onboard inelegance, the VINT devices have the ability to identify themselves and be directly configured. All of this is supported in the Phidgets22 plugin.

See the phidgets web site for more information

Posted on
Mon Aug 02, 2021 1:34 pm
loafbread offline
Posts: 137
Joined: May 25, 2009

Re: Phidgets22 Plugin Discussion

Wonderful!

Posted on
Mon Aug 02, 2021 2:56 pm
berkinet offline
User avatar
Posts: 3484
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: Phidgets22 Plugin Discussion

At this point, the plugin is stable enough that I have completely removed the Phidget21 libs from all my servers and disabled the old plugin. So, the only thing holding me back from packaging up a release is hearing from someone that they would like to try it.

Right now the plugin supports the following
    All interfaceKit devices, like the 8/8/8, 0/16/16, 0/0/8, etc.
    All VINT Hubs
    All classic sensor devices (the ones that connect to an analog port).
    There is also support for VINT devices and standalone Phidgets that support the following APIs
      DigitalInput
      DigitalOutput
      FrequencyCounter
      Hub
      HumiditySensor
      TemperatureSensor
      VoltageInput
      VoltageRatioInput
Of course, I do not have all of the devices that use each API, so I can only guess they will work. This is, of course, why testers are needed. Also... a fair amount of Phidgets knowledge is required. That is, if you are brand new to Phidgets, don't try this plugin yet.

Posted on
Thu Aug 12, 2021 8:08 pm
landry offline
Posts: 46
Joined: Jul 30, 2017

Re: Phidgets22 Plugin Discussion

Congrats Berkinet

I will give it a try with the 4X thermocouple Phidget which is controlled by. VNT hub. It can connect up to four K, J, E or T type thermocouples to this Phidget to measure the temperature of the air or an object. You have opened a whole new dimension temperature measurement with Indigo!!

Quickie question have to disable old plug in to use new one ..correct? and this will work with SBC33 and SBC4 ?

Thanks for all this hard work ...I hope I have not pestered you too much.

Posted on
Fri Aug 13, 2021 12:27 pm
berkinet offline
User avatar
Posts: 3484
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: Phidgets22 Plugin Discussion

landry wrote:
…I will give it a try with the 4X thermocouple Phidget which is controlled by. VNT hub. It can connect up to four K, J, E or T type thermocouples to this Phidget to measure the temperature of the air or an object. [… …] Quickie question have to disable old plug in to use new one ..correct? and this will work with SBC33 and SBC4 ? .
I am using the plugin with a 1054, the older version of your thermometer Phidget, so I am confident it will work for you.

You can run both the older plug-in and the new Phidget22 plugin at the same time and you can also run both libraries at the same time on any Phidget network server. However, you may not be able to open the same Phidget at the same time through both libraries. As to the SBC. That is pretty much invisible under Phidget22. You just see the channels and ports that are attached to it. So, the answer to your question is yes.

PM me your email address and I will send you a copy. The code is stable, I have been running it for two weeks here, but it is still undergoing some internal changes.

Posted on
Tue Sep 21, 2021 6:14 pm
SMUSEBY offline
Posts: 300
Joined: Sep 16, 2009

Re: Phidgets22 Plugin Discussion

I'd be very happy to be a beta tester. Let me know if I can help.

Posted on
Sat Jan 01, 2022 1:40 pm
hamw offline
Posts: 1219
Joined: Mar 31, 2008

Re: Phidgets22 Plugin Discussion

I'd like to get a wireless 6- port VINT and some temperature and humidity sensors. Looks like the plugin is working well enough that I should give it a go?

regarding your having gotten rid of all your 21 libs, is that something that I should aim to do? I currently have controllers and sensors over two different 8/8/8 boards.

thanks for making this work!

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest