-
Notifications
You must be signed in to change notification settings - Fork 0
/
Lab 2 (6 February).tex
223 lines (177 loc) · 9.75 KB
/
Lab 2 (6 February).tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
\documentclass[journal]{IEEEtran}
% *** CITATION PACKAGES ***
%
%\usepackage{cite}
\usepackage{capt-of}%%To get the caption
\usepackage{gensymb}
\usepackage{graphicx} %package to manage images
\graphicspath{ {./images/} }
\usepackage{wrapfig}
\usepackage[style=ieee]{biblatex}
\DeclareLanguageMapping{english}{english-apa}
\addbibresource{references.bib}
\usepackage[justification=centering]{caption}
\usepackage{setspace}
% *** GRAPHICS RELATED PACKAGES ***
%
\ifCLASSINFOpdf
% \usepackage[pdftex]{graphicx}
% declare the path(s) where your graphic files are
% \graphicspath{{../pdf/}{../jpeg/}}
% and their extensions so you won't have to specify these with
% every instance of \includegraphics
% \DeclareGraphicsExtensions{.pdf,.jpeg,.png}
\else
% or other class option (dvipsone, dvipdf, if not using dvips). graphicx
% will default to the driver specified in the system graphics.cfg if no
% driver is specified.
% \usepackage[dvips]{graphicx}
% declare the path(s) where your graphic files are
% \graphicspath{{../eps/}}
% and their extensions so you won't have to specify these with
% every instance of \includegraphics
% \DeclareGraphicsExtensions{.eps}
\fi
% graphicx was written by David Carlisle and Sebastian Rahtz. It is
% required if you want graphics, photos, etc. graphicx.sty is already
% installed on most LaTeX systems. The latest version and documentation
% can be obtained at:
% http://www.ctan.org/pkg/graphicx
% Another good source of documentation is "Using Imported Graphics in
% LaTeX2e" by Keith Reckdahl which can be found at:
% http://www.ctan.org/pkg/epslatex
%
% latex, and pdflatex in dvi mode, support graphics in encapsulated
% postscript (.eps) format. pdflatex in pdf mode supports graphics
% in .pdf, .jpeg, .png and .mps (metapost) formats. Users should ensure
% that all non-photo figures use a vector format (.eps, .pdf, .mps) and
% not a bitmapped formats (.jpeg, .png). The IEEE frowns on bitmapped formats
% which can result in "jaggedy"/blurry rendering of lines and letters as
% well as large increases in file sizes.
%
% You can find documentation about the pdfTeX application at:
% http://www.tug.org/applications/pdftex
\begin{document}
\begin{titlepage}
{\centering
\vspace*{20em}
{
\huge
\begin{spacing}{1.5}
Building a Modular, \\Switch-Controlled
LED Circuit
\\
\\
\bigskip
\large
Circuits Fundamentals Lab, (ENGR-UH 2019-LAB)
\end{spacing}
}
}
\vfill
{
\large
\begin{spacing}{1.5}
\noindent Barkin Simsek, {\it {[email protected]}}
\\
Nishant Aswani, {\it {[email protected]}}
\\
Table Number: \#TBA% <-this % stops a space
\end{spacing}
}
\end{titlepage}
\pagenumbering{gobble}
\clearpage\mbox{}
\clearpage
\pagenumbering{arabic}
\setcounter{page}{1}
%\title{Demonstration of a Voltage Divider With A Variable Resistor}
%\author{Barkin Simsek,~\IEEEmembership{[email protected]};
%Nishant Aswani,~\IEEEmembership{[email protected]}
%\\ Table Number: \#}% <-this % stops a space
% The paper headers
\markboth{Simsek, Aswani, Circuits Fundamentals Lab 2019}%
{}
% make the title area
%\maketitle
% As a general rule, do not put math, special symbols or citations
% in the abstract or keywords.
\begin{abstract}
In this experiment a switch controlled LED circuit was built using a $330 \ohm$ resistor, as a visual indicator for the on/off status for a radio receiver to be implemented later. Calculations were carried out to confirm that the resistor value used was appropriate. A simulation was also run for further confirmation. Finally, the circuit was assembled by soldering components onto a prototype board and testing by applying a 9V source.
\end{abstract}
\section{Introduction}
\IEEEPARstart{T}\lowercase{he} purpose of this exercise was to create a switch-controlled circuit capable of powering an LED and a arbitrary system that will be implemented in the future (see Figure \ref{fig:first}). Light-emitting diodes (LEDs) are a semiconductor device that carry current in a certain direction, and as a result produce visible light \cite[]{hayt1986engineering}. Often, LEDs are rated to operate in a amperage range. Hence, a protective resistor is often placed before the LED to regulate the current passing through the LED. A slide switch, used for this circuit, is a device with two terminals connected by a slide-able conductive piece in the middle. As a binary device, the middle piece only connects to one of the two terminals at a given time.
\begingroup
\medskip
\centering
%width=\columnwidth
\includegraphics[width=\columnwidth]{images/lab2_1.png}
\captionof{figure}{A schematic for a modular, \\ switch-controlled led circuit}
\label{fig:first}
\medskip
\endgroup
\noindent As shown in the schematic above (Figure \ref{fig:first}), the resistor and LED were connected in parallel with the system to avoid a voltage drop as the LED was lit up. The switch was also deliberately placed in series with the battery before the LED and system to control the flow of electricity to both devices. Thus, the LED was used as a power on/off indicator for the main system. Finally, all devices were connected to the common ground.\\
\noindent Ohm's law (Equation \ref{eq:ohmslaw1}) can be manipulated to calculate the current passing through the devices in the circuit (see Equation \ref{eq:ohmslaw2}).
\begin{equation}
V = IR
\label{eq:ohmslaw1}
\end{equation}
\begin{equation}
I = \frac{V}{R}
\label{eq:ohmslaw2}
\end{equation}
\smallskip
\section{Circuit Assembly}
\noindent Following the schematic, components were placed onto a breadboard for initial testing (Figure \ref{fig:third}). Later the working circuit was transferred onto a prototyping board and components were soldered. Two screw terminals were placed at either end of the board to allow for battery cables and radio receiver cables to be fed in and out and be replaced if needed. The slide switch was soldered in the middle of the board; the power cable from the battery terminal was soldered to the common pin, while the power cable leading to the radio receiver was soldered to the terminal 2 pin. Thus, the circuit could be opened by sliding the common pin to connect with the terminal 1 pin.\\
\begingroup
\medskip
\centering
%width=\columnwidth
\includegraphics[scale=0.43]{images/lab2_2.png}
\captionof{figure}{CAD layout recreating the switch-controlled circuit.}
\label{fig:third}
\medskip
\endgroup
\noindent A cable was directly connected between the negative terminals on both screw terminals. The anode of the LED was soldered to the negative terminal on the battery terminal for grounding. One leg of the protective resistor was soldered to the terminal 2 pin of the switch, while the other leg of the resistor was soldered to the cathode of the LED, thus completing the circuit (see Figure \ref{fig:second}).
\begingroup
\medskip
\centering
%width=\columnwidth
\includegraphics[width=\columnwidth]{images/lab2_4.png}
\captionof{figure}{Switch-controlled circuit to control LED and any attached system.}
\label{fig:second}
\medskip
\endgroup
\section{Ohm's Law Calculations}
\noindent The resistance value of the protective resistor is important as it prevents the current from exceeding the maximum specified current for the component. The green LED used was rated for a maximum $30mA$ forward current and 100 $mA$ peak forward current \cite[]{datasheet}. Ohm's law was used to calculate the required resistor values that satisfied the ratings of the LED as shown in Equation \ref{eq:minresistancecalc}.
\begin{equation}
R = \frac{V}{I} = \frac{9V}{30mA} = 300\ohm
\label{eq:minresistancecalc}
\end{equation}
While the calculations imply the use of a $300 \ohm$ resistor for the case of maximum forward current, any resistor value which supplies approximately below $30mA$ (for a reasonably luminescent LED) is appropriate. In this case, a $330 \ohm$ resistor was used as it was the closest resistor value and provided a maximum forward current of $27mA$, which is under the recommended maximum. This decision was confirmed by the simulation (see Figure \ref{fig:fourth}), which shows that using a $330 \ohm$ resistor results in a forward current of $20.9mA$, far less than the recommended $30mA$. The operation of the circuit was also confirmed by soldering the components to a prototype board and supplying $9V$ through the battery terminal resulting in a functional circuit(see Figure \ref{fig:fifth}).
\begingroup
\medskip
\centering
%width=\columnwidth
\includegraphics[scale=0.43]{images/lab2_3.png}
\captionof{figure}{Simulation for $330 \ohm$ resistor in the circuit}
\label{fig:fourth}
\medskip
\endgroup
\begingroup
\medskip
\centering
%width=\columnwidth
\includegraphics[width =\columnwidth]{images/lab2_5.jpg}
\captionof{figure}{Final testing of the completed circuit}
\label{fig:fifth}
\medskip
\endgroup
\section{Discussion and Conclusion}\\
\noindent A generic power switch for a system (AM radio receiver) was assembled. An LED with a protective resistor was also fitted into the circuit to act as a status indicator. A $300 \ohm$ resistor value was calculated using Ohm's Law assuming peak forward current. The closest resistor value of $330 \ohm$ was used for the circuit, resulting in a forward current of $20.9mA$ and a successful circuit. The lab also acted as an exercise for good soldering practices, such as setting the right temperature and ensuring solder to pad connection, which were critical to the circuit operating when finally assembled.
%\appendices
%\section{Proof of the First Zonklar Equation}
%Appendix one text goes here.
%\section*{Acknowledgment}
\printbibliography
\end{document}