PISO shift register

isaacmalca 1,925 views 14 slides Dec 02, 2011
Slide 1
Slide 1 of 14
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14

About This Presentation

No description available for this slideshow.


Slide Content

PISO
Heather Wylie
Isaac Malca

P
I
S
O
n
arallel
hift
out
What is it?

What is it?
•A chip
•A shift register
•Allows for extension of Arduino pins
•Can only be used for OUTPUTS

How does it work?
•Can be used to control 8 outputs a time using a few pins on Arduino board
•Various chips can be linked, allowing for even more outputs to be controlled
•It is a tristate chip:
•High (on)
•Low (off)
•High Impedance

How does it work? Pin Configuration
source: Arduino.cc

How does it work? Well, basically...
595 Logic Table595 Timing Diagram
source: Arduino.ccsource: Arduino.cc

How does it work? Well, basically...
When the clockPin goes from low to high, the
shift register reads the state of the dataPin. As
the data gets shifted in it is saved in an internal
memory register. When the latchPin goes
from low to high the sent data gets moved from
the shift registers aforementioned memory register
into the output pins, lighting the LEDs.

How does it work? Simple Example
The Essentials:
- blue wire: dataPin
- green wire: latchPin
- yellow wire: clockPin
source: Arduino.cc

How does it work? Getting Fancy
Going to second chip:
- blue wire: dataPin extension
- green wire: latchPin extension
- yellow wire: clockPin extension
source: Arduino.cc

How does it work? Getting Fancy
The "serial output" part of this component comes from its extra
pin which can pass the serial information received from the
microcontroller out again unchanged. This means you can
transmit 16 bits in a row (2 bytes) and the first 8 will flow
through the first register into the second register and be
expressed there.

Our stab at it

AIM: Create a temperature visualize
HOW?
•Measure current temperature using a thermistor
•Divide full temperature range into into three brackets
•Each bracket = one PISO
•Attach LEDs to each chip
•As more of the brackets are covered, more LEDs light up
•LEDs change color as new brackets are reached

Our stab at it - Control

Our stab at it - Less control, but NICE.

Questions?