Allt Nytt | Kalender | Racerbanor | Arrangörer | Forum | Varvtider/Loggar |
RejsaRubberTrac Would it be possible to add two more sensors to the board? | 1 besök senaste veckan (293 totalt) |
I would like to add oil temp and oil pressure sensors from the closest RejsaRubber board.
Would it be difficult to read them as a sensors in Race Chrono, or will it need work by the developer? I've had a look at the code, but it's over my paygrade at the moment. I'm willing to spend more time learning how to make it work if it can be done. _________________ Bernhard Benum |
||
That would necessitate a substantial rewrite in Racechrono / Harry's. You could fake it and insert oil temp and pressure in place of two tire temperature readings of course, but wow that would be an ugly way of doing it Just add another ESP or nRF MCU board and use the API Racechrono has published for picking up any sensor data over BLE, check the Racechrono forum for links to this _________________ Magnus Thomé |
||
Thanks for saving me a lot of time.
As far as I can understand the maximum number of simultaneously connected BT devices is seven and I would like to run these: OBD2 ( but without oil temp/pressure information) GPS 4 x RejsaRubber I don't remember if my GoPro camera is controlled via Wi-Fi or BT. I'm going to buy a tablet. Will I need a very fast tablet to cope with this many connections? _________________ Bernhard Benum |
||
To be honest I don't have a good feel of what is needed to run Racechrono with many Bluetooth data sources, sorry.
Another way could be to insert oil temp and pressure data as CAN messages to the OBD2 dongle although it could mean having to do some trickery not to clash with the car's original data. But totally doable. Or you could completely replace the OBD2 dongle with the Racechrono DIY I mentioned earlier. Either way would take some coding of course. _________________ Magnus Thomé |
||
Bernhard, I don't know if you're aware but BLE (Bluetooth Low Energy) is a slightly different beast from regular BT. BT has a limit regarding "slave" stations but BLE is structured in another way and does not have such a limitation. I see no reason (except deliberate or unfortunate restrictions in software) why you wouldn't be able to use an arbitrary amount of sensors.
_________________ Dan Mattsson 991.GT3 |
||
It's more about the bandwidth of incoming data. But I really don't know what the limits are with today's mobile phones (and the Racechrono code). And more importantly where the main bottlenecks are.
In the sense of bytes per second it is miniscule but even getting all tire data over at 10Hz was tough with the BLE setup I used. But no problems having four tires doing it simultaneously. Again, I have no real idea where you'll hit some bottlenecks. _________________ Magnus Thomé |
||
RejsaRubberTrac Would it be possible to add two more sensors to the board? | 1 besök senaste veckan (293 totalt) |