\documentclass[11pt]{report}
\usepackage{outline} \usepackage{pmgraph} \usepackage[normalem]{ulem}
\usepackage{graphicx} \usepackage{verbatim}
\title{
\includegraphics[width=1.75in]{1.PNG} \\
\vspace*{1in}
\textbf{SCORE BOARD}}
\author{Awais Ahmed (Fritzing)\\
Haffiz Sohaib Faroqi (Proteus)\\
Fahad Iqbal Ahmed (Hardware)\\
\vspace*{0.5in} \\
Hamdard Institute of Engineering \& Technology\\
\textbf{Hamdard University}\\
Karachi, Pakistan
} \date{\today}
%--------------------Make usable space all of page
\setlength{\oddsidemargin}{0in} \setlength{\evensidemargin}{0in}
\setlength{\topmargin}{0in} \setlength{\headsep}{-.25in}
\setlength{\textwidth}{6.5in} \setlength{\textheight}{8.5in}
%--------------------Indention
\setlength{\parindent}{1cm}
\begin{document}
%--------------------Title Page
\maketitle
%--------------------Begin Outline
\begin{outline}
\item \textbf{Objectives}
\
\
Our objective it to design this scoreboard, with operates manual buttons that aid in these small scale tournaments of the cricket match. In order for the scoreboard to effective, it needs to be affordable, portable and versatile in terms of sport it can accommodate and how it can be controlled.
\begin{centering}
\begin{tabular}{|c|l|l|c|}
\hline
\ \# & Component Name & Model & Price (PKR) \\
\hline
1 & Microcontroller & ATMega16 & 270 \\
\hline
2 & LCD & CharacterLCd Module & 325 \\
\hline
3 & Switches & Mini Push Button & 35 \\
\hline
\multicolumn{3}{|r|}{Total} &630 \\
\hline
\end{tabular}
\end{centering}
\item \textbf{Need Statement:}
\\
\
As stated in the objectives above, the biggest need is to develop a cost effective scoreboard (preferably with a parts cost Rs 630. That will be used for recreational tournaments, intramural games and also small scale competitive games.
\item \textbf{Block Diagram}
\includegraphics[width=6in]{a111.png}
\newpage \item \textbf{Diagram}
Embed diagram from Fritzing and describe interconnections.
\includegraphics[width=6in]{cba.jpg}
\newpage \item \textbf{Simulation Model}
Embed Proteus model here.
\includegraphics[width=6in]{kfg.jpg}
\newpage \item \textbf{Program Code}
\begin{verbatim}
#include <mega16.h> //Header file of ATmega16 Microcontroller
#include <alcd.h> //Header file of Alpha Numeric LCD
#include <delay.h>
unsigned char data,data1,data2;
void main(void)
{
lcd_init(16); //Initialize LCD of 16 matrix per line
lcd_clear(); //Clear LCD
PORTA.0=1;
PORTA.1=1;
PORTA.2=1;
lcd_gotoxy(0,0); //Move cursor to position x,y = 0,1
lcd_putsf("run"); //Put String on LCD screen
lcd_gotoxy(4,0); //Move cursor to position x,y = 0,1
lcd_putsf("wicket"); //Put String on LCD screen
lcd_gotoxy(11,0); //Move cursor to position x,y = 0,1
lcd_putsf("over"); //Put String on LCD screen
while(1)
{
if(PINA.0 == 0)
{
lcd_gotoxy(1,1); //Move cursor to position x,y = 0,0
data++;
lcd_putchar(data+0x30); //Put character 'a' on LCD screen
delay_ms(1000);
}
if(PINA.1 == 0)
{
lcd_gotoxy(7,1); //Move cursor to position x,y = 0,0
data1++;
lcd_putchar(data1+0x30); //Put character 'a' on LCD screen
delay_ms(1000);
}
if(PINA.2 == 0)
{
lcd_gotoxy(12,1); //Move cursor to position x,y = 0,0
data2++;
lcd_putchar(data2+0x30); //Put character 'a' on LCD screen
delay_ms(1000);
}
}
}
\end{verbatim}
\newpage \item \textbf{Photoshot}
Group Members
\centering \includegraphics[width=4in]{123455.png}
\end{outline}
\end{document}