
\documentclass[11pt]{article}
%Gummi|065|=)
\usepackage{graphicx}
\usepackage{caption}
\title{\textbf{Flammable Gas Sensor}}
\author{Steak Electronics}
\date{}
\begin{document}

\maketitle

\tableofcontents

\section{Overview}
Shop needs a flammable gas sensor, for safety.
\section{Chip Hunting}
I'm looking at the following:

\begin{itemize}
\item SGAS711
\item 200K fixed resistor
\item 1M potentiometer
\item Arduino Nano (for speed)
\item Ample Power Supply  They are recommending 7 Volts for the heater. So, one rated for 1A.
\item led notifiers
  \item 
  
\end{itemize}


\subsection{Gas Sensor Tuning}
The flammable gas sensor has different sensitivities for different gases (see data sheet, Figure 8). I'm going to need to test for something specific, i.e. if the shop needs to watch out for acetone, I should test acetone. Of course, if enough of a flammable gas is in the air, it will set it off no matter what, but I should focus on what the danger is for calibrating.

Based on the resistance chart, I'm going to use a fixed 200K and a 1M pot. Pots are to be avoided, but here we need to calibrate over time. For the response of the v divider, the sensor is not linear, but closer (though not quite) logarithmic. So what I will do, is have to use some math on the micro, and use the formula they give in the Datasheet, to get a logarithmic output that appears linear (figure 5). For my needs, it is good enough.

\includegraphics[scale=0.8]{../pics/resistances.png}
\captionof{figure}{Application Note resistance table}

\subsubsection{Fixed resistors}
If these sensors are consistent enough, possibly I could use fixed resistors later.
\subsubsection{Gas Sensor Power Usage}
Rated at 900mW for 7V, so about 150mA (128mA). I know from prior experience these things heat up, so we need plenty of power.

\subsubsection{PCB Layout}
The gas sensor must be sideways, as there is excessive dust in the shop so, the holes will be on the side. I will do a 90 degree edge mount pcb.

\subsection{Switcher}
STS1024S6V5 Seems like a fair option for now. Output is 6.5 volts which is enough. Will use a module. Need to make a footprint.

\subsection{Enclosure}
We need a box that is tall enough to be a cube. Also want square, not rectangular. I plan to have the leds light from the back of the pcb. The pcb will be the top cover / front. The top cover / front will be the box, put on its side, so dust doesn't collect on the leds. Need a cube.









\end{document}

