electrical candle
DESCRIPTION
Electrical candle. ECE 411 Practicum Project Dung Vo Duc Phan Rami Alshafi Talal Alshammari. Outline. Introduction Needs Motivation Project objective Alternatives Requirements Approach Design Schematic & layout Hardware Programming Testing Results Lesson learned. Introduction. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Electrical candle](https://reader033.vdocument.in/reader033/viewer/2022051019/56814f4c550346895dbcf0c7/html5/thumbnails/1.jpg)
Electrical candleECE 411 Practicum Project
Dung VoDuc Phan
Rami AlshafiTalal Alshammari
![Page 2: Electrical candle](https://reader033.vdocument.in/reader033/viewer/2022051019/56814f4c550346895dbcf0c7/html5/thumbnails/2.jpg)
OutlineIntroduction
Needs
Motivation
Project objective
Alternatives
Requirements
Approach
DesignSchematic & layoutHardwareProgramming
Testing
Results
Lesson learned
![Page 3: Electrical candle](https://reader033.vdocument.in/reader033/viewer/2022051019/56814f4c550346895dbcf0c7/html5/thumbnails/3.jpg)
Introduction
Tester, Editor EditorMechanical designer
ProgrammerLayout Designer
ProgrammerCircuit Designer
• Decision making• Design specification• Design modeling
• Test plan
![Page 4: Electrical candle](https://reader033.vdocument.in/reader033/viewer/2022051019/56814f4c550346895dbcf0c7/html5/thumbnails/4.jpg)
ProblemThis is the term project for 411 class to
practice for capstone project (PCB layout, solder…)
Electrical candle
![Page 5: Electrical candle](https://reader033.vdocument.in/reader033/viewer/2022051019/56814f4c550346895dbcf0c7/html5/thumbnails/5.jpg)
Motivation• To design a “toy”.• Team work.• Programming. • Fun to do
![Page 6: Electrical candle](https://reader033.vdocument.in/reader033/viewer/2022051019/56814f4c550346895dbcf0c7/html5/thumbnails/6.jpg)
Objective• Skill practice (PCB layout, soldering…)• Apply knowledge• Complete the requirements.• The design of the electrical candle and it’s
prototype.
![Page 7: Electrical candle](https://reader033.vdocument.in/reader033/viewer/2022051019/56814f4c550346895dbcf0c7/html5/thumbnails/7.jpg)
Alternatives Alternative features
Airflow sensor vs. acceleration sensor
Powering up the device (solar panels vs. batteries)
Color change dependence (music vs. remote control and acceleration )
Alternative productsA light that changes
colors continuously regardless of motion or any other inputs. Like the Halloween light toy candy.
Light changes due to sound or music
A light that changes with motion like the Play Station 3 wireless controller.
![Page 8: Electrical candle](https://reader033.vdocument.in/reader033/viewer/2022051019/56814f4c550346895dbcf0c7/html5/thumbnails/8.jpg)
RequirementsFunctionality and performance: The final device should operate in normal
environment: ( 25 ° C dry room)Mode 1: Light colors and intensity is
depending on accelerationMode 2: light colors and intensity respond to
a remote controlPowering the toy: batteries and wall adaptor
![Page 9: Electrical candle](https://reader033.vdocument.in/reader033/viewer/2022051019/56814f4c550346895dbcf0c7/html5/thumbnails/9.jpg)
ApproachR3T3SD: Research X 3, Think X 3, Specifications, Design
Fast is slowWorkload Building from
scratch vs. purchase
Design for extensibility (3 axis accelerometers vs. 2 axis)
Design for test (test points)
Design for environment (lead free)
![Page 10: Electrical candle](https://reader033.vdocument.in/reader033/viewer/2022051019/56814f4c550346895dbcf0c7/html5/thumbnails/10.jpg)
Design
![Page 11: Electrical candle](https://reader033.vdocument.in/reader033/viewer/2022051019/56814f4c550346895dbcf0c7/html5/thumbnails/11.jpg)
Schematic
![Page 12: Electrical candle](https://reader033.vdocument.in/reader033/viewer/2022051019/56814f4c550346895dbcf0c7/html5/thumbnails/12.jpg)
Layout• Board dimension: 2.7 x 2.7 inch (7 x 7 cm)• Fit with the battery holder• Spare space on the board is filled with headers (Port B, C, D) with intention of later extensibility• Thru hold components
![Page 13: Electrical candle](https://reader033.vdocument.in/reader033/viewer/2022051019/56814f4c550346895dbcf0c7/html5/thumbnails/13.jpg)
Layout - 3D view
Image created with Eagle 3D and POV-Ray
![Page 14: Electrical candle](https://reader033.vdocument.in/reader033/viewer/2022051019/56814f4c550346895dbcf0c7/html5/thumbnails/14.jpg)
HardwareMicrocontroller: ATmega 328PAccelerometer: Fairchild MMA7260Q IR receiver: TSOP34338 – 38 KHz IR receiverRGB LEDs
ATmega328(Sparkfun)
Accelerometer breakout(Sparkfun)
IR receiver (Digikey)
RGB LED (Digikey)
![Page 15: Electrical candle](https://reader033.vdocument.in/reader033/viewer/2022051019/56814f4c550346895dbcf0c7/html5/thumbnails/15.jpg)
ProgrammingAVR studio 4 is used for programming
Language:C
What need to be programmed?ADC for accelerometerDecode IR signalPWM for RGB LEDs
Source code and explanation are available on Wiki
http://ece411.wikispaces.com/Sourcecode
![Page 16: Electrical candle](https://reader033.vdocument.in/reader033/viewer/2022051019/56814f4c550346895dbcf0c7/html5/thumbnails/16.jpg)
Test Strategy Unit tests
Microprocessor AccelerometerIR receiver and remote control
Functional test In Motion mode In Remote control mode
Power supply testOperation with batteriesOperation with wall adapter
![Page 17: Electrical candle](https://reader033.vdocument.in/reader033/viewer/2022051019/56814f4c550346895dbcf0c7/html5/thumbnails/17.jpg)
Methodologies Start by testing beard board
Finish by testing PCB
•Unit tests•Functional tests•Power tests
•Functional tests•Power tests
![Page 18: Electrical candle](https://reader033.vdocument.in/reader033/viewer/2022051019/56814f4c550346895dbcf0c7/html5/thumbnails/18.jpg)
Results LEDS color patterns control by:
Motion of the device Remote control
Power supply:Operate with 5V wall adapter supplyOperate with 3 AA battery packs
4 PCBs all works,We have 4 electrical
candles
![Page 19: Electrical candle](https://reader033.vdocument.in/reader033/viewer/2022051019/56814f4c550346895dbcf0c7/html5/thumbnails/19.jpg)
Lesson LearnedMulti-cultural team workProject managementDocumentationsSkill: Eagle CAD, programming, soldering…
What need to improve:Effective meetingTime management
What would we do differently? Design more fancy housingUse surface mount devices Extend functionalities, e.g. sync LEDs color with music
![Page 20: Electrical candle](https://reader033.vdocument.in/reader033/viewer/2022051019/56814f4c550346895dbcf0c7/html5/thumbnails/20.jpg)
Referenceshttp://ece411.wikispaces.comhttp://web.cecs.pdx.edu/~faustm/ece411/
![Page 21: Electrical candle](https://reader033.vdocument.in/reader033/viewer/2022051019/56814f4c550346895dbcf0c7/html5/thumbnails/21.jpg)
Q & A
![Page 22: Electrical candle](https://reader033.vdocument.in/reader033/viewer/2022051019/56814f4c550346895dbcf0c7/html5/thumbnails/22.jpg)
Thank you for attention!