meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:controller:examples [2022/07/19 17:37]
dmitry [Control modes switching setting]
en:controller:examples [2022/08/09 19:41] (current)
dmitry [Configuring the config loading with the CAN button]
Line 4: Line 4:
  
 In this section, we provide examples of various typical Controller settings and some non-obvious functions. The section is constantly being supplemented, if you have an example of your own settings of any function, you can send us a description on [[https://nucular.tech|website]]. In this section, we provide examples of various typical Controller settings and some non-obvious functions. The section is constantly being supplemented, if you have an example of your own settings of any function, you can send us a description on [[https://nucular.tech|website]].
 +
 +
 +===== Configuring the config loading with the CAN button =====
 +
 +In the settings of the controller with firmware version 0.8.7 and newer, it became possible to instantly download the desired configuration from the SD card to the Controller by pressing a button. This can be useful when using several different batteries, so that when you change batteries, you can quickly load new settings without using the import and export menus. Or, if you want to quickly change the controller settings from low power to high power config. The configuration loaded in this way is not saved in the Controller upon restart, unless it is specifically saved in the Controller menu after import. To download, the SD card must be in the on-board computer and the number in the configuration file name must match the number of the function configured in the Controller. You can use several methods to load the configuration: \\
 +  - [[en:controller:examples#loading_the_config_using_the_on-board_computer_buttons|On-board computer buttons]].
 +  - External switch, connected to On-board computer.
 +  - External switch, connected to Controller.
 +
 +==== Loading the config using the on-board computer buttons ====
 +
 +This method is the easiest to set up, configuration loading is activated by one of the four buttons on the On-board computer.
 +  - Make sure you set up and export the configuration to the SD-card to a file **NCconf1.cfg** — **NCconf5.cfg**. \\
 +  - For example, you want to load the configuration **NCconf3.cfg** on pressing the first button on the On-board Computer. Go to the **Controller** > **I/O configuration** menu section, then assign the **CL3** function to the **CAN port 1** menu item. \\
 +  - Save the settings in the menu item **Controller** > **Save settings**. \\
 +  - Go to the menu section **On-board computer** > **Button setup** and for the button **Hot key 1 func.** assign **CAN_1**. Button type **Hotkey 1 type** select **Normal**. \\
 +  - Save the settings in the menu item **On-board computer** > **Save**. Setup completed. Go to the main screen. Now by pressing and holding the first button of the On-board computer you will be able to instantly import the **NCconf3.cfg** configuration from the SD-card. After importing, you will see a notification with the name of the loaded configuration. \\
 +
 +If you specifically do not save the loaded configuration in the Controller settings, then after switching off and on the Controller, your previous configuration, which was used before the import, will be automatically loaded.
 +
 +
 +
  
  
Line 10: Line 32:
 Three control modes are available in the Controller settings, for which you can make different power and speed settings. To switch modes **S1**, **S2**, **S3** you can use several methods: \\ Three control modes are available in the Controller settings, for which you can make different power and speed settings. To switch modes **S1**, **S2**, **S3** you can use several methods: \\
   - [[en:controller:examples#control_modes_switching_by_on-board_computer_buttons|On-board computer buttons]].   - [[en:controller:examples#control_modes_switching_by_on-board_computer_buttons|On-board computer buttons]].
-  - External switch, connected to On-board computer. +  - [[en:controller:examples#control_modes_switching_with_external_switch_connected_to_the_on-board_computer|External switch, connected to On-board computer]]
-  - External switch, connected to Controller.+  - [[en:controller:examples#control_modes_switching_with_external_switch_connected_to_the_controller|External switch, connected to Controller]].
  
  
-==== Control modes switching by On-board computer buttons ====+==== Control modes switching with the On-board computer buttons ====
  
   - Make sure you have [[en:controller:setup#control_modes|configured]] the control modes.    - Make sure you have [[en:controller:setup#control_modes|configured]] the control modes. 
Line 23: Line 45:
  
 If after setting you cannot switch modes, then go to the menu **Controller** > **Updates and settings**, select the item **Load defaults**, reset, then save the settings in the menu item **Controller** > **Save settings**, return to the menu **Controller** > **Updates and settings**, select the item **Reboot** and restart your device. Then repeat all the settings from the beginning. If after setting you cannot switch modes, then go to the menu **Controller** > **Updates and settings**, select the item **Load defaults**, reset, then save the settings in the menu item **Controller** > **Save settings**, return to the menu **Controller** > **Updates and settings**, select the item **Reboot** and restart your device. Then repeat all the settings from the beginning.
 +
 +
 +==== Control modes switching with external switch connected to the On-board computer ====
 +
 +To use this method, you need an external 3-position switch. To connect to the On-board computer you need to crimp the wire with pins according to the [[en:display:start#connection_diagram|diagram]] and insert them into the PHD 2.0 connector, which is included in the kit of the On-board Computer.
 +
 +  - The wire from the switch must be connected to the rear panel of the On-board computer in the **I/O1** or **I/O2** ports.
 +  - Next, you need to check the functionality of the connected button and the activation of the input by closing the contact. Go to the **On-board computer** > **Information** menu and press the button on the switch. Depending on which port the wire is connected to, the values in the menu items **IO1 state** - **IO8 state** will change from **0** to **1** when the button of switch connected to the On-board computer is pressed. If the value does not change, then the signal does not come and it is necessary to check the correct connection, contacts in the connector, wire, and the switch itself. If everything is OK, go to point 3.
 +  - Let's assume you have connected one of the switch buttons to the IO2 state, it is the **IO2** input of the **I/O1 port**. Now you need to assign to this On-board computer input the number of the CAN input for CAN-bus control and select the control signal type. Go to [[en:display:start#buttons_setup|menu]] item **On-board computer** > **Buttons setup**, and in the menu item **IO2 type**, select the control signal type, e.g. **Normal**, and in menu item **IO2 state** select a free CAN input number, e.g. **CAN_1**. For the rest of the switch buttons, make similar settings by selecting other CAN port numbers.
 +  - Save the settings in the menu item **On-Board Computer** > **Save**.
 +  - Go to the menu item **Controller** > **I/O configuration** to configure the **S1**, **S2** or **S3** mode function on the selected CAN port. To do this, opposite the menu item **CAN Port 1**, select the value **S1**. Now the button configured in the previous paragraph, when pressed, will activate the **S1** mode in the Controller. Next, configure the rest of the buttons in the same way, choosing the appropriate modes for the configured CAN ports. If you use a 3-position switch, then you need to select the functions **S1of3** and **S3of3** in the CAN ports, which will be activated when the switch is closed in the extreme left and right positions. In the center position, **S2** mode will be activated.
 +  - Save the settings in the menu item **Controller** > **Save settings**. Setup completed. Go to the main screen. Now by pressing one of the external buttons you can activate the control mode configured for it. The selected mode will be shown at the top middle of the screen as **1**,**2** or **3**.
 +
 +==== Control modes switching with external switch connected to the Controller ====
 +
 +This method requires an external 3-position switch. To connect to the Controller, use "controller-side inputs" wires (optional) with SM 2.54 3P connectors.
 +
 +  - The wire from the switch must be connected according to the [[en:display:start#connection_diagram|diagram]] to the ports **S1**, **S3** and **GND** on the control wires of the Controller.
 +  - Next, you need to check the functionality of the connected switch and the activation of the input by closing the contact. Go to **Controller** > **I/O configuration** > **Port state** and click the button on the switch. Depending on which port the wire is connected to, when a signal is applied, the values in menu items **S1** and **S3** will change from **Off** to **On**. the switch itself. If everything is in order, go to step 3.
 +  - Now you need to assign the desired function to the Controller ports. Go to **Controller** > **I/O configuration** and select **S1of3** for **Port S1**, and **S3of3** for **Port S3**.
 +  - Save the settings in the menu item **Controller** > **Save settings**. Setup completed. Now, when the switch is closed in the extreme left and right positions, control modes **S1** and **S3** will be activated. In the center position, **S2** mode will be activated.
 +
 +
 ===== Setting up controllers with a two-motor connection scheme ===== ===== Setting up controllers with a two-motor connection scheme =====
  
Line 114: Line 159:
  
   - [[en:display:start#buttons_setup|Go to]] the **On-Board Computer** > **Buttons setup** menu and select which of the four On-Board Computer buttons you want to assign the reverse function to. For example, to the first button.   - [[en:display:start#buttons_setup|Go to]] the **On-Board Computer** > **Buttons setup** menu and select which of the four On-Board Computer buttons you want to assign the reverse function to. For example, to the first button.
-  - In **Hot key 1 type** menu item select the control signal type **Button**, and in the item **Hot key 1 func.** select the free number of the CAN input, e.g. **CAN Button4**.+  - In **Hot key 1 type** menu item select the control signal type **Button**, and in the item **Hot key 1 func.** select the free number of the CAN input, e.g. **CAN_4**.
   - Save the settings in the menu item **On-Board Computer** > **Save**.   - Save the settings in the menu item **On-Board Computer** > **Save**.
-  - [[en:controller:setup#i_o_port_configuration|Go to]] **Controller** > **I/O Configuration** to configure the reverse function for the selected CAN port. To do this, in **CAN port4** menu item, select the **RV** (reverse) value.+  - [[en:controller:setup#i_o_port_configuration|Go to]] **Controller** > **I/O Configuration** to configure the reverse function for the selected CAN port. To do this, in **CAN Port 4** menu item, select the **RV** (reverse) value.
   - Save the settings in the **Controller** > **Save settings** menu item. The setup is complete, now you must press and hold the first On-board computer button for two seconds to activate reverse. When the function is activated, you will see the **R** icon at the top of the screen.   - Save the settings in the **Controller** > **Save settings** menu item. The setup is complete, now you must press and hold the first On-board computer button for two seconds to activate reverse. When the function is activated, you will see the **R** icon at the top of the screen.
  
Line 125: Line 170:
  
   - The wire from the switch must be connected to the rear panel of the On-board computer in ports **I/O1** or **I/O2**.   - The wire from the switch must be connected to the rear panel of the On-board computer in ports **I/O1** or **I/O2**.
-  - Next, you need to check the functionality of the connected button and the activation of the input by closing the contact. [[ru:display:start#информация|Go to]] the **On-board computer** > **Information** menu and press the button. Depending on which port the wire is connected to, the values in the menu items **Input 1 function** - **Input 8 function** will change from **0** to **1** when the button connected to the On-board computer is pressed. If the value does not change, then the signal does not come and it is necessary to check the correct connection, contacts in the connector, wire, and the button itself. If everything is OK, go to point 3. +  - Next, you need to check the functionality of the connected button and the activation of the input by closing the contact. [[ru:display:start#информация|Go to]] the **On-board computer** > **Information** menu and press the button. Depending on which port the wire is connected to, the values in the menu items **IO1 state** - **IO8 state** will change from **0** to **1** when the button connected to the On-board computer is pressed. If the value does not change, then the signal does not come and it is necessary to check the correct connection, contacts in the connector, wire, and the button itself. If everything is OK, go to point 3. 
-  - Let's assume you have connected the button to the **Input 2 func.**, it is the **IO2** input of the **I/O1** port. Now you need to assign to this On-board computer input the number of the CAN input for CAN-bus control and select the control signal type. Go to menu item **On-board computer** > **Buttons setup**, and in the menu item **Input 2 type**, select the control signal type, e.g. **Button**, and in menu item **Input 2 func.** select a free CAN input number, e.g. **CAN Button4**.+  - Let's assume you have connected the button to the **IO2 state**, it is the **IO2** input of the **I/O1** port. Now you need to assign to this On-board computer input the number of the CAN input for CAN-bus control and select the control signal type. Go to menu item **On-board computer** > **Buttons setup**, and in the menu item **IO2 type**, select the control signal type, e.g. **Button**, and in menu item **IO2 func.** select a free CAN input number, e.g. **CAN_4**.
   - Save the settings in the menu item **On-Board Computer** > **Save**.   - Save the settings in the menu item **On-Board Computer** > **Save**.
-  - [[en:controller:setup#i_o_port_configuration|Go to]] **Controller** > **I/O Configuration** to configure the reverse function for the selected CAN port. To do this, in **CAN port4** menu item, select the **RV** (reverse) value.+  - [[en:controller:setup#i_o_port_configuration|Go to]] **Controller** > **I/O Configuration** to configure the reverse function for the selected CAN port. To do this, in **CAN Port 4** menu item, select the **RV** (reverse) value.
   - Save the settings in the **Controller** > **Save settings** menu item. The setup is complete, now you must press the button to activate reverse. When the function is activated, you will see the **R** icon at the top of the screen   - Save the settings in the **Controller** > **Save settings** menu item. The setup is complete, now you must press the button to activate reverse. When the function is activated, you will see the **R** icon at the top of the screen
  
Line 150: Line 195:
   - Next, you need to select which on-board computer button will enable **Mode S2** and configure this function. [[en:controller:setup#i_o_port_configuration|Go to]] the **Controller** > **I/O configuration** menu section, select one of the CAN ports, for example **CAN Port 1** and select **S2** in this menu item.   - Next, you need to select which on-board computer button will enable **Mode S2** and configure this function. [[en:controller:setup#i_o_port_configuration|Go to]] the **Controller** > **I/O configuration** menu section, select one of the CAN ports, for example **CAN Port 1** and select **S2** in this menu item.
   - Save the settings in the **Controller** > **Save settings** menu item.   - Save the settings in the **Controller** > **Save settings** menu item.
-  - [[en:display:start#buttons_setup|Go to]] the menu item **On-board сomputer** > **Buttons setup**, select which On-board Computer button will activate **Mode S2**, e.g. second. To configure in the menu item **Hot key 2 type**, select the control signal type **Button**, and in the item **Hotkey 2 func.** select the number of CAN input previously configured in the controller — **CAN Button1**.+  - [[en:display:start#buttons_setup|Go to]] the menu item **On-board сomputer** > **Buttons setup**, select which On-board Computer button will activate **Mode S2**, e.g. second. To configure in the menu item **Hot key 2 type**, select the control signal type **Normal**, and in the item **Hotkey 2 func.** select the number of CAN input previously configured in the controller — **CAN_1**.
   - Save the settings under the **On-board computer** > **Save** menu item. The setup is complete. Now you have to press the second button of the On-Board Computer to activate the control **Mode S2** with activated reverse. When the mode is activated you will see the **R** icon at the top of the screen. To disable reverse you need to switch to another control mode, **S1** or **S3**, which must be pre-set to other buttons of the On-Board Computer.   - Save the settings under the **On-board computer** > **Save** menu item. The setup is complete. Now you have to press the second button of the On-Board Computer to activate the control **Mode S2** with activated reverse. When the mode is activated you will see the **R** icon at the top of the screen. To disable reverse you need to switch to another control mode, **S1** or **S3**, which must be pre-set to other buttons of the On-Board Computer.
  
Line 163: Line 208:
   - Next, you need to select which on-board computer button will enable **Mode S2** and configure this function. [[en:controller:setup#i_o_port_configuration|Go to]] the **Controller** > **I/O configuration** menu section, select one of the CAN ports, for example **CAN Port 1** and select **S2** in this menu item.   - Next, you need to select which on-board computer button will enable **Mode S2** and configure this function. [[en:controller:setup#i_o_port_configuration|Go to]] the **Controller** > **I/O configuration** menu section, select one of the CAN ports, for example **CAN Port 1** and select **S2** in this menu item.
   - Save the settings in the **Controller** > **Save settings** menu item.   - Save the settings in the **Controller** > **Save settings** menu item.
-  - [[en:display:start#buttons_setup|Go to]] the menu item **On-board сomputer** > **Buttons setup**, select which On-board Computer button will activate **Mode S2**, e.g. second. To configure in the menu item **Hot key 2 type**, select the control signal type **Button**, and in the item **Hotkey 2 func.** select the number of CAN input previously configured in the controller — **CAN Button1**.+  - [[en:display:start#buttons_setup|Go to]] the menu item **On-board сomputer** > **Buttons setup**, select which On-board Computer button will activate **Mode S2**, e.g. second. To configure in the menu item **Hot key 2 type**, select the control signal type **Normal**, and in the item **Hotkey 2 func.** select the number of CAN input previously configured in the controller — **CAN_1**.
   - Save the settings under the **On-board computer** > **Save** menu item. The setup is complete. Now, when you have **Mode S2** enabled, after you have pressed the brake lever and completely stopping, you can press the brake lever again within 4 seconds and hold it down to activate reverse. If more time passes between presses, the reverse will not be activated and you will have to press the brake again and again to activate the reverse. You will see **R** at the top of the screen when the mode is activated. To disable reverse you must release the brake lever, the controller will return to control **Mode S2**.   - Save the settings under the **On-board computer** > **Save** menu item. The setup is complete. Now, when you have **Mode S2** enabled, after you have pressed the brake lever and completely stopping, you can press the brake lever again within 4 seconds and hold it down to activate reverse. If more time passes between presses, the reverse will not be activated and you will have to press the brake again and again to activate the reverse. You will see **R** at the top of the screen when the mode is activated. To disable reverse you must release the brake lever, the controller will return to control **Mode S2**.