jeff shelton 23 march 2015 1 - purdue university
TRANSCRIPT
Jeff Shelton – 23 March 2015 4
Pull-up Resistor
Vcc
Vout + – Button
R1
1. R1 determines how much current flows through the button when it is pressed closed. (Don't want too low, as power loss is i2R; start at around 10 kΩ.)
2. R1 determines, in conjunction with input impedance of op-amp, how much current flows into op-amp when circuit is open. (Don't want too high; normally choose order of magnitude less than input impedance of next stage.)
Jeff Shelton – 23 March 2015 5
Two-state output
Tri-state output
Open circuit allows next stage to sink a small amount of current (< 2 mA for TTL) to ground through resistor; results in low voltage (< 0.8 V) at output.
In third state, no current flows through resistor; output neither high nor low. No influence on other circuitry.
Pull-down Resistor
Jeff Shelton – 23 March 2015
Master Clock
OE (reg. A)
LOAD (reg. B)
Data (bus)
11
Dat
a B
us
Module II
Register A Module I
Register B
Jeff Shelton – 23 March 2015
Dat
a B
us
Output Register Output Enable
Latch Input
Input Register Output Enable
Latch Input
Processor Output Enable
Latch Input
General Register
Output Enable
Latch Input
I/O Register
Output Enable
Latch Input
Memory Output Enable
Latch Input
14
Jeff Shelton – 23 March 2015
G
W
B R
Outer Shield > 65% Interwoven
Tinned Copper Braid
Polyvinyl Chloride (PVC) Jacket
Inner Shield Aluminum
Metallized Polyester 28 AWG Tinned Copper Drain Wire
Non Twisted Power Pair: Red: V BUS
Black: GND
Twisted Signal Pair:
White: Data -
Green: Data +
25 Additional lines present in USB 3!
Jeff Shelton – 23 March 2015 27
Vcc I2C supply voltage, typically ranging from 1.2 V to 5.5 V
GND Common ground
SDA Serial data (I2C data line)
SCL Serial clock (I2C clock line)
Rp Pull-up resistance (a.k.a. I2C termination)
Rs Serial resistance
Cp Wire capacitance
Cc Cross channel capacitance
Image: http://www.i2c-bus.org/typical-i2c-bus-setup/
Jeff Shelton – 23 March 2015 29
SPI Master
SCLK MOSI MISO
SS1 SS2 SS3
SPI Slave
SCLK MOSI MISO SS
SPI Slave
SCLK MOSI MISO SS
SPI Slave
SCLK MOSI MISO SS
Jeff Shelton – 23 March 2015
Image: http://www.makershed.com/Bluetooth_Low_Energy_BLE_Shield_for_Arduino_2_0_p/mkrbl1.htm
37
JY-MCU Bluetooth Module