aol
Finally I managed to solve it, but I couldn't solve it on RFCOMM, the frequency was oscillating. I read on the topic and tried it on wifi. So far it seems to work well, it is waiting for the live test on a prototype board.
Unfortunately, the readout time of the ADS1115 is too long for 100Hz sampling, especially when there are three of them on an I2C bus, so I separated them and the solution was two esp32.
The primary ESP reads and sends signals at 100Hz. It reads the front and rear axle travel, the brake pressure transmitter signal, the TPS, the RPM and the rear brake status (brake on/off).
The secondary ESP samples at 20Hz (maybe this could be increased, but I haven't tried it), monitors the gear, the secondary throttle valve (this is more like a diag, maybe I'll connect it to the fuel level.), the oil pressure, the fuel pressure, three types of temperatures, and the battery voltage. The two ESPs talk via UART, the primary one sends the RC3 sentences to Racechrono. Sensor calibration is possible via web ui. Unfortunately, I haven't had a chance to try it on the bike yet, because the weather isn't right yet, and there's still some servicing to do, but the previous version worked well with a similar setup.
Two ESP32S3 minis are overkill to say the least, and it would have been easier to read the ECU via K-line, (for those who know how to do it) 🙂 . I'll get some electronic components and try it, but until then this will do. It works surprisingly well, maybe a little more filtering could be done, but it seems to be completely usable.
There are still a few places in the RC3 sentence, so 433MHz TPMS could be interesting, but I have zero experience with coding and integrating it into Racechrono.
There are a few things about the application that would make it even better and make trackside analysis much easier. It would be fantastic if the Racechrono analysis screen had the option to add eight channels to the diagram and name the analog channels with fixed colors. Could this be an update from the developers? How hard would this be for you?