Logic

From ElectroDragon
Jump to: navigation, search

Logic Shifter

Selection Guide

Type Channel Package Type
CD4050 6 - Single directional
TXS0102 2 SSOP8 Bi-directional
TXS0104 4 TSSOP14 Bi-directional
TXS0108 8 TSSOP20 Bi-directional
PCA9306 3 TSSOP8
BSS138 1 SOT23 Bi-directional
MAX3010  ?  ?
74LVC8T245, 74HC245 8  ? Single directional
74VHCT125PW, 74HCT125, 74HC125D 4  ? Single directional


Use Logic Level Shifter

Schematic

Simple method Logic shifter - Resistor ladder

Resistor ladder logic shifter.png
  • From 5V arduino SPI to 3.3V SD card SPI.
  • 2.4K serial connect to SD, and 4.7K pull to ground.
  • Not necessary for DO out from 3.3V SPI SD card.

Logic Gates

INPUT OUTPUT
A B A NAND B
0 0 1
0 1 1
1 0 1
1 1 0
  • NC7SZ00 - NAND

Hex Invert

Documents