Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Voltage packet #21

Merged
merged 2 commits into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion radio-packet-format/sections/packets/blocks/data/data.tex
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ \subsection{Data Blocks}
0x07 & Angular velocity \\
0x08 & Humidity \\
0x09 & Coordinates (latitude and longitude) \\
0x0A through 0xFF & Reserved for future use \\
0x0A & Voltage \\
0x0B through 0xFF & Reserved for future use \\
\bottomrule
\end{tabular}
\caption{Data Block Subtypes}
Expand All @@ -47,3 +48,4 @@ \subsection{Data Blocks}
\input{sections/packets/blocks/data/angularvel.tex}
\input{sections/packets/blocks/data/humidity.tex}
\input{sections/packets/blocks/data/coordinates.tex}
\input{sections/packets/blocks/data/voltage.tex}
26 changes: 26 additions & 0 deletions radio-packet-format/sections/packets/blocks/data/voltage.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
\subsubsection{Voltage}

The voltage data block reports the voltage measured on a specific electrical trace within the rocket. The measurement
is associated with a generic numerical ID for identification by the receiver. This allows multiple voltage points to be
measured within the rocket. The format of the voltage block payload is described in figure \ref{format:telem-voltage}.

\begin{figure}[H]
\centering
\begin{bytefield}[bitwidth=0.03\linewidth]{32}
\bitheader{0-31} \\
\wordbox{1}{Measurement Time} \\
\bitbox{16}{ID} & \bitbox{16}{Voltage} \\
\end{bytefield}
\caption{Voltage data block format}
\label{format:telem-voltage}
\end{figure}

\paragraph{Measurement Time}
The mission time when the measurement was taken.

\paragraph{ID}
A numerical ID associated with the voltage measurement for identification by the receiver. This field is an unsigned 16
bit integer.

\paragraph{Voltage}
The measured temperature in units of millivolts. This field is a signed 16 bit integer.
Loading