It's too bad that locomotives don't have a CAN port! The more expensive race car loggers can plug into a car's CAN port and record throttle, brake and steering inputs. Those input can be compared to tachometer output, wheel ticks, and...
The antenna was usually taped in place on the front dashboard or inside the rear window. We tried to keep it near the center of the car. One thing we learned is that YOU CANNOT place the antenna on the flat deck under the rear window and just...
Back in 2023, a friend and I developed a logger for race cars. The logger was based on the Sparkfun SparkFun GPS-RTK Dead Reckoning Kit (SMA).
This module uses a UBlox ZED-F9R, which integrates a high-end GPS chip with accelerometers and...
For the OP's case, erase time should not be an issue. I think that writing 33 bytes five times per second should not show any major delays due to block erase time. The block erases, when required. should be covered by the internal RAM buffers...
One problem that I see is that your data structure is either 33, 34, or 36 bytes in length---depending on whether you've done anything to adjust the structure packing size. None of those sizes will fit evenly into a 512- byte SD sector. At some...