diff --git a/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.aux b/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.aux index c1f3037..55209b6 100644 --- a/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.aux +++ b/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.aux @@ -48,23 +48,31 @@ \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.3.1}Input registers}{6}{subsubsection.2.3.1}\protected@file@percent } \@writefile{lot}{\contentsline {table}{\numberline {7}{\ignorespaces Modbus input registers for RHT01{}}}{6}{table.7}\protected@file@percent } \newlabel{tab:modbus_input_registers}{{7}{6}{Modbus input registers for \sensor {}}{table.7}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {2.3.2}Holding registers}{6}{subsubsection.2.3.2}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {8}{\ignorespaces Modbus holding registers for RHT01{}}}{6}{table.8}\protected@file@percent } -\newlabel{tab:modbus_holding_registers}{{8}{6}{Modbus holding registers for \sensor {}}{table.8}{}} -\newlabel{holdingReg:note1}{{2.3.2}{6}{Note 1}{section*.6}{}} +\newlabel{inputReg:note1}{{2.3.1}{6}{Note 1}{section*.6}{}} \@writefile{toc}{\contentsline {paragraph}{Note 1}{6}{section*.6}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {9}{\ignorespaces Gain values of LTR-329ALS-01}}{6}{table.9}\protected@file@percent } -\newlabel{tab:ltr_gain}{{9}{6}{Gain values of LTR-329ALS-01}{table.9}{}} -\newlabel{holdingReg:note2}{{2.3.2}{7}{Note 2}{section*.7}{}} -\@writefile{toc}{\contentsline {paragraph}{Note 2}{7}{section*.7}\protected@file@percent } -\newlabel{holdingReg:note3}{{2.3.2}{7}{Note 3}{section*.8}{}} -\@writefile{toc}{\contentsline {paragraph}{Note 3}{7}{section*.8}\protected@file@percent } -\newlabel{holdingReg:note4}{{2.3.2}{7}{Note 4}{section*.9}{}} -\@writefile{toc}{\contentsline {paragraph}{Note 4}{7}{section*.9}\protected@file@percent } -\newlabel{holdingReg:note5}{{2.3.2}{7}{Note 5}{section*.10}{}} -\@writefile{toc}{\contentsline {paragraph}{Note 5}{7}{section*.10}\protected@file@percent } -\newlabel{holdingReg:note6}{{2.3.2}{7}{Note 6}{section*.11}{}} -\@writefile{toc}{\contentsline {paragraph}{Note 6}{7}{section*.11}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {3}Mechanical Dimesions}{9}{section.3}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {4}Schematic}{11}{section.4}\protected@file@percent } -\gdef \@abspage@last{11} +\@writefile{lot}{\contentsline {table}{\numberline {8}{\ignorespaces Error codes of measured Temperature and Relative Humidity values }}{6}{table.8}\protected@file@percent } +\newlabel{tab:sht_sensor_errors}{{8}{6}{Error codes of measured Temperature and Relative Humidity values}{table.8}{}} +\newlabel{inputReg:note2}{{2.3.1}{6}{Note 2}{section*.7}{}} +\@writefile{toc}{\contentsline {paragraph}{Note 2}{6}{section*.7}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {9}{\ignorespaces Error codes of measured Light Intensity values }}{6}{table.9}\protected@file@percent } +\newlabel{tab:light_sensor_errors}{{9}{6}{Error codes of measured Light Intensity values}{table.9}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {2.3.2}Holding registers}{7}{subsubsection.2.3.2}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {10}{\ignorespaces Modbus holding registers for RHT01{}}}{7}{table.10}\protected@file@percent } +\newlabel{tab:modbus_holding_registers}{{10}{7}{Modbus holding registers for \sensor {}}{table.10}{}} +\newlabel{holdingReg:note1}{{2.3.2}{7}{Note 1}{section*.8}{}} +\@writefile{toc}{\contentsline {paragraph}{Note 1}{7}{section*.8}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {11}{\ignorespaces Gain values of LTR-329ALS-01}}{7}{table.11}\protected@file@percent } +\newlabel{tab:ltr_gain}{{11}{7}{Gain values of LTR-329ALS-01}{table.11}{}} +\newlabel{holdingReg:note2}{{2.3.2}{7}{Note 2}{section*.9}{}} +\@writefile{toc}{\contentsline {paragraph}{Note 2}{7}{section*.9}\protected@file@percent } +\newlabel{holdingReg:note3}{{2.3.2}{7}{Note 3}{section*.10}{}} +\@writefile{toc}{\contentsline {paragraph}{Note 3}{7}{section*.10}\protected@file@percent } +\newlabel{holdingReg:note4}{{2.3.2}{7}{Note 4}{section*.11}{}} +\@writefile{toc}{\contentsline {paragraph}{Note 4}{7}{section*.11}\protected@file@percent } +\newlabel{holdingReg:note5}{{2.3.2}{7}{Note 5}{section*.12}{}} +\@writefile{toc}{\contentsline {paragraph}{Note 5}{7}{section*.12}\protected@file@percent } +\newlabel{holdingReg:note6}{{2.3.2}{7}{Note 6}{section*.13}{}} +\@writefile{toc}{\contentsline {paragraph}{Note 6}{7}{section*.13}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {3}Mechanical Dimesions}{8}{section.3}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4}Schematic}{9}{section.4}\protected@file@percent } +\gdef \@abspage@last{9} diff --git a/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.log b/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.log index d7ca570..f77c433 100644 --- a/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.log +++ b/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.log @@ -1,4 +1,4 @@ -This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022/Arch Linux) (preloaded format=pdflatex 2022.5.14) 25 JUL 2022 20:10 +This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022/Arch Linux) (preloaded format=pdflatex 2022.5.14) 30 JUL 2022 19:27 entering extended mode restricted \write18 enabled. %&-line parsing enabled. @@ -549,7 +549,7 @@ o_small_letters_transparent_600x185.png used on input line 137. (pdftex.def) Requested size: 92.42749pt x 28.45274pt. [3] -<./fig/connector_pins.png, id=137, 694.595pt x 462.72874pt> +<./fig/connector_pins.png, id=141, 694.595pt x 462.72874pt> File: ./fig/connector_pins.png Graphic file (type png) Package pdftex.def Info: ./fig/connector_pins.png used on input line 145. @@ -575,8 +575,13 @@ Package pdftex.def Info: ./fig/logo/PNGs/Long_Logo_One_Line_Text/veles_labs_log o_small_letters_transparent_600x185.png used on input line 222. (pdftex.def) Requested size: 92.42749pt x 28.45274pt. [5] -Underfull \hbox (badness 10000) in paragraph at lines 263--263 -[]|\OT1/cmr/m/n/8 Light Sen-sor Mea-sure-ment +Underfull \hbox (badness 10000) in paragraph at lines 258--258 +[]|\OT1/cmr/bx/n/8 Error + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 275--275 +[]|\OT1/cmr/bx/n/8 Error [] File: ./fig/logo/PNGs/Long_Logo_One_Line_Text/veles_labs_logo_small_letters_tra @@ -584,81 +589,49 @@ nsparent_600x185.png Graphic file (type png) Package pdftex.def Info: ./fig/logo/PNGs/Long_Logo_One_Line_Text/veles_labs_log -o_small_letters_transparent_600x185.png used on input line 299. +o_small_letters_transparent_600x185.png used on input line 284. (pdftex.def) Requested size: 92.42749pt x 28.45274pt. [6] -<./fig/RHT_Sensor_Enclosure-Enclosure_TOP.pdf, id=163, 597.23125pt x 845.1575pt +<./fig/RHT_Sensor_Enclosure-Enclosure_TOP.pdf, id=171, 597.23125pt x 845.1575pt > File: ./fig/RHT_Sensor_Enclosure-Enclosure_TOP.pdf Graphic file (type pdf) Package pdftex.def Info: ./fig/RHT_Sensor_Enclosure-Enclosure_TOP.pdf used on -input line 312. -(pdftex.def) Requested size: 447.92233pt x 633.86658pt. - -Overfull \hbox (29.66866pt too wide) in paragraph at lines 312--313 -[] - [] - +input line 346. +(pdftex.def) Requested size: 376.42575pt x 532.69707pt. File: ./fig/logo/PNGs/Long_Logo_One_Line_Text/veles_labs_logo_small_letters_tra nsparent_600x185.png Graphic file (type png) Package pdftex.def Info: ./fig/logo/PNGs/Long_Logo_One_Line_Text/veles_labs_log -o_small_letters_transparent_600x185.png used on input line 314. +o_small_letters_transparent_600x185.png used on input line 348. (pdftex.def) Requested size: 92.42749pt x 28.45274pt. -[7] -File: ./fig/logo/PNGs/Long_Logo_One_Line_Text/veles_labs_logo_small_letters_tra -nsparent_600x185.png Graphic file (type png) - -Package pdftex.def Info: ./fig/logo/PNGs/Long_Logo_One_Line_Text/veles_labs_log -o_small_letters_transparent_600x185.png used on input line 314. -(pdftex.def) Requested size: 92.42749pt x 28.45274pt. - [8] -Overfull \vbox (67.21973pt too high) has occurred while \output is active [] - -File: ./fig/logo/PNGs/Long_Logo_One_Line_Text/veles_labs_logo_small_letters_tra -nsparent_600x185.png Graphic file (type png) - -Package pdftex.def Info: ./fig/logo/PNGs/Long_Logo_One_Line_Text/veles_labs_log -o_small_letters_transparent_600x185.png used on input line 314. -(pdftex.def) Requested size: 92.42749pt x 28.45274pt. - -[9 <./fig/RHT_Sensor_Enclosure-Enclosure_TOP.pdf>] -<./../../PCB/Project_Outputs/Schematic/rht_wired_sensor.pdf, id=190, 845.1575pt + [7] +<./../../PCB/Project_Outputs/Schematic/rht_wired_sensor.pdf, id=183, 845.1575pt x 598.235pt> File: ./../../PCB/Project_Outputs/Schematic/rht_wired_sensor.pdf Graphic file ( type pdf) Package pdftex.def Info: ./../../PCB/Project_Outputs/Schematic/rht_wired_sensor -.pdf used on input line 315. +.pdf used on input line 349. (pdftex.def) Requested size: 845.15544pt x 598.23354pt. - -Overfull \hbox (0.50797pt too wide) in paragraph at lines 315--316 -[] - [] - File: ./fig/logo/PNGs/Long_Logo_One_Line_Text/veles_labs_logo_small_letters_tra nsparent_600x185.png Graphic file (type png) Package pdftex.def Info: ./fig/logo/PNGs/Long_Logo_One_Line_Text/veles_labs_log -o_small_letters_transparent_600x185.png used on input line 316. +o_small_letters_transparent_600x185.png used on input line 350. (pdftex.def) Requested size: 92.42749pt x 28.45274pt. -[10] -Overfull \vbox (18.95937pt too high) has occurred while \output is active [] - + [8 <./fig/RHT_Sensor_Enclosure-Enclosure_TOP.pdf>] File: ./fig/logo/PNGs/Long_Logo_One_Line_Text/veles_labs_logo_small_letters_tra nsparent_600x185.png Graphic file (type png) Package pdftex.def Info: ./fig/logo/PNGs/Long_Logo_One_Line_Text/veles_labs_log -o_small_letters_transparent_600x185.png used on input line 316. +o_small_letters_transparent_600x185.png used on input line 350. (pdftex.def) Requested size: 92.42749pt x 28.45274pt. - -[11 <./../../PCB/Project_Outputs/Schematic/rht_wired_sensor.pdf>] -(./RHT_Wired_Sensor_Datasheet.aux) + [9 <./../../PCB/Project_Outputs/Schematic/rht_wired_sensor.pdf>] (./RHT_Wired_ +Sensor_Datasheet.aux) LaTeX Font Warning: Size substitutions with differences (Font) up to 124.49696pt have occurred. @@ -668,10 +641,10 @@ ged. (rerunfilecheck) Checksum: 78C92EEF38C7727A16E24E5012079CDB;2645. ) Here is how much of TeX's memory you used: - 10915 strings out of 478238 - 175096 string characters out of 5850456 - 520525 words of memory out of 5000000 - 28956 multiletter control sequences out of 15000+600000 + 10921 strings out of 478238 + 175200 string characters out of 5850456 + 518749 words of memory out of 5000000 + 28960 multiletter control sequences out of 15000+600000 474795 words of font info for 46 fonts, out of 8000000 for 9000 1141 hyphenation exceptions out of 8191 60i,15n,63p,534b,482s stack positions out of 5000i,500n,10000p,200000b,80000s @@ -684,10 +657,10 @@ are/texmf-dist/fonts/type1/public/amsfonts/cm/cmr8.pfb> -Output written on RHT_Wired_Sensor_Datasheet.pdf (11 pages, 482077 bytes). +Output written on RHT_Wired_Sensor_Datasheet.pdf (9 pages, 482402 bytes). PDF statistics: - 263 PDF objects out of 1000 (max. 8388607) - 217 compressed objects within 3 object streams - 49 named destinations out of 1000 (max. 500000) + 266 PDF objects out of 1000 (max. 8388607) + 222 compressed objects within 3 object streams + 51 named destinations out of 1000 (max. 500000) 154 words of extra memory for PDF output out of 10000 (max. 10000000) diff --git a/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.lot b/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.lot index 7129184..23da6ea 100644 --- a/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.lot +++ b/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.lot @@ -6,5 +6,7 @@ \contentsline {table}{\numberline {5}{\ignorespaces Programming Connector Pinout}}{4}{table.5}% \contentsline {table}{\numberline {6}{\ignorespaces Modbus register space}}{5}{table.6}% \contentsline {table}{\numberline {7}{\ignorespaces Modbus input registers for RHT01{}}}{6}{table.7}% -\contentsline {table}{\numberline {8}{\ignorespaces Modbus holding registers for RHT01{}}}{6}{table.8}% -\contentsline {table}{\numberline {9}{\ignorespaces Gain values of LTR-329ALS-01}}{6}{table.9}% +\contentsline {table}{\numberline {8}{\ignorespaces Error codes of measured Temperature and Relative Humidity values }}{6}{table.8}% +\contentsline {table}{\numberline {9}{\ignorespaces Error codes of measured Light Intensity values }}{6}{table.9}% +\contentsline {table}{\numberline {10}{\ignorespaces Modbus holding registers for RHT01{}}}{7}{table.10}% +\contentsline {table}{\numberline {11}{\ignorespaces Gain values of LTR-329ALS-01}}{7}{table.11}% diff --git a/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.pdf b/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.pdf index a389f87..ddb2bcb 100644 Binary files a/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.pdf and b/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.pdf differ diff --git a/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.synctex.gz b/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.synctex.gz index 2abec72..79c62ed 100644 Binary files a/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.synctex.gz and b/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.synctex.gz differ diff --git a/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.tex b/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.tex index eea4012..702a078 100644 --- a/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.tex +++ b/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.tex @@ -239,14 +239,48 @@ Input registers contain measured values. They are read-only and 16-bit in size. $\mathrm{CO_2}$ concentration & 30006 & ppm & \\ \hline Light Intensity CH0 & 30007 & ticks & \\ \hline Light Intensity CH1 & 30008 & ticks & \\ \hline - Temperature ERROR & 30009 & - & \\ \hline - Relative Humidity ERROR & 300010 & - & \\ \hline - Light Intensity ERROR & 300011 & - & \\ \hline + Temperature Error & 30009 & - & see \hyperref[inputReg:note1]{Note 1}\\ \hline + Relative Humidity Error & 300010 & - & see \hyperref[inputReg:note1]{Note 1} \\ \hline + Light Intensity Error & 300011 & - & see \hyperref[inputReg:note2]{Note 2}\\ \hline \end{tabular} \caption{Modbus input registers for \sensor{}} \label{tab:modbus_input_registers} \end{table} +\paragraph{Note 1} +\label{inputReg:note1} +The error codes are described in table \ref{tab:sht_sensor_errors}. +\begin{table}[h] +\scriptsize + \centering + \begin{tabular}{|p{1cm}|p{6cm}|} + \hline + \rowcolor{lightgray} \textbf{Error Code} & \textbf{Error Description} \\ \hline + 0 & OK \\ \hline + -1 & Communication with the sensor failed \\ \hline + -2 & Data CRC Check failed \\ \hline + \end{tabular} + \caption{Error codes of measured Temperature and Relative Humidity values } + \label{tab:sht_sensor_errors} +\end{table} + +\paragraph{Note 2} +\label{inputReg:note2} +The error codes are described in table \ref{tab:light_sensor_errors}. +\begin{table}[h] +\scriptsize + \centering + \begin{tabular}{|p{1cm}|p{6cm}|} + \hline + \rowcolor{lightgray} \textbf{Error Code} & \textbf{Error Description} \\ \hline + 0 & OK \\ \hline + -1 & Communication with the sensor failed \\ \hline + \end{tabular} + \caption{Error codes of measured Light Intensity values } + \label{tab:light_sensor_errors} +\end{table} + +\pagebreak \subsubsection{Holding registers} The holding registers can be written to by the master node. Sensor \sensor{} offers the following configuration registers: @@ -254,7 +288,7 @@ The holding registers can be written to by the master node. Sensor \sensor{} off \begin{table}[h] \scriptsize \centering - \begin{tabular}{|p{4cm}|p{2cm}|p{6.5cm}|} + \begin{tabular}{|p{5cm}|p{2cm}|p{2cm}|} \hline \rowcolor{lightgray} \textbf{Register name} & \textbf{Address} & \textbf{Note} \\ \hline Device Modbus address & 40001 & see \hyperref[holdingReg:note2]{Note 4} \\ \hline @@ -309,8 +343,8 @@ Modbus baudrate in bits/s. May be one of: 4800, 9600, 14400, 19200, 28800, 38400 Writing the magic constant 0xABCD to this device will instruct the device to soft-reset. \vfill \section{Mechanical Dimesions} -\includegraphics[scale=0.75]{./fig/RHT_Sensor_Enclosure-Enclosure_TOP.pdf} +\includegraphics[width=0.9\textwidth]{./fig/RHT_Sensor_Enclosure-Enclosure_TOP.pdf} \section{Schematic} -\includegraphics[angle=90,origin=c,scale=0.7]{./../../PCB/Project_Outputs/Schematic/rht_wired_sensor.pdf} +\includegraphics[angle=90,origin=c,width=0.9\textwidth]{./../../PCB/Project_Outputs/Schematic/rht_wired_sensor.pdf} \end{document} \ No newline at end of file diff --git a/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.toc b/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.toc index 491d7e3..820bafd 100644 --- a/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.toc +++ b/Documentation/Datasheet/RHT_Wired_Sensor_Datasheet.toc @@ -12,12 +12,14 @@ \contentsline {subsubsection}{\numberline {2.2.1}Modbus register space}{5}{subsubsection.2.2.1}% \contentsline {subsection}{\numberline {2.3}RHT01{} Modbus registers}{6}{subsection.2.3}% \contentsline {subsubsection}{\numberline {2.3.1}Input registers}{6}{subsubsection.2.3.1}% -\contentsline {subsubsection}{\numberline {2.3.2}Holding registers}{6}{subsubsection.2.3.2}% \contentsline {paragraph}{Note 1}{6}{section*.6}% -\contentsline {paragraph}{Note 2}{7}{section*.7}% -\contentsline {paragraph}{Note 3}{7}{section*.8}% -\contentsline {paragraph}{Note 4}{7}{section*.9}% -\contentsline {paragraph}{Note 5}{7}{section*.10}% -\contentsline {paragraph}{Note 6}{7}{section*.11}% -\contentsline {section}{\numberline {3}Mechanical Dimesions}{9}{section.3}% -\contentsline {section}{\numberline {4}Schematic}{11}{section.4}% +\contentsline {paragraph}{Note 2}{6}{section*.7}% +\contentsline {subsubsection}{\numberline {2.3.2}Holding registers}{7}{subsubsection.2.3.2}% +\contentsline {paragraph}{Note 1}{7}{section*.8}% +\contentsline {paragraph}{Note 2}{7}{section*.9}% +\contentsline {paragraph}{Note 3}{7}{section*.10}% +\contentsline {paragraph}{Note 4}{7}{section*.11}% +\contentsline {paragraph}{Note 5}{7}{section*.12}% +\contentsline {paragraph}{Note 6}{7}{section*.13}% +\contentsline {section}{\numberline {3}Mechanical Dimesions}{8}{section.3}% +\contentsline {section}{\numberline {4}Schematic}{9}{section.4}%