diff options
author | SudhakarKuma | 2021-05-03 17:32:50 +0530 |
---|---|---|
committer | SudhakarKuma | 2021-05-03 17:32:50 +0530 |
commit | a5719314bcd2a0f41ce6299700fa30adeb087834 (patch) | |
tree | dfcf6ff6905d998643ceddb1784cae6f42bec091 | |
parent | 97e3b0fcbba9373e5881e6a3ff60d26aced56cdd (diff) | |
download | FLOSS-Arduino-Book-a5719314bcd2a0f41ce6299700fa30adeb087834.tar.gz FLOSS-Arduino-Book-a5719314bcd2a0f41ce6299700fa30adeb087834.tar.bz2 FLOSS-Arduino-Book-a5719314bcd2a0f41ce6299700fa30adeb087834.zip |
Add NM comments
-rw-r--r-- | floss-arduino.aux | 344 | ||||
-rw-r--r-- | floss-arduino.fdb_latexmk | 60 | ||||
-rw-r--r-- | floss-arduino.log | 30 | ||||
-rw-r--r-- | floss-arduino.pdf | bin | 21056445 -> 21056751 bytes | |||
-rw-r--r-- | user-code/ldr/ldr.tex | 8 | ||||
-rw-r--r-- | user-code/pot/pot.tex | 8 | ||||
-rw-r--r-- | user-code/thermistor/thermistor.tex | 11 |
7 files changed, 236 insertions, 225 deletions
diff --git a/floss-arduino.aux b/floss-arduino.aux index 3ce535e..20c533a 100644 --- a/floss-arduino.aux +++ b/floss-arduino.aux @@ -785,14 +785,10 @@ \@writefile{OpenModelicad}{\addvspace {10pt}} \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{132}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{132}\protected@file@percent } -\newlabel{73@xvr}{{}{132}} -\newlabel{73@vr}{{}{132}} \newlabel{OpenModelica:ldr-read}{{6.{1}}{132}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash read.mo}{132}\protected@file@percent } \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{133}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{133}\protected@file@percent } -\newlabel{74@xvr}{{}{133}} -\newlabel{74@vr}{{}{133}} \newlabel{OpenModelica:ldr-led}{{6.{2}}{133}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash led.mo}{133}\protected@file@percent } \@writefile{toc}{\contentsline {chapter}{\numberline {7}Interfacing a Potentiometer}{135}\protected@file@percent } @@ -800,8 +796,8 @@ \@writefile{lot}{\addvspace {10\p@ }} \newlabel{potmeter}{{7}{135}} \@writefile{toc}{\contentsline {section}{\numberline {7.1}Preliminaries}{135}\protected@file@percent } -\newlabel{75@xvr}{{}{135}} -\newlabel{75@vr}{{}{135}} +\newlabel{73@xvr}{{}{135}} +\newlabel{73@vr}{{}{135}} \newlabel{fig:pot}{{7.1a}{136}} \newlabel{sub@fig:pot}{{(a)}{a}} \newlabel{fig:potsch}{{7.1b}{136}} @@ -822,8 +818,8 @@ \@writefile{ard}{\addvspace {10pt}} \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{138}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{138}\protected@file@percent } -\newlabel{76@xvr}{{}{138}} -\newlabel{76@vr}{{}{138}} +\newlabel{74@xvr}{{}{138}} +\newlabel{74@vr}{{}{138}} \newlabel{ard:pot-100}{{7.{1}}{138}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{138}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {7.4}Reading the potentiometer from Scilab}{139}\protected@file@percent } @@ -835,20 +831,20 @@ \@writefile{cod}{\addvspace {10pt}} \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{140}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{140}\protected@file@percent } -\newlabel{77@xvr}{{}{140}} -\newlabel{77@vr}{{}{140}} +\newlabel{75@xvr}{{}{140}} +\newlabel{75@vr}{{}{140}} \newlabel{sci:pot-100}{{7.{1}}{140}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{140}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {7.5}Reading the potentiometer from Xcos}{140}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {7.3}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{141}\protected@file@percent } -\newlabel{79@xvr}{{}{141}} -\newlabel{79@vr}{{}{141}} +\newlabel{77@xvr}{{}{141}} +\newlabel{77@vr}{{}{141}} \newlabel{fig:pot-threshold}{{7.3}{141}} \@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{1}}{}}{141}\protected@file@percent } \@writefile{lot}{\contentsline {table}{\numberline {7.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{142}\protected@file@percent } \newlabel{tab:pot-threshold}{{7.1}{142}} -\newlabel{80@xvr}{{}{142}} -\newlabel{80@vr}{{}{142}} +\newlabel{78@xvr}{{}{142}} +\newlabel{78@vr}{{}{142}} \@writefile{toc}{\contentsline {section}{\numberline {7.6}Reading the potentiometer from Python}{143}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {7.6.1}Reading the potentiometer}{143}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{143}\protected@file@percent } @@ -858,8 +854,8 @@ \@writefile{pyd}{\addvspace {10pt}} \@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{1}}{}}{143}\protected@file@percent } \@writefile{pyd}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{143}\protected@file@percent } -\newlabel{81@xvr}{{}{143}} -\newlabel{81@vr}{{}{143}} +\newlabel{79@xvr}{{}{143}} +\newlabel{79@vr}{{}{143}} \newlabel{py:pot-100}{{7.{1}}{143}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{143}\protected@file@percent } \citation{julia-serial-ports} @@ -872,8 +868,8 @@ \@writefile{juliad}{\addvspace {10pt}} \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{145}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{145}\protected@file@percent } -\newlabel{82@xvr}{{}{145}} -\newlabel{82@vr}{{}{145}} +\newlabel{80@xvr}{{}{145}} +\newlabel{80@vr}{{}{145}} \newlabel{julia:pot-100}{{7.{1}}{145}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{145}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {7.8}Reading the potentiometer from OpenModelica}{146}\protected@file@percent } @@ -885,8 +881,6 @@ \@writefile{OpenModelicad}{\addvspace {10pt}} \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{147}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{147}\protected@file@percent } -\newlabel{83@xvr}{{}{147}} -\newlabel{83@vr}{{}{147}} \newlabel{OpenModelica:pot-100}{{7.{1}}{147}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{147}\protected@file@percent } \citation{therm-wiki} @@ -928,14 +922,14 @@ \@writefile{ard}{\addvspace {10pt}} \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{154}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{154}\protected@file@percent } -\newlabel{84@xvr}{{}{154}} -\newlabel{84@vr}{{}{154}} +\newlabel{81@xvr}{{}{154}} +\newlabel{81@vr}{{}{154}} \newlabel{ard:therm-read}{{8.{1}}{154}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{154}\protected@file@percent } \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{8.{2}}{}}{154}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{154}\protected@file@percent } -\newlabel{85@xvr}{{}{154}} -\newlabel{85@vr}{{}{154}} +\newlabel{82@xvr}{{}{154}} +\newlabel{82@vr}{{}{154}} \newlabel{ard:therm-buzzer}{{8.{2}}{154}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash buzzer/therm\textendash buzzer.ino}{154}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {8.4}Interfacing the Thermistor from Scilab}{155}\protected@file@percent } @@ -952,35 +946,35 @@ \@writefile{cod}{\addvspace {10pt}} \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{157}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{157}\protected@file@percent } -\newlabel{86@xvr}{{}{157}} -\newlabel{86@vr}{{}{157}} +\newlabel{83@xvr}{{}{157}} +\newlabel{83@vr}{{}{157}} \newlabel{sci:therm-read}{{8.{1}}{157}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash read.sce}{158}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{8.{2}}{}}{158}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{158}\protected@file@percent } -\newlabel{87@xvr}{{}{158}} -\newlabel{87@vr}{{}{158}} +\newlabel{84@xvr}{{}{158}} +\newlabel{84@vr}{{}{158}} \newlabel{sci:therm-buzzer}{{8.{2}}{158}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash buzzer.sce}{158}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {8.5}Interfacing the Thermistor from Xcos}{158}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {8.5}{\ignorespaces Xcos diagram to read thermistor values}}{159}\protected@file@percent } -\newlabel{89@xvr}{{}{159}} -\newlabel{89@vr}{{}{159}} +\newlabel{86@xvr}{{}{159}} +\newlabel{86@vr}{{}{159}} \newlabel{fig:therm-read}{{8.5}{159}} \@writefile{lot}{\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{159}\protected@file@percent } \newlabel{tab:therm-read}{{8.1}{159}} -\newlabel{90@xvr}{{}{159}} -\newlabel{90@vr}{{}{159}} +\newlabel{87@xvr}{{}{159}} +\newlabel{87@vr}{{}{159}} \@writefile{lof}{\contentsline {figure}{\numberline {8.6}{\ignorespaces Plot window in Xcos to read thermistor values\relax }}{160}\protected@file@percent } \newlabel{fig:therm-read-output}{{8.6}{160}} \@writefile{lof}{\contentsline {figure}{\numberline {8.7}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{160}\protected@file@percent } -\newlabel{92@xvr}{{}{160}} -\newlabel{92@vr}{{}{160}} +\newlabel{89@xvr}{{}{160}} +\newlabel{89@vr}{{}{160}} \newlabel{fig:therm-buzzer}{{8.7}{160}} \@writefile{lot}{\contentsline {table}{\numberline {8.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{161}\protected@file@percent } \newlabel{tab:therm-buzzer}{{8.2}{161}} -\newlabel{93@xvr}{{}{161}} -\newlabel{93@vr}{{}{161}} +\newlabel{90@xvr}{{}{161}} +\newlabel{90@vr}{{}{161}} \@writefile{toc}{\contentsline {paragraph}{Note:}{161}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {8.8}{\ignorespaces Plot window in Xcos to read thermistor values and the state of LED\relax }}{162}\protected@file@percent } \newlabel{fig:therm-buzzer-output}{{8.8}{162}} @@ -995,14 +989,14 @@ \@writefile{pyd}{\addvspace {10pt}} \@writefile{thm}{\contentsline {pymass}{{Python Code}{8.{1}}{}}{164}\protected@file@percent } \@writefile{pyd}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{164}\protected@file@percent } -\newlabel{94@xvr}{{}{164}} -\newlabel{94@vr}{{}{164}} +\newlabel{91@xvr}{{}{164}} +\newlabel{91@vr}{{}{164}} \newlabel{py:therm-read}{{8.{1}}{164}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash read.py}{164}\protected@file@percent } \@writefile{thm}{\contentsline {pymass}{{Python Code}{8.{2}}{}}{164}\protected@file@percent } \@writefile{pyd}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{164}\protected@file@percent } -\newlabel{95@xvr}{{}{164}} -\newlabel{95@vr}{{}{164}} +\newlabel{92@xvr}{{}{164}} +\newlabel{92@vr}{{}{164}} \newlabel{py:therm-buzzer}{{8.{2}}{164}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash buzzer.py}{164}\protected@file@percent } \citation{julia-serial-ports} @@ -1017,14 +1011,14 @@ \@writefile{juliad}{\addvspace {10pt}} \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{167}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{167}\protected@file@percent } -\newlabel{96@xvr}{{}{167}} -\newlabel{96@vr}{{}{167}} +\newlabel{93@xvr}{{}{167}} +\newlabel{93@vr}{{}{167}} \newlabel{julia:therm-read}{{8.{1}}{167}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash read.jl}{167}\protected@file@percent } \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{8.{2}}{}}{167}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{167}\protected@file@percent } -\newlabel{97@xvr}{{}{167}} -\newlabel{97@vr}{{}{167}} +\newlabel{94@xvr}{{}{167}} +\newlabel{94@vr}{{}{167}} \newlabel{julia:therm-buzzer}{{8.{2}}{167}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash buzzer.jl}{167}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {8.8}Interfacing the Thermistor from OpenModelica}{168}\protected@file@percent } @@ -1038,14 +1032,10 @@ \@writefile{OpenModelicad}{\addvspace {10pt}} \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{169}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{169}\protected@file@percent } -\newlabel{98@xvr}{{}{169}} -\newlabel{98@vr}{{}{169}} \newlabel{OpenModelica:therm-read}{{8.{1}}{169}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash read.mo}{169}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash read.mo}{170}\protected@file@percent } \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{2}}{}}{170}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{170}\protected@file@percent } -\newlabel{99@xvr}{{}{170}} -\newlabel{99@vr}{{}{170}} \newlabel{OpenModelica:therm-buzzer}{{8.{2}}{170}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash buzzer.mo}{170}\protected@file@percent } \@writefile{toc}{\contentsline {chapter}{\numberline {9}Controlling a DC motor}{173}\protected@file@percent } @@ -1068,20 +1058,20 @@ \@writefile{ard}{\addvspace {10pt}} \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{177}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{177}\protected@file@percent } -\newlabel{100@xvr}{{}{177}} -\newlabel{100@vr}{{}{177}} +\newlabel{95@xvr}{{}{177}} +\newlabel{95@vr}{{}{177}} \newlabel{ard:dcmotor-clock}{{9.{1}}{177}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{177}\protected@file@percent } \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{177}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{177}\protected@file@percent } -\newlabel{101@xvr}{{}{177}} -\newlabel{101@vr}{{}{177}} +\newlabel{96@xvr}{{}{177}} +\newlabel{96@vr}{{}{177}} \newlabel{ard:dcmotor-both}{{9.{2}}{177}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash both/dcmotor\textendash both.ino}{177}\protected@file@percent } \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{3}}{}}{177}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{177}\protected@file@percent } -\newlabel{102@xvr}{{}{177}} -\newlabel{102@vr}{{}{177}} +\newlabel{97@xvr}{{}{177}} +\newlabel{97@vr}{{}{177}} \newlabel{ard:dcmotor-loop}{{9.{3}}{177}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash loop/dcmotor\textendash loop.ino}{178}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {9.3}Controlling the DC motor from Scilab}{178}\protected@file@percent } @@ -1104,69 +1094,69 @@ \@writefile{cod}{\addvspace {10pt}} \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{181}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{181}\protected@file@percent } -\newlabel{103@xvr}{{}{181}} -\newlabel{103@vr}{{}{181}} +\newlabel{98@xvr}{{}{181}} +\newlabel{98@vr}{{}{181}} \newlabel{sci:dcmotor-clock}{{9.{1}}{181}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{181}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{181}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{181}\protected@file@percent } -\newlabel{104@xvr}{{}{181}} -\newlabel{104@vr}{{}{181}} +\newlabel{99@xvr}{{}{181}} +\newlabel{99@vr}{{}{181}} \newlabel{sci:dcmotor-both}{{9.{2}}{181}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{181}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{3}}{}}{181}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{181}\protected@file@percent } -\newlabel{105@xvr}{{}{181}} -\newlabel{105@vr}{{}{181}} +\newlabel{100@xvr}{{}{181}} +\newlabel{100@vr}{{}{181}} \newlabel{sci:dcmotor-loop}{{9.{3}}{181}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash loop.sce}{181}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {9.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{182}\protected@file@percent } -\newlabel{107@xvr}{{}{182}} -\newlabel{107@vr}{{}{182}} +\newlabel{102@xvr}{{}{182}} +\newlabel{102@vr}{{}{182}} \newlabel{fig:dcmotor-clock}{{9.4}{182}} \@writefile{toc}{\contentsline {section}{\numberline {9.4}Controlling the DC Motor from Xcos}{182}\protected@file@percent } \@writefile{lot}{\contentsline {table}{\numberline {9.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{183}\protected@file@percent } \newlabel{tab:dcmotor-clock}{{9.3}{183}} -\newlabel{108@xvr}{{}{183}} -\newlabel{108@vr}{{}{183}} +\newlabel{103@xvr}{{}{183}} +\newlabel{103@vr}{{}{183}} \@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{3}}{}}{183}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {9.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{184}\protected@file@percent } -\newlabel{110@xvr}{{}{184}} -\newlabel{110@vr}{{}{184}} +\newlabel{105@xvr}{{}{184}} +\newlabel{105@vr}{{}{184}} \newlabel{fig:dcmotor-both}{{9.5}{184}} \@writefile{lot}{\contentsline {table}{\numberline {9.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{184}\protected@file@percent } \newlabel{tab:dcmotor-both}{{9.4}{184}} -\newlabel{111@xvr}{{}{184}} -\newlabel{111@vr}{{}{184}} +\newlabel{106@xvr}{{}{184}} +\newlabel{106@vr}{{}{184}} \@writefile{lof}{\contentsline {figure}{\numberline {9.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{185}\protected@file@percent } -\newlabel{113@xvr}{{}{185}} -\newlabel{113@vr}{{}{185}} +\newlabel{108@xvr}{{}{185}} +\newlabel{108@vr}{{}{185}} \newlabel{fig:dcmotor-loop}{{9.6}{185}} \@writefile{toc}{\contentsline {section}{\numberline {9.5}Controlling the DC Motor from Python}{185}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {9.5.1}Controlling the DC Motor}{185}\protected@file@percent } \@writefile{lot}{\contentsline {table}{\numberline {9.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{186}\protected@file@percent } \newlabel{tab:dcmotor-loop}{{9.5}{186}} -\newlabel{114@xvr}{{}{186}} -\newlabel{114@vr}{{}{186}} +\newlabel{109@xvr}{{}{186}} +\newlabel{109@vr}{{}{186}} \@writefile{toc}{\contentsline {subsection}{\numberline {9.5.2}Python Code}{187}\protected@file@percent } \newlabel{sec:dcmotor-python-code}{{9.5.2}{187}} \@writefile{pyd}{\addvspace {10pt}} \@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{1}}{}}{187}\protected@file@percent } \@writefile{pyd}{\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{187}\protected@file@percent } -\newlabel{115@xvr}{{}{187}} -\newlabel{115@vr}{{}{187}} +\newlabel{110@xvr}{{}{187}} +\newlabel{110@vr}{{}{187}} \newlabel{py:dcmotor-clock}{{9.{1}}{187}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash clock.py}{187}\protected@file@percent } \@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{2}}{}}{188}\protected@file@percent } \@writefile{pyd}{\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{188}\protected@file@percent } -\newlabel{116@xvr}{{}{188}} -\newlabel{116@vr}{{}{188}} +\newlabel{111@xvr}{{}{188}} +\newlabel{111@vr}{{}{188}} \newlabel{py:dcmotor-both}{{9.{2}}{188}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash both.py}{188}\protected@file@percent } \@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{3}}{}}{188}\protected@file@percent } \@writefile{pyd}{\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{188}\protected@file@percent } -\newlabel{117@xvr}{{}{189}} -\newlabel{117@vr}{{}{189}} +\newlabel{112@xvr}{{}{189}} +\newlabel{112@vr}{{}{189}} \newlabel{py:dcmotor-loop}{{9.{3}}{189}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash loop.py}{189}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {9.6}Controlling the DC Motor from Julia}{190}\protected@file@percent } @@ -1176,20 +1166,20 @@ \@writefile{juliad}{\addvspace {10pt}} \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{190}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{190}\protected@file@percent } -\newlabel{118@xvr}{{}{190}} -\newlabel{118@vr}{{}{190}} +\newlabel{113@xvr}{{}{190}} +\newlabel{113@vr}{{}{190}} \newlabel{julia:dcmotor-clock}{{9.{1}}{190}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{190}\protected@file@percent } \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{191}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{191}\protected@file@percent } -\newlabel{119@xvr}{{}{191}} -\newlabel{119@vr}{{}{191}} +\newlabel{114@xvr}{{}{191}} +\newlabel{114@vr}{{}{191}} \newlabel{julia:dcmotor-both}{{9.{2}}{191}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash both.jl}{191}\protected@file@percent } \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{3}}{}}{191}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{191}\protected@file@percent } -\newlabel{120@xvr}{{}{191}} -\newlabel{120@vr}{{}{191}} +\newlabel{115@xvr}{{}{191}} +\newlabel{115@vr}{{}{191}} \newlabel{julia:dcmotor-loop}{{9.{3}}{191}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash loop.jl}{191}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {9.7}Controlling the DC Motor from OpenModelica}{191}\protected@file@percent } @@ -1199,20 +1189,20 @@ \@writefile{OpenModelicad}{\addvspace {10pt}} \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{192}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{192}\protected@file@percent } -\newlabel{121@xvr}{{}{192}} -\newlabel{121@vr}{{}{192}} +\newlabel{116@xvr}{{}{192}} +\newlabel{116@vr}{{}{192}} \newlabel{OpenModelica:dcmotor-clock}{{9.{1}}{192}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{192}\protected@file@percent } \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{192}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{192}\protected@file@percent } -\newlabel{122@xvr}{{}{192}} -\newlabel{122@vr}{{}{192}} +\newlabel{117@xvr}{{}{192}} +\newlabel{117@vr}{{}{192}} \newlabel{OpenModelica:dcmotor-both}{{9.{2}}{192}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{193}\protected@file@percent } \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{3}}{}}{193}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{193}\protected@file@percent } -\newlabel{123@xvr}{{}{193}} -\newlabel{123@vr}{{}{193}} +\newlabel{118@xvr}{{}{193}} +\newlabel{118@vr}{{}{193}} \newlabel{OpenModelica:dcmotor-loop}{{9.{3}}{193}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash loop.mo}{193}\protected@file@percent } \@writefile{toc}{\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{195}\protected@file@percent } @@ -1231,26 +1221,26 @@ \@writefile{ard}{\addvspace {10pt}} \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{197}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{197}\protected@file@percent } -\newlabel{124@xvr}{{}{197}} -\newlabel{124@vr}{{}{197}} +\newlabel{119@xvr}{{}{197}} +\newlabel{119@vr}{{}{197}} \newlabel{ard:servo-init}{{10.{1}}{197}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{197}\protected@file@percent } \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{198}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{198}\protected@file@percent } -\newlabel{125@xvr}{{}{198}} -\newlabel{125@vr}{{}{198}} +\newlabel{120@xvr}{{}{198}} +\newlabel{120@vr}{{}{198}} \newlabel{ard:servo-reverse}{{10.{2}}{198}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash reverse/servo\textendash reverse.ino}{198}\protected@file@percent } \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{198}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in increments}{198}\protected@file@percent } -\newlabel{126@xvr}{{}{198}} -\newlabel{126@vr}{{}{198}} +\newlabel{121@xvr}{{}{198}} +\newlabel{121@vr}{{}{198}} \newlabel{ard:servo-loop}{{10.{3}}{198}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash loop/servo\textendash loop.ino}{198}\protected@file@percent } \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{199}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{199}\protected@file@percent } -\newlabel{127@xvr}{{}{199}} -\newlabel{127@vr}{{}{199}} +\newlabel{122@xvr}{{}{199}} +\newlabel{122@vr}{{}{199}} \newlabel{ard:servo-pot}{{10.{4}}{199}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash pot/servo\textendash pot.ino}{199}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{199}\protected@file@percent } @@ -1264,62 +1254,62 @@ \@writefile{cod}{\addvspace {10pt}} \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{200}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{200}\protected@file@percent } -\newlabel{128@xvr}{{}{200}} -\newlabel{128@vr}{{}{200}} +\newlabel{123@xvr}{{}{200}} +\newlabel{123@vr}{{}{200}} \newlabel{sci:servo-init}{{10.{1}}{200}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{200}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{200}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{200}\protected@file@percent } -\newlabel{129@xvr}{{}{200}} -\newlabel{129@vr}{{}{200}} +\newlabel{124@xvr}{{}{200}} +\newlabel{124@vr}{{}{200}} \newlabel{sci:servo-reverse}{{10.{2}}{200}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash reverse.sce}{201}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{201}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{201}\protected@file@percent } -\newlabel{130@xvr}{{}{201}} -\newlabel{130@vr}{{}{201}} +\newlabel{125@xvr}{{}{201}} +\newlabel{125@vr}{{}{201}} \newlabel{sci:servo-loop}{{10.{3}}{201}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash loop.sce}{201}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{201}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{201}\protected@file@percent } -\newlabel{131@xvr}{{}{201}} -\newlabel{131@vr}{{}{201}} +\newlabel{126@xvr}{{}{201}} +\newlabel{126@vr}{{}{201}} \newlabel{sci:servo-pot}{{10.{4}}{201}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{201}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{201}\protected@file@percent } \newlabel{sec:servo-xcos}{{10.4}{201}} \@writefile{lof}{\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{202}\protected@file@percent } -\newlabel{133@xvr}{{}{202}} -\newlabel{133@vr}{{}{202}} +\newlabel{128@xvr}{{}{202}} +\newlabel{128@vr}{{}{202}} \newlabel{fig:servo-init}{{10.1}{202}} \@writefile{lot}{\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{202}\protected@file@percent } \newlabel{tab:servo-init}{{10.2}{202}} -\newlabel{134@xvr}{{}{202}} -\newlabel{134@vr}{{}{202}} +\newlabel{129@xvr}{{}{202}} +\newlabel{129@vr}{{}{202}} \@writefile{lof}{\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{203}\protected@file@percent } -\newlabel{136@xvr}{{}{203}} -\newlabel{136@vr}{{}{203}} +\newlabel{131@xvr}{{}{203}} +\newlabel{131@vr}{{}{203}} \newlabel{fig:servo-reverse}{{10.2}{203}} \@writefile{lot}{\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{204}\protected@file@percent } \newlabel{tab:servo-reverse}{{10.3}{204}} -\newlabel{137@xvr}{{}{204}} -\newlabel{137@vr}{{}{204}} +\newlabel{132@xvr}{{}{204}} +\newlabel{132@vr}{{}{204}} \@writefile{lof}{\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{204}\protected@file@percent } -\newlabel{139@xvr}{{}{204}} -\newlabel{139@vr}{{}{204}} +\newlabel{134@xvr}{{}{204}} +\newlabel{134@vr}{{}{204}} \newlabel{fig:servo-loop}{{10.3}{204}} \@writefile{lot}{\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{205}\protected@file@percent } \newlabel{tab:servo-loop}{{10.4}{205}} -\newlabel{140@xvr}{{}{205}} -\newlabel{140@vr}{{}{205}} +\newlabel{135@xvr}{{}{205}} +\newlabel{135@vr}{{}{205}} \@writefile{lof}{\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{205}\protected@file@percent } -\newlabel{142@xvr}{{}{205}} -\newlabel{142@vr}{{}{205}} +\newlabel{137@xvr}{{}{205}} +\newlabel{137@vr}{{}{205}} \newlabel{fig:servo-pot}{{10.4}{205}} \@writefile{lot}{\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{206}\protected@file@percent } \newlabel{tab:servo-pot}{{10.5}{206}} -\newlabel{143@xvr}{{}{206}} -\newlabel{143@vr}{{}{206}} +\newlabel{138@xvr}{{}{206}} +\newlabel{138@vr}{{}{206}} \@writefile{toc}{\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{206}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{206}\protected@file@percent } \newlabel{sec:servo-py}{{10.5.1}{206}} @@ -1331,26 +1321,26 @@ \@writefile{pyd}{\addvspace {10pt}} \@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{1}}{}}{207}\protected@file@percent } \@writefile{pyd}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{207}\protected@file@percent } -\newlabel{144@xvr}{{}{207}} -\newlabel{144@vr}{{}{207}} +\newlabel{139@xvr}{{}{207}} +\newlabel{139@vr}{{}{207}} \newlabel{py:servo-init}{{10.{1}}{207}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{207}\protected@file@percent } \@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{2}}{}}{208}\protected@file@percent } \@writefile{pyd}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{208}\protected@file@percent } -\newlabel{145@xvr}{{}{208}} -\newlabel{145@vr}{{}{208}} +\newlabel{140@xvr}{{}{208}} +\newlabel{140@vr}{{}{208}} \newlabel{py:servo-reverse}{{10.{2}}{208}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash reverse.py}{208}\protected@file@percent } \@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{3}}{}}{209}\protected@file@percent } \@writefile{pyd}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{209}\protected@file@percent } -\newlabel{146@xvr}{{}{209}} -\newlabel{146@vr}{{}{209}} +\newlabel{141@xvr}{{}{209}} +\newlabel{141@vr}{{}{209}} \newlabel{sci:servo-loop}{{10.{3}}{209}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash loop.py}{209}\protected@file@percent } \@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{4}}{}}{210}\protected@file@percent } \@writefile{pyd}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{210}\protected@file@percent } -\newlabel{147@xvr}{{}{210}} -\newlabel{147@vr}{{}{210}} +\newlabel{142@xvr}{{}{210}} +\newlabel{142@vr}{{}{210}} \newlabel{py:servo-pot}{{10.{4}}{210}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{210}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{211}\protected@file@percent } @@ -1364,26 +1354,26 @@ \@writefile{juliad}{\addvspace {10pt}} \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{212}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{212}\protected@file@percent } -\newlabel{148@xvr}{{}{212}} -\newlabel{148@vr}{{}{212}} +\newlabel{143@xvr}{{}{212}} +\newlabel{143@vr}{{}{212}} \newlabel{julia:servo-init}{{10.{1}}{212}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{212}\protected@file@percent } \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{212}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{212}\protected@file@percent } -\newlabel{149@xvr}{{}{212}} -\newlabel{149@vr}{{}{212}} +\newlabel{144@xvr}{{}{212}} +\newlabel{144@vr}{{}{212}} \newlabel{julia:servo-reverse}{{10.{2}}{212}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash reverse.jl}{212}\protected@file@percent } \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{213}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{213}\protected@file@percent } -\newlabel{150@xvr}{{}{213}} -\newlabel{150@vr}{{}{213}} +\newlabel{145@xvr}{{}{213}} +\newlabel{145@vr}{{}{213}} \newlabel{julia:servo-loop}{{10.{3}}{213}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash loop.jl}{213}\protected@file@percent } \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{213}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{213}\protected@file@percent } -\newlabel{151@xvr}{{}{213}} -\newlabel{151@vr}{{}{213}} +\newlabel{146@xvr}{{}{213}} +\newlabel{146@vr}{{}{213}} \newlabel{julia:servo-pot}{{10.{4}}{213}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{213}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{213}\protected@file@percent } @@ -1397,26 +1387,26 @@ \@writefile{OpenModelicad}{\addvspace {10pt}} \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{214}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{214}\protected@file@percent } -\newlabel{152@xvr}{{}{214}} -\newlabel{152@vr}{{}{214}} +\newlabel{147@xvr}{{}{214}} +\newlabel{147@vr}{{}{214}} \newlabel{OpenModelica:servo-init}{{10.{1}}{214}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{214}\protected@file@percent } \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{215}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{215}\protected@file@percent } -\newlabel{153@xvr}{{}{215}} -\newlabel{153@vr}{{}{215}} +\newlabel{148@xvr}{{}{215}} +\newlabel{148@vr}{{}{215}} \newlabel{OpenModelica:servo-reverse}{{10.{2}}{215}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash reverse.mo}{215}\protected@file@percent } \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{216}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{216}\protected@file@percent } -\newlabel{154@xvr}{{}{216}} -\newlabel{154@vr}{{}{216}} +\newlabel{149@xvr}{{}{216}} +\newlabel{149@vr}{{}{216}} \newlabel{OpenModelica:servo-loop}{{10.{3}}{216}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash loop.mo}{216}\protected@file@percent } \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{216}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{216}\protected@file@percent } -\newlabel{155@xvr}{{}{216}} -\newlabel{155@vr}{{}{216}} +\newlabel{150@xvr}{{}{216}} +\newlabel{150@vr}{{}{216}} \newlabel{OpenModelica:servo-pot}{{10.{4}}{216}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{217}\protected@file@percent } \@writefile{toc}{\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{219}\protected@file@percent } @@ -1469,13 +1459,13 @@ \@writefile{ard}{\addvspace {10pt}} \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{231}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{231}\protected@file@percent } -\newlabel{158@xvr}{{}{231}} -\newlabel{158@vr}{{}{231}} +\newlabel{153@xvr}{{}{231}} +\newlabel{153@vr}{{}{231}} \newlabel{ard:firmware-modbus}{{11.{1}}{231}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/arduino/send\textunderscore packet.ino}{231}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{232}\protected@file@percent } -\newlabel{157@xvr}{{}{232}} -\newlabel{157@vr}{{}{232}} +\newlabel{152@xvr}{{}{232}} +\newlabel{152@vr}{{}{232}} \newlabel{fig:mod-read}{{11.14}{232}} \@writefile{lot}{\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{232}\protected@file@percent } \newlabel{tab:mod-xcos-read}{{11.5}{232}} @@ -1484,26 +1474,26 @@ \@writefile{cod}{\addvspace {10pt}} \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{233}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{233}\protected@file@percent } -\newlabel{159@xvr}{{}{233}} -\newlabel{159@vr}{{}{233}} +\newlabel{154@xvr}{{}{233}} +\newlabel{154@vr}{{}{233}} \newlabel{sci:current-modbus}{{11.{1}}{233}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore val.sce}{233}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{233}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{233}\protected@file@percent } -\newlabel{160@xvr}{{}{233}} -\newlabel{160@vr}{{}{233}} +\newlabel{155@xvr}{{}{233}} +\newlabel{155@vr}{{}{233}} \newlabel{sci:current-modbus}{{11.{2}}{233}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore current.sci}{233}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{233}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{233}\protected@file@percent } -\newlabel{161@xvr}{{}{233}} -\newlabel{161@vr}{{}{233}} +\newlabel{156@xvr}{{}{233}} +\newlabel{156@vr}{{}{233}} \newlabel{sci:voltage-modbus}{{11.{3}}{233}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore voltage.sci}{233}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{234}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{234}\protected@file@percent } -\newlabel{162@xvr}{{}{234}} -\newlabel{162@vr}{{}{234}} +\newlabel{157@xvr}{{}{234}} +\newlabel{157@vr}{{}{234}} \newlabel{sci:modbus-power}{{11.{4}}{234}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore active\textunderscore power.sci}{234}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {11.7.3}Python Code}{234}\protected@file@percent } @@ -1511,20 +1501,20 @@ \@writefile{pyd}{\addvspace {10pt}} \@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{1}}{}}{234}\protected@file@percent } \@writefile{pyd}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{234}\protected@file@percent } -\newlabel{163@xvr}{{}{234}} -\newlabel{163@vr}{{}{234}} +\newlabel{158@xvr}{{}{234}} +\newlabel{158@vr}{{}{234}} \newlabel{py:current-modbus}{{11.{1}}{234}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore current.py}{234}\protected@file@percent } \@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{2}}{}}{234}\protected@file@percent } \@writefile{pyd}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{234}\protected@file@percent } -\newlabel{164@xvr}{{}{234}} -\newlabel{164@vr}{{}{234}} +\newlabel{159@xvr}{{}{234}} +\newlabel{159@vr}{{}{234}} \newlabel{py:voltage-modbus}{{11.{2}}{234}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore voltage.py}{234}\protected@file@percent } \@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{3}}{}}{235}\protected@file@percent } \@writefile{pyd}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{235}\protected@file@percent } -\newlabel{165@xvr}{{}{235}} -\newlabel{165@vr}{{}{235}} +\newlabel{160@xvr}{{}{235}} +\newlabel{160@vr}{{}{235}} \newlabel{py:modbus-power}{{11.{3}}{235}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore active\textunderscore power.py}{235}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {11.7.4}Julia Code}{235}\protected@file@percent } @@ -1532,20 +1522,20 @@ \@writefile{juliad}{\addvspace {10pt}} \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{235}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{235}\protected@file@percent } -\newlabel{166@xvr}{{}{235}} -\newlabel{166@vr}{{}{235}} +\newlabel{161@xvr}{{}{235}} +\newlabel{161@vr}{{}{235}} \newlabel{julia:current-modbus}{{11.{1}}{235}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readCurrent.jl}{235}\protected@file@percent } \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{235}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{235}\protected@file@percent } -\newlabel{167@xvr}{{}{235}} -\newlabel{167@vr}{{}{235}} +\newlabel{162@xvr}{{}{235}} +\newlabel{162@vr}{{}{235}} \newlabel{julia:voltage-modbus}{{11.{2}}{235}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readVoltage.jl}{235}\protected@file@percent } \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{236}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{236}\protected@file@percent } -\newlabel{168@xvr}{{}{236}} -\newlabel{168@vr}{{}{236}} +\newlabel{163@xvr}{{}{236}} +\newlabel{163@vr}{{}{236}} \newlabel{julia:modbus-power}{{11.{3}}{236}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readPower.jl}{236}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{236}\protected@file@percent } @@ -1553,21 +1543,21 @@ \@writefile{OpenModelicad}{\addvspace {10pt}} \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{236}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{236}\protected@file@percent } -\newlabel{169@xvr}{{}{236}} -\newlabel{169@vr}{{}{236}} +\newlabel{164@xvr}{{}{236}} +\newlabel{164@vr}{{}{236}} \newlabel{OpenModelica:current-modbus}{{11.{1}}{236}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readCurrent.mo}{236}\protected@file@percent } \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{236}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{236}\protected@file@percent } -\newlabel{170@xvr}{{}{236}} -\newlabel{170@vr}{{}{236}} +\newlabel{165@xvr}{{}{236}} +\newlabel{165@vr}{{}{236}} \newlabel{OpenModelica:voltage-modbus}{{11.{2}}{236}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readVoltage.mo}{236}\protected@file@percent } \bibdata{bibliography.bib} \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{237}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{237}\protected@file@percent } -\newlabel{171@xvr}{{}{237}} -\newlabel{171@vr}{{}{237}} +\newlabel{166@xvr}{{}{237}} +\newlabel{166@vr}{{}{237}} \newlabel{OpenModelica:modbus-power}{{11.{3}}{237}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readPower.mo}{237}\protected@file@percent } \bibcite{CNES-Scilab}{1} diff --git a/floss-arduino.fdb_latexmk b/floss-arduino.fdb_latexmk index 590b596..6e308e1 100644 --- a/floss-arduino.fdb_latexmk +++ b/floss-arduino.fdb_latexmk @@ -1,19 +1,19 @@ # Fdb version 3 -["bibtex floss-arduino"] 1620022096 "floss-arduino.aux" "floss-arduino.bbl" "floss-arduino" 1620023379 +["bibtex floss-arduino"] 1620042582 "floss-arduino.aux" "floss-arduino.bbl" "floss-arduino" 1620042626 "/usr/share/texlive/texmf-dist/bibtex/bst/base/unsrt.bst" 1292289607 18030 1376b4b231b50c66211e47e42eda2875 "" "bibliography.bib" 1619993144 4331 898f586dba696884b42be7c094b1315e "" - "floss-arduino.aux" 1620023378 137803 8bfc645d97fee466fb695739418c3ea0 "pdflatex" + "floss-arduino.aux" 1620042590 137528 54879f0db1c0fba05ce7e11e0d8ed652 "pdflatex" (generated) - "floss-arduino.bbl" "floss-arduino.blg" -["makeindex floss-arduino.idx"] 1620022062 "floss-arduino.idx" "floss-arduino.ind" "floss-arduino" 1620023379 - "floss-arduino.idx" 1620023378 187 dcf8a889d1a3d335c15321e8b47c70af "pdflatex" + "floss-arduino.bbl" +["makeindex floss-arduino.idx"] 1620022062 "floss-arduino.idx" "floss-arduino.ind" "floss-arduino" 1620042626 + "floss-arduino.idx" 1620042590 187 dcf8a889d1a3d335c15321e8b47c70af "pdflatex" (generated) "floss-arduino.ilg" "floss-arduino.ind" -["pdflatex"] 1620023367 "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" "floss-arduino" 1620023379 +["pdflatex"] 1620042582 "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" "floss-arduino" 1620042626 "/etc/texmf/web2c/texmf.cnf" 1602253014 475 c0e671620eb5563b2130f56340a5fde8 "" - "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.aux" 1620023378 137803 8bfc645d97fee466fb695739418c3ea0 "" + "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.aux" 1620042590 137528 54879f0db1c0fba05ce7e11e0d8ed652 "" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" 1619403261 4558 99e8133d713ce68a01e2f2b59b0d6baf "" "/usr/share/texlive/texmf-dist/fonts/enc/dvips/base/8r.enc" 1165713224 4850 80dc9bab7f31fb78a000ccfed0e27cab "" "/usr/share/texlive/texmf-dist/fonts/map/fontname/texfonts.map" 1577235249 3524 cb3e574dea2d1052e39280babc910dc8 "" @@ -138,18 +138,18 @@ "/usr/share/texmf/web2c/texmf.cnf" 1581979058 38841 ce3692aa899bb693b90b87eaa5d4d84e "" "/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map" 1604540077 4770781 1ed1abab22da9c3e2cc82e4db562318b "" "/var/lib/texmf/web2c/pdftex/pdflatex.fmt" 1604540101 8258883 e8330f8aa4fe7c6cdcf08bf0b72237fd "" - "floss-arduino.OpenModelicad" 1620023378 2303 51deaa312371307adb5901ac4366a580 "pdflatex" - "floss-arduino.ard" 1620023378 2081 dda8c65de0d2953bf41194263fe92b4b "pdflatex" - "floss-arduino.aux" 1620023378 137803 8bfc645d97fee466fb695739418c3ea0 "pdflatex" - "floss-arduino.bbl" 1620022097 2782 f2a4ed925cf6e3e12688ffdf458c1df4 "bibtex floss-arduino" - "floss-arduino.cod" 1620023378 2505 8dab91c620da18100f500ed55bdfe272 "pdflatex" + "floss-arduino.OpenModelicad" 1620042590 2303 51deaa312371307adb5901ac4366a580 "pdflatex" + "floss-arduino.ard" 1620042590 2081 dda8c65de0d2953bf41194263fe92b4b "pdflatex" + "floss-arduino.aux" 1620042590 137528 54879f0db1c0fba05ce7e11e0d8ed652 "pdflatex" + "floss-arduino.bbl" 1620042582 2782 f2a4ed925cf6e3e12688ffdf458c1df4 "bibtex floss-arduino" + "floss-arduino.cod" 1620042590 2505 8dab91c620da18100f500ed55bdfe272 "pdflatex" "floss-arduino.ind" 1620022062 228 3b82961b4e725f6037e1e500c4583f23 "makeindex floss-arduino.idx" - "floss-arduino.juliad" 1620023378 2337 fad3bb9035b746182d84a708d50b7809 "pdflatex" - "floss-arduino.lof" 1620023378 13306 e9531397268dcf377d3faebedb06e646 "pdflatex" - "floss-arduino.lot" 1620023378 3702 a9bb81bf6b50f71cc0c5d9311f440fa2 "pdflatex" - "floss-arduino.pyd" 1620023378 2332 d7197865bf1d028ba5b9cbe19639e8b0 "pdflatex" + "floss-arduino.juliad" 1620042590 2337 fad3bb9035b746182d84a708d50b7809 "pdflatex" + "floss-arduino.lof" 1620042590 13306 e9531397268dcf377d3faebedb06e646 "pdflatex" + "floss-arduino.lot" 1620042590 3702 a9bb81bf6b50f71cc0c5d9311f440fa2 "pdflatex" + "floss-arduino.pyd" 1620042590 2332 d7197865bf1d028ba5b9cbe19639e8b0 "pdflatex" "floss-arduino.tex" 1619403261 4558 99e8133d713ce68a01e2f2b59b0d6baf "" - "floss-arduino.toc" 1620023378 15730 9598f17f17df2a32992f73e792130ac1 "pdflatex" + "floss-arduino.toc" 1620042590 15730 9598f17f17df2a32992f73e792130ac1 "pdflatex" "suppl/acr.tex" 1615963613 1926 fd6481c4666ee0d60331b7d4cc24b645 "" "suppl/intro.tex" 1615963613 3437 b09628cf9e20fe17fa65b37a5997653c "" "suppl/styles.tex" 1615963613 8143 aa3280f0b59c8631fe8ec44895c9e871 "" @@ -211,7 +211,7 @@ "user-code/ldr/figures/ldr_sym.png" 1615963614 29267 73b70e220429569a98caa86348349aa1 "" "user-code/ldr/julia/ldr-led.jl" 1619893631 309 6120f21761a761fee1f0c75aea7f2c4b "" "user-code/ldr/julia/ldr-read.jl" 1619893494 183 4091d446a9adbb94d781d09d5b88abdb "" - "user-code/ldr/ldr.tex" 1620002657 37062 3171dbd9f43010995d720b55f3a1cc47 "" + "user-code/ldr/ldr.tex" 1620042399 37384 4a65642db4111da2bfe00fdd2c0a0d50 "" "user-code/ldr/python/ldr-led.py" 1619892876 881 dbda35c83c7ff7483db6c9bd8a6b3a63 "" "user-code/ldr/python/ldr-read.py" 1619892935 690 aa838d76cfdd26b26fb76e669b4ff0dd "" "user-code/ldr/scilab/ldr-led.sce" 1619881130 474 be365b56cb8d934670aab6d7d4b2e04b "" @@ -282,7 +282,7 @@ "user-code/pot/figures/potmeter.png" 1615963614 99691 b56662d8570cfc9c91c52b76f21d1802 "" "user-code/pot/figures/schematic.png" 1615963614 24453 85099648f5c8e616d3cfd5f3d6d7a7bf "" "user-code/pot/julia/pot-threshold.jl" 1619917640 666 ee2cca05c3aaac1752a20237fe72bf38 "" - "user-code/pot/pot.tex" 1619921643 20544 41bb6d8b92381a37113ebdb143ed16ac "" + "user-code/pot/pot.tex" 1620042458 20846 066f79113ebe74df08ca58d9889efde1 "" "user-code/pot/python/pot-threshold.py" 1619917118 1192 57f2bbe05f09be305d373bbef1784fc9 "" "user-code/pot/scilab/pot-threshold.sce" 1619912741 682 700456e60fd54275fc23243a476cc8cc "" "user-code/push/OpenModelica/led-push-button.mo" 1620023350 1226 c823f27eb8ddafbc85d7beeeab95e952 "" @@ -387,20 +387,20 @@ "user-code/thermistor/python/therm-read.py" 1620002454 748 cba86aade80fa8215987d3707938af4c "" "user-code/thermistor/scilab/therm-buzzer.sce" 1619998577 499 2136a058a640f1e79d01d3145f53ccb2 "" "user-code/thermistor/scilab/therm-read.sce" 1619998644 399 3d4d94a3003c16014a51200a9b472b66 "" - "user-code/thermistor/thermistor.tex" 1620004224 41305 bda4a0b00891126e6a0ed71437360cac "" + "user-code/thermistor/thermistor.tex" 1620042625 41635 286189559655aa559d67fda49282e2f8 "" (generated) - "floss-arduino.idx" - "floss-arduino.cod" - "floss-arduino.log" - "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" - "floss-arduino.lot" - "floss-arduino.pdf" "floss-arduino.pyd" - "floss-arduino.toc" - "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.log" + "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" "floss-arduino.lof" - "floss-arduino.ard" - "floss-arduino.OpenModelicad" + "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.log" "floss-arduino.aux" + "floss-arduino.pdf" + "floss-arduino.idx" + "floss-arduino.ard" + "floss-arduino.cod" "floss-arduino.thm" + "floss-arduino.OpenModelicad" + "floss-arduino.toc" + "floss-arduino.log" "floss-arduino.juliad" + "floss-arduino.lot" diff --git a/floss-arduino.log b/floss-arduino.log index 67526c0..5b096d6 100644 --- a/floss-arduino.log +++ b/floss-arduino.log @@ -1,4 +1,4 @@ -This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex 2020.11.5) 3 MAY 2021 12:00 +This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex 2020.11.5) 3 MAY 2021 17:29 entering extended mode restricted \write18 enabled. %&-line parsing enabled. @@ -1824,9 +1824,7 @@ mo) [131] (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr-read. mo [132]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr-led.m -o)) (./user-code/pot/pot.tex [133] [134 - -] +o) [133]) (./user-code/pot/pot.tex [134] Chapter 7. </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/potmeter.png, id=659, 1576.38937pt x 1305.37688pt> @@ -1846,9 +1844,11 @@ png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/po t/figures/schematic.png used on input line 68. (pdftex.def) Requested size: 178.86702pt x 179.73206pt. -[135] [136 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/pot -meter.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/sch -ematic.png>] +[135 + +] [136 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/potmete +r.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/schemat +ic.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/POT-led-bb.png , id=669, 453.695pt x 243.309pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/POT-led-b @@ -1927,12 +1927,18 @@ old. Avail- hold.mo) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot-thres hold.mo) [146] -Overfull \hbox (7.95369pt too wide) in paragraph at lines 416--420 +Overfull \hbox (7.95369pt too wide) in paragraph at lines 420--424 []\T1/cmr/m/n/10.95 Turning on LEDs de-pend-ing on the po-ten-tiome-ter thresh- [] +Overfull \hbox (24.30972pt too wide) in paragraph at lines 420--424 +\T1/cmr/m/n/10.95 old. Avail-able at Ar-duino -> Se-ri-al-Com-mu-ni-ca-tion -> +Ex-am-ples -> pot -> pot_threshold. + [] + + (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot-thres hold.mo [147])) (./user-code/thermistor/thermistor.tex [148] Chapter 8. @@ -2604,10 +2610,10 @@ LaTeX Warning: There were multiply-defined labels. ) Here is how much of TeX's memory you used: - 9859 strings out of 481239 - 220042 string characters out of 5920377 + 9849 strings out of 481239 + 219957 string characters out of 5920377 742688 words of memory out of 5000000 - 24304 multiletter control sequences out of 15000+600000 + 24294 multiletter control sequences out of 15000+600000 554670 words of font info for 69 fonts, out of 8000000 for 9000 1143 hyphenation exceptions out of 8191 50i,11n,53p,363b,1777s stack positions out of 5000i,500n,10000p,200000b,80000s @@ -2634,7 +2640,7 @@ sr/share/texmf/fonts/type1/public/cm-super/sfrm1000.pfb></usr/share/texmf/fonts /type1/public/cm-super/sfrm1095.pfb></usr/share/texmf/fonts/type1/public/cm-sup er/sfsi1095.pfb></usr/share/texmf/fonts/type1/public/cm-super/sfss1095.pfb></us r/share/texmf/fonts/type1/public/cm-super/sfti1095.pfb> -Output written on floss-arduino.pdf (264 pages, 21056445 bytes). +Output written on floss-arduino.pdf (264 pages, 21056751 bytes). PDF statistics: 1168 PDF objects out of 1200 (max. 8388607) 681 compressed objects within 7 object streams diff --git a/floss-arduino.pdf b/floss-arduino.pdf Binary files differindex 11c56aa..db714e8 100644 --- a/floss-arduino.pdf +++ b/floss-arduino.pdf diff --git a/user-code/ldr/ldr.tex b/user-code/ldr/ldr.tex index 9bb0208..2bd53b7 100644 --- a/user-code/ldr/ldr.tex +++ b/user-code/ldr/ldr.tex @@ -659,13 +659,17 @@ The reader should go through the instructions given in \end{enumerate}
\subsection{OpenModelica Code}
+Unlike other code files, the code/ model for running experiments using OpenModelica are
+available inside the OpenModelica-Arduino toolbox, as explained in \secref{sec:load-om-toolbox}.
+Please refer to \figref{om-examples-toolbox} to know how to locate the experiments.
+
\label{sec:ldr-OpenModelica-code}
\addtocontents{OpenModelicad}{\protect\addvspace{\codclr}}
\begin{OpenModelicacode}
\mcaption{Read and display the LDR values}
{Read and display the LDR values. Available at
- \LocLDROpenModelicabrief{ldr-read.mo}.}
+ Arduino -> SerialCommunication -> Examples -> ldr -> ldr\_read.}
\label{OpenModelica:ldr-read}
\lstinputlisting{\LocLDROpenModelicacode/ldr-read.mo}
\end{OpenModelicacode}
@@ -673,7 +677,7 @@ The reader should go through the instructions given in \begin{OpenModelicacode}
\mcaption{Turning the red LED on and off}
{Turning the red LED on and off. Available at
- \LocLDROpenModelicabrief{ldr-led.mo}.}
+ Arduino -> SerialCommunication -> Examples -> ldr -> ldr\_led.}
\label{OpenModelica:ldr-led}
\lstinputlisting{\LocLDROpenModelicacode/ldr-led.mo}
\end{OpenModelicacode}
diff --git a/user-code/pot/pot.tex b/user-code/pot/pot.tex index 482a461..37babf4 100644 --- a/user-code/pot/pot.tex +++ b/user-code/pot/pot.tex @@ -409,13 +409,17 @@ While running this experiment, the readers must rotate the knob of the potentiometer and observe
the change in the color of the RGB LED.
\subsection{OpenModelica Code}
+Unlike other code files, the code/ model for running experiments using OpenModelica are
+available inside the OpenModelica-Arduino toolbox, as explained in \secref{sec:load-om-toolbox}.
+Please refer to \figref{om-examples-toolbox} to know how to locate the experiments.
+
\label{sec:pot-OpenModelica-code}
\addtocontents{OpenModelicad}{\protect\addvspace{\codclr}}
\begin{OpenModelicacode}
\mcaption{Turning on LEDs depending on the potentiometer
threshold}{Turning on LEDs depending on the potentiometer
- threshold. Available at
- \LocPotOpenModelicabrief{pot-threshold.mo}.}
+ threshold. Available at Arduino -> SerialCommunication ->
+ Examples -> pot -> pot\_threshold.}
\label{OpenModelica:pot-100}
\lstinputlisting{\LocPotOpenModelicacode/pot-threshold.mo}
\end{OpenModelicacode}
diff --git a/user-code/thermistor/thermistor.tex b/user-code/thermistor/thermistor.tex index 40b7c83..fd26fe1 100644 --- a/user-code/thermistor/thermistor.tex +++ b/user-code/thermistor/thermistor.tex @@ -755,13 +755,18 @@ The reader should go through the instructions given in \end{enumerate} \subsection{OpenModelica Code} +Unlike other code files, the code/ model for running experiments using OpenModelica are +available inside the OpenModelica-Arduino toolbox, as explained in \secref{sec:load-om-toolbox}. +Please refer to \figref{om-examples-toolbox} to know how to locate the experiments. + \label{sec:therm-OpenModelica-code} \addtocontents{OpenModelicad}{\protect\addvspace{\codclr}} \begin{OpenModelicacode} \mcaption{Read and display the thermistor values} {Read and display the thermistor values. Available at - \LocTHERMOpenModelicabrief{therm-read.mo}.} + Arduino -> SerialCommunication -> + Examples -> push -> therm\_read.} \label{OpenModelica:therm-read} \lstinputlisting{\LocTHERMOpenModelicacode/therm-read.mo} \end{OpenModelicacode} @@ -769,7 +774,9 @@ The reader should go through the instructions given in \begin{OpenModelicacode} \mcaption{Turning the buzzer on and off using thermistor values} {Turning the buzzer on and off using the thermistor values read by - ADC. Available at \LocTHERMOpenModelicabrief{therm-buzzer.mo}.} + ADC. Available at + Arduino -> SerialCommunication -> + Examples -> push -> therm\_buzzer.} \label{OpenModelica:therm-buzzer} \lstinputlisting{\LocTHERMOpenModelicacode/therm-buzzer.mo} \end{OpenModelicacode} |