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:tcbinstall:io_ports_ab [2017/07/24 02:30]
opadmin [Using an I/O Port as Output]
wiki:tcb:tcbinstall:io_ports_ab [2018/02/16 01:53]
opadmin [Relay Modules]
Line 37: Line 37:
 However keep in mind these outputs are only rated at 20mA each. That means they will almost surely be inadequate for driving lights, relays or other devices. For that you will need to add an external transistor or MOSFET circuit. A simple 2n2222 transistor circuit will work and there are many schematics on the internet. Or see the [[wiki:tcb:tcbinstall:accessories#mosfet_switch|Accessories]] page for a robust MOSFET switch schematic that you can build.  However keep in mind these outputs are only rated at 20mA each. That means they will almost surely be inadequate for driving lights, relays or other devices. For that you will need to add an external transistor or MOSFET circuit. A simple 2n2222 transistor circuit will work and there are many schematics on the internet. Or see the [[wiki:tcb:tcbinstall:accessories#mosfet_switch|Accessories]] page for a robust MOSFET switch schematic that you can build. 
  
-There are also various logic-level modules available on eBay that can interface directly with the TCB using a male-to-male servo cable. But be careful when choosing them, because many use a different pinout than the TCB! They can still be used, but you will need to swap the pins on your servo cable. The order on the TCB is Ground/Positive +5v/Signal. Here are some that are known to work directly+There are also various logic-level modules available on eBay that can interface directly with the TCB using a male-to-male servo cable. But be careful when choosing them, because many use a different pinout than the TCB! They can still be used, but you will need to swap the pins on your servo cable. The order on the TCB is Ground/Positive +5v/Signal. Here are some that are known to work directly:
  
 ==== 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://stores.ebay.com/keyestudio/|Keyestudio]] **Single Relay Module** and the [[http://stores.ebay.com/chivazhu/|Chivazhu]] **5V One Channel Relay Module**. The Chivazhu is much smaller but Keyestudio has quite a few other interesting modules that will work with the TCB. +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 Single Relay Module** and the **Chivazhu 5V One Channel Relay Module**. The Chivazhu is much smaller but Keyestudio has quite a few other interesting devices that will work with the TCB if you browse their listings
  
 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:ebay_relay.jpg?direct&400 |Chivazhu Logic-Level Relay}} {{ wiki:ebay_relay.jpg?direct&400 |Chivazhu Logic-Level Relay}}
-<html><center></html>//[[http://stores.ebay.com/chivazhu/|Chivazhu]] 5V One Channel Relay Module//<html></center></html>+<html><center></html>//Chivazhu 5V One Channel Relay Module//<html></center></html>
 \\ \\
  
 {{ wiki:keyestudio_relay.jpg?direct&400 |Keyestudio Logic-Level Relay}} {{ wiki:keyestudio_relay.jpg?direct&400 |Keyestudio Logic-Level Relay}}
-<html><center></html>//[[http://stores.ebay.com/keyestudio/|Keyestudio]] Single Relay Module//<html></center></html>+<html><center></html>//Keyestudio Single Relay Module//<html></center></html>
 \\ \\
  
wiki/tcb/tcbinstall/io_ports_ab.txt ยท Last modified: 2021/03/22 23:42 by opadmin