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
Next revision Both sides next revision
wiki:tcb:operation:functionlist [2019/02/21 04:15]
opadmin [Driving Adjustments]
wiki:tcb:operation:functionlist [2021/03/22 23:43]
opadmin [General Purpose Outputs A & B]
Line 73: Line 73:
 ===Airsoft/Mech Recoil - Enable | Disable | Toggle (D)=== ===Airsoft/Mech Recoil - Enable | Disable | Toggle (D)===
 These three functions allow you to control whether the airsoft or mechanical recoil action (whichever is currently selected) will be included in the Cannon Fire function. When enabled, the airsoft/mechanical recoil action is included when the Cannon Fire function is called. If disabled the airsoft/mechanical recoil action is omitted from the Cannon Fire function, but the remaining actions will occur as usual, or per their own settings (these include IR, flash, servo recoil, and the cannon sound). The Toggle function swaps between enabled and disabled. The primary use of these functions is to selectively enable or disable an airsoft unit from your transmitter, without affecting other firing effects. These three functions allow you to control whether the airsoft or mechanical recoil action (whichever is currently selected) will be included in the Cannon Fire function. When enabled, the airsoft/mechanical recoil action is included when the Cannon Fire function is called. If disabled the airsoft/mechanical recoil action is omitted from the Cannon Fire function, but the remaining actions will occur as usual, or per their own settings (these include IR, flash, servo recoil, and the cannon sound). The Toggle function swaps between enabled and disabled. The primary use of these functions is to selectively enable or disable an airsoft unit from your transmitter, without affecting other firing effects.
 +
 +===IR - Enable | Disable | Toggle (D)===
 +Use these functions to enable/disable the IR functionality on-the-fly. Typically this is not necessary but can be useful in certain circumstances. Some users have found that when their IR Apple/mushroom is disconnected, the floating receive line may occasionally pick up stray electrical noise which the TCB could interpret as an IR hit. This can be avoided by disabling IR functionality, either in OP Config, or if you want the option to turn it back on without re-connecting to a computer, by using one of these functions. 
  
 ===Fire Airsoft / Mechanical Recoil Unit (D)=== ===Fire Airsoft / Mechanical Recoil Unit (D)===
Line 169: Line 172:
 ===User Sound (1..12) - Play once | Repeat | Stop (D)=== ===User Sound (1..12) - Play once | Repeat | Stop (D)===
 **Play once**: Play the selected User Sound once. **Repeat**: Start playing the selected User Sound and keep repeating it until the Stop function is called. **Stop**: Use this to stop playing the selected User Sound after you started repeating it.  **Play once**: Play the selected User Sound once. **Repeat**: Start playing the selected User Sound and keep repeating it until the Stop function is called. **Stop**: Use this to stop playing the selected User Sound after you started repeating it. 
 +
 +===User Sounds - Stop All (D)===
 +Will stop any user sound currently playing. 
  
 ===Sound Bank A/B - Play/Stop (D)=== ===Sound Bank A/B - Play/Stop (D)===
Line 201: Line 207:
  
 ==== General Purpose Outputs A & B ==== ==== General Purpose Outputs A & B ====
-The TCB has two general purpose I/O ports called A & B. Whether they operate as inputs or outputs is something you determine by a setting on the [[wiki:opconfig:tabs:lightsio|Lights & I/O tab]] of OP Config. If set to input, then the following functions will not appear. When set to output remember these ports only provide a //logic-level// on/off signal at 5 volts with a 20mA max current draw each. This means they can be connected to another 5-volt tolerant microcontroller or logic circuit, but they should not be used to drive lights or other devices directly. The TCB has four light outputs plus the Aux Output that are better suited to driving devices. However if those are not enough you can still use these to drive a transistor or MOSFET circuit which itself can then drive a light or LED. See the [[wiki:tcb:tcbinstall:io_ports_ab|I/O Ports]] page for more information.  +The TCB has two general purpose I/O ports called A & B. Whether they operate as inputs or outputs is something you determine by a setting on the [[wiki:opconfig:tabs:lightsio|Lights & I/O tab]] of OP Config. If set to input, then the following functions will not appear. When set to output remember these ports only provide a //logic-level// on/off signal at 5 volts with a 40mA max current draw each. This means they can be connected to another 5-volt tolerant microcontroller or logic circuit, but they should not be used to drive lights or other devices directly. The TCB has four light outputs plus the Aux Output that are better suited to driving devices. However if those are not enough you can still use these to drive a transistor or MOSFET circuit which itself can then drive a light or LED. See the [[wiki:tcb:tcbinstall:io_ports_ab|I/O Ports]] page for more information.  
  
 ===External Output A | B - On | Off | Toggle | Pulse | Blink (D)=== ===External Output A | B - On | Off | Toggle | Pulse | Blink (D)===
