diff options
author | SudhakarKuma | 2021-04-03 07:23:55 +0530 |
---|---|---|
committer | SudhakarKuma | 2021-04-03 07:23:55 +0530 |
commit | dd1ae4196fd80e5a7ed7884afd0cda637ace1f1b (patch) | |
tree | 3a8e980c29e83e117c4fa31aff2dc0fda2aa102e | |
parent | 778848d85196daab7325564fad6431858cd065ce (diff) | |
download | FLOSS-Arduino-Book-dd1ae4196fd80e5a7ed7884afd0cda637ace1f1b.tar.gz FLOSS-Arduino-Book-dd1ae4196fd80e5a7ed7884afd0cda637ace1f1b.tar.bz2 FLOSS-Arduino-Book-dd1ae4196fd80e5a7ed7884afd0cda637ace1f1b.zip |
Add OpenModelica info
27 files changed, 2411 insertions, 2202 deletions
diff --git a/bibliography.bib b/bibliography.bib index 22bdb36..72d4c71 100644 --- a/bibliography.bib +++ b/bibliography.bib @@ -163,3 +163,14 @@ note = {Seen on 24 February 2021}, OPTannote = {} } +@Misc{om-ref, +OPTkey = {}, +author = {}, +title = {python.org}, +howpublished = {https://www.openmodelica.org/}, +OPTmonth = {}, +year = {}, +note = {Seen on 2 April 2021}, +OPTannote = {} +} + diff --git a/floss-arduino.OpenModelicad b/floss-arduino.OpenModelicad index 9fa3a77..d808613 100644 --- a/floss-arduino.OpenModelicad +++ b/floss-arduino.OpenModelicad @@ -1,30 +1,30 @@ -\contentsline {section}{\numberline {3.{1}}An OpenModelica code to check whether the firmware is properly installed or not}{49}% +\contentsline {section}{\numberline {3.{1}}An OpenModelica code to check whether the firmware is properly installed or not}{53}% \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the LED}{75}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{75}% -\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{76}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{77}% +\contentsline {section}{\numberline {4.{1}}Turning on the LED}{79}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{79}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{80}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{81}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{91}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{92}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{95}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{96}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{109}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{110}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{113}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{114}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{130}% -\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{130}% -\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{131}% +\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{134}% +\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{134}% +\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{135}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{143}% +\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{147}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{160}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{161}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{164}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{165}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{182}% -\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{183}% -\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{184}% -\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{184}% +\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{186}% +\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{187}% +\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{188}% +\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{188}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{204}% -\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{204}% -\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{205}% +\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{208}% +\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{208}% +\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{209}% diff --git a/floss-arduino.ard b/floss-arduino.ard index 79fecc6..2d2b4aa 100644 --- a/floss-arduino.ard +++ b/floss-arduino.ard @@ -1,28 +1,28 @@ -\contentsline {section}{\numberline {3.{1}}First 10 lines of the Arduino firmware}{24}% +\contentsline {section}{\numberline {3.{1}}First 10 lines of the Arduino firmware}{25}% \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{56}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{57}% -\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{57}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{57}% +\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{60}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{61}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{61}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{61}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{82}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{82}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{86}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{86}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{99}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{99}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{103}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{103}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{115}% -\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{115}% -\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{115}% +\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{119}% +\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{119}% +\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{119}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{135}% +\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{139}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{148}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{149}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{152}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{153}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{165}% -\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{166}% -\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in increments}{166}% -\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{167}% +\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{169}% +\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{170}% +\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in increments}{170}% +\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{171}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{199}% +\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{203}% diff --git a/floss-arduino.aux b/floss-arduino.aux index f819241..639f282 100644 --- a/floss-arduino.aux +++ b/floss-arduino.aux @@ -100,93 +100,95 @@ \newlabel{itm:port-check}{{9}{20}} \@writefile{lof}{\contentsline {figure}{\numberline {3.3}{\ignorespaces Confirmation for executing Arduino script\relax }}{21}\protected@file@percent } \newlabel{ard-lin-run}{{3.3}{21}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.4}{\ignorespaces Linux terminal to launch Arduino IDE\relax }}{21}\protected@file@percent } +\newlabel{arduino-opt}{{3.4}{21}} \newlabel{itm:port-access}{{10}{21}} \newlabel{itm:create-shortcut}{{11}{21}} \newlabel{itm:give-permission}{{12}{21}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.1.3}Arduino Development Environment}{21}\protected@file@percent } -\newlabel{sec:Arduino-IDE}{{3.1.3}{21}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.4}{\ignorespaces Arduino IDE\relax }}{22}\protected@file@percent } -\newlabel{ard-ide}{{3.4}{22}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.1.4}Testing Arduino with a sample program}{23}\protected@file@percent } -\newlabel{sec:testing-arduino}{{3.1.4}{23}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.1.5}Firmware}{24}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{3.{1}}{}}{24}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {3.{1}}First 10 lines of the Arduino firmware}{24}\protected@file@percent } -\newlabel{8@xvr}{{}{24}} -\newlabel{8@vr}{{}{24}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.5}{\ignorespaces Arduino IDE\relax }}{22}\protected@file@percent } +\newlabel{ard-ide}{{3.5}{22}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.1.3}Arduino Development Environment}{22}\protected@file@percent } +\newlabel{sec:Arduino-IDE}{{3.1.3}{22}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.1.4}Testing Arduino with a sample program}{24}\protected@file@percent } +\newlabel{sec:testing-arduino}{{3.1.4}{24}} \citation{scilab-ref} \citation{scilab-interop} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.1.5}Firmware}{25}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{3.{1}}{}}{25}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {3.{1}}First 10 lines of the Arduino firmware}{25}\protected@file@percent } +\newlabel{8@xvr}{{}{25}} +\newlabel{8@vr}{{}{25}} \newlabel{ard:firmware}{{3.{1}}{25}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/tools/arduino-firmware/arduino\textendash firmware.ino}{25}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {3.2}Scilab}{25}\protected@file@percent } \newlabel{sec:sci-start}{{3.2}{25}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.1}Downloading and installing Scilab}{25}\protected@file@percent } -\newlabel{scilab-installation}{{3.2.1}{25}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.5}{\ignorespaces Linux terminal to launch Scilab\relax }}{26}\protected@file@percent } -\newlabel{linux-cd}{{3.5}{26}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.6}{\ignorespaces Linux terminal to launch Scilab\relax }}{26}\protected@file@percent } +\newlabel{linux-cd}{{3.6}{26}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.1}Downloading and installing Scilab}{26}\protected@file@percent } +\newlabel{scilab-installation}{{3.2.1}{26}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.2.2}Scilab Arduino toolbox}{26}\protected@file@percent } -\newlabel{9@xvr}{{}{26}} -\newlabel{9@vr}{{}{26}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.6}{\ignorespaces Changing scilab directory\relax }}{27}\protected@file@percent } -\newlabel{scilab-cd}{{3.6}{27}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.7}{\ignorespaces Browsing toolbox directory\relax }}{28}\protected@file@percent } -\newlabel{scilab-browse}{{3.7}{28}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.3}Identifying Arduino communication port number}{28}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {3.8}{\ignorespaces Output of builder.sce\relax }}{29}\protected@file@percent } -\newlabel{builder}{{3.8}{29}} -\newlabel{fn:port}{{4}{29}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.9}{\ignorespaces Output of loader.sce\relax }}{30}\protected@file@percent } -\newlabel{loader}{{3.9}{30}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.4}Testing Scilab-Arduino toolbox}{30}\protected@file@percent } -\newlabel{sec:testing-scilab-arduino}{{3.2.4}{30}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.10}{\ignorespaces Device Manager in windows\relax }}{31}\protected@file@percent } -\newlabel{dev-mgr}{{3.10}{31}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.11}{\ignorespaces COM port properties window\relax }}{32}\protected@file@percent } -\newlabel{com}{{3.11}{32}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.12}{\ignorespaces Port number on Linux terminal\relax }}{32}\protected@file@percent } -\newlabel{linux-port}{{3.12}{32}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/tools/test\textunderscore firmware.sce}{32}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {3.13}{\ignorespaces Scilab test code output\relax }}{33}\protected@file@percent } -\newlabel{test-console}{{3.13}{33}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.5}Firmware}{33}\protected@file@percent } -\newlabel{sec:test-firmware-scilab}{{3.2.5}{33}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.7}{\ignorespaces Changing scilab directory\relax }}{27}\protected@file@percent } +\newlabel{scilab-cd}{{3.7}{27}} +\newlabel{9@xvr}{{}{27}} +\newlabel{9@vr}{{}{27}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.8}{\ignorespaces Browsing toolbox directory\relax }}{28}\protected@file@percent } +\newlabel{scilab-browse}{{3.8}{28}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.9}{\ignorespaces Output of builder.sce\relax }}{29}\protected@file@percent } +\newlabel{builder}{{3.9}{29}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.3}Identifying Arduino communication port number}{29}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {3.10}{\ignorespaces Output of loader.sce\relax }}{30}\protected@file@percent } +\newlabel{loader}{{3.10}{30}} +\newlabel{fn:port}{{4}{30}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.11}{\ignorespaces Device Manager in windows\relax }}{31}\protected@file@percent } +\newlabel{dev-mgr}{{3.11}{31}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.4}Testing Scilab-Arduino toolbox}{31}\protected@file@percent } +\newlabel{sec:testing-scilab-arduino}{{3.2.4}{31}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.12}{\ignorespaces COM port properties window\relax }}{32}\protected@file@percent } +\newlabel{com}{{3.12}{32}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.13}{\ignorespaces Port number on Linux terminal\relax }}{32}\protected@file@percent } +\newlabel{linux-port}{{3.13}{32}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.14}{\ignorespaces Scilab test code output\relax }}{33}\protected@file@percent } +\newlabel{test-console}{{3.14}{33}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/tools/test\textunderscore firmware.sce}{33}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {3.15}{\ignorespaces Arduino toolbox functions used in this book\relax }}{34}\protected@file@percent } +\newlabel{func}{{3.15}{34}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.5}Firmware}{34}\protected@file@percent } +\newlabel{sec:test-firmware-scilab}{{3.2.5}{34}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{3.{1}}{}}{33}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {3.{1}}A Scilab code to check whether the firmware is properly installed or not}{33}\protected@file@percent } -\newlabel{fn:firmware}{{5}{33}} -\citation{xcos-ref} -\@writefile{lof}{\contentsline {figure}{\numberline {3.14}{\ignorespaces Arduino toolbox functions used in this book\relax }}{34}\protected@file@percent } -\newlabel{func}{{3.14}{34}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{3.{1}}{}}{34}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {3.{1}}A Scilab code to check whether the firmware is properly installed or not}{34}\protected@file@percent } \newlabel{10@xvr}{{}{34}} \newlabel{10@vr}{{}{34}} \newlabel{sci:test-firmware}{{3.{1}}{34}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/tools/test\textunderscore firmware.sce}{34}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {3.3}Xcos}{34}\protected@file@percent } -\newlabel{sec:xcos-start}{{3.3}{34}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.15}{\ignorespaces Sine generator in palette browser\relax }}{35}\protected@file@percent } -\newlabel{sine-blk}{{3.15}{35}} +\newlabel{fn:firmware}{{5}{34}} +\citation{xcos-ref} +\@writefile{toc}{\contentsline {section}{\numberline {3.3}Xcos}{35}\protected@file@percent } +\newlabel{sec:xcos-start}{{3.3}{35}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.3.1}Downloading, installing and testing}{35}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {3.16}{\ignorespaces CSCOPE block in xcos\relax }}{36}\protected@file@percent } -\newlabel{plot-blk}{{3.16}{36}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.3.2}Use case}{36}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {3.17}{\ignorespaces CLOCK\_c block in xcos\relax }}{37}\protected@file@percent } -\newlabel{clk-blk}{{3.17}{37}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.18}{\ignorespaces Sine generator in Xcos\relax }}{38}\protected@file@percent } -\newlabel{sine-gen}{{3.18}{38}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.19}{\ignorespaces Sine generator Xcos output\relax }}{38}\protected@file@percent } -\newlabel{sine-output}{{3.19}{38}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.20}{\ignorespaces CSCOPE configuration window\relax }}{39}\protected@file@percent } -\newlabel{cscope-config}{{3.20}{39}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.21}{\ignorespaces Simulation setup window\relax }}{39}\protected@file@percent } -\newlabel{sim-setup}{{3.21}{39}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.3.2}Use case}{35}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {3.16}{\ignorespaces Sine generator in palette browser\relax }}{36}\protected@file@percent } +\newlabel{sine-blk}{{3.16}{36}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.17}{\ignorespaces CSCOPE block in xcos\relax }}{37}\protected@file@percent } +\newlabel{plot-blk}{{3.17}{37}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.18}{\ignorespaces CLOCK\_c block in xcos\relax }}{37}\protected@file@percent } +\newlabel{clk-blk}{{3.18}{37}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.19}{\ignorespaces Sine generator in Xcos\relax }}{38}\protected@file@percent } +\newlabel{sine-gen}{{3.19}{38}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.20}{\ignorespaces Sine generator Xcos output\relax }}{38}\protected@file@percent } +\newlabel{sine-output}{{3.20}{38}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.21}{\ignorespaces CSCOPE configuration window\relax }}{39}\protected@file@percent } +\newlabel{cscope-config}{{3.21}{39}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.3.3}Xcos-Arduino}{39}\protected@file@percent } \citation{python-ref} -\@writefile{lof}{\contentsline {figure}{\numberline {3.22}{\ignorespaces Palette browser showing Arduino blocks\relax }}{40}\protected@file@percent } -\newlabel{arduino-palette}{{3.22}{40}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.23}{\ignorespaces Xcos block help\relax }}{40}\protected@file@percent } -\newlabel{blk-help}{{3.23}{40}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.22}{\ignorespaces Simulation setup window\relax }}{40}\protected@file@percent } +\newlabel{sim-setup}{{3.22}{40}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.23}{\ignorespaces Palette browser showing Arduino blocks\relax }}{40}\protected@file@percent } +\newlabel{arduino-palette}{{3.23}{40}} \@writefile{toc}{\contentsline {section}{\numberline {3.4}Python}{40}\protected@file@percent } \newlabel{sec:python-start}{{3.4}{40}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.24}{\ignorespaces Xcos block help\relax }}{41}\protected@file@percent } +\newlabel{blk-help}{{3.24}{41}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.4.1}Downloading and installing Python}{41}\protected@file@percent } \newlabel{python-installation}{{3.4.1}{41}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.4.2}Firmware}{42}\protected@file@percent } @@ -204,1259 +206,1271 @@ \newlabel{julia-installation}{{3.5.1}{43}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.5.2}Downloading and installing Juno IDE}{44}\protected@file@percent } \newlabel{juno-ide-installation}{{3.5.2}{44}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.24}{\ignorespaces Linux terminal to launch Julia\relax }}{45}\protected@file@percent } -\newlabel{julia-terminal}{{3.24}{45}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.3}Julia Arduino toolbox}{45}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {3.25}{\ignorespaces Linux Atom Text Editor\relax }}{46}\protected@file@percent } -\newlabel{atom-lunch}{{3.25}{46}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.4}Using the serial port package}{46}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.5}Firmware}{47}\protected@file@percent } -\newlabel{sec:test-firmware-julia}{{3.5.5}{47}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.25}{\ignorespaces Linux terminal to launch Julia\relax }}{45}\protected@file@percent } +\newlabel{julia-terminal}{{3.25}{45}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.26}{\ignorespaces Linux Atom Text Editor\relax }}{46}\protected@file@percent } +\newlabel{atom-lunch}{{3.26}{46}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.3}Julia Arduino toolbox}{46}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.4}Using the serial port package}{47}\protected@file@percent } +\citation{om-ref} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.5}Firmware}{48}\protected@file@percent } +\newlabel{sec:test-firmware-julia}{{3.5.5}{48}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{3.{1}}{}}{47}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {3.{1}}A Julia code to check whether the firmware is properly installed or not}{47}\protected@file@percent } -\newlabel{12@xvr}{{}{47}} -\newlabel{12@vr}{{}{47}} -\newlabel{julia:test-firmware}{{3.{1}}{47}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/test\textunderscore firmware.jl}{47}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{3.{1}}{}}{48}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {3.{1}}A Julia code to check whether the firmware is properly installed or not}{48}\protected@file@percent } +\newlabel{12@xvr}{{}{48}} +\newlabel{12@vr}{{}{48}} +\newlabel{julia:test-firmware}{{3.{1}}{48}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/test\textunderscore firmware.jl}{48}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {3.6}OpenModelica}{48}\protected@file@percent } \newlabel{sec:OpenModelica-start}{{3.6}{48}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.6.1}Downloading and installing OpenModelica}{48}\protected@file@percent } \newlabel{OpenModelica-installation}{{3.6.1}{48}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.2}Executing OpenModelica}{48}\protected@file@percent } -\newlabel{OpenModelica-code-execution}{{3.6.2}{48}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.3}OpenModelica Arduino toolbox}{49}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.4}Firmware}{49}\protected@file@percent } -\newlabel{sec:test-firmware-OpenModelica}{{3.6.4}{49}} +\citation{om-ref} +\@writefile{lof}{\contentsline {figure}{\numberline {3.27}{\ignorespaces Setup of Modelica Standard Library version\relax }}{49}\protected@file@percent } +\newlabel{om-help}{{3.27}{49}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.2}Simulating models in OpenModelica}{49}\protected@file@percent } +\newlabel{OpenModelica-code-execution}{{3.6.2}{49}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.28}{\ignorespaces User Interface of OMEdit (OpenModelica Connection Editor)\relax }}{50}\protected@file@percent } +\newlabel{om-ui}{{3.28}{50}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.29}{\ignorespaces Opening a model in OMEdit (OpenModelica Connection Editor)\relax }}{51}\protected@file@percent } +\newlabel{om-modeling}{{3.29}{51}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.30}{\ignorespaces User Interface of OMEdit (OpenModelica Connection Editor)\relax }}{51}\protected@file@percent } +\newlabel{om-text-view}{{3.30}{51}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.31}{\ignorespaces Output window of OMEdit\relax }}{52}\protected@file@percent } +\newlabel{om-sim-success}{{3.31}{52}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.3}OpenModelica Arduino toolbox}{52}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.4}Firmware}{53}\protected@file@percent } +\newlabel{sec:test-firmware-OpenModelica}{{3.6.4}{53}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{3.{1}}{}}{49}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {3.{1}}An OpenModelica code to check whether the firmware is properly installed or not}{49}\protected@file@percent } -\newlabel{13@xvr}{{}{49}} -\newlabel{13@vr}{{}{49}} -\newlabel{OpenModelica:test-firmware}{{3.{1}}{49}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/test\textunderscore firmware.mo}{49}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {4}Interfacing a Light Emitting Diode}{51}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{3.{1}}{}}{53}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {3.{1}}An OpenModelica code to check whether the firmware is properly installed or not}{53}\protected@file@percent } +\newlabel{13@xvr}{{}{53}} +\newlabel{13@vr}{{}{53}} +\newlabel{OpenModelica:test-firmware}{{3.{1}}{53}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/test\textunderscore firmware.mo}{53}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {4}Interfacing a Light Emitting Diode}{55}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{led}{{4}{51}} -\@writefile{toc}{\contentsline {section}{\numberline {4.1}Preliminaries}{51}\protected@file@percent } -\newlabel{sec:led-pril}{{4.1}{51}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.1}{\ignorespaces Light Emitting Diode\relax }}{51}\protected@file@percent } -\newlabel{fig:ledsym}{{4.1}{51}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.2}{\ignorespaces Internal connection diagram for LED on the shield\relax }}{52}\protected@file@percent } -\newlabel{fig:ledblock}{{4.2}{52}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.3}{\ignorespaces Connecting Arduino and Shield\relax }}{52}\protected@file@percent } -\newlabel{fig:uno-shield-connect}{{4.3}{52}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.4}{\ignorespaces Interfacing an RGB LED with Arduino Uno using a breadboard\relax }}{53}\protected@file@percent } -\newlabel{fig:ard-rgb-bread}{{4.4}{53}} -\@writefile{toc}{\contentsline {section}{\numberline {4.2}Connecting an RGB LED with Arduino Uno\ using a breadboard}{53}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {4.3}Lighting the LED from the Arduino IDE}{54}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.1}Lighting the LED}{54}\protected@file@percent } -\newlabel{sec:light-ard}{{4.3.1}{54}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{54}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{54}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue\textendash delay/led\textendash blue\textendash delay.ino}{54}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue\textendash delay/led\textendash blue\textendash delay.ino}{54}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{55}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{55}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{1}}{}}{55}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {4.5}{\ignorespaces LED experiments directly on Arduino Uno\ board, without the shield\relax }}{56}\protected@file@percent } -\newlabel{fig:led-uno}{{4.5}{56}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.2}Arduino Code}{56}\protected@file@percent } -\newlabel{sec:led-arduino-code}{{4.3.2}{56}} +\newlabel{led}{{4}{55}} +\@writefile{toc}{\contentsline {section}{\numberline {4.1}Preliminaries}{55}\protected@file@percent } +\newlabel{sec:led-pril}{{4.1}{55}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.1}{\ignorespaces Light Emitting Diode\relax }}{55}\protected@file@percent } +\newlabel{fig:ledsym}{{4.1}{55}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.2}{\ignorespaces Internal connection diagram for LED on the shield\relax }}{56}\protected@file@percent } +\newlabel{fig:ledblock}{{4.2}{56}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.3}{\ignorespaces Connecting Arduino and Shield\relax }}{56}\protected@file@percent } +\newlabel{fig:uno-shield-connect}{{4.3}{56}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.4}{\ignorespaces Interfacing an RGB LED with Arduino Uno using a breadboard\relax }}{57}\protected@file@percent } +\newlabel{fig:ard-rgb-bread}{{4.4}{57}} +\@writefile{toc}{\contentsline {section}{\numberline {4.2}Connecting an RGB LED with Arduino Uno\ using a breadboard}{57}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.3}Lighting the LED from the Arduino IDE}{58}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.1}Lighting the LED}{58}\protected@file@percent } +\newlabel{sec:light-ard}{{4.3.1}{58}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{58}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{58}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue\textendash delay/led\textendash blue\textendash delay.ino}{58}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue\textendash delay/led\textendash blue\textendash delay.ino}{58}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{59}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{59}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{1}}{}}{59}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {4.5}{\ignorespaces LED experiments directly on Arduino Uno\ board, without the shield\relax }}{60}\protected@file@percent } +\newlabel{fig:led-uno}{{4.5}{60}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.2}Arduino Code}{60}\protected@file@percent } +\newlabel{sec:led-arduino-code}{{4.3.2}{60}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{1}}{}}{56}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{56}\protected@file@percent } -\newlabel{14@xvr}{{}{56}} -\newlabel{14@vr}{{}{56}} -\newlabel{ard:led-blue}{{4.{1}}{56}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{56}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{2}}{}}{57}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{57}\protected@file@percent } -\newlabel{15@xvr}{{}{57}} -\newlabel{15@vr}{{}{57}} -\newlabel{ard:led-blue-delay}{{4.{2}}{57}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue\textendash delay/led\textendash blue\textendash delay.ino}{57}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{3}}{}}{57}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{57}\protected@file@percent } -\newlabel{16@xvr}{{}{57}} -\newlabel{16@vr}{{}{57}} -\newlabel{ard:led-blue-red}{{4.{3}}{57}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue\textendash red/led\textendash blue\textendash red.ino}{57}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{4}}{}}{57}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{57}\protected@file@percent } -\newlabel{17@xvr}{{}{57}} -\newlabel{17@vr}{{}{57}} -\newlabel{ard:led-blink}{{4.{4}}{57}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blink/led\textendash blink.ino}{57}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {4.4}Lighting the LED from Scilab}{58}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.4.1}Lighting the LED}{58}\protected@file@percent } -\newlabel{sec:light-sci}{{4.4.1}{58}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{58}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{58}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{59}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash delay.sce}{59}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash delay.sce}{59}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{2}}{}}{59}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.4.2}Scilab Code}{59}\protected@file@percent } -\newlabel{sec:led-scilab-code}{{4.4.2}{59}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{1}}{}}{60}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{60}\protected@file@percent } +\newlabel{14@xvr}{{}{60}} +\newlabel{14@vr}{{}{60}} +\newlabel{ard:led-blue}{{4.{1}}{60}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{60}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{2}}{}}{61}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{61}\protected@file@percent } +\newlabel{15@xvr}{{}{61}} +\newlabel{15@vr}{{}{61}} +\newlabel{ard:led-blue-delay}{{4.{2}}{61}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue\textendash delay/led\textendash blue\textendash delay.ino}{61}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{3}}{}}{61}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{61}\protected@file@percent } +\newlabel{16@xvr}{{}{61}} +\newlabel{16@vr}{{}{61}} +\newlabel{ard:led-blue-red}{{4.{3}}{61}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue\textendash red/led\textendash blue\textendash red.ino}{61}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{4}}{}}{61}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{61}\protected@file@percent } +\newlabel{17@xvr}{{}{61}} +\newlabel{17@vr}{{}{61}} +\newlabel{ard:led-blink}{{4.{4}}{61}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blink/led\textendash blink.ino}{61}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.4}Lighting the LED from Scilab}{62}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.4.1}Lighting the LED}{62}\protected@file@percent } +\newlabel{sec:light-sci}{{4.4.1}{62}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{62}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{62}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{63}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash delay.sce}{63}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash delay.sce}{63}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{2}}{}}{63}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.4.2}Scilab Code}{63}\protected@file@percent } +\newlabel{sec:led-scilab-code}{{4.4.2}{63}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{59}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {4.{1}}Turning on the LED through Scilab}{59}\protected@file@percent } -\newlabel{18@xvr}{{}{59}} -\newlabel{18@vr}{{}{59}} -\newlabel{sci:led-blue}{{4.{1}}{59}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{59}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{2}}{}}{60}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{60}\protected@file@percent } -\newlabel{19@xvr}{{}{60}} -\newlabel{19@vr}{{}{60}} -\newlabel{sci:led-blue-delay}{{4.{2}}{60}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash delay.sce}{60}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{3}}{}}{60}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{60}\protected@file@percent } -\newlabel{20@xvr}{{}{60}} -\newlabel{20@vr}{{}{60}} -\newlabel{sci:led-blue-red}{{4.{3}}{60}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash red.sce}{60}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{4}}{}}{60}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{60}\protected@file@percent } -\newlabel{21@xvr}{{}{60}} -\newlabel{21@vr}{{}{60}} -\newlabel{sci:led-green-blink}{{4.{4}}{60}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash green\textendash blink.sce}{60}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{60}\protected@file@percent } -\newlabel{sec:light-xcos}{{4.5}{60}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.6}{\ignorespaces Turning the blue LED on through Xcos}}{61}\protected@file@percent } -\newlabel{23@xvr}{{}{61}} -\newlabel{23@vr}{{}{61}} -\newlabel{fig:led-blue}{{4.6}{61}} -\@writefile{lot}{\contentsline {table}{\numberline {4.1}{\ignorespaces Parameters to light the blue LED in Xcos\relax }}{61}\protected@file@percent } -\newlabel{tab:led-blue}{{4.1}{61}} -\newlabel{24@xvr}{{}{61}} -\newlabel{24@vr}{{}{61}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{62}\protected@file@percent } -\newlabel{26@xvr}{{}{62}} -\newlabel{26@vr}{{}{62}} -\newlabel{fig:led-blue-delay}{{4.7}{62}} -\@writefile{lot}{\contentsline {table}{\numberline {4.2}{\ignorespaces Parameters to light the blue LED in Xcos for two seconds\relax }}{62}\protected@file@percent } -\newlabel{tab:led-blue-delay}{{4.2}{62}} -\newlabel{27@xvr}{{}{62}} -\newlabel{27@vr}{{}{62}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.8}{\ignorespaces Turning the blue and red LEDs on through Xcos and turning them off one by one}}{63}\protected@file@percent } -\newlabel{29@xvr}{{}{63}} -\newlabel{29@vr}{{}{63}} -\newlabel{fig:led-blue-red}{{4.8}{63}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{3}}{}}{63}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{64}\protected@file@percent } -\newlabel{tab:led-blue-red}{{4.3}{64}} -\newlabel{30@xvr}{{}{64}} -\newlabel{30@vr}{{}{64}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{64}\protected@file@percent } -\newlabel{32@xvr}{{}{64}} -\newlabel{32@vr}{{}{64}} -\newlabel{fig:led-green-blink}{{4.9}{64}} -\@writefile{lot}{\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{65}\protected@file@percent } -\newlabel{tab:led-green-blink}{{4.4}{65}} -\newlabel{33@xvr}{{}{65}} -\newlabel{33@vr}{{}{65}} -\@writefile{toc}{\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{65}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{65}\protected@file@percent } -\newlabel{sec:light-py}{{4.6.1}{65}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.2}Python Code}{68}\protected@file@percent } -\newlabel{sec:led-python-code}{{4.6.2}{68}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{63}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {4.{1}}Turning on the LED through Scilab}{63}\protected@file@percent } +\newlabel{18@xvr}{{}{63}} +\newlabel{18@vr}{{}{63}} +\newlabel{sci:led-blue}{{4.{1}}{63}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{63}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{2}}{}}{64}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{64}\protected@file@percent } +\newlabel{19@xvr}{{}{64}} +\newlabel{19@vr}{{}{64}} +\newlabel{sci:led-blue-delay}{{4.{2}}{64}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash delay.sce}{64}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{3}}{}}{64}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{64}\protected@file@percent } +\newlabel{20@xvr}{{}{64}} +\newlabel{20@vr}{{}{64}} +\newlabel{sci:led-blue-red}{{4.{3}}{64}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash red.sce}{64}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{4}}{}}{64}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{64}\protected@file@percent } +\newlabel{21@xvr}{{}{64}} +\newlabel{21@vr}{{}{64}} +\newlabel{sci:led-green-blink}{{4.{4}}{64}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash green\textendash blink.sce}{64}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{64}\protected@file@percent } +\newlabel{sec:light-xcos}{{4.5}{64}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.6}{\ignorespaces Turning the blue LED on through Xcos}}{65}\protected@file@percent } +\newlabel{23@xvr}{{}{65}} +\newlabel{23@vr}{{}{65}} +\newlabel{fig:led-blue}{{4.6}{65}} +\@writefile{lot}{\contentsline {table}{\numberline {4.1}{\ignorespaces Parameters to light the blue LED in Xcos\relax }}{65}\protected@file@percent } +\newlabel{tab:led-blue}{{4.1}{65}} +\newlabel{24@xvr}{{}{65}} +\newlabel{24@vr}{{}{65}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{66}\protected@file@percent } +\newlabel{26@xvr}{{}{66}} +\newlabel{26@vr}{{}{66}} +\newlabel{fig:led-blue-delay}{{4.7}{66}} +\@writefile{lot}{\contentsline {table}{\numberline {4.2}{\ignorespaces Parameters to light the blue LED in Xcos for two seconds\relax }}{66}\protected@file@percent } +\newlabel{tab:led-blue-delay}{{4.2}{66}} +\newlabel{27@xvr}{{}{66}} +\newlabel{27@vr}{{}{66}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.8}{\ignorespaces Turning the blue and red LEDs on through Xcos and turning them off one by one}}{67}\protected@file@percent } +\newlabel{29@xvr}{{}{67}} +\newlabel{29@vr}{{}{67}} +\newlabel{fig:led-blue-red}{{4.8}{67}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{3}}{}}{67}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{68}\protected@file@percent } +\newlabel{tab:led-blue-red}{{4.3}{68}} +\newlabel{30@xvr}{{}{68}} +\newlabel{30@vr}{{}{68}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{68}\protected@file@percent } +\newlabel{32@xvr}{{}{68}} +\newlabel{32@vr}{{}{68}} +\newlabel{fig:led-green-blink}{{4.9}{68}} +\@writefile{lot}{\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{69}\protected@file@percent } +\newlabel{tab:led-green-blink}{{4.4}{69}} +\newlabel{33@xvr}{{}{69}} +\newlabel{33@vr}{{}{69}} +\@writefile{toc}{\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{69}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{69}\protected@file@percent } +\newlabel{sec:light-py}{{4.6.1}{69}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.2}Python Code}{72}\protected@file@percent } +\newlabel{sec:led-python-code}{{4.6.2}{72}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{1}}{}}{68}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {4.{1}}Turning on the LED through Python}{68}\protected@file@percent } -\newlabel{34@xvr}{{}{68}} -\newlabel{34@vr}{{}{68}} -\newlabel{py:led-blue1}{{4.{1}}{68}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{68}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{2}}{}}{68}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{68}\protected@file@percent } -\newlabel{35@xvr}{{}{68}} -\newlabel{35@vr}{{}{68}} -\newlabel{py:led-blue-delay}{{4.{2}}{68}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash delay.py}{68}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{3}}{}}{69}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{69}\protected@file@percent } -\newlabel{36@xvr}{{}{69}} -\newlabel{36@vr}{{}{69}} -\newlabel{py:led-blue-red}{{4.{3}}{69}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash red.py}{69}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{4}}{}}{70}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{70}\protected@file@percent } -\newlabel{37@xvr}{{}{70}} -\newlabel{37@vr}{{}{70}} -\newlabel{py:led-green-blink}{{4.{4}}{70}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash green\textendash blink.py}{70}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {4.7}Lighting the LED from Julia}{71}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.1}Lighting the LED}{71}\protected@file@percent } -\newlabel{sec:light-julia}{{4.7.1}{71}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.2}Julia Code}{73}\protected@file@percent } -\newlabel{sec:led-julia-code}{{4.7.2}{73}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{1}}{}}{72}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {4.{1}}Turning on the LED through Python}{72}\protected@file@percent } +\newlabel{34@xvr}{{}{72}} +\newlabel{34@vr}{{}{72}} +\newlabel{py:led-blue1}{{4.{1}}{72}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{72}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{2}}{}}{72}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{72}\protected@file@percent } +\newlabel{35@xvr}{{}{72}} +\newlabel{35@vr}{{}{72}} +\newlabel{py:led-blue-delay}{{4.{2}}{72}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash delay.py}{72}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{3}}{}}{73}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{73}\protected@file@percent } +\newlabel{36@xvr}{{}{73}} +\newlabel{36@vr}{{}{73}} +\newlabel{py:led-blue-red}{{4.{3}}{73}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash red.py}{73}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{4}}{}}{74}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{74}\protected@file@percent } +\newlabel{37@xvr}{{}{74}} +\newlabel{37@vr}{{}{74}} +\newlabel{py:led-green-blink}{{4.{4}}{74}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash green\textendash blink.py}{74}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.7}Lighting the LED from Julia}{75}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.1}Lighting the LED}{75}\protected@file@percent } +\newlabel{sec:light-julia}{{4.7.1}{75}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.2}Julia Code}{77}\protected@file@percent } +\newlabel{sec:led-julia-code}{{4.7.2}{77}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{73}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {4.{1}}Turning on the LED}{73}\protected@file@percent } -\newlabel{38@xvr}{{}{73}} -\newlabel{38@vr}{{}{73}} -\newlabel{julia:led-blue}{{4.{1}}{73}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue.jl}{73}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{73}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{73}\protected@file@percent } -\newlabel{39@xvr}{{}{73}} -\newlabel{39@vr}{{}{73}} -\newlabel{julia:led-blue-delay}{{4.{2}}{73}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue\textendash delay.jl}{73}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{3}}{}}{73}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{73}\protected@file@percent } -\newlabel{40@xvr}{{}{73}} -\newlabel{40@vr}{{}{73}} -\newlabel{juila:led-bmoe-red}{{4.{3}}{73}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue\textendash red.jl}{73}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{73}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{73}\protected@file@percent } -\newlabel{41@xvr}{{}{73}} -\newlabel{41@vr}{{}{73}} -\newlabel{julia:lemogreen-blink}{{4.{4}}{73}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash green\textendash blink.jl}{74}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {4.8}Lighting the LED from OpenModelica}{74}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.1}Lighting the LED}{74}\protected@file@percent } -\newlabel{sec:light-OpenModelica}{{4.8.1}{74}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{75}\protected@file@percent } -\newlabel{sec:led-OpenModelica-code}{{4.8.2}{75}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{77}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {4.{1}}Turning on the LED}{77}\protected@file@percent } +\newlabel{38@xvr}{{}{77}} +\newlabel{38@vr}{{}{77}} +\newlabel{julia:led-blue}{{4.{1}}{77}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue.jl}{77}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{77}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{77}\protected@file@percent } +\newlabel{39@xvr}{{}{77}} +\newlabel{39@vr}{{}{77}} +\newlabel{julia:led-blue-delay}{{4.{2}}{77}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue\textendash delay.jl}{77}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{3}}{}}{77}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{77}\protected@file@percent } +\newlabel{40@xvr}{{}{77}} +\newlabel{40@vr}{{}{77}} +\newlabel{juila:led-bmoe-red}{{4.{3}}{77}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue\textendash red.jl}{77}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{77}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{77}\protected@file@percent } +\newlabel{41@xvr}{{}{77}} +\newlabel{41@vr}{{}{77}} +\newlabel{julia:lemogreen-blink}{{4.{4}}{77}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash green\textendash blink.jl}{78}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.8}Lighting the LED from OpenModelica}{78}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.1}Lighting the LED}{78}\protected@file@percent } +\newlabel{sec:light-OpenModelica}{{4.8.1}{78}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{79}\protected@file@percent } +\newlabel{sec:led-OpenModelica-code}{{4.8.2}{79}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{75}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{1}}Turning on the LED}{75}\protected@file@percent } -\newlabel{42@xvr}{{}{75}} -\newlabel{42@vr}{{}{75}} -\newlabel{OpenModelica:led-blue}{{4.{1}}{75}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue.mo}{75}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{75}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{75}\protected@file@percent } -\newlabel{43@xvr}{{}{75}} -\newlabel{43@vr}{{}{75}} -\newlabel{OpenModelica:led-blue-delay}{{4.{2}}{75}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash delay.mo}{75}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{76}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{76}\protected@file@percent } -\newlabel{44@xvr}{{}{76}} -\newlabel{44@vr}{{}{76}} -\newlabel{OpenModelica:led-blue-red}{{4.{3}}{76}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash red.mo}{76}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{77}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{77}\protected@file@percent } -\newlabel{45@xvr}{{}{77}} -\newlabel{45@vr}{{}{77}} -\newlabel{OpenModelica:led-green-blink}{{4.{4}}{77}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash green\textendash blink.mo}{77}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{79}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{79}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{1}}Turning on the LED}{79}\protected@file@percent } +\newlabel{42@xvr}{{}{79}} +\newlabel{42@vr}{{}{79}} +\newlabel{OpenModelica:led-blue}{{4.{1}}{79}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue.mo}{79}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{79}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{79}\protected@file@percent } +\newlabel{43@xvr}{{}{79}} +\newlabel{43@vr}{{}{79}} +\newlabel{OpenModelica:led-blue-delay}{{4.{2}}{79}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash delay.mo}{79}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{80}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{80}\protected@file@percent } +\newlabel{44@xvr}{{}{80}} +\newlabel{44@vr}{{}{80}} +\newlabel{OpenModelica:led-blue-red}{{4.{3}}{80}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash red.mo}{80}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{81}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{81}\protected@file@percent } +\newlabel{45@xvr}{{}{81}} +\newlabel{45@vr}{{}{81}} +\newlabel{OpenModelica:led-green-blink}{{4.{4}}{81}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash green\textendash blink.mo}{81}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{83}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{pushbutton}{{5}{79}} -\@writefile{toc}{\contentsline {section}{\numberline {5.1}Preliminaries}{79}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{79}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {5.1}{\ignorespaces Connection Diagram\relax }}{80}\protected@file@percent } -\newlabel{fig:pushbuttonconn}{{5.1}{80}} -\@writefile{toc}{\contentsline {section}{\numberline {5.3}Reading the Pushbutton Status from the Arduino IDE}{80}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.1}Reading the Pushbutton Status}{80}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {5.2}{\ignorespaces Interfacing a pushbutton with Arduino Uno using a breadboard\relax }}{81}\protected@file@percent } -\newlabel{fig:ard-pushbtn-bread}{{5.2}{81}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push\textendash button\textendash status/push\textendash button\textendash status.ino}{81}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push\textendash button\textendash status/push\textendash button\textendash status.ino}{81}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/led\textendash push\textendash button/led\textendash push\textendash button.ino}{82}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{82}\protected@file@percent } -\newlabel{sec:push-arduino-code}{{5.3.2}{82}} +\newlabel{pushbutton}{{5}{83}} +\@writefile{toc}{\contentsline {section}{\numberline {5.1}Preliminaries}{83}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{83}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {5.1}{\ignorespaces Connection Diagram\relax }}{84}\protected@file@percent } +\newlabel{fig:pushbuttonconn}{{5.1}{84}} +\@writefile{toc}{\contentsline {section}{\numberline {5.3}Reading the Pushbutton Status from the Arduino IDE}{84}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.1}Reading the Pushbutton Status}{84}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {5.2}{\ignorespaces Interfacing a pushbutton with Arduino Uno using a breadboard\relax }}{85}\protected@file@percent } +\newlabel{fig:ard-pushbtn-bread}{{5.2}{85}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push\textendash button\textendash status/push\textendash button\textendash status.ino}{85}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push\textendash button\textendash status/push\textendash button\textendash status.ino}{85}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/led\textendash push\textendash button/led\textendash push\textendash button.ino}{86}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{86}\protected@file@percent } +\newlabel{sec:push-arduino-code}{{5.3.2}{86}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{82}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{82}\protected@file@percent } -\newlabel{46@xvr}{{}{82}} -\newlabel{46@vr}{{}{82}} -\newlabel{ard:push-100}{{5.{1}}{82}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push\textendash button\textendash status/push\textendash button\textendash status.ino}{82}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{82}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{82}\protected@file@percent } -\newlabel{47@xvr}{{}{82}} -\newlabel{47@vr}{{}{82}} -\newlabel{ard:push-200}{{5.{2}}{82}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/led\textendash push\textendash button/led\textendash push\textendash button.ino}{82}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.4}Reading the Pushbutton Status from Scilab}{83}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.1}Reading the Pushbutton Status}{83}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{83}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{83}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led\textendash push\textendash button.sce}{83}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{84}\protected@file@percent } -\newlabel{sec:push-scilab-code}{{5.4.2}{84}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{86}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{86}\protected@file@percent } +\newlabel{46@xvr}{{}{86}} +\newlabel{46@vr}{{}{86}} +\newlabel{ard:push-100}{{5.{1}}{86}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push\textendash button\textendash status/push\textendash button\textendash status.ino}{86}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{86}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{86}\protected@file@percent } +\newlabel{47@xvr}{{}{86}} +\newlabel{47@vr}{{}{86}} +\newlabel{ard:push-200}{{5.{2}}{86}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/led\textendash push\textendash button/led\textendash push\textendash button.ino}{86}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.4}Reading the Pushbutton Status from Scilab}{87}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.1}Reading the Pushbutton Status}{87}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{87}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{87}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led\textendash push\textendash button.sce}{87}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{88}\protected@file@percent } +\newlabel{sec:push-scilab-code}{{5.4.2}{88}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{84}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{84}\protected@file@percent } -\newlabel{48@xvr}{{}{84}} -\newlabel{48@vr}{{}{84}} -\newlabel{sci:push-100}{{5.{1}}{84}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{84}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{84}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{84}\protected@file@percent } -\newlabel{49@xvr}{{}{84}} -\newlabel{49@vr}{{}{84}} -\newlabel{sci:push-200}{{5.{2}}{84}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led\textendash push\textendash button.sce}{84}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.5}Accessing the Pushbutton from Xcos}{84}\protected@file@percent } -\newlabel{sec:push-xcos}{{5.5}{84}} -\@writefile{lof}{\contentsline {figure}{\numberline {5.3}{\ignorespaces Printing the push button status on the display block}}{85}\protected@file@percent } -\newlabel{51@xvr}{{}{85}} -\newlabel{51@vr}{{}{85}} -\newlabel{fig:push-button-status}{{5.3}{85}} -\@writefile{lot}{\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the push button status on the display block\relax }}{85}\protected@file@percent } -\newlabel{tab:push-button-status}{{5.1}{85}} -\newlabel{52@xvr}{{}{85}} -\newlabel{52@vr}{{}{85}} -\@writefile{lof}{\contentsline {figure}{\numberline {5.4}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{86}\protected@file@percent } -\newlabel{54@xvr}{{}{86}} -\newlabel{54@vr}{{}{86}} -\newlabel{fig:led-push-button}{{5.4}{86}} -\@writefile{lot}{\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{86}\protected@file@percent } -\newlabel{tab:led-push-button}{{5.2}{86}} -\newlabel{55@xvr}{{}{86}} -\newlabel{55@vr}{{}{86}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{5.{1}}{}}{86}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.6}Reading the Pushbutton Status from Python}{87}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.1}Reading the Pushbutton Status}{87}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{87}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{87}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led\textendash push\textendash button.py}{87}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.2}Python Code}{88}\protected@file@percent } -\newlabel{sec:push-python-code}{{5.6.2}{88}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{88}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{88}\protected@file@percent } +\newlabel{48@xvr}{{}{88}} +\newlabel{48@vr}{{}{88}} +\newlabel{sci:push-100}{{5.{1}}{88}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{88}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{88}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{88}\protected@file@percent } +\newlabel{49@xvr}{{}{88}} +\newlabel{49@vr}{{}{88}} +\newlabel{sci:push-200}{{5.{2}}{88}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led\textendash push\textendash button.sce}{88}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.5}Accessing the Pushbutton from Xcos}{88}\protected@file@percent } +\newlabel{sec:push-xcos}{{5.5}{88}} +\@writefile{lof}{\contentsline {figure}{\numberline {5.3}{\ignorespaces Printing the push button status on the display block}}{89}\protected@file@percent } +\newlabel{51@xvr}{{}{89}} +\newlabel{51@vr}{{}{89}} +\newlabel{fig:push-button-status}{{5.3}{89}} +\@writefile{lot}{\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the push button status on the display block\relax }}{89}\protected@file@percent } +\newlabel{tab:push-button-status}{{5.1}{89}} +\newlabel{52@xvr}{{}{89}} +\newlabel{52@vr}{{}{89}} +\@writefile{lof}{\contentsline {figure}{\numberline {5.4}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{90}\protected@file@percent } +\newlabel{54@xvr}{{}{90}} +\newlabel{54@vr}{{}{90}} +\newlabel{fig:led-push-button}{{5.4}{90}} +\@writefile{lot}{\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{90}\protected@file@percent } +\newlabel{tab:led-push-button}{{5.2}{90}} +\newlabel{55@xvr}{{}{90}} +\newlabel{55@vr}{{}{90}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{5.{1}}{}}{90}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.6}Reading the Pushbutton Status from Python}{91}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.1}Reading the Pushbutton Status}{91}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{91}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{91}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led\textendash push\textendash button.py}{91}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.2}Python Code}{92}\protected@file@percent } +\newlabel{sec:push-python-code}{{5.6.2}{92}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{1}}{}}{88}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{88}\protected@file@percent } -\newlabel{56@xvr}{{}{88}} -\newlabel{56@vr}{{}{88}} -\newlabel{py:push-100}{{5.{1}}{88}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{88}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{2}}{}}{88}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{88}\protected@file@percent } -\newlabel{57@xvr}{{}{88}} -\newlabel{57@vr}{{}{88}} -\newlabel{py:push-200}{{5.{2}}{88}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led\textendash push\textendash button.py}{89}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.7}Reading the Pushbutton Status from Julia}{90}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.1}Reading the Pushbutton Status}{90}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push\textendash button\textendash status.jl}{90}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{90}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.2}Julia Code}{90}\protected@file@percent } -\newlabel{sec:push-julia-code}{{5.7.2}{90}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{1}}{}}{92}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{92}\protected@file@percent } +\newlabel{56@xvr}{{}{92}} +\newlabel{56@vr}{{}{92}} +\newlabel{py:push-100}{{5.{1}}{92}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{92}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{2}}{}}{92}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{92}\protected@file@percent } +\newlabel{57@xvr}{{}{92}} +\newlabel{57@vr}{{}{92}} +\newlabel{py:push-200}{{5.{2}}{92}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led\textendash push\textendash button.py}{93}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.7}Reading the Pushbutton Status from Julia}{94}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.1}Reading the Pushbutton Status}{94}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push\textendash button\textendash status.jl}{94}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{94}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.2}Julia Code}{94}\protected@file@percent } +\newlabel{sec:push-julia-code}{{5.7.2}{94}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{1}}{}}{90}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{90}\protected@file@percent } -\newlabel{58@xvr}{{}{90}} -\newlabel{58@vr}{{}{90}} -\newlabel{julia:push-100}{{5.{1}}{90}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push\textendash button\textendash status.jl}{90}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{91}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{91}\protected@file@percent } -\newlabel{59@xvr}{{}{91}} -\newlabel{59@vr}{{}{91}} -\newlabel{julia:push-200}{{5.{2}}{91}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{91}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.8}Reading the Pushbutton Status from OpenModelica}{91}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.1}Reading the Pushbutton Status}{91}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{91}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.2}OpenModelica Code}{91}\protected@file@percent } -\newlabel{sec:led-OpenModelica-code}{{5.8.2}{91}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{1}}{}}{94}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{94}\protected@file@percent } +\newlabel{58@xvr}{{}{94}} +\newlabel{58@vr}{{}{94}} +\newlabel{julia:push-100}{{5.{1}}{94}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push\textendash button\textendash status.jl}{94}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{95}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{95}\protected@file@percent } +\newlabel{59@xvr}{{}{95}} +\newlabel{59@vr}{{}{95}} +\newlabel{julia:push-200}{{5.{2}}{95}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{95}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.8}Reading the Pushbutton Status from OpenModelica}{95}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.1}Reading the Pushbutton Status}{95}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{95}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.2}OpenModelica Code}{95}\protected@file@percent } +\newlabel{sec:led-OpenModelica-code}{{5.8.2}{95}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{91}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{91}\protected@file@percent } -\newlabel{60@xvr}{{}{91}} -\newlabel{60@vr}{{}{91}} -\newlabel{OpenModelica:push-100}{{5.{1}}{91}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{92}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{92}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{92}\protected@file@percent } -\newlabel{61@xvr}{{}{92}} -\newlabel{61@vr}{{}{92}} -\newlabel{OpenModelica:push-200}{{5.{2}}{92}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{92}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{95}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{95}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{95}\protected@file@percent } +\newlabel{60@xvr}{{}{95}} +\newlabel{60@vr}{{}{95}} +\newlabel{OpenModelica:push-100}{{5.{1}}{95}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{96}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{96}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{96}\protected@file@percent } +\newlabel{61@xvr}{{}{96}} +\newlabel{61@vr}{{}{96}} +\newlabel{OpenModelica:push-200}{{5.{2}}{96}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{96}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{99}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{ldr}{{6}{95}} -\@writefile{toc}{\contentsline {section}{\numberline {6.1}Preliminaries}{95}\protected@file@percent } -\newlabel{fig:ldr}{{6.1a}{96}} +\newlabel{ldr}{{6}{99}} +\@writefile{toc}{\contentsline {section}{\numberline {6.1}Preliminaries}{99}\protected@file@percent } +\newlabel{fig:ldr}{{6.1a}{100}} \newlabel{sub@fig:ldr}{{(a)}{a}} -\newlabel{fig:ldrsym}{{6.1b}{96}} +\newlabel{fig:ldrsym}{{6.1b}{100}} \newlabel{sub@fig:ldrsym}{{(b)}{b}} -\@writefile{lof}{\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{96}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of an LDR}}}{96}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of an LDR}}}{96}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{96}\protected@file@percent } -\newlabel{fig:ldrconn}{{6.2}{96}} -\@writefile{lof}{\contentsline {figure}{\numberline {6.3}{\ignorespaces Interfacing an LDR with Arduino Uno using a breadboard\relax }}{97}\protected@file@percent } -\newlabel{fig:ard-ldr-bread}{{6.3}{97}} -\@writefile{toc}{\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{97}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{97}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{97}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{98}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{98}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{98}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{1}}{}}{98}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{99}\protected@file@percent } -\newlabel{sec:ldr-arduino-code}{{6.3.2}{99}} +\@writefile{lof}{\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{100}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of an LDR}}}{100}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of an LDR}}}{100}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{100}\protected@file@percent } +\newlabel{fig:ldrconn}{{6.2}{100}} +\@writefile{lof}{\contentsline {figure}{\numberline {6.3}{\ignorespaces Interfacing an LDR with Arduino Uno using a breadboard\relax }}{101}\protected@file@percent } +\newlabel{fig:ard-ldr-bread}{{6.3}{101}} +\@writefile{toc}{\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{101}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{101}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{101}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{102}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{102}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{102}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{1}}{}}{102}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{103}\protected@file@percent } +\newlabel{sec:ldr-arduino-code}{{6.3.2}{103}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{99}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{99}\protected@file@percent } -\newlabel{62@xvr}{{}{99}} -\newlabel{62@vr}{{}{99}} -\newlabel{ard:ldr-read}{{6.{1}}{99}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{99}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{99}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{99}\protected@file@percent } -\newlabel{63@xvr}{{}{99}} -\newlabel{63@vr}{{}{99}} -\newlabel{ard:ldr-led}{{6.{2}}{99}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash led/ldr\textendash led.ino}{99}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{99}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{99}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{2}}{}}{100}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{100}\protected@file@percent } -\newlabel{sec:ldr-scilab-code}{{6.4.2}{100}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{103}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{103}\protected@file@percent } +\newlabel{62@xvr}{{}{103}} +\newlabel{62@vr}{{}{103}} +\newlabel{ard:ldr-read}{{6.{1}}{103}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{103}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{103}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{103}\protected@file@percent } +\newlabel{63@xvr}{{}{103}} +\newlabel{63@vr}{{}{103}} +\newlabel{ard:ldr-led}{{6.{2}}{103}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash led/ldr\textendash led.ino}{103}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{103}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{103}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{2}}{}}{104}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{104}\protected@file@percent } +\newlabel{sec:ldr-scilab-code}{{6.4.2}{104}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{100}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{100}\protected@file@percent } -\newlabel{64@xvr}{{}{100}} -\newlabel{64@vr}{{}{100}} -\newlabel{sci:ldr-read}{{6.{1}}{100}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash read.sce}{101}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{101}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{101}\protected@file@percent } -\newlabel{65@xvr}{{}{101}} -\newlabel{65@vr}{{}{101}} -\newlabel{sci:ldr-led}{{6.{2}}{101}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash led.sce}{101}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{101}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {6.4}{\ignorespaces Xcos diagram to read LDR values}}{102}\protected@file@percent } -\newlabel{67@xvr}{{}{102}} -\newlabel{67@vr}{{}{102}} -\newlabel{fig:ldr-read}{{6.4}{102}} -\@writefile{lot}{\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{102}\protected@file@percent } -\newlabel{tab:ldr-read}{{6.1}{102}} -\newlabel{68@xvr}{{}{102}} -\newlabel{68@vr}{{}{102}} -\@writefile{lof}{\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}}{103}\protected@file@percent } -\newlabel{70@xvr}{{}{103}} -\newlabel{70@vr}{{}{103}} -\newlabel{fig:ldr-led}{{6.5}{103}} -\@writefile{toc}{\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{103}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{103}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{104}\protected@file@percent } -\newlabel{tab:ldr-led}{{6.2}{104}} -\newlabel{71@xvr}{{}{104}} -\newlabel{71@vr}{{}{104}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{3}}{}}{105}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.2}Python Code}{105}\protected@file@percent } -\newlabel{sec:ldr-python-code}{{6.6.2}{105}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{104}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{104}\protected@file@percent } +\newlabel{64@xvr}{{}{104}} +\newlabel{64@vr}{{}{104}} +\newlabel{sci:ldr-read}{{6.{1}}{104}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash read.sce}{105}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{105}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{105}\protected@file@percent } +\newlabel{65@xvr}{{}{105}} +\newlabel{65@vr}{{}{105}} +\newlabel{sci:ldr-led}{{6.{2}}{105}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash led.sce}{105}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{105}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {6.4}{\ignorespaces Xcos diagram to read LDR values}}{106}\protected@file@percent } +\newlabel{67@xvr}{{}{106}} +\newlabel{67@vr}{{}{106}} +\newlabel{fig:ldr-read}{{6.4}{106}} +\@writefile{lot}{\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{106}\protected@file@percent } +\newlabel{tab:ldr-read}{{6.1}{106}} +\newlabel{68@xvr}{{}{106}} +\newlabel{68@vr}{{}{106}} +\@writefile{lof}{\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}}{107}\protected@file@percent } +\newlabel{70@xvr}{{}{107}} +\newlabel{70@vr}{{}{107}} +\newlabel{fig:ldr-led}{{6.5}{107}} +\@writefile{toc}{\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{107}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{107}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{108}\protected@file@percent } +\newlabel{tab:ldr-led}{{6.2}{108}} +\newlabel{71@xvr}{{}{108}} +\newlabel{71@vr}{{}{108}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{3}}{}}{109}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.2}Python Code}{109}\protected@file@percent } +\newlabel{sec:ldr-python-code}{{6.6.2}{109}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{1}}{}}{105}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{105}\protected@file@percent } -\newlabel{72@xvr}{{}{105}} -\newlabel{72@vr}{{}{105}} -\newlabel{py:ldr-read}{{6.{1}}{105}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash read.py}{105}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{2}}{}}{106}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{106}\protected@file@percent } -\newlabel{73@xvr}{{}{106}} -\newlabel{73@vr}{{}{106}} -\newlabel{py:ldr-led}{{6.{2}}{106}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash led.py}{106}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{107}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{107}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{107}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{4}}{}}{107}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.2}Julia Code}{108}\protected@file@percent } -\newlabel{sec:ldr-julia-code}{{6.7.2}{108}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{1}}{}}{109}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{109}\protected@file@percent } +\newlabel{72@xvr}{{}{109}} +\newlabel{72@vr}{{}{109}} +\newlabel{py:ldr-read}{{6.{1}}{109}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash read.py}{109}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{2}}{}}{110}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{110}\protected@file@percent } +\newlabel{73@xvr}{{}{110}} +\newlabel{73@vr}{{}{110}} +\newlabel{py:ldr-led}{{6.{2}}{110}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash led.py}{110}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{111}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{111}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{111}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{4}}{}}{111}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.2}Julia Code}{112}\protected@file@percent } +\newlabel{sec:ldr-julia-code}{{6.7.2}{112}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{108}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{108}\protected@file@percent } -\newlabel{74@xvr}{{}{108}} -\newlabel{74@vr}{{}{108}} -\newlabel{julia:ldr-read}{{6.{1}}{108}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash read.jl}{108}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{108}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{108}\protected@file@percent } -\newlabel{75@xvr}{{}{108}} -\newlabel{75@vr}{{}{108}} -\newlabel{julia:ldr-led}{{6.{2}}{108}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash led.jl}{108}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{108}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{108}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{109}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{109}\protected@file@percent } -\newlabel{sec:ldr-OpenModelica-code}{{6.8.2}{109}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{112}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{112}\protected@file@percent } +\newlabel{74@xvr}{{}{112}} +\newlabel{74@vr}{{}{112}} +\newlabel{julia:ldr-read}{{6.{1}}{112}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash read.jl}{112}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{112}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{112}\protected@file@percent } +\newlabel{75@xvr}{{}{112}} +\newlabel{75@vr}{{}{112}} +\newlabel{julia:ldr-led}{{6.{2}}{112}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash led.jl}{112}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{112}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{112}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{113}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{113}\protected@file@percent } +\newlabel{sec:ldr-OpenModelica-code}{{6.8.2}{113}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{109}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{109}\protected@file@percent } -\newlabel{76@xvr}{{}{109}} -\newlabel{76@vr}{{}{109}} -\newlabel{OpenModelica:ldr-read}{{6.{1}}{109}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash read.mo}{109}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{110}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{110}\protected@file@percent } -\newlabel{77@xvr}{{}{110}} -\newlabel{77@vr}{{}{110}} -\newlabel{OpenModelica:ldr-led}{{6.{2}}{110}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash led.mo}{110}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {7}Controlling a DC motor}{111}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{113}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{113}\protected@file@percent } +\newlabel{76@xvr}{{}{113}} +\newlabel{76@vr}{{}{113}} +\newlabel{OpenModelica:ldr-read}{{6.{1}}{113}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash read.mo}{113}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{114}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{114}\protected@file@percent } +\newlabel{77@xvr}{{}{114}} +\newlabel{77@vr}{{}{114}} +\newlabel{OpenModelica:ldr-led}{{6.{2}}{114}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash led.mo}{114}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {7}Controlling a DC motor}{115}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{dcmotor}{{7}{111}} -\@writefile{toc}{\contentsline {section}{\numberline {7.1}Preliminaries}{111}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {7.1}{\ignorespaces L293D motor driver board\relax }}{112}\protected@file@percent } -\newlabel{fig:motordriverboard}{{7.1}{112}} -\@writefile{lof}{\contentsline {figure}{\numberline {7.2}{\ignorespaces A schematic of DC motor connections\relax }}{113}\protected@file@percent } -\newlabel{fig:dcm-schematic}{{7.2}{113}} -\@writefile{lof}{\contentsline {figure}{\numberline {7.3}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{113}\protected@file@percent } -\newlabel{fig:dcmotorconn}{{7.3}{113}} -\@writefile{toc}{\contentsline {section}{\numberline {7.2}Controlling the DC motor from Arduino}{113}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.1}Controlling the DC motor}{113}\protected@file@percent } -\newlabel{sec:dcm-ard}{{7.2.1}{113}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{1}}{}}{114}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.2}Arduino Code}{115}\protected@file@percent } -\newlabel{sec:dcmotor-arduino-code}{{7.2.2}{115}} +\newlabel{dcmotor}{{7}{115}} +\@writefile{toc}{\contentsline {section}{\numberline {7.1}Preliminaries}{115}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {7.1}{\ignorespaces L293D motor driver board\relax }}{116}\protected@file@percent } +\newlabel{fig:motordriverboard}{{7.1}{116}} +\@writefile{lof}{\contentsline {figure}{\numberline {7.2}{\ignorespaces A schematic of DC motor connections\relax }}{117}\protected@file@percent } +\newlabel{fig:dcm-schematic}{{7.2}{117}} +\@writefile{lof}{\contentsline {figure}{\numberline {7.3}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{117}\protected@file@percent } +\newlabel{fig:dcmotorconn}{{7.3}{117}} +\@writefile{toc}{\contentsline {section}{\numberline {7.2}Controlling the DC motor from Arduino}{117}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.1}Controlling the DC motor}{117}\protected@file@percent } +\newlabel{sec:dcm-ard}{{7.2.1}{117}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{1}}{}}{118}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.2}Arduino Code}{119}\protected@file@percent } +\newlabel{sec:dcmotor-arduino-code}{{7.2.2}{119}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{115}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{115}\protected@file@percent } -\newlabel{78@xvr}{{}{115}} -\newlabel{78@vr}{{}{115}} -\newlabel{ard:dcmotor-clock}{{7.{1}}{115}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{115}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{2}}{}}{115}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{115}\protected@file@percent } -\newlabel{79@xvr}{{}{115}} -\newlabel{79@vr}{{}{115}} -\newlabel{ard:dcmotor-both}{{7.{2}}{115}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash both/dcmotor\textendash both.ino}{115}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{3}}{}}{115}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{115}\protected@file@percent } -\newlabel{80@xvr}{{}{115}} -\newlabel{80@vr}{{}{115}} -\newlabel{ard:dcmotor-loop}{{7.{3}}{115}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash loop/dcmotor\textendash loop.ino}{116}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.3}Controlling the DC motor from Scilab}{116}\protected@file@percent } -\newlabel{sec:dcm-sci}{{7.3}{116}} -\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.1}Initialization}{116}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {7.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{117}\protected@file@percent } -\newlabel{table:convention}{{7.1}{117}} -\@writefile{lot}{\contentsline {table}{\numberline {7.2}{\ignorespaces Parameters for DC motor initialization\relax }}{117}\protected@file@percent } -\newlabel{tab:dcmotor-init}{{7.2}{117}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{117}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.2}Rotation for a specified time}{117}\protected@file@percent } -\newlabel{sec:dc-both}{{7.3.2}{117}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{117}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{118}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{118}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{2}}{}}{118}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.3}Using the capabilities of Scilab}{118}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.4}Scilab Code}{119}\protected@file@percent } -\newlabel{sec:dcmotor-scilab-code}{{7.3.4}{119}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{119}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{119}\protected@file@percent } +\newlabel{78@xvr}{{}{119}} +\newlabel{78@vr}{{}{119}} +\newlabel{ard:dcmotor-clock}{{7.{1}}{119}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{119}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{2}}{}}{119}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{119}\protected@file@percent } +\newlabel{79@xvr}{{}{119}} +\newlabel{79@vr}{{}{119}} +\newlabel{ard:dcmotor-both}{{7.{2}}{119}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash both/dcmotor\textendash both.ino}{119}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{3}}{}}{119}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{119}\protected@file@percent } +\newlabel{80@xvr}{{}{119}} +\newlabel{80@vr}{{}{119}} +\newlabel{ard:dcmotor-loop}{{7.{3}}{119}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash loop/dcmotor\textendash loop.ino}{120}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.3}Controlling the DC motor from Scilab}{120}\protected@file@percent } +\newlabel{sec:dcm-sci}{{7.3}{120}} +\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.1}Initialization}{120}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {7.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{121}\protected@file@percent } +\newlabel{table:convention}{{7.1}{121}} +\@writefile{lot}{\contentsline {table}{\numberline {7.2}{\ignorespaces Parameters for DC motor initialization\relax }}{121}\protected@file@percent } +\newlabel{tab:dcmotor-init}{{7.2}{121}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{121}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.2}Rotation for a specified time}{121}\protected@file@percent } +\newlabel{sec:dc-both}{{7.3.2}{121}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{121}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{122}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{122}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{2}}{}}{122}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.3}Using the capabilities of Scilab}{122}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.4}Scilab Code}{123}\protected@file@percent } +\newlabel{sec:dcmotor-scilab-code}{{7.3.4}{123}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{119}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{119}\protected@file@percent } -\newlabel{81@xvr}{{}{119}} -\newlabel{81@vr}{{}{119}} -\newlabel{sci:dcmotor-clock}{{7.{1}}{119}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{119}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{2}}{}}{119}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{119}\protected@file@percent } -\newlabel{82@xvr}{{}{119}} -\newlabel{82@vr}{{}{119}} -\newlabel{sci:dcmotor-both}{{7.{2}}{119}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{119}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{3}}{}}{119}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{119}\protected@file@percent } -\newlabel{83@xvr}{{}{119}} -\newlabel{83@vr}{{}{119}} -\newlabel{sci:dcmotor-loop}{{7.{3}}{119}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash loop.sce}{119}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {7.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{120}\protected@file@percent } -\newlabel{85@xvr}{{}{120}} -\newlabel{85@vr}{{}{120}} -\newlabel{fig:dcmotor-clock}{{7.4}{120}} -\@writefile{toc}{\contentsline {section}{\numberline {7.4}Controlling the DC Motor from Xcos}{120}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {7.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{121}\protected@file@percent } -\newlabel{tab:dcmotor-clock}{{7.3}{121}} -\newlabel{86@xvr}{{}{121}} -\newlabel{86@vr}{{}{121}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{3}}{}}{121}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {7.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{122}\protected@file@percent } -\newlabel{88@xvr}{{}{122}} -\newlabel{88@vr}{{}{122}} -\newlabel{fig:dcmotor-both}{{7.5}{122}} -\@writefile{lot}{\contentsline {table}{\numberline {7.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{122}\protected@file@percent } -\newlabel{tab:dcmotor-both}{{7.4}{122}} -\newlabel{89@xvr}{{}{122}} -\newlabel{89@vr}{{}{122}} -\@writefile{lof}{\contentsline {figure}{\numberline {7.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{123}\protected@file@percent } -\newlabel{91@xvr}{{}{123}} -\newlabel{91@vr}{{}{123}} -\newlabel{fig:dcmotor-loop}{{7.6}{123}} -\@writefile{toc}{\contentsline {section}{\numberline {7.5}Controlling the DC Motor from Python}{123}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.5.1}Controlling the DC Motor}{123}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {7.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{124}\protected@file@percent } -\newlabel{tab:dcmotor-loop}{{7.5}{124}} -\newlabel{92@xvr}{{}{124}} -\newlabel{92@vr}{{}{124}} -\@writefile{toc}{\contentsline {subsection}{\numberline {7.5.2}Python Code}{125}\protected@file@percent } -\newlabel{sec:dcmotor-python-code}{{7.5.2}{125}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{123}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{123}\protected@file@percent } +\newlabel{81@xvr}{{}{123}} +\newlabel{81@vr}{{}{123}} +\newlabel{sci:dcmotor-clock}{{7.{1}}{123}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{123}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{2}}{}}{123}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{123}\protected@file@percent } +\newlabel{82@xvr}{{}{123}} +\newlabel{82@vr}{{}{123}} +\newlabel{sci:dcmotor-both}{{7.{2}}{123}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{123}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{3}}{}}{123}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{123}\protected@file@percent } +\newlabel{83@xvr}{{}{123}} +\newlabel{83@vr}{{}{123}} +\newlabel{sci:dcmotor-loop}{{7.{3}}{123}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash loop.sce}{123}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {7.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{124}\protected@file@percent } +\newlabel{85@xvr}{{}{124}} +\newlabel{85@vr}{{}{124}} +\newlabel{fig:dcmotor-clock}{{7.4}{124}} +\@writefile{toc}{\contentsline {section}{\numberline {7.4}Controlling the DC Motor from Xcos}{124}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {7.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{125}\protected@file@percent } +\newlabel{tab:dcmotor-clock}{{7.3}{125}} +\newlabel{86@xvr}{{}{125}} +\newlabel{86@vr}{{}{125}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{3}}{}}{125}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {7.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{126}\protected@file@percent } +\newlabel{88@xvr}{{}{126}} +\newlabel{88@vr}{{}{126}} +\newlabel{fig:dcmotor-both}{{7.5}{126}} +\@writefile{lot}{\contentsline {table}{\numberline {7.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{126}\protected@file@percent } +\newlabel{tab:dcmotor-both}{{7.4}{126}} +\newlabel{89@xvr}{{}{126}} +\newlabel{89@vr}{{}{126}} +\@writefile{lof}{\contentsline {figure}{\numberline {7.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{127}\protected@file@percent } +\newlabel{91@xvr}{{}{127}} +\newlabel{91@vr}{{}{127}} +\newlabel{fig:dcmotor-loop}{{7.6}{127}} +\@writefile{toc}{\contentsline {section}{\numberline {7.5}Controlling the DC Motor from Python}{127}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.5.1}Controlling the DC Motor}{127}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {7.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{128}\protected@file@percent } +\newlabel{tab:dcmotor-loop}{{7.5}{128}} +\newlabel{92@xvr}{{}{128}} +\newlabel{92@vr}{{}{128}} +\@writefile{toc}{\contentsline {subsection}{\numberline {7.5.2}Python Code}{129}\protected@file@percent } +\newlabel{sec:dcmotor-python-code}{{7.5.2}{129}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{1}}{}}{125}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{125}\protected@file@percent } -\newlabel{93@xvr}{{}{125}} -\newlabel{93@vr}{{}{125}} -\newlabel{py:dcmotor-clock}{{7.{1}}{125}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash clock.py}{125}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{2}}{}}{126}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{126}\protected@file@percent } -\newlabel{94@xvr}{{}{126}} -\newlabel{94@vr}{{}{126}} -\newlabel{py:dcmotor-both}{{7.{2}}{126}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash both.py}{126}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{3}}{}}{126}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{126}\protected@file@percent } -\newlabel{95@xvr}{{}{127}} -\newlabel{95@vr}{{}{127}} -\newlabel{py:dcmotor-loop}{{7.{3}}{127}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash loop.py}{127}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.6}Controlling the DC Motor from Julia}{128}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.1}Controlling the DC Motor}{128}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.2}Julia Code}{128}\protected@file@percent } -\newlabel{sec:dcmotor-julia-code}{{7.6.2}{128}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{1}}{}}{129}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{129}\protected@file@percent } +\newlabel{93@xvr}{{}{129}} +\newlabel{93@vr}{{}{129}} +\newlabel{py:dcmotor-clock}{{7.{1}}{129}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash clock.py}{129}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{2}}{}}{130}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{130}\protected@file@percent } +\newlabel{94@xvr}{{}{130}} +\newlabel{94@vr}{{}{130}} +\newlabel{py:dcmotor-both}{{7.{2}}{130}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash both.py}{130}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{3}}{}}{130}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{130}\protected@file@percent } +\newlabel{95@xvr}{{}{131}} +\newlabel{95@vr}{{}{131}} +\newlabel{py:dcmotor-loop}{{7.{3}}{131}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash loop.py}{131}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.6}Controlling the DC Motor from Julia}{132}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.1}Controlling the DC Motor}{132}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.2}Julia Code}{132}\protected@file@percent } +\newlabel{sec:dcmotor-julia-code}{{7.6.2}{132}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{128}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{128}\protected@file@percent } -\newlabel{96@xvr}{{}{128}} -\newlabel{96@vr}{{}{128}} -\newlabel{julia:dcmotor-clock}{{7.{1}}{128}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{128}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{2}}{}}{129}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{129}\protected@file@percent } -\newlabel{97@xvr}{{}{129}} -\newlabel{97@vr}{{}{129}} -\newlabel{julia:dcmotor-both}{{7.{2}}{129}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash both.jl}{129}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{3}}{}}{129}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{129}\protected@file@percent } -\newlabel{98@xvr}{{}{129}} -\newlabel{98@vr}{{}{129}} -\newlabel{julia:dcmotor-loop}{{7.{3}}{129}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash loop.jl}{129}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.7}Controlling the DC Motor from OpenModelica}{129}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.1}Controlling the DC Motor}{129}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.2}OpenModelica Code}{130}\protected@file@percent } -\newlabel{sec:dcmotor-OpenModelica-code}{{7.7.2}{130}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{132}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{132}\protected@file@percent } +\newlabel{96@xvr}{{}{132}} +\newlabel{96@vr}{{}{132}} +\newlabel{julia:dcmotor-clock}{{7.{1}}{132}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{132}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{2}}{}}{133}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{133}\protected@file@percent } +\newlabel{97@xvr}{{}{133}} +\newlabel{97@vr}{{}{133}} +\newlabel{julia:dcmotor-both}{{7.{2}}{133}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash both.jl}{133}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{3}}{}}{133}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{133}\protected@file@percent } +\newlabel{98@xvr}{{}{133}} +\newlabel{98@vr}{{}{133}} +\newlabel{julia:dcmotor-loop}{{7.{3}}{133}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash loop.jl}{133}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.7}Controlling the DC Motor from OpenModelica}{133}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.1}Controlling the DC Motor}{133}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.2}OpenModelica Code}{134}\protected@file@percent } +\newlabel{sec:dcmotor-OpenModelica-code}{{7.7.2}{134}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{130}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{130}\protected@file@percent } -\newlabel{99@xvr}{{}{130}} -\newlabel{99@vr}{{}{130}} -\newlabel{OpenModelica:dcmotor-clock}{{7.{1}}{130}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{130}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{2}}{}}{130}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{130}\protected@file@percent } -\newlabel{100@xvr}{{}{130}} -\newlabel{100@vr}{{}{130}} -\newlabel{OpenModelica:dcmotor-both}{{7.{2}}{130}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{131}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{3}}{}}{131}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{131}\protected@file@percent } -\newlabel{101@xvr}{{}{131}} -\newlabel{101@vr}{{}{131}} -\newlabel{OpenModelica:dcmotor-loop}{{7.{3}}{131}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash loop.mo}{131}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {8}Interfacing a Potentiometer}{133}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{134}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{134}\protected@file@percent } +\newlabel{99@xvr}{{}{134}} +\newlabel{99@vr}{{}{134}} +\newlabel{OpenModelica:dcmotor-clock}{{7.{1}}{134}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{134}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{2}}{}}{134}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{134}\protected@file@percent } +\newlabel{100@xvr}{{}{134}} +\newlabel{100@vr}{{}{134}} +\newlabel{OpenModelica:dcmotor-both}{{7.{2}}{134}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{135}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{3}}{}}{135}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{135}\protected@file@percent } +\newlabel{101@xvr}{{}{135}} +\newlabel{101@vr}{{}{135}} +\newlabel{OpenModelica:dcmotor-loop}{{7.{3}}{135}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash loop.mo}{135}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {8}Interfacing a Potentiometer}{137}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{potmeter}{{8}{133}} -\@writefile{toc}{\contentsline {section}{\numberline {8.1}Preliminaries}{133}\protected@file@percent } -\newlabel{102@xvr}{{}{133}} -\newlabel{102@vr}{{}{133}} -\newlabel{fig:pot}{{8.1a}{134}} +\newlabel{potmeter}{{8}{137}} +\@writefile{toc}{\contentsline {section}{\numberline {8.1}Preliminaries}{137}\protected@file@percent } +\newlabel{102@xvr}{{}{137}} +\newlabel{102@vr}{{}{137}} +\newlabel{fig:pot}{{8.1a}{138}} \newlabel{sub@fig:pot}{{(a)}{a}} -\newlabel{fig:potsch}{{8.1b}{134}} +\newlabel{fig:potsch}{{8.1b}{138}} \newlabel{sub@fig:potsch}{{(b)}{b}} -\@writefile{lof}{\contentsline {figure}{\numberline {8.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{134}\protected@file@percent } -\newlabel{fig:potmeterconn}{{8.1}{134}} -\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{134}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Schematic representation of the potentiometer}}}{134}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.2}Reading the potentiometer from the Arduino IDE}{134}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.2.1}Reading the potentiometer}{134}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{135}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{135}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.2.2}Arduino Code}{135}\protected@file@percent } -\newlabel{sec:pot-arduino-code}{{8.2.2}{135}} +\@writefile{lof}{\contentsline {figure}{\numberline {8.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{138}\protected@file@percent } +\newlabel{fig:potmeterconn}{{8.1}{138}} +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{138}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Schematic representation of the potentiometer}}}{138}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.2}Reading the potentiometer from the Arduino IDE}{138}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.2.1}Reading the potentiometer}{138}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{139}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{139}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.2.2}Arduino Code}{139}\protected@file@percent } +\newlabel{sec:pot-arduino-code}{{8.2.2}{139}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{135}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{135}\protected@file@percent } -\newlabel{103@xvr}{{}{135}} -\newlabel{103@vr}{{}{135}} -\newlabel{ard:pot-100}{{8.{1}}{135}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{135}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.3}Reading the potentiometer from Scilab}{136}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.1}Reading the potentiometer}{136}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{136}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{136}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.2}Scilab Code}{137}\protected@file@percent } -\newlabel{sec:pot-scilab-code}{{8.3.2}{137}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{139}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{139}\protected@file@percent } +\newlabel{103@xvr}{{}{139}} +\newlabel{103@vr}{{}{139}} +\newlabel{ard:pot-100}{{8.{1}}{139}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{139}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.3}Reading the potentiometer from Scilab}{140}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.1}Reading the potentiometer}{140}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{140}\protected@file@percent } +\@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 {subsection}{\numberline {8.3.2}Scilab Code}{141}\protected@file@percent } +\newlabel{sec:pot-scilab-code}{{8.3.2}{141}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{137}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{137}\protected@file@percent } -\newlabel{104@xvr}{{}{137}} -\newlabel{104@vr}{{}{137}} -\newlabel{sci:pot-100}{{8.{1}}{137}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{137}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.4}Reading the potentiometer from Xcos}{137}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {8.2}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{138}\protected@file@percent } -\newlabel{106@xvr}{{}{138}} -\newlabel{106@vr}{{}{138}} -\newlabel{fig:pot-threshold}{{8.2}{138}} -\@writefile{toc}{\contentsline {paragraph}{Exercise:}{138}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.5}Reading the potentiometer from Python}{138}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.5.1}Reading the potentiometer}{138}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{139}\protected@file@percent } -\newlabel{tab:pot-threshold}{{8.1}{139}} -\newlabel{107@xvr}{{}{139}} -\newlabel{107@vr}{{}{139}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{139}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{139}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.5.2}Python Code}{140}\protected@file@percent } -\newlabel{sec:pot-python-code}{{8.5.2}{140}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{141}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{141}\protected@file@percent } +\newlabel{104@xvr}{{}{141}} +\newlabel{104@vr}{{}{141}} +\newlabel{sci:pot-100}{{8.{1}}{141}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{141}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.4}Reading the potentiometer from Xcos}{141}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {8.2}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{142}\protected@file@percent } +\newlabel{106@xvr}{{}{142}} +\newlabel{106@vr}{{}{142}} +\newlabel{fig:pot-threshold}{{8.2}{142}} +\@writefile{toc}{\contentsline {paragraph}{Exercise:}{142}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.5}Reading the potentiometer from Python}{142}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.5.1}Reading the potentiometer}{142}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{143}\protected@file@percent } +\newlabel{tab:pot-threshold}{{8.1}{143}} +\newlabel{107@xvr}{{}{143}} +\newlabel{107@vr}{{}{143}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{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 } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.5.2}Python Code}{144}\protected@file@percent } +\newlabel{sec:pot-python-code}{{8.5.2}{144}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{8.{1}}{}}{140}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{140}\protected@file@percent } -\newlabel{108@xvr}{{}{140}} -\newlabel{108@vr}{{}{140}} -\newlabel{py:pot-100}{{8.{1}}{140}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{140}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.6}Reading the potentiometer from Julia}{141}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.1}Reading the potentiometer}{141}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{141}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{141}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.2}Julia Code}{142}\protected@file@percent } -\newlabel{sec:pot-julia-code}{{8.6.2}{142}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{8.{1}}{}}{144}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{144}\protected@file@percent } +\newlabel{108@xvr}{{}{144}} +\newlabel{108@vr}{{}{144}} +\newlabel{py:pot-100}{{8.{1}}{144}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{144}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.6}Reading the potentiometer from Julia}{145}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.1}Reading the potentiometer}{145}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{145}\protected@file@percent } +\@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 {subsection}{\numberline {8.6.2}Julia Code}{146}\protected@file@percent } +\newlabel{sec:pot-julia-code}{{8.6.2}{146}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{142}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{142}\protected@file@percent } -\newlabel{109@xvr}{{}{142}} -\newlabel{109@vr}{{}{142}} -\newlabel{julia:pot-100}{{8.{1}}{142}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{142}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.7}Reading the potentiometer from OpenModelica}{142}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.1}Reading the potentiometer}{142}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{142}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{143}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.2}OpenModelica Code}{143}\protected@file@percent } -\newlabel{sec:pot-OpenModelica-code}{{8.7.2}{143}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{146}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{146}\protected@file@percent } +\newlabel{109@xvr}{{}{146}} +\newlabel{109@vr}{{}{146}} +\newlabel{julia:pot-100}{{8.{1}}{146}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{146}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.7}Reading the potentiometer from OpenModelica}{146}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.1}Reading the potentiometer}{146}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{146}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{147}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.2}OpenModelica Code}{147}\protected@file@percent } +\newlabel{sec:pot-OpenModelica-code}{{8.7.2}{147}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{143}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{143}\protected@file@percent } -\newlabel{110@xvr}{{}{143}} -\newlabel{110@vr}{{}{143}} -\newlabel{OpenModelica:pot-100}{{8.{1}}{143}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{143}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{147}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{147}\protected@file@percent } +\newlabel{110@xvr}{{}{147}} +\newlabel{110@vr}{{}{147}} +\newlabel{OpenModelica:pot-100}{{8.{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} \citation{therm-wiki} -\@writefile{toc}{\contentsline {chapter}{\numberline {9}Interfacing a Thermistor}{145}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {9}Interfacing a Thermistor}{149}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{thermistor}{{9}{145}} -\@writefile{toc}{\contentsline {section}{\numberline {9.1}Preliminaries}{145}\protected@file@percent } -\newlabel{fig:therm}{{9.1a}{146}} +\newlabel{thermistor}{{9}{149}} +\@writefile{toc}{\contentsline {section}{\numberline {9.1}Preliminaries}{149}\protected@file@percent } +\newlabel{fig:therm}{{9.1a}{150}} \newlabel{sub@fig:therm}{{(a)}{a}} -\newlabel{fig:thermsym}{{9.1b}{146}} +\newlabel{fig:thermsym}{{9.1b}{150}} \newlabel{sub@fig:thermsym}{{(b)}{b}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{146}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{146}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{146}\protected@file@percent } -\newlabel{fig:therm-conn}{{9.2a}{146}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{150}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{150}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{150}\protected@file@percent } +\newlabel{fig:therm-conn}{{9.2a}{150}} \newlabel{sub@fig:therm-conn}{{(a)}{a}} -\newlabel{fig:buzzer-conn}{{9.2b}{146}} +\newlabel{fig:buzzer-conn}{{9.2b}{150}} \newlabel{sub@fig:buzzer-conn}{{(b)}{b}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{146}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Thermistor connection diagram}}}{146}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Buzzer connection diagram}}}{146}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{146}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {9.3}{\ignorespaces Interfacing a thermistor with Arduino Uno using a breadboard\relax }}{147}\protected@file@percent } -\newlabel{fig:ard-therm-bread}{{9.3}{147}} -\@writefile{toc}{\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from the Arduino IDE}{147}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{147}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{147}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{147}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{148}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{1}}{}}{148}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{148}\protected@file@percent } -\newlabel{sec:therm-arduino-code}{{9.3.2}{148}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{150}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Thermistor connection diagram}}}{150}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Buzzer connection diagram}}}{150}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{150}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {9.3}{\ignorespaces Interfacing a thermistor with Arduino Uno using a breadboard\relax }}{151}\protected@file@percent } +\newlabel{fig:ard-therm-bread}{{9.3}{151}} +\@writefile{toc}{\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from the Arduino IDE}{151}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{151}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{151}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{151}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{152}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{1}}{}}{152}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{152}\protected@file@percent } +\newlabel{sec:therm-arduino-code}{{9.3.2}{152}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{148}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{148}\protected@file@percent } -\newlabel{111@xvr}{{}{148}} -\newlabel{111@vr}{{}{148}} -\newlabel{ard:therm-read}{{9.{1}}{148}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{148}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{149}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{149}\protected@file@percent } -\newlabel{112@xvr}{{}{149}} -\newlabel{112@vr}{{}{149}} -\newlabel{ard:therm-buzzer}{{9.{2}}{149}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash buzzer/therm\textendash buzzer.ino}{149}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.4}Interfacing the Thermistor from Scilab}{150}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.1}Interfacing the Thermistor}{150}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{2}}{}}{150}\protected@file@percent } -\newlabel{therm-abc}{{9.1}{150}} -\newlabel{therm-beta}{{9.2}{151}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{151}\protected@file@percent } -\newlabel{sec:therm-scilab-code}{{9.4.2}{151}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{152}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{152}\protected@file@percent } +\newlabel{111@xvr}{{}{152}} +\newlabel{111@vr}{{}{152}} +\newlabel{ard:therm-read}{{9.{1}}{152}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{152}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{153}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{153}\protected@file@percent } +\newlabel{112@xvr}{{}{153}} +\newlabel{112@vr}{{}{153}} +\newlabel{ard:therm-buzzer}{{9.{2}}{153}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash buzzer/therm\textendash buzzer.ino}{153}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.4}Interfacing the Thermistor from Scilab}{154}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.1}Interfacing the Thermistor}{154}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{2}}{}}{154}\protected@file@percent } +\newlabel{therm-abc}{{9.1}{154}} +\newlabel{therm-beta}{{9.2}{155}} +\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{155}\protected@file@percent } +\newlabel{sec:therm-scilab-code}{{9.4.2}{155}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{151}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{151}\protected@file@percent } -\newlabel{113@xvr}{{}{151}} -\newlabel{113@vr}{{}{151}} -\newlabel{sci:therm-read}{{9.{1}}{151}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash read.sce}{151}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{151}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{151}\protected@file@percent } -\newlabel{114@xvr}{{}{151}} -\newlabel{114@vr}{{}{151}} -\newlabel{sci:therm-buzzer}{{9.{2}}{151}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash buzzer.sce}{151}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {9.4}{\ignorespaces Xcos diagram to read thermistor values}}{152}\protected@file@percent } -\newlabel{116@xvr}{{}{152}} -\newlabel{116@vr}{{}{152}} -\newlabel{fig:therm-read}{{9.4}{152}} -\@writefile{toc}{\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Xcos}{152}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{153}\protected@file@percent } -\newlabel{tab:therm-read}{{9.1}{153}} -\newlabel{117@xvr}{{}{153}} -\newlabel{117@vr}{{}{153}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.5}{\ignorespaces Output of Xcos diagram to read thermistor values}}{153}\protected@file@percent } -\newlabel{119@xvr}{{}{153}} -\newlabel{119@vr}{{}{153}} -\newlabel{fig:therm-read-output}{{9.5}{153}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.6}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{154}\protected@file@percent } -\newlabel{121@xvr}{{}{154}} -\newlabel{121@vr}{{}{154}} -\newlabel{fig:therm-buzzer}{{9.6}{154}} -\@writefile{toc}{\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Python}{154}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{154}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{155}\protected@file@percent } -\newlabel{tab:ldr-led}{{9.2}{155}} -\newlabel{122@xvr}{{}{155}} -\newlabel{122@vr}{{}{155}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.7}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{155}\protected@file@percent } -\newlabel{124@xvr}{{}{155}} -\newlabel{124@vr}{{}{155}} -\newlabel{fig:therm-buzzer-output}{{9.7}{155}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.2}Python Code}{156}\protected@file@percent } -\newlabel{sec:therm-pyhton-code}{{9.6.2}{156}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{155}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{155}\protected@file@percent } +\newlabel{113@xvr}{{}{155}} +\newlabel{113@vr}{{}{155}} +\newlabel{sci:therm-read}{{9.{1}}{155}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash read.sce}{155}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{155}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{155}\protected@file@percent } +\newlabel{114@xvr}{{}{155}} +\newlabel{114@vr}{{}{155}} +\newlabel{sci:therm-buzzer}{{9.{2}}{155}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash buzzer.sce}{155}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {9.4}{\ignorespaces Xcos diagram to read thermistor values}}{156}\protected@file@percent } +\newlabel{116@xvr}{{}{156}} +\newlabel{116@vr}{{}{156}} +\newlabel{fig:therm-read}{{9.4}{156}} +\@writefile{toc}{\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Xcos}{156}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{157}\protected@file@percent } +\newlabel{tab:therm-read}{{9.1}{157}} +\newlabel{117@xvr}{{}{157}} +\newlabel{117@vr}{{}{157}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.5}{\ignorespaces Output of Xcos diagram to read thermistor values}}{157}\protected@file@percent } +\newlabel{119@xvr}{{}{157}} +\newlabel{119@vr}{{}{157}} +\newlabel{fig:therm-read-output}{{9.5}{157}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.6}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{158}\protected@file@percent } +\newlabel{121@xvr}{{}{158}} +\newlabel{121@vr}{{}{158}} +\newlabel{fig:therm-buzzer}{{9.6}{158}} +\@writefile{toc}{\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Python}{158}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{158}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{159}\protected@file@percent } +\newlabel{tab:ldr-led}{{9.2}{159}} +\newlabel{122@xvr}{{}{159}} +\newlabel{122@vr}{{}{159}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.7}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{159}\protected@file@percent } +\newlabel{124@xvr}{{}{159}} +\newlabel{124@vr}{{}{159}} +\newlabel{fig:therm-buzzer-output}{{9.7}{159}} +\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.2}Python Code}{160}\protected@file@percent } +\newlabel{sec:therm-pyhton-code}{{9.6.2}{160}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{1}}{}}{156}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{156}\protected@file@percent } -\newlabel{125@xvr}{{}{156}} -\newlabel{125@vr}{{}{156}} -\newlabel{py:therm-read}{{9.{1}}{156}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash read.py}{156}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{2}}{}}{157}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{157}\protected@file@percent } -\newlabel{126@xvr}{{}{157}} -\newlabel{126@vr}{{}{157}} -\newlabel{py:therm-buzzer}{{9.{2}}{157}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash buzzer.py}{157}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from Julia}{158}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{158}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.2}Julia Code}{158}\protected@file@percent } -\newlabel{sec:therm-julia-code}{{9.7.2}{158}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{1}}{}}{160}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{160}\protected@file@percent } +\newlabel{125@xvr}{{}{160}} +\newlabel{125@vr}{{}{160}} +\newlabel{py:therm-read}{{9.{1}}{160}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash read.py}{160}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{2}}{}}{161}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{161}\protected@file@percent } +\newlabel{126@xvr}{{}{161}} +\newlabel{126@vr}{{}{161}} +\newlabel{py:therm-buzzer}{{9.{2}}{161}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash buzzer.py}{161}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from Julia}{162}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{162}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.2}Julia Code}{162}\protected@file@percent } +\newlabel{sec:therm-julia-code}{{9.7.2}{162}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{158}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{158}\protected@file@percent } -\newlabel{127@xvr}{{}{158}} -\newlabel{127@vr}{{}{158}} -\newlabel{julia:therm-read}{{9.{1}}{158}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash read.jl}{159}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{159}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{159}\protected@file@percent } -\newlabel{128@xvr}{{}{159}} -\newlabel{128@vr}{{}{159}} -\newlabel{julia:therm-buzzer}{{9.{2}}{159}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash buzzer.jl}{159}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.8}Interfacing the Thermistor from OpenModelica}{159}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.1}Interfacing the Thermistor}{159}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{160}\protected@file@percent } -\newlabel{sec:therm-OpenModelica-code}{{9.8.2}{160}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{162}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{162}\protected@file@percent } +\newlabel{127@xvr}{{}{162}} +\newlabel{127@vr}{{}{162}} +\newlabel{julia:therm-read}{{9.{1}}{162}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash read.jl}{163}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{163}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{163}\protected@file@percent } +\newlabel{128@xvr}{{}{163}} +\newlabel{128@vr}{{}{163}} +\newlabel{julia:therm-buzzer}{{9.{2}}{163}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash buzzer.jl}{163}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.8}Interfacing the Thermistor from OpenModelica}{163}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.1}Interfacing the Thermistor}{163}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{164}\protected@file@percent } +\newlabel{sec:therm-OpenModelica-code}{{9.8.2}{164}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{160}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{160}\protected@file@percent } -\newlabel{129@xvr}{{}{160}} -\newlabel{129@vr}{{}{160}} -\newlabel{OpenModelica:therm-read}{{9.{1}}{160}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash read.mo}{160}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{161}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{161}\protected@file@percent } -\newlabel{130@xvr}{{}{161}} -\newlabel{130@vr}{{}{161}} -\newlabel{OpenModelica:therm-buzzer}{{9.{2}}{161}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash buzzer.mo}{161}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{163}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{164}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{164}\protected@file@percent } +\newlabel{129@xvr}{{}{164}} +\newlabel{129@vr}{{}{164}} +\newlabel{OpenModelica:therm-read}{{9.{1}}{164}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash read.mo}{164}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{165}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{165}\protected@file@percent } +\newlabel{130@xvr}{{}{165}} +\newlabel{130@vr}{{}{165}} +\newlabel{OpenModelica:therm-buzzer}{{9.{2}}{165}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash buzzer.mo}{165}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{167}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{sec:servo}{{10}{163}} -\@writefile{toc}{\contentsline {section}{\numberline {10.1}Preliminaries}{163}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{164}\protected@file@percent } -\newlabel{tab:servo-connect}{{10.1}{164}} -\@writefile{toc}{\contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{164}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.1}Controlling the Servometer}{164}\protected@file@percent } -\newlabel{sec:servo-ard}{{10.2.1}{164}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{1}}{}}{165}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{165}\protected@file@percent } -\newlabel{sec:servo-arduino-code}{{10.2.2}{165}} +\newlabel{sec:servo}{{10}{167}} +\@writefile{toc}{\contentsline {section}{\numberline {10.1}Preliminaries}{167}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{168}\protected@file@percent } +\newlabel{tab:servo-connect}{{10.1}{168}} +\@writefile{toc}{\contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{168}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.1}Controlling the Servometer}{168}\protected@file@percent } +\newlabel{sec:servo-ard}{{10.2.1}{168}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{1}}{}}{169}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{169}\protected@file@percent } +\newlabel{sec:servo-arduino-code}{{10.2.2}{169}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{165}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{165}\protected@file@percent } -\newlabel{131@xvr}{{}{165}} -\newlabel{131@vr}{{}{165}} -\newlabel{ard:servo-init}{{10.{1}}{165}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{165}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{166}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{166}\protected@file@percent } -\newlabel{132@xvr}{{}{166}} -\newlabel{132@vr}{{}{166}} -\newlabel{ard:servo-reverse}{{10.{2}}{166}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash reverse/servo\textendash reverse.ino}{166}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{166}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in increments}{166}\protected@file@percent } -\newlabel{133@xvr}{{}{166}} -\newlabel{133@vr}{{}{166}} -\newlabel{ard:servo-loop}{{10.{3}}{166}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash loop/servo\textendash loop.ino}{166}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{167}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{167}\protected@file@percent } -\newlabel{134@xvr}{{}{167}} -\newlabel{134@vr}{{}{167}} -\newlabel{ard:servo-pot}{{10.{4}}{167}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash pot/servo\textendash pot.ino}{167}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{167}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.1}Controlling the Servomotor}{167}\protected@file@percent } -\newlabel{sec:servo-sci}{{10.3.1}{167}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{167}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{168}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{168}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{168}\protected@file@percent } -\newlabel{sec:servo-scilab-code}{{10.3.2}{168}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{169}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{169}\protected@file@percent } +\newlabel{131@xvr}{{}{169}} +\newlabel{131@vr}{{}{169}} +\newlabel{ard:servo-init}{{10.{1}}{169}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{169}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{170}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{170}\protected@file@percent } +\newlabel{132@xvr}{{}{170}} +\newlabel{132@vr}{{}{170}} +\newlabel{ard:servo-reverse}{{10.{2}}{170}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash reverse/servo\textendash reverse.ino}{170}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{170}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in increments}{170}\protected@file@percent } +\newlabel{133@xvr}{{}{170}} +\newlabel{133@vr}{{}{170}} +\newlabel{ard:servo-loop}{{10.{3}}{170}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash loop/servo\textendash loop.ino}{170}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{171}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{171}\protected@file@percent } +\newlabel{134@xvr}{{}{171}} +\newlabel{134@vr}{{}{171}} +\newlabel{ard:servo-pot}{{10.{4}}{171}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash pot/servo\textendash pot.ino}{171}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{171}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.1}Controlling the Servomotor}{171}\protected@file@percent } +\newlabel{sec:servo-sci}{{10.3.1}{171}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{171}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{172}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{172}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{172}\protected@file@percent } +\newlabel{sec:servo-scilab-code}{{10.3.2}{172}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{168}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{168}\protected@file@percent } -\newlabel{135@xvr}{{}{168}} -\newlabel{135@vr}{{}{168}} -\newlabel{sci:servo-init}{{10.{1}}{168}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{168}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{168}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{168}\protected@file@percent } -\newlabel{136@xvr}{{}{168}} -\newlabel{136@vr}{{}{168}} -\newlabel{sci:servo-reverse}{{10.{2}}{168}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash reverse.sce}{169}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{169}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{169}\protected@file@percent } -\newlabel{137@xvr}{{}{169}} -\newlabel{137@vr}{{}{169}} -\newlabel{sci:servo-loop}{{10.{3}}{169}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash loop.sce}{169}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{169}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{169}\protected@file@percent } -\newlabel{138@xvr}{{}{169}} -\newlabel{138@vr}{{}{169}} -\newlabel{sci:servo-pot}{{10.{4}}{169}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{169}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{169}\protected@file@percent } -\newlabel{sec:servo-xcos}{{10.4}{169}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{170}\protected@file@percent } -\newlabel{140@xvr}{{}{170}} -\newlabel{140@vr}{{}{170}} -\newlabel{fig:servo-init}{{10.1}{170}} -\@writefile{lot}{\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{170}\protected@file@percent } -\newlabel{tab:servo-init}{{10.2}{170}} -\newlabel{141@xvr}{{}{170}} -\newlabel{141@vr}{{}{170}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{171}\protected@file@percent } -\newlabel{143@xvr}{{}{171}} -\newlabel{143@vr}{{}{171}} -\newlabel{fig:servo-reverse}{{10.2}{171}} -\@writefile{lot}{\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{172}\protected@file@percent } -\newlabel{tab:servo-reverse}{{10.3}{172}} -\newlabel{144@xvr}{{}{172}} -\newlabel{144@vr}{{}{172}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{172}\protected@file@percent } -\newlabel{146@xvr}{{}{172}} -\newlabel{146@vr}{{}{172}} -\newlabel{fig:servo-loop}{{10.3}{172}} -\@writefile{lot}{\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{173}\protected@file@percent } -\newlabel{tab:servo-loop}{{10.4}{173}} -\newlabel{147@xvr}{{}{173}} -\newlabel{147@vr}{{}{173}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{173}\protected@file@percent } -\newlabel{149@xvr}{{}{173}} -\newlabel{149@vr}{{}{173}} -\newlabel{fig:servo-pot}{{10.4}{173}} -\@writefile{lot}{\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{174}\protected@file@percent } -\newlabel{tab:servo-pot}{{10.5}{174}} -\newlabel{150@xvr}{{}{174}} -\newlabel{150@vr}{{}{174}} -\@writefile{toc}{\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{174}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{174}\protected@file@percent } -\newlabel{sec:servo-py}{{10.5.1}{174}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{174}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{175}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{175}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.2}Python Code}{175}\protected@file@percent } -\newlabel{sec:servo-python-code}{{10.5.2}{175}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{172}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{172}\protected@file@percent } +\newlabel{135@xvr}{{}{172}} +\newlabel{135@vr}{{}{172}} +\newlabel{sci:servo-init}{{10.{1}}{172}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{172}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{172}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{172}\protected@file@percent } +\newlabel{136@xvr}{{}{172}} +\newlabel{136@vr}{{}{172}} +\newlabel{sci:servo-reverse}{{10.{2}}{172}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash reverse.sce}{173}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{173}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{173}\protected@file@percent } +\newlabel{137@xvr}{{}{173}} +\newlabel{137@vr}{{}{173}} +\newlabel{sci:servo-loop}{{10.{3}}{173}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash loop.sce}{173}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{173}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{173}\protected@file@percent } +\newlabel{138@xvr}{{}{173}} +\newlabel{138@vr}{{}{173}} +\newlabel{sci:servo-pot}{{10.{4}}{173}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{173}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{173}\protected@file@percent } +\newlabel{sec:servo-xcos}{{10.4}{173}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{174}\protected@file@percent } +\newlabel{140@xvr}{{}{174}} +\newlabel{140@vr}{{}{174}} +\newlabel{fig:servo-init}{{10.1}{174}} +\@writefile{lot}{\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{174}\protected@file@percent } +\newlabel{tab:servo-init}{{10.2}{174}} +\newlabel{141@xvr}{{}{174}} +\newlabel{141@vr}{{}{174}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{175}\protected@file@percent } +\newlabel{143@xvr}{{}{175}} +\newlabel{143@vr}{{}{175}} +\newlabel{fig:servo-reverse}{{10.2}{175}} +\@writefile{lot}{\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{176}\protected@file@percent } +\newlabel{tab:servo-reverse}{{10.3}{176}} +\newlabel{144@xvr}{{}{176}} +\newlabel{144@vr}{{}{176}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{176}\protected@file@percent } +\newlabel{146@xvr}{{}{176}} +\newlabel{146@vr}{{}{176}} +\newlabel{fig:servo-loop}{{10.3}{176}} +\@writefile{lot}{\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{177}\protected@file@percent } +\newlabel{tab:servo-loop}{{10.4}{177}} +\newlabel{147@xvr}{{}{177}} +\newlabel{147@vr}{{}{177}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{177}\protected@file@percent } +\newlabel{149@xvr}{{}{177}} +\newlabel{149@vr}{{}{177}} +\newlabel{fig:servo-pot}{{10.4}{177}} +\@writefile{lot}{\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{178}\protected@file@percent } +\newlabel{tab:servo-pot}{{10.5}{178}} +\newlabel{150@xvr}{{}{178}} +\newlabel{150@vr}{{}{178}} +\@writefile{toc}{\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{178}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{178}\protected@file@percent } +\newlabel{sec:servo-py}{{10.5.1}{178}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{178}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{179}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{179}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.2}Python Code}{179}\protected@file@percent } +\newlabel{sec:servo-python-code}{{10.5.2}{179}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{1}}{}}{175}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{175}\protected@file@percent } -\newlabel{151@xvr}{{}{175}} -\newlabel{151@vr}{{}{175}} -\newlabel{py:servo-init}{{10.{1}}{175}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{175}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{2}}{}}{176}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{176}\protected@file@percent } -\newlabel{152@xvr}{{}{176}} -\newlabel{152@vr}{{}{176}} -\newlabel{py:servo-reverse}{{10.{2}}{176}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash reverse.py}{176}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{3}}{}}{177}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{177}\protected@file@percent } -\newlabel{153@xvr}{{}{177}} -\newlabel{153@vr}{{}{177}} -\newlabel{sci:servo-loop}{{10.{3}}{177}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash loop.py}{177}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{4}}{}}{178}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{178}\protected@file@percent } -\newlabel{154@xvr}{{}{178}} -\newlabel{154@vr}{{}{178}} -\newlabel{py:servo-pot}{{10.{4}}{178}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{178}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{179}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.1}Controlling the Servomotor}{179}\protected@file@percent } -\newlabel{sec:servo-julia}{{10.6.1}{179}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{179}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{180}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{180}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.2}Julia Code}{180}\protected@file@percent } -\newlabel{sec:servo-julia-code}{{10.6.2}{180}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{1}}{}}{179}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{179}\protected@file@percent } +\newlabel{151@xvr}{{}{179}} +\newlabel{151@vr}{{}{179}} +\newlabel{py:servo-init}{{10.{1}}{179}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{179}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{2}}{}}{180}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{180}\protected@file@percent } +\newlabel{152@xvr}{{}{180}} +\newlabel{152@vr}{{}{180}} +\newlabel{py:servo-reverse}{{10.{2}}{180}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash reverse.py}{180}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{3}}{}}{181}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{181}\protected@file@percent } +\newlabel{153@xvr}{{}{181}} +\newlabel{153@vr}{{}{181}} +\newlabel{sci:servo-loop}{{10.{3}}{181}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash loop.py}{181}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{4}}{}}{182}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{182}\protected@file@percent } +\newlabel{154@xvr}{{}{182}} +\newlabel{154@vr}{{}{182}} +\newlabel{py:servo-pot}{{10.{4}}{182}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{182}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{183}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.1}Controlling the Servomotor}{183}\protected@file@percent } +\newlabel{sec:servo-julia}{{10.6.1}{183}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{183}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{184}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{184}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.2}Julia Code}{184}\protected@file@percent } +\newlabel{sec:servo-julia-code}{{10.6.2}{184}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{180}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{180}\protected@file@percent } -\newlabel{155@xvr}{{}{180}} -\newlabel{155@vr}{{}{180}} -\newlabel{julia:servo-init}{{10.{1}}{180}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{180}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{180}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{180}\protected@file@percent } -\newlabel{156@xvr}{{}{180}} -\newlabel{156@vr}{{}{180}} -\newlabel{julia:servo-reverse}{{10.{2}}{180}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash reverse.jl}{180}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{181}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{181}\protected@file@percent } -\newlabel{157@xvr}{{}{181}} -\newlabel{157@vr}{{}{181}} -\newlabel{julia:servo-loop}{{10.{3}}{181}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash loop.jl}{181}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{181}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{181}\protected@file@percent } -\newlabel{158@xvr}{{}{181}} -\newlabel{158@vr}{{}{181}} -\newlabel{julia:servo-pot}{{10.{4}}{181}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{181}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{181}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.1}Controlling the Servomotor}{181}\protected@file@percent } -\newlabel{sec:servo-OpenModelica}{{10.7.1}{181}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{182}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{182}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{182}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{182}\protected@file@percent } -\newlabel{sec:servo-OpenModelica-code}{{10.7.2}{182}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{184}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{184}\protected@file@percent } +\newlabel{155@xvr}{{}{184}} +\newlabel{155@vr}{{}{184}} +\newlabel{julia:servo-init}{{10.{1}}{184}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{184}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{184}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{184}\protected@file@percent } +\newlabel{156@xvr}{{}{184}} +\newlabel{156@vr}{{}{184}} +\newlabel{julia:servo-reverse}{{10.{2}}{184}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash reverse.jl}{184}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{185}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{185}\protected@file@percent } +\newlabel{157@xvr}{{}{185}} +\newlabel{157@vr}{{}{185}} +\newlabel{julia:servo-loop}{{10.{3}}{185}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash loop.jl}{185}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{185}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{185}\protected@file@percent } +\newlabel{158@xvr}{{}{185}} +\newlabel{158@vr}{{}{185}} +\newlabel{julia:servo-pot}{{10.{4}}{185}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{185}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{185}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.1}Controlling the Servomotor}{185}\protected@file@percent } +\newlabel{sec:servo-OpenModelica}{{10.7.1}{185}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{186}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{186}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{186}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{186}\protected@file@percent } +\newlabel{sec:servo-OpenModelica-code}{{10.7.2}{186}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{182}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{182}\protected@file@percent } -\newlabel{159@xvr}{{}{182}} -\newlabel{159@vr}{{}{182}} -\newlabel{OpenModelica:servo-init}{{10.{1}}{182}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{182}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{183}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{183}\protected@file@percent } -\newlabel{160@xvr}{{}{183}} -\newlabel{160@vr}{{}{183}} -\newlabel{OpenModelica:servo-reverse}{{10.{2}}{183}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash reverse.mo}{183}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{184}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{184}\protected@file@percent } -\newlabel{161@xvr}{{}{184}} -\newlabel{161@vr}{{}{184}} -\newlabel{OpenModelica:servo-loop}{{10.{3}}{184}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash loop.mo}{184}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{184}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{184}\protected@file@percent } -\newlabel{162@xvr}{{}{184}} -\newlabel{162@vr}{{}{184}} -\newlabel{OpenModelica:servo-pot}{{10.{4}}{184}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{185}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{187}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{186}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{186}\protected@file@percent } +\newlabel{159@xvr}{{}{186}} +\newlabel{159@vr}{{}{186}} +\newlabel{OpenModelica:servo-init}{{10.{1}}{186}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{186}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{187}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{187}\protected@file@percent } +\newlabel{160@xvr}{{}{187}} +\newlabel{160@vr}{{}{187}} +\newlabel{OpenModelica:servo-reverse}{{10.{2}}{187}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash reverse.mo}{187}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{188}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{188}\protected@file@percent } +\newlabel{161@xvr}{{}{188}} +\newlabel{161@vr}{{}{188}} +\newlabel{OpenModelica:servo-loop}{{10.{3}}{188}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash loop.mo}{188}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{188}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{188}\protected@file@percent } +\newlabel{162@xvr}{{}{188}} +\newlabel{162@vr}{{}{188}} +\newlabel{OpenModelica:servo-pot}{{10.{4}}{188}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{189}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{191}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{modbus}{{11}{187}} -\@writefile{toc}{\contentsline {section}{\numberline {11.1}Preliminaries}{187}\protected@file@percent } -\newlabel{fig:mod-block}{{\caption@xref {fig:mod-block}{ on input line 72}}{188}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{188}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.2}{\ignorespaces Master-Slave Query-Response Cycle\relax }}{188}\protected@file@percent } -\newlabel{fig:mod-master-slave}{{11.2}{188}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{189}\protected@file@percent } -\newlabel{fig:rs-485}{{11.3}{189}} -\@writefile{lot}{\contentsline {table}{\numberline {11.1}{\ignorespaces Interpretation of a request packet\relax }}{190}\protected@file@percent } -\newlabel{tab:request-packet}{{11.1}{190}} -\@writefile{lot}{\contentsline {table}{\numberline {11.2}{\ignorespaces Interpretation of a response packet\relax }}{190}\protected@file@percent } -\newlabel{tab:response-packet}{{11.2}{190}} -\@writefile{lot}{\contentsline {table}{\numberline {11.3}{\ignorespaces Hexadecimal to Decimal\relax }}{191}\protected@file@percent } -\newlabel{tab:ieee-decimal}{{11.3}{191}} -\@writefile{lot}{\contentsline {table}{\numberline {11.4}{\ignorespaces Single and Double Precision Representation\relax }}{191}\protected@file@percent } -\newlabel{tab:single-precision}{{11.4}{191}} -\@writefile{toc}{\contentsline {section}{\numberline {11.2}Objective}{192}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {11.3}Energy Meter set up for Modbus protocol with Arduino Uno}{192}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.4}{\ignorespaces MODBUS Set Up for Energy Meter\relax }}{193}\protected@file@percent } -\newlabel{fig:full-set-up}{{11.4}{193}} -\@writefile{toc}{\contentsline {section}{\numberline {11.4}Software}{193}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.5}{\ignorespaces Block Diagram for Energy Meter Setup\relax }}{194}\protected@file@percent } -\newlabel{fig:block-diagram}{{11.5}{194}} -\@writefile{toc}{\contentsline {section}{\numberline {11.5}Output}{194}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{195}\protected@file@percent } -\newlabel{fig:modbus-firmware}{{11.6}{195}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.7}{\ignorespaces Flow Chart of the Modbus Energy Meter Implementation\relax }}{196}\protected@file@percent } -\newlabel{fig:flow-chart}{{11.7}{196}} -\@writefile{toc}{\contentsline {section}{\numberline {11.6}Reading Parameters from Xcos}{196}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.8}{\ignorespaces Single Phase Current Output on Scilab Console\relax }}{197}\protected@file@percent } -\newlabel{fig:current-console}{{11.8}{197}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.9}{\ignorespaces Single Phase Current Output on Energy Meter\relax }}{197}\protected@file@percent } -\newlabel{fig:current-meter}{{11.9}{197}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.10}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{198}\protected@file@percent } -\newlabel{fig:voltage-console}{{11.10}{198}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.11}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{198}\protected@file@percent } -\newlabel{fig:voltage-meter}{{11.11}{198}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.12}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{199}\protected@file@percent } -\newlabel{fig:power-console}{{11.12}{199}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.13}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{199}\protected@file@percent } -\newlabel{fig:power-meter}{{11.13}{199}} -\@writefile{toc}{\contentsline {section}{\numberline {11.7}Code}{199}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.1}Arduino Code}{199}\protected@file@percent } -\newlabel{sec:firmware-modbus}{{11.7.1}{199}} +\newlabel{modbus}{{11}{191}} +\@writefile{toc}{\contentsline {section}{\numberline {11.1}Preliminaries}{191}\protected@file@percent } +\newlabel{fig:mod-block}{{\caption@xref {fig:mod-block}{ on input line 72}}{192}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{192}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.2}{\ignorespaces Master-Slave Query-Response Cycle\relax }}{192}\protected@file@percent } +\newlabel{fig:mod-master-slave}{{11.2}{192}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{193}\protected@file@percent } +\newlabel{fig:rs-485}{{11.3}{193}} +\@writefile{lot}{\contentsline {table}{\numberline {11.1}{\ignorespaces Interpretation of a request packet\relax }}{194}\protected@file@percent } +\newlabel{tab:request-packet}{{11.1}{194}} +\@writefile{lot}{\contentsline {table}{\numberline {11.2}{\ignorespaces Interpretation of a response packet\relax }}{194}\protected@file@percent } +\newlabel{tab:response-packet}{{11.2}{194}} +\@writefile{lot}{\contentsline {table}{\numberline {11.3}{\ignorespaces Hexadecimal to Decimal\relax }}{195}\protected@file@percent } +\newlabel{tab:ieee-decimal}{{11.3}{195}} +\@writefile{lot}{\contentsline {table}{\numberline {11.4}{\ignorespaces Single and Double Precision Representation\relax }}{195}\protected@file@percent } +\newlabel{tab:single-precision}{{11.4}{195}} +\@writefile{toc}{\contentsline {section}{\numberline {11.2}Objective}{196}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.3}Energy Meter set up for Modbus protocol with Arduino Uno}{196}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.4}{\ignorespaces MODBUS Set Up for Energy Meter\relax }}{197}\protected@file@percent } +\newlabel{fig:full-set-up}{{11.4}{197}} +\@writefile{toc}{\contentsline {section}{\numberline {11.4}Software}{197}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.5}{\ignorespaces Block Diagram for Energy Meter Setup\relax }}{198}\protected@file@percent } +\newlabel{fig:block-diagram}{{11.5}{198}} +\@writefile{toc}{\contentsline {section}{\numberline {11.5}Output}{198}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{199}\protected@file@percent } +\newlabel{fig:modbus-firmware}{{11.6}{199}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.7}{\ignorespaces Flow Chart of the Modbus Energy Meter Implementation\relax }}{200}\protected@file@percent } +\newlabel{fig:flow-chart}{{11.7}{200}} +\@writefile{toc}{\contentsline {section}{\numberline {11.6}Reading Parameters from Xcos}{200}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.8}{\ignorespaces Single Phase Current Output on Scilab Console\relax }}{201}\protected@file@percent } +\newlabel{fig:current-console}{{11.8}{201}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.9}{\ignorespaces Single Phase Current Output on Energy Meter\relax }}{201}\protected@file@percent } +\newlabel{fig:current-meter}{{11.9}{201}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.10}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{202}\protected@file@percent } +\newlabel{fig:voltage-console}{{11.10}{202}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.11}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{202}\protected@file@percent } +\newlabel{fig:voltage-meter}{{11.11}{202}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.12}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{203}\protected@file@percent } +\newlabel{fig:power-console}{{11.12}{203}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.13}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{203}\protected@file@percent } +\newlabel{fig:power-meter}{{11.13}{203}} +\@writefile{toc}{\contentsline {section}{\numberline {11.7}Code}{203}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.1}Arduino Code}{203}\protected@file@percent } +\newlabel{sec:firmware-modbus}{{11.7.1}{203}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{199}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{199}\protected@file@percent } -\newlabel{165@xvr}{{}{199}} -\newlabel{165@vr}{{}{199}} -\newlabel{ard:firmware-modbus}{{11.{1}}{199}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/arduino/send\textunderscore packet.ino}{199}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{200}\protected@file@percent } -\newlabel{164@xvr}{{}{200}} -\newlabel{164@vr}{{}{200}} -\newlabel{fig:mod-read}{{11.14}{200}} -\@writefile{lot}{\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{200}\protected@file@percent } -\newlabel{tab:mod-xcos-read}{{11.5}{200}} -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.2}Scilab Code}{201}\protected@file@percent } -\newlabel{sec:modbus-scilab-code}{{11.7.2}{201}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{203}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{203}\protected@file@percent } +\newlabel{165@xvr}{{}{203}} +\newlabel{165@vr}{{}{203}} +\newlabel{ard:firmware-modbus}{{11.{1}}{203}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/arduino/send\textunderscore packet.ino}{203}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{204}\protected@file@percent } +\newlabel{164@xvr}{{}{204}} +\newlabel{164@vr}{{}{204}} +\newlabel{fig:mod-read}{{11.14}{204}} +\@writefile{lot}{\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{204}\protected@file@percent } +\newlabel{tab:mod-xcos-read}{{11.5}{204}} +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.2}Scilab Code}{205}\protected@file@percent } +\newlabel{sec:modbus-scilab-code}{{11.7.2}{205}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{201}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{201}\protected@file@percent } -\newlabel{166@xvr}{{}{201}} -\newlabel{166@vr}{{}{201}} -\newlabel{sci:current-modbus}{{11.{1}}{201}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore val.sce}{201}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{201}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{201}\protected@file@percent } -\newlabel{167@xvr}{{}{201}} -\newlabel{167@vr}{{}{201}} -\newlabel{sci:current-modbus}{{11.{2}}{201}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore current.sci}{201}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{201}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{201}\protected@file@percent } -\newlabel{168@xvr}{{}{201}} -\newlabel{168@vr}{{}{201}} -\newlabel{sci:voltage-modbus}{{11.{3}}{201}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore voltage.sci}{201}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{202}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{202}\protected@file@percent } -\newlabel{169@xvr}{{}{202}} -\newlabel{169@vr}{{}{202}} -\newlabel{sci:modbus-power}{{11.{4}}{202}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore active\textunderscore power.sci}{202}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.3}Python Code}{202}\protected@file@percent } -\newlabel{sec:modbus-python-code}{{11.7.3}{202}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{205}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{205}\protected@file@percent } +\newlabel{166@xvr}{{}{205}} +\newlabel{166@vr}{{}{205}} +\newlabel{sci:current-modbus}{{11.{1}}{205}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore val.sce}{205}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{205}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{205}\protected@file@percent } +\newlabel{167@xvr}{{}{205}} +\newlabel{167@vr}{{}{205}} +\newlabel{sci:current-modbus}{{11.{2}}{205}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore current.sci}{205}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{205}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{205}\protected@file@percent } +\newlabel{168@xvr}{{}{205}} +\newlabel{168@vr}{{}{205}} +\newlabel{sci:voltage-modbus}{{11.{3}}{205}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore voltage.sci}{205}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{206}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{206}\protected@file@percent } +\newlabel{169@xvr}{{}{206}} +\newlabel{169@vr}{{}{206}} +\newlabel{sci:modbus-power}{{11.{4}}{206}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore active\textunderscore power.sci}{206}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.3}Python Code}{206}\protected@file@percent } +\newlabel{sec:modbus-python-code}{{11.7.3}{206}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{1}}{}}{202}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{202}\protected@file@percent } -\newlabel{170@xvr}{{}{202}} -\newlabel{170@vr}{{}{202}} -\newlabel{py:current-modbus}{{11.{1}}{202}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore current.py}{202}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{2}}{}}{202}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{202}\protected@file@percent } -\newlabel{171@xvr}{{}{202}} -\newlabel{171@vr}{{}{202}} -\newlabel{py:voltage-modbus}{{11.{2}}{202}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore voltage.py}{202}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{3}}{}}{203}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{203}\protected@file@percent } -\newlabel{172@xvr}{{}{203}} -\newlabel{172@vr}{{}{203}} -\newlabel{py:modbus-power}{{11.{3}}{203}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore active\textunderscore power.py}{203}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.4}Julia Code}{203}\protected@file@percent } -\newlabel{sec:modbus-julia-code}{{11.7.4}{203}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{1}}{}}{206}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{206}\protected@file@percent } +\newlabel{170@xvr}{{}{206}} +\newlabel{170@vr}{{}{206}} +\newlabel{py:current-modbus}{{11.{1}}{206}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore current.py}{206}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{2}}{}}{206}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{206}\protected@file@percent } +\newlabel{171@xvr}{{}{206}} +\newlabel{171@vr}{{}{206}} +\newlabel{py:voltage-modbus}{{11.{2}}{206}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore voltage.py}{206}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{3}}{}}{207}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{207}\protected@file@percent } +\newlabel{172@xvr}{{}{207}} +\newlabel{172@vr}{{}{207}} +\newlabel{py:modbus-power}{{11.{3}}{207}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore active\textunderscore power.py}{207}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.4}Julia Code}{207}\protected@file@percent } +\newlabel{sec:modbus-julia-code}{{11.7.4}{207}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{203}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{203}\protected@file@percent } -\newlabel{173@xvr}{{}{203}} -\newlabel{173@vr}{{}{203}} -\newlabel{julia:current-modbus}{{11.{1}}{203}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readCurrent.jl}{203}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{203}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{203}\protected@file@percent } -\newlabel{174@xvr}{{}{203}} -\newlabel{174@vr}{{}{203}} -\newlabel{julia:voltage-modbus}{{11.{2}}{203}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readVoltage.jl}{203}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{204}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{204}\protected@file@percent } -\newlabel{175@xvr}{{}{204}} -\newlabel{175@vr}{{}{204}} -\newlabel{julia:modbus-power}{{11.{3}}{204}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readPower.jl}{204}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{204}\protected@file@percent } -\newlabel{sec:modbus-OpenModelica-code}{{11.7.5}{204}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{207}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{207}\protected@file@percent } +\newlabel{173@xvr}{{}{207}} +\newlabel{173@vr}{{}{207}} +\newlabel{julia:current-modbus}{{11.{1}}{207}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readCurrent.jl}{207}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{207}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{207}\protected@file@percent } +\newlabel{174@xvr}{{}{207}} +\newlabel{174@vr}{{}{207}} +\newlabel{julia:voltage-modbus}{{11.{2}}{207}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readVoltage.jl}{207}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{208}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{208}\protected@file@percent } +\newlabel{175@xvr}{{}{208}} +\newlabel{175@vr}{{}{208}} +\newlabel{julia:modbus-power}{{11.{3}}{208}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readPower.jl}{208}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{208}\protected@file@percent } +\newlabel{sec:modbus-OpenModelica-code}{{11.7.5}{208}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{204}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{204}\protected@file@percent } -\newlabel{176@xvr}{{}{204}} -\newlabel{176@vr}{{}{204}} -\newlabel{OpenModelica:current-modbus}{{11.{1}}{204}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readCurrent.mo}{204}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{204}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{204}\protected@file@percent } -\newlabel{177@xvr}{{}{204}} -\newlabel{177@vr}{{}{204}} -\newlabel{OpenModelica:voltage-modbus}{{11.{2}}{204}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readVoltage.mo}{204}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{208}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{208}\protected@file@percent } +\newlabel{176@xvr}{{}{208}} +\newlabel{176@vr}{{}{208}} +\newlabel{OpenModelica:current-modbus}{{11.{1}}{208}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readCurrent.mo}{208}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{208}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{208}\protected@file@percent } +\newlabel{177@xvr}{{}{208}} +\newlabel{177@vr}{{}{208}} +\newlabel{OpenModelica:voltage-modbus}{{11.{2}}{208}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readVoltage.mo}{208}\protected@file@percent } \bibdata{bibliography.bib} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{205}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{205}\protected@file@percent } -\newlabel{178@xvr}{{}{205}} -\newlabel{178@vr}{{}{205}} -\newlabel{OpenModelica:modbus-power}{{11.{3}}{205}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readPower.mo}{205}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{209}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{209}\protected@file@percent } +\newlabel{178@xvr}{{}{209}} +\newlabel{178@vr}{{}{209}} +\newlabel{OpenModelica:modbus-power}{{11.{3}}{209}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readPower.mo}{209}\protected@file@percent } \bibcite{CNES-Scilab}{1} \bibcite{scilab-arduino}{2} \bibcite{oshw-ref}{3} @@ -1471,5 +1485,6 @@ \bibcite{scilab-ref}{12} \bibcite{scilab-interop}{13} \bibcite{xcos-ref}{14} -\@writefile{toc}{\contentsline {chapter}{\numberline {References}}{207}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {References}}{211}\protected@file@percent } \bibcite{python-ref}{15} +\bibcite{om-ref}{16} diff --git a/floss-arduino.bbl b/floss-arduino.bbl index dbafbef..87b2f8e 100644 --- a/floss-arduino.bbl +++ b/floss-arduino.bbl @@ -81,4 +81,9 @@ python.org. \newblock https://www.python.org/doc/essays/blurb/. \newblock Seen on 24 February 2021. +\bibitem{om-ref} +python.org. +\newblock https://www.openmodelica.org/. +\newblock Seen on 2 April 2021. + \end{thebibliography} diff --git a/floss-arduino.blg b/floss-arduino.blg index c306d1c..a1b95d0 100644 --- a/floss-arduino.blg +++ b/floss-arduino.blg @@ -4,45 +4,45 @@ The top-level auxiliary file: floss-arduino.aux The style file: unsrt.bst Database file #1: bibliography.bib Warning--I didn't find a database entry for "therm-wiki" -You've used 15 entries, +You've used 16 entries, 1791 wiz_defined-function locations, - 496 strings with 4771 characters, -and the built_in function-call counts, 1732 in all, are: -= -- 156 -> -- 24 + 499 strings with 4826 characters, +and the built_in function-call counts, 1841 in all, are: += -- 166 +> -- 25 < -- 0 -+ -- 18 ++ -- 19 - -- 3 * -- 2 -:= -- 206 -add.period$ -- 48 -call.type$ -- 15 -change.case$ -- 15 +:= -- 217 +add.period$ -- 51 +call.type$ -- 16 +change.case$ -- 16 chr.to.int$ -- 0 -cite$ -- 15 -duplicate$ -- 75 -empty$ -- 271 +cite$ -- 16 +duplicate$ -- 80 +empty$ -- 289 format.name$ -- 3 -if$ -- 445 +if$ -- 474 int.to.chr$ -- 0 -int.to.str$ -- 15 +int.to.str$ -- 16 missing$ -- 0 -newline$ -- 81 +newline$ -- 86 num.names$ -- 3 -pop$ -- 117 +pop$ -- 125 preamble$ -- 1 purify$ -- 0 quote$ -- 0 -skip$ -- 41 +skip$ -- 44 stack$ -- 0 substring$ -- 0 -swap$ -- 15 +swap$ -- 16 text.length$ -- 0 text.prefix$ -- 0 top$ -- 0 type$ -- 0 warning$ -- 0 while$ -- 3 -width$ -- 17 -write$ -- 143 +width$ -- 18 +write$ -- 152 (There was 1 warning) diff --git a/floss-arduino.cod b/floss-arduino.cod index a3e2715..81115f6 100644 --- a/floss-arduino.cod +++ b/floss-arduino.cod @@ -1,34 +1,34 @@ \addvspace {10pt} -\contentsline {section}{\numberline {3.{1}}A Scilab code to check whether the firmware is properly installed or not}{33}% +\contentsline {section}{\numberline {3.{1}}A Scilab code to check whether the firmware is properly installed or not}{34}% \addvspace {10pt} \addvspace {10pt} \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the LED through Scilab}{59}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{60}% -\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{60}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{60}% +\contentsline {section}{\numberline {4.{1}}Turning on the LED through Scilab}{63}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{64}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{64}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{64}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{84}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{84}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{88}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{88}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{100}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{101}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{104}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{105}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{119}% -\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{119}% -\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{119}% +\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{123}% +\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{123}% +\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{123}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{137}% +\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{141}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{151}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{151}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{155}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{155}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{168}% -\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{168}% -\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{169}% -\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{169}% +\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{172}% +\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{172}% +\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{173}% +\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{173}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{201}% -\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{201}% -\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{201}% -\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{202}% +\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{205}% +\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{205}% +\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{205}% +\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{206}% diff --git a/floss-arduino.fdb_latexmk b/floss-arduino.fdb_latexmk index e7354e6..c341872 100644 --- a/floss-arduino.fdb_latexmk +++ b/floss-arduino.fdb_latexmk @@ -1,19 +1,19 @@ # Fdb version 3 -["bibtex floss-arduino"] 1617275107 "floss-arduino.aux" "floss-arduino.bbl" "floss-arduino" 1617277170 +["bibtex floss-arduino"] 1617413605 "floss-arduino.aux" "floss-arduino.bbl" "floss-arduino" 1617413995 "/usr/share/texlive/texmf-dist/bibtex/bst/base/unsrt.bst" 1292289607 18030 1376b4b231b50c66211e47e42eda2875 "" - "bibliography.bib" 1615963613 3279 e2e78d605bb19352cf7337ce29810b6c "" - "floss-arduino.aux" 1617276723 124152 8f3c2976eed408af5dda4f2e7239edca "pdflatex" + "bibliography.bib" 1617386964 3464 0dc80d81f59d2ac319f124d77ae8c1cd "" + "floss-arduino.aux" 1617413833 125401 bf1e090cdb48a03df68b13dcb95f370a "pdflatex" (generated) - "floss-arduino.blg" "floss-arduino.bbl" -["makeindex floss-arduino.idx"] 1617275100 "floss-arduino.idx" "floss-arduino.ind" "floss-arduino" 1617277170 - "floss-arduino.idx" 1617276723 187 7338b108df3d45fabf71707857da02aa "pdflatex" + "floss-arduino.blg" +["makeindex floss-arduino.idx"] 1617413267 "floss-arduino.idx" "floss-arduino.ind" "floss-arduino" 1617413995 + "floss-arduino.idx" 1617413833 187 a05eb1b6d87503e1c74f523dca5a4bf3 "pdflatex" (generated) - "floss-arduino.ilg" "floss-arduino.ind" -["pdflatex"] 1617276718 "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" "floss-arduino" 1617277170 + "floss-arduino.ilg" +["pdflatex"] 1617413828 "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" "floss-arduino" 1617413995 "/etc/texmf/web2c/texmf.cnf" 1602253014 475 c0e671620eb5563b2130f56340a5fde8 "" - "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.aux" 1617276723 124152 8f3c2976eed408af5dda4f2e7239edca "" + "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.aux" 1617413833 125401 bf1e090cdb48a03df68b13dcb95f370a "" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" 1616757903 4558 ca761944339060a19cdb71de5337b126 "" "/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 "" @@ -139,18 +139,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" 1617276723 2297 2c96380a80252ad4729fac241ac5f207 "pdflatex" - "floss-arduino.ard" 1617276723 2080 e16e65b4b1507f4f73cbdd114b861a3f "pdflatex" - "floss-arduino.aux" 1617276723 124152 8f3c2976eed408af5dda4f2e7239edca "pdflatex" - "floss-arduino.bbl" 1617275107 2140 a4f2f2278da9e2bdb36d4b32d75029c6 "bibtex floss-arduino" - "floss-arduino.cod" 1617276723 2525 0104fe21f4b54889f4460e8444681d0d "pdflatex" - "floss-arduino.ind" 1617275100 228 af8dc5589e32a166ad18dd969896b72f "makeindex floss-arduino.idx" - "floss-arduino.juliad" 1617276723 2311 51380681b615b182f3724b4f9060b3bf "pdflatex" - "floss-arduino.lof" 1617276723 10496 a5631c84794e60f9af9c0dc3bbcbb031 "pdflatex" - "floss-arduino.lot" 1617276723 3700 b0b430e3b611b00f524ab1999885af2a "pdflatex" - "floss-arduino.pyd" 1617276723 2323 feb8fcabc4bc027dddafa7ff85705414 "pdflatex" + "floss-arduino.OpenModelicad" 1617413833 2297 1a2d4492a9d7b7c6353fc8e61ed149c7 "pdflatex" + "floss-arduino.ard" 1617413833 2082 36b255f65f5671ca65cc1689ceb16464 "pdflatex" + "floss-arduino.aux" 1617413833 125401 bf1e090cdb48a03df68b13dcb95f370a "pdflatex" + "floss-arduino.bbl" 1617413605 2243 ecd6e796a77fc4300039804f4c573e56 "bibtex floss-arduino" + "floss-arduino.cod" 1617413833 2525 06816d19852a067fbf43a42e67ae3b9d "pdflatex" + "floss-arduino.ind" 1617413267 228 2e39d66b2fe4cf9dd81c4528bf2ab0f3 "makeindex floss-arduino.idx" + "floss-arduino.juliad" 1617413833 2311 c1d3609d331b242c2b4e4709e0f83959 "pdflatex" + "floss-arduino.lof" 1617413833 11200 8b6e0734cd20a611dc7c201583352239 "pdflatex" + "floss-arduino.lot" 1617413833 3700 defcc24628b4bdce7eac5bd9c654fb36 "pdflatex" + "floss-arduino.pyd" 1617413833 2323 8150e7673f5192a2f566887ea31ac0ef "pdflatex" "floss-arduino.tex" 1616757903 4558 ca761944339060a19cdb71de5337b126 "" - "floss-arduino.toc" 1617276723 15086 a477f55b590890c1a2ef08e32ec6eb8d "pdflatex" + "floss-arduino.toc" 1617413833 15103 8e40a2065484ebb91399fecb31571601 "pdflatex" "suppl/acr.tex" 1615963613 1926 fd6481c4666ee0d60331b7d4cc24b645 "" "suppl/intro.tex" 1615963613 3437 b09628cf9e20fe17fa65b37a5997653c "" "suppl/styles.tex" 1615963613 8143 aa3280f0b59c8631fe8ec44895c9e871 "" @@ -322,6 +322,8 @@ "user-code/servo/scilab/servo-pot.sce" 1615963614 513 210570db8947ee3cd149bd0612cf2318 "" "user-code/servo/scilab/servo-reverse.sce" 1615963614 482 8b8b51f642de6d6d1e2f5b3f7d3bd586 "" "user-code/servo/servo.tex" 1615963614 31611 e3f0d13456b70c6dd1e59b883a572ee6 "" + "user-code/sw-env/figures/OMEdit-UI.png" 1617402245 163362 caf76ea2e859e3347f5ef7543fcd0592 "" + "user-code/sw-env/figures/OMEdit-libraries.png" 1617394693 154031 fd27a1537f6271ab01c53fd1d2c9d214 "" "user-code/sw-env/figures/arduino-palette.png" 1615963614 10751 8229db142816e63c5b5761df7ebf0e33 "" "user-code/sw-env/figures/atom-lunch.png" 1615963614 49769 12d856cada850c54b741afaef7d54699 "" "user-code/sw-env/figures/browse-directory.png" 1615963614 30302 e7161778e4b66145020832ffda95f16b "" @@ -332,9 +334,13 @@ "user-code/sw-env/figures/cscope-config.png" 1615963614 15445 4f02500263554c7a25c5355d43fe0720 "" "user-code/sw-env/figures/device-manager.png" 1615963614 66176 4b944d863a9a68ac712fec18d1072374 "" "user-code/sw-env/figures/julia-terminal.png" 1615963614 37869 d2831d456ffc6ae78015d2b27552896f "" + "user-code/sw-env/figures/launch-arduino-opt.png" 1617392168 33421 f8b38ae30fdf8828bc50d1f0b1b72fe4 "" "user-code/sw-env/figures/linux-cd.png" 1615963614 39093 885ba08c89ecb4d2c400fa4b07d4ea66 "" "user-code/sw-env/figures/linux-port.png" 1615963614 22330 f34b363966c6f589a01e2e3083bf7d90 "" "user-code/sw-env/figures/loader.png" 1615963614 59139 c20511f34e925a6fb5628e3a13c4442a "" + "user-code/sw-env/figures/om-modeling.png" 1617413556 151173 3000377e285a1c18e6b2e2c50a706348 "" + "user-code/sw-env/figures/om-sim-success.png" 1617413099 72125 9017411bfe49b3ef6a4c3d8817ebc532 "" + "user-code/sw-env/figures/om-text-view.png" 1617412273 225672 29da7c1783940469a04bb6534660b5ff "" "user-code/sw-env/figures/plot-blk.png" 1615963614 9025 823d55c99e8f9e091c480135e11fed88 "" "user-code/sw-env/figures/sim-setup.png" 1615963614 18806 fca3d6d4d7692c539f6dd8ee5fca2286 "" "user-code/sw-env/figures/sine-blk.png" 1615963614 31364 922217660a4514750566368a9628caca "" @@ -343,7 +349,7 @@ "user-code/sw-env/figures/table_functions_crop.pdf" 1615963614 84671 8377aefb061b0e251291558e34dd4b23 "" "user-code/sw-env/figures/test-console.png" 1615963614 53960 b989b14626fd496e19335d18673cc602 "" "user-code/sw-env/figures/xcos-help.png" 1615963614 87275 3c9b5157ebebe381cd7b5281cdd28482 "" - "user-code/sw-env/sw-env.tex" 1617277170 67508 7a573bf5e8af1d3fa03344c5312c35e8 "" + "user-code/sw-env/sw-env.tex" 1617413995 72665 07225a8d269d078bff8a95149329ff99 "" "user-code/thermistor/OpenModelica/therm-buzzer.mo" 1615963614 1234 e3c3c8d261a570f6ba97d9be5031ff1a "" "user-code/thermistor/OpenModelica/therm-read.mo" 1615963614 990 198e4947eb2cc3dd685574c945aea1f2 "" "user-code/thermistor/arduino/therm-buzzer/therm-buzzer.ino" 1615963614 389 c4216c80dfb4f1f23b090c94fd181a05 "" @@ -365,18 +371,18 @@ "user-code/thermistor/scilab/therm-read.sce" 1615963614 382 5e743c25b50f9d961a2939ce81d7b633 "" "user-code/thermistor/thermistor.tex" 1615974011 24283 566b640d2c28a0d62ba94f5644269a22 "" (generated) - "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.log" - "floss-arduino.aux" + "floss-arduino.idx" "floss-arduino.lof" + "floss-arduino.toc" + "floss-arduino.juliad" "floss-arduino.pyd" - "floss-arduino.cod" - "floss-arduino.idx" - "floss-arduino.ard" - "floss-arduino.lot" - "floss-arduino.log" + "floss-arduino.pdf" "floss-arduino.thm" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" - "floss-arduino.juliad" + "floss-arduino.log" + "floss-arduino.ard" + "floss-arduino.lot" "floss-arduino.OpenModelicad" - "floss-arduino.pdf" - "floss-arduino.toc" + "floss-arduino.aux" + "floss-arduino.cod" + "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.log" diff --git a/floss-arduino.fls b/floss-arduino.fls index 573499a..97cce85 100644 --- a/floss-arduino.fls +++ b/floss-arduino.fls @@ -231,6 +231,9 @@ INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/bera/fvmr8r.tfm INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/run.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/run.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/run.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/launch-arduino-opt.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/launch-arduino-opt.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/launch-arduino-opt.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/arduino-ide.jpg INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/arduino-ide.jpg INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/arduino-ide.jpg @@ -317,6 +320,21 @@ INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/atom-lu INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/test_firmware.jl INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/test_firmware.jl INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/test_firmware.jl +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit-libraries.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit-libraries.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit-libraries.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit-UI.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit-UI.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit-UI.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-modeling.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-modeling.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-modeling.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-text-view.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-text-view.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-text-view.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-sim-success.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-sim-success.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-sim-success.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/test_firmware.mo INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/test_firmware.mo INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/test_firmware.mo diff --git a/floss-arduino.idx b/floss-arduino.idx index b0394ae..f4e4ede 100644 --- a/floss-arduino.idx +++ b/floss-arduino.idx @@ -1,5 +1,5 @@ -\indexentry{H-Bridge circuit DC motor}{111} -\indexentry{H-Bridge}{111} -\indexentry{L293D,L298}{111} -\indexentry{PCB breakout board}{111} -\indexentry{pulse width modulation, PWM}{111} +\indexentry{H-Bridge circuit DC motor}{115} +\indexentry{H-Bridge}{115} +\indexentry{L293D,L298}{115} +\indexentry{PCB breakout board}{115} +\indexentry{pulse width modulation, PWM}{115} diff --git a/floss-arduino.ind b/floss-arduino.ind index 80dd2e3..b7e0cde 100644 --- a/floss-arduino.ind +++ b/floss-arduino.ind @@ -1,15 +1,15 @@ \begin{theindex} - \item H-Bridge, 111 - \item H-Bridge circuit DC motor, 111 + \item H-Bridge, 115 + \item H-Bridge circuit DC motor, 115 \indexspace - \item L293D,L298, 111 + \item L293D,L298, 115 \indexspace - \item PCB breakout board, 111 - \item pulse width modulation, PWM, 111 + \item PCB breakout board, 115 + \item pulse width modulation, PWM, 115 \end{theindex} diff --git a/floss-arduino.juliad b/floss-arduino.juliad index a15f000..63c422e 100644 --- a/floss-arduino.juliad +++ b/floss-arduino.juliad @@ -1,30 +1,30 @@ -\contentsline {section}{\numberline {3.{1}}A Julia code to check whether the firmware is properly installed or not}{47}% +\contentsline {section}{\numberline {3.{1}}A Julia code to check whether the firmware is properly installed or not}{48}% \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the LED}{73}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{73}% -\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{73}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{73}% +\contentsline {section}{\numberline {4.{1}}Turning on the LED}{77}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{77}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{77}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{77}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{90}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{91}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{94}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{95}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{108}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{108}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{112}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{112}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{128}% -\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{129}% -\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{129}% +\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{132}% +\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{133}% +\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{133}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{142}% +\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{146}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{158}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{159}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{162}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{163}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{180}% -\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{180}% -\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{181}% -\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{181}% +\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{184}% +\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{184}% +\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{185}% +\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{185}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{203}% -\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{203}% -\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{204}% +\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{207}% +\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{207}% +\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{208}% diff --git a/floss-arduino.lof b/floss-arduino.lof index 9994206..8dc3730 100644 --- a/floss-arduino.lof +++ b/floss-arduino.lof @@ -16,92 +16,98 @@ \contentsline {figure}{\numberline {3.1}{\ignorespaces Windows device manager\relax }}{19}% \contentsline {figure}{\numberline {3.2}{\ignorespaces Windows update driver option\relax }}{20}% \contentsline {figure}{\numberline {3.3}{\ignorespaces Confirmation for executing Arduino script\relax }}{21}% -\contentsline {figure}{\numberline {3.4}{\ignorespaces Arduino IDE\relax }}{22}% -\contentsline {figure}{\numberline {3.5}{\ignorespaces Linux terminal to launch Scilab\relax }}{26}% -\contentsline {figure}{\numberline {3.6}{\ignorespaces Changing scilab directory\relax }}{27}% -\contentsline {figure}{\numberline {3.7}{\ignorespaces Browsing toolbox directory\relax }}{28}% -\contentsline {figure}{\numberline {3.8}{\ignorespaces Output of builder.sce\relax }}{29}% -\contentsline {figure}{\numberline {3.9}{\ignorespaces Output of loader.sce\relax }}{30}% -\contentsline {figure}{\numberline {3.10}{\ignorespaces Device Manager in windows\relax }}{31}% -\contentsline {figure}{\numberline {3.11}{\ignorespaces COM port properties window\relax }}{32}% -\contentsline {figure}{\numberline {3.12}{\ignorespaces Port number on Linux terminal\relax }}{32}% -\contentsline {figure}{\numberline {3.13}{\ignorespaces Scilab test code output\relax }}{33}% -\contentsline {figure}{\numberline {3.14}{\ignorespaces Arduino toolbox functions used in this book\relax }}{34}% -\contentsline {figure}{\numberline {3.15}{\ignorespaces Sine generator in palette browser\relax }}{35}% -\contentsline {figure}{\numberline {3.16}{\ignorespaces CSCOPE block in xcos\relax }}{36}% -\contentsline {figure}{\numberline {3.17}{\ignorespaces CLOCK\_c block in xcos\relax }}{37}% -\contentsline {figure}{\numberline {3.18}{\ignorespaces Sine generator in Xcos\relax }}{38}% -\contentsline {figure}{\numberline {3.19}{\ignorespaces Sine generator Xcos output\relax }}{38}% -\contentsline {figure}{\numberline {3.20}{\ignorespaces CSCOPE configuration window\relax }}{39}% -\contentsline {figure}{\numberline {3.21}{\ignorespaces Simulation setup window\relax }}{39}% -\contentsline {figure}{\numberline {3.22}{\ignorespaces Palette browser showing Arduino blocks\relax }}{40}% -\contentsline {figure}{\numberline {3.23}{\ignorespaces Xcos block help\relax }}{40}% -\contentsline {figure}{\numberline {3.24}{\ignorespaces Linux terminal to launch Julia\relax }}{45}% -\contentsline {figure}{\numberline {3.25}{\ignorespaces Linux Atom Text Editor\relax }}{46}% +\contentsline {figure}{\numberline {3.4}{\ignorespaces Linux terminal to launch Arduino IDE\relax }}{21}% +\contentsline {figure}{\numberline {3.5}{\ignorespaces Arduino IDE\relax }}{22}% +\contentsline {figure}{\numberline {3.6}{\ignorespaces Linux terminal to launch Scilab\relax }}{26}% +\contentsline {figure}{\numberline {3.7}{\ignorespaces Changing scilab directory\relax }}{27}% +\contentsline {figure}{\numberline {3.8}{\ignorespaces Browsing toolbox directory\relax }}{28}% +\contentsline {figure}{\numberline {3.9}{\ignorespaces Output of builder.sce\relax }}{29}% +\contentsline {figure}{\numberline {3.10}{\ignorespaces Output of loader.sce\relax }}{30}% +\contentsline {figure}{\numberline {3.11}{\ignorespaces Device Manager in windows\relax }}{31}% +\contentsline {figure}{\numberline {3.12}{\ignorespaces COM port properties window\relax }}{32}% +\contentsline {figure}{\numberline {3.13}{\ignorespaces Port number on Linux terminal\relax }}{32}% +\contentsline {figure}{\numberline {3.14}{\ignorespaces Scilab test code output\relax }}{33}% +\contentsline {figure}{\numberline {3.15}{\ignorespaces Arduino toolbox functions used in this book\relax }}{34}% +\contentsline {figure}{\numberline {3.16}{\ignorespaces Sine generator in palette browser\relax }}{36}% +\contentsline {figure}{\numberline {3.17}{\ignorespaces CSCOPE block in xcos\relax }}{37}% +\contentsline {figure}{\numberline {3.18}{\ignorespaces CLOCK\_c block in xcos\relax }}{37}% +\contentsline {figure}{\numberline {3.19}{\ignorespaces Sine generator in Xcos\relax }}{38}% +\contentsline {figure}{\numberline {3.20}{\ignorespaces Sine generator Xcos output\relax }}{38}% +\contentsline {figure}{\numberline {3.21}{\ignorespaces CSCOPE configuration window\relax }}{39}% +\contentsline {figure}{\numberline {3.22}{\ignorespaces Simulation setup window\relax }}{40}% +\contentsline {figure}{\numberline {3.23}{\ignorespaces Palette browser showing Arduino blocks\relax }}{40}% +\contentsline {figure}{\numberline {3.24}{\ignorespaces Xcos block help\relax }}{41}% +\contentsline {figure}{\numberline {3.25}{\ignorespaces Linux terminal to launch Julia\relax }}{45}% +\contentsline {figure}{\numberline {3.26}{\ignorespaces Linux Atom Text Editor\relax }}{46}% +\contentsline {figure}{\numberline {3.27}{\ignorespaces Setup of Modelica Standard Library version\relax }}{49}% +\contentsline {figure}{\numberline {3.28}{\ignorespaces User Interface of OMEdit (OpenModelica Connection Editor)\relax }}{50}% +\contentsline {figure}{\numberline {3.29}{\ignorespaces Opening a model in OMEdit (OpenModelica Connection Editor)\relax }}{51}% +\contentsline {figure}{\numberline {3.30}{\ignorespaces User Interface of OMEdit (OpenModelica Connection Editor)\relax }}{51}% +\contentsline {figure}{\numberline {3.31}{\ignorespaces Output window of OMEdit\relax }}{52}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {4.1}{\ignorespaces Light Emitting Diode\relax }}{51}% -\contentsline {figure}{\numberline {4.2}{\ignorespaces Internal connection diagram for LED on the shield\relax }}{52}% -\contentsline {figure}{\numberline {4.3}{\ignorespaces Connecting Arduino and Shield\relax }}{52}% -\contentsline {figure}{\numberline {4.4}{\ignorespaces Interfacing an RGB LED with Arduino Uno using a breadboard\relax }}{53}% -\contentsline {figure}{\numberline {4.5}{\ignorespaces LED experiments directly on Arduino Uno\ board, without the shield\relax }}{56}% -\contentsline {figure}{\numberline {4.6}{\ignorespaces Turning the blue LED on through Xcos}}{61}% -\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{62}% -\contentsline {figure}{\numberline {4.8}{\ignorespaces Turning the blue and red LEDs on through Xcos and turning them off one by one}}{63}% -\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{64}% +\contentsline {figure}{\numberline {4.1}{\ignorespaces Light Emitting Diode\relax }}{55}% +\contentsline {figure}{\numberline {4.2}{\ignorespaces Internal connection diagram for LED on the shield\relax }}{56}% +\contentsline {figure}{\numberline {4.3}{\ignorespaces Connecting Arduino and Shield\relax }}{56}% +\contentsline {figure}{\numberline {4.4}{\ignorespaces Interfacing an RGB LED with Arduino Uno using a breadboard\relax }}{57}% +\contentsline {figure}{\numberline {4.5}{\ignorespaces LED experiments directly on Arduino Uno\ board, without the shield\relax }}{60}% +\contentsline {figure}{\numberline {4.6}{\ignorespaces Turning the blue LED on through Xcos}}{65}% +\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{66}% +\contentsline {figure}{\numberline {4.8}{\ignorespaces Turning the blue and red LEDs on through Xcos and turning them off one by one}}{67}% +\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{68}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {5.1}{\ignorespaces Connection Diagram\relax }}{80}% -\contentsline {figure}{\numberline {5.2}{\ignorespaces Interfacing a pushbutton with Arduino Uno using a breadboard\relax }}{81}% -\contentsline {figure}{\numberline {5.3}{\ignorespaces Printing the push button status on the display block}}{85}% -\contentsline {figure}{\numberline {5.4}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{86}% +\contentsline {figure}{\numberline {5.1}{\ignorespaces Connection Diagram\relax }}{84}% +\contentsline {figure}{\numberline {5.2}{\ignorespaces Interfacing a pushbutton with Arduino Uno using a breadboard\relax }}{85}% +\contentsline {figure}{\numberline {5.3}{\ignorespaces Printing the push button status on the display block}}{89}% +\contentsline {figure}{\numberline {5.4}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{90}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{96}% -\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of an LDR}}}{96}% -\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of an LDR}}}{96}% -\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{96}% -\contentsline {figure}{\numberline {6.3}{\ignorespaces Interfacing an LDR with Arduino Uno using a breadboard\relax }}{97}% -\contentsline {figure}{\numberline {6.4}{\ignorespaces Xcos diagram to read LDR values}}{102}% -\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}}{103}% +\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{100}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of an LDR}}}{100}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of an LDR}}}{100}% +\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{100}% +\contentsline {figure}{\numberline {6.3}{\ignorespaces Interfacing an LDR with Arduino Uno using a breadboard\relax }}{101}% +\contentsline {figure}{\numberline {6.4}{\ignorespaces Xcos diagram to read LDR values}}{106}% +\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}}{107}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {7.1}{\ignorespaces L293D motor driver board\relax }}{112}% -\contentsline {figure}{\numberline {7.2}{\ignorespaces A schematic of DC motor connections\relax }}{113}% -\contentsline {figure}{\numberline {7.3}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{113}% -\contentsline {figure}{\numberline {7.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{120}% -\contentsline {figure}{\numberline {7.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{122}% -\contentsline {figure}{\numberline {7.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{123}% +\contentsline {figure}{\numberline {7.1}{\ignorespaces L293D motor driver board\relax }}{116}% +\contentsline {figure}{\numberline {7.2}{\ignorespaces A schematic of DC motor connections\relax }}{117}% +\contentsline {figure}{\numberline {7.3}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{117}% +\contentsline {figure}{\numberline {7.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{124}% +\contentsline {figure}{\numberline {7.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{126}% +\contentsline {figure}{\numberline {7.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{127}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {8.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{134}% -\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{134}% -\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Schematic representation of the potentiometer}}}{134}% -\contentsline {figure}{\numberline {8.2}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{138}% +\contentsline {figure}{\numberline {8.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{138}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{138}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Schematic representation of the potentiometer}}}{138}% +\contentsline {figure}{\numberline {8.2}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{142}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {9.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{146}% -\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{146}% -\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{146}% -\contentsline {figure}{\numberline {9.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{146}% -\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Thermistor connection diagram}}}{146}% -\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Buzzer connection diagram}}}{146}% -\contentsline {figure}{\numberline {9.3}{\ignorespaces Interfacing a thermistor with Arduino Uno using a breadboard\relax }}{147}% -\contentsline {figure}{\numberline {9.4}{\ignorespaces Xcos diagram to read thermistor values}}{152}% -\contentsline {figure}{\numberline {9.5}{\ignorespaces Output of Xcos diagram to read thermistor values}}{153}% -\contentsline {figure}{\numberline {9.6}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{154}% -\contentsline {figure}{\numberline {9.7}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{155}% +\contentsline {figure}{\numberline {9.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{150}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{150}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{150}% +\contentsline {figure}{\numberline {9.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{150}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Thermistor connection diagram}}}{150}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Buzzer connection diagram}}}{150}% +\contentsline {figure}{\numberline {9.3}{\ignorespaces Interfacing a thermistor with Arduino Uno using a breadboard\relax }}{151}% +\contentsline {figure}{\numberline {9.4}{\ignorespaces Xcos diagram to read thermistor values}}{156}% +\contentsline {figure}{\numberline {9.5}{\ignorespaces Output of Xcos diagram to read thermistor values}}{157}% +\contentsline {figure}{\numberline {9.6}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{158}% +\contentsline {figure}{\numberline {9.7}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{159}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{170}% -\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{171}% -\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{172}% -\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{173}% +\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{174}% +\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{175}% +\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{176}% +\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{177}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{188}% -\contentsline {figure}{\numberline {11.2}{\ignorespaces Master-Slave Query-Response Cycle\relax }}{188}% -\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{189}% -\contentsline {figure}{\numberline {11.4}{\ignorespaces MODBUS Set Up for Energy Meter\relax }}{193}% -\contentsline {figure}{\numberline {11.5}{\ignorespaces Block Diagram for Energy Meter Setup\relax }}{194}% -\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{195}% -\contentsline {figure}{\numberline {11.7}{\ignorespaces Flow Chart of the Modbus Energy Meter Implementation\relax }}{196}% -\contentsline {figure}{\numberline {11.8}{\ignorespaces Single Phase Current Output on Scilab Console\relax }}{197}% -\contentsline {figure}{\numberline {11.9}{\ignorespaces Single Phase Current Output on Energy Meter\relax }}{197}% -\contentsline {figure}{\numberline {11.10}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{198}% -\contentsline {figure}{\numberline {11.11}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{198}% -\contentsline {figure}{\numberline {11.12}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{199}% -\contentsline {figure}{\numberline {11.13}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{199}% -\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{200}% +\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{192}% +\contentsline {figure}{\numberline {11.2}{\ignorespaces Master-Slave Query-Response Cycle\relax }}{192}% +\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{193}% +\contentsline {figure}{\numberline {11.4}{\ignorespaces MODBUS Set Up for Energy Meter\relax }}{197}% +\contentsline {figure}{\numberline {11.5}{\ignorespaces Block Diagram for Energy Meter Setup\relax }}{198}% +\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{199}% +\contentsline {figure}{\numberline {11.7}{\ignorespaces Flow Chart of the Modbus Energy Meter Implementation\relax }}{200}% +\contentsline {figure}{\numberline {11.8}{\ignorespaces Single Phase Current Output on Scilab Console\relax }}{201}% +\contentsline {figure}{\numberline {11.9}{\ignorespaces Single Phase Current Output on Energy Meter\relax }}{201}% +\contentsline {figure}{\numberline {11.10}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{202}% +\contentsline {figure}{\numberline {11.11}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{202}% +\contentsline {figure}{\numberline {11.12}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{203}% +\contentsline {figure}{\numberline {11.13}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{203}% +\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{204}% diff --git a/floss-arduino.log b/floss-arduino.log index 4727281..837c09e 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) 1 APR 2021 19:13 +This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex 2020.11.5) 3 APR 2021 07:21 entering extended mode restricted \write18 enabled. %&-line parsing enabled. @@ -536,13 +536,13 @@ Overfull \hbox (42.2769pt too wide) detected at line 204 [6] (./floss-arduino.lof [7 -] -Overfull \hbox (4.98741pt too wide) in paragraph at lines 75--75 +] [8] +Overfull \hbox (4.98741pt too wide) in paragraph at lines 81--81 [][] []\T1/cmr/m/n/10.95 Turning LEDs on through Xcos de-pend-ing on the po-te n-tiome-ter thresh- [] -[8]) +) \tf@lof=\write6 \openout6 = `floss-arduino.lof'. @@ -558,10 +558,10 @@ n-tiome-ter thresh- [13 -] -[14 +] [14 -] (./floss-arduino.cod [15]) +] +(./floss-arduino.cod [15]) \tf@cod=\write9 \openout9 = `floss-arduino.cod'. @@ -797,331 +797,396 @@ g Graphic file (type png) Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/hw -env/figures/run.png used on input line 185. (pdftex.def) Requested size: 272.51746pt x 77.79042pt. +</home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/launch-ardu +ino-opt.png, id=178, 751.80875pt x 313.17pt> +File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/launch +-arduino-opt.png Graphic file (type png) +<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 197. +(pdftex.def) Requested size: 258.36281pt x 107.62325pt. + +Underfull \vbox (badness 1975) has occurred while \output is active [] + + [21 </home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/run.pn +g> </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/launch-a +rduino-opt.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/arduino-ide -.jpg, id=178, 856.19875pt x 657.45625pt> +.jpg, id=184, 856.19875pt x 657.45625pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/arduin 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 207. +-env/figures/arduino-ide.jpg used on input line 214. (pdftex.def) Requested size: 397.48499pt x 305.22243pt. - [21 </home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/run.pn -g>] [22 </home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/ard -uino-ide.jpg>] [23] + [22 </home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/arduin +o-ide.jpg>] [23] [24] (/home/fossee/Desktop/floss-scilab-arduino/tools/arduino-firmware/arduino-firmw -are.ino [24]) +are.ino) [25] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/linux-cd.pn -g, id=192, 787.94376pt x 192.72pt> +g, id=199, 787.94376pt x 192.72pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/linux- cd.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/linux-c d.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/linux-cd.png used on input line 418. +-env/figures/linux-cd.png used on input line 425. (pdftex.def) Requested size: 393.97092pt x 96.35976pt. - [25] + [26 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/linux- +cd.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/change-dire -ctory.png, id=198, 602.25pt x 451.6875pt> +ctory.png, id=205, 602.25pt x 451.6875pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/change -directory.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/change- directory.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/change-directory.png used on input line 449. +-env/figures/change-directory.png used on input line 456. (pdftex.def) Requested size: 397.48499pt x 298.12845pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/browse-dire -ctory.png, id=199, 450.18187pt x 327.47343pt> +ctory.png, id=206, 450.18187pt x 327.47343pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/browse -directory.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/browse- directory.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/browse-directory.png used on input line 459. +-env/figures/browse-directory.png used on input line 466. (pdftex.def) Requested size: 357.73405pt x 260.23521pt. - [26 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/linux- -cd.png>] + [27 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/change +-directory.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/builder.png -, id=205, 600.74437pt x 421.575pt> +, id=210, 600.74437pt x 421.575pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/builde r.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/builder .png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/builder.png used on input line 475. +-env/figures/builder.png used on input line 482. (pdftex.def) Requested size: 397.48499pt x 278.94795pt. -Overfull \hbox (1.53204pt too wide) in paragraph at lines 469--479 +Overfull \hbox (1.53204pt too wide) in paragraph at lines 476--486 []\T1/cmr/m/n/10.95 Next, type the fol-low-ing com-mand on the Scilab con-sole: \T1/fvm/m/n/10.95 exec builder.sce [] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/loader.png, - id=206, 600.74437pt x 421.575pt> + id=211, 600.74437pt x 421.575pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/loader .png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/loader. png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/loader.png used on input line 491. +-env/figures/loader.png used on input line 498. (pdftex.def) Requested size: 300.37144pt x 210.78697pt. -[27 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/change- -directory.png>] [28 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env -/figures/browse-directory.png>] +[28 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/browse- +directory.png>] [29 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env +/figures/builder.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/device-mana -ger.png, id=213, 602.25pt x 451.6875pt> +ger.png, id=218, 602.25pt x 451.6875pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/device -manager.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/device- manager.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/device-manager.png used on input line 519. +-env/figures/device-manager.png used on input line 526. (pdftex.def) Requested size: 397.48499pt x 298.12845pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/com-propert -ies.png, id=214, 602.25pt x 451.6875pt> +ies.png, id=219, 602.25pt x 451.6875pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/com-pr operties.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/com-pro perties.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/com-properties.png used on input line 540. +-env/figures/com-properties.png used on input line 547. (pdftex.def) Requested size: 301.12425pt x 225.84319pt. - [29 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/builde -r.png>] + [30 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/loader +.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/linux-port. -png, id=218, 634.37pt x 246.9225pt> +png, id=223, 634.37pt x 246.9225pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/linux- port.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/linux-p ort.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/linux-port.png used on input line 564. +-env/figures/linux-port.png used on input line 571. (pdftex.def) Requested size: 317.18422pt x 123.46094pt. - [30 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/loader -.png>] [31 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/ -device-manager.png>] + [31 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/device +-manager.png>] [32 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/ +figures/com-properties.png> </home/fossee/Desktop/floss-scilab-arduino/user-cod +e/sw-env/figures/linux-port.png>] (/home/fossee/Desktop/floss-scilab-arduino/tools/test_firmware.sce) </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/test-consol -e.png, id=226, 600.74437pt x 421.575pt> +e.png, id=232, 600.74437pt x 421.575pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/test-c onsole.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/test-co nsole.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/test-console.png used on input line 615. +-env/figures/test-console.png used on input line 622. (pdftex.def) Requested size: 300.37144pt x 210.78697pt. - [32 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/com-pr -operties.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figur -es/linux-port.png>] + [33 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/test-c +onsole.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/table_funct -ions_crop.pdf, id=231, 1055.945pt x 543.02875pt> +ions_crop.pdf, id=236, 1055.945pt x 543.02875pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/table_ functions_crop.pdf Graphic file (type pdf) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/table_f unctions_crop.pdf> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/table_functions_crop.pdf used on input line 640. +-env/figures/table_functions_crop.pdf used on input line 647. (pdftex.def) Requested size: 397.48499pt x 204.40587pt. - [33 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/test-c -onsole.png>] -(/home/fossee/Desktop/floss-scilab-arduino/tools/test_firmware.sce) -Underfull \vbox (badness 1127) has occurred while \output is active [] - - [34 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/table_ -functions_crop.pdf>] +(/home/fossee/Desktop/floss-scilab-arduino/tools/test_firmware.sce) [34 </home/ +fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/table_functions_cr +op.pdf>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sine-blk.pn -g, id=245, 376.40625pt x 376.40625pt> +g, id=247, 376.40625pt x 376.40625pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sine-b lk.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sine-bl k.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/sine-blk.png used on input line 690. +-env/figures/sine-blk.png used on input line 697. (pdftex.def) Requested size: 357.73405pt x 357.76195pt. - [35 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sine-b -lk.png>] + [35] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/plot-blk.pn -g, id=249, 310.15875pt x 109.1578pt> +g, id=251, 310.15875pt x 109.1578pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/plot-b lk.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/plot-bl k.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/plot-blk.png used on input line 742. +-env/figures/plot-blk.png used on input line 749. (pdftex.def) Requested size: 357.73405pt x 125.90192pt. + +Underfull \vbox (badness 1418) has occurred while \output is active [] + + [36 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sine-b +lk.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/clock-blk.p -ng, id=250, 307.90031pt x 108.405pt> +ng, id=255, 307.90031pt x 108.405pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/clock- blk.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/clock-b lk.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/clock-blk.png used on input line 756. +-env/figures/clock-blk.png used on input line 763. (pdftex.def) Requested size: 357.73405pt x 125.95995pt. - [36 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/plot-b -lk.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sine-gen.pn -g, id=254, 207.77625pt x 253.69781pt> +g, id=256, 207.77625pt x 253.69781pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sine-g en.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sine-ge n.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/sine-gen.png used on input line 777. +-env/figures/sine-gen.png used on input line 784. (pdftex.def) Requested size: 178.86702pt x 218.40813pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sine-output -.png, id=255, 383.18156pt x 184.43906pt> +.png, id=257, 383.18156pt x 184.43906pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sine-o utput.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sine-ou tput.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/sine-output.png used on input line 788. +-env/figures/sine-output.png used on input line 795. (pdftex.def) Requested size: 258.36281pt x 124.36716pt. + +[37 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/plot-bl +k.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/cloc +k-blk.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/cscope-conf -ig.png, id=256, 310.15875pt x 289.08pt> +ig.png, id=262, 310.15875pt x 289.08pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/cscope -config.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/cscope- config.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/cscope-config.png used on input line 802. +-env/figures/cscope-config.png used on input line 809. (pdftex.def) Requested size: 258.36281pt x 240.8053pt. -Overfull \hbox (0.16797pt too wide) in paragraph at lines 807--816 +Overfull \hbox (0.16797pt too wide) in paragraph at lines 814--823 \T1/fvm/m/n/10.95 Set Parameters \T1/cmr/m/n/10.95 win-dow will open. The first pa-ram-e-ter is \T1/fvm/m/n/10.95 Final integration [] +[38 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sine-ge +n.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sine +-output.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sim-setup.p -ng, id=257, 333.49594pt x 225.84375pt> +ng, id=266, 333.49594pt x 225.84375pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sim-se tup.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sim-set up.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/sim-setup.png used on input line 819. +-env/figures/sim-setup.png used on input line 826. (pdftex.def) Requested size: 258.36281pt x 174.97539pt. -[37 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/clock-b -lk.png>] -Underfull \vbox (badness 10000) has occurred while \output is active [] - - [38 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sine-g -en.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sin -e-output.png>] [39 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/ -figures/cscope-config.png> </home/fossee/Desktop/floss-scilab-arduino/user-code -/sw-env/figures/sim-setup.png>] + [39 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/cscope +-config.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/arduino-pal -ette.png, id=268, 292.84406pt x 107.65219pt> +ette.png, id=270, 292.84406pt x 107.65219pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/arduin o-palette.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/arduino -palette.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/arduino-palette.png used on input line 850. +-env/figures/arduino-palette.png used on input line 857. (pdftex.def) Requested size: 258.36281pt x 94.98553pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/xcos-help.p -ng, id=269, 617.30624pt x 466.74374pt> +ng, id=271, 617.30624pt x 466.74374pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/xcos-h elp.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/xcos-he lp.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/xcos-help.png used on input line 857. +-env/figures/xcos-help.png used on input line 864. (pdftex.def) Requested size: 258.36281pt x 195.35445pt. - [40 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/arduin -o-palette.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figu -res/xcos-help.png>] [41] -(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py) -Underfull \vbox (badness 2753) has occurred while \output is active [] - - [42] -Underfull \hbox (badness 10000) in paragraph at lines 973--977 + [40 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sim-se +tup.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/ar +duino-palette.png>] [41 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw +-env/figures/xcos-help.png>] +(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py +[42]) +Underfull \hbox (badness 10000) in paragraph at lines 980--984 [] -Overfull \hbox (67.80368pt too wide) in paragraph at lines 985--987 +Overfull \hbox (67.80368pt too wide) in paragraph at lines 992--994 []\T1/cmr/m/n/10.95 Open Git Bash, in the prompt type: git con-fig --global url .https://github.com/.insteadOf [] - -Overfull \hbox (26.56657pt too wide) in paragraph at lines 999--1002 +[43] +Overfull \hbox (26.56657pt too wide) in paragraph at lines 1006--1009 []\T1/cmr/m/n/10.95 Juno could not be found So-lu-tion: Open Atom>File>Settings >Packages>julia- [] -Overfull \hbox (8.66742pt too wide) in paragraph at lines 999--1002 +Overfull \hbox (8.66742pt too wide) in paragraph at lines 1006--1009 \T1/cmr/m/n/10.95 client:Settings>Julia path Change the path to $\OMS/cmsy/m/n/ 10.95 n$\T1/cmr/m/n/10.95 ....$\OMS/cmsy/m/n/10.95 n$\T1/cmr/m/n/10.95 Julia-0. 4.5$\OMS/cmsy/m/n/10.95 n$\T1/cmr/m/n/10.95 bin$\OMS/cmsy/m/n/10.95 n$\T1/cmr/m /n/10.95 julia.exe [] -[43] -Overfull \hbox (17.10689pt too wide) in paragraph at lines 1014--1019 + +Overfull \hbox (17.10689pt too wide) in paragraph at lines 1021--1026 \T1/cmr/m/n/10.95 ver-sion. Sol: In Ju-lia ter-mi-nal, type: ju-lia> ENV["PYTHO N"]="";Pkg.build [] +[44] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-termi -nal.png, id=284, 725.71124pt x 469.755pt> +nal.png, id=289, 725.71124pt x 469.755pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia- terminal.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-t erminal.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/julia-terminal.png used on input line 1057. +-env/figures/julia-terminal.png used on input line 1064. (pdftex.def) Requested size: 362.85474pt x 234.87692pt. -[44] + [45 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia- +terminal.png (PNG copy)>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/atom-lunch. -png, id=288, 1857.94125pt x 1058.95625pt> +png, id=293, 1857.94125pt x 1058.95625pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/atom-l unch.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/atom-lu nch.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/atom-lunch.png used on input line 1076. +-env/figures/atom-lunch.png used on input line 1083. (pdftex.def) Requested size: 371.58167pt x 211.78749pt. - [45 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia- -terminal.png (PNG copy)>] -Overfull \hbox (5.509pt too wide) in paragraph at lines 1092--1093 + +Overfull \hbox (5.509pt too wide) in paragraph at lines 1099--1100 \T1/cmr/m/n/10.95 i-nally de-vel-oped by Steve Kelly (sjkelly) - https://github .com/sjkelly/SerialPorts.jl.git [] [46 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/atom-lu nch.png (PNG copy)>] -Overfull \hbox (14.89163pt too wide) in paragraph at lines 1140--1142 +Overfull \hbox (14.89163pt too wide) in paragraph at lines 1147--1149 []\T1/cmr/m/n/10.95 open(ser::SerialPort) and close(ser::SerialPort) - To open and close a pre-initialized [] - +[47] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/test_firmware.jl -[47]) -Overfull \hbox (20.02684pt too wide) in paragraph at lines 1191--1200 -[]\T1/cmr/m/n/10.95 $ for deb in deb deb-src; do echo "$\OML/cmm/m/it/10.95 deb -http \OT1/cmr/m/n/10.95 : \OML/cmm/m/it/10.95 ==build:openmodelica:org=apt$\T1/ -cmr/m/n/10.95 'lsb_release +) +Overfull \hbox (8.73886pt too wide) in paragraph at lines 1191--1195 +\T1/cmr/m/n/10.95 OpenModelica can be down-loaded free of cost from \T1/fvm/m/n +/10.95 https://openmodelica.org/\T1/cmr/m/n/10.95 . [] [48] -Overfull \hbox (8.20625pt too wide) in paragraph at lines 1227--1229 +</home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit-libr +aries.png, id=303, 664.4825pt x 546.04pt> +File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit +-libraries.png Graphic file (type png) +<use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit- +libraries.png> +Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw +-env/figures/OMEdit-libraries.png used on input line 1212. +(pdftex.def) Requested size: 258.36281pt x 212.31319pt. + [49 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit +-libraries.png>] +</home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit-UI.p +ng, id=309, 1327.96124pt x 792.9625pt> +File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit +-UI.png Graphic file (type png) +<use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit- +UI.png> +Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw +-env/figures/OMEdit-UI.png used on input line 1247. +(pdftex.def) Requested size: 258.36281pt x 154.27013pt. +</home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-Modeling +.png, id=310, 1368.11125pt x 791.95876pt> +File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-Mod +eling.png Graphic file (type png) +<use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-Mode +ling.png> +Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw +-env/figures/om-Modeling.png used on input line 1269. +(pdftex.def) Requested size: 258.36281pt x 149.55531pt. +</home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-text-vie +w.png, id=311, 1370.11874pt x 796.9775pt> +File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-tex +t-view.png Graphic file (type png) +<use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-text +-view.png> +Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw +-env/figures/om-text-view.png used on input line 1276. +(pdftex.def) Requested size: 258.36281pt x 150.28416pt. + [50 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit +-UI.png>] +</home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-sim-succ +ess.png, id=316, 647.41875pt x 516.93124pt> +File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-sim +-success.png Graphic file (type png) +<use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-sim- +success.png> +Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw +-env/figures/om-sim-success.png used on input line 1298. +(pdftex.def) Requested size: 258.36281pt x 206.28767pt. + [51 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-mod +eling.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/ +om-text-view.png>] +Overfull \hbox (8.20625pt too wide) in paragraph at lines 1310--1312 \T1/cmr/m/n/10.95 Model and browse to Ar-duino.mo in the OpenModelica-Arduino-W indows/Linux [] - +[52 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-sim- +success.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/test_firm -ware.mo)) (./user-code/led/led.tex [49] [50 +ware.mo)) (./user-code/led/led.tex [53] [54 ] Chapter 4. -</home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led.png, id=30 -8, 149.8097pt x 84.315pt> +</home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led.png, id=33 +2, 149.8097pt x 84.315pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led.png G raphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led.png> @@ -1129,7 +1194,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/le d/figures/led.png used on input line 51. (pdftex.def) Requested size: 79.49577pt x 44.74203pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/schematic.png, - id=309, 415.5525pt x 456.70625pt> + id=333, 415.5525pt x 456.70625pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/schematic .png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/schematic. @@ -1137,9 +1202,9 @@ png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/le d/figures/schematic.png used on input line 64. (pdftex.def) Requested size: 178.86702pt x 196.58194pt. -[51 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led.png>] +[55 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/arduino-shield -.JPG, id=314, 951.48618pt x 713.61462pt> +.JPG, id=339, 951.48618pt x 713.61462pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/arduino-s hield.JPG Graphic file (type jpg) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/arduino-sh @@ -1148,11 +1213,11 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/le d/figures/arduino-shield.JPG used on input line 78. (pdftex.def) Requested size: 178.86702pt x 134.15085pt. -[52 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/schematic. +[56 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/schematic. png> </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/arduino-s hield.JPG>] </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/rgbled_bb.png, - id=319, 450.483pt x 306.746pt> + id=344, 450.483pt x 306.746pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/rgbled_bb .png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/rgbled_bb. @@ -1160,7 +1225,7 @@ png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/le d/figures/rgbled_bb.png used on input line 102. (pdftex.def) Requested size: 357.73405pt x 243.59512pt. - [53 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/rgbled_bb + [57 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/rgbled_bb .png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led-blue/led-b lue.ino) @@ -1169,9 +1234,9 @@ lue.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led-blue-delay /led-blue-delay.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led-blue-delay -/led-blue-delay.ino) [54] +/led-blue-delay.ino) [58] </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led_output.png -, id=327, 3035.34pt x 1947.275pt> +, id=352, 3035.34pt x 1947.275pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led_outpu t.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led_output @@ -1184,34 +1249,34 @@ LaTeX Font Info: Trying to load font information for T1+cmss on input line 2 (/usr/share/texlive/texmf-dist/tex/latex/base/t1cmss.fd File: t1cmss.fd 2019/12/16 v2.5j Standard LaTeX font definitions -) [55] +) [59] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led-blue/led-b -lue.ino) [56 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/l +lue.ino) [60 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/l ed_output.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led-blue-delay /led-blue-delay.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led-blue-red/l ed-blue-red.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led-blink/led- -blink.ino) [57] +blink.ino) [61] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-blue.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-blue.sce) -[58] +[62] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-blue.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-blue-delay. sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-blue-delay. sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-blue.sce) -[59] +[63] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-blue-delay. sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-blue-red.sc e) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-green-blink -.sce) [60] +.sce) [64] </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue.png, -id=349, 233.37187pt x 252.19218pt> +id=374, 233.37187pt x 252.19218pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue. png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue.p @@ -1225,7 +1290,7 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 406--415 [] </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-delay -.png, id=350, 226.59656pt x 243.91125pt> +.png, id=375, 226.59656pt x 243.91125pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue- delay.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-d @@ -1233,14 +1298,14 @@ elay.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/le d/figures/led-blue-delay.png used on input line 425. (pdftex.def) Requested size: 178.86702pt x 192.53517pt. -[61 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue.p +[65 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue.p ng>] Overfull \hbox (4.77844pt too wide) in paragraph at lines 440--452 [][] [] </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-red.p -ng, id=357, 245.41687pt x 339.51843pt> +ng, id=381, 245.41687pt x 339.51843pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue- red.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-r @@ -1248,14 +1313,14 @@ ed.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/le d/figures/led-blue-red.png used on input line 463. (pdftex.def) Requested size: 178.86702pt x 247.45784pt. -[62 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-d +[66 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-d elay.png>] Overfull \hbox (13.85292pt too wide) in paragraph at lines 479--496 [][] [] </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-green-blin -k.png, id=362, 246.9225pt x 251.43938pt> +k.png, id=386, 246.9225pt x 251.43938pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-green -blink.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-green- @@ -1268,12 +1333,12 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 521--534 [][] [] -[63 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-r +[67 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-r ed.png>] Underfull \vbox (badness 10000) has occurred while \output is active [] - [64 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-green --blink.png>] [65] + [68 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-green +-blink.png>] [69] Underfull \hbox (badness 10000) in paragraph at lines 613--617 [] @@ -1288,41 +1353,41 @@ Underfull \hbox (badness 10000) in paragraph at lines 632--635 [] -[66] [67] +[70] [71] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue-delay. -py [68]) +py [72]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue-red.py -[69]) +[73]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-green-blink -.py [70]) [71] +.py [74]) [75] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-blue.jl -[72]) +[76]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-blue-delay.j l) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-blue-red.jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-green-blink. -jl [73]) +jl [77]) Overfull \hbox (2.4842pt too wide) in paragraph at lines 840--841 []\T1/cmr/m/n/10.95 sComm.close_serial(1) : This closes the pre-de-fined se-ria l port which is presently [] -[74] +[78] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led-blue. mo) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led-blue- -delay.mo [75]) +delay.mo [79]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led-blue- -red.mo [76]) +red.mo [80]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led-green --blink.mo)) (./user-code/push/push.tex [77] [78 +-blink.mo)) (./user-code/push/push.tex [81] [82 ] Chapter 5. </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/pushbutton-co -nn.png, id=417, 415.5525pt x 438.63875pt> +nn.png, id=442, 415.5525pt x 438.63875pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/pushbutt on-conn.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/pushbutto @@ -1330,9 +1395,9 @@ n-conn.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/pu sh/figures/pushbutton-conn.png used on input line 63. (pdftex.def) Requested size: 178.86702pt x 188.80507pt. -[79] +[83] </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/ard-pushbtn.p -ng, id=422, 903.375pt x 564.1075pt> +ng, id=446, 903.375pt x 564.1075pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/ard-push btn.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/ard-pushb @@ -1340,12 +1405,12 @@ tn.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/pu sh/figures/ard-pushbtn.png used on input line 81. (pdftex.def) Requested size: 397.48499pt x 248.20805pt. - [80 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/pushbutt + [84 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/pushbutt on-conn.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push-button-s tatus/push-button-status.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push-button-s -tatus/push-button-status.ino) [81 </home/fossee/Desktop/floss-scilab-arduino/us +tatus/push-button-status.ino) [85 </home/fossee/Desktop/floss-scilab-arduino/us er-code/push/figures/ard-pushbtn.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/led-push-butt on/led-push-button.ino) @@ -1358,13 +1423,13 @@ Avail- (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/led-push-butt -on/led-push-button.ino [82]) +on/led-push-button.ino [86]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push-button-st atus.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push-button-st atus.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led-push-butto -n.sce) [83] +n.sce) [87] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push-button-st atus.sce) Overfull \hbox (0.145pt too wide) in paragraph at lines 198--201 @@ -1377,7 +1442,7 @@ Overfull \hbox (0.145pt too wide) in paragraph at lines 198--201 (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led-push-butto n.sce) </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/push-button-s -tatus.PNG, id=437, 264.99pt x 268.00125pt> +tatus.PNG, id=462, 264.99pt x 268.00125pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/push-but ton-status.PNG Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/push-butt @@ -1390,10 +1455,10 @@ Overfull \hbox (3.33746pt too wide) in paragraph at lines 247--257 [][] [] -[84] [85 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/push +[88] [89 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/push -button-status.PNG>] </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/led-push-butt -on.PNG, id=446, 298.86656pt x 264.99pt> +on.PNG, id=470, 298.86656pt x 264.99pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/led-push -button.PNG Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/led-push- @@ -1406,40 +1471,40 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 289--300 [][] [] -[86 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/led-push- +[90 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/led-push- button.PNG>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push-button-st atus.py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push-button-st atus.py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led-push-butto -n.py) [87] +n.py) [91] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push-button-st atus.py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led-push-butto -n.py [88]) +n.py [92]) Underfull \vbox (badness 10000) has occurred while \output is active [] - [89] + [93] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push-button-sta tus.jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led-push-button .jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push-button-sta -tus.jl) [90] +tus.jl) [94] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led-push-button .jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push-but ton-status.mo) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push-but -ton-status.mo [91]) +ton-status.mo [95]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led-push --button.mo [92])) (./user-code/ldr/ldr.tex [93] [94 +-button.mo [96])) (./user-code/ldr/ldr.tex [97] [98 ] Chapter 6. -</home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg, id=47 -6, 106.89937pt x 94.85437pt> +</home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg, id=50 +1, 106.89937pt x 94.85437pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg G raphic file (type jpg) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg> @@ -1447,7 +1512,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/ld r/figures/ldr.jpg used on input line 62. (pdftex.def) Requested size: 178.86702pt x 158.72462pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr_sym.png, i -d=477, 1009.52156pt x 741.52031pt> +d=502, 1009.52156pt x 741.52031pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr_sym.p ng Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr_sym.pn @@ -1456,7 +1521,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/ld r/figures/ldr_sym.png used on input line 65. (pdftex.def) Requested size: 178.86702pt x 131.37468pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-conn.png, -id=478, 415.5525pt x 450.68375pt> +id=503, 415.5525pt x 450.68375pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-conn. png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-conn.p @@ -1464,7 +1529,7 @@ ng> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/ld r/figures/ldr-conn.png used on input line 71. (pdftex.def) Requested size: 178.86702pt x 193.98965pt. -[95] +[99] Overfull \hbox (0.60098pt too wide) in paragraph at lines 87--87 []\T1/cmr/bx/n/14.4 Connecting an LDR with Ar-duino Uno us-ing a bread- [] @@ -1472,11 +1537,11 @@ Overfull \hbox (0.60098pt too wide) in paragraph at lines 87--87 Underfull \vbox (badness 3333) has occurred while \output is active [] - [96 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg> -</home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr_sym.png> < -/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-conn.png>] + [100 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg> + </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr_sym.png> +</home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-conn.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ard-ldr.png, i -d=487, 1086.0575pt x 601.24625pt> +d=512, 1086.0575pt x 601.24625pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ard-ldr.p ng Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ard-ldr.pn @@ -1484,8 +1549,8 @@ g> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/ld r/figures/ard-ldr.png used on input line 99. (pdftex.def) Requested size: 397.48499pt x 220.05396pt. - [97 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ard-ldr.p -ng>] + [101 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ard-ldr. +png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-read/ldr-r ead.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-read/ldr-r @@ -1493,16 +1558,16 @@ ead.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-read/ldr-r ead.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-read/ldr-r -ead.ino [98]) +ead.ino [102]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-led/ldr-le -d.ino) [99] +d.ino) [103] Overfull \hbox (19.20517pt too wide) in paragraph at lines 200--211 []\T1/cmr/m/n/10.95 In this ex-per-i-ment, we will ob-serve the sat-u-ra-tion p oint of LDR, see Scilab Code 6.2[]. [] (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr-read.sce -[100]) +[104]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr-led.sce) Overfull \hbox (0.34052pt too wide) in paragraph at lines 244--250 \T1/cmr/m/n/10.95 Next, we shall per-form the above men-tioned ex-per-i-ment, t @@ -1510,7 +1575,7 @@ o read LDR val-ues, through [] </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-read-xcos. -PNG, id=502, 257.46187pt x 304.13625pt> +PNG, id=527, 257.46187pt x 304.13625pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-read- xcos.PNG Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-read-x @@ -1518,9 +1583,9 @@ cos.PNG> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/ld r/figures/ldr-read-xcos.PNG used on input line 260. (pdftex.def) Requested size: 178.86702pt x 211.2975pt. -[101] +[105] </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-led.png, i -d=506, 769.87625pt x 640.3925pt> +d=531, 769.87625pt x 640.3925pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-led.p ng Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-led.pn @@ -1533,27 +1598,27 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 337--357 [][] [] -[102 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-read- -xcos.PNG>] [103 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figure -s/ldr-led.png>] [104] +[106 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-read- +xcos.PNG>] [107 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figure +s/ldr-led.png>] [108] (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr-read.py -[105]) +[109]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr-led.py -[106]) +[110]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led-push-button -.jl) [107] +.jl) [111] (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr-read.jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr-led.jl) -[108] +[112] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led-push -button.mo) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr-read. -mo [109]) +mo [113]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr-led.m -o)) (./user-code/dcmotor/dcmotor.tex [110] +o)) (./user-code/dcmotor/dcmotor.tex [114] Chapter 7. </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmotor_bo -ard.png, id=538, 247.92625pt x 232.87pt> +ard.png, id=562, 247.92625pt x 232.87pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmot or_board.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmoto @@ -1561,11 +1626,11 @@ r_board.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/dc motor/figures/dcmotor_board.png used on input line 62. (pdftex.def) Requested size: 258.36281pt x 242.69075pt. -[111 +[115 ] </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/schematic. -png, id=542, 415.5525pt x 467.7475pt> +png, id=567, 415.5525pt x 467.7475pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/schem atic.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/schema @@ -1574,7 +1639,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/dc motor/figures/schematic.png used on input line 102. (pdftex.def) Requested size: 178.86702pt x 201.33447pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dc_motor_d -escription.jpg, id=543, 2469.97781pt x 1973.12157pt> +escription.jpg, id=568, 2469.97781pt x 1973.12157pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dc_mo tor_description.jpg Graphic file (type jpg) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dc_mot @@ -1582,41 +1647,41 @@ or_description.jpg> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/dc motor/figures/dc_motor_description.jpg used on input line 108. (pdftex.def) Requested size: 258.36281pt x 206.38603pt. - [112 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmo + [116 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmo tor_board.png>] Overfull \vbox (9.00647pt too high) has occurred while \output is active [] -[113 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/schem +[117 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/schem atic.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/ -dc_motor_description.jpg>] [114] +dc_motor_description.jpg>] [118] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor-cl ock/dcmotor-clock.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor-bo th/dcmotor-both.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor-lo -op/dcmotor-loop.ino [115]) +op/dcmotor-loop.ino [119]) Underfull \hbox (badness 10000) in paragraph at lines 221--237 [] -[116] +[120] (/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) [117] +ck.sce) [121] (/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) [118] +ck.sce) [122] (/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) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-loo -p.sce [119]) +p.sce [123]) </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmotor-cl -ock.png, id=572, 275.52937pt x 290.58563pt> +ock.png, id=597, 275.52937pt x 290.58563pt> 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 @@ -1624,10 +1689,10 @@ 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 399. (pdftex.def) Requested size: 178.86702pt x 188.64784pt. - [120 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmo + [124 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmo tor-clock.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmotor-bo -th.png, id=576, 292.09125pt x 322.95656pt> +th.png, id=602, 292.09125pt x 322.95656pt> 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 @@ -1636,7 +1701,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/dc motor/figures/dcmotor-both.png used on input line 453. (pdftex.def) Requested size: 178.86702pt x 197.77196pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmotor-lo -op.png, id=577, 281.55188pt x 307.90031pt> +op.png, id=603, 281.55188pt x 307.90031pt> 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 @@ -1644,30 +1709,30 @@ 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 497. (pdftex.def) Requested size: 178.86702pt x 195.60847pt. - [121] [122 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figure -s/dcmotor-both.png>] [123 </home/fossee/Desktop/floss-scilab-arduino/user-code/ -dcmotor/figures/dcmotor-loop.png>] [124] + [125] [126 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figure +s/dcmotor-both.png>] [127 </home/fossee/Desktop/floss-scilab-arduino/user-code/ +dcmotor/figures/dcmotor-loop.png>] [128] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor-clo -ck.py [125]) +ck.py [129]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor-bot -h.py) [126] +h.py) [130] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor-loo -p.py) [127] +p.py) [131] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor-cloc -k.jl [128]) +k.jl [132]) (/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 -.jl) [129] +.jl) [133] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmot or-clock.mo) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmot -or-both.mo [130]) +or-both.mo [134]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmot -or-loop.mo [131])) (./user-code/pot/pot.tex [132] +or-loop.mo [135])) (./user-code/pot/pot.tex [136] Chapter 8. </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/potmeter.png, -id=619, 1576.38937pt x 1305.37688pt> +id=644, 1576.38937pt x 1305.37688pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/potmeter. png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/potmeter.p @@ -1676,7 +1741,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/po t/figures/potmeter.png used on input line 65. (pdftex.def) Requested size: 178.86702pt x 148.11337pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/schematic.png, - id=620, 415.5525pt x 417.56pt> + id=645, 415.5525pt x 417.56pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/schematic .png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/schematic. @@ -1684,9 +1749,9 @@ 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. -[133 +[137 -] [134 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/potmete +] [138 </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/arduino/pot-threshold/ @@ -1694,11 +1759,11 @@ pot-threshold.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot-threshold/ pot-threshold.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot-threshold/ -pot-threshold.ino [135]) +pot-threshold.ino [139]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot-threshold.s ce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot-threshold.s -ce) [136] +ce) [140] Overfull \hbox (6.93184pt too wide) in paragraph at lines 171--175 []\T1/cmr/m/n/10.95 Turning on LEDs de-pend-ing on the po-ten-tiome-ter thresh- old. Avail- @@ -1708,7 +1773,7 @@ old. Avail- (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot-threshold.s ce) </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/pot-threshold. -PNG, id=636, 548.80031pt x 493.845pt> +PNG, id=661, 548.80031pt x 493.845pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/pot-thres hold.PNG Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/pot-thresh @@ -1721,14 +1786,14 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 207--236 [][] [] -[137] [138 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/pot +[141] [142 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/pot -threshold.PNG>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot-threshold.p y) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot-threshold.p -y [139]) +y [143]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot-threshold.p -y [140]) +y [144]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot-threshold.jl ) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot-threshold.jl @@ -1744,13 +1809,13 @@ Overfull \hbox (0.88127pt too wide) in paragraph at lines 296--300 old. Avail- [] -[141] +[145] (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot-threshold.jl ) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot-thres hold.mo) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot-thres -hold.mo [142]) +hold.mo [146]) Overfull \hbox (7.95369pt too wide) in paragraph at lines 319--323 []\T1/cmr/m/n/10.95 Turning on LEDs de-pend-ing on the po-ten-tiome-ter thresh- @@ -1758,10 +1823,10 @@ Overfull \hbox (7.95369pt too wide) in paragraph at lines 319--323 (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot-thres -hold.mo [143])) (./user-code/thermistor/thermistor.tex [144] +hold.mo [147])) (./user-code/thermistor/thermistor.tex [148] Chapter 9. </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/NTC-bea -d.jpg, id=663, 139.9629pt x 126.2316pt> +d.jpg, id=688, 139.9629pt x 126.2316pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/NT C-bead.jpg Graphic file (type jpg) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/NTC @@ -1770,13 +1835,13 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th ermistor/figures/NTC-bead.jpg used on input line 70. (pdftex.def) Requested size: 178.86702pt x 161.32933pt. -LaTeX Warning: Citation `therm-wiki' on page 145 undefined on input line 70. +LaTeX Warning: Citation `therm-wiki' on page 149 undefined on input line 70. -LaTeX Warning: Citation `therm-wiki' on page 145 undefined on input line 70. +LaTeX Warning: Citation `therm-wiki' on page 149 undefined on input line 70. </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-s -ym.png, id=664, 1284.8pt x 913.4125pt> +ym.png, id=689, 1284.8pt x 913.4125pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th erm-sym.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/the @@ -1785,7 +1850,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th ermistor/figures/therm-sym.png used on input line 73. (pdftex.def) Requested size: 119.2467pt x 84.76808pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/THERMIS -TOR-Diagram-crop.pdf, id=665, 329.23pt x 422.57875pt> +TOR-Diagram-crop.pdf, id=690, 329.23pt x 422.57875pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/TH ERMISTOR-Diagram-crop.pdf Graphic file (type pdf) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/THE @@ -1794,7 +1859,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th ermistor/figures/THERMISTOR-Diagram-crop.pdf used on input line 83. (pdftex.def) Requested size: 178.86702pt x 229.58835pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/BUZZER- -Diagram-crop.pdf, id=666, 307.1475pt x 366.36874pt> +Diagram-crop.pdf, id=691, 307.1475pt x 366.36874pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/BU ZZER-Diagram-crop.pdf Graphic file (type pdf) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/BUZ @@ -1802,19 +1867,19 @@ ZER-Diagram-crop.pdf> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th ermistor/figures/BUZZER-Diagram-crop.pdf used on input line 87. (pdftex.def) Requested size: 178.86702pt x 213.35492pt. -[145 +[149 ] Overfull \vbox (30.13353pt too high) has occurred while \output is active [] -[146 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/NT +[150 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/NT C-bead.jpg> </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/fig ures/therm-sym.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/thermi stor/figures/THERMISTOR-Diagram-crop.pdf> </home/fossee/Desktop/floss-scilab-ar duino/user-code/thermistor/figures/BUZZER-Diagram-crop.pdf>] </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/ard-the -rm.png, id=687, 1083.04625pt x 550.055pt> +rm.png, id=711, 1083.04625pt x 550.055pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/ar d-therm.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/ard @@ -1828,18 +1893,18 @@ ead/therm-read.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-r ead/therm-read.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-r -ead/therm-read.ino) [147 </home/fossee/Desktop/floss-scilab-arduino/user-code/t +ead/therm-read.ino) [151 </home/fossee/Desktop/floss-scilab-arduino/user-code/t hermistor/figures/ard-therm.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-r -ead/therm-read.ino [148]) +ead/therm-read.ino [152]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-b -uzzer/therm-buzzer.ino) [149] [150] +uzzer/therm-buzzer.ino) [153] [154] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm-re ad.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm-bu -zzer.sce [151]) +zzer.sce [155]) </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-r -ead-xcos.png, id=707, 617.30624pt x 548.0475pt> +ead-xcos.png, id=731, 617.30624pt x 548.0475pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th erm-read-xcos.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/the @@ -1848,7 +1913,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th ermistor/figures/therm-read-xcos.png used on input line 280. (pdftex.def) Requested size: 194.76982pt x 172.91183pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-r -ead.png, id=708, 632.3625pt x 529.98pt> +ead.png, id=732, 632.3625pt x 529.98pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th erm-read.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/the @@ -1856,10 +1921,10 @@ rm-read.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th ermistor/figures/therm-read.png used on input line 313. (pdftex.def) Requested size: 194.76982pt x 163.23271pt. - [152 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t + [156 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t herm-read-xcos.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-b -uzzer-xcos.png, id=713, 627.34375pt x 530.98375pt> +uzzer-xcos.png, id=737, 627.34375pt x 530.98375pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th erm-buzzer-xcos.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/the @@ -1872,10 +1937,10 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 347--367 [][] [] -[153 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th +[157 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th erm-read.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-b -uzzer.png, id=718, 612.2875pt x 589.20125pt> +uzzer.png, id=743, 612.2875pt x 589.20125pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th erm-buzzer.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/the @@ -1883,30 +1948,30 @@ rm-buzzer.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th ermistor/figures/therm-buzzer.png used on input line 373. (pdftex.def) Requested size: 178.86702pt x 172.12265pt. - [154 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t + [158 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t herm-buzzer-xcos.png>] -LaTeX Warning: Text page 155 contains only floats. +LaTeX Warning: Text page 159 contains only floats. -[155 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th +[159 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th erm-buzzer.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm-re -ad.py [156]) +ad.py [160]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm-bu -zzer.py [157]) +zzer.py [161]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm-rea -d.jl [158]) +d.jl [162]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm-buz -zer.jl) [159] +zer.jl) [163] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/th -erm-read.mo [160]) +erm-read.mo [164]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/th -erm-buzzer.mo) [161]) (./user-code/servo/servo.tex [162] +erm-buzzer.mo) [165]) (./user-code/servo/servo.tex [166] Chapter 10. Underfull \vbox (badness 1975) has occurred while \output is active [] - [163 + [167 ] Overfull \hbox (23.49748pt too wide) in paragraph at lines 90--98 @@ -1914,17 +1979,17 @@ Overfull \hbox (23.49748pt too wide) in paragraph at lines 90--98 by $\OT1/cmr/m/n/10.95 30[]$ \T1/cmr/m/n/10.95 us-ing Ar-duino Code 10.1[]. [] -[164] +[168] (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo-init/s -ervo-init.ino [165]) +ervo-init.ino [169]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo-revers e/servo-reverse.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo-loop/s -ervo-loop.ino) [166] +ervo-loop.ino) [170] (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo-pot/se rvo-pot.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo-init.sc -e) [167] +e) [171] (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo-pot.sce ) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo-pot.sce @@ -1932,13 +1997,13 @@ e) [167] (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo-init.sc e) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo-reverse -.sce [168]) +.sce [172]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo-loop.sc e) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo-pot.sce ) </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-init.p -ng, id=771, 265.74281pt x 309.40594pt> +ng, id=797, 265.74281pt x 309.40594pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-i nit.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-in @@ -1946,9 +2011,9 @@ it.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/se rvo/figures/servo-init.png used on input line 299. (pdftex.def) Requested size: 178.86702pt x 208.2593pt. - [169] + [173] </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-revers -e.png, id=776, 244.66406pt x 281.55188pt> +e.png, id=801, 244.66406pt x 281.55188pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-r everse.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-re @@ -1959,10 +2024,10 @@ rvo/figures/servo-reverse.png used on input line 334. Underfull \vbox (badness 3199) has occurred while \output is active [] - [170 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo- + [174 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo- init.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-loop.p -ng, id=781, 281.55188pt x 347.04657pt> +ng, id=805, 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 @@ -1971,7 +2036,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/se rvo/figures/servo-loop.png used on input line 372. (pdftex.def) Requested size: 178.86702pt x 220.47803pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-pot.pn -g, id=782, 286.06876pt x 292.09125pt> +g, id=806, 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 @@ -1980,38 +2045,38 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/se rvo/figures/servo-pot.png used on input line 415. (pdftex.def) Requested size: 178.86702pt x 182.63234pt. -[171 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-r +[175 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-r everse.png>] Overfull \hbox (17.60953pt too wide) in paragraph at lines 435--446 [][] [] -[172 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-l +[176 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-l oop.png>] -LaTeX Warning: Reference `sec:py-start' on page 173 undefined on input line 459 +LaTeX Warning: Reference `sec:py-start' on page 177 undefined on input line 459 . Underfull \vbox (badness 10000) has occurred while \output is active [] - [173 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo- + [177 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo- pot.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-init.py -) [174] +) [178] (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-pot.py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-pot.py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-init.py -[175]) +[179]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-reverse -.py [176]) +.py [180]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-loop.py -[177]) +[181]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-pot.py -[178]) +[182]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-init.jl) -[179] +[183] (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-pot.jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-pot.jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-init.jl) @@ -2023,10 +2088,10 @@ vers-ing. Avail- (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-reverse. -jl) [180] +jl) [184] (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-loop.jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-pot.jl) -[181] +[185] (/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_p @@ -2034,19 +2099,19 @@ ot.mo) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo_p ot.mo) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo-i -nit.mo [182]) +nit.mo [186]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo-r -everse.mo [183]) +everse.mo [187]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo-l oop.mo) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo_p -ot.mo [184])) (./user-code/modbus/modbus.tex [185] [186 +ot.mo [188])) (./user-code/modbus/modbus.tex [189] [190 ] Chapter 11. -[187] +[191] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig1.png, i -d=837, 672.5125pt x 224.84pt> +d=861, 672.5125pt x 224.84pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig1.p ng Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig1.pn @@ -2055,7 +2120,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/mo dbus/figures/fig1.png used on input line 71. (pdftex.def) Requested size: 357.73405pt x 119.60033pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig2.png, i -d=838, 360.34625pt x 375.4025pt> +d=862, 360.34625pt x 375.4025pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig2.p ng Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig2.pn @@ -2064,7 +2129,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/mo dbus/figures/fig2.png used on input line 79. (pdftex.def) Requested size: 178.86702pt x 186.33748pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig3.png, i -d=839, 481.04718pt x 214.55156pt> +d=863, 481.04718pt x 214.55156pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig3.p ng Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig3.pn @@ -2072,12 +2137,12 @@ g> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/mo dbus/figures/fig3.png used on input line 106. (pdftex.def) Requested size: 357.73405pt x 159.55464pt. - [188 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig1. + [192 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig1. png (PNG copy)> </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/fig -ures/fig2.png (PNG copy)>] [189 </home/fossee/Desktop/floss-scilab-arduino/user --code/modbus/figures/fig3.png (PNG copy)>] [190] [191] +ures/fig2.png (PNG copy)>] [193 </home/fossee/Desktop/floss-scilab-arduino/user +-code/modbus/figures/fig3.png (PNG copy)>] [194] [195] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/Full-Set-Up -.png, id=853, 722.7pt x 542.025pt> +.png, id=878, 722.7pt x 542.025pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/Full-S et-Up.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/Full-Se @@ -2085,9 +2150,9 @@ t-Up.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/mo dbus/figures/Full-Set-Up.png used on input line 300. (pdftex.def) Requested size: 258.36281pt x 193.77246pt. - [192] + [196] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/block-diagr -am.PNG, id=857, 398.23781pt x 255.95625pt> +am.PNG, id=882, 398.23781pt x 255.95625pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/block- diagram.PNG Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/block-d @@ -2096,7 +2161,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/mo dbus/figures/block-diagram.PNG used on input line 329. (pdftex.def) Requested size: 258.36281pt x 166.06104pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/arduino_cod -e_flowchart.png, id=858, 327.2225pt x 480.79625pt> +e_flowchart.png, id=883, 327.2225pt x 480.79625pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/arduin o_code_flowchart.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/arduino @@ -2104,10 +2169,10 @@ _code_flowchart.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/mo dbus/figures/arduino_code_flowchart.png used on input line 348. (pdftex.def) Requested size: 258.36281pt x 379.61945pt. - [193 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/Full- + [197 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/Full- Set-Up.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/flowchart.p -ng, id=864, 482.55281pt x 362.10281pt> +ng, id=888, 482.55281pt x 362.10281pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/flowch art.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/flowcha @@ -2116,7 +2181,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/mo dbus/figures/flowchart.png used on input line 376. (pdftex.def) Requested size: 357.73405pt x 268.44914pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/current-out -put.png, id=865, 1028.34187pt x 578.16pt> +put.png, id=889, 1028.34187pt x 578.16pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/curren t-output.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/current @@ -2125,7 +2190,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/mo dbus/figures/current-output.png used on input line 393. (pdftex.def) Requested size: 397.48499pt x 223.4789pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/current-out -put-setup.jpg, id=866, 2509.375pt x 1411.2725pt> +put-setup.jpg, id=890, 2509.375pt x 1411.2725pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/curren t-output-setup.jpg Graphic file (type jpg) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/current @@ -2134,7 +2199,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/mo dbus/figures/current-output-setup.jpg used on input line 400. (pdftex.def) Requested size: 258.36281pt x 145.29163pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/voltage-out -put.png, id=867, 1028.34187pt x 578.16pt> +put.png, id=891, 1028.34187pt x 578.16pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/voltag e-output.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/voltage @@ -2143,7 +2208,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/mo dbus/figures/voltage-output.png used on input line 412. (pdftex.def) Requested size: 397.48499pt x 223.4789pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/voltage-out -put-setup.jpg, id=868, 2509.375pt x 1411.2725pt> +put-setup.jpg, id=892, 2509.375pt x 1411.2725pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/voltag e-output-setup.jpg Graphic file (type jpg) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/voltage @@ -2152,7 +2217,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/mo dbus/figures/voltage-output-setup.jpg used on input line 419. (pdftex.def) Requested size: 258.36281pt x 145.29163pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/active-powe -r-output.png, id=869, 1028.34187pt x 578.16pt> +r-output.png, id=893, 1028.34187pt x 578.16pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/active -power-output.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/active- @@ -2161,10 +2226,10 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/mo dbus/figures/active-power-output.png used on input line 429. (pdftex.def) Requested size: 397.48499pt x 223.4789pt. -[194 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/block- +[198 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/block- diagram.PNG>] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/active-powe -r-output-setup.jpg, id=874, 2509.375pt x 1411.2725pt> +r-output-setup.jpg, id=898, 2509.375pt x 1411.2725pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/active -power-output-setup.jpg Graphic file (type jpg) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/active- @@ -2175,10 +2240,10 @@ dbus/figures/active-power-output-setup.jpg used on input line 436. Underfull \vbox (badness 10000) has occurred while \output is active [] - [195 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/ardui + [199 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/ardui no_code_flowchart.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/read_value_ -xcos.png, id=879, 635.37375pt x 455.7025pt> +xcos.png, id=904, 635.37375pt x 455.7025pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/read_v alue_xcos.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/read_va @@ -2197,46 +2262,46 @@ Overfull \hbox (16.70493pt too wide) in paragraph at lines 479--491 [][] [] -[196 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/flowch -art.png (PNG copy)>] [197 </home/fossee/Desktop/floss-scilab-arduino/user-code/ +[200 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/flowch +art.png (PNG copy)>] [201 </home/fossee/Desktop/floss-scilab-arduino/user-code/ modbus/figures/current-output.png (PNG copy)> </home/fossee/Desktop/floss-scila b-arduino/user-code/modbus/figures/current-output-setup.jpg>] Underfull \vbox (badness 10000) has occurred while \output is active [] - [198 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/volta + [202 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/volta ge-output.png (PNG copy)> </home/fossee/Desktop/floss-scilab-arduino/user-code/ modbus/figures/voltage-output-setup.jpg>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/arduino/send_packet -.ino [199 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/a +.ino [203 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/a ctive-power-output.png (PNG copy)> </home/fossee/Desktop/floss-scilab-arduino/u -ser-code/modbus/figures/active-power-output-setup.jpg>] [200 </home/fossee/Desk +ser-code/modbus/figures/active-power-output-setup.jpg>] [204 </home/fossee/Desk top/floss-scilab-arduino/user-code/modbus/figures/read_value_xcos.png>]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read_val.sce ) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read_current .sci) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read_voltage -.sci [201]) +.sci [205]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read_active_ power.sci) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read_current .py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read_voltage -.py [202]) +.py [206]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read_active_ power.py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readCurrent.j l) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readVoltage.j -l [203]) +l [207]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readPower.jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readCu rrent.mo) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readVo -ltage.mo [204]) +ltage.mo [208]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readPo -wer.mo)) (./floss-arduino.bbl [205] [206 +wer.mo)) (./floss-arduino.bbl [209] [210 ] Underfull \hbox (badness 10000) in paragraph at lines 4--9 @@ -2267,11 +2332,11 @@ Overfull \hbox (15.39987pt too wide) in paragraph at lines 49--53 /Skittles_M%26M%27s [] -[207]) +[211]) \tf@thm=\write13 \openout13 = `floss-arduino.thm'. - [208] (./floss-arduino.aux) + [212] (./floss-arduino.aux) LaTeX Warning: There were undefined references. @@ -2280,13 +2345,13 @@ LaTeX Warning: There were multiply-defined labels. ) Here is how much of TeX's memory you used: - 9606 strings out of 481239 - 201095 string characters out of 5920377 + 9649 strings out of 481239 + 203923 string characters out of 5920377 742688 words of memory out of 5000000 - 24166 multiletter control sequences out of 15000+600000 + 24203 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,467b,1797s stack positions out of 5000i,500n,10000p,200000b,80000s + 50i,11n,53p,467b,1777s stack positions out of 5000i,500n,10000p,200000b,80000s {/usr/share/texmf/fonts/enc/dvips/cm-super/cm-super-ts1.enc}{/usr/share/texmf /fonts/enc/dvips/cm-super/cm-super-t1.enc}{/usr/share/texlive/texmf-dist/fonts/ enc/dvips/base/8r.enc}</usr/share/texlive/texmf-dist/fonts/type1/public/amsfont @@ -2311,10 +2376,10 @@ sr/share/texmf/fonts/type1/public/cm-super/sfrm1000.pfb></usr/share/texmf/fonts er/sfrm1200.pfb></usr/share/texmf/fonts/type1/public/cm-super/sfsi1095.pfb></us r/share/texmf/fonts/type1/public/cm-super/sfss1095.pfb></usr/share/texmf/fonts/ type1/public/cm-super/sfti1095.pfb> -Output written on floss-arduino.pdf (232 pages, 22710067 bytes). +Output written on floss-arduino.pdf (236 pages, 23339557 bytes). PDF statistics: - 1020 PDF objects out of 1200 (max. 8388607) - 614 compressed objects within 7 object streams + 1045 PDF objects out of 1200 (max. 8388607) + 623 compressed objects within 7 object streams 0 named destinations out of 1000 (max. 500000) - 461 words of extra memory for PDF output out of 10000 (max. 10000000) + 491 words of extra memory for PDF output out of 10000 (max. 10000000) diff --git a/floss-arduino.lot b/floss-arduino.lot index 4b30cdd..573a0fe 100644 --- a/floss-arduino.lot +++ b/floss-arduino.lot @@ -5,36 +5,36 @@ \contentsline {table}{\numberline {2.3}{\ignorespaces Information on sensors and pin numbers\relax }}{16}% \addvspace {10\p@ } \addvspace {10\p@ } -\contentsline {table}{\numberline {4.1}{\ignorespaces Parameters to light the blue LED in Xcos\relax }}{61}% -\contentsline {table}{\numberline {4.2}{\ignorespaces Parameters to light the blue LED in Xcos for two seconds\relax }}{62}% -\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{64}% -\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{65}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the push button status on the display block\relax }}{85}% -\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{86}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{102}% -\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{104}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {7.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{117}% -\contentsline {table}{\numberline {7.2}{\ignorespaces Parameters for DC motor initialization\relax }}{117}% -\contentsline {table}{\numberline {7.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{121}% -\contentsline {table}{\numberline {7.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{122}% -\contentsline {table}{\numberline {7.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{124}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{139}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{153}% -\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{155}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{164}% -\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{170}% -\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{172}% -\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{173}% -\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{174}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {11.1}{\ignorespaces Interpretation of a request packet\relax }}{190}% -\contentsline {table}{\numberline {11.2}{\ignorespaces Interpretation of a response packet\relax }}{190}% -\contentsline {table}{\numberline {11.3}{\ignorespaces Hexadecimal to Decimal\relax }}{191}% -\contentsline {table}{\numberline {11.4}{\ignorespaces Single and Double Precision Representation\relax }}{191}% -\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{200}% +\contentsline {table}{\numberline {4.1}{\ignorespaces Parameters to light the blue LED in Xcos\relax }}{65}% +\contentsline {table}{\numberline {4.2}{\ignorespaces Parameters to light the blue LED in Xcos for two seconds\relax }}{66}% +\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{68}% +\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{69}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the push button status on the display block\relax }}{89}% +\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{90}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{106}% +\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{108}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {7.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{121}% +\contentsline {table}{\numberline {7.2}{\ignorespaces Parameters for DC motor initialization\relax }}{121}% +\contentsline {table}{\numberline {7.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{125}% +\contentsline {table}{\numberline {7.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{126}% +\contentsline {table}{\numberline {7.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{128}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{143}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{157}% +\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{159}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{168}% +\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{174}% +\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{176}% +\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{177}% +\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{178}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {11.1}{\ignorespaces Interpretation of a request packet\relax }}{194}% +\contentsline {table}{\numberline {11.2}{\ignorespaces Interpretation of a response packet\relax }}{194}% +\contentsline {table}{\numberline {11.3}{\ignorespaces Hexadecimal to Decimal\relax }}{195}% +\contentsline {table}{\numberline {11.4}{\ignorespaces Single and Double Precision Representation\relax }}{195}% +\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{204}% diff --git a/floss-arduino.pdf b/floss-arduino.pdf Binary files differindex c1e73c2..8616968 100644 --- a/floss-arduino.pdf +++ b/floss-arduino.pdf diff --git a/floss-arduino.pyd b/floss-arduino.pyd index 75aab64..d35692a 100644 --- a/floss-arduino.pyd +++ b/floss-arduino.pyd @@ -1,31 +1,31 @@ \addvspace {10pt} \contentsline {section}{\numberline {3.{1}}A Python code to check whether the firmware is properly installed or not}{42}% \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the LED through Python}{68}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{68}% -\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{69}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{70}% +\contentsline {section}{\numberline {4.{1}}Turning on the LED through Python}{72}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{72}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{73}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{74}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{88}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{88}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{92}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{92}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{105}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{106}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{109}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{110}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{125}% -\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{126}% -\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{126}% +\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{129}% +\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{130}% +\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{130}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{140}% +\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{144}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{156}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{157}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{160}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{161}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{175}% -\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{176}% -\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{177}% -\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{178}% +\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{179}% +\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{180}% +\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{181}% +\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{182}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{202}% -\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{202}% -\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{203}% +\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{206}% +\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{206}% +\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{207}% diff --git a/floss-arduino.thm b/floss-arduino.thm index 75f518e..30675a1 100644 --- a/floss-arduino.thm +++ b/floss-arduino.thm @@ -1,123 +1,123 @@ -\contentsline {ardmass}{{Arduino Code}{3.{1}}{}}{24}% -\contentsline {codemass}{{Scilab Code}{3.{1}}{}}{33}% +\contentsline {ardmass}{{Arduino Code}{3.{1}}{}}{25}% +\contentsline {codemass}{{Scilab Code}{3.{1}}{}}{34}% \contentsline {pymass}{{Python Code}{3.{1}}{}}{42}% -\contentsline {juliamass}{{Julia Code}{3.{1}}{}}{47}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{3.{1}}{}}{49}% -\contentsline {egmass}{{Exercise}{4.{1}}{}}{55}% -\contentsline {ardmass}{{Arduino Code}{4.{1}}{}}{56}% -\contentsline {ardmass}{{Arduino Code}{4.{2}}{}}{57}% -\contentsline {ardmass}{{Arduino Code}{4.{3}}{}}{57}% -\contentsline {ardmass}{{Arduino Code}{4.{4}}{}}{57}% -\contentsline {egmass}{{Exercise}{4.{2}}{}}{59}% -\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{59}% -\contentsline {codemass}{{Scilab Code}{4.{2}}{}}{60}% -\contentsline {codemass}{{Scilab Code}{4.{3}}{}}{60}% -\contentsline {codemass}{{Scilab Code}{4.{4}}{}}{60}% -\contentsline {egmass}{{Exercise}{4.{3}}{}}{63}% -\contentsline {pymass}{{Python Code}{4.{1}}{}}{68}% -\contentsline {pymass}{{Python Code}{4.{2}}{}}{68}% -\contentsline {pymass}{{Python Code}{4.{3}}{}}{69}% -\contentsline {pymass}{{Python Code}{4.{4}}{}}{70}% -\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{73}% -\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{73}% -\contentsline {juliamass}{{Julia Code}{4.{3}}{}}{73}% -\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{73}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{75}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{75}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{76}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{77}% -\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{82}% -\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{82}% -\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{84}% -\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{84}% -\contentsline {egmass}{{Exercise}{5.{1}}{}}{86}% -\contentsline {pymass}{{Python Code}{5.{1}}{}}{88}% -\contentsline {pymass}{{Python Code}{5.{2}}{}}{88}% -\contentsline {juliamass}{{Julia Code}{5.{1}}{}}{90}% -\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{91}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{91}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{92}% -\contentsline {egmass}{{Exercise}{6.{1}}{}}{98}% -\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{99}% -\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{99}% -\contentsline {egmass}{{Exercise}{6.{2}}{}}{100}% -\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{100}% -\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{101}% -\contentsline {egmass}{{Exercise}{6.{3}}{}}{105}% -\contentsline {pymass}{{Python Code}{6.{1}}{}}{105}% -\contentsline {pymass}{{Python Code}{6.{2}}{}}{106}% -\contentsline {egmass}{{Exercise}{6.{4}}{}}{107}% -\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{108}% -\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{108}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{109}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{110}% -\contentsline {egmass}{{Exercise}{7.{1}}{}}{114}% -\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{115}% -\contentsline {ardmass}{{Arduino Code}{7.{2}}{}}{115}% -\contentsline {ardmass}{{Arduino Code}{7.{3}}{}}{115}% -\contentsline {egmass}{{Exercise}{7.{2}}{}}{118}% -\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{119}% -\contentsline {codemass}{{Scilab Code}{7.{2}}{}}{119}% -\contentsline {codemass}{{Scilab Code}{7.{3}}{}}{119}% -\contentsline {egmass}{{Exercise}{7.{3}}{}}{121}% -\contentsline {pymass}{{Python Code}{7.{1}}{}}{125}% -\contentsline {pymass}{{Python Code}{7.{2}}{}}{126}% -\contentsline {pymass}{{Python Code}{7.{3}}{}}{126}% -\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{128}% -\contentsline {juliamass}{{Julia Code}{7.{2}}{}}{129}% -\contentsline {juliamass}{{Julia Code}{7.{3}}{}}{129}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{130}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{2}}{}}{130}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{3}}{}}{131}% -\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{135}% -\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{137}% -\contentsline {pymass}{{Python Code}{8.{1}}{}}{140}% -\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{142}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{143}% -\contentsline {egmass}{{Exercise}{9.{1}}{}}{148}% -\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{148}% -\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{149}% -\contentsline {egmass}{{Exercise}{9.{2}}{}}{150}% -\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{151}% -\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{151}% -\contentsline {pymass}{{Python Code}{9.{1}}{}}{156}% -\contentsline {pymass}{{Python Code}{9.{2}}{}}{157}% -\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{158}% -\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{159}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{160}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{161}% -\contentsline {egmass}{{Exercise}{10.{1}}{}}{165}% -\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{165}% -\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{166}% -\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{166}% -\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{167}% -\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{168}% -\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{168}% -\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{169}% -\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{169}% -\contentsline {pymass}{{Python Code}{10.{1}}{}}{175}% -\contentsline {pymass}{{Python Code}{10.{2}}{}}{176}% -\contentsline {pymass}{{Python Code}{10.{3}}{}}{177}% -\contentsline {pymass}{{Python Code}{10.{4}}{}}{178}% -\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{180}% -\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{180}% -\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{181}% -\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{181}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{182}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{183}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{184}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{184}% -\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{199}% -\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{201}% -\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{201}% -\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{201}% -\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{202}% -\contentsline {pymass}{{Python Code}{11.{1}}{}}{202}% -\contentsline {pymass}{{Python Code}{11.{2}}{}}{202}% -\contentsline {pymass}{{Python Code}{11.{3}}{}}{203}% -\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{203}% -\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{203}% -\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{204}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{204}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{204}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{205}% +\contentsline {juliamass}{{Julia Code}{3.{1}}{}}{48}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{3.{1}}{}}{53}% +\contentsline {egmass}{{Exercise}{4.{1}}{}}{59}% +\contentsline {ardmass}{{Arduino Code}{4.{1}}{}}{60}% +\contentsline {ardmass}{{Arduino Code}{4.{2}}{}}{61}% +\contentsline {ardmass}{{Arduino Code}{4.{3}}{}}{61}% +\contentsline {ardmass}{{Arduino Code}{4.{4}}{}}{61}% +\contentsline {egmass}{{Exercise}{4.{2}}{}}{63}% +\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{63}% +\contentsline {codemass}{{Scilab Code}{4.{2}}{}}{64}% +\contentsline {codemass}{{Scilab Code}{4.{3}}{}}{64}% +\contentsline {codemass}{{Scilab Code}{4.{4}}{}}{64}% +\contentsline {egmass}{{Exercise}{4.{3}}{}}{67}% +\contentsline {pymass}{{Python Code}{4.{1}}{}}{72}% +\contentsline {pymass}{{Python Code}{4.{2}}{}}{72}% +\contentsline {pymass}{{Python Code}{4.{3}}{}}{73}% +\contentsline {pymass}{{Python Code}{4.{4}}{}}{74}% +\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{77}% +\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{77}% +\contentsline {juliamass}{{Julia Code}{4.{3}}{}}{77}% +\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{77}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{79}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{79}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{80}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{81}% +\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{86}% +\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{86}% +\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{88}% +\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{88}% +\contentsline {egmass}{{Exercise}{5.{1}}{}}{90}% +\contentsline {pymass}{{Python Code}{5.{1}}{}}{92}% +\contentsline {pymass}{{Python Code}{5.{2}}{}}{92}% +\contentsline {juliamass}{{Julia Code}{5.{1}}{}}{94}% +\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{95}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{95}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{96}% +\contentsline {egmass}{{Exercise}{6.{1}}{}}{102}% +\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{103}% +\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{103}% +\contentsline {egmass}{{Exercise}{6.{2}}{}}{104}% +\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{104}% +\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{105}% +\contentsline {egmass}{{Exercise}{6.{3}}{}}{109}% +\contentsline {pymass}{{Python Code}{6.{1}}{}}{109}% +\contentsline {pymass}{{Python Code}{6.{2}}{}}{110}% +\contentsline {egmass}{{Exercise}{6.{4}}{}}{111}% +\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{112}% +\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{112}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{113}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{114}% +\contentsline {egmass}{{Exercise}{7.{1}}{}}{118}% +\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{119}% +\contentsline {ardmass}{{Arduino Code}{7.{2}}{}}{119}% +\contentsline {ardmass}{{Arduino Code}{7.{3}}{}}{119}% +\contentsline {egmass}{{Exercise}{7.{2}}{}}{122}% +\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{123}% +\contentsline {codemass}{{Scilab Code}{7.{2}}{}}{123}% +\contentsline {codemass}{{Scilab Code}{7.{3}}{}}{123}% +\contentsline {egmass}{{Exercise}{7.{3}}{}}{125}% +\contentsline {pymass}{{Python Code}{7.{1}}{}}{129}% +\contentsline {pymass}{{Python Code}{7.{2}}{}}{130}% +\contentsline {pymass}{{Python Code}{7.{3}}{}}{130}% +\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{132}% +\contentsline {juliamass}{{Julia Code}{7.{2}}{}}{133}% +\contentsline {juliamass}{{Julia Code}{7.{3}}{}}{133}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{134}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{2}}{}}{134}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{3}}{}}{135}% +\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{139}% +\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{141}% +\contentsline {pymass}{{Python Code}{8.{1}}{}}{144}% +\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{146}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{147}% +\contentsline {egmass}{{Exercise}{9.{1}}{}}{152}% +\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{152}% +\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{153}% +\contentsline {egmass}{{Exercise}{9.{2}}{}}{154}% +\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{155}% +\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{155}% +\contentsline {pymass}{{Python Code}{9.{1}}{}}{160}% +\contentsline {pymass}{{Python Code}{9.{2}}{}}{161}% +\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{162}% +\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{163}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{164}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{165}% +\contentsline {egmass}{{Exercise}{10.{1}}{}}{169}% +\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{169}% +\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{170}% +\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{170}% +\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{171}% +\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{172}% +\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{172}% +\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{173}% +\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{173}% +\contentsline {pymass}{{Python Code}{10.{1}}{}}{179}% +\contentsline {pymass}{{Python Code}{10.{2}}{}}{180}% +\contentsline {pymass}{{Python Code}{10.{3}}{}}{181}% +\contentsline {pymass}{{Python Code}{10.{4}}{}}{182}% +\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{184}% +\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{184}% +\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{185}% +\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{185}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{186}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{187}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{188}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{188}% +\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{203}% +\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{205}% +\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{205}% +\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{205}% +\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{206}% +\contentsline {pymass}{{Python Code}{11.{1}}{}}{206}% +\contentsline {pymass}{{Python Code}{11.{2}}{}}{206}% +\contentsline {pymass}{{Python Code}{11.{3}}{}}{207}% +\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{207}% +\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{207}% +\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{208}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{208}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{208}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{209}% diff --git a/floss-arduino.toc b/floss-arduino.toc index 2c256e5..90fa6ad 100644 --- a/floss-arduino.toc +++ b/floss-arduino.toc @@ -26,18 +26,18 @@ \contentsline {section}{\numberline {3.1}Arduino IDE}{17}% \contentsline {subsection}{\numberline {3.1.1}Downloading and installing on Windows}{18}% \contentsline {subsection}{\numberline {3.1.2}Downloading and installing on GNU/Linux Ubuntu}{19}% -\contentsline {subsection}{\numberline {3.1.3}Arduino Development Environment}{21}% -\contentsline {subsection}{\numberline {3.1.4}Testing Arduino with a sample program}{23}% -\contentsline {subsection}{\numberline {3.1.5}Firmware}{24}% +\contentsline {subsection}{\numberline {3.1.3}Arduino Development Environment}{22}% +\contentsline {subsection}{\numberline {3.1.4}Testing Arduino with a sample program}{24}% +\contentsline {subsection}{\numberline {3.1.5}Firmware}{25}% \contentsline {section}{\numberline {3.2}Scilab}{25}% -\contentsline {subsection}{\numberline {3.2.1}Downloading and installing Scilab}{25}% +\contentsline {subsection}{\numberline {3.2.1}Downloading and installing Scilab}{26}% \contentsline {subsection}{\numberline {3.2.2}Scilab Arduino toolbox}{26}% -\contentsline {subsection}{\numberline {3.2.3}Identifying Arduino communication port number}{28}% -\contentsline {subsection}{\numberline {3.2.4}Testing Scilab-Arduino toolbox}{30}% -\contentsline {subsection}{\numberline {3.2.5}Firmware}{33}% -\contentsline {section}{\numberline {3.3}Xcos}{34}% +\contentsline {subsection}{\numberline {3.2.3}Identifying Arduino communication port number}{29}% +\contentsline {subsection}{\numberline {3.2.4}Testing Scilab-Arduino toolbox}{31}% +\contentsline {subsection}{\numberline {3.2.5}Firmware}{34}% +\contentsline {section}{\numberline {3.3}Xcos}{35}% \contentsline {subsection}{\numberline {3.3.1}Downloading, installing and testing}{35}% -\contentsline {subsection}{\numberline {3.3.2}Use case}{36}% +\contentsline {subsection}{\numberline {3.3.2}Use case}{35}% \contentsline {subsection}{\numberline {3.3.3}Xcos-Arduino}{39}% \contentsline {section}{\numberline {3.4}Python}{40}% \contentsline {subsection}{\numberline {3.4.1}Downloading and installing Python}{41}% @@ -45,160 +45,160 @@ \contentsline {section}{\numberline {3.5}Julia}{43}% \contentsline {subsection}{\numberline {3.5.1}Downloading and installing Julia}{43}% \contentsline {subsection}{\numberline {3.5.2}Downloading and installing Juno IDE}{44}% -\contentsline {subsection}{\numberline {3.5.3}Julia Arduino toolbox}{45}% -\contentsline {subsection}{\numberline {3.5.4}Using the serial port package}{46}% -\contentsline {subsection}{\numberline {3.5.5}Firmware}{47}% +\contentsline {subsection}{\numberline {3.5.3}Julia Arduino toolbox}{46}% +\contentsline {subsection}{\numberline {3.5.4}Using the serial port package}{47}% +\contentsline {subsection}{\numberline {3.5.5}Firmware}{48}% \contentsline {section}{\numberline {3.6}OpenModelica}{48}% \contentsline {subsection}{\numberline {3.6.1}Downloading and installing OpenModelica}{48}% -\contentsline {subsection}{\numberline {3.6.2}Executing OpenModelica}{48}% -\contentsline {subsection}{\numberline {3.6.3}OpenModelica Arduino toolbox}{49}% -\contentsline {subsection}{\numberline {3.6.4}Firmware}{49}% -\contentsline {chapter}{\numberline {4}Interfacing a Light Emitting Diode}{51}% -\contentsline {section}{\numberline {4.1}Preliminaries}{51}% -\contentsline {section}{\numberline {4.2}Connecting an RGB LED with Arduino Uno\ using a breadboard}{53}% -\contentsline {section}{\numberline {4.3}Lighting the LED from the Arduino IDE}{54}% -\contentsline {subsection}{\numberline {4.3.1}Lighting the LED}{54}% -\contentsline {paragraph}{Note:}{55}% -\contentsline {paragraph}{Note:}{55}% -\contentsline {subsection}{\numberline {4.3.2}Arduino Code}{56}% -\contentsline {section}{\numberline {4.4}Lighting the LED from Scilab}{58}% -\contentsline {subsection}{\numberline {4.4.1}Lighting the LED}{58}% -\contentsline {subsection}{\numberline {4.4.2}Scilab Code}{59}% -\contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{60}% -\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{65}% -\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{65}% -\contentsline {subsection}{\numberline {4.6.2}Python Code}{68}% -\contentsline {section}{\numberline {4.7}Lighting the LED from Julia}{71}% -\contentsline {subsection}{\numberline {4.7.1}Lighting the LED}{71}% -\contentsline {subsection}{\numberline {4.7.2}Julia Code}{73}% -\contentsline {section}{\numberline {4.8}Lighting the LED from OpenModelica}{74}% -\contentsline {subsection}{\numberline {4.8.1}Lighting the LED}{74}% -\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{75}% -\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{79}% -\contentsline {section}{\numberline {5.1}Preliminaries}{79}% -\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{79}% -\contentsline {section}{\numberline {5.3}Reading the Pushbutton Status from the Arduino IDE}{80}% -\contentsline {subsection}{\numberline {5.3.1}Reading the Pushbutton Status}{80}% -\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{82}% -\contentsline {section}{\numberline {5.4}Reading the Pushbutton Status from Scilab}{83}% -\contentsline {subsection}{\numberline {5.4.1}Reading the Pushbutton Status}{83}% -\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{84}% -\contentsline {section}{\numberline {5.5}Accessing the Pushbutton from Xcos}{84}% -\contentsline {section}{\numberline {5.6}Reading the Pushbutton Status from Python}{87}% -\contentsline {subsection}{\numberline {5.6.1}Reading the Pushbutton Status}{87}% -\contentsline {subsection}{\numberline {5.6.2}Python Code}{88}% -\contentsline {section}{\numberline {5.7}Reading the Pushbutton Status from Julia}{90}% -\contentsline {subsection}{\numberline {5.7.1}Reading the Pushbutton Status}{90}% -\contentsline {subsection}{\numberline {5.7.2}Julia Code}{90}% -\contentsline {section}{\numberline {5.8}Reading the Pushbutton Status from OpenModelica}{91}% -\contentsline {subsection}{\numberline {5.8.1}Reading the Pushbutton Status}{91}% -\contentsline {subsection}{\numberline {5.8.2}OpenModelica Code}{91}% -\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{95}% -\contentsline {section}{\numberline {6.1}Preliminaries}{95}% -\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{97}% -\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{97}% -\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{97}% -\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{99}% -\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{99}% -\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{99}% -\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{100}% -\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{101}% -\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{103}% -\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{103}% -\contentsline {subsection}{\numberline {6.6.2}Python Code}{105}% -\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{107}% -\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{107}% -\contentsline {subsection}{\numberline {6.7.2}Julia Code}{108}% -\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{108}% -\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{108}% -\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{109}% -\contentsline {chapter}{\numberline {7}Controlling a DC motor}{111}% -\contentsline {section}{\numberline {7.1}Preliminaries}{111}% -\contentsline {section}{\numberline {7.2}Controlling the DC motor from Arduino}{113}% -\contentsline {subsection}{\numberline {7.2.1}Controlling the DC motor}{113}% -\contentsline {subsection}{\numberline {7.2.2}Arduino Code}{115}% -\contentsline {section}{\numberline {7.3}Controlling the DC motor from Scilab}{116}% -\contentsline {subsection}{\numberline {7.3.1}Initialization}{116}% -\contentsline {subsection}{\numberline {7.3.2}Rotation for a specified time}{117}% -\contentsline {subsection}{\numberline {7.3.3}Using the capabilities of Scilab}{118}% -\contentsline {subsection}{\numberline {7.3.4}Scilab Code}{119}% -\contentsline {section}{\numberline {7.4}Controlling the DC Motor from Xcos}{120}% -\contentsline {section}{\numberline {7.5}Controlling the DC Motor from Python}{123}% -\contentsline {subsection}{\numberline {7.5.1}Controlling the DC Motor}{123}% -\contentsline {subsection}{\numberline {7.5.2}Python Code}{125}% -\contentsline {section}{\numberline {7.6}Controlling the DC Motor from Julia}{128}% -\contentsline {subsection}{\numberline {7.6.1}Controlling the DC Motor}{128}% -\contentsline {subsection}{\numberline {7.6.2}Julia Code}{128}% -\contentsline {section}{\numberline {7.7}Controlling the DC Motor from OpenModelica}{129}% -\contentsline {subsection}{\numberline {7.7.1}Controlling the DC Motor}{129}% -\contentsline {subsection}{\numberline {7.7.2}OpenModelica Code}{130}% -\contentsline {chapter}{\numberline {8}Interfacing a Potentiometer}{133}% -\contentsline {section}{\numberline {8.1}Preliminaries}{133}% -\contentsline {section}{\numberline {8.2}Reading the potentiometer from the Arduino IDE}{134}% -\contentsline {subsection}{\numberline {8.2.1}Reading the potentiometer}{134}% -\contentsline {subsection}{\numberline {8.2.2}Arduino Code}{135}% -\contentsline {section}{\numberline {8.3}Reading the potentiometer from Scilab}{136}% -\contentsline {subsection}{\numberline {8.3.1}Reading the potentiometer}{136}% -\contentsline {subsection}{\numberline {8.3.2}Scilab Code}{137}% -\contentsline {section}{\numberline {8.4}Reading the potentiometer from Xcos}{137}% -\contentsline {paragraph}{Exercise:}{138}% -\contentsline {section}{\numberline {8.5}Reading the potentiometer from Python}{138}% -\contentsline {subsection}{\numberline {8.5.1}Reading the potentiometer}{138}% -\contentsline {subsection}{\numberline {8.5.2}Python Code}{140}% -\contentsline {section}{\numberline {8.6}Reading the potentiometer from Julia}{141}% -\contentsline {subsection}{\numberline {8.6.1}Reading the potentiometer}{141}% -\contentsline {subsection}{\numberline {8.6.2}Julia Code}{142}% -\contentsline {section}{\numberline {8.7}Reading the potentiometer from OpenModelica}{142}% -\contentsline {subsection}{\numberline {8.7.1}Reading the potentiometer}{142}% -\contentsline {subsection}{\numberline {8.7.2}OpenModelica Code}{143}% -\contentsline {chapter}{\numberline {9}Interfacing a Thermistor}{145}% -\contentsline {section}{\numberline {9.1}Preliminaries}{145}% -\contentsline {section}{\numberline {9.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{146}% -\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from the Arduino IDE}{147}% -\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{147}% -\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{148}% -\contentsline {section}{\numberline {9.4}Interfacing the Thermistor from Scilab}{150}% -\contentsline {subsection}{\numberline {9.4.1}Interfacing the Thermistor}{150}% -\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{151}% -\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Xcos}{152}% -\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Python}{154}% -\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{154}% -\contentsline {subsection}{\numberline {9.6.2}Python Code}{156}% -\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from Julia}{158}% -\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{158}% -\contentsline {subsection}{\numberline {9.7.2}Julia Code}{158}% -\contentsline {section}{\numberline {9.8}Interfacing the Thermistor from OpenModelica}{159}% -\contentsline {subsection}{\numberline {9.8.1}Interfacing the Thermistor}{159}% -\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{160}% -\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{163}% -\contentsline {section}{\numberline {10.1}Preliminaries}{163}% -\contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{164}% -\contentsline {subsection}{\numberline {10.2.1}Controlling the Servometer}{164}% -\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{165}% -\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{167}% -\contentsline {subsection}{\numberline {10.3.1}Controlling the Servomotor}{167}% -\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{168}% -\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{169}% -\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{174}% -\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{174}% -\contentsline {subsection}{\numberline {10.5.2}Python Code}{175}% -\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{179}% -\contentsline {subsection}{\numberline {10.6.1}Controlling the Servomotor}{179}% -\contentsline {subsection}{\numberline {10.6.2}Julia Code}{180}% -\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{181}% -\contentsline {subsection}{\numberline {10.7.1}Controlling the Servomotor}{181}% -\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{182}% -\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{187}% -\contentsline {section}{\numberline {11.1}Preliminaries}{187}% -\contentsline {section}{\numberline {11.2}Objective}{192}% -\contentsline {section}{\numberline {11.3}Energy Meter set up for Modbus protocol with Arduino Uno}{192}% -\contentsline {section}{\numberline {11.4}Software}{193}% -\contentsline {section}{\numberline {11.5}Output}{194}% -\contentsline {section}{\numberline {11.6}Reading Parameters from Xcos}{196}% -\contentsline {section}{\numberline {11.7}Code}{199}% -\contentsline {subsection}{\numberline {11.7.1}Arduino Code}{199}% -\contentsline {subsection}{\numberline {11.7.2}Scilab Code}{201}% -\contentsline {subsection}{\numberline {11.7.3}Python Code}{202}% -\contentsline {subsection}{\numberline {11.7.4}Julia Code}{203}% -\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{204}% -\contentsline {chapter}{\numberline {References}}{207}% +\contentsline {subsection}{\numberline {3.6.2}Simulating models in OpenModelica}{49}% +\contentsline {subsection}{\numberline {3.6.3}OpenModelica Arduino toolbox}{52}% +\contentsline {subsection}{\numberline {3.6.4}Firmware}{53}% +\contentsline {chapter}{\numberline {4}Interfacing a Light Emitting Diode}{55}% +\contentsline {section}{\numberline {4.1}Preliminaries}{55}% +\contentsline {section}{\numberline {4.2}Connecting an RGB LED with Arduino Uno\ using a breadboard}{57}% +\contentsline {section}{\numberline {4.3}Lighting the LED from the Arduino IDE}{58}% +\contentsline {subsection}{\numberline {4.3.1}Lighting the LED}{58}% +\contentsline {paragraph}{Note:}{59}% +\contentsline {paragraph}{Note:}{59}% +\contentsline {subsection}{\numberline {4.3.2}Arduino Code}{60}% +\contentsline {section}{\numberline {4.4}Lighting the LED from Scilab}{62}% +\contentsline {subsection}{\numberline {4.4.1}Lighting the LED}{62}% +\contentsline {subsection}{\numberline {4.4.2}Scilab Code}{63}% +\contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{64}% +\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{69}% +\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{69}% +\contentsline {subsection}{\numberline {4.6.2}Python Code}{72}% +\contentsline {section}{\numberline {4.7}Lighting the LED from Julia}{75}% +\contentsline {subsection}{\numberline {4.7.1}Lighting the LED}{75}% +\contentsline {subsection}{\numberline {4.7.2}Julia Code}{77}% +\contentsline {section}{\numberline {4.8}Lighting the LED from OpenModelica}{78}% +\contentsline {subsection}{\numberline {4.8.1}Lighting the LED}{78}% +\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{79}% +\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{83}% +\contentsline {section}{\numberline {5.1}Preliminaries}{83}% +\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{83}% +\contentsline {section}{\numberline {5.3}Reading the Pushbutton Status from the Arduino IDE}{84}% +\contentsline {subsection}{\numberline {5.3.1}Reading the Pushbutton Status}{84}% +\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{86}% +\contentsline {section}{\numberline {5.4}Reading the Pushbutton Status from Scilab}{87}% +\contentsline {subsection}{\numberline {5.4.1}Reading the Pushbutton Status}{87}% +\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{88}% +\contentsline {section}{\numberline {5.5}Accessing the Pushbutton from Xcos}{88}% +\contentsline {section}{\numberline {5.6}Reading the Pushbutton Status from Python}{91}% +\contentsline {subsection}{\numberline {5.6.1}Reading the Pushbutton Status}{91}% +\contentsline {subsection}{\numberline {5.6.2}Python Code}{92}% +\contentsline {section}{\numberline {5.7}Reading the Pushbutton Status from Julia}{94}% +\contentsline {subsection}{\numberline {5.7.1}Reading the Pushbutton Status}{94}% +\contentsline {subsection}{\numberline {5.7.2}Julia Code}{94}% +\contentsline {section}{\numberline {5.8}Reading the Pushbutton Status from OpenModelica}{95}% +\contentsline {subsection}{\numberline {5.8.1}Reading the Pushbutton Status}{95}% +\contentsline {subsection}{\numberline {5.8.2}OpenModelica Code}{95}% +\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{99}% +\contentsline {section}{\numberline {6.1}Preliminaries}{99}% +\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{101}% +\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{101}% +\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{101}% +\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{103}% +\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{103}% +\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{103}% +\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{104}% +\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{105}% +\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{107}% +\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{107}% +\contentsline {subsection}{\numberline {6.6.2}Python Code}{109}% +\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{111}% +\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{111}% +\contentsline {subsection}{\numberline {6.7.2}Julia Code}{112}% +\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{112}% +\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{112}% +\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{113}% +\contentsline {chapter}{\numberline {7}Controlling a DC motor}{115}% +\contentsline {section}{\numberline {7.1}Preliminaries}{115}% +\contentsline {section}{\numberline {7.2}Controlling the DC motor from Arduino}{117}% +\contentsline {subsection}{\numberline {7.2.1}Controlling the DC motor}{117}% +\contentsline {subsection}{\numberline {7.2.2}Arduino Code}{119}% +\contentsline {section}{\numberline {7.3}Controlling the DC motor from Scilab}{120}% +\contentsline {subsection}{\numberline {7.3.1}Initialization}{120}% +\contentsline {subsection}{\numberline {7.3.2}Rotation for a specified time}{121}% +\contentsline {subsection}{\numberline {7.3.3}Using the capabilities of Scilab}{122}% +\contentsline {subsection}{\numberline {7.3.4}Scilab Code}{123}% +\contentsline {section}{\numberline {7.4}Controlling the DC Motor from Xcos}{124}% +\contentsline {section}{\numberline {7.5}Controlling the DC Motor from Python}{127}% +\contentsline {subsection}{\numberline {7.5.1}Controlling the DC Motor}{127}% +\contentsline {subsection}{\numberline {7.5.2}Python Code}{129}% +\contentsline {section}{\numberline {7.6}Controlling the DC Motor from Julia}{132}% +\contentsline {subsection}{\numberline {7.6.1}Controlling the DC Motor}{132}% +\contentsline {subsection}{\numberline {7.6.2}Julia Code}{132}% +\contentsline {section}{\numberline {7.7}Controlling the DC Motor from OpenModelica}{133}% +\contentsline {subsection}{\numberline {7.7.1}Controlling the DC Motor}{133}% +\contentsline {subsection}{\numberline {7.7.2}OpenModelica Code}{134}% +\contentsline {chapter}{\numberline {8}Interfacing a Potentiometer}{137}% +\contentsline {section}{\numberline {8.1}Preliminaries}{137}% +\contentsline {section}{\numberline {8.2}Reading the potentiometer from the Arduino IDE}{138}% +\contentsline {subsection}{\numberline {8.2.1}Reading the potentiometer}{138}% +\contentsline {subsection}{\numberline {8.2.2}Arduino Code}{139}% +\contentsline {section}{\numberline {8.3}Reading the potentiometer from Scilab}{140}% +\contentsline {subsection}{\numberline {8.3.1}Reading the potentiometer}{140}% +\contentsline {subsection}{\numberline {8.3.2}Scilab Code}{141}% +\contentsline {section}{\numberline {8.4}Reading the potentiometer from Xcos}{141}% +\contentsline {paragraph}{Exercise:}{142}% +\contentsline {section}{\numberline {8.5}Reading the potentiometer from Python}{142}% +\contentsline {subsection}{\numberline {8.5.1}Reading the potentiometer}{142}% +\contentsline {subsection}{\numberline {8.5.2}Python Code}{144}% +\contentsline {section}{\numberline {8.6}Reading the potentiometer from Julia}{145}% +\contentsline {subsection}{\numberline {8.6.1}Reading the potentiometer}{145}% +\contentsline {subsection}{\numberline {8.6.2}Julia Code}{146}% +\contentsline {section}{\numberline {8.7}Reading the potentiometer from OpenModelica}{146}% +\contentsline {subsection}{\numberline {8.7.1}Reading the potentiometer}{146}% +\contentsline {subsection}{\numberline {8.7.2}OpenModelica Code}{147}% +\contentsline {chapter}{\numberline {9}Interfacing a Thermistor}{149}% +\contentsline {section}{\numberline {9.1}Preliminaries}{149}% +\contentsline {section}{\numberline {9.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{150}% +\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from the Arduino IDE}{151}% +\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{151}% +\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{152}% +\contentsline {section}{\numberline {9.4}Interfacing the Thermistor from Scilab}{154}% +\contentsline {subsection}{\numberline {9.4.1}Interfacing the Thermistor}{154}% +\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{155}% +\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Xcos}{156}% +\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Python}{158}% +\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{158}% +\contentsline {subsection}{\numberline {9.6.2}Python Code}{160}% +\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from Julia}{162}% +\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{162}% +\contentsline {subsection}{\numberline {9.7.2}Julia Code}{162}% +\contentsline {section}{\numberline {9.8}Interfacing the Thermistor from OpenModelica}{163}% +\contentsline {subsection}{\numberline {9.8.1}Interfacing the Thermistor}{163}% +\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{164}% +\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{167}% +\contentsline {section}{\numberline {10.1}Preliminaries}{167}% +\contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{168}% +\contentsline {subsection}{\numberline {10.2.1}Controlling the Servometer}{168}% +\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{169}% +\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{171}% +\contentsline {subsection}{\numberline {10.3.1}Controlling the Servomotor}{171}% +\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{172}% +\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{173}% +\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{178}% +\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{178}% +\contentsline {subsection}{\numberline {10.5.2}Python Code}{179}% +\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{183}% +\contentsline {subsection}{\numberline {10.6.1}Controlling the Servomotor}{183}% +\contentsline {subsection}{\numberline {10.6.2}Julia Code}{184}% +\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{185}% +\contentsline {subsection}{\numberline {10.7.1}Controlling the Servomotor}{185}% +\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{186}% +\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{191}% +\contentsline {section}{\numberline {11.1}Preliminaries}{191}% +\contentsline {section}{\numberline {11.2}Objective}{196}% +\contentsline {section}{\numberline {11.3}Energy Meter set up for Modbus protocol with Arduino Uno}{196}% +\contentsline {section}{\numberline {11.4}Software}{197}% +\contentsline {section}{\numberline {11.5}Output}{198}% +\contentsline {section}{\numberline {11.6}Reading Parameters from Xcos}{200}% +\contentsline {section}{\numberline {11.7}Code}{203}% +\contentsline {subsection}{\numberline {11.7.1}Arduino Code}{203}% +\contentsline {subsection}{\numberline {11.7.2}Scilab Code}{205}% +\contentsline {subsection}{\numberline {11.7.3}Python Code}{206}% +\contentsline {subsection}{\numberline {11.7.4}Julia Code}{207}% +\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{208}% +\contentsline {chapter}{\numberline {References}}{211}% diff --git a/user-code/sw-env/figures/OMEdit-UI.png b/user-code/sw-env/figures/OMEdit-UI.png Binary files differnew file mode 100644 index 0000000..b46638a --- /dev/null +++ b/user-code/sw-env/figures/OMEdit-UI.png diff --git a/user-code/sw-env/figures/OMEdit-libraries.png b/user-code/sw-env/figures/OMEdit-libraries.png Binary files differnew file mode 100644 index 0000000..b33d722 --- /dev/null +++ b/user-code/sw-env/figures/OMEdit-libraries.png diff --git a/user-code/sw-env/figures/launch-arduino-opt.png b/user-code/sw-env/figures/launch-arduino-opt.png Binary files differnew file mode 100644 index 0000000..773b30c --- /dev/null +++ b/user-code/sw-env/figures/launch-arduino-opt.png diff --git a/user-code/sw-env/figures/om-libraries-brow.png b/user-code/sw-env/figures/om-libraries-brow.png Binary files differnew file mode 100644 index 0000000..089b81c --- /dev/null +++ b/user-code/sw-env/figures/om-libraries-brow.png diff --git a/user-code/sw-env/figures/om-modeling.png b/user-code/sw-env/figures/om-modeling.png Binary files differnew file mode 100644 index 0000000..b39f9b4 --- /dev/null +++ b/user-code/sw-env/figures/om-modeling.png diff --git a/user-code/sw-env/figures/om-sim-success.png b/user-code/sw-env/figures/om-sim-success.png Binary files differnew file mode 100644 index 0000000..7e11f90 --- /dev/null +++ b/user-code/sw-env/figures/om-sim-success.png diff --git a/user-code/sw-env/figures/om-text-view.png b/user-code/sw-env/figures/om-text-view.png Binary files differnew file mode 100644 index 0000000..1278a1b --- /dev/null +++ b/user-code/sw-env/figures/om-text-view.png diff --git a/user-code/sw-env/sw-env.tex b/user-code/sw-env/sw-env.tex index 9126212..6a10730 100644 --- a/user-code/sw-env/sw-env.tex +++ b/user-code/sw-env/sw-env.tex @@ -124,8 +124,8 @@ above. Then carry out the following: \begin{enumerate}
\setcounter{enumi}2
- \item First, update your system. Open the terminal emulator, type,
- {\tt sudo apt-get update} and press Enter.
+ \item First, update your system. Open the terminal emulator, type,
+ {\tt sudo apt-get update} and press Enter.
\item Find out your operating system support for 64-bit
instructions. Open the terminal emulator and type, {\tt uname -m}
\item If it returns ``x86\_64'', then your computer has 64-bit
@@ -141,7 +141,7 @@ above. Then carry out the following: steps on the terminal:
\begin{quote}
{\tt cd {\large\textasciitilde}/Downloads\\
- tar -xvf arduino-1.8.13-linux64.tar.xz\\
+ tar -xvf arduino-1.8.13-linux64.tar.xz\\
sudo mv arduino-1.8.13 /opt}
\end{quote}
@@ -190,7 +190,14 @@ The Arduino IDE is now ready for use. There are chances that you might not get the Arduino shortcut on your Desktop after executing the commands given in
steps numbered \ref{itm:create-shortcut} and \ref{itm:give-permission}.
In that case, you can navigate into the {\tt /opt/} directory and execute the
-commands as given in Fig. to start the Arduino IDE.
+commands as given in \figref{arduino-opt} to start the Arduino IDE.
+
+\begin{figure}
+ \centering
+ \includegraphics[width=\lgfig]{\LocSWfig/launch-arduino-opt.png}
+ \caption{Linux terminal to launch Arduino IDE}
+ \label{arduino-opt}
+\end{figure}
\subsection{Arduino Development Environment}
@@ -651,8 +658,8 @@ properly installed. That code is listed below. \begin{scicode}
\ccaption{A Scilab code to check whether the firmware is
- properly installed or not}{A Scilab code to check whether the
- firmware is properly installed or not. Available at
+ properly installed or not}{A Scilab code to check whether the
+ firmware is properly installed or not. Available at
\LocSWchkbrief{test\_firmware.sce}. Execute this code
by following the steps given in section
\ref{sec:testing-scilab-arduino}.}
@@ -897,7 +904,7 @@ command {\tt sudo apt-get update}. Next, install Python3.5 by executing the comm {\tt sudo apt-get install python3.5}\\
Now, we will install Python Serial Port Extension by executing the commands given below:\\
{\tt sudo apt-get install python3-pip \\
-pip3 install pyserial}.
+pip3 install pyserial}
To execute a Python code (or script) on Linux, one should
navigate the terminal to the directory where the script is located using the {\tt cd} command.
@@ -906,26 +913,26 @@ Next, type {\tt python3 SCRIPTNAME.py} in the terminal to execute the script. % \begin{enumerate}
% \item On Ubuntu, Python can be installed from the command line by typing in the
% following commands:
-
+
% \$ sudo apt-get install python3.5 \\
% This will install python 3.5 as this set of tools are compatible with python3. It also
% works all other versions of python3.
% \$ pip3 install python-serial \\
% This will install serial package required for communicating with Arduino Uno.
% \item 1. On Windows,
-
-
+
+
% Download Windows python compiler Self Extracting Archive (.exe) (32-bit or 64-bit as per your system) from https://www.python.org/downloads/windows/
-
+
% Download Windows pyserial package .exe from https://pypi.python.org/pypi/pyserial/3.4.
% After downloading run the .exe file and follow the instructions.
-
+
% Now that we have Python installed, open the terminal by typing 'Ctrl+Alt+T'.
% Enter the command 'python'. This opens the Python REPL (Read Eval Print Loop).
% Python files have .py extension and .py files can be executed by typing "python3 filename.py"
% on the python terminal. Please visit the link https://github.com/manasdas17/Python3-Arduino for
% the library.
-
+
% \end{enumerate}
\subsection{Firmware}
@@ -1174,51 +1181,127 @@ properly installed. That code is listed below. \section{OpenModelica}
\label{sec:OpenModelica-start}
-OpenModelica is a free and open-source environment based on the Modelica modeling language for simulating, optimizing, and analyzing complex
-dynamic systems. OpenModelica is a powerful tool that can be used to design and
-simulate complete control systems.The toolbox 'OpenModelica-Arduino'
-enables the interfacing of Arduino with OpenModelica by calling a set of c functions
-from OpenModelica.
-
-
+OpenModelica is a free and open-source environment based on the Modelica modeling language
+for simulating, optimizing, and analyzing complex dynamic systems \cite{om-ref}.
+It is a powerful tool that can be used to design and simulate complete control systems.
+% The toolbox 'OpenModelica-Arduino' enables the interfacing of Arduino with OpenModelica by calling a set of c functions from OpenModelica.
+
+
+\subsection{Downloading and installing OpenModelica} \label{OpenModelica-installation}
+OpenModelica can be downloaded free of cost from {\tt https://openmodelica.org/}.
+It is available for all popular operating systems, including Windows, Linux,
+and Mac OS X systems. This book uses OpenModelica 1.17.0 for demonstrating the experiments, both on
+Windows and Linux.
+
+For the Windows system, the downloaded file is an executable (.exe) file. It has to
+be double-clicked to start the installation. All the default parameters of installation
+are acceptable. Once OpenModelica has been installed successfully, OpenModelica
+Connection Editor (OMEdit) can be launched either from the Start menu or by double-clicking on the OMEdit icon created on the Desktop (if any).
+
+On Linux, we can install OpenModelica from the terminal. The readers are advised to visit
+{\tt https://openmodelica.org/download/download-linux} and follow the instructions for installing OpenModelica.
+We recommend the readers should install the latest stable version of OpenModelica.
+Once OpenModelica has been installed successfully, OpenModelica Connection Editor (OMEdit) can be launched
+from the terminal. Open a terminal by pressing Alt+Ctrl+T and type OMEdit. When you
+launch OMEdit for the first time, you might get a notification for setting up
+Modelica Standard Library version, as shown in \figref{om-help}. Here, you
+should choose the option "Load MSL v3.2.3" and click OK.
+\begin{figure}
+ \centering
+ \includegraphics[width=\lgfig]{\LocSWfig/OMEdit-libraries.png}
+ \caption{Setup of Modelica Standard Library version}
+ \label{om-help}
+\end{figure}
-\subsection{Downloading and installing OpenModelica}\label{OpenModelica-installation}
-On Ubuntu, OpenModelica can be installed from the command line by typing in the
-following commands:
-\$ for deb in deb deb-src; do echo "$deb http://build.openmodelica.org/apt $'lsb\_release -cs'$ stable$"; done | sudo tee /etc/apt/sources.list.d/openmodelica.list \\
-\$ wget -q http://build.openmodelica.org/apt/openmodelica.asc -O- | sudo apt-key add - \\
-\$ apt-key fingerprint
-\$ sudo apt-get update \\
-\$ sudo apt-get install openmodelica \\
-\$ sudo apt install omlib-.* \\
-On Windows,
-download Windows Self Extracting Archive (.exe) (32-bit or 64-bit as per your system) from https://openmodelica.org/download/download-windows. Run the .exe file and follow the instructions to complete the
-installation.
+\subsection{Simulating models in OpenModelica}\label{OpenModelica-code-execution}
+Once you launch OMEdit, you should expect a user interface,
+as shown in \figref{om-ui}. In the bottom right of \figref{om-ui}, we can
+see that there are four different tabs - Welcome, Modeling, Plotting, and
+Debugging. In the language of OpenModelica, we call these tabs Perspectives.
+By default, OMEdit gets launched in the Welcome Perspective.
+The Welcome Perspective shows the list of recent files and the list of the
+latest news from {\tt https://www.openmodelica.org}.
+The Modeling Perpective provides the
+interface where users can create and design their models.
+The Plotting Perspective shows the simulation results of the models.
+Plotting Perspective will automatically become active
+when the simulation of the model is finished successfully.
+The application automatically switches to Debugging Perspective
+when the user simulates the class with an algorithmic debugger \cite{om-ref}. The readers
+are advised to visit {\tt https://openmodelica.org/} to know more about OMEdit. Apart
+from this, the readers should watch the tutorials on
+OpenModelica provided on {\tt https://spoken-tutorial.org/}. Ideally, one should
+go through all the tutorials labeled as Basic. However, we strongly recommend the readers should watch the second and third tutorials, i.e.,
+Introduction to OMEdit and Examples through OMEdit.
+
+In the left of \figref{om-ui}, there is Libraries Browser below which you can view
+the list of libraries loaded in your current session of OMEdit. By default, OMEdit
+comes with a few default libraries, like Modelica, ModelicaReference, etc., as shown in
+\figref{om-ui}. These default libraries might not be visible if you have not set up the
+Modelica Standard Library version, as given in \figref{om-help}.
+\begin{figure}
+ \centering
+ \includegraphics[width=\lgfig]{\LocSWfig/OMEdit-UI.png}
+ \caption{User Interface of OMEdit (OpenModelica Connection Editor)}
+ \label{om-ui}
+\end{figure}
-%This process is illustrated in
-%\figref{linux-cd}.
-%\begin{figure}
-%\centering
-%\includegraphics[scale=0.5]{\LocSWfig/linux-cd.png}
-%\caption{Linux terminal to launch Scilab}
-%\label{linux-cd}
-%\end{figure}
+For our experiments, we will use Modeling Perspective mainly. In this perspective, there
+are four different views of a model: Icon View, Diagram View, Text View,
+and Documentation View. All these views have been highlighted in Fig.
+By default, OMEdit opens any model in Diagram View. Hence, the models
+having code in text format won't be visible by defalt in Modeling
+perspective. To see the code in text format, we need to open the model in
+Text View. For our experiments, we will use Text view mainly.
+
+The files or models in OpenModelica have `.mo' extensions. Though there are several ways to simulate or run
+an OpenModelica model, we will execute the models by utilizing the user interface of OMEdit. To open
+a model in OMEdit, go to the menu bar of OMEdit and click on File -> Open Model/Library File(s). Then,
+select the desired model (with `.mo' extension) and click Open. The names of tabs in
+this book have been mentioned according to OpenModelica 1.17.0. You might observe a bit
+of difference in these names while working with other versions of OpenModelica.
-\subsection{Executing OpenModelica}\label{OpenModelica-code-execution}
-OpenModelica filenames have the extension '.mo' . There are several ways to run an OpenModelica file.
-But in our case, we will execute the code by OMEdit.
+\begin{figure}
+ \centering
+ \includegraphics[width=\lgfig]{\LocSWfig/om-Modeling.png}
+ \caption{Opening a model in OMEdit (OpenModelica Connection Editor)}
+ \label{om-modeling}
+\end{figure}
-\begin{itemize}
- \item On Ubuntu systems by pressing 'Ctrl$+$Alt$+$T', a new terminal will come up.
- \item Then type 'OMEdit' to start the OMEdit connection editor. On Windows, OMEdit can be started by clicking on the 'OMEdit Connection Editor' icon.
- \item Now from File -> Load Model/Libray File(s) browse to the folder having files having .mo extensions and open it on the OMEdit Editor.
- \item But as OMEdit is a graphical editor so at the first instance, the texts on the code won't be visible on it.
- \item To see the codes, click on the 'Text View' icon.
-\end{itemize}
+\begin{figure}
+ \centering
+ \includegraphics[width=\lgfig]{\LocSWfig/om-text-view.png}
+ \caption{User Interface of OMEdit (OpenModelica Connection Editor)}
+ \label{om-text-view}
+\end{figure}
+Once you have opened the model in OMEdit, that model should appear under the Libraries
+browser, as shown in \figref{om-ui}. To simulate that model, you need to
+double-click on the model. It will open the model in Modeling perspective with a Diagram View, as shown
+in the \figref{om-modeling}. To view the code written for this model,
+we need click on Text View, as shown in Fig. In Text view, the code is now visible, as
+shown in \figref{om-text-view}. Now, one can modify the model as per the requirements.
+
+Now, we will see how to simulate this model. For this, we need to ensure that OMEdit
+is in Modeling Perspective. Next, we will click on the green right-sided arrow, named as
+Simulate, as shown in the Fig. When we click on Simulate, OMEdit will first
+compile the model and then, it will simulate the model for the time specified in the model itself.
+As OMEdit provides an elegant user interface for simulating the models,
+it will open an output window the moment you click on Simulate. \figref{om-sim-success}
+shows the output window after the simulation of our model is finished. Also, we can
+observe that the OMEdit is now in Plotting Perspective.
+\begin{figure}
+ \centering
+ \includegraphics[width=\lgfig]{\LocSWfig/om-sim-success.png}
+ \caption{Output window of OMEdit}
+ \label{om-sim-success}
+\end{figure}
+As shown in \figref{om-sim-success}, OMEdit displays the message that "The
+Simulation finished successfully". Had there been any error in simulating the model,
+we would not have received this message.
\subsection{OpenModelica Arduino toolbox}
@@ -1426,7 +1509,7 @@ But in our case, we will execute the code by OMEdit. %% \lstset{style=mystyle}
%% \label{sec:hw-arduino}
%% \addtocontents{ard}{\protect\addvspace{\codclr}}
-
+
%python code
%%%%%%%%%end python code
|