feat: change microcontroller

This commit is contained in:
kuchy 2022-05-12 20:05:08 +02:00
parent 5561a918ff
commit 604925628a
7 changed files with 62 additions and 51 deletions

View File

@ -16,10 +16,6 @@
\gdef\HyperFirstAtBeginDocument#1{#1}
\providecommand\HyField@AuxAddToFields[1]{}
\providecommand\HyField@AuxAddToCoFields[2]{}
\citation{datasheet}
\citation{datasheet}
\citation{datasheet}
\citation{powerSavingModes}
\@writefile{toc}{\contentsline {section}{\numberline {1}Analysis of the project}{2}{section.1}\protected@file@percent }
\@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 }
@ -28,16 +24,18 @@
\@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 {subsubsection}{\numberline {3.2.2}Microcontroller}{2}{subsubsection.3.2.2}\protected@file@percent }
\@writefile{toc}{\contentsline {paragraph}{Relatively small}{2}{section*.1}\protected@file@percent }
\@writefile{toc}{\contentsline {paragraph}{Square}{2}{section*.2}\protected@file@percent }
\@writefile{toc}{\contentsline {paragraph}{Popular}{2}{section*.3}\protected@file@percent }
\citation{datasheet}
\citation{avrgcc}
\citation{datasheet}
\citation{datasheet}
\citation{consumerDevice}
\citation{datasheet}
\bibcite{datasheet}{1}
\bibcite{powerSavingModes}{2}
\bibcite{avrgcc}{3}
\@writefile{toc}{\contentsline {paragraph}{5 software selectable power saving modes}{3}{section*.4}\protected@file@percent }
\bibcite{consumerDevice}{2}
\@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 {section}{\numberline {4}Draft of the microcontroller firmware}{3}{section.4}\protected@file@percent }

View File

@ -1,5 +1,5 @@
# Fdb version 3
["pdflatex"] 1652375541 "report.tex" "report.pdf" "report" 1652375541
["pdflatex"] 1652378658 "report.tex" "report.pdf" "report" 1652378658
"/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 ""
@ -75,11 +75,11 @@
"/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" 1652375541 3030 5a04566652fd95572bbe0173adb8bd03 "pdflatex"
"report.out" 1652375541 894 31702a175461449cb2f09fcccda56ed7 "pdflatex"
"report.tex" 1652375540 2310 d103ba3b4a00be635616d4b05b2889d2 ""
"report.aux" 1652378656 2969 d37a93568236107821cc20c9e2bfc660 "pdflatex"
"report.out" 1652378656 894 31702a175461449cb2f09fcccda56ed7 "pdflatex"
"report.tex" 1652378657 2084 9f4ac9186c2733043fe9a2470bbc3ff3 ""
(generated)
"report.out"
"report.pdf"
"report.aux"
"report.pdf"
"report.log"
"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) 12 MAY 2022 19:12
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex 2022.4.9) 12 MAY 2022 20:04
entering extended mode
restricted \write18 enabled.
file:line:error style messages enabled.
@ -290,13 +290,25 @@ 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.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <7> on input line 28.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <5> on input line 28.
[2]
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <7> on input line 29.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <5> on input line 29.
./report.tex:36: Undefined control sequence.
<recently read> \mi
l.36 ...with power consumption as low as 0.29 $\mi
$ A in Standby mode
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
Package atveryend Info: Empty hook `BeforeClearDocument' on input line 55.
[3]
[3]
Package atveryend Info: Empty hook `AfterLastShipout' on input line 55.
(./report.aux)
Package atveryend Info: Executing hook `AtVeryEndDocument' on input line 55.
@ -306,18 +318,18 @@ Package rerunfilecheck Info: File `report.out' has not changed.
Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 55.
)
Here is how much of TeX's memory you used:
6440 strings out of 481239
98094 string characters out of 5920378
362720 words of memory out of 5000000
6439 strings out of 481239
98073 string characters out of 5920378
361690 words of memory out of 5000000
21579 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
{/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/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 (3 pages, 95772 bytes).
Output written on report.pdf (3 pages, 94818 bytes).
PDF statistics:
140 PDF objects out of 1000 (max. 8388607)
122 compressed objects within 2 object streams
26 named destinations out of 1000 (max. 500000)
137 PDF objects out of 1000 (max. 8388607)
119 compressed objects within 2 object streams
25 named destinations out of 1000 (max. 500000)
125 words of extra memory for PDF output out of 10000 (max. 10000000)

Binary file not shown.

Binary file not shown.

View File

@ -23,33 +23,34 @@ It should:
\subsection{Diagram itself}
\subsection{Diagram description}
\subsubsection{How to make the project}
\newpage
\subsubsection{Microcontroller}
I decided to use ATmega328P, 8-bit avr microcontroller.
\paragraph{Relatively small} Up to 9.25 mm $\times$ 9.25 mm dimensions,
I decided to use STM32L082CZ from STM32L0 line
\paragraph{Relatively small} Up to 10 mm $\times$ 10 mm dimensions,
compared to apple watch display of 34 mm by 40 mm for smaller version.
\cite{datasheet}
286th page
111th page
\paragraph{Square} It is shaped in a square which also simplifies portability
\cite{datasheet} 286th page
\paragraph{Popular} A lot of documentation, usecases, guides
\paragraph{5 software selectable power saving modes} Our device should use
energy-saving power modes and 5 is a plentiful choice \cite{datasheet} 7th
page
\\
Quick research suggests that this microcontroller can use as low as 0.36 mA
\cite{powerSavingModes}
\paragraph{Ease of use} In-system programming feature \cite{datasheet} (1 page)
and programming environments which allow for easy development of code.
\cite{avrgcc}
\cite{datasheet} 111th page
\paragraph{Power saving} STM32L0 line was designed specifically for low power
consumption with power consumption as low as 0.29 $\mi$ A in Standby mode
\cite{datasheet} 1st page
\paragraph{Consumer devices} This microcontroller comes from STM32LOx2 line
prepared to be used in consumer devices \cite{consumerDevice}
\paragraph{Ease of use} USB compatible microcontroller and dedicaded debug port
allows for swift code creation.
\cite{datasheet} 1st page
\subsubsection{All other components}
\section{Draft of the microcontroller firmware}
\subsection{Block diagram}
\subsection{Description of the algorithm}
\begin{thebibliography}{9}
\bibitem{datasheet} \href{https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7810-Automotive-Microcontrollers-ATmega328P_Datasheet.pdf}{ATmega
328P datasheet}
\bibitem{powerSavingModes} \href{https://electronics.stackexchange.com/questions/49182/how-can-i-get-my-atmega328-to-run-for-a-year-on-batteries}{Electrical Engineering exchange,
atmega328 one year on batteries}
\bibitem{avrgcc} \href{https://gcc.gnu.org/wiki/avr-gcc}{avr gcc}
\bibitem{datasheet}
\href{https://www.st.com/resource/en/datasheet/stm32l082cz.pdf}{STM32LO82CZ
datasheet}
\bibitem{consumerDevice}
\href{https://www.st.com/en/microcontrollers-microprocessors/stm32l0-series.html}{Consumer
Device STM32LOx2 Line}
\end{thebibliography}
\end{document}

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) 9 APR 2022 19:37
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex 2022.4.9) 12 MAY 2022 20:03
entering extended mode
restricted \write18 enabled.
file:line:error style messages enabled.