Peripherals and their Control An overview of industrially

  • Slides: 28
Download presentation
Peripherals and their Control An overview of industrially available “peripheral devices” Some ideas for

Peripherals and their Control An overview of industrially available “peripheral devices” Some ideas for Laboratories and Quiz / Exam questions

To be tackled today • Analog Output Devices – These could be handled via

To be tackled today • Analog Output Devices – These could be handled via A/D as we did with an audio signal in Lab. 1. Depends on amplitude and frequency of the signals generated by the devices. • SPI devices – Tackled in Lab. 4 – LCD screen using a serial parallel converter – MC 33993 Multiple -- Switch Detection Interface – ADIS 16003 accelerometer and temperature sensor • Digital Output – modulated pulse width – – Handle with PF interface as with switches TSL 230 R – Light sensor – Lab. 2 ADI - TMP 03 thermometer – Lab. 3 ADXL 213 Dual Axis Accelerometer – Done in lecture • Those interested – might be able to work out special Lab. 3 substitute – Four times the fun – eight times the work?

MMA 6260 Q Dual Axis Accelerometer – Analog Output Left Channel ? Right Channel?

MMA 6260 Q Dual Axis Accelerometer – Analog Output Left Channel ? Right Channel? Could we modify the “Talk-through program from Lab. 1 to work with this accelerometer? • Concern 1 – voltage levels – can’t blow Blackfin A/D • Concern 2 – is the 48 k. Hz bandwidth of the audio A/D enough Probable solution – use a non-audio, more general A/D connected via SPI interface

MMA 6260 Q

MMA 6260 Q

MMA 6260 Q Dual Axis Accelerometer Used as “tilt” sensor – static mode

MMA 6260 Q Dual Axis Accelerometer Used as “tilt” sensor – static mode

MXPM 2010 – Pressure sensor Differential pair output How connect to A/D? Convert to

MXPM 2010 – Pressure sensor Differential pair output How connect to A/D? Convert to single sided signal via op-amp and then connect?

33794 – Electric Field Sensor -- Uses ISO-9141 dual-wire protocol

33794 – Electric Field Sensor -- Uses ISO-9141 dual-wire protocol

ISO-9141 • Road vehicles – diagnostic systems • Requirements for exchange of digital information

ISO-9141 • Road vehicles – diagnostic systems • Requirements for exchange of digital information • Can be converted to RS-232 via a chip

Possible application PAD 1 Detect If Your Drink Has Been moved PAD 2

Possible application PAD 1 Detect If Your Drink Has Been moved PAD 2

SPI interface chips -- Used during Lab. 4. • Ability to send data over

SPI interface chips -- Used during Lab. 4. • Ability to send data over 1 line – Master Out Slave In – MOSI • Ability to receive data over 1 line – Master In Slave Out – MISO • Control many devices using a chip-select (CS) line – Can use PF 1, PF 2 …………… PF 7 – PF 0 line can be used to switch Blackfin into a slave mode

Master / Slave concept Slave Select (Chip Select) • Master sends out active low

Master / Slave concept Slave Select (Chip Select) • Master sends out active low chip select signal SS 1, PF 5 then slave 1 responds • Master sends out active low chip select signal SS 3, then slave 3 responds PF 6

Lab. 4 SPI interface project SPI signals from Blackfin 1 line (MOSI) + Clock

Lab. 4 SPI interface project SPI signals from Blackfin 1 line (MOSI) + Clock + PF 5 (SSI) 16 output lines used to control LCD screen

Multiple Switch Detection Interface MC 33993 – Part of security system laboratory Blackfin MOSI

Multiple Switch Detection Interface MC 33993 – Part of security system laboratory Blackfin MOSI CLK PF 5 MISO PF 9 PF 10?

MC 33993

MC 33993

MC 33993 – Timing info Bits value = switch On/off – stream of 20

MC 33993 – Timing info Bits value = switch On/off – stream of 20 bits SG 13 ON/OFF, SG 12 ON/OFF, SG 11 ON/OFF ----- SO 0 ON/OFF ………….

ADIS 16003 – Uses SPI interface Dual axis accelerometer AND Thermometer CLK PF 5

ADIS 16003 – Uses SPI interface Dual axis accelerometer AND Thermometer CLK PF 5 MISO PF 6

ADIS 16003 – Uses SPI interface Dual axis accelerometer AND Thermometer

ADIS 16003 – Uses SPI interface Dual axis accelerometer AND Thermometer

ADIS 16100 – Gryosensor

ADIS 16100 – Gryosensor

Serial Digital Output • Analog values – say temperatures from minus 40 C to

Serial Digital Output • Analog values – say temperatures from minus 40 C to plus 100 measured • Value converted into “pulse length information” – digital signal • Transmitted over a single wire

ADI – TMP 03 Serial Digital Output Thermometer Will use the same ideas in

ADI – TMP 03 Serial Digital Output Thermometer Will use the same ideas in Lab. 2 to measure the TSL 230 R Light Sensor GROUND WIRE +5 V PF 8 connection on Blackfin Interface

Block diagram for the TMP 03

Block diagram for the TMP 03

TMP 03 Output characteristics

TMP 03 Output characteristics

More information on the sigma-delta modulator used to generate TMP 03 output

More information on the sigma-delta modulator used to generate TMP 03 output

ADXL 213 Dual Axis Accelerometer PF 9 PF 8

ADXL 213 Dual Axis Accelerometer PF 9 PF 8

ADXL 213 Dual Axis Accelerometer PF 9 PF 8

ADXL 213 Dual Axis Accelerometer PF 9 PF 8

ADXL 213 Dual Axis Accelerometer

ADXL 213 Dual Axis Accelerometer

ADXL 213 Dual Axis Accelerometer Output when used as “tilt sensor” X 50% Y

ADXL 213 Dual Axis Accelerometer Output when used as “tilt sensor” X 50% Y 20% X 50% Y 80% X 50% Y 50%

Reference Information • Pictures are taken from various data sheets available from the Analog

Reference Information • Pictures are taken from various data sheets available from the Analog Devices and Freescale (Motorola) web sites • Proposed use of devices are for concept purposes only and no guarantee is made regarding suitable of circuits suggested • Application notes are also available on the website