Need help configuring AV input please

D153, D175, C125, C127, C185 and C187 forum

Need help configuring AV input please

Postby FoxSTI on Mon Feb 05, 2018 1:33 pm

hi guys, Its been a while.
I have this video to show what I have done do far maybe someone can tell me if I am on the right track of totally lost.

Basically I want to input 4 different voltage into one analog ping and have the dash display a message depending on the voltage.

Resting voltage is 5v.
V#1 = 0
V#2 = 1.8
V#3 = 3.3

I am using an User channel with a calibration if absolute voltage that looks like:
0 - 0
1.8 - 1.8
3.3 - 3.3
5 - 5

https://photos.app.goo.gl/REa5irnn2dzokURu1

Thank you in advance.
FoxSTI
 
Posts: 216
Joined: Tue Apr 19, 2016 1:00 pm

Re: Need help configuring AV input please

Postby FoxSTI on Tue Feb 06, 2018 11:21 am

Hi folks,
Never mind the video, I got most of it to work.
In display creator used the channel I created from the table. however I need some help to fine tune things.

The physical knob is non latching, meaning it will go back up to 5v as soon I stop actuating it. However the car will retain the last setting. What I want if for my DASH to log this value and display it. Therefore I would like to know if there a way to have the channel value remain either V#1 = 0 V#2 = 1.8, V#3 = 3.3

The problem I am running into is that while I measured the voltages they seem to vary slightly so the display of the channel is not consistent.

Can someone please offer some guidance?
Thank you
FoxSTI
 
Posts: 216
Joined: Tue Apr 19, 2016 1:00 pm

Re: Need help configuring AV input please

Postby David Ferguson on Tue Feb 06, 2018 1:00 pm

It sounds like you have the wrong kind of multi-position switch if it doesn't stay in the last setting.

However, assuming you aren't going to change it... Determining the current position isn't too difficult, you setup a 2D table where a range of voltage produce the same output. I chose a range of +/- 0.2v to create something like this:

2D descrete table.JPG
2D descrete table.JPG (42.31 KiB) Viewed 8125 times


However, this will produce an output of 0 for values not in the table, I think that you would just then create alarms that only display when the value is true for some small period of time (i.e. the condition was "GP 1 > 0 for 0.2 sec"), that should avoid messages while you move the knob to the desired position.

If you log the data, you will always end up with the value being zero (since it returns to 5V), but you should be able to quickly look through the data to find the last valid value. If you had I2 Pro, you could create a math channel that would do that for you, but it's not possible in the C125 dash.
David Ferguson
Veracity Racing Data
David Ferguson
Pro User
 
Posts: 1371
Joined: Fri Nov 07, 2008 2:45 am
Location: Paso Robles, California

Re: Need help configuring AV input please

Postby FoxSTI on Tue Feb 06, 2018 2:07 pm

Thanks Dave, yeah the switch in an OEM Switch wired to the car so I cant change it and I am not sure why they made it that way. I ideally I should be tracing the signal coming out of the ECU.

I had thought if your solution, glad you suggested it.
Just to double check, the hysteresis values means essentually + or - / give or take ?

Seems like the C125 is pretty limited when you start to get fancy. I will have to update in the future.
FoxSTI
 
Posts: 216
Joined: Tue Apr 19, 2016 1:00 pm

Re: Need help configuring AV input please

Postby Scott@FP on Sun Feb 11, 2018 4:04 am

Use a 'make before break' style switch so the voltage values don't bounce toward fault areas near 0v and 5v as the contacts go open between switch positions.
Scott@FP
 
Posts: 421
Joined: Thu Jul 10, 2008 7:57 pm


Return to Colour displays

Who is online

Users browsing this forum: No registered users and 33 guests