Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
Drag Computer 0 to 60 and Quarter Mile times
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Sea, Land
Microcontrollers: Calculation, Microcontroller
Tags: v0.6.20
File Size
Posted
Updated
30.096 KB
19 Apr, 2019 @ 4:55pm
19 Apr, 2019 @ 5:15pm
3 Change Notes ( view )

Subscribe to download
Drag Computer 0 to 60 and Quarter Mile times

Description
Microcontroller computer for acceleration and drag times

Outputs 0-xx MPH/KPH/Knots time in seconds
Also can output 0-xxx metre times in seconds

Instructions:
Reset connection wants to be a push button,
Change display connection wants to be a toggle,
Reset indicator light is useful

Acceleration timing:
Once spawned in you'll want to reset the timer, press the reset button until the display zeroes out and indicator light is showing. Indicator light means timer is ready or timing in progress.
Start driving and once you've passed the starting threshold the timer will start (0.07 is the default, although you can change this in microcontroller properties screen). Once the top speed has been reached the timer should stop and the indicator light should show

The units can be selected in microcontroller properties.
Starting and ending speeds can be changed in microcontroller properties. For example 50-80mph times can be found

0.07 is the slowest I could reliably not trigger the starting timer


Drag times:
Pressing the display button will switch the display to show drag times.
The timer starts once the car starts moving.
The timer is reset by stopping the car. I couldn't quite get my head around making a nice working reset function
Drag distance can be changed in the microcontroller properties, it's measured in metres


Notes:
I'm not sure how accurate any of this is, I think the acceleration stuff is fairly close but I'm not sure about the drag times.
Using this and some gearbox tuning I managed to knock off over a second on 0-60 mph for one of my cars

I'm not much of a logic or maths wizard and this took a bit of trial and error, there's probably far less convoluted ways of doing this. Happy to hear any suggestions, improvements, feedback etc. I can't make any promises though