Help with custom de...
 
Notifications
Clear all

Help with custom device creation and LEDs management

1 Posts
1 Users
0 Likes
83 Views
(@eder-merino)
Active Member
Joined: 2 weeks ago
Posts: 9
Topic starter  

Hi all, I am relatively new in SimHub and despite having done some research, I found it impossible to get information in any forum or discussion on the internet, so I am addressing you as my last option.

First of all, I am currently working on a DIY steering wheel that will be containing inputs (switches, rotaries...), a VoCore screen, an RGB LED strip, LEDs for buttons' backlight and the electronics.

My first choice for the electronics was an STM32 to control all the inputs through FreeJoy and an Arduino Pro Micro for all the LEDs, but after getting deeper into SimHub's configurations and settings, some doubts have raised.

- 1st QUESTION:
To control the LEDs, mainly the RPM strip (2812B), I have seen that there is an arduino library that automatically installs the specific script for the LEDs to work.
Now, am I forced to use an arduino to control the LEDs? Or, alternatively, can I directly pin them to the STM32 and run two simultaneous codes in it (one for FreeJoy and the other for the LEDs).

- 2nd QUESTION:
From the Devices tab, I tried to "Add new device" --> "Create standard device" --> "Generic VoCore screen with I2C LEDs", as this would theoratically be the profile for my custom wheel.
As a reference, I tried to load a GSI Hyper P1 profile aswell, and compare the available configurations of that wheel with the generic one.
I saw that for both LCD and Controls tab, the configuration is the same, but for the LEDs tab, GSI has two separate profiles that differentiate the LEDs from the RPM strip from the ones for the buttons' backlight, but I can't manage to create a differenciation on my generic profile. I'll attach a picture below to let you understand what I mean.
So, is there a way to separate the LEDs of the PCB to load different profiles to them? I guess so, in that case, how could I do it?

Screenshots for comparison: <a class="relative pointer-events-auto a

hover:underline
" href=" removed link " target="_blank" rel="noopener nofollow ugc">https : removed link com /a/ dPBWe0V

Thanks in advance, any suggestion or help is much appreciated.

This topic was modified 2 weeks ago by eder.merino

   
Quote
Share: