Purpose and Scope This document addresses the requirements related to the designing phase of the project.. We created a plan to finish the project on time which started with the Task Tab
Trang 1HANOI UNIVERSITY OF SCIENCE AND TECHNOLOGY
SCHOOL OF ELECTRONICS AND TELECOMMUNICATIONS
PROJECT REPORT
Name of students:
Name of instructor:
Hanoi, Date
HANOI UNIVERSITY OF SCIENCE AND TECHNOLOGY
Trang 2SCHOOL OF ELECTRONICS AND TELECOMMUNICATIONS
PROJECT REPORT
LED AUDIO VISUALIZER
Name of students: EEE – Class 58 – Team 7
Name of instructor:
Name of referee: ………
Hanoi, Date
Trang 3Table of Contents
List of Figures iii
List of Tables iv
ACKNOWLEDGEMENT v
ABSTRACT vi
1 Introduction 1
1.1 Motivation 1
1.2 Purpose 1
2 Specification Requirements 1
2.1 Executive Summary 1
2.1.1 Project Overview 1
2.1.2 Purpose and Scope 1
2.2 Product Description 1
2.2.1 Product Context 1
2.2.2 Assumptions 2
2.2.3 Constraints 2
2.3 Requirements 2
2.3.1 Functional Requirements 2
2.3.2 Non-functional Requirements 2
3 Planning 3
3.1 Task Table 4
3.2 Human Resource Table 7
3.3 Gantt chart and Network Diagram 10
4 Block Designing 14
4.1 Audio Input and Amplifier 15
Trang 44.2 Filter 17
4.3 Display 19
4.4 Power Source 20
4.5 Schematic Diagram 21
5 Testing 21
5.1 Simulation 21
5.2 Breadboard 22
6 Manufacturing 22
6.1 PCB layout 22
6.2 Final Product 24
CONCLUSION 26
References 27 APPENDIX A - BILL OF MATERIALS A APPENDIX B – TRANSISTOR PN2222A DATASHEET C
Trang 5List of Figures
Figure 2.1 Product's top view 3
Figure 2.2 Product's side view 3
Figure 3.1 Project's Gantt chart 11
Figure 3.2 Project's Network Diagram 12
Figure 4.1 Product's Block Diagram 13
Figure 4.2 Audio Input and Amplifier Block 13
Figure 4.3 3.5mm stereo jack and socket diagram 14
Figure 4.4 High-band Filter 15
Figure 4.5 Mid-band Filter 16
Figure 4.6 Low-band Filter 16
Figure 4.7 Filter Response 17
Figure 4.8 Display Block 17
Figure 4.9 Product's Schematic Diagram 18
Figure 5.1 Breadboard Prototype 19
Figure 5.2 Simulation on Proteus 19
Figure 6.1 PCB Top Layer 20
Figure 6.2 PCB Bottom Layer 21
Figure 6.3 Final Product 22
Trang 6List of Tables
Table 3.1 Task Table 4
Table 3.2 Human Resource Table 7
Table 3.3 Resources Assigning Table 8
Table 4.1 Diodes Comparing Table 14
Table 4.2 NPN-transistor Comparing Table 15
Table 4.3 Power Source Comparing Table 18
Trang 7In the age of the present information explosion, the applicability and the potential development of the advertising information are very big, the application of the new techniques is very necessary in this field
We really appreciate Dr xxx’s help with our project, and he created favorable conditions for our team to complete brilliantly this project
Although we made every effort, our ability is limited Moreover, this project is a new field for our team, so we should not avoid design errors in content and the method of presentation Our team is looking forward to Dr xxx’s guidance and your additional suggestion to improve this project
We would like to say thanks to everybody who helps us on this project!
Trang 8As the demand for decoration increases so does the need for high performance and cheap price electric stuffs with LEDs The goal of this project is to design and build
a LED flashing circuit controlled by audio In this report, the design of the LED circuit to meet the specification is explained The circuit does not involve microcontrollers for simplicity The circuit was built using the Proteus ISIS as a CAD tool The design of the LED flasher was simulated in Proteus to verify its performance Then the circuit was tested on the breadboard In most cases, the objectives of the project were met However, there should be some recommendations for further research and work
Trang 91 Introduction 1.1 Motivation
We choose this project because of some reasons:
- People usually forgot to switch the light off when we don’t use it anymore and cause electricity wasting
- Sometimes, people don’t turn the light on due to lazyness and work under dark enviroment
Therefore we see that it is necessary to make an smart lamp that can turn on/off
automatically to reduce energy wasting and provide sufficient light for the eye
1.2 Purpose
- Understand 9 steps in the designing process
- Know how to use several electrical equipment, and designing software
- Build a well-performed Automatic night light with low price
2 Specification Requirements 2.1 Executive Summary
2.1.1 Project Overview
The LED lamp which can automatically regulate the brightness depending on the light level
2.1.2 Purpose and Scope
This document addresses the requirements related to the designing phase of the project
2.2 Product Description
2.2.1 Product Context
The product is independent and self-contained It is not related to any other products
or larger systems
1
Trang 102.3 Requirements
2.3.1 Functional Requirements
- The product must have two modes:
+ Manual switching
+ Automatic: using photoresistor
- The product must have a tuning in order to adjust the brightness of the LEDs
- The product should be powered by an AC/DC adapter
2.3.2 Non-functional Requirements
2.3.2.1 Performance
2.3.2.2
2.3.2.3 Hardware Platform
- Light emitting diodes (LEDs):
Voltage: 12V
2.3.2.4 Appearance
- Like a normal lamp
- Weight: less than 300g
2.3.2.5 Power Consumption
- Power Supply: DC-12V/2A
- Power Consumption: 20W
2.3.2.6 Development Time
About 9 weeks
2.3.2.7 Development Cost
Less than VND 500,000
2
Trang 113 Planning
The next phase in the project is developing plan We created a plan to finish the project on time which started with the Task Table and the Human Resource Table
3
Trang 123.1 Task Table
Our project consists of 4 tasks In some tasks, there are sub-tasks Each task has its own deliverables The project starts on December 6 , and ends on January 30 th th
Table 3.1 Task Table
Task ID Task Name Duration Start Date End Date Dependencie
#1
Learning the
basic
principle of
each
component
3 weeks December 6 th December 26th
Understanding of how the product is made and have the requirement knowledge to make the product
The
appearance of
the lamp
2 weeks December 6 th December 19th Have an idea of how
the product looks like
Hardware 3 weeks December 6 th December 26th
Know about the electronics component to make the product
4
Software 2 weeks December 6 th December 19th Programs to make the
product works
#2
Drawing the
principle and
block
diagrams
2 weeks December 13th December 26th Block diagram and
principle diagram Principle
diagram 2 weeks December 13
th December 26th Principle diagram Block
diragram 2 weeks December 13
th December 26th
Block diagram
#3 Making the
first model 4 weeks December 27
th January 23rd #1 #2 First model
#3.1 Preparation 1 week December 27th January 2nd
Buying
electronic
devices
1 week December 27th January 2nd Checking the
application in
need
1 week December 27th January 2nd
#3.2 Construct a
prototype 3 weeks January 3
rd January 23rd #3.1
Power supply 3 weeks January 3 rd January 23 rd
5
Trang 13Connect
electronic
devices onto
the circuit
board
3 weeks January 3 rd January 23 rd
Checking
software
together
through
TeamViewer
3 weeks January 3 rd January 23 rd
#3.3 Designing the
slide 3 weeks January 3
rd January 23rd Slides
#4 Testing and
fixing 1 week January 24
th January 30th #3 Final product
2.4 Human Resource Table
Our team has 4 members Each one has different strength and weakness The following table will help us on assigning resources to tasks for maximum productivity
6
Table 3.2 Human Resource Table
#1 Pham Manh Tuan - Leading skill
- Electrical components
- Programming language C/C++
Weekdays
#2 Pham Xuan Viet - Drawing
- Searching skill
- Note-taking skill
- Programing
- Electronics
Weekdays
#3 Nguyen Pham Anh
Tuan
- Presentation skill
- English skills
- Programing
- Circuit design
Weekdays
#4 Nguyen Duc Vinh - Microsoft
Powerpoint
- Enthusiasm
- Presentation skill
Weekdays
Then the team members are assigned to the tasks
Table 3.3 Resources Assigning Table
#1 Learning the basic principle of each component All members
7
Trang 14The appearance of the lamp Nguyen Duc Vinh
Hardware Pham Manh Tuan, Nguyen Pham Anh Tuan
#2 Drawing the principle and block diagram All members
#3 Making the first model All members
Buying the Electronic devices Pham Manh Tuan, Nguyen Pham Anh Tuan Checking the application in need Pham Xuan Viet, Nguyen Duc Vinh
#3.2 Construct a prototype All members
Power supply Pham Manh Tuan, Nguyen Pham Anh Tuan Connecting the electronic devices onto the circuit
board
Pham Manh Tuan, Nguyen Pham Anh Tuan Checking the software together through
TeamViewer
Pham Xuan Viet
#3.3 Designing the slide Nguyen Duc Vinh
8
2.5 Gantt chart and Network Diagram
We have scheduled and managing our project around this gantt chart
9
Trang 1510
Trang 164 Block Designing
The next phase of our project is designing the product We made a block diagram of the product
11
Figure 4.2 Product's Block Diagram
Trang 17After having the block design, we make the detailed design of each block.[2]
4.2 Principle Diagram
12
Trang 184.1 Display
In this part, a light bulb will be the main component which is then powered by
adapter and controlled by Arduino There are various options to choose so after
doing calculations, we have come to the conclusion of using 12V LED bulb
LED Bulb
Criteria (weight)
Muy (µ) Price
(0.3)
Reliability (0.3)
Brightness (0.2)
Lifespan (0.2)
12V led bulb 0,8 (0,8) 4,7(0,94) 630(0,63) 35000(0,71) 0,574
120V led bulb 3,75 (0,375) 4,5(0,96) 400(1) 30000(0,83) 0,75
120V Sengled
13
Trang 194.2 Sensor
For this part, we use a regular Light-dependent resistor as a component to detect the intensity of light from environment The first pin of the resistor is connected to pin A0 of arduino and it is also joined by 5V power wire in serial with 1k ohm resistor The left pin is connected to the GND pin of Arduino and relay
14
Trang 204.3 Power source
The 12v adapter power the light bulb have been selected based on the light bulb speculation and some calculations as well
Power Source
Criteria (weight)
Muy (µ) Voltage
(0.4)
Reliability (0.3)
Price (0.3)
12V cell 12(0,25) 4.6(0,91) 22(1) 0.673
48V Adapter 48(1) 4.2(1) 17(0,78) 0.934
12V Adapter 12(0,25) 4.3(0,98) 6.95(0,32) 0.49
To power the sensor and Arduino, we use 5V passed through cable connected to laptops or other similar external source
\
15