Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:tcb:tcbinstall:io_ports_ab [2017/07/24 02:31] opadmin [Using an I/O Port as Output] |
wiki:tcb:tcbinstall:io_ports_ab [2021/03/19 19:28] opadmin [Using an I/O Port as Output] |
||
---|---|---|---|
Line 31: | Line 31: | ||
===== Using an I/O Port as Output ===== | ===== Using an I/O Port as Output ===== | ||
- | When an I/O port is set to output, four functions appear in the [[wiki: | + | When an I/O port is set to output, four functions appear in the [[wiki: |
If you wish to connect the output to another microcontroller (such as another Arduino) you can do so directly - just connect the signal pin of the I/O port to the input pin of your other controller, and also make sure both the TCB and the other controller share a ground connection. | If you wish to connect the output to another microcontroller (such as another Arduino) you can do so directly - just connect the signal pin of the I/O port to the input pin of your other controller, and also make sure both the TCB and the other controller share a ground connection. | ||
Line 40: | Line 40: | ||
==== Relay Modules ==== | ==== Relay Modules ==== | ||
- | Five volt relay modules with a logic-level trigger abound on eBay and are very inexpensive. Most do not use the same pinout as the TCB. Two that do are the [[http:// | + | Five volt relay modules with a logic-level trigger abound on eBay and are very inexpensive. Most do not use the same pinout as the TCB. Two that do are the **Keyestudio |
With a relay module you can switch on or off a high-current device or a device that uses a different voltage source from the TCB entirely. | With a relay module you can switch on or off a high-current device or a device that uses a different voltage source from the TCB entirely. | ||
{{ wiki: | {{ wiki: | ||
- | < | + | < |
\\ | \\ | ||
{{ wiki: | {{ wiki: | ||
- | < | + | < |
\\ | \\ | ||