Apps Download removed [Deleted]

Status
Not open for further replies.
Howdy.

Is it possible to run 3x7seg leg numbers as speed and gear display??

Ive seen one on a wheel, shows speed, when gears change flashes two lines, then gear selected, two lines again, then back to speed.


Thats all I actually need, I have my i2c 20x4 lcd showing other data.


Like on attached pic
 

Attachments

  • _20170813_160154.JPG
    _20170813_160154.JPG
    64.1 KB · Views: 306
Howdy.

Is it possible to run 3x7seg leg numbers as speed and gear display??

Ive seen one on a wheel, shows speed, when gears change flashes two lines, then gear selected, two lines again, then back to speed.


Thats all I actually need, I have my i2c 20x4 lcd showing other data.


Like on attached pic

The closest I support is 4 chars, with the tm1637, with ncalc you can achieve something close to what you ask.
 
I think I must do the tm1637 led.
Im still batteling to get the HT16K33 to run 2x7segments, nevermind the sexy 2x16segments I bought esp for gears.

I was planning on fitting just the gear led segment in my gear knob, mainly for trucking as racing I 9/10 time know what gear im in, American truck has up to 24gears.

See attached
(mine would be a tiny 2x16seg)
 

Attachments

  • Screenshot_20170810-135457.png
    Screenshot_20170810-135457.png
    283.8 KB · Views: 346
Hi,

First off thank you for a great app!
But i do not get my Tachometer to work, tested it on my Uno and nano and swithed most parts exept for the analog tachometer, shound this word with every kind of aftermaket tachometer?
 
Hi,

First off thank you for a great app!
But i do not get my Tachometer to work, tested it on my Uno and nano and swithed most parts exept for the analog tachometer, shound this word with every kind of aftermaket tachometer?

Hi ! since it's really basic, it should work, have you configured properly the number of cylinders ? it also requires a clean 12v power supply.
You can look in some previous messages i sent full checklist to someone getting troubles too.

Sadly I can't ensure every after market tach will work, but people have tested successfully several models. Also as far as i know, the cheap tach coming from china may be sometimes defective, when you plug 12v does the needles makes a full swipe ? If not it's probably a bad sign.
 
Hi ! since it's really basic, it should work, have you configured properly the number of cylinders ? it also requires a clean 12v power supply.
You can look in some previous messages i sent full checklist to someone getting troubles too.

Sadly I can't ensure every after market tach will work, but people have tested successfully several models. Also as far as i know, the cheap tach coming from china may be sometimes defective, when you plug 12v does the needles makes a full swipe ? If not it's probably a bad sign.

Well no there is no nedel swipe, i will try with a new one. Thanks for giving me a fast reply. :)
 
Hey all,

Edited - 14:00 18/04/2017. V2 update

I've been working more on the dash I created and want to release it for everyone to use. As you suggested Wotever, I have made them all into widgets to get them all working together. The dash is loosely based around a Porsche Motec. It does the following:

- Porsche logo splash screen
- 10 RPM LEDs (6 green, 4 red) They change to alternating blue/green when in pit lane.
- 8 flag and fuel leds (2 of each, one on each side). Following order - Low fuel (yellow 5 laps left, red 2 laps left), Yellow flag, Blue flag, penalty flag.
- RPM bar with RPM's in digits (goes red when over 95%)
- ERS bar. (disappears when there is no ERS)
- Delta progress to best lap and an Iracing style bar too.
- Usual Speed and Gear status and race position indicator.
- 1 sub page with lap timing, tyres and map. (map a button to do 'ACTION A' on simhub to scroll)
- Warning flag indications and T/C & ABS status.
- Fuel usage info.

If there is anything anyone can suggest then please let me know, and I'll see what I can do. It's fun creating them!

https://drive.google.com/open?id=0B5JZoSh2AvvPaWtERlRKcmtHcTA

View attachment 186512 View attachment 186509 View attachment 186510

I know I'm late to the party, but is this dash layout still available?

Cheers
 
In its guise from then it is no longer available. But I have made some changes to it (and improvements) it has been renamed to Renault Sport' dash as the background image is much better. If you want a different idle screen you are free to edit it.

Also if you don't want the background and just want to use the dash screen itself then the 'Cosworth Electronics' is the same dash again but has some extra goodies that I've not added to the Renault Sport dash.
 
I'm assuming there's no reason I can't open a widget on a second monitor and capture it in OBS for streaming, correct?

I'm working on an OBS setup to stream races, and have been testing with VIS, but I'm assuming SimHub may be a better (and more customizable) option:

Cheers,

Esotic
 
In its guise from then it is no longer available. But I have made some changes to it (and improvements) it has been renamed to Renault Sport' dash as the background image is much better. If you want a different idle screen you are free to edit it.

Also if you don't want the background and just want to use the dash screen itself then the 'Cosworth Electronics' is the same dash again but has some extra goodies that I've not added to the Renault Sport dash.

