Tire temperature IR camera updated (RejsaRubberTrac)

edited September 2021 in DIY builds
Just for fun I've added support for the cheaper IR camera sensor AMG8833 to RejsaRubberTrac

So you can build your own IR camera for about €25 per wheel all n all if you buy the two only parts you need from Aliexpress or Ebay.

ESP32 board ca €5
AMG8833 IR ca €20

Currently the source code is here: https://github.com/MagnusThome/RejsaRubberTrac/tree/MagnusThome-amg8833

It looks like this:

And how it looks in Racechrono

Huge thanks to Torben who added support for the cheaper ESP32 boards and Mark for lots of other additions.
RejsaRubberTrac is well tested on track with the Melexis IR camera sensors. The AMG8833 IR camera sensor is tested and works well on the bench but hasn't yet been out on the track for proper abuse :-)


  • PS: How do I add pictures to a post?
  • That looks very nice, thanks for sharing! I've been looking for a tyre temperature solution for a while and this looks likes a setup that is within reach. On the list for the winter projects!
  • If you don't need it running on a small chargeable battery (completely without wires) you can use a cheaper ESP32. I just made a board that contains an ESP32 and a DC-DC converter so you can run it directly on the car battery. The board even autoshuts down when the car is parked so it doesn't drain the car battery. As a bonus it also has CAN bus :smiley:

    Some pictures:


    This is a complete kit with AMG8833 but you can also use the wider field of view (FOV) Melexis IR camera sensor exactly the same. Just connect to 12V and that's it.

  • Perfect! I like to use the car charge for as much equipement as possible, as batteries alway die at the wrong moment :wink:
  • edited November 2021
    As you've noticed on the forum, my friend Rogier joined in making this work, I'll post some visuals once we get to installing the hardware.
  • Hey, this is great! I'm hoping to add sensors for my track bike, however, I'm concerned about the two sides of the tires rather than the main surface as I need grip in the corners to prevent low/high sides.

    Do you have examples of motorcycle installs? The github seems to be down right now but last I checked (not long ago) you only had examples of car installations.

    I just don't think there is enough room to attach this on the front tire hugger and looking for what people have done. (The tire warmers barely fit in there)

    The rear has more options with the swingarm right there but I'd also love to see those images.
  • edited December 2021
    I've had it on my road bike, but only on the rear. I placed it behind the license plate holder. It was close enough to get good readings. The front is tricky due to the mudguard, so I just skipped it. But I'm sure it's easy enough to make a holder on front, if you have 3D printer available.
  • After preparing everything this winter I finally got to test the tyre sensor on the circuit! Recorded at the Easter Races on the circuit of Zandvoort, with a sensor pointing to the rear right tyre. Now we know the setup works, the next step is to expand to the 3 other tyres.

  • Hi, i bought this https://www.hellasdigital.gr/go-create/iot-platforms-r-and-d/particle/particle-argon-wi-fi-bluetooth-mesh/ equipped with the Nordic nRF52840 and Espressif ESP32 processors and also Sparkfun IR AMG8833 https://www.hellasdigital.gr/electronics/sparkfun-grid-eye-infrared-array-breakout-amg8833-qwiic-sen-14607/?sl=en.Do you think they will work for tire temp in racechrono?

  • Hello!

    I am trying to access links to Magnus' site and the GitHub site, but looks like there is nothing there?

    Thanks for the help.

  • Go via this page https://github.com/MagnusThome?tab=repositories

    I'll check why the pictures on my own server doesn't work, I might have had a cleanup session too many 🙄

  • the link to paste in arduino board manager has changed. the correct one is

  • MagnusThome Hey!
    tell me what type to specify in the boot file? Tasker tasker;?????
    Compilation error: 'Tasker' does not name a type
  • You haven't installed all libraries that are used. Tasker is an Arduino Library.
  • Hey!
    if instead of these sensors
    VL53L0X distSensor;
    MLX90621 tempSensor;
    I will install these:
    Amg8833 tempSensor
    VL53L1X distSensor
    Will the main sketch work?
  • finally I bought adafruit nRF52832 and MLX90621.The procedure was so easy!
  • with amg8833 you have to make some changes in the code, and if you don't know how to do it like me, youwill waste your time.
  • Change this line in the configuration file

    #define FIS_SENSOR FIS_MLX90640


    #define FIS_SENSOR FIS_AMG8833

  • Good afternoon!
    I don't quite understand which library to install.
    This library "RejsaRubberTrac-develop", fails test
    This "RejsaRubberTrac-master" is being tested, but there is no configuration file where you can change the sensor type.
    I am very stupid in programming ;(
  • In Configuration.h you choose what board you have (ESP32 or nRF and so on) and also what type of sensor you have and other settings. As you can see commented in that file the keywords to choose from are listed in Constants.h
  • In the Arduino IDE start the library manager and search for Tasker
  • I seem to have broken everything)

    c1plus.exe: some warnings being treated as errors
    cc1plus.exe: some warnings being treated as errors

    exit status 1

    Compilation error: control reaches end of non-void function [-Werror=return-type]
  • I have no idea. That looks like a problem with your IDE install. Or something. Go back to square one and try to compile the most basic example, like the "Blink" example code.

  • And/or do a file content comparison between untouched Rejsarubber code files and the ones you are trying to compile. Could be some odd edit you did by mistake maybe.

  • I don't understand what file to upload to the board?
    This "RejsaRubberTrac-master"
    or that "RejsaRubberTrac-develop"?
  • edited January 2023

    The text on the master branch page:

    What you need for a basic working kit

    • Temperature IR-arraysensor: MLX90621($35-$55)
    • Cpu/bluetooth board: Adafruit BlueFruit nRF52 ($25)
    • OPTIONAL: Laser distance sensor: VL53L0XV2 ($2,50)
    • OPTIONAL: Rechargable 3,7V Lipo battery ($8-$10)

    Tips on where to order is further down on this page, keep reading :-)

    EDIT: October 2021: There is a version of the RejsaRubberTrac code that you can run on any ESP32 based board instead of the nRF52 based one above. That version also supports the cheaper IR arraysensor AMG8833 (which only has 60 degree FOV) and the newer MLX90640. Find the code at this branch: https://github.com/MagnusThome/RejsaRubberTrac/tree/develop

  • The text on the development branch page:

    What you need for a basic working kit

    • Temperature IR-arraysensor: MLX90621 / MLX90640 / MLX90641 / AMG8833
    • (the MLX90614 one single pixel IR sensor is also supported)
    • Cpu/bluetooth board: Adafruit BlueFruit nRF52 has low power consumption and is the board the project is based on. There has been support added for all ESP32 based boards but they have a higher power consumption, so not best choice to run on battery. And 3D print casings, daughter board and other bits and pieces on these pages are made with the Adafruit nRF52 board in mind.
    • OPTIONAL: Laser distance sensor: VL53L0XV2
    • OPTIONAL: Rechargable 3,7V Lipo battery (if the main board you get supports this)

Sign In or Register to comment.