Search found 10 matches

by tylerjw
Thu Sep 05, 2019 3:01 am
Forum: ShiftX2
Topic: ShiftX2 Only half the lights work
Replies: 1
Views: 8240

ShiftX2 Only half the lights work

Only the left three of the shift lights are working on ours. The right half of the lights don't turn on. Any idea what we could have done wrong. Below is my script. setTickRate(25) -- Set ShiftX2 configuration parameters with default parameters -- orientation: 0=normal, 1=inv...
by tylerjw
Sat Jul 06, 2019 8:41 pm
Forum: Lua Scripting
Topic: Injector PWM signal to Fuel Consumption
Replies: 6
Views: 11973

Thank you for the reply. I thought the injector pulse wires were just pwm signals driven by a mosfet. This shows how little I know about car electronics. I think I may end up just going the route of the fuel flow sensors like what you linked because it'll give me the actual truth on how much fuel we...
by tylerjw
Fri Jul 05, 2019 9:28 pm
Forum: Lua Scripting
Topic: Injector PWM signal to Fuel Consumption
Replies: 6
Views: 11973

Hello brentp and TBracing247. When we went out to test this I discovered just wiring this into the car caused it to not run right. I had patched into injector 1's wiring and this caused injector 2 to stop working. I'm not sure why this would happen. My best guess is that the internal resistance of t...
by tylerjw
Thu Jun 13, 2019 6:16 pm
Forum: ShiftX2
Topic: Change dashboard view with ShiftX2 button?
Replies: 6
Views: 14113

Would there be a way for me to enable this functionality with the alternate base address? I have a shiftx2 and would like to repurpose the button on it for something else. Is the button -> navigation events functionality disabled or enabled by default?
by tylerjw
Thu Jun 13, 2019 6:12 pm
Forum: ShiftX2
Topic: Change dashboard view with ShiftX2 button?
Replies: 6
Views: 14113

I see they both can publish button events at Base+60 address. How does the api work for two buttons?
by tylerjw
Thu Jun 13, 2019 5:51 pm
Forum: ShiftX2
Topic: Change dashboard view with ShiftX2 button?
Replies: 6
Views: 14113

@brentp was this added in the latest release? Is there documentation of these functions. I'd like to put buttons on my steering wheel to change display and respond to questions. I'll use a microcontroller to send can messages when buttons are pressed.
by tylerjw
Tue Jun 11, 2019 3:35 am
Forum: Lua Scripting
Topic: reset virtual channels when session is reset
Replies: 1
Views: 7863

reset virtual channels when session is reset

How do I reset values when the session is reset?

I am trying to make a fuel remaining / fuel consumed channel and I want to reset it's value when we add fuel to the car.
by tylerjw
Tue Jun 11, 2019 12:30 am
Forum: Lua Scripting
Topic: getTimerPeriodUs and timer rates
Replies: 3
Views: 9342

getTimerPeriodUs and timer rates

I see there is a getTimerPeriodMs function in the documentation, why isn't there a getTimerPeriodUs? Secondly. The timers can be set to run slow, medium, or fast. Is there documentation of what these rates or and what period would cause them to overflow?
by tylerjw
Mon Jun 10, 2019 3:23 pm
Forum: Lua Scripting
Topic: Injector PWM signal to Fuel Consumption
Replies: 6
Views: 11973

Injector PWM signal to Fuel Consumption

I'm doing this for endurance racing on a 1990 Honda Civic with a ZC motor. Here is my math so far. Please correct anything that isn't right. I will test this approach this week. First calculate gal/ms. 240cc injectors = 22.9 lbs/hr * 0.17 = 3.893 gal/hr / 60(min/hr) / 60(sec/min) / 1000 (ms/s) = 0.0...
by tylerjw
Sat Jun 08, 2019 7:05 pm
Forum: Sensors
Topic: Measuring Injector Pulsewidth
Replies: 6
Views: 13604

I also want to do this. I'm going to wire mine up and see if I can figure it out... let me know if any of you figured this one out.