gesture controlled led cube

Post on 16-May-2015

394 Views

Category:

Education

5 Downloads

Preview:

Click to see full reader

DESCRIPTION

ECE561 end of semester project

TRANSCRIPT

Gesture Controlled LED CubeBy: Mike J Garcia

ECE 561

End of Semester Project

Project Overview

2-part project 4x4x4 LED cube IR proxy sensor

Arduino Leonardo

The Cube - Construction

Parts: 64 x LEDs – green 1 – Arduino Leonardo Resistors Solder

The Cube - Layers

The Cube - Stacking

The Cube - Completed

The Cube – Controls I

The Cube – Controls II

The Cube

IR Proximity Sensor

Parts:

Arduino Controller

4 - IR LEDs

1 - IR LED Receiver

Resistors

Thanks to: Ricardo Uvina

http://www.instructables.com/id/Simple-IR-proximity-sensor-with-Arduino/

IR Proximity Sensor

IR Proximity Sensor

+5V

GNDDigital OUT

Analog IN

ARDUINO LEONARDO

IR Proximity Sensor

The Code – Proxy Sensor

Perform this 10 times and get average

Read from Input pin to test for ambient IR

Turn on IR LEDs

Test IR levels

Turn off LEDs

Test ambient IR levels

Display average IR readings on screen

The Code – Cube

If distance is between 0 to 5cm,

Execute animation A

Else if distance is between 5cm to 10cm

Execute animation B

Else if……

Else if…….

Else

Turn off all LEDs

Final Product – Demo 1

http://www.youtube.com/watch?v=LADpkeqRgic

See the cube in action!

LEDs look dim on my camera

Final Product – Cube Overview

http://www.youtube.com/watch?v=CAAVzIehBr8

Best view of cube

View of Arduino

View of IR proxy sensor

top related