RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Sun Aug 14, 2022 2:25 pm

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 58 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: Phidgets PhidgetInterfaceKit Support
PostPosted: Mon Jun 18, 2012 3:06 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7031
Location: Canada eh!
FYI
I'm building support for the PhidgetInterfaceKit info RomRaider Logger as an external plugin.
It should work with any number of the PhidgetInterfaceKit boards on USB that can be found here: https://www.phidgets.com/?tier=1&catid=2&pcid=1

These InterfaceKits can be used to read sensors providing only 0-5VDC signal output where the sensor does not provide any serial or USB interface itself (i.e.: oil pressure/temp sensors or WBO2 voltage output like http://www.prosportgauges.com/).

I'm currently developing against the analog inputs of two separate 2/2/2 kits.
http://www.phidgets.com/products.php?ca ... _id=1011_0

Let me know if there's interest in other models/input types.

EDIT: now supported in the current release

Here's a explanation of the User defined settings.


Top
 Profile  
 
 Post subject: Re: Phidgets PhidgetInterfaceKit Support
PostPosted: Mon Jun 18, 2012 3:48 pm 
Offline
Experienced
User avatar

Joined: Thu Jul 23, 2009 1:46 pm
Posts: 863
Very cool stuff!

I also like the 8/8/8, as it would provide enough inputs for Wideband, EGT, Oil press, Oil Temp, and Boost. Boost isn't 100% necessary, but if you throw the sensor on the compressor outlet you could get a pressure drop reading, provided you calibrate the gauge to the MAP sensor. You could also drop the boost input and go to a 4-channel EGT :) Although at that point it may be a better option to use the innovate 4ch amplifier with built in serial..

_________________
Please do not send me support questions via PM, use the forum instead!


Top
 Profile  
 
 Post subject: Re: Phidgets PhidgetInterfaceKit Support
PostPosted: Thu Oct 11, 2012 2:22 am 
Offline
RomRaider Donator

Joined: Wed Jul 27, 2011 10:07 am
Posts: 129
Location: South Africa
Hi Dschultz

Thanks for responding to my previous thread about AEM Failsafe W02 with analog outputs ,

So do i just get the kit (1011_0 - PhidgetInterfaceKit 2/2/2) and connect my anolog outputs the the cable that is supplied with kit and plug directly into usb port?, then do you still go through same steps as selecting correct com port and ticking AEM Wideband(19200\9600) tab or is is named something else in the new release or rr?

Thanks so much, on new sd map and need to start tuning ol asap..

_________________
_______________________
Wrb Adm Sti 06 - Gtx3076 rotate, self built, E50+25%meth, 360wkw\600nm.


Top
 Profile  
 
 Post subject: Re: Phidgets PhidgetInterfaceKit Support
PostPosted: Thu Oct 11, 2012 10:18 am 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7031
Location: Canada eh!
That kit will work well.
There's no COM port to select, the plugin finds the USB port and populates the Externals tab with the found PhidgetInterfaceKit inputs (not AEM). You do need to have the PhidgetInterfaceKit plugged into the computer before you start-up the Logger as it is only scanned at Logger start-up.

The data read from the PhidgetInterfaceKit input will be the raw voltage of the attached device converted to an integer value. At the moment there's no provision to enter a calculation for the PhidgetInterfaceKit input. So you will need to convert the raw value in post processing in your spreadsheet application with the formula supplied by the wideband manufacture to convert it to lambda or AFR.

You may ask why is there no way to enter a calculation in the Logger. Well, I didn't develop it past the ability to read the PhidgetInterfaceKit. What needs to be added is a way to enter a user defined formula and tie that to a specific PhidgetInterfaceKit serial number and input number, then store the formula in the settings file to be restored later when the Logger is restarted. And other than bench testing with a potentiometer I have not tried this in a car. So you should refer to the installation instructions of the PhidgetInterfaceKit and take note of the ground loop and noise reduction tips available on their web site.


Top
 Profile  
 
 Post subject: Re: Phidgets PhidgetInterfaceKit Support
PostPosted: Fri Oct 12, 2012 3:41 am 
Offline
RomRaider Donator

Joined: Wed Jul 27, 2011 10:07 am
Posts: 129
Location: South Africa
Ok, the device will arrive on Monday and i will hook it up and supply feedback. I am sure that others will benefit from this addition you dev'd and post..

Thanks

_________________
_______________________
Wrb Adm Sti 06 - Gtx3076 rotate, self built, E50+25%meth, 360wkw\600nm.


Top
 Profile  
 
 Post subject: Re: Phidgets PhidgetInterfaceKit Support
PostPosted: Fri Oct 26, 2012 4:32 am 
Offline
RomRaider Donator

Joined: Wed Jul 27, 2011 10:07 am
Posts: 129
Location: South Africa
Hi Dschultz

Ok .. i got the Phidget device and hooked it up, i can on the Phidget software pic up the signal for the analog V coming in from the Wideband .

This is how ive wire it up , is this correct 1.1 wired to 2.1 below and Phidget picks up signal just with this connected..i think this would be the problem if there was one as i connected only 1 wire..I am not a sparky so new to electronics but this exersize has tought me lots..

The Phidget divice has 3 wire imputs
1.1 - Analogin1(white) -
1.2 - VCC (red)
1.3 - Gnd (Black)

Aem Wideband has
2.1 - Afr Analog output +
2.2 - Afr Analog output -

I cannot however get RR to find the external Device when i put the Interface device and startup the logger. Is there somthing i am missing...? This Frikken Failsafe has been a nightmare but i have come this far. I am willing to donate to anyone that can dev a plugin from OEM usb from Wideband Failsafe device to work with RR...

If i can get it to work it would be awesome device as it has many functions..

Chow and thank..

_________________
_______________________
Wrb Adm Sti 06 - Gtx3076 rotate, self built, E50+25%meth, 360wkw\600nm.


Top
 Profile  
 
 Post subject: Re: Phidgets PhidgetInterfaceKit Support
PostPosted: Fri Oct 26, 2012 5:03 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7031
Location: Canada eh!
Connect the Phidget to AEM WB
1.1 - Analogin1(white) <-> 2.1 - Afr Analog output +
1.3 - Gnd (Black) <-> 2.2 - Afr Analog output -

Send the rr_system.log so I can see what's happening.
http://www.romraider.com/RomRaider/HowToDebug


Top
 Profile  
 
 Post subject: Re: Phidgets PhidgetInterfaceKit Support
PostPosted: Fri Oct 26, 2012 5:38 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7031
Location: Canada eh!
Oops, I think the RomRaider installer is missing the plugin file.
Attachment:
phidget_ik.zip

Unzip and install the file in:
WinXP: C:\Program Files\RomRaider\plugins
Win7x64: C:\Program Files (x86)\RomRaider\plugins


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
 Post subject: Re: Phidgets PhidgetInterfaceKit Support
PostPosted: Sun Oct 28, 2012 10:49 am 
Offline
RomRaider Donator

Joined: Wed Jul 27, 2011 10:07 am
Posts: 129
Location: South Africa
Hi ...

Thanks for the above .. it is now working and logging on RR.. as you said as a integer value.

Next question is how to do i convert this to AFR... I have mailed Aem for the conversion from AFR to voltage. Is there anything i should do or can you advice my or give me pointers on how to go about this.. I will apply formula to logs when i find out what they are...

Kind Regards and thanks...

_________________
_______________________
Wrb Adm Sti 06 - Gtx3076 rotate, self built, E50+25%meth, 360wkw\600nm.


Top
 Profile  
 
 Post subject: Re: Phidgets PhidgetInterfaceKit Support
PostPosted: Sun Oct 28, 2012 10:22 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7031
Location: Canada eh!
Without their formula it will take a bit of guessing. You'll also need a few points of reference. Hopefully 0VDC is a 0 reading by the PIK and 5VDC is 1000. The docs say that each unit is worth 5mV. So measuring some known VDC with a multimeter can help determine the PIK readings->volts conversion. Then when you get the AFR->volts formula from AEM the conversion should be easy. Is there any AFR->volts graph in the docs you have from AEM?


Top
 Profile  
 
 Post subject: Re: Phidgets PhidgetInterfaceKit Support
PostPosted: Mon Oct 29, 2012 3:56 am 
Offline
Newbie
User avatar

Joined: Thu Dec 03, 2009 4:52 am
Posts: 27
Location: CA Bay Area
Very cool hardware. Subscribed for further developments!


Top
 Profile  
 
 Post subject: Re: Phidgets PhidgetInterfaceKit Support
PostPosted: Mon Oct 29, 2012 11:07 am 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7031
Location: Canada eh!
kingchett wrote:
Hi ...

Thanks for the above .. it is now working and logging on RR.. as you said as a integer value.

Next question is how to do i convert this to AFR... I have mailed Aem for the conversion from AFR to voltage. Is there anything i should do or can you advice my or give me pointers on how to go about this.. I will apply formula to logs when i find out what they are...

Kind Regards and thanks...

I found this in the AEM forums...
AEM wrote:
The WBFS gauge uses the same 0-5v output calibration as our Analog UEGO and Inline UEGO units.

Another AEM forum post wrote:
Cal points:
10.00 aka Lambda 0.683 equals 0.00 Volts
14.7 aka Lambda 1 equals 2.35 Volts
20.00 aka Lambda 1,365 equals 5 Volts

It is possible, that you might see that your reading will be a bit off to the LEAN side. Reason: the pull up resistor going to +5.00 Volts.
If so, try to use the following settings
10.00 aka Lambda 0.683 equals 0.20 Volts
14.7 aka Lambda 1 equals 2.45 Volts
20.00 aka Lambda 1,365 equals 5.00 Volts

It is possible, that you might see that your reading will be a bit off to the RICH side. Reason: the input has an resistor against ground.
If so, try to use the following settings
10.50 aka Lambda 0.683 equals 0.00 Volts
14.7 aka Lambda 1 equals 2.25 Volts
20.00 aka Lambda 1,365 equals 4.80 Volts

Here's the chart from the analog AEM WBO2 manual.
Code:
PIK     02 VDC   Lambda    Gasoline AFR   Methanol AFR  Propane AFR     Ethanol AFR   CNG AFR
  0     0.00     0.683     10.00          4.42          10.72           6.15           9.90
 32     0.16     0.705     10.32          4.56          11.07           6.34          10.22
 62     0.31     0.725     10.62          4.69          11.39           6.53          10.52
 94     0.47     0.747     10.94          4.83          11.73           6.73          10.84
124     0.62     0.768     11.24          4.97          12.05           6.91          11.13
156     0.78     0.790     11.56          5.11          12.40           7.11          11.45
188     0.94     0.811     11.88          5.25          12.74           7.30          11.77
218     1.09     0.832     12.18          5.38          13.06           7.49          12.06
250     1.25     0.854     12.50          5.52          13.41           7.68          12.38
280     1.40     0.874     12.80          5.66          13.73           7.87          12.68
312     1.56     0.896     13.12          5.80          14.07           8.07          12.99
344     1.72     0.918     13.44          5.94          14.41           8.26          13.31
374     1.87     0.939     13.74          6.07          14.73           8.45          13.61
406     2.03     0.960     14.06          6.21          15.08           8.64          13.93
436     2.18     0.981     14.36          6.35          15.40           8.83          14.22
468     2.34     1.003     14.68          6.49          15.74           9.02          14.54
500     2.50     1.025     15.00          6.63          16.09           9.22          14.86
530     2.65     1.045     15.30          6.76          16.41           9.41          15.15
562     2.81     1.067     15.62          6.90          16.75           9.60          15.47
592     2.96     1.087     15.92          7.04          17.07           9.79          15.77
624     3.12     1.109     16.24          7.18          17.42           9.98          16.08
656     3.28     1.130     16.54          7.31          17.74          10.17          16.38
686     3.43     1.152     16.86          7.45          18.08          10.36          16.70
718     3.59     1.173     17.18          7.59          18.42          10.56          17.02
748     3.74     1.194     17.48          7.73          18.75          10.75          17.31
780     3.90     1.216     17.80          7.87          19.09          10.94          17.63
812     4.06     1.236     18.10          8.00          19.41          11.13          17.93
842     4.21     1.258     18.42          8.14          19.75          11.32          18.24
874     4.37     1.280     18.74          8.28          20.10          11.52          18.56
904     4.52     1.301     19.04          8.41          20.42          11.70          18.86
936     4.68     1.322     19.36          8.56          20.76          11.90          19.17
968     4.84     1.343     19.66          8.69          21.08          12.09          19.47
998     4.99     1.365     19.98          8.83          21.43          12.28          19.79

Here's the chart O2VDC to AFR conversions:
  • lambda = 0.1365 * x + 0.6831
  • Gasoline AFR = 1.9987 * x + 10.001
  • Methanol AFR = 0.8837 * x + 4.4191
  • Propane AFR = 2.1436 * x + 10.725
  • Ethanol AFR = 1.2283 * x + 6.1492
  • CNG AFR = 1.9795 * x + 9.9057

Assuming that each PIK unit is worth 0.005VDC we can convert the PIK value (x) to VDC using the formula:
O2 VDC = PIK*0.005

Therefore the conversions from PIK value to AFR become:
  • lambda = 0.0006825 * x + 0.6831
  • Gasoline AFR = 0.0099935 * x + 10.001
  • Methanol AFR = 0.0044185 * x + 4.4191
  • Propane AFR = 0.010718 * x + 10.725
  • Ethanol AFR = 0.0061415 * x + 6.1492
  • CNG AFR = 0.0098975 * x + 9.9057


Top
 Profile  
 
 Post subject: Re: Phidgets PhidgetInterfaceKit Support
PostPosted: Tue Oct 30, 2012 2:26 am 
Offline
RomRaider Donator

Joined: Wed Jul 27, 2011 10:07 am
Posts: 129
Location: South Africa
Hi There.

I attempted to do the calcs and got close but you are the man.. thanks so much fro the formula's this makes life much easier.


Thanks for your help and Silently hoping the conversion can be included in the next release... :lol: as i think this will def be invaluble for all the people buying the failsafe devices...Thanks again..you rock..

I

_________________
_______________________
Wrb Adm Sti 06 - Gtx3076 rotate, self built, E50+25%meth, 360wkw\600nm.


Last edited by kingchett on Tue Oct 30, 2012 7:56 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Phidgets PhidgetInterfaceKit Support
PostPosted: Tue Oct 30, 2012 2:45 am 
Offline
RomRaider Donator

Joined: Wed Jul 27, 2011 10:07 am
Posts: 129
Location: South Africa
Edit:
Ok i have Attached Final Converstion Table from Formula's above with Phidget PIK values with conversions for Pik values between 0-4095 (RawsensorValue/maximum accuracy) and 0-1000 (Oem sensorValue/normal accuracy).

Thanks so much dschultz.... :D now i can start tuning ....


You do not have the required permissions to view the files attached to this post.

_________________
_______________________
Wrb Adm Sti 06 - Gtx3076 rotate, self built, E50+25%meth, 360wkw\600nm.


Top
 Profile  
 
 Post subject: Re: Phidgets PhidgetInterfaceKit Support
PostPosted: Wed Oct 31, 2012 12:44 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7031
Location: Canada eh!
I corrected the table and formulas above for use with the PIK value range 0-1000.

I completely forgot that when I switched from polling the PIK to event driven PIK data collection that the RawSensorValue value was changed to SensorValue. Sorry for the mix-up (I edited your post and took out the confusing part).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 58 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl