Notices
Group Buy Center Approved group buys ONLY. To become an approved group buy vendor - go here:
https://www.rx8club.com/payments.php

The GOODbox

Thread Tools
 
Search this Thread
 
Rate Thread
 
Old 08-17-2010, 10:09 PM
  #326  
I zoom therefore I am.
 
laythor's Avatar
 
Join Date: Mar 2007
Location: San Jose, CA
Posts: 4,919
Received 12 Likes on 11 Posts
Originally Posted by 9krpmrx8
Oh, and I don't know why anyone would mount it in the coin tray, that would be a PIA.
only if you have stubby arms
Old 08-18-2010, 07:47 AM
  #327  
Registered
 
SC-ed's Avatar
 
Join Date: May 2005
Posts: 417
Likes: 0
Received 1 Like on 1 Post
Originally Posted by pieter3d
no i mean across the resistors, not to ground.should be about 1 volt or so
0.22-0.23 v
Old 08-18-2010, 09:58 AM
  #328  
SARX Legend
iTrader: (46)
 
9krpmrx8's Avatar
 
Join Date: Jan 2007
Location: San Antonio, Texas
Posts: 33,784
Received 452 Likes on 366 Posts
TX

Originally Posted by laythor
only if you have stubby arms
It's because I ride gangsta lean
Old 08-18-2010, 10:59 AM
  #329  
Registered
iTrader: (2)
 
HiFlite999's Avatar
 
Join Date: Jun 2009
Location: MI
Posts: 2,254
Likes: 0
Received 4 Likes on 4 Posts
Originally Posted by Lord ET
So what temp sensor were you using for this?
Don't really know! The gauge was a Glowshift (excellent for the money, btw), but I'd still had the sensor from a no-name ebay gauge kit that I tossed. I checked the Glowsport calibration with that sensor and it was okay, so just reused it (lazy?).

These, and most other cheap temp sensors are simple resistors where the resistance decreases as the temperature increases. They are used as part of a gauge circuit where the power to run it comes from the gauge. The calibration will depend on how the manufacturer chose to set up the gauge. What I did was use my existing aftermarket gauge (that I was going to keep in the car) to sample the voltage of that circuit with the Goodbox. The Goodbox will not work with this type of sender and without an already-installed gauge, unless you build up a powered circuit for it to sample.

Some of the more expensive sensors include a wire for +5v input, but output a 0-5v directly from the sensor, which the Goodbox can use directly. You have to build a little 12v-->5v power supply to power them, but that's simple (as I've described in an earlier post), plus if you want to add sensors, without adding gauges, you can easily do so and power them from the same +5v supply, assuming you use these +5v powered sensors.
Old 08-18-2010, 11:10 AM
  #330  
Registered
iTrader: (2)
 
HiFlite999's Avatar
 
Join Date: Jun 2009
Location: MI
Posts: 2,254
Likes: 0
Received 4 Likes on 4 Posts
Originally Posted by IHitCones
I believe from HiFlite999's posts he has only hooked up the pressure sensor and is using this one http://www.aemelectronics.com/150-ps...sensor-kit-659 .

To further this discussion I used my google skills and found the following, looks like they should work:

1/8" 150 psi pressure sensor - needs 5v input voltage - HiFlite999's R-Shack solution?
http://www.aeroforcetech.com/products_sensors_oil.html
manual http://www.aeroforcetech.com/files/A...g_Oil_Fuel.pdf

3/8" kit with 5v regulator for output, uses 12v input.
http://www.aeroforcetech.com/products_sensors_temp.html
manual http://www.aeroforcetech.com/files/A...structions.pdf

Manuals have the factors needed for the conversion of volts to psi and degrees.

$109.95 plus a sandwich plate and we should be in business, thoughts? I'll probably be the guinea pig but not for another month or two, have something else I should be focusing on.
These should work, though as you noticed, the first still requires you come up with a +5v source on your own. (Their suggestion to use the +5v from the MAF or Throttle position sensor terrifies me! ) The second is nice in that it includes the 5v power supply.
Old 08-18-2010, 11:12 AM
  #331  
Registered
iTrader: (2)
 
