Hi ! It's still possible,@Wotever with the new updates you can not see the code that you will upload to the arduino? before it could be opened in the arduino application
Hi ! It's still possible,
View attachment 297567
however the sketch is cut in many smaller files (for developer mental sanity )
View attachment 297568
Hi ! The FPS indicator is a bit tricky as it counts how many data frames it sends, it doesn't necessarily mean the screen is receiving it. When the upload won't work it's often a clue for something not correct.Hi @Wotever, I'm trying to set up my Nextion 4.3 with Simhub and I'm having problems. To start with I was getting a "forced interrupt" message when trying to upload a dash to the Nextion (connected via a USB TTL UART device). I found a suggestion on this thread to copy the template to a micro SD and upload that way, which I did.
I can now see the dash on the Nextion, but despite enabling the Nextion in Simhub it doesn't seem to be receiving any signal from any sim - nothing happens on the screen.
Any ideas what I might be doing wrong please? It's as if it's just not linked to Simhub at all (although Simhub does seem to see that it is connected on com 3, as it is showing the FPS fluctuating around 50fps.
Thanks!
Hi ! The FPS indicator is a bit tricky as it counts how many data frames it sends, it doesn't necessarily mean the screen is receiving it. When the upload won't work it's often a clue for something not correct.
Usually it can be
- simhub is open : the serial port will be busy for upload.
- wiring not ok : see my warnings here about tx and Rx wiring : https://github.com/zegreatclan/SimHub/wiki/Nextion-Display#nextion-wiring
- drivers not installed : quite a common issue, adapter drivers are not installed and you are simply seeing the motherboard serial port , or some other hardware exposing a serial port. It won't work obviously (motherboard is usually com1,even if you don't have any physical serial port available on the motherboard), you can check it by unplugging / plugging back the adaptor and check in the device manager if it actually appears/disappears. And if it doesn't show up, make sure to install drivers
- windows messing up with drivers, a simple computer reboot often helps, and at worse deleting the serial port in device manager and let windows reinstall it will help in the most stubborn cases
If you get upload working you will need to make sure you got the template properly configured, you have two types requiring a slightly different process (initial templates or hmijmap) : https://github.com/zegreatclan/SimHub/wiki#nextion-support
For the game name you can use a simple replace in formula mode : replace([DataCorePlugin.CurrentGame],'Codemasters','') it will remove "codemasters" from the name.@Wotever Is it possible to truncate text of the name of the game if it contain "Codemasters"?
All 8 segments displays are able to show only "Codemast" for all of their games
With truncated text could be a better solution to show the nem of the game, for examlple "Dirt 4", "Dirt Ral" instead of just "Codemast".
Another question is about the stage time display after a stage has finished in Dirt Rally 2.0. Could you make it available for a longer time? We have to catch the marshall at the end of the stage and when the cars has been stopped, we can see already just a flashing text, instead of our time ... so we always miss the information. Some delay (3-4 sec) would be enough IMO
Thanks!
@Wotever - I just uploaded a standard template from scratch (the 911 GT3 one) and still no joy.
Am I right in thinking that as I'm having to upload the files via a micro SD that I have to use the .tft file created by clicking "compile"? That's the only way I've been able to get the Nextion to see the files and upload them.
If I instead copy the .HMI, .hmijmap and .hmijstruct files to the micro SD card and switch on the Nextion I just get a message saying something like "cannot find files".
Is it that I just need to copy one of the files above over instead of all 3?
Sorry for all the questions, I just can't work out what I'm doing wrong, and I don't seem to be able to upload directly over USB as I get the "forced interrupt" message every time (I've checked the wiring and made sure the TX and RX wires are reversed as suggested).
About monster moto, it's a bit random, the one I bought from china is till going with no troubles, make sure to read the product reviews that's a good clue.Where to buy Chinese motomonster that are reliable? are the worst bridge-h there is, it is almost impossible to find one that works, the ibt-2 are cheap and does not fail, I bought many and control large engines, even 1000w with 3 in parallel, add the ibt-2 to simhub would be a success
About monster moto, it's a bit random, the one I bought from china is till going with no troubles, make sure to read the product reviews that's a good clue.
Concerning ibt-2 I think it should be compatible with L298N entry in the sketch setup, it's worth a test
Simply assign it in dash studio settingsHello,
How do I setup a button on my steering wheel to cycle between screens?
thanks
Hi ! You can find some examples here :Hi Wotever .... I can ask you a little help. I'm trying to apply an Fx for Raceroom ...
I would like to light a red led when I have a low fuel level. I did a lot of tests, but I can't get it to work.
In the game the low fuel level indicator lights up when the level is 20 liters.
Even if I change the Ncalc formula I can't solve .... How can I do?
Thanks for everything!