EcoModder.com

EcoModder.com (https://ecomodder.com/forum/)
-   Instrumentation (https://ecomodder.com/forum/instrumentation.html)
-   -   Custom EV efficiency gauge for my racecar? (https://ecomodder.com/forum/showthread.php/custom-ev-efficiency-gauge-my-racecar-41545.html)

1337 09-07-2024 11:07 PM

Custom EV efficiency gauge for my racecar?
 
I run a hobbyist racing team called Electric Turtle. We drive this Chevy Bolt EV in the 24 Hours of Lemons racing series. In our driving, we need to compromise between speed and efficiency. Currently we use Torque to display the precise battery state-of-charge (a range from ~0% to ~96%), and we use this csv file to expose the state-of-charge gauge.

If the racetrack is 5 miles long, then the gauge we really want is: “the percent of battery used in the last 5 miles.” We know the distance traveled in Torque from the speed over time. Is there a way to make a custom gauge that combines multiple inputs (battery state of charge and speed) over a duration of time or distance?

I am a software engineer by profession, so if there is a place where I can write a little computer program for this, I would gladly do it. Any advice?

P.S. I looked a little bit at the list of built-in Torque equations, and it looks like there are some relevant things, but I haven’t found quite the thing I want. I want to record “a value from 5 miles ago” and compare it to “the value now.” In Torque, I don’t know how to store old values like that.

freebeard 09-08-2024 12:34 AM

Quote:

I am a software engineer by profession...
I'm not, but my observation is that Arduino is popular. Were it I OTOH, I'd look at Raspberry Pi. Maybe not the PI 4 or 5 but the Pico or Compute module (at 12 and 13 here). Programmable in Python.


All times are GMT -4. The time now is 10:00 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com