i2c setup for iraci...
 
Notifications
Clear all

i2c setup for iracing

11 Posts
2 Users
1 Likes
3,402 Views
(@kipnlo)
Active Member
Joined: 5 years ago
Posts: 18
Topic starter  

ELEGOO UNO R3

Chinese i2c 16x2

I can get the Hello World... to show, but there are no options to use it in SIMHUB. Am I missing something? I simply want to show two lines. One water temp and the other oil temp. I'm running a 8 number 7 segment display and  a MAX7221 for my gear selector. Like I said, it all works fine,  there's just no place to adjust or set the i2c?


   
Quote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 727
 
Posted by: @kipnlo

ELEGOO UNO R3

Chinese i2c 16x2

I can get the Hello World... to show, but there are no options to use it in SIMHUB. Am I missing something? I simply want to show two lines. One water temp and the other oil temp. I'm running a 8 number 7 segment display and  a MAX7221 for my gear selector. Like I said, it all works fine,  there's just no place to adjust or set the i2c?

Hi ! you simply need to edit the screens and define the content of the 3rd module : 


   
ReplyQuote
(@kipnlo)
Active Member
Joined: 5 years ago
Posts: 18
Topic starter  

Hmm,  I'm not seeing that. It only shows the 7 segment displays. Let me have another look around at the settings. You know how it is, if you put something down for a while, you see clearer the next time. Lol. Oh, I also would like to thank you for all the work you and others have put in to this. SIMHUB is fantastic.


   
ReplyQuote
(@kipnlo)
Active Member
Joined: 5 years ago
Posts: 18
Topic starter  

Ok, after many attempts, here is what I've done and it is still a no go. 😖 

It seems my 7 seg makes 19 modules, so I made a new screen #20 called InitialDisplay (Idle) and made properties shown below. I did the exact same for the TempScreen (InGame). Re-loaded the arduino and nothing works. I've tried every combination possible. one by itself, two together, etc.. There has to be something else I'm missing. Again, as soon as I load the Hello World... test, that works, but there is nothing that shows where the hello world module is??? I guess I can only attach one pic at a time, so I'll toss up the others separately.

 


   
ReplyQuote
(@kipnlo)
Active Member
Joined: 5 years ago
Posts: 18
Topic starter  

pic 2


   
ReplyQuote
(@kipnlo)
Active Member
Joined: 5 years ago
Posts: 18
Topic starter  

pic 3


   
ReplyQuote
(@kipnlo)
Active Member
Joined: 5 years ago
Posts: 18
Topic starter  

pic 4


   
ReplyQuote
(@kipnlo)
Active Member
Joined: 5 years ago
Posts: 18
Topic starter  

I forgot to add, I can see the temps actually working in simhub during gameplay, but it doesn't show on the i2c. I also hope that this helps others who may eventually have this problem.


   
ReplyQuote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 727
 

@kipnlo

I may have made a mistake I read wrongly that you were already using 2 display modules but actually you have only one (gear indicator is separate and not configurable) So you must set your content in the second screen  as lcd is always the last, so first module is your MAX7221 and the second one is the lcd, simply make sure to edit the second module (not the 20th) and everything should be fine.


   
ReplyQuote
(@kipnlo)
Active Member
Joined: 5 years ago
Posts: 18
Topic starter  

Ok, I'll try that. I did try it in the 3rd module like you suggested and it wouldn''t work, that's when I assumed it needed to go after all the other slots. Again, I'll try the 2nd module and report back. Thanks


   
ReplyQuote
(@kipnlo)
Active Member
Joined: 5 years ago
Posts: 18
Topic starter  

Ok, It now works, but as a reminder to others and especially to myself, the little tiny print that says "Order matters!" is very important. Now comes the "where and how to mount it part". 😉 

Thanks for your help Wotever!  Hopefully this helps others also.


   
Wotever reacted
ReplyQuote
Share: