This repository has been archived on 2023-02-06. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
bachelor-thesis/documentation/thesis/content/05_solution.tex
Severin Kaderli 91978e22d9
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Update notes and documents
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
2022-10-27 14:33:47 +02:00

29 lines
1.4 KiB
TeX

\chapter{Solution}
The solution consists of two separate applications: a website used for transmitting data and a smartphone application used for receiving data. Transmission between the two application happens using a simple protocol on top of magnetic induction.
\section{Protocol}
The main communication protocol works over magnetic induction. By putting load on a CPU the resulting magnetic field can be changed. Using a magnetometer in a smartphone these changes can be measured and interpreted.
For simplification purposes the protocol in this project is used to transmit ASCII text but in reality any bit stream can be transmitted.
To indicate the start of a message in the transmission a preamble is used. The preamble used in this protocol is 3 high signals, followed by 1 low signal, followed by 3 high signals.
\subsection{Sending}
\begin{enumerate}
\item{Convert the text to an ASCII encoded bit stream}
\item{Encode the ASCII bit stream using manchester encoding}
\item{Start the transmission by sending the preamble}
\item{Transmit the manchester encoded bit stream}
\item{Repeat from step 3 until transmission is stopped}
\end{enumerate}
\subsection{Receiving}
\begin{enumerate}
\item{Detect the preamble}
\item{Decode the received manchester encoded bit stream}
\item{Convert the ASCII bit stream to text}
\end{enumerate}
\section{Website}
\section{App}