feat: finish report up to algorithm

This commit is contained in:
PolishPigeon 2022-06-07 16:24:03 +02:00
parent 084b4dee03
commit 76b03cbf00
9 changed files with 135 additions and 59 deletions

View File

@ -20,10 +20,8 @@
\@writefile{toc}{\contentsline {subsection}{\numberline {1.1}Discussion of project requirements}{2}{subsection.1.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {1.2}Discussion of solution}{2}{subsection.1.2}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {2}Detailed circuit diagram}{2}{section.2}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {3}Diagram}{2}{section.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {3.1}Diagram itself}{2}{subsection.3.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {3.2}Diagram description}{2}{subsection.3.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{\numberline {3.2.1}How to make the project}{2}{subsubsection.3.2.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {2.1}Diagram itself}{2}{subsection.2.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {2.2}Diagram description}{4}{subsection.2.2}\protected@file@percent }
\citation{datasheet}
\citation{datasheet}
\citation{datasheet}
@ -33,22 +31,23 @@
\citation{Battery}
\citation{Voltage Regulator}
\bibcite{datasheet}{1}
\@writefile{toc}{\contentsline {subsubsection}{\numberline {3.2.2}Microcontroller}{3}{subsubsection.3.2.2}\protected@file@percent }
\@writefile{toc}{\contentsline {paragraph}{Relatively small}{3}{section*.1}\protected@file@percent }
\@writefile{toc}{\contentsline {paragraph}{Square}{3}{section*.2}\protected@file@percent }
\@writefile{toc}{\contentsline {paragraph}{Power saving}{3}{section*.3}\protected@file@percent }
\@writefile{toc}{\contentsline {paragraph}{Consumer devices}{3}{section*.4}\protected@file@percent }
\@writefile{toc}{\contentsline {paragraph}{Ease of use}{3}{section*.5}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{\numberline {3.2.3}All other components}{3}{subsubsection.3.2.3}\protected@file@percent }
\@writefile{toc}{\contentsline {paragraph}{Oled display}{3}{section*.6}\protected@file@percent }
\@writefile{toc}{\contentsline {paragraph}{Digital compass}{3}{section*.7}\protected@file@percent }
\@writefile{toc}{\contentsline {paragraph}{Battery}{3}{section*.8}\protected@file@percent }
\@writefile{toc}{\contentsline {paragraph}{Voltage Regulator}{3}{section*.9}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {2.3}Components}{5}{subsection.2.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{\numberline {2.3.1}Microcontroller}{5}{subsubsection.2.3.1}\protected@file@percent }
\@writefile{toc}{\contentsline {paragraph}{Relatively small}{5}{section*.1}\protected@file@percent }
\@writefile{toc}{\contentsline {paragraph}{Square}{5}{section*.2}\protected@file@percent }
\@writefile{toc}{\contentsline {paragraph}{Power saving}{5}{section*.3}\protected@file@percent }
\@writefile{toc}{\contentsline {paragraph}{Consumer devices}{5}{section*.4}\protected@file@percent }
\@writefile{toc}{\contentsline {paragraph}{Ease of use}{5}{section*.5}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{\numberline {2.3.2}All other components}{5}{subsubsection.2.3.2}\protected@file@percent }
\@writefile{toc}{\contentsline {paragraph}{Oled display}{5}{section*.6}\protected@file@percent }
\@writefile{toc}{\contentsline {paragraph}{Digital compass}{5}{section*.7}\protected@file@percent }
\@writefile{toc}{\contentsline {paragraph}{Battery}{5}{section*.8}\protected@file@percent }
\@writefile{toc}{\contentsline {paragraph}{Voltage Regulator}{5}{section*.9}\protected@file@percent }
\bibcite{consumerDevice}{2}
\bibcite{OLED}{3}
\bibcite{Magnetometer}{4}
\bibcite{Battery}{5}
\bibcite{Voltage Regulator}{6}
\@writefile{toc}{\contentsline {section}{\numberline {4}Draft of the microcontroller firmware}{4}{section.4}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {4.1}Block diagram}{4}{subsection.4.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {4.2}Description of the algorithm}{4}{subsection.4.2}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {3}Draft of the microcontroller firmware}{6}{section.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {3.1}Block diagram}{6}{subsection.3.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {3.2}Description of the algorithm}{6}{subsection.3.2}\protected@file@percent }

View File

@ -1,5 +1,5 @@
# Fdb version 3
["pdflatex"] 1653586287 "report.tex" "report.pdf" "report" 1653586287
["pdflatex"] 1654558696 "report.tex" "report.pdf" "report" 1654558696
"/etc/texmf/web2c/texmf.cnf" 1649511474 475 c0e671620eb5563b2130f56340a5fde8 ""
"/usr/share/texlive/texmf-dist/fonts/map/fontname/texfonts.map" 1577235249 3524 cb3e574dea2d1052e39280babc910dc8 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/jknappen/ec/tcrm1000.tfm" 1136768653 1536 e07581a4bb3136ece9eeb4c3ffab8233 ""
@ -76,11 +76,12 @@
"/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map" 1649511498 4770781 1ed1abab22da9c3e2cc82e4db562318b ""
"/var/lib/texmf/web2c/pdftex/pdflatex.fmt" 1649511522 8256308 efb305160d4d659dcd0c4df67bdfa340 ""
"declaration.pdf" 1652370764 26405 124c169f18adee1e795a0aeb4c24ea6e ""
"report.aux" 1653586287 3520 efa8f5f024f2ae001f0437481741eebd "pdflatex"
"report.out" 1653586287 894 31702a175461449cb2f09fcccda56ed7 "pdflatex"
"report.tex" 1653586286 3604 c38e480b6992710a62766d5482c20b73 ""
"report.aux" 1654558696 3393 ad7f1121a5eb1292e9ec47ba78d359d3 "pdflatex"
"report.out" 1654558696 828 84162f63e08d0d60504bb0d98d2ea028 "pdflatex"
"report.tex" 1654558694 4503 74e7458a05d7147c1d81498259f10fff ""
"schematicpdf.pdf" 1654557346 53138 ded92128818ada5c6f02be6772756061 ""
(generated)
"report.log"
"report.out"
"report.pdf"
"report.aux"
"report.log"
"report.pdf"
"report.out"

View File

@ -146,6 +146,25 @@ INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr12.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx12.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx12.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/jknappen/ec/tcrm1000.tfm
INPUT schematicpdf.pdf
INPUT schematicpdf.pdf
INPUT ./schematicpdf.pdf
INPUT ./schematicpdf.pdf
INPUT ./schematicpdf.pdf
INPUT schematicpdf.pdf
INPUT ./schematicpdf.pdf
INPUT ./schematicpdf.pdf
INPUT schematicpdf.pdf
INPUT ./schematicpdf.pdf
INPUT ./schematicpdf.pdf
INPUT schematicpdf.pdf
INPUT ./schematicpdf.pdf
INPUT schematicpdf.pdf
INPUT ./schematicpdf.pdf
INPUT schematicpdf.pdf
INPUT ./schematicpdf.pdf
INPUT schematicpdf.pdf
INPUT ./schematicpdf.pdf
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx10.tfm
INPUT report.aux
INPUT ./report.out

View File

@ -1,4 +1,4 @@
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex 2022.4.9) 26 MAY 2022 19:31
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex 2022.4.9) 7 JUN 2022 01:38
entering extended mode
restricted \write18 enabled.
file:line:error style messages enabled.
@ -251,7 +251,7 @@ Package: lscape 2000/10/22 v3.01 Landscape Pages (DPC)
)
Package pdflscape Info: Auto-detected driver: pdftex on input line 81.
)
<declaration.pdf, id=56, 597.50829pt x 845.0471pt>
<declaration.pdf, id=52, 597.50829pt x 845.0471pt>
File: declaration.pdf Graphic file (type pdf)
<use declaration.pdf>
Package pdftex.def Info: declaration.pdf used on input line 8.
@ -260,7 +260,7 @@ File: declaration.pdf Graphic file (type pdf)
<use declaration.pdf>
Package pdftex.def Info: declaration.pdf used on input line 8.
(pdftex.def) Requested size: 597.50682pt x 845.04504pt.
<declaration.pdf, id=59, page=1, 597.50829pt x 845.0471pt>
<declaration.pdf, id=55, page=1, 597.50829pt x 845.0471pt>
File: declaration.pdf Graphic file (type pdf)
<use declaration.pdf, page 1>
Package pdftex.def Info: declaration.pdf , page1 used on input line 8.
@ -290,35 +290,78 @@ LaTeX Font Info: External font `cmex10' loaded for size
(Font) <8> on input line 10.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <6> on input line 10.
[2]
pdfTeX warning: pdflatex (file ./schematicpdf.pdf): PDF inclusion: found PDF version <1.7>, but at most version <1.5> allowed
<schematicpdf.pdf, id=72, 845.04686pt x 597.50786pt>
File: schematicpdf.pdf Graphic file (type pdf)
<use schematicpdf.pdf>
Package pdftex.def Info: schematicpdf.pdf used on input line 30.
(pdftex.def) Requested size: 845.0448pt x 597.5064pt.
pdfTeX warning: pdflatex (file ./schematicpdf.pdf): PDF inclusion: found PDF version <1.7>, but at most version <1.5> allowed
File: schematicpdf.pdf Graphic file (type pdf)
<use schematicpdf.pdf>
Package pdftex.def Info: schematicpdf.pdf used on input line 30.
(pdftex.def) Requested size: 845.0448pt x 597.5064pt.
pdfTeX warning: pdflatex (file ./schematicpdf.pdf): PDF inclusion: found PDF version <1.7>, but at most version <1.5> allowed
pdfTeX warning: pdflatex (file ./schematicpdf.pdf): PDF inclusion: found PDF version <1.7>, but at most version <1.5> allowed
<schematicpdf.pdf, id=75, page=1, 845.04686pt x 597.50786pt>
File: schematicpdf.pdf Graphic file (type pdf)
<use schematicpdf.pdf, page 1>
Package pdftex.def Info: schematicpdf.pdf , page1 used on input line 30.
(pdftex.def) Requested size: 845.0448pt x 597.5064pt.
File: schematicpdf.pdf Graphic file (type pdf)
<use schematicpdf.pdf, page 1>
Package pdftex.def Info: schematicpdf.pdf , page1 used on input line 30.
(pdftex.def) Requested size: 614.326pt x 434.3719pt.
[2]
File: schematicpdf.pdf Graphic file (type pdf)
<use schematicpdf.pdf, page 1>
Package pdftex.def Info: schematicpdf.pdf , page1 used on input line 30.
(pdftex.def) Requested size: 614.326pt x 434.3719pt.
File: schematicpdf.pdf Graphic file (type pdf)
<use schematicpdf.pdf, page 1>
Package pdftex.def Info: schematicpdf.pdf , page1 used on input line 30.
(pdftex.def) Requested size: 614.326pt x 434.3719pt.
File: schematicpdf.pdf Graphic file (type pdf)
<use schematicpdf.pdf, page 1>
Package pdftex.def Info: schematicpdf.pdf , page1 used on input line 30.
(pdftex.def) Requested size: 614.326pt x 434.3719pt.
[3 <./schematicpdf.pdf>] [4]
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <7> on input line 29.
(Font) <7> on input line 44.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <5> on input line 29.
[3]
Package atveryend Info: Empty hook `BeforeClearDocument' on input line 81.
[4]
Package atveryend Info: Empty hook `AfterLastShipout' on input line 81.
(Font) <5> on input line 44.
[5]
Package atveryend Info: Empty hook `BeforeClearDocument' on input line 96.
[6]
Package atveryend Info: Empty hook `AfterLastShipout' on input line 96.
(./report.aux)
Package atveryend Info: Executing hook `AtVeryEndDocument' on input line 81.
Package atveryend Info: Executing hook `AtEndAfterFileList' on input line 81.
Package atveryend Info: Executing hook `AtVeryEndDocument' on input line 96.
Package atveryend Info: Executing hook `AtEndAfterFileList' on input line 96.
Package rerunfilecheck Info: File `report.out' has not changed.
(rerunfilecheck) Checksum: 31702A175461449CB2F09FCCCDA56ED7;894.
Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 81.
(rerunfilecheck) Checksum: 84162F63E08D0D60504BB0D98D2EA028;828.
Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 96.
)
Here is how much of TeX's memory you used:
6451 strings out of 481239
98229 string characters out of 5920378
6462 strings out of 481239
98486 string characters out of 5920378
363818 words of memory out of 5000000
21582 multiletter control sequences out of 15000+600000
21590 multiletter control sequences out of 15000+600000
536928 words of font info for 39 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
40i,18n,45p,264b,441s stack positions out of 5000i,500n,10000p,200000b,80000s
40i,18n,45p,264b,448s stack positions out of 5000i,500n,10000p,200000b,80000s
{/usr/share/texmf/fonts/enc/dvips/cm-super/cm-super-ts1.enc}</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/share/texmf/fonts/type1/public/cm-super/sfrm1000.pfb>
Output written on report.pdf (4 pages, 107954 bytes).
Output written on report.pdf (6 pages, 160972 bytes).
PDF statistics:
162 PDF objects out of 1000 (max. 8388607)
142 compressed objects within 2 object streams
34 named destinations out of 1000 (max. 500000)
125 words of extra memory for PDF output out of 10000 (max. 10000000)
172 PDF objects out of 1000 (max. 8388607)
146 compressed objects within 2 object streams
35 named destinations out of 1000 (max. 500000)
137 words of extra memory for PDF output out of 10000 (max. 10000000)

View File

@ -2,12 +2,11 @@
\BOOKMARK [2][-]{subsection.1.1}{Discussion of project requirements}{section.1}% 2
\BOOKMARK [2][-]{subsection.1.2}{Discussion of solution}{section.1}% 3
\BOOKMARK [1][-]{section.2}{Detailed circuit diagram}{}% 4
\BOOKMARK [1][-]{section.3}{Diagram}{}% 5
\BOOKMARK [2][-]{subsection.3.1}{Diagram itself}{section.3}% 6
\BOOKMARK [2][-]{subsection.3.2}{Diagram description}{section.3}% 7
\BOOKMARK [3][-]{subsubsection.3.2.1}{How to make the project}{subsection.3.2}% 8
\BOOKMARK [3][-]{subsubsection.3.2.2}{Microcontroller}{subsection.3.2}% 9
\BOOKMARK [3][-]{subsubsection.3.2.3}{All other components}{subsection.3.2}% 10
\BOOKMARK [1][-]{section.4}{Draft of the microcontroller firmware}{}% 11
\BOOKMARK [2][-]{subsection.4.1}{Block diagram}{section.4}% 12
\BOOKMARK [2][-]{subsection.4.2}{Description of the algorithm}{section.4}% 13
\BOOKMARK [2][-]{subsection.2.1}{Diagram itself}{section.2}% 5
\BOOKMARK [2][-]{subsection.2.2}{Diagram description}{section.2}% 6
\BOOKMARK [2][-]{subsection.2.3}{Components}{section.2}% 7
\BOOKMARK [3][-]{subsubsection.2.3.1}{Microcontroller}{subsection.2.3}% 8
\BOOKMARK [3][-]{subsubsection.2.3.2}{All other components}{subsection.2.3}% 9
\BOOKMARK [1][-]{section.3}{Draft of the microcontroller firmware}{}% 10
\BOOKMARK [2][-]{subsection.3.1}{Block diagram}{section.3}% 11
\BOOKMARK [2][-]{subsection.3.2}{Description of the algorithm}{section.3}% 12

Binary file not shown.

Binary file not shown.

View File

@ -18,12 +18,27 @@ It should:
\item Communicate using graphical OLED display and two buttons keyboard
\end{itemize}
\subsection{Discussion of solution}
In my solution I focused on picking components based on firstly low power
consumption, then size, then simplicity, whenever I could I tried to do
everything as proposed in the component data sheet. \\
For the schematic itself I needed power saving microcontroller, oled display,
battery, voltage regulator that works well with batteries and digital compass.
\section{Detailed circuit diagram}
\section{Diagram}
\subsection{Diagram itself}
(Diagram is in pdf format so feel free to zoom in if something is not clearly
visible)
\includepdf[pages=-]{schematicpdf.pdf}
\subsection{Diagram description}
\subsubsection{How to make the project}
Voltage regulator schematic is done one to one on how it was done in voltage
regulator schematic in case of two battery cells \\
Digital compass also was connected exactly as specified in datasheet \\
For OLED I based on the pin descriptions from datasheet and on common patterns
of connecting peripherals \\
Microcontroller itself was pretty straightforward with classic VDD, VSS and
Reset pin conections \\
For buttons I used pull up resistors
\newpage
\subsection{Components}
\subsubsection{Microcontroller}
I decided to use STM32L082CZ from STM32L0 line
\paragraph{Relatively small} Up to 10 mm $\times$ 10 mm dimensions,

BIN
EMISY/report/schematic.pdf Normal file

Binary file not shown.