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:opconfig:tabs:lightsio [2017/07/24 22:35]
opadmin [Lights and General Input/Output]
wiki:opconfig:tabs:lightsio [2019/02/21 03:51]
opadmin [General Purpose Input/Output Ports A & B]
Line 47: Line 47:
 Check this box to blink every light (L1, L2, BRK, MG, APPLE hit LEDs, and the onboard red and green LEDs) when the TCB detects a loss of radio signal. If you uncheck this option, the onboard red and green LEDs will still blink on loss of radio signal, but the others will not.  Check this box to blink every light (L1, L2, BRK, MG, APPLE hit LEDs, and the onboard red and green LEDs) when the TCB detects a loss of radio signal. If you uncheck this option, the onboard red and green LEDs will still blink on loss of radio signal, but the others will not. 
  
-**Note:** the TCB may not be able to detect a loss of signal in all cases. If your receiver is set to continue transmitting data even when the signal is lost ("failsafe receiver"), then the TCB will have no way of knowing the radio is off. For that reason, it is actually better if you can disable any failsafe on your receiver.+**Note:** the TCB may not be able to detect a loss of signal in all cases. If your receiver is set to continue transmitting data even when the signal is lost ("failsafe receiver"), then the TCB will have no way of knowing the radio is off. For that reason, it is actually better if you can disable any failsafe on your receiver.
  
 +== Blink Apple when Cannon Reloaded ==
 +If checked the LEDs in the IR Appple will blink briefly after the cannon reload time has expired, this can be useful in IR battle to let you know the instant when you are able to fire once more. The cannon reload time is dependent on your selected weight class, discussed on the [[wiki:opconfig:tabs:battle|Battle tab]].
 ===== High Intensity Flash Unit =====  ===== High Intensity Flash Unit ===== 
  
Line 83: Line 85:
  
 ===== General Purpose Input/Output Ports A & B =====  ===== General Purpose Input/Output Ports A & B ===== 
-{{ wiki:externalab.png?nolink|I/O A & B Settings}}+{{ wiki:externalab.jpg?nolink|I/O A & B Settings}}
 The A & B ports are general purpose, logic-level ports that can set to input or output depending on your needs. The A & B ports are general purpose, logic-level ports that can set to input or output depending on your needs.
  
Line 105: Line 107:
 - External Output A/B - Turn Off\\  - External Output A/B - Turn Off\\ 
 - External Output A/B - Pulse\\  - External Output A/B - Pulse\\ 
 +- External Output A/B - Blink\\
  
 You can then assign a trigger to these functions and in so doing control the output of these ports. The first three functions are self-explanatory, the fourth function, "Pulse," will briefly set the output pin to the state opposite its default. For example, if you had set Port A to Output with Default High, the pin will be kept high (+5 volts) normally and the Pulse command would cause it to briefly be held Low (to Ground). This feature can be used to emulate a button press to some external device. You can then assign a trigger to these functions and in so doing control the output of these ports. The first three functions are self-explanatory, the fourth function, "Pulse," will briefly set the output pin to the state opposite its default. For example, if you had set Port A to Output with Default High, the pin will be kept high (+5 volts) normally and the Pulse command would cause it to briefly be held Low (to Ground). This feature can be used to emulate a button press to some external device.
  
-What you do with these outputs is up to you, but remember these are logic-level outputs! That means they can //not source// enough current to actually power something, not even an LED! Instead consider the outputs like signals, and the signals can tell some other more powerful circuit to do something, or they could be used as direct inputs into another microcontroller (such as another Arduino).+The fifth function will cause the output to blink and blinking will continue until you call the "Turn On" or "Turn Off" function. The blink rate can be set by using the "Blink - On Time" and "Off Time" values (the blink rate is shared by both outputs). 
  
-If you want to use these outputs to turn on a lamp, or a relay, or some other object that draws current, you will need to use a driver circuit. You can find a schematic for a MOSFET driver adapter on the [[wiki:tcb:tcbinstall:io_ports_ab|I/O Ports]] page. Alternatively you may want to use the Aux Output (see above) which //is// capable of driving a load directly.+What you do with these outputs is up to you, but remember these are logic-level outputs! That means they can not source enough current to actually power something, not even most LEDs! Instead consider the outputs like signals, and the signals can tell some other more powerful circuit to do something, or they could be used as direct inputs into another microcontroller (such as another Arduino). (If you know what you are doing, and you are certain your LEDs do not draw more than 20mA, you can connect them directly to the port). 
 + 
 +If you want to use these outputs to turn on a lamp, or a relay, or some other object that draws more than 20mA of current, you will need to use a driver circuit. You can find a schematic for a MOSFET driver adapter on the [[wiki:tcb:tcbinstall:io_ports_ab|I/O Ports]] page. Alternatively you may want to use the Aux Output (see above) which //is// capable of driving a load directly.
  
  
wiki/opconfig/tabs/lightsio.txt · Last modified: 2023/06/04 16:39 by opadmin