-The **On** function will turn Output A on, the **Off** function will turn it off, and the **Toggle** function will toggle the Output A status (on → off, off → on). The **Pulse** function will briefly set the pin to the opposite state of its default level (default level set in OP Config, either High or Low). Use the Pulse function to emulate a button press to some external device. The **Blink** function will start blinking the output at the rate specified on the [[wiki:opconfig:tabs:lightsio#general_purpose_input_output_ports_a_b|Lights tab]] of OP Config. To stop blinking, use the **On** or **Off** functions. +The **On** function will turn Output A on, the **Off** function will turn it off, and the **Toggle** function will toggle the Output A status (on → off, off → on). The **Pulse** function will briefly set the pin to the opposite state of its default level (default level set in OP Config, either High or Low). The pulse length can be specified on the [[wiki:opconfig:tabs:lightsio#general_purpose_input_output_ports_a_b|Lights & IO tab]] of OP Config. The **Blink** function will start blinking the output at the rate specified on the [[wiki:opconfig:tabs:lightsio#general_purpose_input_output_ports_a_b|Lights & IO tab]] of OP Config. To stop blinking, use the **On** or **Off** functions. 
  
 \\ \\
Line 215: Line 221:
 ===Smoker - Enable | Disable | Toggle (D)=== ===Smoker - Enable | Disable | Toggle (D)===
 These three functions are only available if the **Smoker Control** setting is set to **Auto (with engine speed)** on the [[wiki:opconfig:tabs:motors#smoker|Motors tab]] of OP Config. These functions allow you to turn the smoker effect on or off at will. The smoker is enabled by default, so these functions are entirely optional, but some people may want to selectively turn off the smoker from their transmitter even when the tank is running, and these functions give you that option. When enabled, the smoker speed will be automatically determined by engine speed and other relevant settings. When disabled, the smoker will be stopped and remain off even when the tank is in motion. The toggle function is useful for swapping the status from a single two-position switch.  These three functions are only available if the **Smoker Control** setting is set to **Auto (with engine speed)** on the [[wiki:opconfig:tabs:motors#smoker|Motors tab]] of OP Config. These functions allow you to turn the smoker effect on or off at will. The smoker is enabled by default, so these functions are entirely optional, but some people may want to selectively turn off the smoker from their transmitter even when the tank is running, and these functions give you that option. When enabled, the smoker speed will be automatically determined by engine speed and other relevant settings. When disabled, the smoker will be stopped and remain off even when the tank is in motion. The toggle function is useful for swapping the status from a single two-position switch. 
 +
 +===Smoker Preheat - Enable | Disable | Toggle (D)===
 +If you are using a smoker type that involves separate control of the heating element and fan, you will also be given the option to specify a preheat time (see the [[wiki:opconfig:tabs:motors#smoker|Motors tab]] of OP Config). This preheat setting will turn on the heating element when you start the engine but will delay the actual engine start for the time specified in order for the smoker oil to heat up. This is convenient for creating smoke but is inconvenient since it requires you to wait every time you start the engine. You may wish to disable the preheat delay manually from your transmitter, which is what these functions allow you to do. **Disable** will skip the preheat time even if it is specified, **Enable** will cause the engine start to delay so long as a preheat time is specified, and **Toggle** will toggle between Enabled and Disabled. 
  
 ===Smoker - Manual Speed (A)=== ===Smoker - Manual Speed (A)===
 Almost everyone will want to have the smoker controlled automatically by the TCB to reflect engine speed. But if you are not using a smoker and would like a general purpose, unidirectional speed control rated at 3 amps, or for some reason you just want to control the smoker manually, change the **Smoker Control** setting to **Manual** on the [[wiki:opconfig:tabs:motors#smoker|Motors tab]] of OP Config. Only then will this function appear in the function list. When assigned to an analog trigger (such as a knob on your transmitter), the speed of any motor attached to the SMOKER output can be varied manually. Note that the output will be uni-directional - in other words, the motor will only turn in one direction from stop to full speed. If you want to reverse the direction you must physically swap the wires to the motor.  Almost everyone will want to have the smoker controlled automatically by the TCB to reflect engine speed. But if you are not using a smoker and would like a general purpose, unidirectional speed control rated at 3 amps, or for some reason you just want to control the smoker manually, change the **Smoker Control** setting to **Manual** on the [[wiki:opconfig:tabs:motors#smoker|Motors tab]] of OP Config. Only then will this function appear in the function list. When assigned to an analog trigger (such as a knob on your transmitter), the speed of any motor attached to the SMOKER output can be varied manually. Note that the output will be uni-directional - in other words, the motor will only turn in one direction from stop to full speed. If you want to reverse the direction you must physically swap the wires to the motor. 
  
-===Smoker - Manual On | Off (D)=== +===Smoker - Manual On | Off | Toggle (D)=== 
-Almost everyone will want to have the smoker controlled automatically by the TCB to reflect engine speed. But if you are not using a smoker and would like a general purpose, high current capable digital switch, then change the **Smoker Control** setting to **Manual** on the [[wiki:opconfig:tabs:motors#smoker|Motors tab]] of OP Config, and then these two on/off functions appear in the function list. When assigned to a digital trigger (such as a switch on your transmitter), the output of the smoker connector will be turned on or off. The smoker output will switch full battery voltage and can source up to 3 amps. Use this instead of a relay if you need to power a higher-current accessory and turn it on/off from your transmitter.   +Almost everyone will want to have the smoker controlled automatically by the TCB to reflect engine speed. But if you are not using a smoker and would like a general purpose, high current capable digital switch, then change the **Smoker Control** setting to **Manual** on the [[wiki:opconfig:tabs:motors#smoker|Motors tab]] of OP Config, and then these three on/off/toggle functions will appear in the function list. When assigned to a digital trigger (such as a switch on your transmitter), the output of the smoker connector will be turned on or off. The smoker output will switch full battery voltage and can source up to 3 amps. Use this instead of a relay if you need to power a higher-current accessory and turn it on/off from your transmitter.   
  
  
Line 257: Line 266:
  
 ===RC Output 1-4, 6-8 - Pass-through (A)=== ===RC Output 1-4, 6-8 - Pass-through (A)===
-If available, these functions will appear in the function list. Assign an analog trigger (such as a knob on your transmitter) to control any servo or ESC plugged into the corresponding RC Output. If using a hobby speed controller, <html><span class="boldred">remember</span></html> to [[wiki:tcb:tcbinstall:motors:rcesc|remove the center pin]] from the ESC cable.+If available, these functions will appear in the function list. Assign an analog trigger to control any servo or ESC plugged into the corresponding RC Output. \\ 
 +**Note:** even if the physical control on your radio is a switch, you should set its Aux channel to "analog" if you want to pass-through the signal (for example, a switch that will set a servo to different positions).\\ 
 +**Note:** If using a hobby speed controller on the RC output, <html><span class="boldred">remember</span></html> to [[wiki:tcb:tcbinstall:motors:rcesc|remove the center pin]] from the ESC cable.
  
 ===RC Output 1-4, 6-8 - Pan Servo (A)=== ===RC Output 1-4, 6-8 - Pan Servo (A)===
wiki/tcb/operation/functionlist.txt · Last modified: 2021/03/22 23:45 by opadmin