Proffieboard 2.2 How to change settings

Notes

Some technical knowledge is required to change the settings of Proffieboard. We do not guarantee any problems caused by changing the settings or any malfunctions caused by changing the settings, so please deal with them at your own risk.

Before changing settings, please back up the current file (SD card) before proceeding.

What you need to change settings

Below is a list of what you need to create a configuration change environment for Proffieboard 2.2.

  1. Proffieboard 2.2 : A custom lightsaber equipped with Proffieboard 2.2.
  2. Computer : A computer with Windows 10 (or 11) installed. Although it is compatible with Mac, this procedure is explained using Windows.
  3. Software : Arduino IDE (free downloadable from Arduino official website ). Zadig (available for free download from Zadig's official website ).
  4. USB cable : A USB cable (usually Micro USB) to connect the Profieboard to your PC.
  5. Internet connection : Required to download board definitions for the Arduino IDE and Profieboard, and to obtain the latest version of ProffieOS.
  6. ProffieOS Software : Firmware for the Proffieboard. The latest version of ProffieOS can be downloaded for free from ProffieOS (hubbe.net) . Please use ProffieOS 6.9 here. It is available below. ProffieOS-v6.9.zip
  7. Text editor (optional): For editing configuration files. The Arduino IDE includes a basic editor, but you may want a more sophisticated text editor (e.g. Notepad++, Visual Studio Code, etc.).

Proffieboard2.2 setting change procedure

Step 1: Install Arduino IDE

  1. Download Arduino IDE : Download Arduino IDE from the official Arduino website .

    proffie_setting1
  2. Installation : Run the downloaded file and follow the instructions to install Arduino IDE.

Step 2: Install board definition for Profieboard

  1. Start Arduino IDE : Open the installed Arduino IDE.
  2. Setting additional board manager URLs : Select "Preferences" from the "File" menu and add the following URL to "Additional board manager URLs".
    https://fredrik.hubbe.net/lightsaber/arduino-proffieboard/package_proffieboard_index.json

    proffie_setting2
  3. Start Board Manager : Select Board → Board Manager... from the Tools menu.
  4. Search and install Proffieboard : Search for "Proffieboard" in the board manager and click the "Install" button for Proffieboard by Fredrik Hubinette that appears.

    proffie_setting3

Step 3: Install the driver

    1. Download Zadig : Download Zadig from Zadig's official website .
      setting6

  1. Run Zadig : Run the downloaded Zadig.
  2. Connecting the Proffieboard : Connect the Proffieboard to your PC with a USB cable.
  3. Installing the driver : In Zadig, select Options → List All Devices, select Proffieboard from the list, select WinUSB, and click Install Driver or Replace Driver.
    setting6

Step 4: Edit the config file and write to the board

Preparing the config file

  1. Download and extract ProffieOS : Download ProffieOS 6.9 and extract it anywhere.
  2. Select the config file : Save the config file in the "config" folder inside the ProffieOS folder.
  3. Edit the config file : Edit the config file using a text editor. For example, you can customize LED colors, sound effects, button behavior, and more.

Operation with Arduino IDE

  • Open the ProffieOS sketch (.ino file) in the ProffieOS folder.
    Proffie board setting

    1. Specifying the config file in the sketch : The first few lines of the ProfieOS sketch contain code that specifies the config file to use. Example: Specify the path to the edited config file, such as #include "config/your_config_file.h" .
    2. Select board and port : From the Arduino IDE's "Tools" menu, select "Proffieboard" under "Board" and select the port to which Proffieboard is connected under "Port".
    3. Upload the sketch : Click the "Upload" button in the Arduino IDE to upload your changes to Profieboard.
      proffie_setting7

    Setting change example 1: Changing blade LED parameters

    Example) When changing the number of blade LED settings:
    Open the configuration file and change the red lined numbers in the BladeConfig blades[] section at the bottom.
    This number represents the number of LEDs in the main blade, and if you set it to 115 as shown in the image, 115 LEDs in the blade will light up.
    115 LEDs is equivalent to a 32 inch (approximately 80 cm) blade.

    32inch

    For use with a 36 inch (90 cm) blade, rewrite this number to 132.
    Note: If you use an 80cm blade with the setting value set to 132, effects such as melt or drag where only the tip glows white may not be activated correctly.

    36inch

    After rewriting, overwrite the configuration file and upload it to the target saver using Arduino to reflect the settings.

    Reference link

    Proffieboard V2 (hubbe.net) Proffieboard V2.2

    ProffieOS Documentation: Proffieboard Setup (hubbe.net) How to set up Proffieboard