training_examples icon indicating copy to clipboard operation
training_examples copied to clipboard

Matter ARGB Fan example not working with xG24 Explorer Kit

Open lboue opened this issue 3 months ago • 2 comments

Matter ARGB Fan example not working with xG24 Explorer Kit even if it described as compatible board:

https://github.com/SiliconLabs/training_examples/blob/6f8dc7b36e50b439056d9458d8986c2173ad3c85/dev_lab_arduino_matter_argb_fan/software/arduino_matter_argb_fan/arduino_matter_argb_fan.ino#L16-L21

Issues D7 pin: https://github.com/SiliconLabs/training_examples/blob/6f8dc7b36e50b439056d9458d8986c2173ad3c85/dev_lab_arduino_matter_argb_fan/software/arduino_matter_argb_fan/arduino_matter_argb_fan.ino#L74

RGB pins: https://github.com/SiliconLabs/training_examples/blob/6f8dc7b36e50b439056d9458d8986c2173ad3c85/dev_lab_arduino_matter_argb_fan/software/arduino_matter_argb_fan/arduino_matter_argb_fan.ino#L168-L170

Could you fix your example?

lboue avatar Sep 13 '25 10:09 lboue

Hi, thanks for looking at this project, it is kind of in pre-release on here to support some events but will be more complete when I release the video to go with it and I'll make an effort to highlight or support boards other than Arduino Nano Matter that the .ino file is currently written for.

Having said that it is compatible but some pin changes will be required, as you have discovered. I would suggest the following:

These will let you use the SDA, SCL pin sockets on the MikroBUS connector to connect to the fan, but these are just GPIO, choose any two for conveient connections: #define PIN_FAN_CONTROL SDA #define PIN_FAN_TACHO SCL

For the LEDs I would use something like the following to use the built in LEDs resulting in LED0 being used when commissioning or off and LED1 when on: #define PIN_RGB_RED LED_BUILTIN #define PIN_RGB_GREEN LED_BUILTIN #define PIN_RGB_BLUE LED_BUILTIN_1

For the ARGB LEDs in your fan connect the data line to the MOSI socket on the MikroBUS connector.

Hope that helps.

silabs-MartinL avatar Sep 15 '25 09:09 silabs-MartinL

Thank you. That really helps me a lot.

lboue avatar Sep 15 '25 11:09 lboue