HiFlite999's Avatar
 
Join Date: Jun 2009
Location: MI
Posts: 2,254
Likes: 0
Received 4 Likes on 4 Posts
Originally Posted by 9krpmrx8
Oh, and I don't know why anyone would mount it in the coin tray, that would be a PIA.
Under the coin-tray-mounted Goodbox is enough room to hide an emergency condom ...
Old 08-18-2010, 11:19 AM
  #332  
Registered
iTrader: (2)
 
HiFlite999's Avatar
 
Join Date: Jun 2009
Location: MI
Posts: 2,254
Likes: 0
Received 4 Likes on 4 Posts
Originally Posted by Lord ET
Anyone think this is a viable option for oil temp measurement?
http://www.aemelectronics.com/water-...sensor-kit-639
Only if you want to engineer a power circuit on your own. Look at the diagram on their product data sheet. It shows stealing +5v power from you engine control unit (eg. MAF), then putting in a "pull-up" resistor. Do they say what the value of that resistor is? Nope.

Rule of thumb: sensor with 1 or 2 wires = nope! (without further engineering)
Old 08-18-2010, 11:25 AM
  #333  
Registered
iTrader: (2)
 
HiFlite999's Avatar
 
Join Date: Jun 2009
Location: MI
Posts: 2,254
Likes: 0
Received 4 Likes on 4 Posts
Originally Posted by Lord ET
I'm interested to see the temp sending unit the HiFlite used because the AEM is $40 and the prosport is $10 http://prosportgauges.com/temperature-sender.aspx
Of /good/fast/cheap/ you can only pick two.

Rule of thumb: sensor with 1 or 2 wires = nope! (without further engineering)
Old 08-18-2010, 11:48 AM
  #334  
SARX Legend
iTrader: (46)
 
9krpmrx8's Avatar
 
Join Date: Jan 2007
Location: San Antonio, Texas
Posts: 33,784
Received 452 Likes on 366 Posts
Can some one just rig something up and sell it to me so I can run oil temp and oil pressure on my Goodbox? kthxbi.
Old 08-18-2010, 01:51 PM
  #335  
Is that a bike rack?
iTrader: (1)
 
Lord ET's Avatar
 
Join Date: Mar 2008
Location: San Antonio
Posts: 1,374
Likes: 0
Received 1 Like on 1 Post
Alright well the pull up resistor value is 'fairly' trivial and doesn't need to be too exact. What we do need to know is the current handling capability of the GoodBox's aux input. In the datasheet schematic the purpose of the pull up is to provide a voltage divider and a short circuit barrier. If the sensor happens to go into a state whereby the resistance is effectively 0 ohms then the resistor between Vcc and Gnd will dissipate that excess current.

The way we should choose that resistor value is by our knowledge of what the Goodbox's ADC's current handling capability is. For a 5V circuit with a....10k resistor, let's say, if that sensor goes into a state of 'shorted' then the ADC will only have to handle a short circuit current of .5mA. But if the pull up was 10 ohms then the ADC would have to dissipate 500mA, not such an easy task.

For more of an explanation here is a temp sensor I used on a project not long ago. TMP36
http://www.analog.com/static/importe...MP35_36_37.pdf


This sensor is powered by a 2.7-5.5V source and has a range of -40C -> +125C. Every degree increase will correspond to a 10mV increase in output. At -40C the output is 100mV. At 0C the output was 500mV etc...




