diff options
author | SudhakarKuma | 2021-05-25 05:56:40 +0530 |
---|---|---|
committer | SudhakarKuma | 2021-05-25 05:56:40 +0530 |
commit | 3e2ac81f94213a1c8e2f46fda74f094cd8b6b0ff (patch) | |
tree | 55201d83411c0a394e1b4301658c8fa77b6ac6a9 | |
parent | 3d10317d04c8f86ef44d41189f243213bf951a19 (diff) | |
download | FLOSS-Arduino-Book-3e2ac81f94213a1c8e2f46fda74f094cd8b6b0ff.tar.gz FLOSS-Arduino-Book-3e2ac81f94213a1c8e2f46fda74f094cd8b6b0ff.tar.bz2 FLOSS-Arduino-Book-3e2ac81f94213a1c8e2f46fda74f094cd8b6b0ff.zip |
Update Julia book
-rw-r--r-- | floss-arduino.OpenModelicad | 2 | ||||
-rw-r--r-- | floss-arduino.ard | 2 | ||||
-rw-r--r-- | floss-arduino.aux | 110 | ||||
-rw-r--r-- | floss-arduino.cod | 2 | ||||
-rw-r--r-- | floss-arduino.fdb_latexmk | 72 | ||||
-rw-r--r-- | floss-arduino.juliad | 6 | ||||
-rw-r--r-- | floss-arduino.log | 116 | ||||
-rw-r--r-- | floss-arduino.lot | 4 | ||||
-rw-r--r-- | floss-arduino.pdf | bin | 31877233 -> 31877265 bytes | |||
-rw-r--r-- | floss-arduino.tex | 2 | ||||
-rw-r--r-- | floss-arduino.thm | 12 | ||||
-rw-r--r-- | floss-arduino.toc | 20 | ||||
-rw-r--r-- | indent.log | 4 | ||||
-rw-r--r-- | julia-floss-arduino.pdf | bin | 24104281 -> 24103686 bytes | |||
-rw-r--r-- | user-code/dcmotor/dcmotor-base.tex | 6 | ||||
-rw-r--r-- | user-code/led/led-base.tex | 4 | ||||
-rw-r--r-- | user-code/modbus/modbus-julia.tex | 5 | ||||
-rw-r--r-- | user-code/servo/servo-base.tex | 4 | ||||
-rw-r--r-- | user-code/sw-env/sw-env-base.tex | 9 | ||||
-rw-r--r-- | user-code/sw-env/sw-env-julia.tex | 8 |
20 files changed, 191 insertions, 197 deletions
diff --git a/floss-arduino.OpenModelicad b/floss-arduino.OpenModelicad index 545b091..e4e0741 100644 --- a/floss-arduino.OpenModelicad +++ b/floss-arduino.OpenModelicad @@ -17,7 +17,7 @@ \contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{172}{OpenModelicamass.8.2}% \addvspace {10pt} \contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{198}{OpenModelicamass.9.1}% -\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{199}{OpenModelicamass.9.2}% +\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{198}{OpenModelicamass.9.2}% \contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{199}{OpenModelicamass.9.3}% \contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{200}{OpenModelicamass.9.4}% \addvspace {10pt} diff --git a/floss-arduino.ard b/floss-arduino.ard index e2cc273..21799af 100644 --- a/floss-arduino.ard +++ b/floss-arduino.ard @@ -17,7 +17,7 @@ \contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{155}{ardmass.8.2}% \addvspace {10pt} \contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{178}{ardmass.9.1}% -\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{179}{ardmass.9.2}% +\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{178}{ardmass.9.2}% \contentsline {section}{\numberline {9.{3}}Rotating the servomotor in increments}{179}{ardmass.9.3}% \contentsline {section}{\numberline {9.{4}}Rotating the servomotor through the potentiometer}{179}{ardmass.9.4}% \addvspace {10pt} diff --git a/floss-arduino.aux b/floss-arduino.aux index 24f4627..ac9167b 100644 --- a/floss-arduino.aux +++ b/floss-arduino.aux @@ -1079,7 +1079,7 @@ \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{176}{lstlisting.9.-151}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{176}{lstlisting.9.-152}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{176}{lstlisting.9.-153}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{177}{lstlisting.9.-154}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{176}{lstlisting.9.-154}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash reverse/servo\textendash reverse.ino}{177}{lstlisting.9.-155}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash pot/servo\textendash pot.ino}{177}{lstlisting.9.-156}\protected@file@percent } \@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{1}}{}}{178}{egmass.9.1}\protected@file@percent } @@ -1092,11 +1092,11 @@ \newlabel{90@vr}{{}{178}} \newlabel{ard:servo-init}{{9.{1}}{178}{Arduino Code}{ardmass.9.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{178}{lstlisting.9.-157}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{179}{ardmass.9.2}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{179}{ardmass.9.2}\protected@file@percent } -\newlabel{91@xvr}{{}{179}} -\newlabel{91@vr}{{}{179}} -\newlabel{ard:servo-reverse}{{9.{2}}{179}{Arduino Code}{ardmass.9.2}{}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{178}{ardmass.9.2}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{178}{ardmass.9.2}\protected@file@percent } +\newlabel{91@xvr}{{}{178}} +\newlabel{91@vr}{{}{178}} +\newlabel{ard:servo-reverse}{{9.{2}}{178}{Arduino Code}{ardmass.9.2}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash reverse/servo\textendash reverse.ino}{179}{lstlisting.9.-158}\protected@file@percent } \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{3}}{}}{179}{ardmass.9.3}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in increments}{179}{ardmass.9.3}\protected@file@percent } @@ -1138,15 +1138,15 @@ \newlabel{96@vr}{{}{182}} \newlabel{sci:servo-loop}{{9.{3}}{182}{Scilab Code}{codemass.9.3}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash loop.sce}{182}{lstlisting.9.-167}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{4}}{}}{182}{codemass.9.4}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{182}{codemass.9.4}\protected@file@percent } +\newlabel{97@xvr}{{}{182}} +\newlabel{97@vr}{{}{182}} +\newlabel{sci:servo-pot}{{9.{4}}{182}{Scilab Code}{codemass.9.4}{}} \@writefile{lot}{\contentsline {table}{\numberline {9.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{183}{table.caption.130}\protected@file@percent } \newlabel{tab:servo-init}{{9.2}{183}{Parameters to rotate the servomotor by $30^\circ $\relax }{table.caption.130}{}} \newlabel{100@xvr}{{}{183}} \newlabel{100@vr}{{}{183}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{4}}{}}{183}{codemass.9.4}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{183}{codemass.9.4}\protected@file@percent } -\newlabel{97@xvr}{{}{183}} -\newlabel{97@vr}{{}{183}} -\newlabel{sci:servo-pot}{{9.{4}}{183}{Scilab Code}{codemass.9.4}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{183}{lstlisting.9.-168}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {9.5}Controling the servomotor through Xcos}{183}{section.9.5}\protected@file@percent } \newlabel{sec:servo-xcos}{{9.5}{183}{Controling the servomotor through Xcos}{section.9.5}{}} @@ -1154,14 +1154,14 @@ \newlabel{99@xvr}{{}{184}} \newlabel{99@vr}{{}{184}} \newlabel{fig:servo-init}{{9.4}{184}{Rotating the servomotor by a fixed angle}{figure.caption.129}{}} +\@writefile{lot}{\contentsline {table}{\numberline {9.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{184}{table.caption.132}\protected@file@percent } +\newlabel{tab:servo-reverse}{{9.3}{184}{Parameters to rotate the servomotor forward and reverse\relax }{table.caption.132}{}} +\newlabel{103@xvr}{{}{184}} +\newlabel{103@vr}{{}{184}} \@writefile{lof}{\contentsline {figure}{\numberline {9.5}{\ignorespaces Rotating the servomotor forward and then reverse}}{185}{figure.caption.131}\protected@file@percent } \newlabel{102@xvr}{{}{185}} \newlabel{102@vr}{{}{185}} \newlabel{fig:servo-reverse}{{9.5}{185}{Rotating the servomotor forward and then reverse}{figure.caption.131}{}} -\@writefile{lot}{\contentsline {table}{\numberline {9.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{185}{table.caption.132}\protected@file@percent } -\newlabel{tab:servo-reverse}{{9.3}{185}{Parameters to rotate the servomotor forward and reverse\relax }{table.caption.132}{}} -\newlabel{103@xvr}{{}{185}} -\newlabel{103@vr}{{}{185}} \@writefile{lof}{\contentsline {figure}{\numberline {9.6}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{186}{figure.caption.133}\protected@file@percent } \newlabel{105@xvr}{{}{186}} \newlabel{105@vr}{{}{186}} @@ -1178,9 +1178,9 @@ \newlabel{tab:servo-pot}{{9.5}{187}{Parameters to rotate the servomotor based on the input from the potentiometer\relax }{table.caption.136}{}} \newlabel{109@xvr}{{}{187}} \newlabel{109@vr}{{}{187}} -\@writefile{toc}{\contentsline {section}{\numberline {9.6}Controlling the servomotor through Python}{188}{section.9.6}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.1}Controlling the servomotor}{188}{subsection.9.6.1}\protected@file@percent } -\newlabel{sec:servo-py}{{9.6.1}{188}{Controlling the servomotor}{subsection.9.6.1}{}} +\@writefile{toc}{\contentsline {section}{\numberline {9.6}Controlling the servomotor through Python}{187}{section.9.6}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.1}Controlling the servomotor}{187}{subsection.9.6.1}\protected@file@percent } +\newlabel{sec:servo-py}{{9.6.1}{187}{Controlling the servomotor}{subsection.9.6.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{188}{lstlisting.9.-169}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{188}{lstlisting.9.-170}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash reverse.py}{188}{lstlisting.9.-171}\protected@file@percent } @@ -1219,14 +1219,14 @@ \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{193}{lstlisting.9.-178}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash reverse.jl}{194}{lstlisting.9.-179}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{194}{lstlisting.9.-180}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.2}Julia Code}{195}{subsection.9.7.2}\protected@file@percent } -\newlabel{sec:servo-julia-code}{{9.7.2}{195}{Julia Code}{subsection.9.7.2}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.2}Julia Code}{194}{subsection.9.7.2}\protected@file@percent } +\newlabel{sec:servo-julia-code}{{9.7.2}{194}{Julia Code}{subsection.9.7.2}{}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{195}{juliamass.9.1}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{195}{juliamass.9.1}\protected@file@percent } -\newlabel{114@xvr}{{}{195}} -\newlabel{114@vr}{{}{195}} -\newlabel{julia:servo-init}{{9.{1}}{195}{Julia Code}{juliamass.9.1}{}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{194}{juliamass.9.1}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{194}{juliamass.9.1}\protected@file@percent } +\newlabel{114@xvr}{{}{194}} +\newlabel{114@vr}{{}{194}} +\newlabel{julia:servo-init}{{9.{1}}{194}{Julia Code}{juliamass.9.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{195}{lstlisting.9.-181}\protected@file@percent } \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{195}{juliamass.9.2}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{195}{juliamass.9.2}\protected@file@percent } @@ -1240,17 +1240,17 @@ \newlabel{116@vr}{{}{195}} \newlabel{julia:servo-loop}{{9.{3}}{195}{Julia Code}{juliamass.9.3}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash loop.jl}{195}{lstlisting.9.-183}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{4}}{}}{196}{juliamass.9.4}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{196}{juliamass.9.4}\protected@file@percent } -\newlabel{117@xvr}{{}{196}} -\newlabel{117@vr}{{}{196}} -\newlabel{julia:servo-pot}{{9.{4}}{196}{Julia Code}{juliamass.9.4}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{196}{lstlisting.9.-184}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{4}}{}}{195}{juliamass.9.4}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{195}{juliamass.9.4}\protected@file@percent } +\newlabel{117@xvr}{{}{195}} +\newlabel{117@vr}{{}{195}} +\newlabel{julia:servo-pot}{{9.{4}}{195}{Julia Code}{juliamass.9.4}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{195}{lstlisting.9.-184}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {9.8}Controlling the servomotor through OpenModelica}{196}{section.9.8}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {9.8.1}Controlling the servomotor}{196}{subsection.9.8.1}\protected@file@percent } \newlabel{sec:servo-OpenModelica}{{9.8.1}{196}{Controlling the servomotor}{subsection.9.8.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{196}{lstlisting.9.-185}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{197}{lstlisting.9.-186}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{196}{lstlisting.9.-186}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash reverse.mo}{197}{lstlisting.9.-187}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash pot.mo}{197}{lstlisting.9.-188}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{198}{subsection.9.8.2}\protected@file@percent } @@ -1260,9 +1260,9 @@ \@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{198}{OpenModelicamass.9.1}\protected@file@percent } \newlabel{OpenModelica:servo-init}{{9.{1}}{198}{OpenModelica Code}{OpenModelicamass.9.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{198}{lstlisting.9.-189}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{199}{OpenModelicamass.9.2}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{199}{OpenModelicamass.9.2}\protected@file@percent } -\newlabel{OpenModelica:servo-reverse}{{9.{2}}{199}{OpenModelica Code}{OpenModelicamass.9.2}{}} +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{198}{OpenModelicamass.9.2}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{198}{OpenModelicamass.9.2}\protected@file@percent } +\newlabel{OpenModelica:servo-reverse}{{9.{2}}{198}{OpenModelica Code}{OpenModelicamass.9.2}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash reverse.mo}{199}{lstlisting.9.-190}\protected@file@percent } \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{3}}{}}{199}{OpenModelicamass.9.3}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{199}{OpenModelicamass.9.3}\protected@file@percent } @@ -1280,8 +1280,8 @@ \@writefile{toc}{\contentsline {section}{\numberline {10.1}Preliminaries}{203}{section.10.1}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {10.1}{\ignorespaces L293D motor driver board\relax }}{204}{figure.caption.137}\protected@file@percent } \newlabel{fig:motordriverboard}{{10.1}{204}{L293D motor driver board\relax }{figure.caption.137}{}} -\@writefile{lot}{\contentsline {table}{\numberline {10.1}{\ignorespaces Values in the Scilab\ command for different H-Bridge circuits\relax }}{204}{table.caption.138}\protected@file@percent } -\newlabel{table:convention}{{10.1}{204}{Values in the \scilab \ command for different H-Bridge circuits\relax }{table.caption.138}{}} +\@writefile{lot}{\contentsline {table}{\numberline {10.1}{\ignorespaces Values to be passed for different H-Bridge circuits\relax }}{204}{table.caption.138}\protected@file@percent } +\newlabel{table:convention}{{10.1}{204}{Values to be passed for different H-Bridge circuits\relax }{table.caption.138}{}} \@writefile{lof}{\contentsline {figure}{\numberline {10.2}{\ignorespaces PWM pins on an Arduino Uno\ board\relax }}{205}{figure.caption.139}\protected@file@percent } \newlabel{fig:uno-pwm}{{10.2}{205}{PWM pins on an \arduino \ board\relax }{figure.caption.139}{}} \@writefile{toc}{\contentsline {section}{\numberline {10.2}Controlling the DC motor from Arduino}{205}{section.10.2}\protected@file@percent } @@ -1291,7 +1291,7 @@ \newlabel{fig:dcm-schematic}{{10.3}{206}{A schematic of DC motor connections\relax }{figure.caption.140}{}} \@writefile{lof}{\contentsline {figure}{\numberline {10.4}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{206}{figure.caption.141}\protected@file@percent } \newlabel{fig:dcmotorconn}{{10.4}{206}{How to connect the DC motor to the \arduino \ board\relax }{figure.caption.141}{}} -\@writefile{toc}{\contentsline {paragraph}{Note:}{207}{section*.142}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{206}{section*.142}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{207}{lstlisting.10.-193}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{207}{lstlisting.10.-194}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{207}{lstlisting.10.-195}\protected@file@percent } @@ -1312,16 +1312,16 @@ \newlabel{119@xvr}{{}{208}} \newlabel{119@vr}{{}{208}} \newlabel{ard:dcmotor-both}{{10.{2}}{208}{Arduino Code}{ardmass.10.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash both/dcmotor\textendash both.ino}{209}{lstlisting.10.-199}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash both/dcmotor\textendash both.ino}{208}{lstlisting.10.-199}\protected@file@percent } \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{209}{ardmass.10.3}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{209}{ardmass.10.3}\protected@file@percent } \newlabel{120@xvr}{{}{209}} \newlabel{120@vr}{{}{209}} \newlabel{ard:dcmotor-loop}{{10.{3}}{209}{Arduino Code}{ardmass.10.3}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash loop/dcmotor\textendash loop.ino}{209}{lstlisting.10.-200}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.3}Controlling the DC motor from Scilab}{210}{section.10.3}\protected@file@percent } -\newlabel{sec:dcm-sci}{{10.3}{210}{Controlling the DC motor from Scilab}{section.10.3}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.1}Controlling the DC motor}{210}{subsection.10.3.1}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.3}Controlling the DC motor from Scilab}{209}{section.10.3}\protected@file@percent } +\newlabel{sec:dcm-sci}{{10.3}{209}{Controlling the DC motor from Scilab}{section.10.3}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.1}Controlling the DC motor}{209}{subsection.10.3.1}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{Note:}{210}{section*.143}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{210}{lstlisting.10.-202}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{211}{lstlisting.10.-204}\protected@file@percent } @@ -1329,7 +1329,7 @@ \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{211}{lstlisting.10.-206}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{Note:}{211}{section*.144}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{211}{lstlisting.10.-207}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{212}{lstlisting.10.-208}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{211}{lstlisting.10.-208}\protected@file@percent } \@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{2}}{}}{212}{egmass.10.2}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{212}{subsection.10.3.2}\protected@file@percent } \newlabel{sec:dcmotor-scilab-code}{{10.3.2}{212}{Scilab Code}{subsection.10.3.2}{}} @@ -1345,7 +1345,7 @@ \newlabel{122@xvr}{{}{212}} \newlabel{122@vr}{{}{212}} \newlabel{sci:dcmotor-both}{{10.{2}}{212}{Scilab Code}{codemass.10.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{213}{lstlisting.10.-210}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{212}{lstlisting.10.-210}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{213}{codemass.10.3}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{213}{codemass.10.3}\protected@file@percent } \newlabel{123@xvr}{{}{213}} @@ -1374,18 +1374,18 @@ \newlabel{131@vr}{{}{216}} \newlabel{fig:dcmotor-loop}{{10.7}{216}{Xcos control of the DC motor in both directions in a loop}{figure.caption.149}{}} \@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{3}}{}}{216}{egmass.10.3}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.5}Controlling the DC motor from Python}{216}{section.10.5}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.1}Controlling the DC motor}{216}{subsection.10.5.1}\protected@file@percent } \@writefile{lot}{\contentsline {table}{\numberline {10.4}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{217}{table.caption.150}\protected@file@percent } \newlabel{tab:dcmotor-loop}{{10.4}{217}{Xcos parameters to drive the DC motor in a loop\relax }{table.caption.150}{}} \newlabel{132@xvr}{{}{217}} \newlabel{132@vr}{{}{217}} -\@writefile{toc}{\contentsline {section}{\numberline {10.5}Controlling the DC motor from Python}{217}{section.10.5}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.1}Controlling the DC motor}{217}{subsection.10.5.1}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{Note:}{217}{section*.151}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash clock.py}{218}{lstlisting.10.-213}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash clock.py}{218}{lstlisting.10.-215}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash clock.py}{218}{lstlisting.10.-216}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash clock.py}{218}{lstlisting.10.-217}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{219}{section*.152}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{218}{section*.152}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash both.py}{219}{lstlisting.10.-218}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash both.py}{219}{lstlisting.10.-219}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {10.5.2}Python Code}{219}{subsection.10.5.2}\protected@file@percent } @@ -1415,18 +1415,18 @@ \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{223}{lstlisting.10.-224}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{223}{lstlisting.10.-226}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{223}{lstlisting.10.-227}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{224}{lstlisting.10.-228}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{223}{lstlisting.10.-228}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{Note:}{224}{section*.154}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash both.jl}{224}{lstlisting.10.-229}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash both.jl}{224}{lstlisting.10.-230}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.2}Julia Code}{225}{subsection.10.6.2}\protected@file@percent } -\newlabel{sec:dcmotor-julia-code}{{10.6.2}{225}{Julia Code}{subsection.10.6.2}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.2}Julia Code}{224}{subsection.10.6.2}\protected@file@percent } +\newlabel{sec:dcmotor-julia-code}{{10.6.2}{224}{Julia Code}{subsection.10.6.2}{}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{225}{juliamass.10.1}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{225}{juliamass.10.1}\protected@file@percent } -\newlabel{136@xvr}{{}{225}} -\newlabel{136@vr}{{}{225}} -\newlabel{julia:dcmotor-clock}{{10.{1}}{225}{Julia Code}{juliamass.10.1}{}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{224}{juliamass.10.1}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{224}{juliamass.10.1}\protected@file@percent } +\newlabel{136@xvr}{{}{224}} +\newlabel{136@vr}{{}{224}} +\newlabel{julia:dcmotor-clock}{{10.{1}}{224}{Julia Code}{juliamass.10.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{225}{lstlisting.10.-231}\protected@file@percent } \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{225}{juliamass.10.2}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{225}{juliamass.10.2}\protected@file@percent } diff --git a/floss-arduino.cod b/floss-arduino.cod index 8c610db..810f098 100644 --- a/floss-arduino.cod +++ b/floss-arduino.cod @@ -22,7 +22,7 @@ \contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{182}{codemass.9.1}% \contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{182}{codemass.9.2}% \contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{182}{codemass.9.3}% -\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{183}{codemass.9.4}% +\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{182}{codemass.9.4}% \addvspace {10pt} \contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{212}{codemass.10.1}% \contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{212}{codemass.10.2}% diff --git a/floss-arduino.fdb_latexmk b/floss-arduino.fdb_latexmk index df78abd..fc7ae3d 100644 --- a/floss-arduino.fdb_latexmk +++ b/floss-arduino.fdb_latexmk @@ -1,20 +1,20 @@ # Fdb version 3 -["bibtex floss-arduino"] 1621802069 "floss-arduino.aux" "floss-arduino.bbl" "floss-arduino" 1621802253 +["bibtex floss-arduino"] 1621902232 "floss-arduino.aux" "floss-arduino.bbl" "floss-arduino" 1621902242 "/usr/share/texlive/texmf-dist/bibtex/bst/base/unsrt.bst" 1292289607 18030 1376b4b231b50c66211e47e42eda2875 "" "bibliography.bib" 1620434363 6034 f6dc0004d2871e4ca7419c08dc204c04 "" - "floss-arduino.aux" 1621802120 182140 ee9595098d56a4e444d4f84928d16bcf "pdflatex" + "floss-arduino.aux" 1621902242 182118 b40fc8e8c2b23be6c57d4f96ae627d18 "pdflatex" (generated) - "floss-arduino.bbl" "floss-arduino.blg" -["makeindex floss-arduino.idx"] 1621802059 "floss-arduino.idx" "floss-arduino.ind" "floss-arduino" 1621802253 - "floss-arduino.idx" 1621802120 237 2b0c63ab27d5c1b698757397b5c69953 "pdflatex" + "floss-arduino.bbl" +["makeindex floss-arduino.idx"] 1621902222 "floss-arduino.idx" "floss-arduino.ind" "floss-arduino" 1621902242 + "floss-arduino.idx" 1621902242 237 2b0c63ab27d5c1b698757397b5c69953 "pdflatex" (generated) "floss-arduino.ind" "floss-arduino.ilg" -["pdflatex"] 1621802069 "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" "floss-arduino" 1621802253 +["pdflatex"] 1621902232 "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" "floss-arduino" 1621902242 "/etc/texmf/web2c/texmf.cnf" 1602253014 475 c0e671620eb5563b2130f56340a5fde8 "" - "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.aux" 1621802120 182140 ee9595098d56a4e444d4f84928d16bcf "" - "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" 1621802252 6985 1c71aec5ffafba23a5356a68d74c9d8e "" + "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.aux" 1621902242 182118 b40fc8e8c2b23be6c57d4f96ae627d18 "" + "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" 1621902212 6988 a338c377c086a787edfe67c78c9bc7f2 "" "/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 "" "/usr/share/texlive/texmf-dist/fonts/tfm/jknappen/ec/ecbx0900.tfm" 1136768653 3584 1a7de6c99457381c64abc1a7c545505f "" @@ -162,19 +162,19 @@ "/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" 1621802120 2789 9346b21408e20d1eb1d7ad7bc865ea4a "pdflatex" - "floss-arduino.ard" 1621802120 2334 7b81c8e314a1b1d6aae002014628d2fc "pdflatex" - "floss-arduino.aux" 1621802120 182140 ee9595098d56a4e444d4f84928d16bcf "pdflatex" - "floss-arduino.bbl" 1621802069 3903 02b5ac06a1bbf3155ccc47bfd4f7ca51 "bibtex floss-arduino" - "floss-arduino.cod" 1621802120 2825 276799433ef5d04c78cca67d0f03a29a "pdflatex" - "floss-arduino.ind" 1621802059 288 1367e08b6f5cfc1c1a3f8718570f0de1 "makeindex floss-arduino.idx" - "floss-arduino.juliad" 1621802120 2664 2b729ddd3bfcbb7f0de365377dfe158c "pdflatex" - "floss-arduino.lof" 1621802120 16546 a69af27cf20c15c3f950b4f345da4dcd "pdflatex" - "floss-arduino.lot" 1621802120 4425 0291e4f82d9ea3862b2d8768da59d56f "pdflatex" - "floss-arduino.out" 1621802120 16111 5b3e12da3b8f1fd705d7aea671c7b61f "pdflatex" - "floss-arduino.pyd" 1621802120 2593 f6953c6c110126e07da216023e95df49 "pdflatex" - "floss-arduino.tex" 1621802252 6985 1c71aec5ffafba23a5356a68d74c9d8e "" - "floss-arduino.toc" 1621802120 21127 eada96d50d5c96a37899a7b73bebcea9 "pdflatex" + "floss-arduino.OpenModelicad" 1621902242 2789 31934aedc4484083255f534b5d231d67 "pdflatex" + "floss-arduino.ard" 1621902242 2334 c94555f1ff61e8103bb3261b10e1272b "pdflatex" + "floss-arduino.aux" 1621902242 182118 b40fc8e8c2b23be6c57d4f96ae627d18 "pdflatex" + "floss-arduino.bbl" 1621902232 3903 02b5ac06a1bbf3155ccc47bfd4f7ca51 "bibtex floss-arduino" + "floss-arduino.cod" 1621902242 2825 d0286d577cb93d68d2ffba1d356d2c10 "pdflatex" + "floss-arduino.ind" 1621902222 288 1367e08b6f5cfc1c1a3f8718570f0de1 "makeindex floss-arduino.idx" + "floss-arduino.juliad" 1621902242 2664 ed5f6442352e711887c2227f45dcf8e2 "pdflatex" + "floss-arduino.lof" 1621902242 16546 a69af27cf20c15c3f950b4f345da4dcd "pdflatex" + "floss-arduino.lot" 1621902242 4415 e65e6c0c943b6d7774312709b20f53b4 "pdflatex" + "floss-arduino.out" 1621902242 16111 5b3e12da3b8f1fd705d7aea671c7b61f "pdflatex" + "floss-arduino.pyd" 1621902242 2593 f6953c6c110126e07da216023e95df49 "pdflatex" + "floss-arduino.tex" 1621902212 6988 a338c377c086a787edfe67c78c9bc7f2 "" + "floss-arduino.toc" 1621902242 21127 06ca102868a7720a0496fed68e44c0e0 "pdflatex" "suppl/acr.tex" 1615963613 1926 fd6481c4666ee0d60331b7d4cc24b645 "" "suppl/intro.tex" 1621801612 4603 c52cee9f2420b8014f6dce1a41241fa2 "" "suppl/styles.tex" 1615963613 8143 aa3280f0b59c8631fe8ec44895c9e871 "" @@ -193,7 +193,7 @@ "user-code/dcmotor/arduino/dcmotor-clock/dcmotor-clock.ino" 1620088994 426 6316038efc09b67c75c077917c40e3e4 "" "user-code/dcmotor/arduino/dcmotor-loop/dcmotor-loop.ino" 1620088994 665 a13b061f7e773a0ff7e178ed73915282 "" "user-code/dcmotor/dcmotor-OM.tex" 1621455775 11241 982246ee49a10c44361808ce84762a47 "" - "user-code/dcmotor/dcmotor-base.tex" 1621729803 11770 fb33750e88fbae0f4074559c505d396b "" + "user-code/dcmotor/dcmotor-base.tex" 1621901788 11802 d77a64fd2ec70c30b499ceb3dd72dc48 "" "user-code/dcmotor/dcmotor-julia.tex" 1621455775 7297 f523e59616d249643cd2aece01846f9a "" "user-code/dcmotor/dcmotor-python.tex" 1621730532 8723 3ab8a8441aa6ae3554432967fb90c5a3 "" "user-code/dcmotor/dcmotor-scilab.tex" 1621729803 24568 97daad3cd28a25992255315583db4e3c "" @@ -272,7 +272,7 @@ "user-code/led/julia/led-blue.jl" 1619662025 170 c9cc13e4fb6e898855537bb9e1f2a787 "" "user-code/led/julia/led-green-blink.jl" 1619663087 249 d785472e844af87c34e32322ccb211e2 "" "user-code/led/led-OM.tex" 1621455775 6090 eeb3656cf34ca23b4e74568da8ba3a8f "" - "user-code/led/led-base.tex" 1621455775 12573 9ca1a36290acd21f7147bf1579e43aec "" + "user-code/led/led-base.tex" 1621901484 12654 7723a4a547646ad1835299a18b9618c8 "" "user-code/led/led-julia.tex" 1621455775 4230 113d65c42a2badd946d2f312a0e216ca "" "user-code/led/led-python.tex" 1621730532 8163 ab9aceb1edd0b85ce2df3d9da772f2e5 "" "user-code/led/led-scilab.tex" 1621455775 15554 57a47400c55d0e67271b6cd2a300cc7e "" @@ -307,7 +307,7 @@ "user-code/modbus/julia/readVoltage.jl" 1615963614 418 4e26e56e234bd7df4a03ade0f2866654 "" "user-code/modbus/modbus-OM.tex" 1621726901 3802 a14f05ea05ae4e3b524b3e454bdd061b "" "user-code/modbus/modbus-base.tex" 1621726747 25043 4680a3bbf2f6f29953d197452175127a "" - "user-code/modbus/modbus-julia.tex" 1621726880 5413 9858b932ddf107268b38882b8d3b8f13 "" + "user-code/modbus/modbus-julia.tex" 1621902155 5409 18c39fd110630bffc56d50c0ea7fdd0b "" "user-code/modbus/modbus-python.tex" 1621726837 5818 54ac697aae0be2a3a941c4567aac8346 "" "user-code/modbus/modbus-scilab.tex" 1621726814 12337 243a65054fa901e3aacee64857c7cba6 "" "user-code/modbus/python/read_active_power.py" 1615963614 1107 5c75379ec91b5b117fc94be55100a639 "" @@ -380,7 +380,7 @@ "user-code/servo/scilab/servo-pot.sce" 1620088994 530 2d82664fdd3a16c6588b2a4dc4e66a22 "" "user-code/servo/scilab/servo-reverse.sce" 1620088994 532 11110ec91f2ddb2261afbbec00198d94 "" "user-code/servo/servo-OM.tex" 1621455775 6743 e3bb3333e0e297defe427b0d2a0ab5c0 "" - "user-code/servo/servo-base.tex" 1621455775 13398 42be6b1599117acc4dcfc2645741fed1 "" + "user-code/servo/servo-base.tex" 1621901677 13438 70312e720d5adbc7e3c497561fa13406 "" "user-code/servo/servo-julia.tex" 1621455775 6393 f5b5c76dbc63b086b6593dc5c1d3e5a2 "" "user-code/servo/servo-python.tex" 1621455775 9390 e10fc3c7c70de72eb1cbcf10b7342863 "" "user-code/servo/servo-scilab.tex" 1621455775 17336 d4a14c40c81913ae60506458a1cf945a "" @@ -424,8 +424,8 @@ "user-code/sw-env/figures/windows-cmd.png" 1619057155 18559 6c4f07f73f86b74127aa8c76e23f3285 "" "user-code/sw-env/figures/xcos-help.png" 1615963614 87275 3c9b5157ebebe381cd7b5281cdd28482 "" "user-code/sw-env/sw-env-OM.tex" 1621452402 14684 246a4e6711439c5535a43c55e6ccdb94 "" - "user-code/sw-env/sw-env-base.tex" 1621452092 20371 3831691d48b6edf9faf7d654fa4a9c05 "" - "user-code/sw-env/sw-env-julia.tex" 1621731226 17785 1a5d3d2453b52cfd531a90b3cb92a789 "" + "user-code/sw-env/sw-env-base.tex" 1621901103 20352 4eadc8939e11cd367efb5f247dc5f7bf "" + "user-code/sw-env/sw-env-julia.tex" 1621900862 17793 417ed9052737dfbf02f289a5738f7c47 "" "user-code/sw-env/sw-env-python.tex" 1621452358 12570 407eb1692224c6bac00b407a35921d83 "" "user-code/sw-env/sw-env-scilab.tex" 1621452275 25295 c66e7c7dfc43d03ad408bc17aeaf13bf "" "user-code/thermistor/OpenModelica/therm-buzzer.mo" 1620088994 1299 e1551a279a3614eeaf9116b1002e12eb "" @@ -454,19 +454,19 @@ "user-code/thermistor/thermistor-python.tex" 1621730586 6690 dcd0b9c6629922cc2675da1a8eec8d97 "" "user-code/thermistor/thermistor-scilab.tex" 1621455775 15817 4f8b0a1727ee952a36196e611ce5308c "" (generated) - "floss-arduino.log" + "floss-arduino.pyd" "floss-arduino.toc" + "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.log" "floss-arduino.thm" "floss-arduino.lof" - "floss-arduino.idx" - "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.log" - "floss-arduino.cod" - "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" "floss-arduino.lot" - "floss-arduino.juliad" - "floss-arduino.pyd" "floss-arduino.aux" - "floss-arduino.pdf" + "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" + "floss-arduino.ard" + "floss-arduino.juliad" "floss-arduino.OpenModelicad" + "floss-arduino.idx" "floss-arduino.out" - "floss-arduino.ard" + "floss-arduino.cod" + "floss-arduino.pdf" + "floss-arduino.log" diff --git a/floss-arduino.juliad b/floss-arduino.juliad index f12cd71..b66af27 100644 --- a/floss-arduino.juliad +++ b/floss-arduino.juliad @@ -16,12 +16,12 @@ \contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{168}{juliamass.8.1}% \contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{169}{juliamass.8.2}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{195}{juliamass.9.1}% +\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{194}{juliamass.9.1}% \contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{195}{juliamass.9.2}% \contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{195}{juliamass.9.3}% -\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{196}{juliamass.9.4}% +\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{195}{juliamass.9.4}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{225}{juliamass.10.1}% +\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{224}{juliamass.10.1}% \contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{225}{juliamass.10.2}% \contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{225}{juliamass.10.3}% \addvspace {10pt} diff --git a/floss-arduino.log b/floss-arduino.log index d45c808..b29d277 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) 24 MAY 2021 02:05 +This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex 2020.11.5) 25 MAY 2021 05:54 entering extended mode restricted \write18 enabled. %&-line parsing enabled. @@ -878,31 +878,31 @@ Chapter 3. ] </home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/hw-device-m -anager.jpg, id=1913, 793.96625pt x 579.16376pt> +anager.jpg, id=1914, 793.96625pt x 579.16376pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/hw-dev ice-manager.jpg Graphic file (type jpg) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/hw-devi ce-manager.jpg> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/hw --env/figures/hw-device-manager.jpg used on input line 109. +-env/figures/hw-device-manager.jpg used on input line 110. (pdftex.def) Requested size: 397.48499pt x 289.95233pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/device-mana -ger-com.png, id=1914, 1175.39125pt x 863.225pt> +ger-com.png, id=1915, 1175.39125pt x 863.225pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/device -manager-com.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/device- manager-com.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/device-manager-com.png used on input line 116. +-env/figures/device-manager-com.png used on input line 117. (pdftex.def) Requested size: 397.48499pt x 291.912pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/update-driv -er.png, id=1915, 635.37375pt x 423.5825pt> +er.png, id=1916, 635.37375pt x 423.5825pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/update -driver.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/update- driver.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/hw --env/figures/update-driver.png used on input line 123. +-env/figures/update-driver.png used on input line 124. (pdftex.def) Requested size: 397.48499pt x 264.99695pt. [18] [19 </home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/h w-device-manager.jpg>] [20 </home/fossee/Desktop/floss-scilab-arduino/user-code @@ -914,7 +914,7 @@ File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/launch <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/launch- arduino-opt.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/launch-arduino-opt.png used on input line 218. +-env/figures/launch-arduino-opt.png used on input line 219. (pdftex.def) Requested size: 258.36281pt x 107.62325pt. [21 </home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/update -driver.png (PNG copy)>] @@ -925,7 +925,7 @@ o-ide.jpg Graphic file (type jpg) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/arduino -ide.jpg> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/hw --env/figures/arduino-ide.jpg used on input line 235. +-env/figures/arduino-ide.jpg used on input line 236. (pdftex.def) Requested size: 397.48499pt x 305.22243pt. Underfull \vbox (badness 1303) has occurred while \output is active [] @@ -934,9 +934,9 @@ Underfull \vbox (badness 1303) has occurred while \output is active [] -arduino-opt.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/f igures/arduino-ide.jpg>] [23] [24] Package hyperref Info: bookmark level for unknown ardmass defaults to 0 on inpu -t line 339. +t line 340. Package hyperref Info: bookmark level for unknown lstlisting defaults to 0 on i -nput line 349. +nput line 350. (/home/fossee/Desktop/floss-scilab-arduino/tools/floss-firmware/floss-firmware. ino)) (./user-code/sw-env/sw-env-scilab.tex [25] [26] @@ -2309,9 +2309,9 @@ e/servo-reverse.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo-pot/se rvo-pot.ino) [177] (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo-init/s -ervo-init.ino) [178] +ervo-init.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo-revers -e/servo-reverse.ino) +e/servo-reverse.ino [178]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo-loop/s ervo-loop.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo-pot/se @@ -2335,9 +2335,9 @@ vers-ing. Avail- (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo-reverse .sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo-loop.sc -e) [182] +e) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo-pot.sce -) +[182]) </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-init.p ng, id=5336, 265.74281pt x 309.40594pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-i @@ -2358,7 +2358,7 @@ rvo/figures/servo-reverse.png used on input line 205. (pdftex.def) Requested size: 178.86702pt x 205.84047pt. [183] </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-loop.p -ng, id=5365, 281.55188pt x 347.04657pt> +ng, id=5366, 281.55188pt x 347.04657pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-l oop.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-lo @@ -2366,8 +2366,10 @@ op.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/se rvo/figures/servo-loop.png used on input line 243. (pdftex.def) Requested size: 178.86702pt x 220.47803pt. + [184 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo- +init.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-pot.pn -g, id=5371, 286.06876pt x 292.09125pt> +g, id=5377, 286.06876pt x 292.09125pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-p ot.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-po @@ -2375,23 +2377,19 @@ t.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/se rvo/figures/servo-pot.png used on input line 285. (pdftex.def) Requested size: 178.86702pt x 182.63234pt. - [184 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo- -init.png>] + Overfull \hbox (17.60953pt too wide) in paragraph at lines 306--317 [][] [] -[185 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-r -everse.png>] -Underfull \vbox (badness 1831) has occurred while \output is active [] - - [186 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo- -loop.png>]) -(./user-code/servo/servo-python.tex +) (./user-code/servo/servo-python.tex [185 </home/fossee/Desktop/floss-scilab-a +rduino/user-code/servo/figures/servo-reverse.png>] Underfull \vbox (badness 10000) has occurred while \output is active [] - [187 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo- -pot.png>] + [186 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo- +loop.png>] +[187 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-p +ot.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-init.py ) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-init.py @@ -2410,31 +2408,29 @@ pot.png>] [192])) (./user-code/servo/servo-julia.tex (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-init.jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-init.jl) -[193] + (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-reverse. -jl) +jl [193]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-pot.jl) -[194] -(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-init.jl) - +(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-init.jl +[194]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-reverse. jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-loop.jl) -[195] -(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-pot.jl)) -(./user-code/servo/servo-OM.tex -(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo-i -nit.mo) [196] +(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-pot.jl +[195])) (./user-code/servo/servo-OM.tex (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo-i nit.mo) +(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo-i +nit.mo) [196] (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo-r everse.mo) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo-p ot.mo) [197] (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo-i -nit.mo [198]) +nit.mo) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo-r -everse.mo) +everse.mo [198]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo-l oop.mo [199]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo-p @@ -2483,7 +2479,7 @@ motor/figures/dc_motor_description.jpg used on input line 135. (pdftex.def) Requested size: 258.36281pt x 206.38603pt. [205 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/uno- pwm.jpg>] -Underfull \vbox (badness 10000) has occurred while \output is active [] +Underfull \vbox (badness 7540) has occurred while \output is active [] [206 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/sche matic.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures @@ -2503,30 +2499,27 @@ ock/dcmotor-clock.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor-bo th/dcmotor-both.ino [208]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor-lo -op/dcmotor-loop.ino)) (./user-code/dcmotor/dcmotor-scilab.tex -Underfull \vbox (badness 10000) has occurred while \output is active [] - - [209] -(/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-clo -ck.sce) [210] +op/dcmotor-loop.ino)) (./user-code/dcmotor/dcmotor-scilab.tex [209] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-clo ck.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-clo +ck.sce) [210] +(/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-clo ck.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-clo ck.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-bot -h.sce) [211] -(/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-bot h.sce) +(/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-bot +h.sce) [211] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-clo ck.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-bot -h.sce [212]) +h.sce) [212] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-loo p.sce) </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmotor-cl -ock.png, id=6071, 807.015pt x 738.76pt> +ock.png, id=6078, 807.015pt x 738.76pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmot or-clock.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmoto @@ -2534,9 +2527,8 @@ r-clock.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/dc motor/figures/dcmotor-clock.png used on input line 294. (pdftex.def) Requested size: 178.86702pt x 163.73386pt. - [213] </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmotor-bo -th.png, id=6107, 784.9325pt x 716.6775pt> +th.png, id=6084, 784.9325pt x 716.6775pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmot or-both.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmoto @@ -2544,11 +2536,10 @@ r-both.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/dc motor/figures/dcmotor-both.png used on input line 348. (pdftex.def) Requested size: 178.86702pt x 163.3123pt. - [214 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmo -tor-clock.png>] [215 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmot -or/figures/dcmotor-both.png>] + [213] [214 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figure +s/dcmotor-clock.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmotor-lo -op.png, id=6126, 775.89874pt x 756.8275pt> +op.png, id=6120, 775.89874pt x 756.8275pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmot or-loop.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmoto @@ -2556,7 +2547,8 @@ r-loop.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/dc motor/figures/dcmotor-loop.png used on input line 392. (pdftex.def) Requested size: 178.86702pt x 174.47084pt. -) + [215 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmo +tor-both.png>]) (./user-code/dcmotor/dcmotor-python.tex [216 </home/fossee/Desktop/floss-scilab -arduino/user-code/dcmotor/figures/dcmotor-loop.png>] [217] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor-clo @@ -2588,9 +2580,9 @@ k.jl) [223] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor-both .jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor-both -.jl) [224] +.jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor-cloc -k.jl) +k.jl [224]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor-both .jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor-loop @@ -2880,7 +2872,7 @@ Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 253. Here is how much of TeX's memory you used: 17660 strings out of 481239 347360 string characters out of 5920377 - 817065 words of memory out of 5000000 + 820065 words of memory out of 5000000 27975 multiletter control sequences out of 15000+600000 556115 words of font info for 72 fonts, out of 8000000 for 9000 1143 hyphenation exceptions out of 8191 @@ -2907,7 +2899,7 @@ pfb></usr/share/texmf/fonts/type1/public/cm-super/sfrm1000.pfb></usr/share/texm f/fonts/type1/public/cm-super/sfrm1095.pfb></usr/share/texmf/fonts/type1/public /cm-super/sfsi1095.pfb></usr/share/texmf/fonts/type1/public/cm-super/sfss1095.p fb></usr/share/texmf/fonts/type1/public/cm-super/sfti1095.pfb> -Output written on floss-arduino.pdf (282 pages, 31877233 bytes). +Output written on floss-arduino.pdf (282 pages, 31877265 bytes). PDF statistics: 7837 PDF objects out of 8907 (max. 8388607) 7238 compressed objects within 73 object streams diff --git a/floss-arduino.lot b/floss-arduino.lot index 360a306..e408a5a 100644 --- a/floss-arduino.lot +++ b/floss-arduino.lot @@ -23,11 +23,11 @@ \addvspace {10\p@ } \contentsline {table}{\numberline {9.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{174}{table.caption.126}% \contentsline {table}{\numberline {9.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{183}{table.caption.130}% -\contentsline {table}{\numberline {9.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{185}{table.caption.132}% +\contentsline {table}{\numberline {9.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{184}{table.caption.132}% \contentsline {table}{\numberline {9.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{186}{table.caption.134}% \contentsline {table}{\numberline {9.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{187}{table.caption.136}% \addvspace {10\p@ } -\contentsline {table}{\numberline {10.1}{\ignorespaces Values in the Scilab\ command for different H-Bridge circuits\relax }}{204}{table.caption.138}% +\contentsline {table}{\numberline {10.1}{\ignorespaces Values to be passed for different H-Bridge circuits\relax }}{204}{table.caption.138}% \contentsline {table}{\numberline {10.2}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{214}{table.caption.146}% \contentsline {table}{\numberline {10.3}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{215}{table.caption.148}% \contentsline {table}{\numberline {10.4}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{217}{table.caption.150}% diff --git a/floss-arduino.pdf b/floss-arduino.pdf Binary files differindex 603c46d..d107c30 100644 --- a/floss-arduino.pdf +++ b/floss-arduino.pdf diff --git a/floss-arduino.tex b/floss-arduino.tex index e77b933..0366c37 100644 --- a/floss-arduino.tex +++ b/floss-arduino.tex @@ -100,7 +100,7 @@ % \let\EntireReport\undefined %% EntireReport is set to false % If the entire report is not prepared, choose one of scilab, python, % julia, or OM -% \newcommand{\Software}{OM} +% \newcommand{\Software}{julia} \newcommand{\sscilab}{scilab} \newcommand{\python}{python} diff --git a/floss-arduino.thm b/floss-arduino.thm index 2a500f9..b9f3d49 100644 --- a/floss-arduino.thm +++ b/floss-arduino.thm @@ -72,23 +72,23 @@ \contentsline {OpenModelicamass}{{OpenModelica Code}{8.{2}}{}}{172}{OpenModelicamass.8.2}% \contentsline {egmass}{{Exercise}{9.{1}}{}}{178}{egmass.9.1}% \contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{178}{ardmass.9.1}% -\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{179}{ardmass.9.2}% +\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{178}{ardmass.9.2}% \contentsline {ardmass}{{Arduino Code}{9.{3}}{}}{179}{ardmass.9.3}% \contentsline {ardmass}{{Arduino Code}{9.{4}}{}}{179}{ardmass.9.4}% \contentsline {codemass}{{Scilab Code}{9.{1}}{}}{182}{codemass.9.1}% \contentsline {codemass}{{Scilab Code}{9.{2}}{}}{182}{codemass.9.2}% \contentsline {codemass}{{Scilab Code}{9.{3}}{}}{182}{codemass.9.3}% -\contentsline {codemass}{{Scilab Code}{9.{4}}{}}{183}{codemass.9.4}% +\contentsline {codemass}{{Scilab Code}{9.{4}}{}}{182}{codemass.9.4}% \contentsline {pymass}{{Python Code}{9.{1}}{}}{189}{pymass.9.1}% \contentsline {pymass}{{Python Code}{9.{2}}{}}{190}{pymass.9.2}% \contentsline {pymass}{{Python Code}{9.{3}}{}}{191}{pymass.9.3}% \contentsline {pymass}{{Python Code}{9.{4}}{}}{192}{pymass.9.4}% -\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{195}{juliamass.9.1}% +\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{194}{juliamass.9.1}% \contentsline {juliamass}{{Julia Code}{9.{2}}{}}{195}{juliamass.9.2}% \contentsline {juliamass}{{Julia Code}{9.{3}}{}}{195}{juliamass.9.3}% -\contentsline {juliamass}{{Julia Code}{9.{4}}{}}{196}{juliamass.9.4}% +\contentsline {juliamass}{{Julia Code}{9.{4}}{}}{195}{juliamass.9.4}% \contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{198}{OpenModelicamass.9.1}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{199}{OpenModelicamass.9.2}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{198}{OpenModelicamass.9.2}% \contentsline {OpenModelicamass}{{OpenModelica Code}{9.{3}}{}}{199}{OpenModelicamass.9.3}% \contentsline {OpenModelicamass}{{OpenModelica Code}{9.{4}}{}}{200}{OpenModelicamass.9.4}% \contentsline {egmass}{{Exercise}{10.{1}}{}}{208}{egmass.10.1}% @@ -103,7 +103,7 @@ \contentsline {pymass}{{Python Code}{10.{1}}{}}{219}{pymass.10.1}% \contentsline {pymass}{{Python Code}{10.{2}}{}}{220}{pymass.10.2}% \contentsline {pymass}{{Python Code}{10.{3}}{}}{221}{pymass.10.3}% -\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{225}{juliamass.10.1}% +\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{224}{juliamass.10.1}% \contentsline {juliamass}{{Julia Code}{10.{2}}{}}{225}{juliamass.10.2}% \contentsline {juliamass}{{Julia Code}{10.{3}}{}}{225}{juliamass.10.3}% \contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{228}{OpenModelicamass.10.1}% diff --git a/floss-arduino.toc b/floss-arduino.toc index 1cfa977..4ffa7e6 100644 --- a/floss-arduino.toc +++ b/floss-arduino.toc @@ -169,12 +169,12 @@ \contentsline {subsection}{\numberline {9.4.1}Controlling the servomotor}{180}{subsection.9.4.1}% \contentsline {subsection}{\numberline {9.4.2}Scilab Code}{182}{subsection.9.4.2}% \contentsline {section}{\numberline {9.5}Controling the servomotor through Xcos}{183}{section.9.5}% -\contentsline {section}{\numberline {9.6}Controlling the servomotor through Python}{188}{section.9.6}% -\contentsline {subsection}{\numberline {9.6.1}Controlling the servomotor}{188}{subsection.9.6.1}% +\contentsline {section}{\numberline {9.6}Controlling the servomotor through Python}{187}{section.9.6}% +\contentsline {subsection}{\numberline {9.6.1}Controlling the servomotor}{187}{subsection.9.6.1}% \contentsline {subsection}{\numberline {9.6.2}Python Code}{189}{subsection.9.6.2}% \contentsline {section}{\numberline {9.7}Controlling the servomotor through Julia}{193}{section.9.7}% \contentsline {subsection}{\numberline {9.7.1}Controlling the servomotor}{193}{subsection.9.7.1}% -\contentsline {subsection}{\numberline {9.7.2}Julia Code}{195}{subsection.9.7.2}% +\contentsline {subsection}{\numberline {9.7.2}Julia Code}{194}{subsection.9.7.2}% \contentsline {section}{\numberline {9.8}Controlling the servomotor through OpenModelica}{196}{section.9.8}% \contentsline {subsection}{\numberline {9.8.1}Controlling the servomotor}{196}{subsection.9.8.1}% \contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{198}{subsection.9.8.2}% @@ -182,24 +182,24 @@ \contentsline {section}{\numberline {10.1}Preliminaries}{203}{section.10.1}% \contentsline {section}{\numberline {10.2}Controlling the DC motor from Arduino}{205}{section.10.2}% \contentsline {subsection}{\numberline {10.2.1}Controlling the DC motor}{205}{subsection.10.2.1}% -\contentsline {paragraph}{Note:}{207}{section*.142}% +\contentsline {paragraph}{Note:}{206}{section*.142}% \contentsline {subsection}{\numberline {10.2.2}Arduino Code}{208}{subsection.10.2.2}% -\contentsline {section}{\numberline {10.3}Controlling the DC motor from Scilab}{210}{section.10.3}% -\contentsline {subsection}{\numberline {10.3.1}Controlling the DC motor}{210}{subsection.10.3.1}% +\contentsline {section}{\numberline {10.3}Controlling the DC motor from Scilab}{209}{section.10.3}% +\contentsline {subsection}{\numberline {10.3.1}Controlling the DC motor}{209}{subsection.10.3.1}% \contentsline {paragraph}{Note:}{210}{section*.143}% \contentsline {paragraph}{Note:}{211}{section*.144}% \contentsline {subsection}{\numberline {10.3.2}Scilab Code}{212}{subsection.10.3.2}% \contentsline {section}{\numberline {10.4}Controlling the DC motor from Xcos}{213}{section.10.4}% -\contentsline {section}{\numberline {10.5}Controlling the DC motor from Python}{217}{section.10.5}% -\contentsline {subsection}{\numberline {10.5.1}Controlling the DC motor}{217}{subsection.10.5.1}% +\contentsline {section}{\numberline {10.5}Controlling the DC motor from Python}{216}{section.10.5}% +\contentsline {subsection}{\numberline {10.5.1}Controlling the DC motor}{216}{subsection.10.5.1}% \contentsline {paragraph}{Note:}{217}{section*.151}% -\contentsline {paragraph}{Note:}{219}{section*.152}% +\contentsline {paragraph}{Note:}{218}{section*.152}% \contentsline {subsection}{\numberline {10.5.2}Python Code}{219}{subsection.10.5.2}% \contentsline {section}{\numberline {10.6}Controlling the DC motor from Julia}{222}{section.10.6}% \contentsline {subsection}{\numberline {10.6.1}Controlling the DC motor}{222}{subsection.10.6.1}% \contentsline {paragraph}{Note:}{222}{section*.153}% \contentsline {paragraph}{Note:}{224}{section*.154}% -\contentsline {subsection}{\numberline {10.6.2}Julia Code}{225}{subsection.10.6.2}% +\contentsline {subsection}{\numberline {10.6.2}Julia Code}{224}{subsection.10.6.2}% \contentsline {section}{\numberline {10.7}Controlling the DC motor from OpenModelica}{226}{section.10.7}% \contentsline {subsection}{\numberline {10.7.1}Controlling the DC motor}{226}{subsection.10.7.1}% \contentsline {paragraph}{Note:}{226}{section*.155}% @@ -1,7 +1,7 @@ INFO: latexindent version 3.7.1, 2019-09-07, a script to indent .tex files latexindent lives here: /usr/share/texlive/texmf-dist/scripts/latexindent/ - Mon May 24 01:56:11 2021 - Filename: /home/fossee/Desktop/floss-scilab-arduino/suppl/__latexindent_temp.tex + Tue May 25 05:44:31 2021 + Filename: /home/fossee/Desktop/floss-scilab-arduino/user-code/servo/__latexindent_temp.tex INFO: Processing switches: -y|--yaml: YAML settings specified via command line -c|--cruft: cruft directory diff --git a/julia-floss-arduino.pdf b/julia-floss-arduino.pdf Binary files differindex fc8730f..7937230 100644 --- a/julia-floss-arduino.pdf +++ b/julia-floss-arduino.pdf diff --git a/user-code/dcmotor/dcmotor-base.tex b/user-code/dcmotor/dcmotor-base.tex index 2bc5a12..0611420 100644 --- a/user-code/dcmotor/dcmotor-base.tex +++ b/user-code/dcmotor/dcmotor-base.tex @@ -38,8 +38,8 @@ mechanical motion. This chapter describes the experiments to control DC motor with \arduino\ board. We will observe the
direction of motion of the DC motor being changed
using the microcontroller on \arduino\ board.
-Control instruction will be sent to \arduino\ using Arduino IDE,
-Scilab scripts, Scilab Xcos, Python, Julia, and OpenModelica.
+Control instruction will be sent to \arduino\ using the Arduino IDE and other open-source software tools.
+% Scilab scripts, Scilab Xcos, Python, Julia, and OpenModelica.
The experiments provided in this chapter don't require the shield.
Therefore, the readers must remove the shield from the \arduino\ before
moving further in this chapter. Before removing the shield,
@@ -72,7 +72,7 @@ be used in this book. One may note that the toolboxes presented in this book sup \begin{table}
\centering
- \caption{Values in the \scilab\ command for different H-Bridge circuits}
+ \caption{Values to be passed for different H-Bridge circuits}
\label{table:convention}
\begin{tabular}{llc}\hline
Type of H-Bridge circuit & Value \\ \hline
diff --git a/user-code/led/led-base.tex b/user-code/led/led-base.tex index 3ae7daa..e540d8d 100644 --- a/user-code/led/led-base.tex +++ b/user-code/led/led-base.tex @@ -26,8 +26,8 @@ %%%%%OpenModelcia Ends
In this chapter, we will learn how to control the LEDs on the shield
-and on the \arduino\ board. We will do this through the Arduino IDE,
-Scilab scripts, Scilab Xcos, Python, Julia, and OpenModelica.
+and on the \arduino\ board. We will do this through the Arduino IDE and other open-source software tools.
+% We will do this through the Arduino IDE, Scilab scripts, Scilab Xcos, Python, Julia, and OpenModelica.
These are beginner level experiments,
and often referred to as the \emph{hello world} task of Arduino.
Although simple, controlling LED is a very important task in all
diff --git a/user-code/modbus/modbus-julia.tex b/user-code/modbus/modbus-julia.tex index ab5012e..4cd93d5 100644 --- a/user-code/modbus/modbus-julia.tex +++ b/user-code/modbus/modbus-julia.tex @@ -3,7 +3,8 @@ The objective of this experiment is to make the user acquainted with the demonstration of Modbus protocol through the Julia-Arduino toolbox. It gives an insight into how to acquire readings from the energy meter and interpret them accordingly. As explained in \secref{sec:energy-meter}, -an energy meter is a device that gives us different electrical parameters, including voltage, current, and power, consumed by a device. Here, we aim to obtain these values using the Python-Arduino toolbox. For data transmission, we have used an RS485 module. +an energy meter is a device that gives us different electrical parameters, including voltage, current, and power, consumed by a device. +Here, we aim to obtain these values using the Julia-Arduino toolbox. For data transmission, we have used an RS485 module. Julia is used for giving the required parameters to \arduino. For example, the user will tell the required slave address to be accessed @@ -13,7 +14,7 @@ referring to a particular slave address will refer to the registers that hold the desired electrical parameters (current, voltage, power, etc.), which we want to read from the energy meter. In this experiment, \arduino\ is connected to the energy meter via an RS485 module which facilitates long-distance communication. -\scilab\ sends the RQ to the \arduino\, which in turn sends it to the +Julia sends the RQ to the \arduino\, which in turn sends it to the energy meter. The energy meter then accesses the values in the required addresses in its memory and transfers them back. This again is in the form of another packet called RP. In this packet, the data is stored in a little-endian hexadecimal format. Thus, we make use of IEEE 754 to obtain the decimal value from this data. diff --git a/user-code/servo/servo-base.tex b/user-code/servo/servo-base.tex index 70d088d..dbe87f4 100644 --- a/user-code/servo/servo-base.tex +++ b/user-code/servo/servo-base.tex @@ -38,8 +38,8 @@ to control it will be extremely useful for practitioners. In this chapter, we will explain how to control a servomotor using the
\arduino\ board. We will begin with preliminaries of servomotors and
explain how to connect a typical servomotor to the \arduino\ board and
-shield. We will then explain how to control it through the Arduino IDE,
-Scilab scripts, Scilab Xcos, Python, Julia, and OpenModelica.
+shield. We will then explain how to control it through the Arduino IDE and other open-source software tools.
+% Scilab scripts, Scilab Xcos, Python, Julia, and OpenModelica.
We will provide code for all the experiments.
\section{Preliminaries}
diff --git a/user-code/sw-env/sw-env-base.tex b/user-code/sw-env/sw-env-base.tex index 7b7203b..08c1eef 100644 --- a/user-code/sw-env/sw-env-base.tex +++ b/user-code/sw-env/sw-env-base.tex @@ -49,10 +49,11 @@ different purposes as per the requirement. For example, Julia, OpenModelica, etc., through a serial port, and execute the given instructions %\item Combination of the above two \end{itemize} -Next, we shall discuss Scilab and Xcos, which are open-source software -tools, and a related toolbox that can communicate with \arduino\ -over a serial port using RS232 protocol. Subsequently, we shall discuss -other open-source software tools such as Python, Julia, and OpenModelica. +Next, we shall discuss other open-source software +tools and a related toolbox that can communicate with \arduino\ +over a serial port using RS232 protocol. + +% Subsequently, we shall discuss other open-source software tools such as Python, Julia, and OpenModelica. \section{Arduino IDE}\label{arduino-ide} \label{sec:ard-start} diff --git a/user-code/sw-env/sw-env-julia.tex b/user-code/sw-env/sw-env-julia.tex index e570341..9b95892 100644 --- a/user-code/sw-env/sw-env-julia.tex +++ b/user-code/sw-env/sw-env-julia.tex @@ -81,8 +81,8 @@ Carry out the steps given below to execute a Julia source file from the Command folder. To execute this script, type {\tt julia FILENAME.jl} and press Enter. The required output will be displayed in the Command Prompt itself. We don't expect the readers to run the command {\tt julia FILENAME.jl} at - this instant. This command will be helpful while running the Python - scripts in the upcoming sections and chapters. + this instant. This command will be helpful while running the Julia + source files in the upcoming sections and chapters. \item To exit the Command Prompt, type {\tt exit} and press Enter. \end{enumerate} @@ -177,8 +177,8 @@ the Terminal: folder. To execute this script, type {\tt julia FILENAME.jl} and press Enter. The required output will be displayed in the Terminal itself. We don't expect the readers to run the command {\tt julia FILENAME.jl} at - this instant. This command will be helpful while running the Python - scripts in the upcoming sections and chapters. + this instant. This command will be helpful while running the Julia + source files in the upcoming sections and chapters. \end{enumerate} \begin{figure} |