computer spinning system in ni labview

13
Computer Spinorama 5000 Jeremy Saslaw and Jordan Bostick

Upload: jeremy-saslaw

Post on 21-Mar-2017

139 views

Category:

Engineering


3 download

TRANSCRIPT

Page 1: Computer Spinning System in NI LabVIEW

Computer Spinorama 5000 Jeremy Saslaw and Jordan Bostick

Page 2: Computer Spinning System in NI LabVIEW

Overview

●  Design a Computer Spinning System o  Identify locations of people in the room o  Spin plate to optimal viewing position

Page 3: Computer Spinning System in NI LabVIEW

Equipment

●  5 Accelerometers ●  5 Squishy Chairs ●  1 A/D Board ●  1 Power Supply ●  1 step motor with

processing chip

Page 4: Computer Spinning System in NI LabVIEW

Equipment

●  1 Base ●  1 Spinning Plate ●  1 Computer ●  ≈50 Wires ●  Tape

Page 5: Computer Spinning System in NI LabVIEW

Setup / How it Works

1.  Accelerometers on chairs sense movement 2.  Send voltage signal to DAQ 3.  If voltage is high enough, tells LabVIEW

someone is in the chair 4.  LabVIEW calculates average angle 5.  Sends angle to motor 6.  Motor spins plate/computer to desired angle

Page 6: Computer Spinning System in NI LabVIEW

Setup / How it Works

Page 7: Computer Spinning System in NI LabVIEW

Labview (Front Panel)

Page 8: Computer Spinning System in NI LabVIEW

Labview •  Initialize variables •  Quick reading calibrates accelerometers

Page 9: Computer Spinning System in NI LabVIEW

Labview •  Displays voltage readings live •  Calculates max absolute value of data for each accelerometer while running •  Turning off “Reading Data” button stops the while loop

Page 10: Computer Spinning System in NI LabVIEW

Labview •  If max values exceed thresholds, indicator indicates person sitting •  Average angle of all engaged indicators is calculated •  A number of iterations for motor to spin is calculated

Page 11: Computer Spinning System in NI LabVIEW

Labview •  Step Motor VI •  Zeros the plate position by turning it backwards 180 degrees every time,

running the plate into a wall (mechanical stop)

Page 12: Computer Spinning System in NI LabVIEW

Labview •  Now moves the motor to the angle previously calculated

Page 13: Computer Spinning System in NI LabVIEW

Conclusions

●  Accelerometers’ movements send voltage signals to DAQ Board

●  LABView calculates average position of people

●  Step motor turns computer on plate

→ SUCCESS