I'll email the guy who's done most of the work on the rewrite in the development branch. He had a lot of focus on adding support for the ESP32 so he could run two sets of sensors per board. And also the autozoom stuff of course. AFAIK he has working distance sensors with the development branch but since it is work in progress it might be with ESP32 rather than nRF.
The safe bet is always to build around the released "main" version
I am very grateful to MagnusThome for being patient with my stupid questions. I found my problem partially. I did not specify the distance sensor in the configuration (here is a hand-face smiley). #define DIST_SENSOR DIST_VL53L0X !!!!
But in the reyschrono program there is still no display of the distance. if I turn off one of the sensors, then there is a display. I don't know how to insert screenshots from the program here. tell.
MagnusThome, please bear with me a little more. I'm sure I can)))
@racechrono is there a way to change color scale in temp? For cold weather the 40C threshold for turning dark blue into light blue is too much. It would be ideal if we can set tyre operating window and the app would adjust the color scale accordingly
It is not possible to rotate 90 degrees by changing anything in the code since the sensor isn't symmetrical between rows and columns (it's not "square")
I'm still struggling with proper naming devices. I strapped the pins - it did not work for all for some reason. I'm trying to do it with coding but also devices are not getting correct names.
I even commented the code to force naming based on variable but still device always gets RR* name. Pins are not strapped.
// BLUETOOTH DEVICE NAME //uint8_t wheelPosCode = getWheelPosCoding(); //if (wheelPosCode < 7) { // setBLEname(wheelPosCode); // SET FROM GPIO JUMPERS //} else { setBLEname(WHEELPOS); // SET FROM DEFINE IN CODE HEADER //}
I'm choosing WHEELPOS 2 in this case. Am I missing additional condition somewhere?
Comments
sensor - DIST_VL53L0X
firmware- RejsaRubberTrac-master
Begin startup
Starting I2C
Starting distance sensor
Starting temp sensor
Starting bluetooth with MAC address FD:E1:23:C0:0E:F9
Device name: RejsaRubberF C00EF9
Running!
3.1Hz 69mV 1% 83mm 0 0 0 0 0 0 0 0 0
40.0Hz 69mV 1% 166mm 0 0 0 0 0 0 0 0 0
here is the board- BOARD_NRF52_FEATHER
sensor - DIST_VL53L0X
firmware- RejsaRubberTrac-develop 2
distance is not shown here. -
Begin startup. Arduino version: 10607
Starting temperature sensor for F ...
Starting BLE device: RejsaRubberF
Starting bluetooth with MAC address
Device name: RejsaRubberF c00ef9
Running!
Rate: 0.0Hz V: 366mV (1%) Wheel: F
Rate: 0.0Hz V: 366mV (1%) Wheel: F
Rate: 1203.4Hz V: 366mV (1%) Wheel: F
The safe bet is always to build around the released "main" version
I found my problem partially. I did not specify the distance sensor in the configuration (here is a hand-face smiley).
#define DIST_SENSOR DIST_VL53L0X !!!!
But in the reyschrono program there is still no display of the distance. if I turn off one of the sensors, then there is a display.
I don't know how to insert screenshots from the program here. tell.
MagnusThome, please bear with me a little more. I'm sure I can)))
Just posted it on another thread, maybe it's of interest here as well. My final setup, just need to adjust the rear cam view.
Is there a new git hub link for the circuit in the first page?
Original https://github.com/MagnusThome/RejsaRubberTrac
Updated version https://github.com/MagnusThome/RejsaRubberTrac/tree/develop
Hi, I’m able to add gauge for one channel only (here Tyre temp 5 chosen). Rejsa is not visible as Tire temp gauge. Can you advice?
They don't seem to have been coded for tire position on the car. Do it either by editing the code or with strapping pins
https://github.com/MagnusThome/RejsaRubberTrac?tab=readme-ov-file#bluetooth-device-name
Thank you. I will try.
Do you know where can I get:
Component list is on GitHub here
https://github.com/MagnusThome/RejsaRubberTrac/blob/master/pcb/Component%20list%20RejsaRubberTrac%20board%20v1.4%20(2019-11-19).xlsx
IR film is hard to find :-(
https://github.com/MagnusThome/RejsaRubberTrac/tree/master/3Dprint#sensor-protection
It is possible to run without but you'd need to check from time to time that the sensor doesn't ger too dirty
No idea, worth a try? If it works please keep me informed so I can update about it on GitHub :-)
If you choose the shorter rubber top maybe it works without it? Could other similar button tops be available there? Or 3d print a button top?
1N4007 D3 https://www.mouser.se/ProductDetail/750-1N4007-G
1uF C4 https://www.mouser.se/ProductDetail/810-FG28X7R1E105KRT6
Without this it works on both battery and 5V charger. I'm not planning to plug it directly to 12V (car). Should I add those components?
Here's it is described what you can skip if you dont want to run on 12V:
https://github.com/MagnusThome/RejsaRubberTrac/tree/master/pcb#running-from-12-volts
I even commented the code to force naming based on variable but still device always gets RR* name. Pins are not strapped.
// BLUETOOTH DEVICE NAME
//uint8_t wheelPosCode = getWheelPosCoding();
//if (wheelPosCode < 7) {
// setBLEname(wheelPosCode); // SET FROM GPIO JUMPERS
//} else {
setBLEname(WHEELPOS); // SET FROM DEFINE IN CODE HEADER
//}
I'm choosing WHEELPOS 2 in this case.
Am I missing additional condition somewhere?
14:54:15.080 -> Begin startup
14:54:15.080 -> Starting I2C
14:54:15.080 -> Starting distance sensor
14:54:15.163 -> Starting temp sensor
14:54:15.199 -> Starting bluetooth with MAC address FE:80:37:DC:B8:68
14:54:15.339 -> Device name: RejsaRubberRLDCB868
14:54:15.339 -> Running!
Name in RaceChrono
Looks like a name cache problem in the phone?