Computer Spinning System in NI LabVIEW

Preview:

Citation preview

Computer Spinorama 5000 Jeremy Saslaw and Jordan Bostick

Overview

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

Equipment

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

processing chip

Equipment

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

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

Setup / How it Works

Labview (Front Panel)

Labview •  Initialize variables •  Quick reading calibrates accelerometers

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

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

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

running the plate into a wall (mechanical stop)

Labview •  Now moves the motor to the angle previously calculated

Conclusions

●  Accelerometers’ movements send voltage signals to DAQ Board

●  LABView calculates average position of people

●  Step motor turns computer on plate

→ SUCCESS

Recommended