Compare commits

..

4 Commits

Author SHA1 Message Date
b1f1981bff Add changes table. 2020-05-29 16:27:12 -07:00
bff96ea690 Merge branch 'master' of https://dev.danilafe.com/CS-46X/dd 2020-05-29 15:59:20 -07:00
Ryan Alder
3a77c752d4 Shield -> Concentrator 2020-04-23 23:09:51 -07:00
58a8efba39 Rename file to match file extension conventions 2020-04-23 20:59:29 -07:00

30
dd.tex
View File

@@ -83,6 +83,26 @@ amount of time and money.
The Fenceless Grazing Collar system consists of a smart application, The Fenceless Grazing Collar system consists of a smart application,
a "gateway", and individual collars to be placed onto animals. a "gateway", and individual collars to be placed onto animals.
\section{Changes}
The following changes have been made to this document as the term went on:
\vspace{0.1in}
\begin{tabular}{p{0.4\linewidth}p{0.45\linewidth}}
\hline
Before & After \\
\hline \\
Only LoRa was described in the design. & LoRaWAN explicitly mentioned and described. \\
\\
MariaDB was used for data storage. & SQLite used due to smaller footprint and easier setup. \\
\\
Gateway was responsible for LoRaWAN. & LoRaWAN offloaded to The Things Network. \\
\\
LoRa shield was used for Gateway. & LoRa concentrator does not come as a Raspberry Pi shield. A custom adapter
is used to connect the concentrator to the Gateway.
\end{tabular}
% Collars are attached to live animals that emit an auditory or electrical stimulus when the animal % Collars are attached to live animals that emit an auditory or electrical stimulus when the animal
% leaves its designated area, preventing it from traveling further outside % leaves its designated area, preventing it from traveling further outside
% the established grazing boundaries. % the established grazing boundaries.
@@ -210,7 +230,7 @@ The LoRa gateway will consist of the following libraries, frameworks, and subsys
\item \emph{Raspberry Pi:} The LoRa gateway's primary subcomponent will be \item \emph{Raspberry Pi:} The LoRa gateway's primary subcomponent will be
the Raspberry Pi, a single-board Linux computer. The Raspberry Pi the Raspberry Pi, a single-board Linux computer. The Raspberry Pi
is capable of interfacing with hardware components such as the LoRaWAN is capable of interfacing with hardware components such as the LoRaWAN
shield. It also supports the execution of arbitrary programs, such concentrator. It also supports the execution of arbitrary programs, such
as the API server and database management software. as the API server and database management software.
\item \emph{LoRa Interface:} The LoRa interface will be used as part of the \item \emph{LoRa Interface:} The LoRa interface will be used as part of the
LoRa gateway to allow communication between the gateway and the collars LoRa gateway to allow communication between the gateway and the collars
@@ -244,7 +264,7 @@ livestock. Conceptually, it made up of the driver and the system logic.
the interaction of the various components of the collar. As described the interaction of the various components of the collar. As described
in the structure viewpoint, the collar will be made of several in the structure viewpoint, the collar will be made of several
physical devices, such as an AVR Atmega128 microcontroller, a physical devices, such as an AVR Atmega128 microcontroller, a
LoRa shield, and hardware for emitting sound. The driver LoRa concentrator, and hardware for emitting sound. The driver % TODO matt explain new setup
component is the low-level software (likely written in AVR component is the low-level software (likely written in AVR
assembly) for interfacing with these components. assembly) for interfacing with these components.
\item \emph{System Logic:} Implemented using C, this code will \item \emph{System Logic:} Implemented using C, this code will
@@ -390,10 +410,8 @@ at a time, and the user will be able to switch between tabs at any time. The tab
\end{itemize} \end{itemize}
\subsection{Structure View} \subsection{Structure View}
The LoRa gateway will be constructed using a Raspberry Pi 2b and the corresponding LoRaWAN shield. The LoRa gateway will be constructed using a Raspberry Pi 2b and the corresponding LoRaWAN concentrator.
The Raspberry Pi and the LoRaWAN shield have compatible pinouts, allowing one to be stacked on top A custom adapter will be created to connect the two.
of the other without the using of soldering equipment or other, more invasive techniques.
This construction also allows for the simple disassembly of the entire system.
The Raspberry Pi component of the LoRa gateway will be connected to the internet using an The Raspberry Pi component of the LoRa gateway will be connected to the internet using an
Ethernet cable. It will also use a 32 Gigabyte SD card for the storage of the Linux (Raspbian) Ethernet cable. It will also use a 32 Gigabyte SD card for the storage of the Linux (Raspbian)