Here's what all the fuss is about.... #341
Replies: 4 comments 7 replies
-
Hey @MickTheMechanic — this is really fantastic work! Thank you very much for sharing screenshots of your project and the background details. Gives people some great ideas. If I were still doing autox (BS/BSP) and track days I would have definitely put your device to good use as it really addresses a very important part of the data logging. I’ll be interested to see future updates as you make progress. All the best with the project! |
Beta Was this translation helpful? Give feedback.
-
Thanks 🙏 |
Beta Was this translation helpful? Give feedback.
-
Been working a bit more on hardware in the last weeks, things are looking good. |
Beta Was this translation helpful? Give feedback.
-
A small update. I redid the wiring to reduce the combined length of the cables. I was having some wierd problems with the I2C BUS, from what I understand if the cables/tracks are too long this can increase the capacitance and create problems, so I'm hoping this will help. I have ordered a new touch screen, this time a 3.95" screen that should be compatible with the tft_espi drivers that have been optimised for the ESP32. The housing has been remodeled a bit for better placement of components and to allow for the bigger screen. I have also added haptics. Some info about the Haptics. I am using a drv2605l haptics driver with the adafruit lib. To trigger the haptics during touchscreen touch and release I use GSLC_TOUCH_DOWN_IN and GSLC_TOUCH_UP_IN. This does the job nicely.
I also added a few lines to the slider code to get some haptic feedback when using the slider widgets:
Unfortunately I am having some trouble with the push buttons. I am using the following code, but its not working how it should. Any tips on how I could get this working better?
The goal would be to trigger a feedback response twice, once if the button is depressed, and another when the button is released. |
Beta Was this translation helpful? Give feedback.
-
First of all I want to thank you guys for the help, support and most of all for creating such a cool GUI building tool.
I have opened a few issues here and I thought I'd share what all the fuss has been about. Its not completely finished, but it's not far off.
I am a hobby racer and I have been looking for a DIY tire pyrometer with memery function, an important tool if you're serious about any kind of fine tuning of the chassis/suspension. The only thing that I have found is this project from mouser. It would be fine, but I thought I could do better than that. Commercial items (wit memory) cost between 200-500 euros.
The pyrometer is for checking internal temps (inside the tread), but sometimes just a quick look at surface temps can help alot, especially if there isn't enough time to take a full log of all internal temps in the pits. For this reason a thermal camera is ideal. Once again, anything kind of decent will cost a few hundred.
Another must have tool is a tire pressure gauge, good quality digital items are also not cheap.
Here, using your library I have combined all three of these for a fraction of the price, and when everything is finished the project will be made open source. The aim is to try and balance the playing field in grass roots motorsport, give the little guy a chance with tools that are usually limited to those with much bigger budgets.
Here are some photos of how the UI looks:
Screensaver
Home screen
Pressure gauge
Temperature gauge
Thermal camera
Data log
Cad model for housing.
The pressure gauge will use a Honeywell i2c gage pressure sensor capable of up to 4 bar (60 PSI).
The temperature sensor will either be an NTC thermistor or a K-type thermocouple (yet to be decided).
Both gauges have a pause button to hold the reading.
All functions in the thermal camera settings work, all standard FLIR color maps are included, the min and max temperatures can be manually set, or the auto button can be pressed and the camera will auto-scale the min and max temperature. The autoscale range can also be adjusted. The sensor is an AMG8833 8x8 thermal array, and is interpolated to either 18x15 with a boxsize of 14x12, 36x36 with a boxsize of 7x5, or 63x60 with a box size of 4x3, depending on the resolution setting. The thermal camera is also used to take a reading of the asphalt temperature for the data log.
The datalog saves data to SD in .txt format, which will allow easy use for excell and so on in the future.
There are 6 "car" folders, and for each car up to 12 logs can be saved (theretically unlimited amount of logs can be saved). Each log contains the 12 temperatures taken from the tires, plus date, time, ambient temperature, and asphalt temperature. Averages for front, rear, left and right are calculated, along with the delta from min and max temps of each tire. Each tire also displays a color for inside, middle, outside corresponding to the temperature. The colors are taken from the thermal color palette array.
To do list:
-add a global settings popup with a button on the home page, which includes manual date/time setting, °c or °f, and screensaver timer adjustment.
-add rotary encoder as failsafe (touch screen seems to be very temperature sensitive).
-perhaps add some method of screen calibration that can be carried out during runtime.
-fix some minor bugs
-Find an appropriate push button pressure release valve to incorporate into the design (for pressure gauge)
-finish cad design
I would like to also look into some kind of smart phone interface, so that the log data can be accessed via bluetooth. Maybe even stream the thermal camera to the smart phone ( its only an array of 64 floats, it could be interpolated locally on the target device)
I also attach a copy of the project, if anyone would like to take a look at it. I would be happy to hear peoples thoughts.
TireToolFinal.zip
Beta Was this translation helpful? Give feedback.
All reactions