RegisterSearchFAQMemberlistUsergroupsLog in
Reply to topic Page 1 of 1
Tire temperature sensor project
Author Message
Reply with quote
Post Tire temperature sensor project 
I am considering combining
- 4 MLX90621 - 16x4 pixel thermal imager https://ca.mouser.com/ds/2/734/LX90621_product_flyer-706890.pdf
- a teensy3.6 (because it has 4 - i2c buses available)

which I'm hoping will allow me to use the new tire temperature page.

I'm very new to the rcp so would appreciate any tips - has anyone done anything like this already.

I've used the MLX with the teensy before although the one I used before only had 1 i2c bus and each MLX uses the same address, so for 4 you need 4 buses.

Is there a how-to interface to the tire temp page guide somewhere?

Thanks,
Rod.

View user's profile Send private message
Reply with quote
Post  
Hi Rod,

There's no how to for the tire temperature page, since it's not yet released. However, if you run the 1.12.0 branch and click the tire temperature view, you'll see a popup where you'll see settings. Near the bottom there is an area where you can set the channel name prefix, with some instructions.

The zones are <Prefix><Zone number> e.g. TireTmpFR1, TireTmpLR2, etc.

There is a sample Lua script that we used to make the demo videos; you can play with this today.
https://gist.github.com/brentpicasso/2f20a1288c58b54da2719de425446b63

For your project, I would *highly* recommend broadcasting the data over CAN bus and use the direct CAN mapping capabilities in RaceCapture. Hard to stress this enough. RS232 will work over Lua scripting and the aux input port, but CAN will be easier in the end, operate just like other automotive grade sensors, and you'll have very fast performance using a built-in feature.

Good luck with the project, please do share your progress!


_________________
Brent Picasso
Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
Reply with quote
Post  
Also: https://wiki.autosportlabs.com/CAN_Bus_Integration


_________________
Brent Picasso
Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
Reply with quote
Post  
Thanks Brent.

My car does not have a CAN bus ... can I simply connect 2 CAN devices together, or do they need a bus (with power and timing etc) ... to attach to?

View user's profile Send private message
Reply with quote
Post  
Ah, it's very easy. RCP already provides the CAN bus, so all you have to do is connect two wires - CAN high and CAN low between your project and RCP.

In fact, you can connect the two RCP channels in loopback (connect CAN1 high to CAN2 high, CAN1 low to CAN2 low) and then you can send messages in lua between CAN1 and CAN2. There are a few lua examples for doing this.

Happy to help as possible. Thanks!


_________________
Brent Picasso
Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
Reply with quote
Post  
Sounds too easy! Thanks for the push in this direction. I'll update with progress in a day or two.

View user's profile Send private message
Reply with quote
Post  
How's the project going? Ping me if you'd like some help Smile


_________________
Brent Picasso
Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
Reply with quote
Post  
Thanks for the follow up.
I had some difficulty off the bat getting the can bus communication going. They were out of stock on the Teensy-to-canbus module. While I was waiting I built my own, but was unable to get my Teensy and the RCP to talk to each other. I'm currently suspecting my hardware on the teensy side.

Since then, I got distracted by going racing in California and Christmas. My Teensy-to-canbus module has now arrived but I haven't yet tried to get things connected again.

I'm resyncing my git versions right now - I'm planning to sync to the 1.12 version of the app and I'm thinking of updating my RCP firmware to r/2.13.0 unless you recommend against this. This would be my first firmware update, so I'm tentative, but I saw some CAN mapping fixes have been added recently.

Recommendation? Thanks.

View user's profile Send private message
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum