-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpat (2).tex
123 lines (123 loc) · 3.56 KB
/
pat (2).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
\documentclass[10pt,a4paper]{article}
\usepackage[a4paper,outer=1.5cm,inner=1.5cm,top=1.75cm,bottom=1.5cm]{geometry}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{tikz}
\usepackage{tabularx}
\usepackage{amsmath}
\begin{document}
\centerline{\textbf{IDE ASSIGNMENT}}
\centerline{Bogolu Kartheek}
\centerline{bogolukarthik@gmail.com}
\centerline{FWC22136 IITH - Future Wireless Communications}
\tableofcontents
\section{Problem}
Q.35 The output expression for the Karnaugh map shown below is
\begin{center}
\begin{tikzpicture}[scale=0.8]
\draw (0,0) grid (4,4);
\draw (0,4) -- node [pos=0.6,above right,anchor=south west] {PQ} node [pos=0.6,below left,anchor=north east] {RS} ++(135:2);
% Draw vertical lines
\foreach \x in {0,1,2,3,4}
\draw (\x,0) -- (\x,4);
% Draw horizontal lines
\foreach \y in {0,1,2,3,4}
\draw (0,\y) -- (4,\y);
% Draw cell labels
%4th row
\node at (0.5,0.5) {0};
\node at (1.5,0.5) {0};
\node at (2.5,0.5) {0};
\node at (3.5,0.5) {0};
%3rd row
\node at (0.5,1.5) {1};
\node at (1.5,1.5) {1};
\node at (2.5,1.5) {1};
\node at (3.5,1.5) {1};
%2nd row
\node at (0.5,2.5) {1};
\node at (1.5,2.5) {1};
\node at (2.5,2.5) {1};
\node at (3.5,2.5) {1};
%1st row
\node at (0.5,3.5) {0};
\node at (1.5,3.5) {1};
\node at (2.5,3.5) {1};
\node at (3.5,3.5) {0};
% Draw index labels
\foreach \x/\val in {0/00,1/01,2/11,3/10}
\node at (\x+0.5,4.5) {\val};
% Draw index labels
\foreach \y/\val in {3/00,2/01,1/11,0/10}
\node at (-0.5,\y+0.5) {\val};
\end{tikzpicture}
\end{center}
\begin{multicols}{2}
\begin{enumerate}
\item QR'+S
\item QR+S
\item QR'+S'
\item QR+S'
\end{enumerate}
\end{multicols}
\section{Components}
\begin{tabularx}{0.8\textwidth}{
| >{\centering\arraybackslash}X
| >{\centering\arraybackslash}X
| >{\centering\arraybackslash}X |}
\hline
Components & Value & Quantity \\
\hline
Breadboard & & 1 \\
\hline
Arduino & uno & 1 \\
\hline
Jumper wires & & 4 \\
\hline
\end{tabularx}
\subsection{Arduino}
The Arduino Uno has some ground pins.analog input
pins A0-A3 and digial pins D1-D13 that can be used
for both input as well as output. It also has two
powe pins that can generate 3.3V and 5V. In the
following exercise,we use digital pins,GND and 5V
\section{Implementation}
\subsection{Truth table}
\begin{tabularx}{0.8\textwidth}{
| >{\centering\arraybackslash}X
| >{\centering\arraybackslash}X
| >{\centering\arraybackslash}X | }
\hline
A & B & X=A'+B'\\
\hline
0 & 0 & 1 \\
\hline
0 & 1 & 0 \\
\hline
1 & 0 & 0 \\
\hline
1 & 1 & 0 \\
\hline
\end{tabularx}
\subsection{Boolean Equation}
\begin{align}
F&=R'SP'(Q'+Q)+R'SP(Q'+Q)+R'S'Q(P'+P)+R'SQ(P'+P)+RSP'(Q'+Q)+RSP(Q'+Q) \nonumber\\
F&=R'S(P'+P)+R'Q(S'+S)+RS(P'+P) \nonumber\\
F&=S(R'+R)+R'Q \nonumber\\
F&=S+QR'\nonumber\\
\end{align}
\section{Hardware}
\begin{enumerate}
\item Connect one end of jumper wire to the ground pin on the Arduino no and other end to the
breadboard's ground rail(-)
\item Connect the one terminal of jumper wire to the input pins of Arduino and other end to the positive
rail(+) on the breadboard
\item Connect one end of another jumper wire to the inpur pin of Arduino and other end to the positive
to rail(+)
\item Enable the power supply to breadboard from arduino by connecting one end of jumper wire to the
power pin of arduino and other end to the positive rail on the breadboard
\end{enumerate}
\section{Conclusion}
Hence we have implemented the NOR gate by the code-givien below \\
\framebox{https://github.com/kartheekbogolu/cbse-10/tree/main/codes}
\end{document}