aw dern. i really liked that layout :(
 
Hi ho Wotever...
...I have found a easy way how to drive a 16x2 LCD Display with Simhub.Maybe you or another one be interest in that?My first stepp was to change the LiquidCrystal Libary with this one https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads/NewliquidCrystal_1.3.4.zip .Then i activate the I2CLCD in Simhub and open the sketch in IDE.Now i have change some parts.
int I2CLCD_enabled = 0; //{"Group":"I2C LCD","Name":"I2CLCD_enabled","Title":"I2C LCD (2004) enabled\r\n0 = disabled, 1 = enabled\r\nUno, Ethernet, Nano : A4(SDA), A5(SCL)\r\nMega2560 : 20 (SDA), 21 (SCL)\r\nLeonardo : 2 (SDA), 3 (SCL)\r\nDue : 20 (SDA), 21 (SCL), SDA1, SCL1","DefaultValue":"0","Type":"integer","Template":"int I2CLCD_enabled = {0};"}
#ifdef INCLUDE_I2CLCD
int I2CLCD_width = 20;
int I2CLCD_height = 4;
byte I2CLCD_address = 0x3f; //{"Group":"I2C LCD","Name":"I2CLCD_address","Title":"I2C address","DefaultValue":"0x3f","Type":"hex","Template":"byte I2CLCD_address = {0};","Condition":"I2CLCD_enabled>0"}
LiquidCrystal_I2C I2CLCD(I2CLCD_address, I2CLCD_width, I2CLCD_height);
int I2CLCD_enabled = 0; //{"Group":"I2C LCD","Name":"I2CLCD_enabled","Title":"I2C LCD (2004) enabled\r\n0 = disabled, 1 = enabled\r\nUno, Ethernet, Nano : A4(SDA), A5(SCL)\r\nMega2560 : 20 (SDA), 21 (SCL)\r\nLeonardo : 2 (SDA), 3 (SCL)\r\nDue : 20 (SDA), 21 (SCL), SDA1, SCL1","DefaultValue":"0","Type":"integer","Template":"int I2CLCD_enabled = {0};"}
#ifdef INCLUDE_I2CLCD
int I2CLCD_width = 16;
int I2CLCD_height = 2;
// addr, en,rw,rs,d4,d5,d6,d7,bl,blpol
LiquidCrystal_I2C I2CLCD(0x3F, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);

// LCD INIT
#ifdef INCLUDE_I2CLCD
if (I2CLCD_enabled == 1) {
I2CLCD.init();
I2CLCD.backlight();
I2CLCD.print("Hello world...");
I2CLCD.clear();
// LCD INIT
#ifdef INCLUDE_I2CLCD
if (I2CLCD_enabled == 1) {
I2CLCD.begin(16,2);
I2CLCD.backlight();
I2CLCD.print("Hello world...");
I2CLCD.clear();
This work fine for me and i make a digital turbo boost gauge with the screen editior for assetto corsa.
But i run into a little problem with that.The text in the first row will be nice.The data form the game in the second row are correct.But it will blinking and i cant stop that.Text blinking in the second row,too.I am confused with that and need help.Please give me a hint how i can stop that.

Edit:
When compiling run into the "*** was not declared in this scope" erro,close the ide and go to your TEMP folder and delete the arduino folders.Start the sketch again and try to compile without error ;)
 
Last edited:
Hi ho Wotever...
...I have found a easy way how to drive a 16x2 LCD Display with Simhub.Maybe you or another one be interest in that?My first stepp was to change the LiquidCrystal Libary with this one https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads/NewliquidCrystal_1.3.4.zip .Then i activate the I2CLCD in Simhub and open the sketch in IDE.Now i have change some parts.
This work fine for me and i make a digital turbo boost gauge with the screen editior for assetto corsa.
But i run into a little problem with that.The text in the first row will be nice.The data form the game in the second row are correct.But it will blinking and i cant stop that.Text blinking in the second row,too.I am confused with that and need help.Please give me a hint how i can stop that.

Edit:
When compiling run into the "*** was not declared in this scope" erro,close the ide and go to your TEMP folder and delete the arduino folders.Start the sketch again and try to compile without error ;)

In fact SimHub is sending 20x4 data, it sends rows one by one, but when a row overflows it goes to the next line. But since it always place the cursor to the beginning of the row, that's why sometime you see your wanted text at the right place.

You have to locate the data receiving method and ensure to skip lines 2 and 3 (it's 0 based index if I correctly remember) you will also have to "cut" the lines at 16 chars to avoid overflow to the next line.

It should give something like that : (i've not tested it's only "pseudo code")

Code:
void Read20x4LCD() {
    while (FlowSerialAvailable() < 2)
    {
    }
 
    int row = FlowSerialRead();
    // Read the full line (20 chars long)
    String text = FlowSerialReadStringUntil('\n');
    // Skip lines above index 2
    if(row < 2){
          I2CLCD.setCursor(0, row);
          // Cut the line to 16 chars and print it
          I2CLCD.print(text.substring(0,15));
    }
}
 
Hi Wotever,

I love SimHub so far :) I am currently trying to get 3 MAX7219 7-Segment Modules to work. However, I did run into an issue: It all seems to work fine when I connect only one or two modules. When I use all three modules however, it doesn't work anymore. The first two seem to work okay (not always however, sometimes they just show 8888888, nothing at all or just random characters) but the third never shows what it is supposed to show. In most cases the third module shows up empty, in some cases it displays only parts of what it should show.

Here is a what I tried to display on the Modules for testing purposes:
wanted.PNG


Here is what it looked like after disconnecting and reconnecting the Arduino a couple of times:
actual.jpg
In most cases, the third module (bottom) didn't even show anything, sometimes only a single 3 at the last digit. The output seems to be quite random. The first two modules seemed to work pretty much always.

- I am pretty certain that all the modules do work, as I have all tested them individually.
- Concerning wiring: I chained/cascaded the modules together, i.e. the output of module 1 to the input of module 2 etc.
- I changed the order of the modules to see if that makes a difference (it doesn't).
- I have obviously updated the Arduino sketch via the setup tool to allow three modules (for testing purposes I also tried different numbers of modules in the sketch, it didn't have any effect).
- I am also running 32 2812B LEDs with SimHub, although I doubt that this could have anything to do with my issue- disconnecting/disabling them had no effect (they work absolutely perfectly by the way :))
- I am using an Arduino Uno and SimHub 5.3.0 in Admin mode.

Do you have any Idea what I am doing wrong or what the issue could be?
 
Hi Wotever,

I love SimHub so far :) I am currently trying to get 3 MAX7219 7-Segment Modules to work. However, I did run into an issue: It all seems to work fine when I connect only one or two modules. When I use all three modules however, it doesn't work anymore. The first two seem to work okay (not always however, sometimes they just show 8888888, nothing at all or just random characters) but the third never shows what it is supposed to show. In most cases the third module shows up empty, in some cases it displays only parts of what it should show.

Here is a what I tried to display on the Modules for testing purposes:
View attachment 207381

Here is what it looked like after disconnecting and reconnecting the Arduino a couple of times:
View attachment 207382
In most cases, the third module (bottom) didn't even show anything, sometimes only a single 3 at the last digit. The output seems to be quite random. The first two modules seemed to work pretty much always.

- I am pretty certain that all the modules do work, as I have all tested them individually.
- Concerning wiring: I chained/cascaded the modules together, i.e. the output of module 1 to the input of module 2 etc.
- I changed the order of the modules to see if that makes a difference (it doesn't).
- I have obviously updated the Arduino sketch via the setup tool to allow three modules (for testing purposes I also tried different numbers of modules in the sketch, it didn't have any effect).
- I am also running 32 2812B LEDs with SimHub, although I doubt that this could have anything to do with my issue- disconnecting/disabling them had no effect (they work absolutely perfectly by the way :))
- I am using an Arduino Uno and SimHub 5.3.0 in Admin mode.

Do you have any Idea what I am doing wrong or what the issue could be?
Try to wire gnd and +5v of all modules directly to arduino, it always solves this kind of problems. Some modules have a huge power drop when you run the power through it.
 
In fact SimHub is sending 20x4 data, it sends rows one by one, but when a row overflows it goes to the next line. But since it always place the cursor to the beginning of the row, that's why sometime you see your wanted text at the right place.

You have to locate the data receiving method and ensure to skip lines 2 and 3 (it's 0 based index if I correctly remember) you will also have to "cut" the lines at 16 chars to avoid overflow to the next line.

It should give something like that : (i've not tested it's only "pseudo code")

Code:
void Read20x4LCD() {
    while (FlowSerialAvailable() < 2)
    {
    }
 
    int row = FlowSerialRead();
    // Read the full line (20 chars long)
    String text = FlowSerialReadStringUntil('\n');
    // Skip lines above index 2
    if(row < 2){
          I2CLCD.setCursor(0, row);
          // Cut the line to 16 chars and print it
          I2CLCD.print(text.substring(0,15));
    }
}
Thank you very much.I will test it later in the evening. :)
 
In fact SimHub is sending 20x4 data, it sends rows one by one, but when a row overflows it goes to the next line. But since it always place the cursor to the beginning of the row, that's why sometime you see your wanted text at the right place.

You have to locate the data receiving method and ensure to skip lines 2 and 3 (it's 0 based index if I correctly remember) you will also have to "cut" the lines at 16 chars to avoid overflow to the next line.

It should give something like that : (i've not tested it's only "pseudo code")

Code:
void Read20x4LCD() {
    while (FlowSerialAvailable() < 2)
    {
    }
 
    int row = FlowSerialRead();
    // Read the full line (20 chars long)
    String text = FlowSerialReadStringUntil('\n');
    // Skip lines above index 2
    if(row < 2){
          I2CLCD.setCursor(0, row);
          // Cut the line to 16 chars and print it
          I2CLCD.print(text.substring(0,15));
    }
}
Thank you very mutch.That works perfect.Now Simhub supported 16x2 perfectly.:):thumbsup:
 
Status
Not open for further replies.

Latest News

Do you prefer licensed hardware?

  • Yes for me it is vital

  • Yes, but only if it's a manufacturer I like

  • Yes, but only if the price is right

  • No, a generic wheel is fine

  • No, I would be ok with a replica


Results are only viewable after voting.
Back
Top