I went ahead and mapped out the voltage outputs if the AEM sensor were to be used and saved it in excel. According to my calculations if a 10Kohm resistor was used as a pull-up the max current the ADC on the Goodbox would see is 100mA. The resolution this combo would have (5V reference and 10bit ADC would give a resolution of .5°C.



The GOODbox-aem-temp-sense.jpg

Last edited by Lord ET; 08-18-2010 at 02:02 PM.
Old 08-18-2010, 02:21 PM
  #336  
SARX Legend
iTrader: (46)
 
9krpmrx8's Avatar
 
Join Date: Jan 2007
Location: San Antonio, Texas
Posts: 33,784
Received 452 Likes on 366 Posts
Geesh, you guys think you are so smart.
Old 08-18-2010, 02:52 PM
  #337  
Is that a bike rack?
iTrader: (1)
 
Lord ET's Avatar
 
Join Date: Mar 2008
Location: San Antonio
Posts: 1,374
Likes: 0
Received 1 Like on 1 Post
If I hadn't JUST done a temp sensing project I may have been a little more confused about this. However, I see no reason that the AEM sensor wouldn't work. After the Goodbox current limit is established we can choose an appropriate pull up and then remap the voltage vs temperature curve. When we know that then we can establish an approximate slope that the Goodbox is looking for.
Old 08-19-2010, 08:51 AM
  #338  
Is that a bike rack?
iTrader: (1)
 
Lord ET's Avatar
 
Join Date: Mar 2008
Location: San Antonio
Posts: 1,374
Likes: 0
Received 1 Like on 1 Post
I got the cycling display this morning. A/C was on when the car was shut off for gas. When I turned the car back on there was no 'greeting' it just began cycling through all possible lights on the lcd. My battery is less than a month old and still has plenty of juice.
I took a video of it.

I turned the car on and saw the cycling display
I turned off the A/C with no change
I tried pressing the buttons on the GoodBox with no change
Then I shut the car off
Turned it back on and I was 'greeted'
Then the unit functioned normally.


I think the mode the GoodBox was in was deal speed/rpms and I think on gauge B

http://www.youtube.com/watch?v=rU4MPrqATKo

Last edited by Lord ET; 08-19-2010 at 08:56 AM.
Old 08-19-2010, 09:26 AM
  #339  
Registered
 
Delmeister's Avatar
 
Join Date: May 2005
Location: Eastern Ontario
Posts: 299
Received 3 Likes on 2 Posts
Originally Posted by Lord ET
If I hadn't JUST done a temp sensing project I may have been a little more confused about this. However, I see no reason that the AEM sensor wouldn't work. After the Goodbox current limit is established we can choose an appropriate pull up and then remap the voltage vs temperature curve. When we know that then we can establish an approximate slope that the Goodbox is looking for.
The Goodbox current limit has virtually nothing to do with the pullup resistor, the former is simply a voltmeter. So choose the resistor, and then show how you are going to deal with the resulting non-linear voltage.

@pieter3d

1- What are the input impedances of the auxiliary ports (aside from the 1k filter)?
2- What are the sampling rates of the auxiliary ports?
3- You suspected a 1 volt drop from the 5 Ohm resistor (~200 mA), but SC-ed measured about a quarter of this. Say you are right in that the slot machine effect is noise related. Then the higher the resistance the better. Say SC-ed is right in that the current draw is only about 50 mA. Let's say we want to limit the voltage across this resistor to 1 volt. Then one could use a standard half-Watt 22 Ohm resistor for improved noise immunity. Comment?
4- 9krpmrx8 mentioned that he wishes the Goodbox could display system voltage. Although it is pretty simple to do this using an auxiliary port, it would also be a waste of a port since this information should be contained within the OBD system. You said somewhere earlier that you might be adding other data as you figured out how to extract it. If you do this, will you be providing a reflash service for older units?
Old 08-19-2010, 10:37 AM
  #340  
Registered
Thread Starter
iTrader: (7)
 
pieter3d's Avatar
 
Join Date: May 2005
Location: Bay Area CA
Posts: 273
Likes: 0
Received 3 Likes on 3 Posts
Originally Posted by Delmeister
The Goodbox current limit has virtually nothing to do with the pullup resistor, the former is simply a voltmeter. So choose the resistor, and then show how you are going to deal with the resulting non-linear voltage.

@pieter3d

1- What are the input impedances of the auxiliary ports (aside from the 1k filter)?
2- What are the sampling rates of the auxiliary ports?
3- You suspected a 1 volt drop from the 5 Ohm resistor (~200 mA), but SC-ed measured about a quarter of this. Say you are right in that the slot machine effect is noise related. Then the higher the resistance the better. Say SC-ed is right in that the current draw is only about 50 mA. Let's say we want to limit the voltage across this resistor to 1 volt. Then one could use a standard half-Watt 22 Ohm resistor for improved noise immunity. Comment?
4- 9krpmrx8 mentioned that he wishes the Goodbox could display system voltage. Although it is pretty simple to do this using an auxiliary port, it would also be a waste of a port since this information should be contained within the OBD system. You said somewhere earlier that you might be adding other data as you figured out how to extract it. If you do this, will you be providing a reflash service for older units?
1 - They are essentially infinite, there should be negligible current draw into the Aux inputs.
2- Sampled at the same rate as OBD2 gauges, about 4x per second.
3 - I was just guessing about 1V. Seems the GB is more power efficient than I thought . It isn't necessarily better to have a higher drop. The idea is just to limit the current due to voltage spikes. But a higher value won't hurt, up to a point. The input voltage to the GB should be comfortably over 7V though.
4 - the Aux ports can only measure up to 5V. Any higher and you risk damage to the analog-digital converter. The OBD2 spec doesn't specify battery voltage, so there is no way to read this over CAN.
Old 08-19-2010, 10:58 AM
  #341  
Registered
 
Delmeister's Avatar
 
Join Date: May 2005
Location: Eastern Ontario
Posts: 299
Received 3 Likes on 2 Posts
Originally Posted by pieter3d
4 - the Aux ports can only measure up to 5V. Any higher and you risk damage to the analog-digital converter. The OBD2 spec doesn't specify battery voltage, so there is no way to read this over CAN.
I didn't mean to say that the system voltage would be plugged directly into the port, but rather use a resistive voltage divider. For example, a 10K in series with a 30K, and tap off the voltage from the 10K for a 0-20 Volt display.

How much overvoltage can the inputs tolerate?
Old 08-19-2010, 12:09 PM
  #342  
Registered
Thread Starter
iTrader: (7)
 
pieter3d's Avatar
 
Join Date: May 2005
Location: Bay Area CA
Posts: 273
Likes: 0
Received 3 Likes on 3 Posts
Originally Posted by Delmeister
I didn't mean to say that the system voltage would be plugged directly into the port, but rather use a resistive voltage divider. For example, a 10K in series with a 30K, and tap off the voltage from the 10K for a 0-20 Volt display.

How much overvoltage can the inputs tolerate?
No more than .5V. Anything higher than VCC will cause lots of current into the chip and it will destroy the input circuitry
Old 08-19-2010, 04:42 PM
  #343  
SARX Legend
iTrader: (46)
 
9krpmrx8's Avatar
 
Join Date: Jan 2007
Location: San Antonio, Texas
Posts: 33,784
Received 452 Likes on 366 Posts
My Scangauge II and my Hymee Scanalyzer reads voltage, that is CAN correct?
Old 08-19-2010, 04:45 PM
  #344  
Registered
Thread Starter
iTrader: (7)
 
pieter3d's Avatar
 
Join Date: May 2005
Location: Bay Area CA
Posts: 273
Likes: 0
Received 3 Likes on 3 Posts
Originally Posted by 9krpmrx8
My Scangauge II and my Hymee Scanalyzer reads voltage, that is CAN correct?
I did some digging, looks like there is an ID for requesting something called "control module voltage", which I assume is probably battery voltage. I will try this out and let you guys know if it works.
Old 08-19-2010, 04:47 PM
  #345  
SARX Legend
iTrader: (46)
 
9krpmrx8's Avatar
 
Join Date: Jan 2007
Location: San Antonio, Texas
Posts: 33,784
Received 452 Likes on 366 Posts
TX

Originally Posted by pieter3d
I did some digging, looks like there is an ID for requesting something called "control module voltage", which I assume is probably battery voltage. I will try this out and let you guys know if it works.
Cool. The only reason I like this is because when i was having alternator issues my Scangauge voltage read out saved me because I saw my voltage slowing dropping as I drove and I was able to drive straight to the dealer.
Old 08-19-2010, 06:50 PM
  #346  
Registered
 
HwAoRrDk's Avatar
 
Join Date: Apr 2010
Location: West Yorkshire, United Kingdom
Posts: 63
Received 3 Likes on 3 Posts
Originally Posted by IHitCones
1/8" 150 psi pressure sensor - needs 5v input voltage - HiFlite999's R-Shack solution?
http://www.aeroforcetech.com/products_sensors_oil.html
manual http://www.aeroforcetech.com/files/A...g_Oil_Fuel.pdf

3/8" kit with 5v regulator for output, uses 12v input.
http://www.aeroforcetech.com/products_sensors_temp.html
manual http://www.aeroforcetech.com/files/A...structions.pdf

Manuals have the factors needed for the conversion of volts to psi and degrees.
This is a great find. I wish I'd found these earlier! I think I may go with these rather than the AEM sensors, as even with international shipping, both are only a little more than the price I would pay for just an AEM pressure sensor from my local reseller.

I practised my Excel-fu, and based on their documented slope-intercept values came up with the conversion factors needed to plug in to the GOODbox for the temperature sensor:

Temperature
Fahrenheit:
Multiplier = 271, Offset = 0
FinalValue = ((271 * RawValue) / 1000) + 0

Celsius:
Multiplier = 151, Offset = -18
FinalValue = ((151 * RawValue) / 1000) + -18

(By the way, Pieter, are the multiplier and offsets integer-only because the GOODbox's CPU can't do floating-point math? Because of this, results are about 0.5 degrees out for either.)

I'm getting tired right now, so I'll see if I can work out the factors for the pressure sensor tomorrow.

Edit: Oh, I forgot to mention: I enquired with them about whether the 5V regulator that is included with the temp sensor can be used for the press. sensor as well, and they said it comes separate (i.e. not integrated in the harness) and can supply 5V for both.

Last edited by HwAoRrDk; 08-19-2010 at 06:56 PM.
Old 08-19-2010, 09:13 PM
  #347  
Registered
Thread Starter
iTrader: (7)
 
pieter3d's Avatar
 
Join Date: May 2005
Location: Bay Area CA
Posts: 273
Likes: 0
Received 3 Likes on 3 Posts
Originally Posted by HwAoRrDk

(By the way, Pieter, are the multiplier and offsets integer-only because the GOODbox's CPU can't do floating-point math? Because of this, results are about 0.5 degrees out for either.)
Correct.
Old 08-20-2010, 04:34 AM
  #348  
Registered
 
SC-ed's Avatar
 
Join Date: May 2005
Posts: 417
Likes: 0
Received 1 Like on 1 Post
Originally Posted by pieter3d
I did some digging, looks like there is an ID for requesting something called "control module voltage", which I assume is probably battery voltage. I will try this out and let you guys know if it works.
While you are in there don't forget to address the FM frequency dot issue
Old 08-20-2010, 04:47 AM
  #349  
Registered
 
HwAoRrDk's Avatar
 
Join Date: Apr 2010
Location: West Yorkshire, United Kingdom
Posts: 63
Received 3 Likes on 3 Posts
Here are the conversion factors I calculated for the Aeroforce oil pressure sensor:

Pressure
PSI:
Multiplier = 183, Offset = -19
FinalValue = ((183 * RawValue) / 1000) - 19

Bar:
Multiplier = 13, Offset = -1
FinalValue = ((13 * RawValue) / 1000) - 1

kPa:
Multiplier = 1263, Offset = -128
FinalValue = ((1263 * RawValue) / 1000) - 128

With these factors, again, readings will be about +/-0.5 from actual, due to the integer-only nature of the GOODbox calculations.

Hope these values are useful to someone.
Old 08-20-2010, 08:29 AM
  #350  
Bearded Member
 
IHitCones's Avatar
 
Join Date: Jul 2009
Location: NYC
Posts: 77
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by HwAoRrDk
Edit: Oh, I forgot to mention: I enquired with them about whether the 5V regulator that is included with the temp sensor can be used for the press. sensor as well, and they said it comes separate (i.e. not integrated in the harness) and can supply 5V for both.
Great catch, I didn't look to closely at the wiring diagram. Thanks for exercising your Excel-fu, I will be using them in the next few weeks. Now I just need to practice my soldering for the Aux inputs.


You have already rated this thread Rating: Thread Rating: 0 votes,  average.

Quick Reply: The GOODbox



All times are GMT -5. The time now is 08:35 PM.