diff options
author | SudhakarKuma | 2021-04-22 08:24:30 +0530 |
---|---|---|
committer | SudhakarKuma | 2021-04-22 08:24:30 +0530 |
commit | bd47fcd0ce51d439304442b91e9353f02574d6cf (patch) | |
tree | 1fd4ba501fffeb9a1c794924969e4526fac13237 | |
parent | 1266f55c37a1f92576792cb5e8acfb57e37b6fc8 (diff) | |
download | FLOSS-Arduino-Book-bd47fcd0ce51d439304442b91e9353f02574d6cf.tar.gz FLOSS-Arduino-Book-bd47fcd0ce51d439304442b91e9353f02574d6cf.tar.bz2 FLOSS-Arduino-Book-bd47fcd0ce51d439304442b91e9353f02574d6cf.zip |
Add Python on Windows
25 files changed, 2576 insertions, 2337 deletions
diff --git a/Python3-Arduino-master/Examples/test_firmware.py b/Python3-Arduino-master/Examples/test_firmware.py index f84a5ae..22e0bcf 100644 --- a/Python3-Arduino-master/Examples/test_firmware.py +++ b/Python3-Arduino-master/Examples/test_firmware.py @@ -16,11 +16,12 @@ class TEST_FIRMWARE: self.exit() def setup(self): - self.obj_arduino = Arduino() - self.port = self.obj_arduino.locateport() - self.obj_arduino.open_serial(1, self.port,self.baudrate) + self.obj_arduino=Arduino() + self.port=self.obj_arduino.locateport() + self.obj_arduino.open_serial(1,self.port,self.baudrate) def run(self): + self.obj_arduino.checkfirmware() def exit(self): diff --git a/bibliography.bib b/bibliography.bib index 8ed84c7..7e9da42 100644 --- a/bibliography.bib +++ b/bibliography.bib @@ -196,3 +196,14 @@ note = {Seen on 15 April 2021}, OPTannote = {} } +@Misc{pySerial, +OPTkey = {}, +author = {}, +title = {pyserial - PyPi}, +howpublished = {https://pypi.org/project/pyserial/}, +OPTmonth = {}, +year = {}, +note = {Seen on 21 April 2021}, +OPTannote = {} +} + diff --git a/floss-arduino.OpenModelicad b/floss-arduino.OpenModelicad index 307e3b4..8aed129 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}{56}% +\contentsline {section}{\numberline {3.{1}}An OpenModelica code to check whether the firmware is properly installed or not}{60}% \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the LED}{81}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{81}% -\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{82}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{83}% +\contentsline {section}{\numberline {4.{1}}Turning on the LED}{85}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{85}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{86}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{87}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{98}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{99}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{102}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{103}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{116}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{117}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{120}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{121}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{138}% -\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{138}% -\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{139}% +\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{142}% +\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{142}% +\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{143}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{152}% +\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{156}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{171}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{172}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{175}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{176}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{192}% -\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{193}% -\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{194}% -\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{194}% +\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{196}% +\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{197}% +\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{198}% +\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{198}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{214}% -\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{214}% -\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{215}% +\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{218}% +\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{218}% +\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{219}% diff --git a/floss-arduino.ard b/floss-arduino.ard index 0db6960..5e1babe 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}{25}% \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{62}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{62}% -\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{63}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{63}% +\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{66}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{66}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{67}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{67}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{89}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{89}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{93}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{93}% \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}{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}% +\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{127}% +\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{127}% +\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{127}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{144}% +\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{148}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{159}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{160}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{163}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{164}% \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 increments}{176}% -\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{177}% +\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 increments}{180}% +\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{181}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{209}% +\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{213}% diff --git a/floss-arduino.aux b/floss-arduino.aux index fa2d18c..cae6364 100644 --- a/floss-arduino.aux +++ b/floss-arduino.aux @@ -95,1404 +95,1417 @@ \@writefile{lof}{\contentsline {figure}{\numberline {3.1}{\ignorespaces Windows device manager\relax }}{19}\protected@file@percent } \newlabel{win-device-manager}{{3.1}{19}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.1.2}Downloading and installing on GNU/Linux Ubuntu}{19}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {3.2}{\ignorespaces Windows update driver option\relax }}{20}\protected@file@percent } -\newlabel{win-dri-update}{{3.2}{20}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.2}{\ignorespaces Windows device manager\relax }}{20}\protected@file@percent } +\newlabel{win-device-manager-com}{{3.2}{20}} \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}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.3}{\ignorespaces Windows update driver option\relax }}{21}\protected@file@percent } +\newlabel{win-dri-update}{{3.3}{21}} \newlabel{itm:port-access}{{10}{21}} \newlabel{itm:create-shortcut}{{11}{21}} \newlabel{itm:give-permission}{{12}{21}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.5}{\ignorespaces Arduino IDE\relax }}{22}\protected@file@percent } -\newlabel{ard-ide}{{3.5}{22}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.4}{\ignorespaces Confirmation for executing Arduino script\relax }}{22}\protected@file@percent } +\newlabel{ard-lin-run}{{3.4}{22}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.5}{\ignorespaces Linux terminal to launch Arduino IDE\relax }}{22}\protected@file@percent } +\newlabel{arduino-opt}{{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{lof}{\contentsline {figure}{\numberline {3.6}{\ignorespaces Arduino IDE\relax }}{23}\protected@file@percent } +\newlabel{ard-ide}{{3.6}{23}} \@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{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 } -\@writefile{lof}{\contentsline {figure}{\numberline {3.7}{\ignorespaces Changing scilab directory\relax }}{27}\protected@file@percent } -\newlabel{scilab-cd}{{3.7}{27}} +\citation{scilab-ref} +\citation{scilab-interop} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/tools/arduino-firmware/arduino\textendash firmware.ino}{26}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {3.2}Scilab}{26}\protected@file@percent } +\newlabel{sec:sci-start}{{3.2}{26}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.1}Downloading and installing Scilab\ on Windows}{26}\protected@file@percent } +\newlabel{scilab-installation-windows}{{3.2.1}{26}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.2}Downloading and installing Scilab\ on Linux}{27}\protected@file@percent } +\newlabel{scilab-installation-linux}{{3.2.2}{27}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.3}Scilab Arduino toolbox}{27}\protected@file@percent } \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}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.7}{\ignorespaces Linux terminal to launch Scilab\relax }}{28}\protected@file@percent } +\newlabel{linux-cd}{{3.7}{28}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.8}{\ignorespaces Changing scilab directory\relax }}{29}\protected@file@percent } +\newlabel{scilab-cd}{{3.8}{29}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.4}Identifying Arduino communication port number}{29}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {3.9}{\ignorespaces Browsing toolbox directory\relax }}{30}\protected@file@percent } +\newlabel{scilab-browse}{{3.9}{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{lof}{\contentsline {figure}{\numberline {3.10}{\ignorespaces Output of builder.sce\relax }}{31}\protected@file@percent } +\newlabel{builder}{{3.10}{31}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.5}Testing Scilab-Arduino toolbox}{31}\protected@file@percent } +\newlabel{sec:testing-scilab-arduino}{{3.2.5}{31}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.11}{\ignorespaces Output of loader.sce\relax }}{32}\protected@file@percent } +\newlabel{loader}{{3.11}{32}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.12}{\ignorespaces Device Manager in windows\relax }}{33}\protected@file@percent } +\newlabel{dev-mgr}{{3.12}{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}} +\newlabel{fn:firmware}{{5}{33}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.13}{\ignorespaces COM port properties window\relax }}{34}\protected@file@percent } +\newlabel{com}{{3.13}{34}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.14}{\ignorespaces Port number on Linux terminal\relax }}{34}\protected@file@percent } +\newlabel{linux-port}{{3.14}{34}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.15}{\ignorespaces Scilab test code output\relax }}{35}\protected@file@percent } +\newlabel{test-console}{{3.15}{35}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.16}{\ignorespaces Arduino toolbox functions used in this book\relax }}{35}\protected@file@percent } +\newlabel{func}{{3.16}{35}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.6}Firmware}{35}\protected@file@percent } +\newlabel{sec:test-firmware-scilab}{{3.2.6}{35}} \@writefile{cod}{\addvspace {10pt}} -\@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 } -\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{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 } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{3.{1}}{}}{36}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {3.{1}}A Scilab code to check whether the firmware is properly installed or not}{36}\protected@file@percent } +\newlabel{10@xvr}{{}{36}} +\newlabel{10@vr}{{}{36}} +\newlabel{sci:test-firmware}{{3.{1}}{36}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/tools/test\textunderscore firmware.sce}{36}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {3.3}Xcos}{36}\protected@file@percent } +\newlabel{sec:xcos-start}{{3.3}{36}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.3.1}Downloading, installing and testing}{36}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {3.17}{\ignorespaces Sine generator in palette browser\relax }}{37}\protected@file@percent } +\newlabel{sine-blk}{{3.17}{37}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.3.2}Use case}{37}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {3.18}{\ignorespaces CSCOPE block in xcos\relax }}{38}\protected@file@percent } +\newlabel{plot-blk}{{3.18}{38}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.19}{\ignorespaces CLOCK\_c block in xcos\relax }}{38}\protected@file@percent } +\newlabel{clk-blk}{{3.19}{38}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.20}{\ignorespaces Sine generator in Xcos\relax }}{39}\protected@file@percent } +\newlabel{sine-gen}{{3.20}{39}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.21}{\ignorespaces Sine generator Xcos output\relax }}{39}\protected@file@percent } +\newlabel{sine-output}{{3.21}{39}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.22}{\ignorespaces CSCOPE configuration window\relax }}{40}\protected@file@percent } +\newlabel{cscope-config}{{3.22}{40}} \citation{python-ref} -\@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 } -\newlabel{sec:test-firmware-python}{{3.4.2}{42}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.23}{\ignorespaces Simulation setup window\relax }}{41}\protected@file@percent } +\newlabel{sim-setup}{{3.23}{41}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.24}{\ignorespaces Palette browser showing Arduino blocks\relax }}{41}\protected@file@percent } +\newlabel{arduino-palette}{{3.24}{41}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.3.3}Xcos-Arduino}{41}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {3.25}{\ignorespaces Xcos block help\relax }}{42}\protected@file@percent } +\newlabel{blk-help}{{3.25}{42}} +\@writefile{toc}{\contentsline {section}{\numberline {3.4}Python}{42}\protected@file@percent } +\newlabel{sec:python-start}{{3.4}{42}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.4.1}Downloading and installing on Windows}{42}\protected@file@percent } +\newlabel{python-installation}{{3.4.1}{42}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.26}{\ignorespaces Installing Python 3 on Windows\relax }}{43}\protected@file@percent } +\newlabel{python-windows}{{3.26}{43}} +\citation{pySerial} +\@writefile{lof}{\contentsline {figure}{\numberline {3.27}{\ignorespaces Launching the Command Prompt on Windows\relax }}{44}\protected@file@percent } +\newlabel{windows-run}{{3.27}{44}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.28}{\ignorespaces Command Prompt on Windows\relax }}{44}\protected@file@percent } +\newlabel{windows-cmd}{{3.28}{44}} +\citation{pySerial} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.4.2}Downloading and installing on Linux}{45}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {3.4.3}Firmware}{46}\protected@file@percent } +\newlabel{sec:test-firmware-python}{{3.4.3}{46}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{3.{1}}{}}{42}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {3.{1}}A Python code to check whether the firmware is properly installed or not}{42}\protected@file@percent } -\newlabel{11@xvr}{{}{42}} -\newlabel{11@vr}{{}{42}} -\newlabel{py:test-firmware}{{3.{1}}{42}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{42}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{3.{1}}{}}{46}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {3.{1}}A Python code to check whether the firmware is properly installed or not}{46}\protected@file@percent } +\newlabel{11@xvr}{{}{46}} +\newlabel{11@vr}{{}{46}} +\newlabel{py:test-firmware}{{3.{1}}{46}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{46}\protected@file@percent } \citation{julia-ref} -\@writefile{toc}{\contentsline {section}{\numberline {3.5}Julia}{43}\protected@file@percent } -\newlabel{sec:julia-start}{{3.5}{43}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.1}Downloading and installing Julia}{43}\protected@file@percent } -\newlabel{julia-installation}{{3.5.1}{43}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.25}{\ignorespaces Julia's website to download 64-bit Linux binaries\relax }}{44}\protected@file@percent } -\newlabel{julia-download}{{3.25}{44}} +\@writefile{toc}{\contentsline {section}{\numberline {3.5}Julia}{47}\protected@file@percent } +\newlabel{sec:julia-start}{{3.5}{47}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.1}Downloading and installing Julia}{47}\protected@file@percent } +\newlabel{julia-installation}{{3.5.1}{47}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.29}{\ignorespaces Julia's website to download 64-bit Linux binaries\relax }}{48}\protected@file@percent } +\newlabel{julia-download}{{3.29}{48}} \citation{julia-serial-ports} -\@writefile{lof}{\contentsline {figure}{\numberline {3.26}{\ignorespaces Linux terminal to launch Julia REPL\relax }}{45}\protected@file@percent } -\newlabel{julia-repl}{{3.26}{45}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.27}{\ignorespaces Linux terminal to enter Pkg REPL in Julia\relax }}{46}\protected@file@percent } -\newlabel{julia-pkg}{{3.27}{46}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.2}Executing source files in Julia}{46}\protected@file@percent } -\newlabel{julia-execution}{{3.5.2}{46}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.3}Julia Arduino toolbox}{47}\protected@file@percent } -\newlabel{12@xvr}{{}{47}} -\newlabel{12@vr}{{}{47}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.30}{\ignorespaces Linux terminal to launch Julia REPL\relax }}{49}\protected@file@percent } +\newlabel{julia-repl}{{3.30}{49}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.31}{\ignorespaces Linux terminal to enter Pkg REPL in Julia\relax }}{50}\protected@file@percent } +\newlabel{julia-pkg}{{3.31}{50}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.2}Executing source files in Julia}{50}\protected@file@percent } +\newlabel{julia-execution}{{3.5.2}{50}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.3}Julia Arduino toolbox}{51}\protected@file@percent } +\newlabel{12@xvr}{{}{51}} +\newlabel{12@vr}{{}{51}} \citation{om-ref} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.4}Firmware}{48}\protected@file@percent } -\newlabel{sec:test-firmware-julia}{{3.5.4}{48}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.4}Firmware}{52}\protected@file@percent } +\newlabel{sec:test-firmware-julia}{{3.5.4}{52}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{3.{1}}{}}{48}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {3.{1}}A Julia source file to check whether the firmware is properly installed or not}{48}\protected@file@percent } -\newlabel{13@xvr}{{}{48}} -\newlabel{13@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{thm}{\contentsline {juliamass}{{Julia Code}{3.{1}}{}}{52}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {3.{1}}A Julia source file to check whether the firmware is properly installed or not}{52}\protected@file@percent } +\newlabel{13@xvr}{{}{52}} +\newlabel{13@vr}{{}{52}} +\newlabel{julia:test-firmware}{{3.{1}}{52}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/test\textunderscore firmware.jl}{52}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {3.6}OpenModelica}{52}\protected@file@percent } +\newlabel{sec:OpenModelica-start}{{3.6}{52}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.1}Downloading and installing OpenModelica}{52}\protected@file@percent } +\newlabel{OpenModelica-installation}{{3.6.1}{52}} \citation{om-ref} -\@writefile{lof}{\contentsline {figure}{\numberline {3.28}{\ignorespaces Setup of Modelica Standard Library version\relax }}{49}\protected@file@percent } -\newlabel{om-help}{{3.28}{49}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.2}Simulating models in OpenModelica}{50}\protected@file@percent } -\newlabel{OpenModelica-code-execution}{{3.6.2}{50}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.29}{\ignorespaces User Interface of OMEdit\relax }}{51}\protected@file@percent } -\newlabel{om-ui}{{3.29}{51}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.30}{\ignorespaces Opening a model in OMEdit\relax }}{52}\protected@file@percent } -\newlabel{om-model-open}{{3.30}{52}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.3}OpenModelica Arduino toolbox}{52}\protected@file@percent } -\newlabel{14@xvr}{{}{52}} -\newlabel{14@vr}{{}{52}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.31}{\ignorespaces Opening a model in diagram view in OMEdit\relax }}{53}\protected@file@percent } -\newlabel{om-modeling}{{3.31}{53}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.32}{\ignorespaces Different views of a model in OMEdit\relax }}{53}\protected@file@percent } -\newlabel{om-views}{{3.32}{53}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.33}{\ignorespaces Opening a model in text view in OMEdit\relax }}{54}\protected@file@percent } -\newlabel{om-text-view}{{3.33}{54}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.34}{\ignorespaces Simulating a model in OMEdit\relax }}{54}\protected@file@percent } -\newlabel{om-simulate}{{3.34}{54}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.35}{\ignorespaces Output window of OMEdit\relax }}{55}\protected@file@percent } -\newlabel{om-sim-success}{{3.35}{55}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.4}Firmware}{56}\protected@file@percent } -\newlabel{sec:test-firmware-OpenModelica}{{3.6.4}{56}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.32}{\ignorespaces Setup of Modelica Standard Library version\relax }}{53}\protected@file@percent } +\newlabel{om-help}{{3.32}{53}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.2}Simulating models in OpenModelica}{54}\protected@file@percent } +\newlabel{OpenModelica-code-execution}{{3.6.2}{54}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.33}{\ignorespaces User Interface of OMEdit\relax }}{55}\protected@file@percent } +\newlabel{om-ui}{{3.33}{55}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.34}{\ignorespaces Opening a model in OMEdit\relax }}{56}\protected@file@percent } +\newlabel{om-model-open}{{3.34}{56}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.3}OpenModelica Arduino toolbox}{56}\protected@file@percent } +\newlabel{14@xvr}{{}{56}} +\newlabel{14@vr}{{}{56}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.35}{\ignorespaces Opening a model in diagram view in OMEdit\relax }}{57}\protected@file@percent } +\newlabel{om-modeling}{{3.35}{57}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.36}{\ignorespaces Different views of a model in OMEdit\relax }}{57}\protected@file@percent } +\newlabel{om-views}{{3.36}{57}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.37}{\ignorespaces Opening a model in text view in OMEdit\relax }}{58}\protected@file@percent } +\newlabel{om-text-view}{{3.37}{58}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.38}{\ignorespaces Simulating a model in OMEdit\relax }}{58}\protected@file@percent } +\newlabel{om-simulate}{{3.38}{58}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.39}{\ignorespaces Output window of OMEdit\relax }}{59}\protected@file@percent } +\newlabel{om-sim-success}{{3.39}{59}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.4}Firmware}{60}\protected@file@percent } +\newlabel{sec:test-firmware-OpenModelica}{{3.6.4}{60}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{3.{1}}{}}{56}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {3.{1}}An OpenModelica code to check whether the firmware is properly installed or not}{56}\protected@file@percent } -\newlabel{15@xvr}{{}{56}} -\newlabel{15@vr}{{}{56}} -\newlabel{OpenModelica:test-firmware}{{3.{1}}{56}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/test\textunderscore firmware.mo}{56}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {4}Interfacing a Light Emitting Diode}{57}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{3.{1}}{}}{60}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {3.{1}}An OpenModelica code to check whether the firmware is properly installed or not}{60}\protected@file@percent } +\newlabel{15@xvr}{{}{60}} +\newlabel{15@vr}{{}{60}} +\newlabel{OpenModelica:test-firmware}{{3.{1}}{60}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/test\textunderscore firmware.mo}{60}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {4}Interfacing a Light Emitting Diode}{61}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{led}{{4}{57}} -\@writefile{toc}{\contentsline {section}{\numberline {4.1}Preliminaries}{57}\protected@file@percent } -\newlabel{sec:led-pril}{{4.1}{57}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.1}{\ignorespaces Light Emitting Diode\relax }}{57}\protected@file@percent } -\newlabel{fig:ledsym}{{4.1}{57}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.2}{\ignorespaces Internal connection diagram for LED on the shield\relax }}{58}\protected@file@percent } -\newlabel{fig:ledblock}{{4.2}{58}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.3}{\ignorespaces Connecting Arduino and Shield\relax }}{58}\protected@file@percent } -\newlabel{fig:uno-shield-connect}{{4.3}{58}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.4}{\ignorespaces Interfacing an RGB LED with Arduino Uno using a breadboard\relax }}{59}\protected@file@percent } -\newlabel{fig:ard-rgb-bread}{{4.4}{59}} -\@writefile{toc}{\contentsline {section}{\numberline {4.2}Connecting an RGB LED with Arduino Uno\ using a breadboard}{59}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {4.3}Lighting the LED from the Arduino IDE}{60}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.1}Lighting the LED}{60}\protected@file@percent } -\newlabel{sec:light-ard}{{4.3.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{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{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue\textendash delay/led\textendash blue\textendash delay.ino}{60}\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}{60}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{61}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{61}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{1}}{}}{61}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {4.5}{\ignorespaces LED experiments directly on Arduino Uno\ board, without the shield\relax }}{62}\protected@file@percent } -\newlabel{fig:led-uno}{{4.5}{62}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.2}Arduino Code}{62}\protected@file@percent } -\newlabel{sec:led-arduino-code}{{4.3.2}{62}} +\newlabel{led}{{4}{61}} +\@writefile{toc}{\contentsline {section}{\numberline {4.1}Preliminaries}{61}\protected@file@percent } +\newlabel{sec:led-pril}{{4.1}{61}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.1}{\ignorespaces Light Emitting Diode\relax }}{61}\protected@file@percent } +\newlabel{fig:ledsym}{{4.1}{61}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.2}{\ignorespaces Internal connection diagram for LED on the shield\relax }}{62}\protected@file@percent } +\newlabel{fig:ledblock}{{4.2}{62}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.3}{\ignorespaces Connecting Arduino and Shield\relax }}{62}\protected@file@percent } +\newlabel{fig:uno-shield-connect}{{4.3}{62}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.4}{\ignorespaces Interfacing an RGB LED with Arduino Uno using a breadboard\relax }}{63}\protected@file@percent } +\newlabel{fig:ard-rgb-bread}{{4.4}{63}} +\@writefile{toc}{\contentsline {section}{\numberline {4.2}Connecting an RGB LED with Arduino Uno\ using a breadboard}{63}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.3}Lighting the LED from the Arduino IDE}{64}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.1}Lighting the LED}{64}\protected@file@percent } +\newlabel{sec:light-ard}{{4.3.1}{64}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{64}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{64}\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}{64}\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}{64}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{65}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{65}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{1}}{}}{65}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {4.5}{\ignorespaces LED experiments directly on Arduino Uno\ board, without the shield\relax }}{66}\protected@file@percent } +\newlabel{fig:led-uno}{{4.5}{66}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.2}Arduino Code}{66}\protected@file@percent } +\newlabel{sec:led-arduino-code}{{4.3.2}{66}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{1}}{}}{62}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{62}\protected@file@percent } -\newlabel{16@xvr}{{}{62}} -\newlabel{16@vr}{{}{62}} -\newlabel{ard:led-blue}{{4.{1}}{62}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{62}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{2}}{}}{62}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{62}\protected@file@percent } -\newlabel{17@xvr}{{}{62}} -\newlabel{17@vr}{{}{62}} -\newlabel{ard:led-blue-delay}{{4.{2}}{62}} -\@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}{62}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{3}}{}}{63}\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}{63}\protected@file@percent } -\newlabel{18@xvr}{{}{63}} -\newlabel{18@vr}{{}{63}} -\newlabel{ard:led-blue-red}{{4.{3}}{63}} -\@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}{63}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{4}}{}}{63}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{63}\protected@file@percent } -\newlabel{19@xvr}{{}{63}} -\newlabel{19@vr}{{}{63}} -\newlabel{ard:led-blink}{{4.{4}}{63}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blink/led\textendash blink.ino}{63}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {4.4}Lighting the LED from Scilab}{64}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.4.1}Lighting the LED}{64}\protected@file@percent } -\newlabel{sec:light-sci}{{4.4.1}{64}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{64}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{64}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{65}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash delay.sce}{65}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash delay.sce}{65}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{2}}{}}{65}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.4.2}Scilab Code}{65}\protected@file@percent } -\newlabel{sec:led-scilab-code}{{4.4.2}{65}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{1}}{}}{66}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{66}\protected@file@percent } +\newlabel{16@xvr}{{}{66}} +\newlabel{16@vr}{{}{66}} +\newlabel{ard:led-blue}{{4.{1}}{66}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{66}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{2}}{}}{66}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{66}\protected@file@percent } +\newlabel{17@xvr}{{}{66}} +\newlabel{17@vr}{{}{66}} +\newlabel{ard:led-blue-delay}{{4.{2}}{66}} +\@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}{66}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{3}}{}}{67}\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}{67}\protected@file@percent } +\newlabel{18@xvr}{{}{67}} +\newlabel{18@vr}{{}{67}} +\newlabel{ard:led-blue-red}{{4.{3}}{67}} +\@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}{67}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{4}}{}}{67}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{67}\protected@file@percent } +\newlabel{19@xvr}{{}{67}} +\newlabel{19@vr}{{}{67}} +\newlabel{ard:led-blink}{{4.{4}}{67}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blink/led\textendash blink.ino}{67}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.4}Lighting the LED from Scilab}{68}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.4.1}Lighting the LED}{68}\protected@file@percent } +\newlabel{sec:light-sci}{{4.4.1}{68}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{68}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{68}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{69}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash delay.sce}{69}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash delay.sce}{69}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{2}}{}}{69}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.4.2}Scilab Code}{69}\protected@file@percent } +\newlabel{sec:led-scilab-code}{{4.4.2}{69}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{65}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {4.{1}}Turning on the LED through Scilab}{65}\protected@file@percent } -\newlabel{20@xvr}{{}{65}} -\newlabel{20@vr}{{}{65}} -\newlabel{sci:led-blue}{{4.{1}}{65}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{65}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{2}}{}}{65}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{65}\protected@file@percent } -\newlabel{21@xvr}{{}{65}} -\newlabel{21@vr}{{}{65}} -\newlabel{sci:led-blue-delay}{{4.{2}}{65}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash delay.sce}{66}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{3}}{}}{66}\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}{66}\protected@file@percent } -\newlabel{22@xvr}{{}{66}} -\newlabel{22@vr}{{}{66}} -\newlabel{sci:led-blue-red}{{4.{3}}{66}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash red.sce}{66}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{4}}{}}{66}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{66}\protected@file@percent } -\newlabel{23@xvr}{{}{66}} -\newlabel{23@vr}{{}{66}} -\newlabel{sci:led-green-blink}{{4.{4}}{66}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash green\textendash blink.sce}{66}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{66}\protected@file@percent } -\newlabel{sec:light-xcos}{{4.5}{66}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.6}{\ignorespaces Turning the blue LED on through Xcos}}{67}\protected@file@percent } -\newlabel{25@xvr}{{}{67}} -\newlabel{25@vr}{{}{67}} -\newlabel{fig:led-blue}{{4.6}{67}} -\@writefile{lot}{\contentsline {table}{\numberline {4.1}{\ignorespaces Parameters to light the blue LED in Xcos\relax }}{67}\protected@file@percent } -\newlabel{tab:led-blue}{{4.1}{67}} -\newlabel{26@xvr}{{}{67}} -\newlabel{26@vr}{{}{67}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{68}\protected@file@percent } -\newlabel{28@xvr}{{}{68}} -\newlabel{28@vr}{{}{68}} -\newlabel{fig:led-blue-delay}{{4.7}{68}} -\@writefile{lot}{\contentsline {table}{\numberline {4.2}{\ignorespaces Parameters to light the blue LED in Xcos for two seconds\relax }}{68}\protected@file@percent } -\newlabel{tab:led-blue-delay}{{4.2}{68}} -\newlabel{29@xvr}{{}{68}} -\newlabel{29@vr}{{}{68}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.8}{\ignorespaces Turning the blue and red LEDs on through Xcos and turning them off one by one}}{69}\protected@file@percent } -\newlabel{31@xvr}{{}{69}} -\newlabel{31@vr}{{}{69}} -\newlabel{fig:led-blue-red}{{4.8}{69}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{3}}{}}{69}\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 }}{70}\protected@file@percent } -\newlabel{tab:led-blue-red}{{4.3}{70}} -\newlabel{32@xvr}{{}{70}} -\newlabel{32@vr}{{}{70}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{70}\protected@file@percent } -\newlabel{34@xvr}{{}{70}} -\newlabel{34@vr}{{}{70}} -\newlabel{fig:led-green-blink}{{4.9}{70}} -\@writefile{toc}{\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{70}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{70}\protected@file@percent } -\newlabel{sec:light-py}{{4.6.1}{70}} -\@writefile{lot}{\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{71}\protected@file@percent } -\newlabel{tab:led-green-blink}{{4.4}{71}} -\newlabel{35@xvr}{{}{71}} -\newlabel{35@vr}{{}{71}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.2}Python Code}{73}\protected@file@percent } -\newlabel{sec:led-python-code}{{4.6.2}{73}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{69}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {4.{1}}Turning on the LED through Scilab}{69}\protected@file@percent } +\newlabel{20@xvr}{{}{69}} +\newlabel{20@vr}{{}{69}} +\newlabel{sci:led-blue}{{4.{1}}{69}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{69}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{2}}{}}{69}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{69}\protected@file@percent } +\newlabel{21@xvr}{{}{69}} +\newlabel{21@vr}{{}{69}} +\newlabel{sci:led-blue-delay}{{4.{2}}{69}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash delay.sce}{70}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{3}}{}}{70}\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}{70}\protected@file@percent } +\newlabel{22@xvr}{{}{70}} +\newlabel{22@vr}{{}{70}} +\newlabel{sci:led-blue-red}{{4.{3}}{70}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash red.sce}{70}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{4}}{}}{70}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{70}\protected@file@percent } +\newlabel{23@xvr}{{}{70}} +\newlabel{23@vr}{{}{70}} +\newlabel{sci:led-green-blink}{{4.{4}}{70}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash green\textendash blink.sce}{70}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{70}\protected@file@percent } +\newlabel{sec:light-xcos}{{4.5}{70}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.6}{\ignorespaces Turning the blue LED on through Xcos}}{71}\protected@file@percent } +\newlabel{25@xvr}{{}{71}} +\newlabel{25@vr}{{}{71}} +\newlabel{fig:led-blue}{{4.6}{71}} +\@writefile{lot}{\contentsline {table}{\numberline {4.1}{\ignorespaces Parameters to light the blue LED in Xcos\relax }}{71}\protected@file@percent } +\newlabel{tab:led-blue}{{4.1}{71}} +\newlabel{26@xvr}{{}{71}} +\newlabel{26@vr}{{}{71}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{72}\protected@file@percent } +\newlabel{28@xvr}{{}{72}} +\newlabel{28@vr}{{}{72}} +\newlabel{fig:led-blue-delay}{{4.7}{72}} +\@writefile{lot}{\contentsline {table}{\numberline {4.2}{\ignorespaces Parameters to light the blue LED in Xcos for two seconds\relax }}{72}\protected@file@percent } +\newlabel{tab:led-blue-delay}{{4.2}{72}} +\newlabel{29@xvr}{{}{72}} +\newlabel{29@vr}{{}{72}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.8}{\ignorespaces Turning the blue and red LEDs on through Xcos and turning them off one by one}}{73}\protected@file@percent } +\newlabel{31@xvr}{{}{73}} +\newlabel{31@vr}{{}{73}} +\newlabel{fig:led-blue-red}{{4.8}{73}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{3}}{}}{73}\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 }}{74}\protected@file@percent } +\newlabel{tab:led-blue-red}{{4.3}{74}} +\newlabel{32@xvr}{{}{74}} +\newlabel{32@vr}{{}{74}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{74}\protected@file@percent } +\newlabel{34@xvr}{{}{74}} +\newlabel{34@vr}{{}{74}} +\newlabel{fig:led-green-blink}{{4.9}{74}} +\@writefile{toc}{\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{74}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{74}\protected@file@percent } +\newlabel{sec:light-py}{{4.6.1}{74}} +\@writefile{lot}{\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{75}\protected@file@percent } +\newlabel{tab:led-green-blink}{{4.4}{75}} +\newlabel{35@xvr}{{}{75}} +\newlabel{35@vr}{{}{75}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.2}Python Code}{77}\protected@file@percent } +\newlabel{sec:led-python-code}{{4.6.2}{77}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{1}}{}}{73}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {4.{1}}Turning on the LED through Python}{73}\protected@file@percent } -\newlabel{36@xvr}{{}{73}} -\newlabel{36@vr}{{}{73}} -\newlabel{py:led-blue1}{{4.{1}}{73}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{74}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{2}}{}}{74}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{74}\protected@file@percent } -\newlabel{37@xvr}{{}{74}} -\newlabel{37@vr}{{}{74}} -\newlabel{py:led-blue-delay}{{4.{2}}{74}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash delay.py}{74}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{3}}{}}{75}\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}{75}\protected@file@percent } -\newlabel{38@xvr}{{}{75}} -\newlabel{38@vr}{{}{75}} -\newlabel{py:led-blue-red}{{4.{3}}{75}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash red.py}{75}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{4}}{}}{76}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{76}\protected@file@percent } -\newlabel{39@xvr}{{}{76}} -\newlabel{39@vr}{{}{76}} -\newlabel{py:led-green-blink}{{4.{4}}{76}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash green\textendash blink.py}{76}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {4.7}Lighting the LED from Julia}{77}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.1}Lighting the LED}{77}\protected@file@percent } -\newlabel{sec:light-julia}{{4.7.1}{77}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.2}Julia Code}{78}\protected@file@percent } -\newlabel{sec:led-julia-code}{{4.7.2}{78}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{1}}{}}{77}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {4.{1}}Turning on the LED through Python}{77}\protected@file@percent } +\newlabel{36@xvr}{{}{77}} +\newlabel{36@vr}{{}{77}} +\newlabel{py:led-blue1}{{4.{1}}{77}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{78}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{2}}{}}{78}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{78}\protected@file@percent } +\newlabel{37@xvr}{{}{78}} +\newlabel{37@vr}{{}{78}} +\newlabel{py:led-blue-delay}{{4.{2}}{78}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash delay.py}{78}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{3}}{}}{79}\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}{79}\protected@file@percent } +\newlabel{38@xvr}{{}{79}} +\newlabel{38@vr}{{}{79}} +\newlabel{py:led-blue-red}{{4.{3}}{79}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash red.py}{79}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{4}}{}}{80}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{80}\protected@file@percent } +\newlabel{39@xvr}{{}{80}} +\newlabel{39@vr}{{}{80}} +\newlabel{py:led-green-blink}{{4.{4}}{80}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash green\textendash blink.py}{80}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.7}Lighting the LED from Julia}{81}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.1}Lighting the LED}{81}\protected@file@percent } +\newlabel{sec:light-julia}{{4.7.1}{81}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.2}Julia Code}{82}\protected@file@percent } +\newlabel{sec:led-julia-code}{{4.7.2}{82}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{78}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {4.{1}}Turning on the LED}{78}\protected@file@percent } -\newlabel{40@xvr}{{}{78}} -\newlabel{40@vr}{{}{78}} -\newlabel{julia:led-blue}{{4.{1}}{78}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue.jl}{79}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{79}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{79}\protected@file@percent } -\newlabel{41@xvr}{{}{79}} -\newlabel{41@vr}{{}{79}} -\newlabel{julia:led-blue-delay}{{4.{2}}{79}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue\textendash delay.jl}{79}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{3}}{}}{79}\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}{79}\protected@file@percent } -\newlabel{42@xvr}{{}{79}} -\newlabel{42@vr}{{}{79}} -\newlabel{juila:led-bmoe-red}{{4.{3}}{79}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue\textendash red.jl}{79}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{79}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{79}\protected@file@percent } -\newlabel{43@xvr}{{}{79}} -\newlabel{43@vr}{{}{79}} -\newlabel{julia:lemogreen-blink}{{4.{4}}{79}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash green\textendash blink.jl}{79}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {4.8}Lighting the LED from OpenModelica}{80}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.1}Lighting the LED}{80}\protected@file@percent } -\newlabel{sec:light-OpenModelica}{{4.8.1}{80}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{81}\protected@file@percent } -\newlabel{sec:led-OpenModelica-code}{{4.8.2}{81}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{82}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {4.{1}}Turning on the LED}{82}\protected@file@percent } +\newlabel{40@xvr}{{}{82}} +\newlabel{40@vr}{{}{82}} +\newlabel{julia:led-blue}{{4.{1}}{82}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue.jl}{83}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{83}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{83}\protected@file@percent } +\newlabel{41@xvr}{{}{83}} +\newlabel{41@vr}{{}{83}} +\newlabel{julia:led-blue-delay}{{4.{2}}{83}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue\textendash delay.jl}{83}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{3}}{}}{83}\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}{83}\protected@file@percent } +\newlabel{42@xvr}{{}{83}} +\newlabel{42@vr}{{}{83}} +\newlabel{juila:led-bmoe-red}{{4.{3}}{83}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue\textendash red.jl}{83}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{83}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{83}\protected@file@percent } +\newlabel{43@xvr}{{}{83}} +\newlabel{43@vr}{{}{83}} +\newlabel{julia:lemogreen-blink}{{4.{4}}{83}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash green\textendash blink.jl}{83}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.8}Lighting the LED from OpenModelica}{84}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.1}Lighting the LED}{84}\protected@file@percent } +\newlabel{sec:light-OpenModelica}{{4.8.1}{84}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{85}\protected@file@percent } +\newlabel{sec:led-OpenModelica-code}{{4.8.2}{85}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{81}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{1}}Turning on the LED}{81}\protected@file@percent } -\newlabel{44@xvr}{{}{81}} -\newlabel{44@vr}{{}{81}} -\newlabel{OpenModelica:led-blue}{{4.{1}}{81}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue.mo}{81}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{81}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{81}\protected@file@percent } -\newlabel{45@xvr}{{}{81}} -\newlabel{45@vr}{{}{81}} -\newlabel{OpenModelica:led-blue-delay}{{4.{2}}{81}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash delay.mo}{81}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{82}\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}{82}\protected@file@percent } -\newlabel{46@xvr}{{}{82}} -\newlabel{46@vr}{{}{82}} -\newlabel{OpenModelica:led-blue-red}{{4.{3}}{82}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash red.mo}{82}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{83}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{83}\protected@file@percent } -\newlabel{47@xvr}{{}{83}} -\newlabel{47@vr}{{}{83}} -\newlabel{OpenModelica:led-green-blink}{{4.{4}}{83}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash green\textendash blink.mo}{83}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{85}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{85}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{1}}Turning on the LED}{85}\protected@file@percent } +\newlabel{44@xvr}{{}{85}} +\newlabel{44@vr}{{}{85}} +\newlabel{OpenModelica:led-blue}{{4.{1}}{85}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue.mo}{85}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{85}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{85}\protected@file@percent } +\newlabel{45@xvr}{{}{85}} +\newlabel{45@vr}{{}{85}} +\newlabel{OpenModelica:led-blue-delay}{{4.{2}}{85}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash delay.mo}{85}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{86}\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}{86}\protected@file@percent } +\newlabel{46@xvr}{{}{86}} +\newlabel{46@vr}{{}{86}} +\newlabel{OpenModelica:led-blue-red}{{4.{3}}{86}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash red.mo}{86}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{87}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{87}\protected@file@percent } +\newlabel{47@xvr}{{}{87}} +\newlabel{47@vr}{{}{87}} +\newlabel{OpenModelica:led-green-blink}{{4.{4}}{87}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash green\textendash blink.mo}{87}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{89}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{pushbutton}{{5}{85}} -\@writefile{toc}{\contentsline {section}{\numberline {5.1}Preliminaries}{85}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{85}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {5.1}{\ignorespaces Connection Diagram\relax }}{86}\protected@file@percent } -\newlabel{fig:pushbuttonconn}{{5.1}{86}} -\@writefile{lof}{\contentsline {figure}{\numberline {5.2}{\ignorespaces A pushbutton to read its status with Arduino Uno using a breadboard\relax }}{86}\protected@file@percent } -\newlabel{fig:switch-bread}{{5.2}{86}} -\@writefile{lof}{\contentsline {figure}{\numberline {5.3}{\ignorespaces A pushbutton to control an LED with Arduino Uno using a breadboard\relax }}{87}\protected@file@percent } -\newlabel{fig:switch-led}{{5.3}{87}} -\@writefile{toc}{\contentsline {section}{\numberline {5.3}Reading the Pushbutton Status from the Arduino IDE}{88}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.1}Reading the Pushbutton Status}{88}\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}{88}\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}{88}\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}{88}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{89}\protected@file@percent } -\newlabel{sec:push-arduino-code}{{5.3.2}{89}} +\newlabel{pushbutton}{{5}{89}} +\@writefile{toc}{\contentsline {section}{\numberline {5.1}Preliminaries}{89}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{89}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {5.1}{\ignorespaces Connection Diagram\relax }}{90}\protected@file@percent } +\newlabel{fig:pushbuttonconn}{{5.1}{90}} +\@writefile{lof}{\contentsline {figure}{\numberline {5.2}{\ignorespaces A pushbutton to read its status with Arduino Uno using a breadboard\relax }}{90}\protected@file@percent } +\newlabel{fig:switch-bread}{{5.2}{90}} +\@writefile{lof}{\contentsline {figure}{\numberline {5.3}{\ignorespaces A pushbutton to control an LED with Arduino Uno using a breadboard\relax }}{91}\protected@file@percent } +\newlabel{fig:switch-led}{{5.3}{91}} +\@writefile{toc}{\contentsline {section}{\numberline {5.3}Reading the Pushbutton Status from the Arduino IDE}{92}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.1}Reading the Pushbutton Status}{92}\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}{92}\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}{92}\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}{92}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{93}\protected@file@percent } +\newlabel{sec:push-arduino-code}{{5.3.2}{93}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{89}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{89}\protected@file@percent } -\newlabel{48@xvr}{{}{89}} -\newlabel{48@vr}{{}{89}} -\newlabel{ard:push-100}{{5.{1}}{89}} -\@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}{89}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{89}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{89}\protected@file@percent } -\newlabel{49@xvr}{{}{89}} -\newlabel{49@vr}{{}{89}} -\newlabel{ard:push-200}{{5.{2}}{89}} -\@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}{89}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.4}Reading the Pushbutton Status from Scilab}{90}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.1}Reading the Pushbutton Status}{90}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{90}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{90}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led\textendash push\textendash button.sce}{90}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{91}\protected@file@percent } -\newlabel{sec:push-scilab-code}{{5.4.2}{91}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{93}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{93}\protected@file@percent } +\newlabel{48@xvr}{{}{93}} +\newlabel{48@vr}{{}{93}} +\newlabel{ard:push-100}{{5.{1}}{93}} +\@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}{93}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{93}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{93}\protected@file@percent } +\newlabel{49@xvr}{{}{93}} +\newlabel{49@vr}{{}{93}} +\newlabel{ard:push-200}{{5.{2}}{93}} +\@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}{93}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.4}Reading the Pushbutton Status from Scilab}{94}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.1}Reading the Pushbutton Status}{94}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{94}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{94}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led\textendash push\textendash button.sce}{94}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{95}\protected@file@percent } +\newlabel{sec:push-scilab-code}{{5.4.2}{95}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{91}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{91}\protected@file@percent } -\newlabel{50@xvr}{{}{91}} -\newlabel{50@vr}{{}{91}} -\newlabel{sci:push-100}{{5.{1}}{91}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{91}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{91}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{91}\protected@file@percent } -\newlabel{51@xvr}{{}{91}} -\newlabel{51@vr}{{}{91}} -\newlabel{sci:push-200}{{5.{2}}{91}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led\textendash push\textendash button.sce}{91}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.5}Accessing the Pushbutton from Xcos}{91}\protected@file@percent } -\newlabel{sec:push-xcos}{{5.5}{91}} -\@writefile{lof}{\contentsline {figure}{\numberline {5.4}{\ignorespaces Printing the push button status on the display block}}{92}\protected@file@percent } -\newlabel{53@xvr}{{}{92}} -\newlabel{53@vr}{{}{92}} -\newlabel{fig:push-button-status}{{5.4}{92}} -\@writefile{lot}{\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the push button status on the display block\relax }}{92}\protected@file@percent } -\newlabel{tab:push-button-status}{{5.1}{92}} -\newlabel{54@xvr}{{}{92}} -\newlabel{54@vr}{{}{92}} -\@writefile{lof}{\contentsline {figure}{\numberline {5.5}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{93}\protected@file@percent } -\newlabel{56@xvr}{{}{93}} -\newlabel{56@vr}{{}{93}} -\newlabel{fig:led-push-button}{{5.5}{93}} -\@writefile{lot}{\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{93}\protected@file@percent } -\newlabel{tab:led-push-button}{{5.2}{93}} -\newlabel{57@xvr}{{}{93}} -\newlabel{57@vr}{{}{93}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{5.{1}}{}}{93}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.6}Reading the Pushbutton Status from Python}{94}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.1}Reading the Pushbutton Status}{94}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{94}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{94}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led\textendash push\textendash button.py}{94}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.2}Python Code}{95}\protected@file@percent } -\newlabel{sec:push-python-code}{{5.6.2}{95}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{95}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{95}\protected@file@percent } +\newlabel{50@xvr}{{}{95}} +\newlabel{50@vr}{{}{95}} +\newlabel{sci:push-100}{{5.{1}}{95}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{95}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{95}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{95}\protected@file@percent } +\newlabel{51@xvr}{{}{95}} +\newlabel{51@vr}{{}{95}} +\newlabel{sci:push-200}{{5.{2}}{95}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led\textendash push\textendash button.sce}{95}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.5}Accessing the Pushbutton from Xcos}{95}\protected@file@percent } +\newlabel{sec:push-xcos}{{5.5}{95}} +\@writefile{lof}{\contentsline {figure}{\numberline {5.4}{\ignorespaces Printing the push button status on the display block}}{96}\protected@file@percent } +\newlabel{53@xvr}{{}{96}} +\newlabel{53@vr}{{}{96}} +\newlabel{fig:push-button-status}{{5.4}{96}} +\@writefile{lot}{\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the push button status on the display block\relax }}{96}\protected@file@percent } +\newlabel{tab:push-button-status}{{5.1}{96}} +\newlabel{54@xvr}{{}{96}} +\newlabel{54@vr}{{}{96}} +\@writefile{lof}{\contentsline {figure}{\numberline {5.5}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{97}\protected@file@percent } +\newlabel{56@xvr}{{}{97}} +\newlabel{56@vr}{{}{97}} +\newlabel{fig:led-push-button}{{5.5}{97}} +\@writefile{lot}{\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{97}\protected@file@percent } +\newlabel{tab:led-push-button}{{5.2}{97}} +\newlabel{57@xvr}{{}{97}} +\newlabel{57@vr}{{}{97}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{5.{1}}{}}{97}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.6}Reading the Pushbutton Status from Python}{98}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.1}Reading the Pushbutton Status}{98}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{98}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{98}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led\textendash push\textendash button.py}{98}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.2}Python Code}{99}\protected@file@percent } +\newlabel{sec:push-python-code}{{5.6.2}{99}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{1}}{}}{95}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{95}\protected@file@percent } -\newlabel{58@xvr}{{}{95}} -\newlabel{58@vr}{{}{95}} -\newlabel{py:push-100}{{5.{1}}{95}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{95}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{2}}{}}{95}\protected@file@percent } -\@writefile{pyd}{\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{py:push-200}{{5.{2}}{95}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led\textendash push\textendash button.py}{96}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.7}Reading the Pushbutton Status from Julia}{97}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.1}Reading the Pushbutton Status}{97}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push\textendash button\textendash status.jl}{97}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{97}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.2}Julia Code}{97}\protected@file@percent } -\newlabel{sec:push-julia-code}{{5.7.2}{97}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{1}}{}}{99}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{99}\protected@file@percent } +\newlabel{58@xvr}{{}{99}} +\newlabel{58@vr}{{}{99}} +\newlabel{py:push-100}{{5.{1}}{99}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{99}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{2}}{}}{99}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{99}\protected@file@percent } +\newlabel{59@xvr}{{}{99}} +\newlabel{59@vr}{{}{99}} +\newlabel{py:push-200}{{5.{2}}{99}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led\textendash push\textendash button.py}{100}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.7}Reading the Pushbutton Status from Julia}{101}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.1}Reading the Pushbutton Status}{101}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push\textendash button\textendash status.jl}{101}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{101}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.2}Julia Code}{101}\protected@file@percent } +\newlabel{sec:push-julia-code}{{5.7.2}{101}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{1}}{}}{97}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{97}\protected@file@percent } -\newlabel{60@xvr}{{}{97}} -\newlabel{60@vr}{{}{97}} -\newlabel{julia:push-100}{{5.{1}}{97}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push\textendash button\textendash status.jl}{97}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{98}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{98}\protected@file@percent } -\newlabel{61@xvr}{{}{98}} -\newlabel{61@vr}{{}{98}} -\newlabel{julia:push-200}{{5.{2}}{98}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{98}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.8}Reading the Pushbutton Status from OpenModelica}{98}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.1}Reading the Pushbutton Status}{98}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{98}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.2}OpenModelica Code}{98}\protected@file@percent } -\newlabel{sec:led-OpenModelica-code}{{5.8.2}{98}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{1}}{}}{101}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{101}\protected@file@percent } +\newlabel{60@xvr}{{}{101}} +\newlabel{60@vr}{{}{101}} +\newlabel{julia:push-100}{{5.{1}}{101}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push\textendash button\textendash status.jl}{101}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{102}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{102}\protected@file@percent } +\newlabel{61@xvr}{{}{102}} +\newlabel{61@vr}{{}{102}} +\newlabel{julia:push-200}{{5.{2}}{102}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{102}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.8}Reading the Pushbutton Status from OpenModelica}{102}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.1}Reading the Pushbutton Status}{102}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{102}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.2}OpenModelica Code}{102}\protected@file@percent } +\newlabel{sec:led-OpenModelica-code}{{5.8.2}{102}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{98}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{98}\protected@file@percent } -\newlabel{62@xvr}{{}{98}} -\newlabel{62@vr}{{}{98}} -\newlabel{OpenModelica:push-100}{{5.{1}}{98}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{99}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{99}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{99}\protected@file@percent } -\newlabel{63@xvr}{{}{99}} -\newlabel{63@vr}{{}{99}} -\newlabel{OpenModelica:push-200}{{5.{2}}{99}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{99}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{101}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{102}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{102}\protected@file@percent } +\newlabel{62@xvr}{{}{102}} +\newlabel{62@vr}{{}{102}} +\newlabel{OpenModelica:push-100}{{5.{1}}{102}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{103}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{103}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{103}\protected@file@percent } +\newlabel{63@xvr}{{}{103}} +\newlabel{63@vr}{{}{103}} +\newlabel{OpenModelica:push-200}{{5.{2}}{103}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{103}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{105}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{ldr}{{6}{101}} -\@writefile{toc}{\contentsline {section}{\numberline {6.1}Preliminaries}{101}\protected@file@percent } -\newlabel{fig:ldr}{{6.1a}{102}} +\newlabel{ldr}{{6}{105}} +\@writefile{toc}{\contentsline {section}{\numberline {6.1}Preliminaries}{105}\protected@file@percent } +\newlabel{fig:ldr}{{6.1a}{106}} \newlabel{sub@fig:ldr}{{(a)}{a}} -\newlabel{fig:ldrsym}{{6.1b}{102}} +\newlabel{fig:ldrsym}{{6.1b}{106}} \newlabel{sub@fig:ldrsym}{{(b)}{b}} -\@writefile{lof}{\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{102}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of an LDR}}}{102}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of an LDR}}}{102}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{102}\protected@file@percent } -\newlabel{fig:ldrconn}{{6.2}{102}} -\@writefile{lof}{\contentsline {figure}{\numberline {6.3}{\ignorespaces An LDR to read its values with Arduino Uno\ using a breadboard\relax }}{103}\protected@file@percent } -\newlabel{fig:ard-ldr}{{6.3}{103}} -\@writefile{toc}{\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{103}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {6.4}{\ignorespaces An LDR to control an LED with Arduino Uno using a breadboard\relax }}{104}\protected@file@percent } -\newlabel{fig:ard-ldr-led}{{6.4}{104}} -\@writefile{toc}{\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{104}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{104}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{104}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{105}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{105}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{1}}{}}{105}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{105}\protected@file@percent } -\newlabel{sec:ldr-arduino-code}{{6.3.2}{105}} +\@writefile{lof}{\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{106}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of an LDR}}}{106}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of an LDR}}}{106}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{106}\protected@file@percent } +\newlabel{fig:ldrconn}{{6.2}{106}} +\@writefile{lof}{\contentsline {figure}{\numberline {6.3}{\ignorespaces An LDR to read its values with Arduino Uno\ using a breadboard\relax }}{107}\protected@file@percent } +\newlabel{fig:ard-ldr}{{6.3}{107}} +\@writefile{toc}{\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{107}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {6.4}{\ignorespaces An LDR to control an LED with Arduino Uno using a breadboard\relax }}{108}\protected@file@percent } +\newlabel{fig:ard-ldr-led}{{6.4}{108}} +\@writefile{toc}{\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{108}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{108}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{108}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{109}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{109}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{1}}{}}{109}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{109}\protected@file@percent } +\newlabel{sec:ldr-arduino-code}{{6.3.2}{109}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{105}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{105}\protected@file@percent } -\newlabel{64@xvr}{{}{105}} -\newlabel{64@vr}{{}{105}} -\newlabel{ard:ldr-read}{{6.{1}}{105}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{105}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{106}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{106}\protected@file@percent } -\newlabel{65@xvr}{{}{106}} -\newlabel{65@vr}{{}{106}} -\newlabel{ard:ldr-led}{{6.{2}}{106}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash led/ldr\textendash led.ino}{106}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{106}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{106}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{2}}{}}{107}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{107}\protected@file@percent } -\newlabel{sec:ldr-scilab-code}{{6.4.2}{107}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{109}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{109}\protected@file@percent } +\newlabel{64@xvr}{{}{109}} +\newlabel{64@vr}{{}{109}} +\newlabel{ard:ldr-read}{{6.{1}}{109}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{109}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{110}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{110}\protected@file@percent } +\newlabel{65@xvr}{{}{110}} +\newlabel{65@vr}{{}{110}} +\newlabel{ard:ldr-led}{{6.{2}}{110}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash led/ldr\textendash led.ino}{110}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{110}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{110}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{2}}{}}{111}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{111}\protected@file@percent } +\newlabel{sec:ldr-scilab-code}{{6.4.2}{111}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{107}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{107}\protected@file@percent } -\newlabel{66@xvr}{{}{107}} -\newlabel{66@vr}{{}{107}} -\newlabel{sci:ldr-read}{{6.{1}}{107}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash read.sce}{107}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{108}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{108}\protected@file@percent } -\newlabel{67@xvr}{{}{108}} -\newlabel{67@vr}{{}{108}} -\newlabel{sci:ldr-led}{{6.{2}}{108}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash led.sce}{108}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{108}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read LDR values}}{109}\protected@file@percent } -\newlabel{69@xvr}{{}{109}} -\newlabel{69@vr}{{}{109}} -\newlabel{fig:ldr-read}{{6.5}{109}} -\@writefile{lot}{\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{109}\protected@file@percent } -\newlabel{tab:ldr-read}{{6.1}{109}} -\newlabel{70@xvr}{{}{109}} -\newlabel{70@vr}{{}{109}} -\@writefile{lof}{\contentsline {figure}{\numberline {6.6}{\ignorespaces Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}}{110}\protected@file@percent } -\newlabel{72@xvr}{{}{110}} -\newlabel{72@vr}{{}{110}} -\newlabel{fig:ldr-led}{{6.6}{110}} -\@writefile{toc}{\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{110}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{110}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{111}\protected@file@percent } -\newlabel{tab:ldr-led}{{6.2}{111}} -\newlabel{73@xvr}{{}{111}} -\newlabel{73@vr}{{}{111}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{3}}{}}{111}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.2}Python Code}{112}\protected@file@percent } -\newlabel{sec:ldr-python-code}{{6.6.2}{112}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{111}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{111}\protected@file@percent } +\newlabel{66@xvr}{{}{111}} +\newlabel{66@vr}{{}{111}} +\newlabel{sci:ldr-read}{{6.{1}}{111}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash read.sce}{111}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{112}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{112}\protected@file@percent } +\newlabel{67@xvr}{{}{112}} +\newlabel{67@vr}{{}{112}} +\newlabel{sci:ldr-led}{{6.{2}}{112}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash led.sce}{112}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{112}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read LDR values}}{113}\protected@file@percent } +\newlabel{69@xvr}{{}{113}} +\newlabel{69@vr}{{}{113}} +\newlabel{fig:ldr-read}{{6.5}{113}} +\@writefile{lot}{\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{113}\protected@file@percent } +\newlabel{tab:ldr-read}{{6.1}{113}} +\newlabel{70@xvr}{{}{113}} +\newlabel{70@vr}{{}{113}} +\@writefile{lof}{\contentsline {figure}{\numberline {6.6}{\ignorespaces Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}}{114}\protected@file@percent } +\newlabel{72@xvr}{{}{114}} +\newlabel{72@vr}{{}{114}} +\newlabel{fig:ldr-led}{{6.6}{114}} +\@writefile{toc}{\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{114}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{114}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{115}\protected@file@percent } +\newlabel{tab:ldr-led}{{6.2}{115}} +\newlabel{73@xvr}{{}{115}} +\newlabel{73@vr}{{}{115}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{3}}{}}{115}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.2}Python Code}{116}\protected@file@percent } +\newlabel{sec:ldr-python-code}{{6.6.2}{116}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{1}}{}}{112}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{112}\protected@file@percent } -\newlabel{74@xvr}{{}{112}} -\newlabel{74@vr}{{}{112}} -\newlabel{py:ldr-read}{{6.{1}}{112}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash read.py}{112}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{2}}{}}{113}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{113}\protected@file@percent } -\newlabel{75@xvr}{{}{113}} -\newlabel{75@vr}{{}{113}} -\newlabel{py:ldr-led}{{6.{2}}{113}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash led.py}{113}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{114}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{114}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{114}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{4}}{}}{114}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.2}Julia Code}{115}\protected@file@percent } -\newlabel{sec:ldr-julia-code}{{6.7.2}{115}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{1}}{}}{116}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{116}\protected@file@percent } +\newlabel{74@xvr}{{}{116}} +\newlabel{74@vr}{{}{116}} +\newlabel{py:ldr-read}{{6.{1}}{116}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash read.py}{116}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{2}}{}}{117}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{117}\protected@file@percent } +\newlabel{75@xvr}{{}{117}} +\newlabel{75@vr}{{}{117}} +\newlabel{py:ldr-led}{{6.{2}}{117}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash led.py}{117}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{118}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{118}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{118}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{4}}{}}{118}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.2}Julia Code}{119}\protected@file@percent } +\newlabel{sec:ldr-julia-code}{{6.7.2}{119}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{115}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{115}\protected@file@percent } -\newlabel{76@xvr}{{}{115}} -\newlabel{76@vr}{{}{115}} -\newlabel{julia:ldr-read}{{6.{1}}{115}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash read.jl}{115}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{115}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{115}\protected@file@percent } -\newlabel{77@xvr}{{}{115}} -\newlabel{77@vr}{{}{115}} -\newlabel{julia:ldr-led}{{6.{2}}{115}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash led.jl}{115}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{115}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{115}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{116}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{116}\protected@file@percent } -\newlabel{sec:ldr-OpenModelica-code}{{6.8.2}{116}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{119}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{119}\protected@file@percent } +\newlabel{76@xvr}{{}{119}} +\newlabel{76@vr}{{}{119}} +\newlabel{julia:ldr-read}{{6.{1}}{119}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash read.jl}{119}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{119}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{119}\protected@file@percent } +\newlabel{77@xvr}{{}{119}} +\newlabel{77@vr}{{}{119}} +\newlabel{julia:ldr-led}{{6.{2}}{119}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash led.jl}{119}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{119}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{119}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{120}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{120}\protected@file@percent } +\newlabel{sec:ldr-OpenModelica-code}{{6.8.2}{120}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{116}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{116}\protected@file@percent } -\newlabel{78@xvr}{{}{116}} -\newlabel{78@vr}{{}{116}} -\newlabel{OpenModelica:ldr-read}{{6.{1}}{116}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash read.mo}{116}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{117}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{117}\protected@file@percent } -\newlabel{79@xvr}{{}{117}} -\newlabel{79@vr}{{}{117}} -\newlabel{OpenModelica:ldr-led}{{6.{2}}{117}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash led.mo}{117}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {7}Controlling a DC motor}{119}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{120}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{120}\protected@file@percent } +\newlabel{78@xvr}{{}{120}} +\newlabel{78@vr}{{}{120}} +\newlabel{OpenModelica:ldr-read}{{6.{1}}{120}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash read.mo}{120}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{121}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{121}\protected@file@percent } +\newlabel{79@xvr}{{}{121}} +\newlabel{79@vr}{{}{121}} +\newlabel{OpenModelica:ldr-led}{{6.{2}}{121}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash led.mo}{121}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {7}Controlling a DC motor}{123}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{dcmotor}{{7}{119}} -\@writefile{toc}{\contentsline {section}{\numberline {7.1}Preliminaries}{119}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {7.1}{\ignorespaces L293D motor driver board\relax }}{120}\protected@file@percent } -\newlabel{fig:motordriverboard}{{7.1}{120}} -\@writefile{lof}{\contentsline {figure}{\numberline {7.2}{\ignorespaces A schematic of DC motor connections\relax }}{121}\protected@file@percent } -\newlabel{fig:dcm-schematic}{{7.2}{121}} -\@writefile{lof}{\contentsline {figure}{\numberline {7.3}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{121}\protected@file@percent } -\newlabel{fig:dcmotorconn}{{7.3}{121}} -\@writefile{toc}{\contentsline {section}{\numberline {7.2}Controlling the DC motor from Arduino}{121}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.1}Controlling the DC motor}{121}\protected@file@percent } -\newlabel{sec:dcm-ard}{{7.2.1}{121}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{1}}{}}{122}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.2}Arduino Code}{123}\protected@file@percent } -\newlabel{sec:dcmotor-arduino-code}{{7.2.2}{123}} +\newlabel{dcmotor}{{7}{123}} +\@writefile{toc}{\contentsline {section}{\numberline {7.1}Preliminaries}{123}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {7.1}{\ignorespaces L293D motor driver board\relax }}{124}\protected@file@percent } +\newlabel{fig:motordriverboard}{{7.1}{124}} +\@writefile{lof}{\contentsline {figure}{\numberline {7.2}{\ignorespaces A schematic of DC motor connections\relax }}{125}\protected@file@percent } +\newlabel{fig:dcm-schematic}{{7.2}{125}} +\@writefile{lof}{\contentsline {figure}{\numberline {7.3}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{125}\protected@file@percent } +\newlabel{fig:dcmotorconn}{{7.3}{125}} +\@writefile{toc}{\contentsline {section}{\numberline {7.2}Controlling the DC motor from Arduino}{125}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.1}Controlling the DC motor}{125}\protected@file@percent } +\newlabel{sec:dcm-ard}{{7.2.1}{125}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{1}}{}}{126}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.2}Arduino Code}{127}\protected@file@percent } +\newlabel{sec:dcmotor-arduino-code}{{7.2.2}{127}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{123}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{123}\protected@file@percent } -\newlabel{80@xvr}{{}{123}} -\newlabel{80@vr}{{}{123}} -\newlabel{ard:dcmotor-clock}{{7.{1}}{123}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{123}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{2}}{}}{123}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{123}\protected@file@percent } -\newlabel{81@xvr}{{}{123}} -\newlabel{81@vr}{{}{123}} -\newlabel{ard:dcmotor-both}{{7.{2}}{123}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash both/dcmotor\textendash both.ino}{123}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{3}}{}}{123}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{123}\protected@file@percent } -\newlabel{82@xvr}{{}{123}} -\newlabel{82@vr}{{}{123}} -\newlabel{ard:dcmotor-loop}{{7.{3}}{123}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash loop/dcmotor\textendash loop.ino}{124}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.3}Controlling the DC motor from Scilab}{124}\protected@file@percent } -\newlabel{sec:dcm-sci}{{7.3}{124}} -\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.1}Initialization}{124}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {7.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{125}\protected@file@percent } -\newlabel{table:convention}{{7.1}{125}} -\@writefile{lot}{\contentsline {table}{\numberline {7.2}{\ignorespaces Parameters for DC motor initialization\relax }}{125}\protected@file@percent } -\newlabel{tab:dcmotor-init}{{7.2}{125}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{125}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.2}Rotation for a specified time}{125}\protected@file@percent } -\newlabel{sec:dc-both}{{7.3.2}{125}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{125}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{126}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{126}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{2}}{}}{126}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.3}Using the capabilities of Scilab}{126}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.4}Scilab Code}{127}\protected@file@percent } -\newlabel{sec:dcmotor-scilab-code}{{7.3.4}{127}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{127}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{127}\protected@file@percent } +\newlabel{80@xvr}{{}{127}} +\newlabel{80@vr}{{}{127}} +\newlabel{ard:dcmotor-clock}{{7.{1}}{127}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{127}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{2}}{}}{127}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{127}\protected@file@percent } +\newlabel{81@xvr}{{}{127}} +\newlabel{81@vr}{{}{127}} +\newlabel{ard:dcmotor-both}{{7.{2}}{127}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash both/dcmotor\textendash both.ino}{127}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{3}}{}}{127}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{127}\protected@file@percent } +\newlabel{82@xvr}{{}{127}} +\newlabel{82@vr}{{}{127}} +\newlabel{ard:dcmotor-loop}{{7.{3}}{127}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash loop/dcmotor\textendash loop.ino}{128}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.3}Controlling the DC motor from Scilab}{128}\protected@file@percent } +\newlabel{sec:dcm-sci}{{7.3}{128}} +\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.1}Initialization}{128}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {7.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{129}\protected@file@percent } +\newlabel{table:convention}{{7.1}{129}} +\@writefile{lot}{\contentsline {table}{\numberline {7.2}{\ignorespaces Parameters for DC motor initialization\relax }}{129}\protected@file@percent } +\newlabel{tab:dcmotor-init}{{7.2}{129}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{129}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.2}Rotation for a specified time}{129}\protected@file@percent } +\newlabel{sec:dc-both}{{7.3.2}{129}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{129}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{130}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{130}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{2}}{}}{130}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.3}Using the capabilities of Scilab}{130}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.4}Scilab Code}{131}\protected@file@percent } +\newlabel{sec:dcmotor-scilab-code}{{7.3.4}{131}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{127}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{127}\protected@file@percent } -\newlabel{83@xvr}{{}{127}} -\newlabel{83@vr}{{}{127}} -\newlabel{sci:dcmotor-clock}{{7.{1}}{127}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{127}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{2}}{}}{127}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{127}\protected@file@percent } -\newlabel{84@xvr}{{}{127}} -\newlabel{84@vr}{{}{127}} -\newlabel{sci:dcmotor-both}{{7.{2}}{127}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{127}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{3}}{}}{127}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{127}\protected@file@percent } -\newlabel{85@xvr}{{}{127}} -\newlabel{85@vr}{{}{127}} -\newlabel{sci:dcmotor-loop}{{7.{3}}{127}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash loop.sce}{127}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {7.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{128}\protected@file@percent } -\newlabel{87@xvr}{{}{128}} -\newlabel{87@vr}{{}{128}} -\newlabel{fig:dcmotor-clock}{{7.4}{128}} -\@writefile{toc}{\contentsline {section}{\numberline {7.4}Controlling the DC Motor from Xcos}{128}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {7.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{129}\protected@file@percent } -\newlabel{tab:dcmotor-clock}{{7.3}{129}} -\newlabel{88@xvr}{{}{129}} -\newlabel{88@vr}{{}{129}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{3}}{}}{129}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {7.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{130}\protected@file@percent } -\newlabel{90@xvr}{{}{130}} -\newlabel{90@vr}{{}{130}} -\newlabel{fig:dcmotor-both}{{7.5}{130}} -\@writefile{lot}{\contentsline {table}{\numberline {7.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{130}\protected@file@percent } -\newlabel{tab:dcmotor-both}{{7.4}{130}} -\newlabel{91@xvr}{{}{130}} -\newlabel{91@vr}{{}{130}} -\@writefile{lof}{\contentsline {figure}{\numberline {7.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{131}\protected@file@percent } -\newlabel{93@xvr}{{}{131}} -\newlabel{93@vr}{{}{131}} -\newlabel{fig:dcmotor-loop}{{7.6}{131}} -\@writefile{toc}{\contentsline {section}{\numberline {7.5}Controlling the DC Motor from Python}{131}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.5.1}Controlling the DC Motor}{131}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {7.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{132}\protected@file@percent } -\newlabel{tab:dcmotor-loop}{{7.5}{132}} -\newlabel{94@xvr}{{}{132}} -\newlabel{94@vr}{{}{132}} -\@writefile{toc}{\contentsline {subsection}{\numberline {7.5.2}Python Code}{133}\protected@file@percent } -\newlabel{sec:dcmotor-python-code}{{7.5.2}{133}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{131}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{131}\protected@file@percent } +\newlabel{83@xvr}{{}{131}} +\newlabel{83@vr}{{}{131}} +\newlabel{sci:dcmotor-clock}{{7.{1}}{131}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{131}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{2}}{}}{131}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{131}\protected@file@percent } +\newlabel{84@xvr}{{}{131}} +\newlabel{84@vr}{{}{131}} +\newlabel{sci:dcmotor-both}{{7.{2}}{131}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{131}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{3}}{}}{131}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{131}\protected@file@percent } +\newlabel{85@xvr}{{}{131}} +\newlabel{85@vr}{{}{131}} +\newlabel{sci:dcmotor-loop}{{7.{3}}{131}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash loop.sce}{131}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {7.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{132}\protected@file@percent } +\newlabel{87@xvr}{{}{132}} +\newlabel{87@vr}{{}{132}} +\newlabel{fig:dcmotor-clock}{{7.4}{132}} +\@writefile{toc}{\contentsline {section}{\numberline {7.4}Controlling the DC Motor from Xcos}{132}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {7.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{133}\protected@file@percent } +\newlabel{tab:dcmotor-clock}{{7.3}{133}} +\newlabel{88@xvr}{{}{133}} +\newlabel{88@vr}{{}{133}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{3}}{}}{133}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {7.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{134}\protected@file@percent } +\newlabel{90@xvr}{{}{134}} +\newlabel{90@vr}{{}{134}} +\newlabel{fig:dcmotor-both}{{7.5}{134}} +\@writefile{lot}{\contentsline {table}{\numberline {7.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{134}\protected@file@percent } +\newlabel{tab:dcmotor-both}{{7.4}{134}} +\newlabel{91@xvr}{{}{134}} +\newlabel{91@vr}{{}{134}} +\@writefile{lof}{\contentsline {figure}{\numberline {7.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{135}\protected@file@percent } +\newlabel{93@xvr}{{}{135}} +\newlabel{93@vr}{{}{135}} +\newlabel{fig:dcmotor-loop}{{7.6}{135}} +\@writefile{toc}{\contentsline {section}{\numberline {7.5}Controlling the DC Motor from Python}{135}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.5.1}Controlling the DC Motor}{135}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {7.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{136}\protected@file@percent } +\newlabel{tab:dcmotor-loop}{{7.5}{136}} +\newlabel{94@xvr}{{}{136}} +\newlabel{94@vr}{{}{136}} +\@writefile{toc}{\contentsline {subsection}{\numberline {7.5.2}Python Code}{137}\protected@file@percent } +\newlabel{sec:dcmotor-python-code}{{7.5.2}{137}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{1}}{}}{133}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{133}\protected@file@percent } -\newlabel{95@xvr}{{}{133}} -\newlabel{95@vr}{{}{133}} -\newlabel{py:dcmotor-clock}{{7.{1}}{133}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash clock.py}{133}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{2}}{}}{134}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{134}\protected@file@percent } -\newlabel{96@xvr}{{}{134}} -\newlabel{96@vr}{{}{134}} -\newlabel{py:dcmotor-both}{{7.{2}}{134}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash both.py}{134}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{3}}{}}{134}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{134}\protected@file@percent } -\newlabel{97@xvr}{{}{135}} -\newlabel{97@vr}{{}{135}} -\newlabel{py:dcmotor-loop}{{7.{3}}{135}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash loop.py}{135}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.6}Controlling the DC Motor from Julia}{136}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.1}Controlling the DC Motor}{136}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.2}Julia Code}{136}\protected@file@percent } -\newlabel{sec:dcmotor-julia-code}{{7.6.2}{136}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{1}}{}}{137}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{137}\protected@file@percent } +\newlabel{95@xvr}{{}{137}} +\newlabel{95@vr}{{}{137}} +\newlabel{py:dcmotor-clock}{{7.{1}}{137}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash clock.py}{137}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{2}}{}}{138}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{138}\protected@file@percent } +\newlabel{96@xvr}{{}{138}} +\newlabel{96@vr}{{}{138}} +\newlabel{py:dcmotor-both}{{7.{2}}{138}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash both.py}{138}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{3}}{}}{138}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{138}\protected@file@percent } +\newlabel{97@xvr}{{}{139}} +\newlabel{97@vr}{{}{139}} +\newlabel{py:dcmotor-loop}{{7.{3}}{139}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash loop.py}{139}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.6}Controlling the DC Motor from Julia}{140}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.1}Controlling the DC Motor}{140}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.2}Julia Code}{140}\protected@file@percent } +\newlabel{sec:dcmotor-julia-code}{{7.6.2}{140}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{136}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{136}\protected@file@percent } -\newlabel{98@xvr}{{}{136}} -\newlabel{98@vr}{{}{136}} -\newlabel{julia:dcmotor-clock}{{7.{1}}{136}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{136}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{2}}{}}{137}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{137}\protected@file@percent } -\newlabel{99@xvr}{{}{137}} -\newlabel{99@vr}{{}{137}} -\newlabel{julia:dcmotor-both}{{7.{2}}{137}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash both.jl}{137}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{3}}{}}{137}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{137}\protected@file@percent } -\newlabel{100@xvr}{{}{137}} -\newlabel{100@vr}{{}{137}} -\newlabel{julia:dcmotor-loop}{{7.{3}}{137}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash loop.jl}{137}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.7}Controlling the DC Motor from OpenModelica}{137}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.1}Controlling the DC Motor}{137}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.2}OpenModelica Code}{138}\protected@file@percent } -\newlabel{sec:dcmotor-OpenModelica-code}{{7.7.2}{138}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{140}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{140}\protected@file@percent } +\newlabel{98@xvr}{{}{140}} +\newlabel{98@vr}{{}{140}} +\newlabel{julia:dcmotor-clock}{{7.{1}}{140}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{140}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{2}}{}}{141}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{141}\protected@file@percent } +\newlabel{99@xvr}{{}{141}} +\newlabel{99@vr}{{}{141}} +\newlabel{julia:dcmotor-both}{{7.{2}}{141}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash both.jl}{141}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{3}}{}}{141}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{141}\protected@file@percent } +\newlabel{100@xvr}{{}{141}} +\newlabel{100@vr}{{}{141}} +\newlabel{julia:dcmotor-loop}{{7.{3}}{141}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash loop.jl}{141}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.7}Controlling the DC Motor from OpenModelica}{141}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.1}Controlling the DC Motor}{141}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.2}OpenModelica Code}{142}\protected@file@percent } +\newlabel{sec:dcmotor-OpenModelica-code}{{7.7.2}{142}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{138}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{138}\protected@file@percent } -\newlabel{101@xvr}{{}{138}} -\newlabel{101@vr}{{}{138}} -\newlabel{OpenModelica:dcmotor-clock}{{7.{1}}{138}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{138}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{2}}{}}{138}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{138}\protected@file@percent } -\newlabel{102@xvr}{{}{138}} -\newlabel{102@vr}{{}{138}} -\newlabel{OpenModelica:dcmotor-both}{{7.{2}}{138}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{139}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{3}}{}}{139}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{139}\protected@file@percent } -\newlabel{103@xvr}{{}{139}} -\newlabel{103@vr}{{}{139}} -\newlabel{OpenModelica:dcmotor-loop}{{7.{3}}{139}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash loop.mo}{139}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {8}Interfacing a Potentiometer}{141}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{142}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{142}\protected@file@percent } +\newlabel{101@xvr}{{}{142}} +\newlabel{101@vr}{{}{142}} +\newlabel{OpenModelica:dcmotor-clock}{{7.{1}}{142}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{142}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{2}}{}}{142}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{142}\protected@file@percent } +\newlabel{102@xvr}{{}{142}} +\newlabel{102@vr}{{}{142}} +\newlabel{OpenModelica:dcmotor-both}{{7.{2}}{142}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{143}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{3}}{}}{143}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{143}\protected@file@percent } +\newlabel{103@xvr}{{}{143}} +\newlabel{103@vr}{{}{143}} +\newlabel{OpenModelica:dcmotor-loop}{{7.{3}}{143}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash loop.mo}{143}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {8}Interfacing a Potentiometer}{145}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{potmeter}{{8}{141}} -\@writefile{toc}{\contentsline {section}{\numberline {8.1}Preliminaries}{141}\protected@file@percent } -\newlabel{104@xvr}{{}{141}} -\newlabel{104@vr}{{}{141}} -\newlabel{fig:pot}{{8.1a}{142}} +\newlabel{potmeter}{{8}{145}} +\@writefile{toc}{\contentsline {section}{\numberline {8.1}Preliminaries}{145}\protected@file@percent } +\newlabel{104@xvr}{{}{145}} +\newlabel{104@vr}{{}{145}} +\newlabel{fig:pot}{{8.1a}{146}} \newlabel{sub@fig:pot}{{(a)}{a}} -\newlabel{fig:potsch}{{8.1b}{142}} +\newlabel{fig:potsch}{{8.1b}{146}} \newlabel{sub@fig:potsch}{{(b)}{b}} -\@writefile{lof}{\contentsline {figure}{\numberline {8.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{142}\protected@file@percent } -\newlabel{fig:potmeterconn}{{8.1}{142}} -\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{142}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Schematic representation of the potentiometer}}}{142}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.2}Connecting a potentiometer with Arduino Uno\ using a breadboard}{142}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {8.2}{\ignorespaces A potentiometer to control an LED with Arduino Uno using a breadboard\relax }}{143}\protected@file@percent } -\newlabel{fig:pot-led}{{8.2}{143}} -\@writefile{toc}{\contentsline {section}{\numberline {8.3}Reading the potentiometer from the Arduino IDE}{143}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.1}Reading the potentiometer}{143}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{144}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{144}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.2}Arduino Code}{144}\protected@file@percent } -\newlabel{sec:pot-arduino-code}{{8.3.2}{144}} +\@writefile{lof}{\contentsline {figure}{\numberline {8.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{146}\protected@file@percent } +\newlabel{fig:potmeterconn}{{8.1}{146}} +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{146}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Schematic representation of the potentiometer}}}{146}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.2}Connecting a potentiometer with Arduino Uno\ using a breadboard}{146}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {8.2}{\ignorespaces A potentiometer to control an LED with Arduino Uno using a breadboard\relax }}{147}\protected@file@percent } +\newlabel{fig:pot-led}{{8.2}{147}} +\@writefile{toc}{\contentsline {section}{\numberline {8.3}Reading the potentiometer from the Arduino IDE}{147}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.1}Reading the potentiometer}{147}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{148}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{148}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.2}Arduino Code}{148}\protected@file@percent } +\newlabel{sec:pot-arduino-code}{{8.3.2}{148}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{144}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{144}\protected@file@percent } -\newlabel{105@xvr}{{}{144}} -\newlabel{105@vr}{{}{144}} -\newlabel{ard:pot-100}{{8.{1}}{144}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{144}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.4}Reading the potentiometer from Scilab}{145}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.4.1}Reading the potentiometer}{145}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{145}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{145}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.4.2}Scilab Code}{146}\protected@file@percent } -\newlabel{sec:pot-scilab-code}{{8.4.2}{146}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{148}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{148}\protected@file@percent } +\newlabel{105@xvr}{{}{148}} +\newlabel{105@vr}{{}{148}} +\newlabel{ard:pot-100}{{8.{1}}{148}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{148}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.4}Reading the potentiometer from Scilab}{149}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.4.1}Reading the potentiometer}{149}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{149}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{149}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.4.2}Scilab Code}{150}\protected@file@percent } +\newlabel{sec:pot-scilab-code}{{8.4.2}{150}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{146}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{146}\protected@file@percent } -\newlabel{106@xvr}{{}{146}} -\newlabel{106@vr}{{}{146}} -\newlabel{sci:pot-100}{{8.{1}}{146}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{146}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.5}Reading the potentiometer from Xcos}{146}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {8.3}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{147}\protected@file@percent } -\newlabel{108@xvr}{{}{147}} -\newlabel{108@vr}{{}{147}} -\newlabel{fig:pot-threshold}{{8.3}{147}} -\@writefile{toc}{\contentsline {paragraph}{Exercise:}{147}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.6}Reading the potentiometer from Python}{147}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.1}Reading the potentiometer}{147}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{148}\protected@file@percent } -\newlabel{tab:pot-threshold}{{8.1}{148}} -\newlabel{109@xvr}{{}{148}} -\newlabel{109@vr}{{}{148}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{148}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{149}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.2}Python Code}{149}\protected@file@percent } -\newlabel{sec:pot-python-code}{{8.6.2}{149}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{150}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{150}\protected@file@percent } +\newlabel{106@xvr}{{}{150}} +\newlabel{106@vr}{{}{150}} +\newlabel{sci:pot-100}{{8.{1}}{150}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{150}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.5}Reading the potentiometer from Xcos}{150}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {8.3}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{151}\protected@file@percent } +\newlabel{108@xvr}{{}{151}} +\newlabel{108@vr}{{}{151}} +\newlabel{fig:pot-threshold}{{8.3}{151}} +\@writefile{toc}{\contentsline {paragraph}{Exercise:}{151}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.6}Reading the potentiometer from Python}{151}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.1}Reading the potentiometer}{151}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{152}\protected@file@percent } +\newlabel{tab:pot-threshold}{{8.1}{152}} +\newlabel{109@xvr}{{}{152}} +\newlabel{109@vr}{{}{152}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{152}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{153}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.2}Python Code}{153}\protected@file@percent } +\newlabel{sec:pot-python-code}{{8.6.2}{153}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{8.{1}}{}}{149}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{149}\protected@file@percent } -\newlabel{110@xvr}{{}{149}} -\newlabel{110@vr}{{}{149}} -\newlabel{py:pot-100}{{8.{1}}{149}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{149}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.7}Reading the potentiometer from Julia}{150}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.1}Reading the potentiometer}{150}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{150}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{150}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.2}Julia Code}{151}\protected@file@percent } -\newlabel{sec:pot-julia-code}{{8.7.2}{151}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{8.{1}}{}}{153}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{153}\protected@file@percent } +\newlabel{110@xvr}{{}{153}} +\newlabel{110@vr}{{}{153}} +\newlabel{py:pot-100}{{8.{1}}{153}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{153}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.7}Reading the potentiometer from Julia}{154}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.1}Reading the potentiometer}{154}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{154}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{154}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.2}Julia Code}{155}\protected@file@percent } +\newlabel{sec:pot-julia-code}{{8.7.2}{155}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{151}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{151}\protected@file@percent } -\newlabel{111@xvr}{{}{151}} -\newlabel{111@vr}{{}{151}} -\newlabel{julia:pot-100}{{8.{1}}{151}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{151}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.8}Reading the potentiometer from OpenModelica}{151}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.8.1}Reading the potentiometer}{151}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{151}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{152}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.8.2}OpenModelica Code}{152}\protected@file@percent } -\newlabel{sec:pot-OpenModelica-code}{{8.8.2}{152}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{155}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{155}\protected@file@percent } +\newlabel{111@xvr}{{}{155}} +\newlabel{111@vr}{{}{155}} +\newlabel{julia:pot-100}{{8.{1}}{155}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{155}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.8}Reading the potentiometer from OpenModelica}{155}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.8.1}Reading the potentiometer}{155}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{155}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{156}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.8.2}OpenModelica Code}{156}\protected@file@percent } +\newlabel{sec:pot-OpenModelica-code}{{8.8.2}{156}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{152}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{152}\protected@file@percent } -\newlabel{112@xvr}{{}{152}} -\newlabel{112@vr}{{}{152}} -\newlabel{OpenModelica:pot-100}{{8.{1}}{152}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{152}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{156}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{156}\protected@file@percent } +\newlabel{112@xvr}{{}{156}} +\newlabel{112@vr}{{}{156}} +\newlabel{OpenModelica:pot-100}{{8.{1}}{156}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{156}\protected@file@percent } \citation{therm-wiki} \citation{therm-wiki} -\@writefile{toc}{\contentsline {chapter}{\numberline {9}Interfacing a Thermistor}{155}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {9}Interfacing a Thermistor}{159}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{thermistor}{{9}{155}} -\@writefile{toc}{\contentsline {section}{\numberline {9.1}Preliminaries}{155}\protected@file@percent } -\newlabel{fig:therm}{{9.1a}{156}} +\newlabel{thermistor}{{9}{159}} +\@writefile{toc}{\contentsline {section}{\numberline {9.1}Preliminaries}{159}\protected@file@percent } +\newlabel{fig:therm}{{9.1a}{160}} \newlabel{sub@fig:therm}{{(a)}{a}} -\newlabel{fig:thermsym}{{9.1b}{156}} +\newlabel{fig:thermsym}{{9.1b}{160}} \newlabel{sub@fig:thermsym}{{(b)}{b}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{156}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{156}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{156}\protected@file@percent } -\newlabel{fig:therm-conn}{{9.2a}{156}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{160}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{160}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{160}\protected@file@percent } +\newlabel{fig:therm-conn}{{9.2a}{160}} \newlabel{sub@fig:therm-conn}{{(a)}{a}} -\newlabel{fig:buzzer-conn}{{9.2b}{156}} +\newlabel{fig:buzzer-conn}{{9.2b}{160}} \newlabel{sub@fig:buzzer-conn}{{(b)}{b}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{156}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Thermistor connection diagram}}}{156}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Buzzer connection diagram}}}{156}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{156}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {9.3}{\ignorespaces A thermistor to read its values with Arduino Uno using a breadboard\relax }}{157}\protected@file@percent } -\newlabel{fig:ard-therm-bread}{{9.3}{157}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.4}{\ignorespaces A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }}{158}\protected@file@percent } -\newlabel{fig:ard-therm-buzzer}{{9.4}{158}} -\@writefile{toc}{\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from the Arduino IDE}{158}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{158}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{158}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{158}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{158}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{1}}{}}{159}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{159}\protected@file@percent } -\newlabel{sec:therm-arduino-code}{{9.3.2}{159}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{160}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Thermistor connection diagram}}}{160}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Buzzer connection diagram}}}{160}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{160}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {9.3}{\ignorespaces A thermistor to read its values with Arduino Uno using a breadboard\relax }}{161}\protected@file@percent } +\newlabel{fig:ard-therm-bread}{{9.3}{161}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.4}{\ignorespaces A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }}{162}\protected@file@percent } +\newlabel{fig:ard-therm-buzzer}{{9.4}{162}} +\@writefile{toc}{\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from the Arduino IDE}{162}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{162}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{162}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{162}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{162}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{1}}{}}{163}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{163}\protected@file@percent } +\newlabel{sec:therm-arduino-code}{{9.3.2}{163}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{159}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{159}\protected@file@percent } -\newlabel{113@xvr}{{}{159}} -\newlabel{113@vr}{{}{159}} -\newlabel{ard:therm-read}{{9.{1}}{159}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{159}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{160}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{160}\protected@file@percent } -\newlabel{114@xvr}{{}{160}} -\newlabel{114@vr}{{}{160}} -\newlabel{ard:therm-buzzer}{{9.{2}}{160}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash buzzer/therm\textendash buzzer.ino}{160}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.4}Interfacing the Thermistor from Scilab}{160}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.1}Interfacing the Thermistor}{160}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{2}}{}}{161}\protected@file@percent } -\newlabel{therm-abc}{{9.1}{161}} -\newlabel{therm-beta}{{9.2}{162}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{162}\protected@file@percent } -\newlabel{sec:therm-scilab-code}{{9.4.2}{162}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{163}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{163}\protected@file@percent } +\newlabel{113@xvr}{{}{163}} +\newlabel{113@vr}{{}{163}} +\newlabel{ard:therm-read}{{9.{1}}{163}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{163}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{164}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{164}\protected@file@percent } +\newlabel{114@xvr}{{}{164}} +\newlabel{114@vr}{{}{164}} +\newlabel{ard:therm-buzzer}{{9.{2}}{164}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash buzzer/therm\textendash buzzer.ino}{164}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.4}Interfacing the Thermistor from Scilab}{164}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.1}Interfacing the Thermistor}{164}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{2}}{}}{165}\protected@file@percent } +\newlabel{therm-abc}{{9.1}{165}} +\newlabel{therm-beta}{{9.2}{166}} +\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{166}\protected@file@percent } +\newlabel{sec:therm-scilab-code}{{9.4.2}{166}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{162}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{162}\protected@file@percent } -\newlabel{115@xvr}{{}{162}} -\newlabel{115@vr}{{}{162}} -\newlabel{sci:therm-read}{{9.{1}}{162}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash read.sce}{162}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{162}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{162}\protected@file@percent } -\newlabel{116@xvr}{{}{162}} -\newlabel{116@vr}{{}{162}} -\newlabel{sci:therm-buzzer}{{9.{2}}{162}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash buzzer.sce}{162}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {9.5}{\ignorespaces Xcos diagram to read thermistor values}}{163}\protected@file@percent } -\newlabel{118@xvr}{{}{163}} -\newlabel{118@vr}{{}{163}} -\newlabel{fig:therm-read}{{9.5}{163}} -\@writefile{toc}{\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Xcos}{163}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{164}\protected@file@percent } -\newlabel{tab:therm-read}{{9.1}{164}} -\newlabel{119@xvr}{{}{164}} -\newlabel{119@vr}{{}{164}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.6}{\ignorespaces Output of Xcos diagram to read thermistor values}}{164}\protected@file@percent } -\newlabel{121@xvr}{{}{164}} -\newlabel{121@vr}{{}{164}} -\newlabel{fig:therm-read-output}{{9.6}{164}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.7}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{165}\protected@file@percent } -\newlabel{123@xvr}{{}{165}} -\newlabel{123@vr}{{}{165}} -\newlabel{fig:therm-buzzer}{{9.7}{165}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.8}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{165}\protected@file@percent } -\newlabel{126@xvr}{{}{165}} -\newlabel{126@vr}{{}{165}} -\newlabel{fig:therm-buzzer-output}{{9.8}{165}} -\@writefile{lot}{\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{166}\protected@file@percent } -\newlabel{tab:ldr-led}{{9.2}{166}} -\newlabel{124@xvr}{{}{166}} -\newlabel{124@vr}{{}{166}} -\@writefile{toc}{\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Python}{166}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{166}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.2}Python Code}{167}\protected@file@percent } -\newlabel{sec:therm-pyhton-code}{{9.6.2}{167}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{166}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{166}\protected@file@percent } +\newlabel{115@xvr}{{}{166}} +\newlabel{115@vr}{{}{166}} +\newlabel{sci:therm-read}{{9.{1}}{166}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash read.sce}{166}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{166}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{166}\protected@file@percent } +\newlabel{116@xvr}{{}{166}} +\newlabel{116@vr}{{}{166}} +\newlabel{sci:therm-buzzer}{{9.{2}}{166}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash buzzer.sce}{166}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {9.5}{\ignorespaces Xcos diagram to read thermistor values}}{167}\protected@file@percent } +\newlabel{118@xvr}{{}{167}} +\newlabel{118@vr}{{}{167}} +\newlabel{fig:therm-read}{{9.5}{167}} +\@writefile{toc}{\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Xcos}{167}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{168}\protected@file@percent } +\newlabel{tab:therm-read}{{9.1}{168}} +\newlabel{119@xvr}{{}{168}} +\newlabel{119@vr}{{}{168}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.6}{\ignorespaces Output of Xcos diagram to read thermistor values}}{168}\protected@file@percent } +\newlabel{121@xvr}{{}{168}} +\newlabel{121@vr}{{}{168}} +\newlabel{fig:therm-read-output}{{9.6}{168}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.7}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{169}\protected@file@percent } +\newlabel{123@xvr}{{}{169}} +\newlabel{123@vr}{{}{169}} +\newlabel{fig:therm-buzzer}{{9.7}{169}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.8}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{169}\protected@file@percent } +\newlabel{126@xvr}{{}{169}} +\newlabel{126@vr}{{}{169}} +\newlabel{fig:therm-buzzer-output}{{9.8}{169}} +\@writefile{lot}{\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{170}\protected@file@percent } +\newlabel{tab:ldr-led}{{9.2}{170}} +\newlabel{124@xvr}{{}{170}} +\newlabel{124@vr}{{}{170}} +\@writefile{toc}{\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Python}{170}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{170}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.2}Python Code}{171}\protected@file@percent } +\newlabel{sec:therm-pyhton-code}{{9.6.2}{171}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{1}}{}}{167}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{167}\protected@file@percent } -\newlabel{127@xvr}{{}{167}} -\newlabel{127@vr}{{}{167}} -\newlabel{py:therm-read}{{9.{1}}{167}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash read.py}{167}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{2}}{}}{168}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{168}\protected@file@percent } -\newlabel{128@xvr}{{}{168}} -\newlabel{128@vr}{{}{168}} -\newlabel{py:therm-buzzer}{{9.{2}}{168}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash buzzer.py}{168}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from Julia}{169}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{169}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.2}Julia Code}{169}\protected@file@percent } -\newlabel{sec:therm-julia-code}{{9.7.2}{169}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{1}}{}}{171}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{171}\protected@file@percent } +\newlabel{127@xvr}{{}{171}} +\newlabel{127@vr}{{}{171}} +\newlabel{py:therm-read}{{9.{1}}{171}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash read.py}{171}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{2}}{}}{172}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{172}\protected@file@percent } +\newlabel{128@xvr}{{}{172}} +\newlabel{128@vr}{{}{172}} +\newlabel{py:therm-buzzer}{{9.{2}}{172}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash buzzer.py}{172}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from Julia}{173}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{173}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.2}Julia Code}{173}\protected@file@percent } +\newlabel{sec:therm-julia-code}{{9.7.2}{173}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{169}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{169}\protected@file@percent } -\newlabel{129@xvr}{{}{169}} -\newlabel{129@vr}{{}{169}} -\newlabel{julia:therm-read}{{9.{1}}{169}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash read.jl}{169}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{170}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{170}\protected@file@percent } -\newlabel{130@xvr}{{}{170}} -\newlabel{130@vr}{{}{170}} -\newlabel{julia:therm-buzzer}{{9.{2}}{170}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash buzzer.jl}{170}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.8}Interfacing the Thermistor from OpenModelica}{170}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.1}Interfacing the Thermistor}{170}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{171}\protected@file@percent } -\newlabel{sec:therm-OpenModelica-code}{{9.8.2}{171}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{173}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{173}\protected@file@percent } +\newlabel{129@xvr}{{}{173}} +\newlabel{129@vr}{{}{173}} +\newlabel{julia:therm-read}{{9.{1}}{173}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash read.jl}{173}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{174}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{174}\protected@file@percent } +\newlabel{130@xvr}{{}{174}} +\newlabel{130@vr}{{}{174}} +\newlabel{julia:therm-buzzer}{{9.{2}}{174}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash buzzer.jl}{174}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.8}Interfacing the Thermistor from OpenModelica}{174}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.1}Interfacing the Thermistor}{174}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{175}\protected@file@percent } +\newlabel{sec:therm-OpenModelica-code}{{9.8.2}{175}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{171}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{171}\protected@file@percent } -\newlabel{131@xvr}{{}{171}} -\newlabel{131@vr}{{}{171}} -\newlabel{OpenModelica:therm-read}{{9.{1}}{171}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash read.mo}{171}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{172}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{172}\protected@file@percent } -\newlabel{132@xvr}{{}{172}} -\newlabel{132@vr}{{}{172}} -\newlabel{OpenModelica:therm-buzzer}{{9.{2}}{172}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash buzzer.mo}{172}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{173}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{175}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{175}\protected@file@percent } +\newlabel{131@xvr}{{}{175}} +\newlabel{131@vr}{{}{175}} +\newlabel{OpenModelica:therm-read}{{9.{1}}{175}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash read.mo}{175}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{176}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{176}\protected@file@percent } +\newlabel{132@xvr}{{}{176}} +\newlabel{132@vr}{{}{176}} +\newlabel{OpenModelica:therm-buzzer}{{9.{2}}{176}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash buzzer.mo}{176}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{177}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{sec:servo}{{10}{173}} -\@writefile{toc}{\contentsline {section}{\numberline {10.1}Preliminaries}{173}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{174}\protected@file@percent } -\newlabel{tab:servo-connect}{{10.1}{174}} -\@writefile{toc}{\contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{174}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.1}Controlling the Servometer}{174}\protected@file@percent } -\newlabel{sec:servo-ard}{{10.2.1}{174}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{1}}{}}{175}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{175}\protected@file@percent } -\newlabel{sec:servo-arduino-code}{{10.2.2}{175}} +\newlabel{sec:servo}{{10}{177}} +\@writefile{toc}{\contentsline {section}{\numberline {10.1}Preliminaries}{177}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{178}\protected@file@percent } +\newlabel{tab:servo-connect}{{10.1}{178}} +\@writefile{toc}{\contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{178}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.1}Controlling the Servometer}{178}\protected@file@percent } +\newlabel{sec:servo-ard}{{10.2.1}{178}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{1}}{}}{179}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{179}\protected@file@percent } +\newlabel{sec:servo-arduino-code}{{10.2.2}{179}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{175}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{175}\protected@file@percent } -\newlabel{133@xvr}{{}{175}} -\newlabel{133@vr}{{}{175}} -\newlabel{ard:servo-init}{{10.{1}}{175}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{175}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{176}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{176}\protected@file@percent } -\newlabel{134@xvr}{{}{176}} -\newlabel{134@vr}{{}{176}} -\newlabel{ard:servo-reverse}{{10.{2}}{176}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash reverse/servo\textendash reverse.ino}{176}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{176}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in increments}{176}\protected@file@percent } -\newlabel{135@xvr}{{}{176}} -\newlabel{135@vr}{{}{176}} -\newlabel{ard:servo-loop}{{10.{3}}{176}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash loop/servo\textendash loop.ino}{176}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{177}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{177}\protected@file@percent } -\newlabel{136@xvr}{{}{177}} -\newlabel{136@vr}{{}{177}} -\newlabel{ard:servo-pot}{{10.{4}}{177}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash pot/servo\textendash pot.ino}{177}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{177}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.1}Controlling the Servomotor}{177}\protected@file@percent } -\newlabel{sec:servo-sci}{{10.3.1}{177}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{177}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{178}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{178}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{178}\protected@file@percent } -\newlabel{sec:servo-scilab-code}{{10.3.2}{178}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{179}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{179}\protected@file@percent } +\newlabel{133@xvr}{{}{179}} +\newlabel{133@vr}{{}{179}} +\newlabel{ard:servo-init}{{10.{1}}{179}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{179}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{180}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{180}\protected@file@percent } +\newlabel{134@xvr}{{}{180}} +\newlabel{134@vr}{{}{180}} +\newlabel{ard:servo-reverse}{{10.{2}}{180}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash reverse/servo\textendash reverse.ino}{180}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{180}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in increments}{180}\protected@file@percent } +\newlabel{135@xvr}{{}{180}} +\newlabel{135@vr}{{}{180}} +\newlabel{ard:servo-loop}{{10.{3}}{180}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash loop/servo\textendash loop.ino}{180}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{181}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{181}\protected@file@percent } +\newlabel{136@xvr}{{}{181}} +\newlabel{136@vr}{{}{181}} +\newlabel{ard:servo-pot}{{10.{4}}{181}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash pot/servo\textendash pot.ino}{181}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{181}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.1}Controlling the Servomotor}{181}\protected@file@percent } +\newlabel{sec:servo-sci}{{10.3.1}{181}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{181}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{182}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{182}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{182}\protected@file@percent } +\newlabel{sec:servo-scilab-code}{{10.3.2}{182}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{178}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{178}\protected@file@percent } -\newlabel{137@xvr}{{}{178}} -\newlabel{137@vr}{{}{178}} -\newlabel{sci:servo-init}{{10.{1}}{178}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{178}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{178}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{178}\protected@file@percent } -\newlabel{138@xvr}{{}{178}} -\newlabel{138@vr}{{}{178}} -\newlabel{sci:servo-reverse}{{10.{2}}{178}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash reverse.sce}{179}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{179}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{179}\protected@file@percent } -\newlabel{139@xvr}{{}{179}} -\newlabel{139@vr}{{}{179}} -\newlabel{sci:servo-loop}{{10.{3}}{179}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash loop.sce}{179}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{179}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{179}\protected@file@percent } -\newlabel{140@xvr}{{}{179}} -\newlabel{140@vr}{{}{179}} -\newlabel{sci:servo-pot}{{10.{4}}{179}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{179}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{179}\protected@file@percent } -\newlabel{sec:servo-xcos}{{10.4}{179}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{180}\protected@file@percent } -\newlabel{142@xvr}{{}{180}} -\newlabel{142@vr}{{}{180}} -\newlabel{fig:servo-init}{{10.1}{180}} -\@writefile{lot}{\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{180}\protected@file@percent } -\newlabel{tab:servo-init}{{10.2}{180}} -\newlabel{143@xvr}{{}{180}} -\newlabel{143@vr}{{}{180}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{181}\protected@file@percent } -\newlabel{145@xvr}{{}{181}} -\newlabel{145@vr}{{}{181}} -\newlabel{fig:servo-reverse}{{10.2}{181}} -\@writefile{lot}{\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{182}\protected@file@percent } -\newlabel{tab:servo-reverse}{{10.3}{182}} -\newlabel{146@xvr}{{}{182}} -\newlabel{146@vr}{{}{182}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{182}\protected@file@percent } -\newlabel{148@xvr}{{}{182}} -\newlabel{148@vr}{{}{182}} -\newlabel{fig:servo-loop}{{10.3}{182}} -\@writefile{lot}{\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{183}\protected@file@percent } -\newlabel{tab:servo-loop}{{10.4}{183}} -\newlabel{149@xvr}{{}{183}} -\newlabel{149@vr}{{}{183}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{183}\protected@file@percent } -\newlabel{151@xvr}{{}{183}} -\newlabel{151@vr}{{}{183}} -\newlabel{fig:servo-pot}{{10.4}{183}} -\@writefile{lot}{\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{184}\protected@file@percent } -\newlabel{tab:servo-pot}{{10.5}{184}} -\newlabel{152@xvr}{{}{184}} -\newlabel{152@vr}{{}{184}} -\@writefile{toc}{\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{184}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{184}\protected@file@percent } -\newlabel{sec:servo-py}{{10.5.1}{184}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{184}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{185}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{185}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.2}Python Code}{185}\protected@file@percent } -\newlabel{sec:servo-python-code}{{10.5.2}{185}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{182}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{182}\protected@file@percent } +\newlabel{137@xvr}{{}{182}} +\newlabel{137@vr}{{}{182}} +\newlabel{sci:servo-init}{{10.{1}}{182}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{182}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{182}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{182}\protected@file@percent } +\newlabel{138@xvr}{{}{182}} +\newlabel{138@vr}{{}{182}} +\newlabel{sci:servo-reverse}{{10.{2}}{182}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash reverse.sce}{183}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{183}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{183}\protected@file@percent } +\newlabel{139@xvr}{{}{183}} +\newlabel{139@vr}{{}{183}} +\newlabel{sci:servo-loop}{{10.{3}}{183}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash loop.sce}{183}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{183}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{183}\protected@file@percent } +\newlabel{140@xvr}{{}{183}} +\newlabel{140@vr}{{}{183}} +\newlabel{sci:servo-pot}{{10.{4}}{183}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{183}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{183}\protected@file@percent } +\newlabel{sec:servo-xcos}{{10.4}{183}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{184}\protected@file@percent } +\newlabel{142@xvr}{{}{184}} +\newlabel{142@vr}{{}{184}} +\newlabel{fig:servo-init}{{10.1}{184}} +\@writefile{lot}{\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{184}\protected@file@percent } +\newlabel{tab:servo-init}{{10.2}{184}} +\newlabel{143@xvr}{{}{184}} +\newlabel{143@vr}{{}{184}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{185}\protected@file@percent } +\newlabel{145@xvr}{{}{185}} +\newlabel{145@vr}{{}{185}} +\newlabel{fig:servo-reverse}{{10.2}{185}} +\@writefile{lot}{\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{186}\protected@file@percent } +\newlabel{tab:servo-reverse}{{10.3}{186}} +\newlabel{146@xvr}{{}{186}} +\newlabel{146@vr}{{}{186}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{186}\protected@file@percent } +\newlabel{148@xvr}{{}{186}} +\newlabel{148@vr}{{}{186}} +\newlabel{fig:servo-loop}{{10.3}{186}} +\@writefile{lot}{\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{187}\protected@file@percent } +\newlabel{tab:servo-loop}{{10.4}{187}} +\newlabel{149@xvr}{{}{187}} +\newlabel{149@vr}{{}{187}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{187}\protected@file@percent } +\newlabel{151@xvr}{{}{187}} +\newlabel{151@vr}{{}{187}} +\newlabel{fig:servo-pot}{{10.4}{187}} +\@writefile{lot}{\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{188}\protected@file@percent } +\newlabel{tab:servo-pot}{{10.5}{188}} +\newlabel{152@xvr}{{}{188}} +\newlabel{152@vr}{{}{188}} +\@writefile{toc}{\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{188}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{188}\protected@file@percent } +\newlabel{sec:servo-py}{{10.5.1}{188}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{188}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{189}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{189}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.2}Python Code}{189}\protected@file@percent } +\newlabel{sec:servo-python-code}{{10.5.2}{189}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{1}}{}}{185}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{185}\protected@file@percent } -\newlabel{153@xvr}{{}{185}} -\newlabel{153@vr}{{}{185}} -\newlabel{py:servo-init}{{10.{1}}{185}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{185}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{2}}{}}{186}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{186}\protected@file@percent } -\newlabel{154@xvr}{{}{186}} -\newlabel{154@vr}{{}{186}} -\newlabel{py:servo-reverse}{{10.{2}}{186}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash reverse.py}{186}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{3}}{}}{187}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{187}\protected@file@percent } -\newlabel{155@xvr}{{}{187}} -\newlabel{155@vr}{{}{187}} -\newlabel{sci:servo-loop}{{10.{3}}{187}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash loop.py}{187}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{4}}{}}{188}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{188}\protected@file@percent } -\newlabel{156@xvr}{{}{188}} -\newlabel{156@vr}{{}{188}} -\newlabel{py:servo-pot}{{10.{4}}{188}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{188}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{189}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.1}Controlling the Servomotor}{189}\protected@file@percent } -\newlabel{sec:servo-julia}{{10.6.1}{189}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{189}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{190}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{190}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.2}Julia Code}{190}\protected@file@percent } -\newlabel{sec:servo-julia-code}{{10.6.2}{190}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{1}}{}}{189}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{189}\protected@file@percent } +\newlabel{153@xvr}{{}{189}} +\newlabel{153@vr}{{}{189}} +\newlabel{py:servo-init}{{10.{1}}{189}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{189}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{2}}{}}{190}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{190}\protected@file@percent } +\newlabel{154@xvr}{{}{190}} +\newlabel{154@vr}{{}{190}} +\newlabel{py:servo-reverse}{{10.{2}}{190}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash reverse.py}{190}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{3}}{}}{191}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{191}\protected@file@percent } +\newlabel{155@xvr}{{}{191}} +\newlabel{155@vr}{{}{191}} +\newlabel{sci:servo-loop}{{10.{3}}{191}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash loop.py}{191}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{4}}{}}{192}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{192}\protected@file@percent } +\newlabel{156@xvr}{{}{192}} +\newlabel{156@vr}{{}{192}} +\newlabel{py:servo-pot}{{10.{4}}{192}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{192}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{193}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.1}Controlling the Servomotor}{193}\protected@file@percent } +\newlabel{sec:servo-julia}{{10.6.1}{193}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{193}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{194}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{194}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.2}Julia Code}{194}\protected@file@percent } +\newlabel{sec:servo-julia-code}{{10.6.2}{194}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{190}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{190}\protected@file@percent } -\newlabel{157@xvr}{{}{190}} -\newlabel{157@vr}{{}{190}} -\newlabel{julia:servo-init}{{10.{1}}{190}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{190}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{190}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{190}\protected@file@percent } -\newlabel{158@xvr}{{}{190}} -\newlabel{158@vr}{{}{190}} -\newlabel{julia:servo-reverse}{{10.{2}}{190}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash reverse.jl}{190}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{191}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{191}\protected@file@percent } -\newlabel{159@xvr}{{}{191}} -\newlabel{159@vr}{{}{191}} -\newlabel{julia:servo-loop}{{10.{3}}{191}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash loop.jl}{191}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{191}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{191}\protected@file@percent } -\newlabel{160@xvr}{{}{191}} -\newlabel{160@vr}{{}{191}} -\newlabel{julia:servo-pot}{{10.{4}}{191}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{191}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{191}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.1}Controlling the Servomotor}{191}\protected@file@percent } -\newlabel{sec:servo-OpenModelica}{{10.7.1}{191}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{192}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{192}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{192}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{192}\protected@file@percent } -\newlabel{sec:servo-OpenModelica-code}{{10.7.2}{192}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{194}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{194}\protected@file@percent } +\newlabel{157@xvr}{{}{194}} +\newlabel{157@vr}{{}{194}} +\newlabel{julia:servo-init}{{10.{1}}{194}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{194}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{194}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{194}\protected@file@percent } +\newlabel{158@xvr}{{}{194}} +\newlabel{158@vr}{{}{194}} +\newlabel{julia:servo-reverse}{{10.{2}}{194}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash reverse.jl}{194}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{195}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{195}\protected@file@percent } +\newlabel{159@xvr}{{}{195}} +\newlabel{159@vr}{{}{195}} +\newlabel{julia:servo-loop}{{10.{3}}{195}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash loop.jl}{195}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{195}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{195}\protected@file@percent } +\newlabel{160@xvr}{{}{195}} +\newlabel{160@vr}{{}{195}} +\newlabel{julia:servo-pot}{{10.{4}}{195}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{195}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{195}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.1}Controlling the Servomotor}{195}\protected@file@percent } +\newlabel{sec:servo-OpenModelica}{{10.7.1}{195}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{196}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{196}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{196}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{196}\protected@file@percent } +\newlabel{sec:servo-OpenModelica-code}{{10.7.2}{196}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{192}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{192}\protected@file@percent } -\newlabel{161@xvr}{{}{192}} -\newlabel{161@vr}{{}{192}} -\newlabel{OpenModelica:servo-init}{{10.{1}}{192}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{192}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{193}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{193}\protected@file@percent } -\newlabel{162@xvr}{{}{193}} -\newlabel{162@vr}{{}{193}} -\newlabel{OpenModelica:servo-reverse}{{10.{2}}{193}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash reverse.mo}{193}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{194}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{194}\protected@file@percent } -\newlabel{163@xvr}{{}{194}} -\newlabel{163@vr}{{}{194}} -\newlabel{OpenModelica:servo-loop}{{10.{3}}{194}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash loop.mo}{194}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{194}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{194}\protected@file@percent } -\newlabel{164@xvr}{{}{194}} -\newlabel{164@vr}{{}{194}} -\newlabel{OpenModelica:servo-pot}{{10.{4}}{194}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{195}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{197}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{196}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{196}\protected@file@percent } +\newlabel{161@xvr}{{}{196}} +\newlabel{161@vr}{{}{196}} +\newlabel{OpenModelica:servo-init}{{10.{1}}{196}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{196}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{197}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{197}\protected@file@percent } +\newlabel{162@xvr}{{}{197}} +\newlabel{162@vr}{{}{197}} +\newlabel{OpenModelica:servo-reverse}{{10.{2}}{197}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash reverse.mo}{197}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{198}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{198}\protected@file@percent } +\newlabel{163@xvr}{{}{198}} +\newlabel{163@vr}{{}{198}} +\newlabel{OpenModelica:servo-loop}{{10.{3}}{198}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash loop.mo}{198}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{198}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{198}\protected@file@percent } +\newlabel{164@xvr}{{}{198}} +\newlabel{164@vr}{{}{198}} +\newlabel{OpenModelica:servo-pot}{{10.{4}}{198}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{199}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{201}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{modbus}{{11}{197}} -\@writefile{toc}{\contentsline {section}{\numberline {11.1}Preliminaries}{197}\protected@file@percent } -\newlabel{fig:mod-block}{{\caption@xref {fig:mod-block}{ on input line 72}}{198}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{198}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.2}{\ignorespaces Master-Slave Query-Response Cycle\relax }}{198}\protected@file@percent } -\newlabel{fig:mod-master-slave}{{11.2}{198}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{199}\protected@file@percent } -\newlabel{fig:rs-485}{{11.3}{199}} -\@writefile{lot}{\contentsline {table}{\numberline {11.1}{\ignorespaces Interpretation of a request packet\relax }}{200}\protected@file@percent } -\newlabel{tab:request-packet}{{11.1}{200}} -\@writefile{lot}{\contentsline {table}{\numberline {11.2}{\ignorespaces Interpretation of a response packet\relax }}{200}\protected@file@percent } -\newlabel{tab:response-packet}{{11.2}{200}} -\@writefile{lot}{\contentsline {table}{\numberline {11.3}{\ignorespaces Hexadecimal to Decimal\relax }}{201}\protected@file@percent } -\newlabel{tab:ieee-decimal}{{11.3}{201}} -\@writefile{lot}{\contentsline {table}{\numberline {11.4}{\ignorespaces Single and Double Precision Representation\relax }}{201}\protected@file@percent } -\newlabel{tab:single-precision}{{11.4}{201}} -\@writefile{toc}{\contentsline {section}{\numberline {11.2}Objective}{202}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {11.3}Energy Meter set up for Modbus protocol with Arduino Uno}{202}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.4}{\ignorespaces MODBUS Set Up for Energy Meter\relax }}{203}\protected@file@percent } -\newlabel{fig:full-set-up}{{11.4}{203}} -\@writefile{toc}{\contentsline {section}{\numberline {11.4}Software}{203}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.5}{\ignorespaces Block Diagram for Energy Meter Setup\relax }}{204}\protected@file@percent } -\newlabel{fig:block-diagram}{{11.5}{204}} -\@writefile{toc}{\contentsline {section}{\numberline {11.5}Output}{204}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{205}\protected@file@percent } -\newlabel{fig:modbus-firmware}{{11.6}{205}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.7}{\ignorespaces Flow Chart of the Modbus Energy Meter Implementation\relax }}{206}\protected@file@percent } -\newlabel{fig:flow-chart}{{11.7}{206}} -\@writefile{toc}{\contentsline {section}{\numberline {11.6}Reading Parameters from Xcos}{206}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.8}{\ignorespaces Single Phase Current Output on Scilab Console\relax }}{207}\protected@file@percent } -\newlabel{fig:current-console}{{11.8}{207}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.9}{\ignorespaces Single Phase Current Output on Energy Meter\relax }}{207}\protected@file@percent } -\newlabel{fig:current-meter}{{11.9}{207}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.10}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{208}\protected@file@percent } -\newlabel{fig:voltage-console}{{11.10}{208}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.11}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{208}\protected@file@percent } -\newlabel{fig:voltage-meter}{{11.11}{208}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.12}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{209}\protected@file@percent } -\newlabel{fig:power-console}{{11.12}{209}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.13}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{209}\protected@file@percent } -\newlabel{fig:power-meter}{{11.13}{209}} -\@writefile{toc}{\contentsline {section}{\numberline {11.7}Code}{209}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.1}Arduino Code}{209}\protected@file@percent } -\newlabel{sec:firmware-modbus}{{11.7.1}{209}} +\newlabel{modbus}{{11}{201}} +\@writefile{toc}{\contentsline {section}{\numberline {11.1}Preliminaries}{201}\protected@file@percent } +\newlabel{fig:mod-block}{{\caption@xref {fig:mod-block}{ on input line 72}}{202}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{202}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.2}{\ignorespaces Master-Slave Query-Response Cycle\relax }}{202}\protected@file@percent } +\newlabel{fig:mod-master-slave}{{11.2}{202}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{203}\protected@file@percent } +\newlabel{fig:rs-485}{{11.3}{203}} +\@writefile{lot}{\contentsline {table}{\numberline {11.1}{\ignorespaces Interpretation of a request packet\relax }}{204}\protected@file@percent } +\newlabel{tab:request-packet}{{11.1}{204}} +\@writefile{lot}{\contentsline {table}{\numberline {11.2}{\ignorespaces Interpretation of a response packet\relax }}{204}\protected@file@percent } +\newlabel{tab:response-packet}{{11.2}{204}} +\@writefile{lot}{\contentsline {table}{\numberline {11.3}{\ignorespaces Hexadecimal to Decimal\relax }}{205}\protected@file@percent } +\newlabel{tab:ieee-decimal}{{11.3}{205}} +\@writefile{lot}{\contentsline {table}{\numberline {11.4}{\ignorespaces Single and Double Precision Representation\relax }}{205}\protected@file@percent } +\newlabel{tab:single-precision}{{11.4}{205}} +\@writefile{toc}{\contentsline {section}{\numberline {11.2}Objective}{206}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.3}Energy Meter set up for Modbus protocol with Arduino Uno}{206}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.4}{\ignorespaces MODBUS Set Up for Energy Meter\relax }}{207}\protected@file@percent } +\newlabel{fig:full-set-up}{{11.4}{207}} +\@writefile{toc}{\contentsline {section}{\numberline {11.4}Software}{207}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.5}{\ignorespaces Block Diagram for Energy Meter Setup\relax }}{208}\protected@file@percent } +\newlabel{fig:block-diagram}{{11.5}{208}} +\@writefile{toc}{\contentsline {section}{\numberline {11.5}Output}{208}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{209}\protected@file@percent } +\newlabel{fig:modbus-firmware}{{11.6}{209}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.7}{\ignorespaces Flow Chart of the Modbus Energy Meter Implementation\relax }}{210}\protected@file@percent } +\newlabel{fig:flow-chart}{{11.7}{210}} +\@writefile{toc}{\contentsline {section}{\numberline {11.6}Reading Parameters from Xcos}{210}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.8}{\ignorespaces Single Phase Current Output on Scilab Console\relax }}{211}\protected@file@percent } +\newlabel{fig:current-console}{{11.8}{211}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.9}{\ignorespaces Single Phase Current Output on Energy Meter\relax }}{211}\protected@file@percent } +\newlabel{fig:current-meter}{{11.9}{211}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.10}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{212}\protected@file@percent } +\newlabel{fig:voltage-console}{{11.10}{212}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.11}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{212}\protected@file@percent } +\newlabel{fig:voltage-meter}{{11.11}{212}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.12}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{213}\protected@file@percent } +\newlabel{fig:power-console}{{11.12}{213}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.13}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{213}\protected@file@percent } +\newlabel{fig:power-meter}{{11.13}{213}} +\@writefile{toc}{\contentsline {section}{\numberline {11.7}Code}{213}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.1}Arduino Code}{213}\protected@file@percent } +\newlabel{sec:firmware-modbus}{{11.7.1}{213}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{209}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{209}\protected@file@percent } -\newlabel{167@xvr}{{}{209}} -\newlabel{167@vr}{{}{209}} -\newlabel{ard:firmware-modbus}{{11.{1}}{209}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/arduino/send\textunderscore packet.ino}{209}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{210}\protected@file@percent } -\newlabel{166@xvr}{{}{210}} -\newlabel{166@vr}{{}{210}} -\newlabel{fig:mod-read}{{11.14}{210}} -\@writefile{lot}{\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{210}\protected@file@percent } -\newlabel{tab:mod-xcos-read}{{11.5}{210}} -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.2}Scilab Code}{211}\protected@file@percent } -\newlabel{sec:modbus-scilab-code}{{11.7.2}{211}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{213}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{213}\protected@file@percent } +\newlabel{167@xvr}{{}{213}} +\newlabel{167@vr}{{}{213}} +\newlabel{ard:firmware-modbus}{{11.{1}}{213}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/arduino/send\textunderscore packet.ino}{213}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{214}\protected@file@percent } +\newlabel{166@xvr}{{}{214}} +\newlabel{166@vr}{{}{214}} +\newlabel{fig:mod-read}{{11.14}{214}} +\@writefile{lot}{\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{214}\protected@file@percent } +\newlabel{tab:mod-xcos-read}{{11.5}{214}} +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.2}Scilab Code}{215}\protected@file@percent } +\newlabel{sec:modbus-scilab-code}{{11.7.2}{215}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{211}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{211}\protected@file@percent } -\newlabel{168@xvr}{{}{211}} -\newlabel{168@vr}{{}{211}} -\newlabel{sci:current-modbus}{{11.{1}}{211}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore val.sce}{211}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{211}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{211}\protected@file@percent } -\newlabel{169@xvr}{{}{211}} -\newlabel{169@vr}{{}{211}} -\newlabel{sci:current-modbus}{{11.{2}}{211}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore current.sci}{211}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{211}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{211}\protected@file@percent } -\newlabel{170@xvr}{{}{211}} -\newlabel{170@vr}{{}{211}} -\newlabel{sci:voltage-modbus}{{11.{3}}{211}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore voltage.sci}{211}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{212}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{212}\protected@file@percent } -\newlabel{171@xvr}{{}{212}} -\newlabel{171@vr}{{}{212}} -\newlabel{sci:modbus-power}{{11.{4}}{212}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore active\textunderscore power.sci}{212}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.3}Python Code}{212}\protected@file@percent } -\newlabel{sec:modbus-python-code}{{11.7.3}{212}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{215}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{215}\protected@file@percent } +\newlabel{168@xvr}{{}{215}} +\newlabel{168@vr}{{}{215}} +\newlabel{sci:current-modbus}{{11.{1}}{215}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore val.sce}{215}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{215}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{215}\protected@file@percent } +\newlabel{169@xvr}{{}{215}} +\newlabel{169@vr}{{}{215}} +\newlabel{sci:current-modbus}{{11.{2}}{215}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore current.sci}{215}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{215}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{215}\protected@file@percent } +\newlabel{170@xvr}{{}{215}} +\newlabel{170@vr}{{}{215}} +\newlabel{sci:voltage-modbus}{{11.{3}}{215}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore voltage.sci}{215}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{216}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{216}\protected@file@percent } +\newlabel{171@xvr}{{}{216}} +\newlabel{171@vr}{{}{216}} +\newlabel{sci:modbus-power}{{11.{4}}{216}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore active\textunderscore power.sci}{216}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.3}Python Code}{216}\protected@file@percent } +\newlabel{sec:modbus-python-code}{{11.7.3}{216}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{1}}{}}{212}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{212}\protected@file@percent } -\newlabel{172@xvr}{{}{212}} -\newlabel{172@vr}{{}{212}} -\newlabel{py:current-modbus}{{11.{1}}{212}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore current.py}{212}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{2}}{}}{212}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{212}\protected@file@percent } -\newlabel{173@xvr}{{}{212}} -\newlabel{173@vr}{{}{212}} -\newlabel{py:voltage-modbus}{{11.{2}}{212}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore voltage.py}{212}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{3}}{}}{213}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{213}\protected@file@percent } -\newlabel{174@xvr}{{}{213}} -\newlabel{174@vr}{{}{213}} -\newlabel{py:modbus-power}{{11.{3}}{213}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore active\textunderscore power.py}{213}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.4}Julia Code}{213}\protected@file@percent } -\newlabel{sec:modbus-julia-code}{{11.7.4}{213}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{1}}{}}{216}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{216}\protected@file@percent } +\newlabel{172@xvr}{{}{216}} +\newlabel{172@vr}{{}{216}} +\newlabel{py:current-modbus}{{11.{1}}{216}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore current.py}{216}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{2}}{}}{216}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{216}\protected@file@percent } +\newlabel{173@xvr}{{}{216}} +\newlabel{173@vr}{{}{216}} +\newlabel{py:voltage-modbus}{{11.{2}}{216}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore voltage.py}{216}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{3}}{}}{217}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{217}\protected@file@percent } +\newlabel{174@xvr}{{}{217}} +\newlabel{174@vr}{{}{217}} +\newlabel{py:modbus-power}{{11.{3}}{217}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore active\textunderscore power.py}{217}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.4}Julia Code}{217}\protected@file@percent } +\newlabel{sec:modbus-julia-code}{{11.7.4}{217}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{213}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{213}\protected@file@percent } -\newlabel{175@xvr}{{}{213}} -\newlabel{175@vr}{{}{213}} -\newlabel{julia:current-modbus}{{11.{1}}{213}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readCurrent.jl}{213}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{213}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{213}\protected@file@percent } -\newlabel{176@xvr}{{}{213}} -\newlabel{176@vr}{{}{213}} -\newlabel{julia:voltage-modbus}{{11.{2}}{213}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readVoltage.jl}{213}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{214}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{214}\protected@file@percent } -\newlabel{177@xvr}{{}{214}} -\newlabel{177@vr}{{}{214}} -\newlabel{julia:modbus-power}{{11.{3}}{214}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readPower.jl}{214}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{214}\protected@file@percent } -\newlabel{sec:modbus-OpenModelica-code}{{11.7.5}{214}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{217}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{217}\protected@file@percent } +\newlabel{175@xvr}{{}{217}} +\newlabel{175@vr}{{}{217}} +\newlabel{julia:current-modbus}{{11.{1}}{217}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readCurrent.jl}{217}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{217}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{217}\protected@file@percent } +\newlabel{176@xvr}{{}{217}} +\newlabel{176@vr}{{}{217}} +\newlabel{julia:voltage-modbus}{{11.{2}}{217}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readVoltage.jl}{217}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{218}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{218}\protected@file@percent } +\newlabel{177@xvr}{{}{218}} +\newlabel{177@vr}{{}{218}} +\newlabel{julia:modbus-power}{{11.{3}}{218}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readPower.jl}{218}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{218}\protected@file@percent } +\newlabel{sec:modbus-OpenModelica-code}{{11.7.5}{218}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{214}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{214}\protected@file@percent } -\newlabel{178@xvr}{{}{214}} -\newlabel{178@vr}{{}{214}} -\newlabel{OpenModelica:current-modbus}{{11.{1}}{214}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readCurrent.mo}{214}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{214}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{214}\protected@file@percent } -\newlabel{179@xvr}{{}{214}} -\newlabel{179@vr}{{}{214}} -\newlabel{OpenModelica:voltage-modbus}{{11.{2}}{214}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readVoltage.mo}{214}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{218}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{218}\protected@file@percent } +\newlabel{178@xvr}{{}{218}} +\newlabel{178@vr}{{}{218}} +\newlabel{OpenModelica:current-modbus}{{11.{1}}{218}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readCurrent.mo}{218}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{218}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{218}\protected@file@percent } +\newlabel{179@xvr}{{}{218}} +\newlabel{179@vr}{{}{218}} +\newlabel{OpenModelica:voltage-modbus}{{11.{2}}{218}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readVoltage.mo}{218}\protected@file@percent } \bibdata{bibliography.bib} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{215}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{215}\protected@file@percent } -\newlabel{180@xvr}{{}{215}} -\newlabel{180@vr}{{}{215}} -\newlabel{OpenModelica:modbus-power}{{11.{3}}{215}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readPower.mo}{215}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{219}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{219}\protected@file@percent } +\newlabel{180@xvr}{{}{219}} +\newlabel{180@vr}{{}{219}} +\newlabel{OpenModelica:modbus-power}{{11.{3}}{219}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readPower.mo}{219}\protected@file@percent } \bibcite{CNES-Scilab}{1} \bibcite{scilab-arduino}{2} \bibcite{oshw-ref}{3} @@ -1507,8 +1520,9 @@ \bibcite{scilab-ref}{12} \bibcite{scilab-interop}{13} \bibcite{xcos-ref}{14} -\@writefile{toc}{\contentsline {chapter}{\numberline {References}}{217}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {References}}{221}\protected@file@percent } \bibcite{python-ref}{15} -\bibcite{julia-ref}{16} -\bibcite{julia-serial-ports}{17} -\bibcite{om-ref}{18} +\bibcite{pySerial}{16} +\bibcite{julia-ref}{17} +\bibcite{julia-serial-ports}{18} +\bibcite{om-ref}{19} diff --git a/floss-arduino.bbl b/floss-arduino.bbl index 3694c46..1c2986f 100644 --- a/floss-arduino.bbl +++ b/floss-arduino.bbl @@ -81,6 +81,11 @@ python.org. \newblock https://www.python.org/doc/essays/blurb/. \newblock Seen on 24 February 2021. +\bibitem{pySerial} +pyserial - pypi. +\newblock https://pypi.org/project/pyserial/. +\newblock Seen on 21 April 2021. + \bibitem{julia-ref} julialang.org/. \newblock https://julialang.org/. diff --git a/floss-arduino.blg b/floss-arduino.blg index 8b04ec9..e8f24ac 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 18 entries, +You've used 19 entries, 1791 wiz_defined-function locations, - 507 strings with 5045 characters, -and the built_in function-call counts, 2059 in all, are: -= -- 186 -> -- 27 + 512 strings with 5131 characters, +and the built_in function-call counts, 2168 in all, are: += -- 196 +> -- 28 < -- 0 -+ -- 21 ++ -- 22 - -- 3 * -- 2 -:= -- 239 -add.period$ -- 57 -call.type$ -- 18 -change.case$ -- 18 +:= -- 250 +add.period$ -- 60 +call.type$ -- 19 +change.case$ -- 19 chr.to.int$ -- 0 -cite$ -- 18 -duplicate$ -- 90 -empty$ -- 325 +cite$ -- 19 +duplicate$ -- 95 +empty$ -- 343 format.name$ -- 3 -if$ -- 532 +if$ -- 561 int.to.chr$ -- 0 -int.to.str$ -- 18 +int.to.str$ -- 19 missing$ -- 0 -newline$ -- 96 +newline$ -- 101 num.names$ -- 3 -pop$ -- 141 +pop$ -- 149 preamble$ -- 1 purify$ -- 0 quote$ -- 0 -skip$ -- 50 +skip$ -- 53 stack$ -- 0 substring$ -- 0 -swap$ -- 18 +swap$ -- 19 text.length$ -- 0 text.prefix$ -- 0 top$ -- 0 type$ -- 0 warning$ -- 0 while$ -- 3 -width$ -- 20 -write$ -- 170 +width$ -- 21 +write$ -- 179 (There was 1 warning) diff --git a/floss-arduino.cod b/floss-arduino.cod index ef71180..beebb8d 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}{34}% +\contentsline {section}{\numberline {3.{1}}A Scilab code to check whether the firmware is properly installed or not}{36}% \addvspace {10pt} \addvspace {10pt} \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the LED through Scilab}{65}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{65}% -\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{66}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{66}% +\contentsline {section}{\numberline {4.{1}}Turning on the LED through Scilab}{69}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{69}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{70}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{70}% \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}{91}% +\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}{95}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{107}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{108}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{111}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{112}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{127}% -\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{127}% -\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{127}% +\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{131}% +\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{131}% +\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{131}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{146}% +\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{150}% \addvspace {10pt} -\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}{162}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{166}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{166}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{178}% -\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{178}% -\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{179}% -\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{179}% +\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}{182}% +\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{183}% +\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{183}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{211}% -\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{211}% -\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{211}% -\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{212}% +\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{215}% +\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{215}% +\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{215}% +\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{216}% diff --git a/floss-arduino.fdb_latexmk b/floss-arduino.fdb_latexmk index cea630b..e571894 100644 --- a/floss-arduino.fdb_latexmk +++ b/floss-arduino.fdb_latexmk @@ -1,19 +1,19 @@ # Fdb version 3 -["bibtex floss-arduino"] 1618614153 "floss-arduino.aux" "floss-arduino.bbl" "floss-arduino" 1618614161 +["bibtex floss-arduino"] 1619059725 "floss-arduino.aux" "floss-arduino.bbl" "floss-arduino" 1619059995 "/usr/share/texlive/texmf-dist/bibtex/bst/base/unsrt.bst" 1292289607 18030 1376b4b231b50c66211e47e42eda2875 "" - "bibliography.bib" 1618614126 3923 53353fff9f5aa9e81d13677b78c688d4 "" - "floss-arduino.aux" 1618614160 127199 02e345da3c93118305d9f2e7568604c4 "pdflatex" + "bibliography.bib" 1619058609 4121 e0d02327e4bb995867623cd1f708046e "" + "floss-arduino.aux" 1619059775 128356 c579db8f7768dcaf0d71b9c313d06e8e "pdflatex" (generated) "floss-arduino.bbl" "floss-arduino.blg" -["makeindex floss-arduino.idx"] 1618266514 "floss-arduino.idx" "floss-arduino.ind" "floss-arduino" 1618614161 - "floss-arduino.idx" 1618614160 187 15709e6c398ba7d249fedcc7e5b7abf4 "pdflatex" +["makeindex floss-arduino.idx"] 1619058216 "floss-arduino.idx" "floss-arduino.ind" "floss-arduino" 1619059995 + "floss-arduino.idx" 1619059775 187 aa28a2a7f965c2a80157662083a97d27 "pdflatex" (generated) "floss-arduino.ind" "floss-arduino.ilg" -["pdflatex"] 1618614153 "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" "floss-arduino" 1618614161 +["pdflatex"] 1619059768 "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" "floss-arduino" 1619059995 "/etc/texmf/web2c/texmf.cnf" 1602253014 475 c0e671620eb5563b2130f56340a5fde8 "" - "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.aux" 1618614160 127199 02e345da3c93118305d9f2e7568604c4 "" + "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.aux" 1619059775 128356 c579db8f7768dcaf0d71b9c313d06e8e "" "/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 "" @@ -132,25 +132,24 @@ "/usr/share/texmf/fonts/type1/public/cm-super/sfrm0900.pfb" 1604539918 149037 995a6f1e12c1d647b99b1cf55db78699 "" "/usr/share/texmf/fonts/type1/public/cm-super/sfrm1000.pfb" 1565080000 138258 6525c253f16cededa14c7fd0da7f67b2 "" "/usr/share/texmf/fonts/type1/public/cm-super/sfrm1095.pfb" 1604539918 145929 f25e56369a345c4ff583b067cd87ce8e "" - "/usr/share/texmf/fonts/type1/public/cm-super/sfrm1200.pfb" 1604539918 136101 f533469f523533d38317ab5729d00c8a "" "/usr/share/texmf/fonts/type1/public/cm-super/sfsi1095.pfb" 1604539918 106965 72348192f7f7f7c44b4558f2996b4879 "" "/usr/share/texmf/fonts/type1/public/cm-super/sfss1095.pfb" 1604539918 97272 e31c1319e3ff43b442c57e2c8f2acc52 "" "/usr/share/texmf/fonts/type1/public/cm-super/sfti1095.pfb" 1604539918 196446 8fbbe4b97b83e5182def6d29a44e57fb "" "/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" 1618614160 2297 0a9accea569e9d552cd690d377311973 "pdflatex" - "floss-arduino.ard" 1618614160 2082 10f0fcb59db1e19d59d3515a00c8e5ac "pdflatex" - "floss-arduino.aux" 1618614160 127199 02e345da3c93118305d9f2e7568604c4 "pdflatex" - "floss-arduino.bbl" 1618614153 2538 3b70816acc8287ec4cb35713c7c94f15 "bibtex floss-arduino" - "floss-arduino.cod" 1618614160 2525 d0481255820a4f99fa11f120860482e8 "pdflatex" - "floss-arduino.ind" 1618266514 228 32544b90af6d0869115d4dfc6ffced8f "makeindex floss-arduino.idx" - "floss-arduino.juliad" 1618614160 2318 e3830f15993d8836a51638e71c12ded2 "pdflatex" - "floss-arduino.lof" 1618614160 12145 e8a1894198123965afe5c4ac3111d99b "pdflatex" - "floss-arduino.lot" 1618614160 3700 21201f60ef98348c057348fdfa13a3a2 "pdflatex" - "floss-arduino.pyd" 1618614160 2323 c21058239cea04e3c7ff7a9a81697c32 "pdflatex" + "floss-arduino.OpenModelicad" 1619059775 2299 99e3264123986eb3e14ba825863896f8 "pdflatex" + "floss-arduino.ard" 1619059775 2082 6f136c6d0b0fa09c7753495563a0cf6e "pdflatex" + "floss-arduino.aux" 1619059775 128356 c579db8f7768dcaf0d71b9c313d06e8e "pdflatex" + "floss-arduino.bbl" 1619059725 2654 051fbb0ca9f90e7ce7d2577998098d98 "bibtex floss-arduino" + "floss-arduino.cod" 1619059775 2525 8d7d0e9bcc30d870d15789e2aae68403 "pdflatex" + "floss-arduino.ind" 1619058216 228 a9dd2ba06b20d2fe363e175788a1ca3e "makeindex floss-arduino.idx" + "floss-arduino.juliad" 1619059775 2320 6d8a9aa31b6147ad554cd5334dd54fb1 "pdflatex" + "floss-arduino.lof" 1619059775 12545 da6d3a1cac84d97280c677daa53cb84a "pdflatex" + "floss-arduino.lot" 1619059775 3700 e3fe2a00347d920f4b8547ba4c50bfeb "pdflatex" + "floss-arduino.pyd" 1619059775 2323 58d246d16c107de99ca2948e257d9d2f "pdflatex" "floss-arduino.tex" 1616757903 4558 ca761944339060a19cdb71de5337b126 "" - "floss-arduino.toc" 1618614160 15131 693f846c34d93e4d02ed3bae0f02d482 "pdflatex" + "floss-arduino.toc" 1619059775 15337 80261c7897f34b2f3370113377d2ad18 "pdflatex" "suppl/acr.tex" 1615963613 1926 fd6481c4666ee0d60331b7d4cc24b645 "" "suppl/intro.tex" 1615963613 3437 b09628cf9e20fe17fa65b37a5997653c "" "suppl/styles.tex" 1615963613 8143 aa3280f0b59c8631fe8ec44895c9e871 "" @@ -269,11 +268,11 @@ "user-code/modbus/modbus.tex" 1615963614 26444 f692bc7fe93f42a0d30c23af786065fe "" "user-code/modbus/python/read_active_power.py" 1615963614 1107 5c75379ec91b5b117fc94be55100a639 "" "user-code/modbus/python/read_current.py" 1615963614 1102 c628a8be5444f9b5ffbb348dff567336 "" - "user-code/modbus/python/read_voltage.py" 1615963614 1102 cf711c7b2bc93043409419eb1ae2169b "" + "user-code/modbus/python/read_voltage.py" 1618777541 1102 cf711c7b2bc93043409419eb1ae2169b "" "user-code/modbus/scilab/read_active_power.sci" 1615963614 1072 ec17d07cbbf336756ed22d5469b68e25 "" "user-code/modbus/scilab/read_current.sci" 1615963614 1090 97c84be93c41f56ed4617dfe2ffaf5bb "" "user-code/modbus/scilab/read_val.sce" 1615963614 1474 89f368fad786acfa64c8f7eab2d6c14a "" - "user-code/modbus/scilab/read_voltage.sci" 1615963614 1100 00726a382c03a31bf874d21d1cc5eb16 "" + "user-code/modbus/scilab/read_voltage.sci" 1619050548 1100 00726a382c03a31bf874d21d1cc5eb16 "" "user-code/pot/OpenModelica/pot-threshold.mo" 1615963614 1725 a803c7baa1ed467a26e4d70571b871c7 "" "user-code/pot/arduino/pot-threshold/pot-threshold.ino" 1615963614 729 004f694d3a949bb3e91a253f78d11914 "" "user-code/pot/figures/POT-led-bb.png" 1618126815 243193 63a4dc18807be931f97545bfa9167a30 "" @@ -334,6 +333,7 @@ "user-code/sw-env/figures/clock-blk.png" 1615963614 8341 2796147e1cfe4ae15ff1581cf7347de4 "" "user-code/sw-env/figures/com-properties.png" 1615963614 75092 d364fc390b7b1913845428ff03e09b17 "" "user-code/sw-env/figures/cscope-config.png" 1615963614 15445 4f02500263554c7a25c5355d43fe0720 "" + "user-code/sw-env/figures/device-manager-com.png" 1619051516 170869 2521a3958703e2565de76bfdcb864733 "" "user-code/sw-env/figures/device-manager.png" 1615963614 66176 4b944d863a9a68ac712fec18d1072374 "" "user-code/sw-env/figures/julia-download.png" 1618514354 89978 b830b55fe16aeca6f1c35d827df17d2d "" "user-code/sw-env/figures/julia-pkg.png" 1618189640 46183 5e4ac4a37a0b2c9bb6b11151ef3ffbbd "" @@ -349,14 +349,17 @@ "user-code/sw-env/figures/om-simulate.png" 1617614168 193689 816ffeeb17ad0b184a7c5faf3911ad28 "" "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/python-windows-install.png" 1619056638 205334 b599f25bb188cfe144265209263bb3d6 "" "user-code/sw-env/figures/sim-setup.png" 1615963614 18806 fca3d6d4d7692c539f6dd8ee5fca2286 "" "user-code/sw-env/figures/sine-blk.png" 1615963614 31364 922217660a4514750566368a9628caca "" "user-code/sw-env/figures/sine-gen.png" 1615963614 18116 34af55052c486ca14630fa8175b34a20 "" "user-code/sw-env/figures/sine-output.png" 1615963614 5195 b769374644003c54a930b7fd08e2e7ee "" "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/win-command-prompt.png" 1619057483 18481 e5638717dbbb0533251e1adcbc9b10f0 "" + "user-code/sw-env/figures/windows-cmd.png" 1619057155 18559 6c4f07f73f86b74127aa8c76e23f3285 "" "user-code/sw-env/figures/xcos-help.png" 1615963614 87275 3c9b5157ebebe381cd7b5281cdd28482 "" - "user-code/sw-env/sw-env.tex" 1618614136 70245 bf88e36ff1cf3692ec4fab3c532ad9c1 "" + "user-code/sw-env/sw-env.tex" 1619059994 77782 a96b610bed4ff17ba122590704c68229 "" "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 "" @@ -379,18 +382,18 @@ "user-code/thermistor/scilab/therm-read.sce" 1615963614 382 5e743c25b50f9d961a2939ce81d7b633 "" "user-code/thermistor/thermistor.tex" 1618567312 25838 1f7c3824e3c28084af6bca0235c3226f "" (generated) - "floss-arduino.toc" - "floss-arduino.log" - "floss-arduino.pyd" - "floss-arduino.thm" - "floss-arduino.lot" - "floss-arduino.idx" - "floss-arduino.pdf" - "floss-arduino.ard" "floss-arduino.aux" "floss-arduino.juliad" - "floss-arduino.OpenModelicad" "floss-arduino.cod" + "floss-arduino.log" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" - "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.log" "floss-arduino.lof" + "floss-arduino.lot" + "floss-arduino.idx" + "floss-arduino.toc" + "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.log" + "floss-arduino.thm" + "floss-arduino.pdf" + "floss-arduino.OpenModelicad" + "floss-arduino.ard" + "floss-arduino.pyd" diff --git a/floss-arduino.fls b/floss-arduino.fls index d347ecc..22ca760 100644 --- a/floss-arduino.fls +++ b/floss-arduino.fls @@ -222,6 +222,9 @@ INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/sw-env.tex INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/hw-device-manager.jpg INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/hw-device-manager.jpg INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/hw-device-manager.jpg +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/device-manager-com.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/device-manager-com.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/device-manager-com.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/update-driver.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/update-driver.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/update-driver.png @@ -308,6 +311,15 @@ INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/arduino INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/xcos-help.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/xcos-help.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/xcos-help.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/python-windows-install.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/python-windows-install.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/python-windows-install.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/windows-cmd.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/windows-cmd.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/windows-cmd.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/win-command-prompt.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/win-command-prompt.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/win-command-prompt.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py @@ -1054,7 +1066,6 @@ INPUT /usr/share/texmf/fonts/type1/public/cm-super/sfrm0800.pfb INPUT /usr/share/texmf/fonts/type1/public/cm-super/sfrm0900.pfb INPUT /usr/share/texmf/fonts/type1/public/cm-super/sfrm1000.pfb INPUT /usr/share/texmf/fonts/type1/public/cm-super/sfrm1095.pfb -INPUT /usr/share/texmf/fonts/type1/public/cm-super/sfrm1200.pfb INPUT /usr/share/texmf/fonts/type1/public/cm-super/sfsi1095.pfb INPUT /usr/share/texmf/fonts/type1/public/cm-super/sfss1095.pfb INPUT /usr/share/texmf/fonts/type1/public/cm-super/sfti1095.pfb diff --git a/floss-arduino.idx b/floss-arduino.idx index 1c3bd34..ce63140 100644 --- a/floss-arduino.idx +++ b/floss-arduino.idx @@ -1,5 +1,5 @@ -\indexentry{H-Bridge circuit DC motor}{119} -\indexentry{H-Bridge}{119} -\indexentry{L293D,L298}{119} -\indexentry{PCB breakout board}{119} -\indexentry{pulse width modulation, PWM}{119} +\indexentry{H-Bridge circuit DC motor}{123} +\indexentry{H-Bridge}{123} +\indexentry{L293D,L298}{123} +\indexentry{PCB breakout board}{123} +\indexentry{pulse width modulation, PWM}{123} diff --git a/floss-arduino.ind b/floss-arduino.ind index 6d302ce..bd060ad 100644 --- a/floss-arduino.ind +++ b/floss-arduino.ind @@ -1,15 +1,15 @@ \begin{theindex} - \item H-Bridge, 119 - \item H-Bridge circuit DC motor, 119 + \item H-Bridge, 123 + \item H-Bridge circuit DC motor, 123 \indexspace - \item L293D,L298, 119 + \item L293D,L298, 123 \indexspace - \item PCB breakout board, 119 - \item pulse width modulation, PWM, 119 + \item PCB breakout board, 123 + \item pulse width modulation, PWM, 123 \end{theindex} diff --git a/floss-arduino.juliad b/floss-arduino.juliad index b081c40..0bf5abf 100644 --- a/floss-arduino.juliad +++ b/floss-arduino.juliad @@ -1,30 +1,30 @@ -\contentsline {section}{\numberline {3.{1}}A Julia source file to check whether the firmware is properly installed or not}{48}% +\contentsline {section}{\numberline {3.{1}}A Julia source file to check whether the firmware is properly installed or not}{52}% \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the LED}{78}% -\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}{79}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{79}% +\contentsline {section}{\numberline {4.{1}}Turning on the LED}{82}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{83}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{83}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{83}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{97}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{98}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{101}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{102}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{115}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{115}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{119}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{119}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{136}% -\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{137}% -\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{137}% +\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{140}% +\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{141}% +\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{141}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{151}% +\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{155}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{169}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{170}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{173}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{174}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{190}% -\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{190}% -\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{191}% -\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{191}% +\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{194}% +\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{194}% +\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{195}% +\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{195}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{213}% -\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{213}% -\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{214}% +\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{217}% +\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{217}% +\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{218}% diff --git a/floss-arduino.lof b/floss-arduino.lof index cbb57fd..4c533e6 100644 --- a/floss-arduino.lof +++ b/floss-arduino.lof @@ -14,108 +14,112 @@ \contentsline {figure}{\numberline {2.12}{\ignorespaces Picture of the shield with all components\relax }}{15}% \addvspace {10\p@ } \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 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 Julia's website to download 64-bit Linux binaries\relax }}{44}% -\contentsline {figure}{\numberline {3.26}{\ignorespaces Linux terminal to launch Julia REPL\relax }}{45}% -\contentsline {figure}{\numberline {3.27}{\ignorespaces Linux terminal to enter Pkg REPL in Julia\relax }}{46}% -\contentsline {figure}{\numberline {3.28}{\ignorespaces Setup of Modelica Standard Library version\relax }}{49}% -\contentsline {figure}{\numberline {3.29}{\ignorespaces User Interface of OMEdit\relax }}{51}% -\contentsline {figure}{\numberline {3.30}{\ignorespaces Opening a model in OMEdit\relax }}{52}% -\contentsline {figure}{\numberline {3.31}{\ignorespaces Opening a model in diagram view in OMEdit\relax }}{53}% -\contentsline {figure}{\numberline {3.32}{\ignorespaces Different views of a model in OMEdit\relax }}{53}% -\contentsline {figure}{\numberline {3.33}{\ignorespaces Opening a model in text view in OMEdit\relax }}{54}% -\contentsline {figure}{\numberline {3.34}{\ignorespaces Simulating a model in OMEdit\relax }}{54}% -\contentsline {figure}{\numberline {3.35}{\ignorespaces Output window of OMEdit\relax }}{55}% +\contentsline {figure}{\numberline {3.2}{\ignorespaces Windows device manager\relax }}{20}% +\contentsline {figure}{\numberline {3.3}{\ignorespaces Windows update driver option\relax }}{21}% +\contentsline {figure}{\numberline {3.4}{\ignorespaces Confirmation for executing Arduino script\relax }}{22}% +\contentsline {figure}{\numberline {3.5}{\ignorespaces Linux terminal to launch Arduino IDE\relax }}{22}% +\contentsline {figure}{\numberline {3.6}{\ignorespaces Arduino IDE\relax }}{23}% +\contentsline {figure}{\numberline {3.7}{\ignorespaces Linux terminal to launch Scilab\relax }}{28}% +\contentsline {figure}{\numberline {3.8}{\ignorespaces Changing scilab directory\relax }}{29}% +\contentsline {figure}{\numberline {3.9}{\ignorespaces Browsing toolbox directory\relax }}{30}% +\contentsline {figure}{\numberline {3.10}{\ignorespaces Output of builder.sce\relax }}{31}% +\contentsline {figure}{\numberline {3.11}{\ignorespaces Output of loader.sce\relax }}{32}% +\contentsline {figure}{\numberline {3.12}{\ignorespaces Device Manager in windows\relax }}{33}% +\contentsline {figure}{\numberline {3.13}{\ignorespaces COM port properties window\relax }}{34}% +\contentsline {figure}{\numberline {3.14}{\ignorespaces Port number on Linux terminal\relax }}{34}% +\contentsline {figure}{\numberline {3.15}{\ignorespaces Scilab test code output\relax }}{35}% +\contentsline {figure}{\numberline {3.16}{\ignorespaces Arduino toolbox functions used in this book\relax }}{35}% +\contentsline {figure}{\numberline {3.17}{\ignorespaces Sine generator in palette browser\relax }}{37}% +\contentsline {figure}{\numberline {3.18}{\ignorespaces CSCOPE block in xcos\relax }}{38}% +\contentsline {figure}{\numberline {3.19}{\ignorespaces CLOCK\_c block in xcos\relax }}{38}% +\contentsline {figure}{\numberline {3.20}{\ignorespaces Sine generator in Xcos\relax }}{39}% +\contentsline {figure}{\numberline {3.21}{\ignorespaces Sine generator Xcos output\relax }}{39}% +\contentsline {figure}{\numberline {3.22}{\ignorespaces CSCOPE configuration window\relax }}{40}% +\contentsline {figure}{\numberline {3.23}{\ignorespaces Simulation setup window\relax }}{41}% +\contentsline {figure}{\numberline {3.24}{\ignorespaces Palette browser showing Arduino blocks\relax }}{41}% +\contentsline {figure}{\numberline {3.25}{\ignorespaces Xcos block help\relax }}{42}% +\contentsline {figure}{\numberline {3.26}{\ignorespaces Installing Python 3 on Windows\relax }}{43}% +\contentsline {figure}{\numberline {3.27}{\ignorespaces Launching the Command Prompt on Windows\relax }}{44}% +\contentsline {figure}{\numberline {3.28}{\ignorespaces Command Prompt on Windows\relax }}{44}% +\contentsline {figure}{\numberline {3.29}{\ignorespaces Julia's website to download 64-bit Linux binaries\relax }}{48}% +\contentsline {figure}{\numberline {3.30}{\ignorespaces Linux terminal to launch Julia REPL\relax }}{49}% +\contentsline {figure}{\numberline {3.31}{\ignorespaces Linux terminal to enter Pkg REPL in Julia\relax }}{50}% +\contentsline {figure}{\numberline {3.32}{\ignorespaces Setup of Modelica Standard Library version\relax }}{53}% +\contentsline {figure}{\numberline {3.33}{\ignorespaces User Interface of OMEdit\relax }}{55}% +\contentsline {figure}{\numberline {3.34}{\ignorespaces Opening a model in OMEdit\relax }}{56}% +\contentsline {figure}{\numberline {3.35}{\ignorespaces Opening a model in diagram view in OMEdit\relax }}{57}% +\contentsline {figure}{\numberline {3.36}{\ignorespaces Different views of a model in OMEdit\relax }}{57}% +\contentsline {figure}{\numberline {3.37}{\ignorespaces Opening a model in text view in OMEdit\relax }}{58}% +\contentsline {figure}{\numberline {3.38}{\ignorespaces Simulating a model in OMEdit\relax }}{58}% +\contentsline {figure}{\numberline {3.39}{\ignorespaces Output window of OMEdit\relax }}{59}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {4.1}{\ignorespaces Light Emitting Diode\relax }}{57}% -\contentsline {figure}{\numberline {4.2}{\ignorespaces Internal connection diagram for LED on the shield\relax }}{58}% -\contentsline {figure}{\numberline {4.3}{\ignorespaces Connecting Arduino and Shield\relax }}{58}% -\contentsline {figure}{\numberline {4.4}{\ignorespaces Interfacing an RGB LED with Arduino Uno using a breadboard\relax }}{59}% -\contentsline {figure}{\numberline {4.5}{\ignorespaces LED experiments directly on Arduino Uno\ board, without the shield\relax }}{62}% -\contentsline {figure}{\numberline {4.6}{\ignorespaces Turning the blue LED on through Xcos}}{67}% -\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{68}% -\contentsline {figure}{\numberline {4.8}{\ignorespaces Turning the blue and red LEDs on through Xcos and turning them off one by one}}{69}% -\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{70}% +\contentsline {figure}{\numberline {4.1}{\ignorespaces Light Emitting Diode\relax }}{61}% +\contentsline {figure}{\numberline {4.2}{\ignorespaces Internal connection diagram for LED on the shield\relax }}{62}% +\contentsline {figure}{\numberline {4.3}{\ignorespaces Connecting Arduino and Shield\relax }}{62}% +\contentsline {figure}{\numberline {4.4}{\ignorespaces Interfacing an RGB LED with Arduino Uno using a breadboard\relax }}{63}% +\contentsline {figure}{\numberline {4.5}{\ignorespaces LED experiments directly on Arduino Uno\ board, without the shield\relax }}{66}% +\contentsline {figure}{\numberline {4.6}{\ignorespaces Turning the blue LED on through Xcos}}{71}% +\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{72}% +\contentsline {figure}{\numberline {4.8}{\ignorespaces Turning the blue and red LEDs on through Xcos and turning them off one by one}}{73}% +\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{74}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {5.1}{\ignorespaces Connection Diagram\relax }}{86}% -\contentsline {figure}{\numberline {5.2}{\ignorespaces A pushbutton to read its status with Arduino Uno using a breadboard\relax }}{86}% -\contentsline {figure}{\numberline {5.3}{\ignorespaces A pushbutton to control an LED with Arduino Uno using a breadboard\relax }}{87}% -\contentsline {figure}{\numberline {5.4}{\ignorespaces Printing the push button status on the display block}}{92}% -\contentsline {figure}{\numberline {5.5}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{93}% +\contentsline {figure}{\numberline {5.1}{\ignorespaces Connection Diagram\relax }}{90}% +\contentsline {figure}{\numberline {5.2}{\ignorespaces A pushbutton to read its status with Arduino Uno using a breadboard\relax }}{90}% +\contentsline {figure}{\numberline {5.3}{\ignorespaces A pushbutton to control an LED with Arduino Uno using a breadboard\relax }}{91}% +\contentsline {figure}{\numberline {5.4}{\ignorespaces Printing the push button status on the display block}}{96}% +\contentsline {figure}{\numberline {5.5}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{97}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{102}% -\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of an LDR}}}{102}% -\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of an LDR}}}{102}% -\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{102}% -\contentsline {figure}{\numberline {6.3}{\ignorespaces An LDR to read its values with Arduino Uno\ using a breadboard\relax }}{103}% -\contentsline {figure}{\numberline {6.4}{\ignorespaces An LDR to control an LED with Arduino Uno using a breadboard\relax }}{104}% -\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read LDR values}}{109}% -\contentsline {figure}{\numberline {6.6}{\ignorespaces Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}}{110}% +\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{106}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of an LDR}}}{106}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of an LDR}}}{106}% +\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{106}% +\contentsline {figure}{\numberline {6.3}{\ignorespaces An LDR to read its values with Arduino Uno\ using a breadboard\relax }}{107}% +\contentsline {figure}{\numberline {6.4}{\ignorespaces An LDR to control an LED with Arduino Uno using a breadboard\relax }}{108}% +\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read LDR values}}{113}% +\contentsline {figure}{\numberline {6.6}{\ignorespaces Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}}{114}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {7.1}{\ignorespaces L293D motor driver board\relax }}{120}% -\contentsline {figure}{\numberline {7.2}{\ignorespaces A schematic of DC motor connections\relax }}{121}% -\contentsline {figure}{\numberline {7.3}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{121}% -\contentsline {figure}{\numberline {7.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{128}% -\contentsline {figure}{\numberline {7.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{130}% -\contentsline {figure}{\numberline {7.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{131}% +\contentsline {figure}{\numberline {7.1}{\ignorespaces L293D motor driver board\relax }}{124}% +\contentsline {figure}{\numberline {7.2}{\ignorespaces A schematic of DC motor connections\relax }}{125}% +\contentsline {figure}{\numberline {7.3}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{125}% +\contentsline {figure}{\numberline {7.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{132}% +\contentsline {figure}{\numberline {7.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{134}% +\contentsline {figure}{\numberline {7.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{135}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {8.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{142}% -\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{142}% -\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Schematic representation of the potentiometer}}}{142}% -\contentsline {figure}{\numberline {8.2}{\ignorespaces A potentiometer to control an LED with Arduino Uno using a breadboard\relax }}{143}% -\contentsline {figure}{\numberline {8.3}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{147}% +\contentsline {figure}{\numberline {8.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{146}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{146}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Schematic representation of the potentiometer}}}{146}% +\contentsline {figure}{\numberline {8.2}{\ignorespaces A potentiometer to control an LED with Arduino Uno using a breadboard\relax }}{147}% +\contentsline {figure}{\numberline {8.3}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{151}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {9.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{156}% -\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{156}% -\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{156}% -\contentsline {figure}{\numberline {9.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{156}% -\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Thermistor connection diagram}}}{156}% -\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Buzzer connection diagram}}}{156}% -\contentsline {figure}{\numberline {9.3}{\ignorespaces A thermistor to read its values with Arduino Uno using a breadboard\relax }}{157}% -\contentsline {figure}{\numberline {9.4}{\ignorespaces A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }}{158}% -\contentsline {figure}{\numberline {9.5}{\ignorespaces Xcos diagram to read thermistor values}}{163}% -\contentsline {figure}{\numberline {9.6}{\ignorespaces Output of Xcos diagram to read thermistor values}}{164}% -\contentsline {figure}{\numberline {9.7}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{165}% -\contentsline {figure}{\numberline {9.8}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{165}% +\contentsline {figure}{\numberline {9.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{160}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{160}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{160}% +\contentsline {figure}{\numberline {9.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{160}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Thermistor connection diagram}}}{160}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Buzzer connection diagram}}}{160}% +\contentsline {figure}{\numberline {9.3}{\ignorespaces A thermistor to read its values with Arduino Uno using a breadboard\relax }}{161}% +\contentsline {figure}{\numberline {9.4}{\ignorespaces A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }}{162}% +\contentsline {figure}{\numberline {9.5}{\ignorespaces Xcos diagram to read thermistor values}}{167}% +\contentsline {figure}{\numberline {9.6}{\ignorespaces Output of Xcos diagram to read thermistor values}}{168}% +\contentsline {figure}{\numberline {9.7}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{169}% +\contentsline {figure}{\numberline {9.8}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{169}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{180}% -\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{181}% -\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{182}% -\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{183}% +\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{184}% +\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{185}% +\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{186}% +\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{187}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{198}% -\contentsline {figure}{\numberline {11.2}{\ignorespaces Master-Slave Query-Response Cycle\relax }}{198}% -\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{199}% -\contentsline {figure}{\numberline {11.4}{\ignorespaces MODBUS Set Up for Energy Meter\relax }}{203}% -\contentsline {figure}{\numberline {11.5}{\ignorespaces Block Diagram for Energy Meter Setup\relax }}{204}% -\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{205}% -\contentsline {figure}{\numberline {11.7}{\ignorespaces Flow Chart of the Modbus Energy Meter Implementation\relax }}{206}% -\contentsline {figure}{\numberline {11.8}{\ignorespaces Single Phase Current Output on Scilab Console\relax }}{207}% -\contentsline {figure}{\numberline {11.9}{\ignorespaces Single Phase Current Output on Energy Meter\relax }}{207}% -\contentsline {figure}{\numberline {11.10}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{208}% -\contentsline {figure}{\numberline {11.11}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{208}% -\contentsline {figure}{\numberline {11.12}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{209}% -\contentsline {figure}{\numberline {11.13}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{209}% -\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{210}% +\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{202}% +\contentsline {figure}{\numberline {11.2}{\ignorespaces Master-Slave Query-Response Cycle\relax }}{202}% +\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{203}% +\contentsline {figure}{\numberline {11.4}{\ignorespaces MODBUS Set Up for Energy Meter\relax }}{207}% +\contentsline {figure}{\numberline {11.5}{\ignorespaces Block Diagram for Energy Meter Setup\relax }}{208}% +\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{209}% +\contentsline {figure}{\numberline {11.7}{\ignorespaces Flow Chart of the Modbus Energy Meter Implementation\relax }}{210}% +\contentsline {figure}{\numberline {11.8}{\ignorespaces Single Phase Current Output on Scilab Console\relax }}{211}% +\contentsline {figure}{\numberline {11.9}{\ignorespaces Single Phase Current Output on Energy Meter\relax }}{211}% +\contentsline {figure}{\numberline {11.10}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{212}% +\contentsline {figure}{\numberline {11.11}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{212}% +\contentsline {figure}{\numberline {11.12}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{213}% +\contentsline {figure}{\numberline {11.13}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{213}% +\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{214}% diff --git a/floss-arduino.log b/floss-arduino.log index 790c96c..c502aec 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) 17 APR 2021 04:32 +This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex 2020.11.5) 22 APR 2021 08:23 entering extended mode restricted \write18 enabled. %&-line parsing enabled. @@ -526,7 +526,7 @@ Overfull \hbox (74.6947pt too wide) detected at line 9 {/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2] [3] [4] [5] -Overfull \hbox (42.2769pt too wide) detected at line 204 +Overfull \hbox (42.2769pt too wide) detected at line 206 \T1/cmr/bx/n/10.95 References [] @@ -537,7 +537,7 @@ Overfull \hbox (42.2769pt too wide) detected at line 204 [6] (./floss-arduino.lof [7 ] [8] -Overfull \hbox (4.98741pt too wide) in paragraph at lines 88--88 +Overfull \hbox (4.98741pt too wide) in paragraph at lines 92--92 [][] []\T1/cmr/m/n/10.95 Turning LEDs on through Xcos de-pend-ing on the po-te n-tiome-ter thresh- [] @@ -774,88 +774,92 @@ ice-manager.jpg Graphic file (type jpg) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/hw-devi ce-manager.jpg> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/hw --env/figures/hw-device-manager.jpg used on input line 104. +-env/figures/hw-device-manager.jpg used on input line 109. (pdftex.def) Requested size: 397.48499pt x 289.95233pt. +</home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/device-mana +ger-com.png, id=165, 1175.39125pt x 863.225pt> +File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/device +-manager-com.png Graphic file (type png) +<use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/device- +manager-com.png> +Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw +-env/figures/device-manager-com.png used on input line 116. +(pdftex.def) Requested size: 397.48499pt x 291.912pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/update-driv -er.png, id=165, 635.37375pt x 423.5825pt> +er.png, id=166, 635.37375pt x 423.5825pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/update -driver.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/update- driver.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/hw --env/figures/update-driver.png used on input line 111. +-env/figures/update-driver.png used on input line 123. (pdftex.def) Requested size: 397.48499pt x 264.99695pt. [18] [19 </home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/h w-device-manager.jpg>] [20 </home/fossee/Desktop/floss-scilab-arduino/user-code -/hw-env/figures/update-driver.png (PNG copy)>] +/sw-env/figures/device-manager-com.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/run.png, id -=177, 545.03625pt x 155.58125pt> +=178, 545.03625pt x 155.58125pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/run.pn g Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/run.png > Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/hw --env/figures/run.png used on input line 185. +-env/figures/run.png used on input line 197. (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> +ino-opt.png, id=179, 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. +-env/figures/launch-arduino-opt.png used on input line 209. (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>] + [21 </home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/update +-driver.png (PNG copy)>] </home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/arduino-ide -.jpg, id=184, 856.19875pt x 657.45625pt> +.jpg, id=183, 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 214. +-env/figures/arduino-ide.jpg used on input line 226. (pdftex.def) Requested size: 397.48499pt x 305.22243pt. - [22 </home/fossee/Desktop/floss-scilab-arduino/user-code/hw-env/figures/arduin -o-ide.jpg>] [23] [24] + [22 </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>] [23 </home/fossee/Desktop/floss-scilab-arduino/user-code/hw-en +v/figures/arduino-ide.jpg>] [24] (/home/fossee/Desktop/floss-scilab-arduino/tools/arduino-firmware/arduino-firmw -are.ino) [25] +are.ino [25]) [26] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/linux-cd.pn -g, id=199, 787.94376pt x 192.72pt> +g, id=204, 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 425. +-env/figures/linux-cd.png used on input line 463. (pdftex.def) Requested size: 393.97092pt x 96.35976pt. - [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-dire -ctory.png, id=205, 602.25pt x 451.6875pt> +ctory.png, id=208, 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 456. +-env/figures/change-directory.png used on input line 494. (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=206, 450.18187pt x 327.47343pt> +ctory.png, id=209, 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 466. +-env/figures/browse-directory.png used on input line 504. (pdftex.def) Requested size: 357.73405pt x 260.23521pt. - [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=210, 600.74437pt x 421.575pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/builde @@ -863,10 +867,10 @@ 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 482. +-env/figures/builder.png used on input line 520. (pdftex.def) Requested size: 397.48499pt x 278.94795pt. -Overfull \hbox (1.53204pt too wide) in paragraph at lines 476--486 +Overfull \hbox (1.53204pt too wide) in paragraph at lines 514--524 []\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 [] @@ -878,45 +882,44 @@ File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/loader <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 498. +-env/figures/loader.png used on input line 536. (pdftex.def) Requested size: 300.37144pt x 210.78697pt. -[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>] +[28 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/linux-c +d.png>] [29 </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/device-mana -ger.png, id=218, 602.25pt x 451.6875pt> +ger.png, id=219, 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 526. +-env/figures/device-manager.png used on input line 564. (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=219, 602.25pt x 451.6875pt> +ies.png, id=220, 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 547. +-env/figures/com-properties.png used on input line 585. (pdftex.def) Requested size: 301.12425pt x 225.84319pt. - [30 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/loader -.png>] + [30 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/browse +-directory.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/linux-port. -png, id=223, 634.37pt x 246.9225pt> +png, id=224, 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 571. +-env/figures/linux-port.png used on input line 609. (pdftex.def) Requested size: 317.18422pt x 123.46094pt. - [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) + [31 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/builde +r.png>] +(/home/fossee/Desktop/floss-scilab-arduino/tools/test_firmware.sce) [32 </home/ +fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/loader.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/test-consol e.png, id=232, 600.74437pt x 421.575pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/test-c @@ -924,10 +927,11 @@ 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 622. +-env/figures/test-console.png used on input line 660. (pdftex.def) Requested size: 300.37144pt x 210.78697pt. - [33 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/test-c -onsole.png>] + +[33 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/device- +manager.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/table_funct ions_crop.pdf, id=236, 1055.945pt x 543.02875pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/table_ @@ -935,273 +939,318 @@ 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 647. +-env/figures/table_functions_crop.pdf used on input line 685. (pdftex.def) Requested size: 397.48499pt x 204.40587pt. -(/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>] + +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [34 </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>] [35 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw +-env/figures/test-console.png> </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) </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sine-blk.pn -g, id=247, 376.40625pt x 376.40625pt> +g, id=250, 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 697. +-env/figures/sine-blk.png used on input line 735. (pdftex.def) Requested size: 357.73405pt x 357.76195pt. - [35] + [36] +[37 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sine-bl +k.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/plot-blk.pn -g, id=251, 310.15875pt x 109.1578pt> +g, id=259, 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 749. +-env/figures/plot-blk.png used on input line 787. (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=255, 307.90031pt x 108.405pt> +ng, id=260, 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 763. +-env/figures/clock-blk.png used on input line 801. (pdftex.def) Requested size: 357.73405pt x 125.95995pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sine-gen.pn -g, id=256, 207.77625pt x 253.69781pt> +g, id=261, 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 784. +-env/figures/sine-gen.png used on input line 822. (pdftex.def) Requested size: 178.86702pt x 218.40813pt. + [38 </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/clo +ck-blk.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sine-output -.png, id=257, 383.18156pt x 184.43906pt> +.png, id=265, 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 795. +-env/figures/sine-output.png used on input line 833. (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=262, 310.15875pt x 289.08pt> +ig.png, id=266, 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 809. +-env/figures/cscope-config.png used on input line 847. (pdftex.def) Requested size: 258.36281pt x 240.8053pt. -Overfull \hbox (0.16797pt too wide) in paragraph at lines 814--823 +Overfull \hbox (0.16797pt too wide) in paragraph at lines 852--861 \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 +[39 </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=266, 333.49594pt x 225.84375pt> +ng, id=270, 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 826. +-env/figures/sim-setup.png used on input line 864. (pdftex.def) Requested size: 258.36281pt x 174.97539pt. - [39 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/cscope + +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [40 </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=270, 292.84406pt x 107.65219pt> +ette.png, id=274, 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 857. +-env/figures/arduino-palette.png used on input line 895. (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=271, 617.30624pt x 466.74374pt> +ng, id=275, 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 864. +-env/figures/xcos-help.png used on input line 902. (pdftex.def) Requested size: 258.36281pt x 195.35445pt. - [40 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sim-se + +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [41 </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 +duino-palette.png>] [42 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw -env/figures/xcos-help.png>] +</home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/python-wind +ows-install.png, id=282, 1004.75375pt x 620.3175pt> +File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/python +-windows-install.png Graphic file (type png) +<use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/python- +windows-install.png> +Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw +-env/figures/python-windows-install.png used on input line 942. +(pdftex.def) Requested size: 258.36281pt x 159.50874pt. +</home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/windows-cmd +.png, id=283, 572.1375pt x 338.26375pt> +File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/window +s-cmd.png Graphic file (type png) +<use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/windows +-cmd.png> +Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw +-env/figures/windows-cmd.png used on input line 961. +(pdftex.def) Requested size: 258.36281pt x 152.75406pt. +</home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/win-command +-prompt.png, id=284, 1353.055pt x 289.08pt> +File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/win-co +mmand-prompt.png Graphic file (type png) +<use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/win-com +mand-prompt.png> +Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw +-env/figures/win-command-prompt.png used on input line 971. +(pdftex.def) Requested size: 258.36281pt x 55.19925pt. + [43 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/python +-windows-install.png>] [44 </home/fossee/Desktop/floss-scilab-arduino/user-code +/sw-env/figures/windows-cmd.png> </home/fossee/Desktop/floss-scilab-arduino/use +r-code/sw-env/figures/win-command-prompt.png>] +Overfull \hbox (6.38388pt too wide) in paragraph at lines 1002--1006 +\T1/cmr/m/n/10.95 the Com-mand Prompt, ex-e-cute the fol-low-ing com-mand: \T1/ +fvm/m/n/10.95 pip show pyserial + [] + +[45] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py -[42]) +[46]) </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-downl -oad.png, id=281, 670.00313pt x 277.035pt> +oad.png, id=301, 670.00313pt x 277.035pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia- download.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-d ownload.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/julia-download.png used on input line 995. +-env/figures/julia-download.png used on input line 1135. (pdftex.def) Requested size: 397.48499pt x 164.34962pt. -Overfull \hbox (5.34262pt too wide) in paragraph at lines 1001--1003 +Overfull \hbox (5.34262pt too wide) in paragraph at lines 1141--1143 []\T1/cmr/m/n/10.95 First, up-date your sys-tem. Open the Ter-mi-nal. Type \T1/ fvm/m/n/10.95 sudo apt-get update [] -[43] -Overfull \hbox (12.2196pt too wide) in paragraph at lines 1017--1021 +[47] +Overfull \hbox (12.2196pt too wide) in paragraph at lines 1157--1161 \T1/fvm/m/n/10.95 sudo ln -s /opt/julia-1.6.0/bin/julia /usr/local/bin/julia [] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-termi -nal-repl.png, id=286, 949.5475pt x 655.44875pt> +nal-repl.png, id=305, 949.5475pt x 655.44875pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia- terminal-repl.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-t erminal-repl.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/julia-terminal-repl.png used on input line 1029. +-env/figures/julia-terminal-repl.png used on input line 1169. (pdftex.def) Requested size: 397.48499pt x 274.37646pt. -[44 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-d -ownload.png>] [45 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/f +[48 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-d +ownload.png>] [49 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/f igures/julia-terminal-repl.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-pkg.p -ng, id=295, 949.5475pt x 655.44875pt> +ng, id=315, 949.5475pt x 655.44875pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia- pkg.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-p kg.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/julia-pkg.png used on input line 1057. +-env/figures/julia-pkg.png used on input line 1197. (pdftex.def) Requested size: 397.48499pt x 274.37646pt. - [46 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia- -pkg.png>] [47] + [50 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia- +pkg.png>] [51] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/test_firmware.jl ) -Overfull \hbox (8.73886pt too wide) in paragraph at lines 1146--1150 +Overfull \hbox (8.73886pt too wide) in paragraph at lines 1286--1290 \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] +[52] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit-libr -aries.png, id=306, 664.4825pt x 546.04pt> +aries.png, id=326, 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 1167. +-env/figures/OMEdit-libraries.png used on input line 1307. (pdftex.def) Requested size: 365.46649pt x 300.32292pt. Underfull \vbox (badness 10000) has occurred while \output is active [] - [49 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit + [53 </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=312, 996.1215pt x 597.9138pt> +ng, id=331, 996.1215pt x 597.9138pt> 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 1200. +-env/figures/OMEdit-UI.png used on input line 1340. (pdftex.def) Requested size: 397.48499pt x 238.5865pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-open-mod -el.png, id=313, 1087.06125pt x 792.9625pt> +el.png, id=332, 1087.06125pt x 792.9625pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-ope n-model.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-open -model.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/om-open-model.png used on input line 1214. +-env/figures/om-open-model.png used on input line 1354. (pdftex.def) Requested size: 397.48499pt x 289.94313pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-Modeling -.png, id=314, 1368.11125pt x 791.95876pt> +.png, id=333, 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 1221. +-env/figures/om-Modeling.png used on input line 1361. (pdftex.def) Requested size: 397.48499pt x 230.08511pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-modeling --views.png, id=315, 673.01437pt x 373.395pt> +-views.png, id=334, 673.01437pt x 373.395pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-mod eling-views.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-mode ling-views.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/om-modeling-views.png used on input line 1229. +-env/figures/om-modeling-views.png used on input line 1369. (pdftex.def) Requested size: 397.48499pt x 220.52904pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-text-vie -w.png, id=316, 1370.11874pt x 796.9775pt> +w.png, id=335, 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 1237. +-env/figures/om-text-view.png used on input line 1377. (pdftex.def) Requested size: 397.48499pt x 231.20267pt. - [50] + [54] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-simulate -.png, id=320, 673.01437pt x 373.395pt> +.png, id=339, 673.01437pt x 373.395pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-sim ulate.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-simu late.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/om-simulate.png used on input line 1266. +-env/figures/om-simulate.png used on input line 1406. (pdftex.def) Requested size: 397.48499pt x 220.52904pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-sim-succ -ess.png, id=321, 647.41875pt x 516.93124pt> +ess.png, id=340, 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 1273. +-env/figures/om-sim-success.png used on input line 1413. (pdftex.def) Requested size: 397.48499pt x 317.37051pt. Underfull \vbox (badness 10000) has occurred while \output is active [] - [51 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit + [55 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit -UI.png>] -[52 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-open +[56 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-open -model.png>] -LaTeX Warning: Text page 53 contains only floats. +LaTeX Warning: Text page 57 contains only floats. -[53 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-mode +[57 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-mode ling.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/o m-modeling-views.png>] -LaTeX Warning: Text page 54 contains only floats. +LaTeX Warning: Text page 58 contains only floats. -[54 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-text +[58 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-text -view.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/ -om-simulate.png>] [55 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-e +om-simulate.png>] [59 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-e nv/figures/om-sim-success.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/test_firm -ware.mo)) (./user-code/led/led.tex [56] +ware.mo)) (./user-code/led/led.tex [60] Chapter 4. -</home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led.png, id=34 -8, 149.8097pt x 84.315pt> +</home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led.png, id=36 +7, 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> @@ -1209,7 +1258,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=349, 415.5525pt x 456.70625pt> + id=368, 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. @@ -1217,11 +1266,11 @@ 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. -[57 +[61 </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=354, 951.48618pt x 713.61462pt> +.JPG, id=374, 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 @@ -1230,11 +1279,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. -[58 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/schematic. +[62 </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/rgb-led-bb.png -, id=359, 451.286pt x 236.082pt> +, id=379, 451.286pt x 236.082pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/rgb-led-b b.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/rgb-led-bb @@ -1242,7 +1291,7 @@ b.png Graphic file (type png) Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/le d/figures/rgb-led-bb.png used on input line 106. (pdftex.def) Requested size: 357.73405pt x 187.14034pt. - [59 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/rgb-led-b + [63 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/rgb-led-b b.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led-blue/led-b lue.ino) @@ -1251,9 +1300,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) [60] +/led-blue-delay.ino) [64] </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led_output.png -, id=367, 3035.34pt x 1947.275pt> +, id=387, 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 @@ -1266,33 +1315,33 @@ 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 -) [61] +) [65] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led-blue/led-b lue.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led-blue-delay -/led-blue-delay.ino [62 </home/fossee/Desktop/floss-scilab-arduino/user-code/le +/led-blue-delay.ino [66 </home/fossee/Desktop/floss-scilab-arduino/user-code/le d/figures/led_output.png>]) (/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) [63] +blink.ino) [67] (/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) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-blue.sce) -[64] +[68] (/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) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-blue-delay. -sce [65]) +sce [69]) (/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) </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue.png, -id=386, 233.37187pt x 252.19218pt> +id=406, 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 @@ -1305,9 +1354,9 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 409--418 [][] [] -[66] +[70] </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-delay -.png, id=390, 226.59656pt x 243.91125pt> +.png, id=410, 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 @@ -1320,10 +1369,10 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 443--455 [][] [] -[67 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue.p +[71 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue.p ng>] </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-red.p -ng, id=397, 245.41687pt x 339.51843pt> +ng, id=416, 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 @@ -1336,10 +1385,10 @@ Overfull \hbox (13.85292pt too wide) in paragraph at lines 482--499 [][] [] -[68 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-d +[72 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-d elay.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-green-blin -k.png, id=402, 246.9225pt x 251.43938pt> +k.png, id=421, 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- @@ -1352,13 +1401,13 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 524--537 [][] [] -[69 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-r +[73 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-r ed.png>] Overfull \vbox (31.42311pt too high) has occurred while \output is active [] -[70 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-green- -blink.png>] [71] +[74 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-green- +blink.png>] [75] Underfull \hbox (badness 10000) in paragraph at lines 616--620 [] @@ -1373,42 +1422,42 @@ Underfull \hbox (badness 10000) in paragraph at lines 635--638 [] -[72] +[76] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py -[73]) +[77]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue-delay. -py [74]) +py [78]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue-red.py -[75]) +[79]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-green-blink -.py [76]) [77] +.py [80]) [81] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-blue.jl -[78]) +[82]) (/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 [79]) +jl [83]) Overfull \hbox (2.4842pt too wide) in paragraph at lines 843--844 []\T1/cmr/m/n/10.95 sComm.close_serial(1) : This closes the pre-de-fined se-ria l port which is presently [] -[80] +[84] (/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 [81]) +delay.mo [85]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led-blue- -red.mo [82]) +red.mo [86]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led-green --blink.mo)) (./user-code/push/push.tex [83] [84 +-blink.mo)) (./user-code/push/push.tex [87] [88 ] Chapter 5. </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/pushbutton-co -nn.png, id=457, 415.5525pt x 438.63875pt> +nn.png, id=477, 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 @@ -1417,7 +1466,7 @@ 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. </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/switch.png, i -d=458, 453.695pt x 239.294pt> +d=478, 453.695pt x 239.294pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/switch.p ng Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/switch.pn @@ -1425,14 +1474,14 @@ g> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/pu sh/figures/switch.png used on input line 72. (pdftex.def) Requested size: 397.48499pt x 209.64827pt. -[85] +[89] Underfull \vbox (badness 3098) has occurred while \output is active [] - [86 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/pushbutt + [90 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/pushbutt on-conn.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/ switch.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/switch-led.pn -g, id=468, 453.695pt x 266.596pt> +g, id=487, 453.695pt x 266.596pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/switch-l ed.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/switch-le @@ -1443,14 +1492,14 @@ sh/figures/switch-led.png used on input line 106. Underfull \vbox (badness 1158) has occurred while \output is active [] - [87 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/switch-l + [91 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/switch-l ed.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) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/led-push-butt -on/led-push-button.ino) [88] +on/led-push-button.ino) [92] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push-button-s tatus/push-button-status.ino) Overfull \hbox (0.16989pt too wide) in paragraph at lines 174--177 @@ -1460,7 +1509,7 @@ Avail- (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/led-push-butt -on/led-push-button.ino [89]) +on/led-push-button.ino [93]) (/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 @@ -1468,7 +1517,7 @@ atus.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led-push-butto n.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push-button-st -atus.sce [90]) +atus.sce [94]) Overfull \hbox (0.145pt too wide) in paragraph at lines 227--230 \T1/cmr/m/n/10.95 able at \T1/fvm/m/n/10.95 O r i g i n / u s e r - c o d e / p u s h / s c i l a b / l e d - p u s h - b u t t o n . s c e\T1/cmr/m/n/10.95 , @@ -1479,7 +1528,7 @@ Overfull \hbox (0.145pt too wide) in paragraph at lines 227--230 (/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=482, 264.99pt x 268.00125pt> +tatus.PNG, id=502, 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 @@ -1492,10 +1541,10 @@ Overfull \hbox (3.33746pt too wide) in paragraph at lines 276--286 [][] [] -[91] [92 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/push +[95] [96 </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=491, 298.86656pt x 264.99pt> +on.PNG, id=510, 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- @@ -1508,37 +1557,37 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 318--329 [][] [] -[93 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/led-push- +[97 </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) [94] +n.py) [98] (/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 [95]) +n.py [99]) Underfull \vbox (badness 10000) has occurred while \output is active [] - [96] + [100] (/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) [97] +tus.jl) [101] (/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 [98]) +ton-status.mo [102]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led-push --button.mo [99])) (./user-code/ldr/ldr.tex [100] +-button.mo [103])) (./user-code/ldr/ldr.tex [104] Chapter 6. -</home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg, id=51 +</home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg, id=53 8, 106.89937pt x 94.85437pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg G raphic file (type jpg) @@ -1547,7 +1596,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=519, 1009.52156pt x 741.52031pt> +d=539, 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 @@ -1556,7 +1605,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=520, 415.5525pt x 450.68375pt> +id=540, 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 @@ -1564,7 +1613,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. -[101 +[105 ] Overfull \hbox (0.60098pt too wide) in paragraph at lines 87--87 @@ -1574,10 +1623,10 @@ Overfull \hbox (0.60098pt too wide) in paragraph at lines 87--87 Underfull \vbox (badness 3333) has occurred while \output is active [] - [102 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg> + [106 </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/LDR.png, id=52 +</home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR.png, id=54 9, 455.301pt x 208.78pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR.png G raphic file (type png) @@ -1585,10 +1634,10 @@ raphic file (type png) Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/ld r/figures/LDR.png used on input line 102. (pdftex.def) Requested size: 397.48499pt x 182.27425pt. - [103 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR.png> + [107 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR.png> ] </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR-led.png, i -d=535, 455.301pt x 257.763pt> +d=554, 455.301pt x 257.763pt> 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 @@ -1600,21 +1649,21 @@ r/figures/LDR-led.png used on input line 125. (/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) [104 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ +ead.ino) [108 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ LDR-led.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 -ead.ino [105]) +ead.ino [109]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-led/ldr-le -d.ino) [106] +d.ino) [110] Overfull \hbox (19.20517pt too wide) in paragraph at lines 227--238 []\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) -[107] +[111] (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr-led.sce) Overfull \hbox (0.34052pt too wide) in paragraph at lines 271--277 \T1/cmr/m/n/10.95 Next, we shall per-form the above men-tioned ex-per-i-ment, t @@ -1622,7 +1671,7 @@ o read LDR val-ues, through [] </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-read-xcos. -PNG, id=549, 257.46187pt x 304.13625pt> +PNG, id=569, 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 @@ -1631,7 +1680,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/ld r/figures/ldr-read-xcos.PNG used on input line 287. (pdftex.def) Requested size: 178.86702pt x 211.2975pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-led.png, i -d=550, 769.87625pt x 640.3925pt> +d=570, 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 @@ -1644,31 +1693,31 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 364--384 [][] [] -[108] [109 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr --read-xcos.PNG>] [110 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/ -figures/ldr-led.png>] [111] +[112] [113 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr +-read-xcos.PNG>] [114 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/ +figures/ldr-led.png>] [115] (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr-read.py) -[112] +[116] (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr-led.py) Underfull \vbox (badness 10000) has occurred while \output is active [] - [113] + [117] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led-push-button .jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr-read.jl -[114]) +[118]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr-led.jl) -[115] +[119] (/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 [116]) +mo [120]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr-led.m -o)) (./user-code/dcmotor/dcmotor.tex [117] [118 +o)) (./user-code/dcmotor/dcmotor.tex [121] [122 ] Chapter 7. </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmotor_bo -ard.png, id=588, 247.92625pt x 232.87pt> +ard.png, id=608, 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 @@ -1676,9 +1725,9 @@ 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. -[119] +[123] </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/schematic. -png, id=592, 415.5525pt x 467.7475pt> +png, id=612, 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 @@ -1687,7 +1736,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=593, 2469.97781pt x 1973.12157pt> +escription.jpg, id=613, 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 @@ -1695,41 +1744,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. - [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_board.png>] Overfull \vbox (9.00647pt too high) has occurred while \output is active [] -[121 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/schem +[125 </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>] [122] +dc_motor_description.jpg>] [126] (/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 [123]) +op/dcmotor-loop.ino [127]) Underfull \hbox (badness 10000) in paragraph at lines 221--237 [] -[124] +[128] (/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) [125] +ck.sce) [129] (/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) [126] +ck.sce) [130] (/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 [127]) +p.sce [131]) </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmotor-cl -ock.png, id=625, 275.52937pt x 290.58563pt> +ock.png, id=644, 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 @@ -1737,10 +1786,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. - [128 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmo + [132 </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=629, 292.09125pt x 322.95656pt> +th.png, id=648, 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 @@ -1749,7 +1798,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=630, 281.55188pt x 307.90031pt> +op.png, id=649, 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 @@ -1757,30 +1806,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. - [129] [130 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figure -s/dcmotor-both.png>] [131 </home/fossee/Desktop/floss-scilab-arduino/user-code/ -dcmotor/figures/dcmotor-loop.png>] [132] + [133] [134 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figure +s/dcmotor-both.png>] [135 </home/fossee/Desktop/floss-scilab-arduino/user-code/ +dcmotor/figures/dcmotor-loop.png>] [136] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor-clo -ck.py [133]) +ck.py [137]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor-bot -h.py) [134] +h.py) [138] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor-loo -p.py) [135] +p.py) [139] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor-cloc -k.jl [136]) +k.jl [140]) (/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) [137] +.jl) [141] (/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 [138]) +or-both.mo [142]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmot -or-loop.mo [139])) (./user-code/pot/pot.tex [140] +or-loop.mo [143])) (./user-code/pot/pot.tex [144] Chapter 8. </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/potmeter.png, -id=671, 1576.38937pt x 1305.37688pt> +id=690, 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 @@ -1789,7 +1838,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=672, 415.5525pt x 417.56pt> + id=691, 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. @@ -1797,13 +1846,13 @@ 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. -[141 +[145 -] [142 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/potmete +] [146 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/potmete r.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/schemat ic.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/POT-led-bb.png -, id=681, 453.695pt x 243.309pt> +, id=701, 453.695pt x 243.309pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/POT-led-b b.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/POT-led-bb @@ -1816,18 +1865,18 @@ Overfull \hbox (9.68646pt too wide) in paragraph at lines 112--114 [] [] [] -[143 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/POT-led-b +[147 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/POT-led-b b.png>] (/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) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot-threshold/ -pot-threshold.ino [144]) +pot-threshold.ino [148]) (/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) [145] +ce) [149] Overfull \hbox (6.93184pt too wide) in paragraph at lines 200--204 []\T1/cmr/m/n/10.95 Turning on LEDs de-pend-ing on the po-ten-tiome-ter thresh- old. Avail- @@ -1837,7 +1886,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=693, 548.80031pt x 493.845pt> +PNG, id=712, 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 @@ -1850,14 +1899,14 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 236--265 [][] [] -[146] [147 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/pot +[150] [151 </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) [148] +y) [152] (/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 [149]) +y [153]) (/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 @@ -1873,13 +1922,13 @@ Overfull \hbox (0.88127pt too wide) in paragraph at lines 325--329 old. Avail- [] -[150] +[154] (/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 [151]) +hold.mo [155]) Overfull \hbox (7.95369pt too wide) in paragraph at lines 348--352 []\T1/cmr/m/n/10.95 Turning on LEDs de-pend-ing on the po-ten-tiome-ter thresh- @@ -1887,12 +1936,12 @@ Overfull \hbox (7.95369pt too wide) in paragraph at lines 348--352 (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot-thres -hold.mo [152])) (./user-code/thermistor/thermistor.tex [153] [154 +hold.mo [156])) (./user-code/thermistor/thermistor.tex [157] [158 ] Chapter 9. </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/NTC-bea -d.jpg, id=723, 139.9629pt x 126.2316pt> +d.jpg, id=743, 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 @@ -1901,13 +1950,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 155 undefined on input line 70. +LaTeX Warning: Citation `therm-wiki' on page 159 undefined on input line 70. -LaTeX Warning: Citation `therm-wiki' on page 155 undefined on input line 70. +LaTeX Warning: Citation `therm-wiki' on page 159 undefined on input line 70. </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-s -ym.png, id=724, 1284.8pt x 913.4125pt> +ym.png, id=744, 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 @@ -1916,7 +1965,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=725, 329.23pt x 422.57875pt> +TOR-Diagram-crop.pdf, id=745, 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 @@ -1925,7 +1974,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=726, 307.1475pt x 366.36874pt> +Diagram-crop.pdf, id=746, 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 @@ -1933,17 +1982,17 @@ 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. -[155] +[159] Overfull \vbox (30.13353pt too high) has occurred while \output is active [] -[156 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/NT +[160 </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/thermis -tor.png, id=746, 453.695pt x 236.885pt> +tor.png, id=766, 453.695pt x 236.885pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th ermistor.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/the @@ -1952,7 +2001,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th ermistor/figures/thermistor.png used on input line 110. (pdftex.def) Requested size: 397.48499pt x 207.53772pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/thermis -tor-buzzer.png, id=747, 453.695pt x 240.097pt> +tor-buzzer.png, id=767, 453.695pt x 240.097pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th ermistor-buzzer.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/the @@ -1960,25 +2009,25 @@ rmistor-buzzer.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th ermistor/figures/thermistor-buzzer.png used on input line 124. (pdftex.def) Requested size: 397.48499pt x 210.35179pt. - [157 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t + [161 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t hermistor.png>] (/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) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-r -ead/therm-read.ino) [158 </home/fossee/Desktop/floss-scilab-arduino/user-code/t +ead/therm-read.ino) [162 </home/fossee/Desktop/floss-scilab-arduino/user-code/t hermistor/figures/thermistor-buzzer.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-r -ead/therm-read.ino [159]) +ead/therm-read.ino [163]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-b -uzzer/therm-buzzer.ino) [160] [161] +uzzer/therm-buzzer.ino) [164] [165] (/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) [162] +zzer.sce) [166] </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-r -ead-xcos.png, id=771, 617.30624pt x 548.0475pt> +ead-xcos.png, id=791, 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 @@ -1987,7 +2036,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th ermistor/figures/therm-read-xcos.png used on input line 306. (pdftex.def) Requested size: 194.76982pt x 172.91183pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-r -ead.png, id=772, 632.3625pt x 529.98pt> +ead.png, id=792, 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 @@ -1996,7 +2045,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th ermistor/figures/therm-read.png used on input line 339. (pdftex.def) Requested size: 194.76982pt x 163.23271pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-b -uzzer-xcos.png, id=773, 627.34375pt x 530.98375pt> +uzzer-xcos.png, id=793, 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 @@ -2004,14 +2053,14 @@ rm-buzzer-xcos.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th ermistor/figures/therm-buzzer-xcos.png used on input line 355. (pdftex.def) Requested size: 258.36281pt x 218.68509pt. - [163 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t + [167 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t herm-read-xcos.png>] Overfull \hbox (4.77844pt too wide) in paragraph at lines 373--393 [][] [] </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-b -uzzer.png, id=779, 612.2875pt x 589.20125pt> +uzzer.png, id=798, 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 @@ -2019,31 +2068,31 @@ 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 399. (pdftex.def) Requested size: 178.86702pt x 172.12265pt. -[164 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th +[168 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th erm-read.png>] -LaTeX Warning: Text page 165 contains only floats. +LaTeX Warning: Text page 169 contains only floats. -[165 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th +[169 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th erm-buzzer-xcos.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/therm -istor/figures/therm-buzzer.png>] [166] +istor/figures/therm-buzzer.png>] [170] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm-re -ad.py [167]) +ad.py [171]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm-bu -zzer.py [168]) +zzer.py [172]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm-rea -d.jl [169]) +d.jl [173]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm-buz -zer.jl) [170] +zer.jl) [174] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/th -erm-read.mo) [171] +erm-read.mo) [175] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/th -erm-buzzer.mo)) (./user-code/servo/servo.tex [172] +erm-buzzer.mo)) (./user-code/servo/servo.tex [176] Chapter 10. Underfull \vbox (badness 1975) has occurred while \output is active [] - [173 + [177 ] Overfull \hbox (23.49748pt too wide) in paragraph at lines 90--98 @@ -2051,17 +2100,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[]. [] -[174] +[178] (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo-init/s -ervo-init.ino [175]) +ervo-init.ino [179]) (/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) [176] +ervo-loop.ino) [180] (/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) [177] +e) [181] (/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 @@ -2069,13 +2118,13 @@ e) [177] (/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 [178]) +.sce [182]) (/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=834, 265.74281pt x 309.40594pt> +ng, id=854, 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 @@ -2083,9 +2132,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. - [179] + [183] </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-revers -e.png, id=838, 244.66406pt x 281.55188pt> +e.png, id=858, 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 @@ -2096,10 +2145,10 @@ rvo/figures/servo-reverse.png used on input line 334. Underfull \vbox (badness 3199) has occurred while \output is active [] - [180 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo- + [184 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo- init.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-loop.p -ng, id=842, 281.55188pt x 347.04657pt> +ng, id=862, 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 @@ -2108,7 +2157,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=843, 286.06876pt x 292.09125pt> +g, id=863, 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 @@ -2117,38 +2166,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. -[181 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-r +[185 </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 [][] [] -[182 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-l +[186 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-l oop.png>] -LaTeX Warning: Reference `sec:py-start' on page 183 undefined on input line 459 +LaTeX Warning: Reference `sec:py-start' on page 187 undefined on input line 459 . Underfull \vbox (badness 10000) has occurred while \output is active [] - [183 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo- + [187 </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 -) [184] +) [188] (/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 -[185]) +[189]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-reverse -.py [186]) +.py [190]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-loop.py -[187]) +[191]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-pot.py -[188]) +[192]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-init.jl) -[189] +[193] (/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) @@ -2160,10 +2209,10 @@ vers-ing. Avail- (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-reverse. -jl) [190] +jl) [194] (/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) -[191] +[195] (/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 @@ -2171,19 +2220,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 [192]) +nit.mo [196]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo-r -everse.mo [193]) +everse.mo [197]) (/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 [194])) (./user-code/modbus/modbus.tex [195] [196 +ot.mo [198])) (./user-code/modbus/modbus.tex [199] [200 ] Chapter 11. -[197] +[201] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig1.png, i -d=898, 672.5125pt x 224.84pt> +d=918, 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 @@ -2192,7 +2241,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=899, 360.34625pt x 375.4025pt> +d=919, 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 @@ -2201,7 +2250,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=900, 481.04718pt x 214.55156pt> +d=920, 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 @@ -2209,12 +2258,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. - [198 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig1. + [202 </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)>] [199 </home/fossee/Desktop/floss-scilab-arduino/user --code/modbus/figures/fig3.png (PNG copy)>] [200] [201] +ures/fig2.png (PNG copy)>] [203 </home/fossee/Desktop/floss-scilab-arduino/user +-code/modbus/figures/fig3.png (PNG copy)>] [204] [205] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/Full-Set-Up -.png, id=915, 722.7pt x 542.025pt> +.png, id=935, 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 @@ -2222,9 +2271,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. - [202] + [206] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/block-diagr -am.PNG, id=919, 398.23781pt x 255.95625pt> +am.PNG, id=939, 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 @@ -2233,7 +2282,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=920, 327.2225pt x 480.79625pt> +e_flowchart.png, id=940, 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 @@ -2241,10 +2290,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. - [203 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/Full- + [207 </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=925, 482.55281pt x 362.10281pt> +ng, id=945, 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 @@ -2253,7 +2302,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=926, 1028.34187pt x 578.16pt> +put.png, id=946, 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 @@ -2262,7 +2311,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=927, 2509.375pt x 1411.2725pt> +put-setup.jpg, id=947, 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 @@ -2271,7 +2320,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=928, 1028.34187pt x 578.16pt> +put.png, id=948, 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 @@ -2280,7 +2329,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=929, 2509.375pt x 1411.2725pt> +put-setup.jpg, id=949, 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 @@ -2289,7 +2338,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=930, 1028.34187pt x 578.16pt> +r-output.png, id=950, 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- @@ -2298,10 +2347,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. -[204 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/block- +[208 </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=935, 2509.375pt x 1411.2725pt> +r-output-setup.jpg, id=955, 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- @@ -2312,10 +2361,10 @@ dbus/figures/active-power-output-setup.jpg used on input line 436. Underfull \vbox (badness 10000) has occurred while \output is active [] - [205 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/ardui + [209 </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=941, 635.37375pt x 455.7025pt> +xcos.png, id=960, 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 @@ -2334,46 +2383,46 @@ Overfull \hbox (16.70493pt too wide) in paragraph at lines 479--491 [][] [] -[206 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/flowch -art.png (PNG copy)>] [207 </home/fossee/Desktop/floss-scilab-arduino/user-code/ +[210 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/flowch +art.png (PNG copy)>] [211 </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 [] - [208 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/volta + [212 </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 [209 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/a +.ino [213 </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>] [210 </home/fossee/Desk +ser-code/modbus/figures/active-power-output-setup.jpg>] [214 </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 [211]) +.sci [215]) (/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 [212]) +.py [216]) (/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 [213]) +l [217]) (/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 [214]) +ltage.mo [218]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readPo -wer.mo)) (./floss-arduino.bbl [215] [216 +wer.mo)) (./floss-arduino.bbl [219] [220 ] Underfull \hbox (badness 10000) in paragraph at lines 4--9 @@ -2404,8 +2453,8 @@ Overfull \hbox (15.39987pt too wide) in paragraph at lines 49--53 /Skittles_M%26M%27s [] -[217] -Underfull \hbox (badness 1577) in paragraph at lines 90--93 +[221] +Underfull \hbox (badness 1577) in paragraph at lines 95--98 []\T1/cmr/m/n/10.95 Juliaio/serialports.jl: Se-ri-al-port io streams in ju-lia backed by py-se-rial. [] @@ -2414,7 +2463,7 @@ backed by py-se-rial. \tf@thm=\write13 \openout13 = `floss-arduino.thm'. - [218] (./floss-arduino.aux) + [222] (./floss-arduino.aux) LaTeX Warning: There were undefined references. @@ -2423,13 +2472,13 @@ LaTeX Warning: There were multiply-defined labels. ) Here is how much of TeX's memory you used: - 9709 strings out of 481239 - 207652 string characters out of 5920377 + 9739 strings out of 481239 + 209689 string characters out of 5920377 742688 words of memory out of 5000000 - 24257 multiletter control sequences out of 15000+600000 + 24283 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,1777s stack positions out of 5000i,500n,10000p,200000b,80000s + 50i,11n,53p,467b,1826s 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 @@ -2451,13 +2500,12 @@ s/type1/public/cm-super/sfrm0600.pfb></usr/share/texmf/fonts/type1/public/cm-su per/sfrm0800.pfb></usr/share/texmf/fonts/type1/public/cm-super/sfrm0900.pfb></u sr/share/texmf/fonts/type1/public/cm-super/sfrm1000.pfb></usr/share/texmf/fonts /type1/public/cm-super/sfrm1095.pfb></usr/share/texmf/fonts/type1/public/cm-sup -er/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 (242 pages, 26247858 bytes). +er/sfsi1095.pfb></usr/share/texmf/fonts/type1/public/cm-super/sfss1095.pfb></us +r/share/texmf/fonts/type1/public/cm-super/sfti1095.pfb> +Output written on floss-arduino.pdf (246 pages, 26596989 bytes). PDF statistics: - 1082 PDF objects out of 1200 (max. 8388607) - 636 compressed objects within 7 object streams + 1098 PDF objects out of 1200 (max. 8388607) + 641 compressed objects within 7 object streams 0 named destinations out of 1000 (max. 500000) - 531 words of extra memory for PDF output out of 10000 (max. 10000000) + 551 words of extra memory for PDF output out of 10000 (max. 10000000) diff --git a/floss-arduino.lot b/floss-arduino.lot index 90d80c8..8fdb58b 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 }}{67}% -\contentsline {table}{\numberline {4.2}{\ignorespaces Parameters to light the blue LED in Xcos for two seconds\relax }}{68}% -\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{70}% -\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{71}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the push button status on the display block\relax }}{92}% -\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{93}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{109}% -\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{111}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {7.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{125}% -\contentsline {table}{\numberline {7.2}{\ignorespaces Parameters for DC motor initialization\relax }}{125}% -\contentsline {table}{\numberline {7.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{129}% -\contentsline {table}{\numberline {7.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{130}% -\contentsline {table}{\numberline {7.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{132}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{148}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{164}% -\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{166}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{174}% -\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{180}% -\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{182}% -\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{183}% -\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{184}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {11.1}{\ignorespaces Interpretation of a request packet\relax }}{200}% -\contentsline {table}{\numberline {11.2}{\ignorespaces Interpretation of a response packet\relax }}{200}% -\contentsline {table}{\numberline {11.3}{\ignorespaces Hexadecimal to Decimal\relax }}{201}% -\contentsline {table}{\numberline {11.4}{\ignorespaces Single and Double Precision Representation\relax }}{201}% -\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{210}% +\contentsline {table}{\numberline {4.1}{\ignorespaces Parameters to light the blue LED in Xcos\relax }}{71}% +\contentsline {table}{\numberline {4.2}{\ignorespaces Parameters to light the blue LED in Xcos for two seconds\relax }}{72}% +\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{74}% +\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{75}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the push button status on the display block\relax }}{96}% +\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{97}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{113}% +\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{115}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {7.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{129}% +\contentsline {table}{\numberline {7.2}{\ignorespaces Parameters for DC motor initialization\relax }}{129}% +\contentsline {table}{\numberline {7.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{133}% +\contentsline {table}{\numberline {7.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{134}% +\contentsline {table}{\numberline {7.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{136}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{152}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{168}% +\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{170}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{178}% +\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{184}% +\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{186}% +\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{187}% +\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{188}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {11.1}{\ignorespaces Interpretation of a request packet\relax }}{204}% +\contentsline {table}{\numberline {11.2}{\ignorespaces Interpretation of a response packet\relax }}{204}% +\contentsline {table}{\numberline {11.3}{\ignorespaces Hexadecimal to Decimal\relax }}{205}% +\contentsline {table}{\numberline {11.4}{\ignorespaces Single and Double Precision Representation\relax }}{205}% +\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{214}% diff --git a/floss-arduino.pdf b/floss-arduino.pdf Binary files differindex 6d10bb5..beb147c 100644 --- a/floss-arduino.pdf +++ b/floss-arduino.pdf diff --git a/floss-arduino.pyd b/floss-arduino.pyd index ed01c24..affa7e3 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}% +\contentsline {section}{\numberline {3.{1}}A Python code to check whether the firmware is properly installed or not}{46}% \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the LED through Python}{73}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{74}% -\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{75}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{76}% +\contentsline {section}{\numberline {4.{1}}Turning on the LED through Python}{77}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{78}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{79}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{80}% \addvspace {10pt} -\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}{95}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{99}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{99}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{112}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{113}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{116}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{117}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{133}% -\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}{134}% +\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{137}% +\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{138}% +\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{138}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{149}% +\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{153}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{167}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{168}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{171}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{172}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{185}% -\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{186}% -\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{187}% -\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{188}% +\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{189}% +\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{190}% +\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{191}% +\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{192}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{212}% -\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{212}% -\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{213}% +\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{216}% +\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{216}% +\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{217}% diff --git a/floss-arduino.thm b/floss-arduino.thm index f4c8841..ff27492 100644 --- a/floss-arduino.thm +++ b/floss-arduino.thm @@ -1,123 +1,123 @@ \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}}{}}{48}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{3.{1}}{}}{56}% -\contentsline {egmass}{{Exercise}{4.{1}}{}}{61}% -\contentsline {ardmass}{{Arduino Code}{4.{1}}{}}{62}% -\contentsline {ardmass}{{Arduino Code}{4.{2}}{}}{62}% -\contentsline {ardmass}{{Arduino Code}{4.{3}}{}}{63}% -\contentsline {ardmass}{{Arduino Code}{4.{4}}{}}{63}% -\contentsline {egmass}{{Exercise}{4.{2}}{}}{65}% -\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{65}% -\contentsline {codemass}{{Scilab Code}{4.{2}}{}}{65}% -\contentsline {codemass}{{Scilab Code}{4.{3}}{}}{66}% -\contentsline {codemass}{{Scilab Code}{4.{4}}{}}{66}% -\contentsline {egmass}{{Exercise}{4.{3}}{}}{69}% -\contentsline {pymass}{{Python Code}{4.{1}}{}}{73}% -\contentsline {pymass}{{Python Code}{4.{2}}{}}{74}% -\contentsline {pymass}{{Python Code}{4.{3}}{}}{75}% -\contentsline {pymass}{{Python Code}{4.{4}}{}}{76}% -\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{78}% -\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{79}% -\contentsline {juliamass}{{Julia Code}{4.{3}}{}}{79}% -\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{79}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{81}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{81}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{82}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{83}% -\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{89}% -\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{89}% -\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{91}% -\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{91}% -\contentsline {egmass}{{Exercise}{5.{1}}{}}{93}% -\contentsline {pymass}{{Python Code}{5.{1}}{}}{95}% -\contentsline {pymass}{{Python Code}{5.{2}}{}}{95}% -\contentsline {juliamass}{{Julia Code}{5.{1}}{}}{97}% -\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{98}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{98}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{99}% -\contentsline {egmass}{{Exercise}{6.{1}}{}}{105}% -\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{105}% -\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{106}% -\contentsline {egmass}{{Exercise}{6.{2}}{}}{107}% -\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{107}% -\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{108}% -\contentsline {egmass}{{Exercise}{6.{3}}{}}{111}% -\contentsline {pymass}{{Python Code}{6.{1}}{}}{112}% -\contentsline {pymass}{{Python Code}{6.{2}}{}}{113}% -\contentsline {egmass}{{Exercise}{6.{4}}{}}{114}% -\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{115}% -\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{115}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{116}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{117}% -\contentsline {egmass}{{Exercise}{7.{1}}{}}{122}% -\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{123}% -\contentsline {ardmass}{{Arduino Code}{7.{2}}{}}{123}% -\contentsline {ardmass}{{Arduino Code}{7.{3}}{}}{123}% -\contentsline {egmass}{{Exercise}{7.{2}}{}}{126}% -\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{127}% -\contentsline {codemass}{{Scilab Code}{7.{2}}{}}{127}% -\contentsline {codemass}{{Scilab Code}{7.{3}}{}}{127}% -\contentsline {egmass}{{Exercise}{7.{3}}{}}{129}% -\contentsline {pymass}{{Python Code}{7.{1}}{}}{133}% -\contentsline {pymass}{{Python Code}{7.{2}}{}}{134}% -\contentsline {pymass}{{Python Code}{7.{3}}{}}{134}% -\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{136}% -\contentsline {juliamass}{{Julia Code}{7.{2}}{}}{137}% -\contentsline {juliamass}{{Julia Code}{7.{3}}{}}{137}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{138}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{2}}{}}{138}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{3}}{}}{139}% -\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{144}% -\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{146}% -\contentsline {pymass}{{Python Code}{8.{1}}{}}{149}% -\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{151}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{152}% -\contentsline {egmass}{{Exercise}{9.{1}}{}}{159}% -\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{159}% -\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{160}% -\contentsline {egmass}{{Exercise}{9.{2}}{}}{161}% -\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{162}% -\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{162}% -\contentsline {pymass}{{Python Code}{9.{1}}{}}{167}% -\contentsline {pymass}{{Python Code}{9.{2}}{}}{168}% -\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{169}% -\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{170}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{171}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{172}% -\contentsline {egmass}{{Exercise}{10.{1}}{}}{175}% -\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{175}% -\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{176}% -\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{176}% -\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{177}% -\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{178}% -\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{178}% -\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{179}% -\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{179}% -\contentsline {pymass}{{Python Code}{10.{1}}{}}{185}% -\contentsline {pymass}{{Python Code}{10.{2}}{}}{186}% -\contentsline {pymass}{{Python Code}{10.{3}}{}}{187}% -\contentsline {pymass}{{Python Code}{10.{4}}{}}{188}% -\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{190}% -\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{190}% -\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{191}% -\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{191}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{192}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{193}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{194}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{194}% -\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{209}% -\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{211}% -\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{211}% -\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{211}% -\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{212}% -\contentsline {pymass}{{Python Code}{11.{1}}{}}{212}% -\contentsline {pymass}{{Python Code}{11.{2}}{}}{212}% -\contentsline {pymass}{{Python Code}{11.{3}}{}}{213}% -\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{213}% -\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{213}% -\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{214}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{214}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{214}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{215}% +\contentsline {codemass}{{Scilab Code}{3.{1}}{}}{36}% +\contentsline {pymass}{{Python Code}{3.{1}}{}}{46}% +\contentsline {juliamass}{{Julia Code}{3.{1}}{}}{52}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{3.{1}}{}}{60}% +\contentsline {egmass}{{Exercise}{4.{1}}{}}{65}% +\contentsline {ardmass}{{Arduino Code}{4.{1}}{}}{66}% +\contentsline {ardmass}{{Arduino Code}{4.{2}}{}}{66}% +\contentsline {ardmass}{{Arduino Code}{4.{3}}{}}{67}% +\contentsline {ardmass}{{Arduino Code}{4.{4}}{}}{67}% +\contentsline {egmass}{{Exercise}{4.{2}}{}}{69}% +\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{69}% +\contentsline {codemass}{{Scilab Code}{4.{2}}{}}{69}% +\contentsline {codemass}{{Scilab Code}{4.{3}}{}}{70}% +\contentsline {codemass}{{Scilab Code}{4.{4}}{}}{70}% +\contentsline {egmass}{{Exercise}{4.{3}}{}}{73}% +\contentsline {pymass}{{Python Code}{4.{1}}{}}{77}% +\contentsline {pymass}{{Python Code}{4.{2}}{}}{78}% +\contentsline {pymass}{{Python Code}{4.{3}}{}}{79}% +\contentsline {pymass}{{Python Code}{4.{4}}{}}{80}% +\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{82}% +\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{83}% +\contentsline {juliamass}{{Julia Code}{4.{3}}{}}{83}% +\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{83}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{85}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{85}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{86}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{87}% +\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{93}% +\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{93}% +\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{95}% +\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{95}% +\contentsline {egmass}{{Exercise}{5.{1}}{}}{97}% +\contentsline {pymass}{{Python Code}{5.{1}}{}}{99}% +\contentsline {pymass}{{Python Code}{5.{2}}{}}{99}% +\contentsline {juliamass}{{Julia Code}{5.{1}}{}}{101}% +\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{102}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{102}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{103}% +\contentsline {egmass}{{Exercise}{6.{1}}{}}{109}% +\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{109}% +\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{110}% +\contentsline {egmass}{{Exercise}{6.{2}}{}}{111}% +\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{111}% +\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{112}% +\contentsline {egmass}{{Exercise}{6.{3}}{}}{115}% +\contentsline {pymass}{{Python Code}{6.{1}}{}}{116}% +\contentsline {pymass}{{Python Code}{6.{2}}{}}{117}% +\contentsline {egmass}{{Exercise}{6.{4}}{}}{118}% +\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{119}% +\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{119}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{120}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{121}% +\contentsline {egmass}{{Exercise}{7.{1}}{}}{126}% +\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{127}% +\contentsline {ardmass}{{Arduino Code}{7.{2}}{}}{127}% +\contentsline {ardmass}{{Arduino Code}{7.{3}}{}}{127}% +\contentsline {egmass}{{Exercise}{7.{2}}{}}{130}% +\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{131}% +\contentsline {codemass}{{Scilab Code}{7.{2}}{}}{131}% +\contentsline {codemass}{{Scilab Code}{7.{3}}{}}{131}% +\contentsline {egmass}{{Exercise}{7.{3}}{}}{133}% +\contentsline {pymass}{{Python Code}{7.{1}}{}}{137}% +\contentsline {pymass}{{Python Code}{7.{2}}{}}{138}% +\contentsline {pymass}{{Python Code}{7.{3}}{}}{138}% +\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{140}% +\contentsline {juliamass}{{Julia Code}{7.{2}}{}}{141}% +\contentsline {juliamass}{{Julia Code}{7.{3}}{}}{141}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{142}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{2}}{}}{142}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{3}}{}}{143}% +\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{148}% +\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{150}% +\contentsline {pymass}{{Python Code}{8.{1}}{}}{153}% +\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{155}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{156}% +\contentsline {egmass}{{Exercise}{9.{1}}{}}{163}% +\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{163}% +\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{164}% +\contentsline {egmass}{{Exercise}{9.{2}}{}}{165}% +\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{166}% +\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{166}% +\contentsline {pymass}{{Python Code}{9.{1}}{}}{171}% +\contentsline {pymass}{{Python Code}{9.{2}}{}}{172}% +\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{173}% +\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{174}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{175}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{176}% +\contentsline {egmass}{{Exercise}{10.{1}}{}}{179}% +\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{179}% +\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{180}% +\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{180}% +\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{181}% +\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{182}% +\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{182}% +\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{183}% +\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{183}% +\contentsline {pymass}{{Python Code}{10.{1}}{}}{189}% +\contentsline {pymass}{{Python Code}{10.{2}}{}}{190}% +\contentsline {pymass}{{Python Code}{10.{3}}{}}{191}% +\contentsline {pymass}{{Python Code}{10.{4}}{}}{192}% +\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{194}% +\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{194}% +\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{195}% +\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{195}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{196}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{197}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{198}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{198}% +\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{213}% +\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{215}% +\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{215}% +\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{215}% +\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{216}% +\contentsline {pymass}{{Python Code}{11.{1}}{}}{216}% +\contentsline {pymass}{{Python Code}{11.{2}}{}}{216}% +\contentsline {pymass}{{Python Code}{11.{3}}{}}{217}% +\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{217}% +\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{217}% +\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{218}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{218}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{218}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{219}% diff --git a/floss-arduino.toc b/floss-arduino.toc index d87dfe8..f631d1c 100644 --- a/floss-arduino.toc +++ b/floss-arduino.toc @@ -29,176 +29,178 @@ \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}{26}% -\contentsline {subsection}{\numberline {3.2.2}Scilab Arduino toolbox}{26}% -\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}{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}% -\contentsline {subsection}{\numberline {3.4.2}Firmware}{42}% -\contentsline {section}{\numberline {3.5}Julia}{43}% -\contentsline {subsection}{\numberline {3.5.1}Downloading and installing Julia}{43}% -\contentsline {subsection}{\numberline {3.5.2}Executing source files in Julia}{46}% -\contentsline {subsection}{\numberline {3.5.3}Julia Arduino toolbox}{47}% -\contentsline {subsection}{\numberline {3.5.4}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}Simulating models in OpenModelica}{50}% -\contentsline {subsection}{\numberline {3.6.3}OpenModelica Arduino toolbox}{52}% -\contentsline {subsection}{\numberline {3.6.4}Firmware}{56}% -\contentsline {chapter}{\numberline {4}Interfacing a Light Emitting Diode}{57}% -\contentsline {section}{\numberline {4.1}Preliminaries}{57}% -\contentsline {section}{\numberline {4.2}Connecting an RGB LED with Arduino Uno\ using a breadboard}{59}% -\contentsline {section}{\numberline {4.3}Lighting the LED from the Arduino IDE}{60}% -\contentsline {subsection}{\numberline {4.3.1}Lighting the LED}{60}% -\contentsline {paragraph}{Note:}{61}% -\contentsline {paragraph}{Note:}{61}% -\contentsline {subsection}{\numberline {4.3.2}Arduino Code}{62}% -\contentsline {section}{\numberline {4.4}Lighting the LED from Scilab}{64}% -\contentsline {subsection}{\numberline {4.4.1}Lighting the LED}{64}% -\contentsline {subsection}{\numberline {4.4.2}Scilab Code}{65}% -\contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{66}% -\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{70}% -\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{70}% -\contentsline {subsection}{\numberline {4.6.2}Python Code}{73}% -\contentsline {section}{\numberline {4.7}Lighting the LED from Julia}{77}% -\contentsline {subsection}{\numberline {4.7.1}Lighting the LED}{77}% -\contentsline {subsection}{\numberline {4.7.2}Julia Code}{78}% -\contentsline {section}{\numberline {4.8}Lighting the LED from OpenModelica}{80}% -\contentsline {subsection}{\numberline {4.8.1}Lighting the LED}{80}% -\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{81}% -\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{85}% -\contentsline {section}{\numberline {5.1}Preliminaries}{85}% -\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{85}% -\contentsline {section}{\numberline {5.3}Reading the Pushbutton Status from the Arduino IDE}{88}% -\contentsline {subsection}{\numberline {5.3.1}Reading the Pushbutton Status}{88}% -\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{89}% -\contentsline {section}{\numberline {5.4}Reading the Pushbutton Status from Scilab}{90}% -\contentsline {subsection}{\numberline {5.4.1}Reading the Pushbutton Status}{90}% -\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{91}% -\contentsline {section}{\numberline {5.5}Accessing the Pushbutton from Xcos}{91}% -\contentsline {section}{\numberline {5.6}Reading the Pushbutton Status from Python}{94}% -\contentsline {subsection}{\numberline {5.6.1}Reading the Pushbutton Status}{94}% -\contentsline {subsection}{\numberline {5.6.2}Python Code}{95}% -\contentsline {section}{\numberline {5.7}Reading the Pushbutton Status from Julia}{97}% -\contentsline {subsection}{\numberline {5.7.1}Reading the Pushbutton Status}{97}% -\contentsline {subsection}{\numberline {5.7.2}Julia Code}{97}% -\contentsline {section}{\numberline {5.8}Reading the Pushbutton Status from OpenModelica}{98}% -\contentsline {subsection}{\numberline {5.8.1}Reading the Pushbutton Status}{98}% -\contentsline {subsection}{\numberline {5.8.2}OpenModelica Code}{98}% -\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{101}% -\contentsline {section}{\numberline {6.1}Preliminaries}{101}% -\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{103}% -\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{104}% -\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{104}% -\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{105}% -\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{106}% -\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{106}% -\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{107}% -\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{108}% -\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{110}% -\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{110}% -\contentsline {subsection}{\numberline {6.6.2}Python Code}{112}% -\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{114}% -\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{114}% -\contentsline {subsection}{\numberline {6.7.2}Julia Code}{115}% -\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{115}% -\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{115}% -\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{116}% -\contentsline {chapter}{\numberline {7}Controlling a DC motor}{119}% -\contentsline {section}{\numberline {7.1}Preliminaries}{119}% -\contentsline {section}{\numberline {7.2}Controlling the DC motor from Arduino}{121}% -\contentsline {subsection}{\numberline {7.2.1}Controlling the DC motor}{121}% -\contentsline {subsection}{\numberline {7.2.2}Arduino Code}{123}% -\contentsline {section}{\numberline {7.3}Controlling the DC motor from Scilab}{124}% -\contentsline {subsection}{\numberline {7.3.1}Initialization}{124}% -\contentsline {subsection}{\numberline {7.3.2}Rotation for a specified time}{125}% -\contentsline {subsection}{\numberline {7.3.3}Using the capabilities of Scilab}{126}% -\contentsline {subsection}{\numberline {7.3.4}Scilab Code}{127}% -\contentsline {section}{\numberline {7.4}Controlling the DC Motor from Xcos}{128}% -\contentsline {section}{\numberline {7.5}Controlling the DC Motor from Python}{131}% -\contentsline {subsection}{\numberline {7.5.1}Controlling the DC Motor}{131}% -\contentsline {subsection}{\numberline {7.5.2}Python Code}{133}% -\contentsline {section}{\numberline {7.6}Controlling the DC Motor from Julia}{136}% -\contentsline {subsection}{\numberline {7.6.1}Controlling the DC Motor}{136}% -\contentsline {subsection}{\numberline {7.6.2}Julia Code}{136}% -\contentsline {section}{\numberline {7.7}Controlling the DC Motor from OpenModelica}{137}% -\contentsline {subsection}{\numberline {7.7.1}Controlling the DC Motor}{137}% -\contentsline {subsection}{\numberline {7.7.2}OpenModelica Code}{138}% -\contentsline {chapter}{\numberline {8}Interfacing a Potentiometer}{141}% -\contentsline {section}{\numberline {8.1}Preliminaries}{141}% -\contentsline {section}{\numberline {8.2}Connecting a potentiometer with Arduino Uno\ using a breadboard}{142}% -\contentsline {section}{\numberline {8.3}Reading the potentiometer from the Arduino IDE}{143}% -\contentsline {subsection}{\numberline {8.3.1}Reading the potentiometer}{143}% -\contentsline {subsection}{\numberline {8.3.2}Arduino Code}{144}% -\contentsline {section}{\numberline {8.4}Reading the potentiometer from Scilab}{145}% -\contentsline {subsection}{\numberline {8.4.1}Reading the potentiometer}{145}% -\contentsline {subsection}{\numberline {8.4.2}Scilab Code}{146}% -\contentsline {section}{\numberline {8.5}Reading the potentiometer from Xcos}{146}% -\contentsline {paragraph}{Exercise:}{147}% -\contentsline {section}{\numberline {8.6}Reading the potentiometer from Python}{147}% -\contentsline {subsection}{\numberline {8.6.1}Reading the potentiometer}{147}% -\contentsline {subsection}{\numberline {8.6.2}Python Code}{149}% -\contentsline {section}{\numberline {8.7}Reading the potentiometer from Julia}{150}% -\contentsline {subsection}{\numberline {8.7.1}Reading the potentiometer}{150}% -\contentsline {subsection}{\numberline {8.7.2}Julia Code}{151}% -\contentsline {section}{\numberline {8.8}Reading the potentiometer from OpenModelica}{151}% -\contentsline {subsection}{\numberline {8.8.1}Reading the potentiometer}{151}% -\contentsline {subsection}{\numberline {8.8.2}OpenModelica Code}{152}% -\contentsline {chapter}{\numberline {9}Interfacing a Thermistor}{155}% -\contentsline {section}{\numberline {9.1}Preliminaries}{155}% -\contentsline {section}{\numberline {9.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{156}% -\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from the Arduino IDE}{158}% -\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{158}% -\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{159}% -\contentsline {section}{\numberline {9.4}Interfacing the Thermistor from Scilab}{160}% -\contentsline {subsection}{\numberline {9.4.1}Interfacing the Thermistor}{160}% -\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{162}% -\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Xcos}{163}% -\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Python}{166}% -\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{166}% -\contentsline {subsection}{\numberline {9.6.2}Python Code}{167}% -\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from Julia}{169}% -\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{169}% -\contentsline {subsection}{\numberline {9.7.2}Julia Code}{169}% -\contentsline {section}{\numberline {9.8}Interfacing the Thermistor from OpenModelica}{170}% -\contentsline {subsection}{\numberline {9.8.1}Interfacing the Thermistor}{170}% -\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{171}% -\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{173}% -\contentsline {section}{\numberline {10.1}Preliminaries}{173}% -\contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{174}% -\contentsline {subsection}{\numberline {10.2.1}Controlling the Servometer}{174}% -\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{175}% -\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{177}% -\contentsline {subsection}{\numberline {10.3.1}Controlling the Servomotor}{177}% -\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{178}% -\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{179}% -\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{184}% -\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{184}% -\contentsline {subsection}{\numberline {10.5.2}Python Code}{185}% -\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{189}% -\contentsline {subsection}{\numberline {10.6.1}Controlling the Servomotor}{189}% -\contentsline {subsection}{\numberline {10.6.2}Julia Code}{190}% -\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{191}% -\contentsline {subsection}{\numberline {10.7.1}Controlling the Servomotor}{191}% -\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{192}% -\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{197}% -\contentsline {section}{\numberline {11.1}Preliminaries}{197}% -\contentsline {section}{\numberline {11.2}Objective}{202}% -\contentsline {section}{\numberline {11.3}Energy Meter set up for Modbus protocol with Arduino Uno}{202}% -\contentsline {section}{\numberline {11.4}Software}{203}% -\contentsline {section}{\numberline {11.5}Output}{204}% -\contentsline {section}{\numberline {11.6}Reading Parameters from Xcos}{206}% -\contentsline {section}{\numberline {11.7}Code}{209}% -\contentsline {subsection}{\numberline {11.7.1}Arduino Code}{209}% -\contentsline {subsection}{\numberline {11.7.2}Scilab Code}{211}% -\contentsline {subsection}{\numberline {11.7.3}Python Code}{212}% -\contentsline {subsection}{\numberline {11.7.4}Julia Code}{213}% -\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{214}% -\contentsline {chapter}{\numberline {References}}{217}% +\contentsline {section}{\numberline {3.2}Scilab}{26}% +\contentsline {subsection}{\numberline {3.2.1}Downloading and installing Scilab\ on Windows}{26}% +\contentsline {subsection}{\numberline {3.2.2}Downloading and installing Scilab\ on Linux}{27}% +\contentsline {subsection}{\numberline {3.2.3}Scilab Arduino toolbox}{27}% +\contentsline {subsection}{\numberline {3.2.4}Identifying Arduino communication port number}{29}% +\contentsline {subsection}{\numberline {3.2.5}Testing Scilab-Arduino toolbox}{31}% +\contentsline {subsection}{\numberline {3.2.6}Firmware}{35}% +\contentsline {section}{\numberline {3.3}Xcos}{36}% +\contentsline {subsection}{\numberline {3.3.1}Downloading, installing and testing}{36}% +\contentsline {subsection}{\numberline {3.3.2}Use case}{37}% +\contentsline {subsection}{\numberline {3.3.3}Xcos-Arduino}{41}% +\contentsline {section}{\numberline {3.4}Python}{42}% +\contentsline {subsection}{\numberline {3.4.1}Downloading and installing on Windows}{42}% +\contentsline {subsection}{\numberline {3.4.2}Downloading and installing on Linux}{45}% +\contentsline {subsection}{\numberline {3.4.3}Firmware}{46}% +\contentsline {section}{\numberline {3.5}Julia}{47}% +\contentsline {subsection}{\numberline {3.5.1}Downloading and installing Julia}{47}% +\contentsline {subsection}{\numberline {3.5.2}Executing source files in Julia}{50}% +\contentsline {subsection}{\numberline {3.5.3}Julia Arduino toolbox}{51}% +\contentsline {subsection}{\numberline {3.5.4}Firmware}{52}% +\contentsline {section}{\numberline {3.6}OpenModelica}{52}% +\contentsline {subsection}{\numberline {3.6.1}Downloading and installing OpenModelica}{52}% +\contentsline {subsection}{\numberline {3.6.2}Simulating models in OpenModelica}{54}% +\contentsline {subsection}{\numberline {3.6.3}OpenModelica Arduino toolbox}{56}% +\contentsline {subsection}{\numberline {3.6.4}Firmware}{60}% +\contentsline {chapter}{\numberline {4}Interfacing a Light Emitting Diode}{61}% +\contentsline {section}{\numberline {4.1}Preliminaries}{61}% +\contentsline {section}{\numberline {4.2}Connecting an RGB LED with Arduino Uno\ using a breadboard}{63}% +\contentsline {section}{\numberline {4.3}Lighting the LED from the Arduino IDE}{64}% +\contentsline {subsection}{\numberline {4.3.1}Lighting the LED}{64}% +\contentsline {paragraph}{Note:}{65}% +\contentsline {paragraph}{Note:}{65}% +\contentsline {subsection}{\numberline {4.3.2}Arduino Code}{66}% +\contentsline {section}{\numberline {4.4}Lighting the LED from Scilab}{68}% +\contentsline {subsection}{\numberline {4.4.1}Lighting the LED}{68}% +\contentsline {subsection}{\numberline {4.4.2}Scilab Code}{69}% +\contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{70}% +\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{74}% +\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{74}% +\contentsline {subsection}{\numberline {4.6.2}Python Code}{77}% +\contentsline {section}{\numberline {4.7}Lighting the LED from Julia}{81}% +\contentsline {subsection}{\numberline {4.7.1}Lighting the LED}{81}% +\contentsline {subsection}{\numberline {4.7.2}Julia Code}{82}% +\contentsline {section}{\numberline {4.8}Lighting the LED from OpenModelica}{84}% +\contentsline {subsection}{\numberline {4.8.1}Lighting the LED}{84}% +\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{85}% +\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{89}% +\contentsline {section}{\numberline {5.1}Preliminaries}{89}% +\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{89}% +\contentsline {section}{\numberline {5.3}Reading the Pushbutton Status from the Arduino IDE}{92}% +\contentsline {subsection}{\numberline {5.3.1}Reading the Pushbutton Status}{92}% +\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{93}% +\contentsline {section}{\numberline {5.4}Reading the Pushbutton Status from Scilab}{94}% +\contentsline {subsection}{\numberline {5.4.1}Reading the Pushbutton Status}{94}% +\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{95}% +\contentsline {section}{\numberline {5.5}Accessing the Pushbutton from Xcos}{95}% +\contentsline {section}{\numberline {5.6}Reading the Pushbutton Status from Python}{98}% +\contentsline {subsection}{\numberline {5.6.1}Reading the Pushbutton Status}{98}% +\contentsline {subsection}{\numberline {5.6.2}Python Code}{99}% +\contentsline {section}{\numberline {5.7}Reading the Pushbutton Status from Julia}{101}% +\contentsline {subsection}{\numberline {5.7.1}Reading the Pushbutton Status}{101}% +\contentsline {subsection}{\numberline {5.7.2}Julia Code}{101}% +\contentsline {section}{\numberline {5.8}Reading the Pushbutton Status from OpenModelica}{102}% +\contentsline {subsection}{\numberline {5.8.1}Reading the Pushbutton Status}{102}% +\contentsline {subsection}{\numberline {5.8.2}OpenModelica Code}{102}% +\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{105}% +\contentsline {section}{\numberline {6.1}Preliminaries}{105}% +\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{107}% +\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{108}% +\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{108}% +\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{109}% +\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{110}% +\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{110}% +\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{111}% +\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{112}% +\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{114}% +\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{114}% +\contentsline {subsection}{\numberline {6.6.2}Python Code}{116}% +\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{118}% +\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{118}% +\contentsline {subsection}{\numberline {6.7.2}Julia Code}{119}% +\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{119}% +\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{119}% +\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{120}% +\contentsline {chapter}{\numberline {7}Controlling a DC motor}{123}% +\contentsline {section}{\numberline {7.1}Preliminaries}{123}% +\contentsline {section}{\numberline {7.2}Controlling the DC motor from Arduino}{125}% +\contentsline {subsection}{\numberline {7.2.1}Controlling the DC motor}{125}% +\contentsline {subsection}{\numberline {7.2.2}Arduino Code}{127}% +\contentsline {section}{\numberline {7.3}Controlling the DC motor from Scilab}{128}% +\contentsline {subsection}{\numberline {7.3.1}Initialization}{128}% +\contentsline {subsection}{\numberline {7.3.2}Rotation for a specified time}{129}% +\contentsline {subsection}{\numberline {7.3.3}Using the capabilities of Scilab}{130}% +\contentsline {subsection}{\numberline {7.3.4}Scilab Code}{131}% +\contentsline {section}{\numberline {7.4}Controlling the DC Motor from Xcos}{132}% +\contentsline {section}{\numberline {7.5}Controlling the DC Motor from Python}{135}% +\contentsline {subsection}{\numberline {7.5.1}Controlling the DC Motor}{135}% +\contentsline {subsection}{\numberline {7.5.2}Python Code}{137}% +\contentsline {section}{\numberline {7.6}Controlling the DC Motor from Julia}{140}% +\contentsline {subsection}{\numberline {7.6.1}Controlling the DC Motor}{140}% +\contentsline {subsection}{\numberline {7.6.2}Julia Code}{140}% +\contentsline {section}{\numberline {7.7}Controlling the DC Motor from OpenModelica}{141}% +\contentsline {subsection}{\numberline {7.7.1}Controlling the DC Motor}{141}% +\contentsline {subsection}{\numberline {7.7.2}OpenModelica Code}{142}% +\contentsline {chapter}{\numberline {8}Interfacing a Potentiometer}{145}% +\contentsline {section}{\numberline {8.1}Preliminaries}{145}% +\contentsline {section}{\numberline {8.2}Connecting a potentiometer with Arduino Uno\ using a breadboard}{146}% +\contentsline {section}{\numberline {8.3}Reading the potentiometer from the Arduino IDE}{147}% +\contentsline {subsection}{\numberline {8.3.1}Reading the potentiometer}{147}% +\contentsline {subsection}{\numberline {8.3.2}Arduino Code}{148}% +\contentsline {section}{\numberline {8.4}Reading the potentiometer from Scilab}{149}% +\contentsline {subsection}{\numberline {8.4.1}Reading the potentiometer}{149}% +\contentsline {subsection}{\numberline {8.4.2}Scilab Code}{150}% +\contentsline {section}{\numberline {8.5}Reading the potentiometer from Xcos}{150}% +\contentsline {paragraph}{Exercise:}{151}% +\contentsline {section}{\numberline {8.6}Reading the potentiometer from Python}{151}% +\contentsline {subsection}{\numberline {8.6.1}Reading the potentiometer}{151}% +\contentsline {subsection}{\numberline {8.6.2}Python Code}{153}% +\contentsline {section}{\numberline {8.7}Reading the potentiometer from Julia}{154}% +\contentsline {subsection}{\numberline {8.7.1}Reading the potentiometer}{154}% +\contentsline {subsection}{\numberline {8.7.2}Julia Code}{155}% +\contentsline {section}{\numberline {8.8}Reading the potentiometer from OpenModelica}{155}% +\contentsline {subsection}{\numberline {8.8.1}Reading the potentiometer}{155}% +\contentsline {subsection}{\numberline {8.8.2}OpenModelica Code}{156}% +\contentsline {chapter}{\numberline {9}Interfacing a Thermistor}{159}% +\contentsline {section}{\numberline {9.1}Preliminaries}{159}% +\contentsline {section}{\numberline {9.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{160}% +\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from the Arduino IDE}{162}% +\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{162}% +\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{163}% +\contentsline {section}{\numberline {9.4}Interfacing the Thermistor from Scilab}{164}% +\contentsline {subsection}{\numberline {9.4.1}Interfacing the Thermistor}{164}% +\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{166}% +\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Xcos}{167}% +\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Python}{170}% +\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{170}% +\contentsline {subsection}{\numberline {9.6.2}Python Code}{171}% +\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from Julia}{173}% +\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{173}% +\contentsline {subsection}{\numberline {9.7.2}Julia Code}{173}% +\contentsline {section}{\numberline {9.8}Interfacing the Thermistor from OpenModelica}{174}% +\contentsline {subsection}{\numberline {9.8.1}Interfacing the Thermistor}{174}% +\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{175}% +\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{177}% +\contentsline {section}{\numberline {10.1}Preliminaries}{177}% +\contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{178}% +\contentsline {subsection}{\numberline {10.2.1}Controlling the Servometer}{178}% +\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{179}% +\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{181}% +\contentsline {subsection}{\numberline {10.3.1}Controlling the Servomotor}{181}% +\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{182}% +\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{183}% +\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{188}% +\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{188}% +\contentsline {subsection}{\numberline {10.5.2}Python Code}{189}% +\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{193}% +\contentsline {subsection}{\numberline {10.6.1}Controlling the Servomotor}{193}% +\contentsline {subsection}{\numberline {10.6.2}Julia Code}{194}% +\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{195}% +\contentsline {subsection}{\numberline {10.7.1}Controlling the Servomotor}{195}% +\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{196}% +\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{201}% +\contentsline {section}{\numberline {11.1}Preliminaries}{201}% +\contentsline {section}{\numberline {11.2}Objective}{206}% +\contentsline {section}{\numberline {11.3}Energy Meter set up for Modbus protocol with Arduino Uno}{206}% +\contentsline {section}{\numberline {11.4}Software}{207}% +\contentsline {section}{\numberline {11.5}Output}{208}% +\contentsline {section}{\numberline {11.6}Reading Parameters from Xcos}{210}% +\contentsline {section}{\numberline {11.7}Code}{213}% +\contentsline {subsection}{\numberline {11.7.1}Arduino Code}{213}% +\contentsline {subsection}{\numberline {11.7.2}Scilab Code}{215}% +\contentsline {subsection}{\numberline {11.7.3}Python Code}{216}% +\contentsline {subsection}{\numberline {11.7.4}Julia Code}{217}% +\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{218}% +\contentsline {chapter}{\numberline {References}}{221}% diff --git a/user-code/sw-env/figures/device-manager-com.png b/user-code/sw-env/figures/device-manager-com.png Binary files differnew file mode 100644 index 0000000..b741327 --- /dev/null +++ b/user-code/sw-env/figures/device-manager-com.png diff --git a/user-code/sw-env/figures/python-windows-install.png b/user-code/sw-env/figures/python-windows-install.png Binary files differnew file mode 100644 index 0000000..480fc92 --- /dev/null +++ b/user-code/sw-env/figures/python-windows-install.png diff --git a/user-code/sw-env/figures/win-command-prompt.png b/user-code/sw-env/figures/win-command-prompt.png Binary files differnew file mode 100644 index 0000000..a0f5a3c --- /dev/null +++ b/user-code/sw-env/figures/win-command-prompt.png diff --git a/user-code/sw-env/figures/windows-cmd.png b/user-code/sw-env/figures/windows-cmd.png Binary files differnew file mode 100644 index 0000000..008f406 --- /dev/null +++ b/user-code/sw-env/figures/windows-cmd.png diff --git a/user-code/sw-env/sw-env.tex b/user-code/sw-env/sw-env.tex index 59f1920..d55df49 100644 --- a/user-code/sw-env/sw-env.tex +++ b/user-code/sw-env/sw-env.tex @@ -45,13 +45,14 @@ different purposes as per the requirement. For example, \item To run \arduino\ stand-alone, without waiting for any commands
from other software or hardware, for the specified time or until
power off
- \item To decode the commands sent by other software, such as \scilab,
- through serial port, and execute the given instructions
- %\item Combination of the above two
+ \item To decode the commands sent by other software, such as OpenModelica,
+ Julia, Python, \scilab, etc., through a serial port, and
+ execute the given instructions %\item Combination of the above two
\end{itemize}
Next, we shall discuss Scilab and Xcos, which are open-source software
tools, and a related toolbox that can communicate with \arduino\
-over a serial port using RS232 protocol.
+over a serial port using RS232 protocol. Subsequently, we shall discuss
+other open-source software tools such as Python, Julia, and OpenModelica.
\section{Arduino IDE}\label{arduino-ide}
\label{sec:ard-start}
@@ -76,8 +77,8 @@ Arduino IDE on Windows OS: \begin{enumerate}
\setcounter{enumi}2
- \item Visit the URL, \\{\tt https://www.arduino.cc/en/software} \\
- locate on the right side of the page the link \emph{Windows ZIP file} and click it.
+ \item Visit the URL, {\tt https://www.arduino.cc/en/software}. On the
+ right right side of the page, locate the link \emph{Windows ZIP file} and click on it.
This may redirect you to the download/donate page. Read the instructions and proceed with the
download.
\item Extract the downloaded ZIP file to Desktop. Do not alter any
@@ -88,9 +89,13 @@ Arduino IDE on Windows OS: click on ``System'' and then choose the ``Device Manager''.
\item Look for ``Other devices'' in the ``Device Manager'' list,
expand and locate ``Unknown device''. This may be similar to what
- is shown in \figref{win-device-manager}.
- \item Right-click on the ``Unknown device'' and select the ``Update
- Driver Software'' option as shown in \figref{win-dri-update}.
+ is shown in \figref{win-device-manager}. In case, you don't see
+ ``Unknown device,'' look for ``Ports (COM \& LPT)'' and expand it to locate
+ ``USB Serial Device (COM2)''.
+ This may be similar to what is shown in \figref{win-device-manager-com}.
+ \item Right-click on the ``Unknown device'' (or ``USB Serial Device (COM2)'' as shown in
+ the previous step) and select the ``Update Driver Software'' (or ``Update driver'') option
+ as shown in \figref{win-dri-update}.
\item Next, choose the ``Browse my computer for Driver software''
option.
\item Navigate to the newly extracted Arduino folder on the Desktop and
@@ -108,6 +113,13 @@ Arduino IDE on Windows OS: \begin{figure}
\centering
+ \includegraphics[width=\linewidth]{\LocSWfig/device-manager-com.png}
+ \caption{Windows device manager}
+ \label{win-device-manager-com}
+\end{figure}
+
+\begin{figure}
+ \centering
\includegraphics[width=\linewidth]{\LocHWfig/update-driver.png}
\caption{Windows update driver option}
\label{win-dri-update}
@@ -136,9 +148,9 @@ above. Then carry out the following: earlier, we will perform experiments with a 64-bit installation.
\item At the time of writing this book, we worked with version 1.8.13.
- Assuming that you have downloaded tar file in~
- {\large \textasciitilde}/Downloads directory, perform the following
- steps on the terminal:
+ Assuming that you have downloaded the tar file in
+ the Downloads directory, execute the following
+ commands on the terminal:
\begin{quote}
{\tt cd {\large\textasciitilde}/Downloads\\
tar -xvf arduino-1.8.13-linux64.tar.xz\\
@@ -299,18 +311,16 @@ example program. Arduino programming syntax is different from other languages. In an
embedded setup, a program is expected to run forever. To facilitate
-this, the Arduino programming structure has two main functions: setup():
+this, the Arduino programming structure has two main functions: {\tt setup()}:
Used to initialize variables, pin modes, libraries, etc. The setup
function will run only once after each powerup or board reset.
-loop(): Code inside this function runs forever. An Arduino program
-must have setup() and loop() functions. We will give several examples
+{\tt loop()}: Code inside this function runs forever. An Arduino program
+must have {\tt setup()} and {\tt loop()} functions. We will give several examples
in this book to explain this usage.
An inbuilt offline help is available within the IDE. You may access
the explanation on IDE by navigating to ``Help'' and then
-Environment. Access Arduino language reference at ``Help'' and then
-Reference. Access FAQs and troubleshooting tricks at ``Help'' and then
-Troubleshooting.
+Environment.
\subsection{Firmware}
We have provided a code to check whether the Arduino firmware has been
@@ -319,12 +329,12 @@ properly installed. The first few lines of this code follow. \begin{ardcode}
\acaption{First 10 lines of the Arduino firmware}{First 10 lines of
the Arduino firmware. Available at
- \LocSWfirmbrief{arduino-firmware.ino}. By following the
+ \LocSWfirmbrief{arduino-firmware.ino}. Following the
steps given in sections \ref{sec:Arduino-IDE} and
\ref{sec:testing-arduino}, open this code in
- Arduino IDE and upload it to Arduino Uno.
- Once the upload is successful, you should expect a message
- in the bottom of Arduino IDE as shown in \figref{ard-ide}. }
+ Arduino IDE and upload it to \arduino.
+ Once the upload is successful, you should expect a success message
+ at the bottom of Arduino IDE, as shown in \figref{ard-ide}. }
\label{ard:firmware}
\lstinputlisting[firstline=1,lastline=10]
{\LocSWfirmcode/arduino-firmware.ino}
@@ -391,29 +401,57 @@ also interact with other major programming languages such as Fortran, C, C++, Python, Java, and TCL/TK \cite{scilab-interop}. It has a
graphical editor called Xcos, which is similar to Simulink of Matlab.
-\subsection{Downloading and installing \scilab}\label{scilab-installation}
-Scilab can be downloaded free of cost from {\tt https://www.scilab.org/}. It is
-available for all popular operating systems, including Windows, Linux,
-and Mac OS X systems. This book uses Scilab-5.5.2 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. It has to be noted that
-\scilab\ requires internet connectivity during installation on
-Windows. There is an option at the beginning of the installation to
-continue offline but it is not recommended. Scilab can be launched
-either from the Start menu or by double-clicking on the \scilab\ icon
-created on the Desktop (if any).
-
-Package managers of Linux do not have the latest versions of Scilab.
-As a result, downloading directly from the \scilab\ website, {\tt
- https://www.scilab.org/}, is recommended, as there are differences in
-Scilab from version to version. We expect such problems to be overcome
-in the future. The file downloaded will be in a tar.gz format. It has
-to be extracted before use. It is a portable version and needs no
-installation. Scilab can be launched and used right away. To launch
-\scilab, open a terminal by pressing the Alt+Ctrl+T keys
+In the upcoming sections, we have provided the steps to install Scilab on
+Windows and Linux. After installing Scilab, the readers are advised to
+watch the tutorials on Scilab 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 sixth and
+thirteenth tutorials, i.e., Getting Started and Xcos Introduction.
+
+
+\subsection{Downloading and installing \scilab\ on Windows}\label{scilab-installation-windows}
+This book uses Scilab 5.5.2 for demonstrating the experiments,
+both on Windows and Linux. Starting from download, we shall go through
+the steps to set up Scilab 5.5.2 on Windows OS:
+
+\begin{enumerate}
+ \item Visit the URL {\tt https://www.scilab.org/}.
+ At the top of the page, locate the Download tab and click on it.
+ It will take you to various software versions available for Scilab.
+ On the left side of this page, find Scilab 5.5.2 and click on it.
+ Now, download the executable file for Scilab 5.5.2 compatible with your machine.
+ We will download Scilab 5.5.2 - Windows 64 bits provided under
+ Windows Vista, 7, 8, 10.
+ \item Locate the executable (.exe) file and double-click on it to
+ begin the installation. All the default parameters of installation
+ are acceptable. It may be noted that Scilab requires internet
+ connectivity during installation on Windows. There is an option
+ at the beginning of the installation to continue offline,
+ but it is not recommended.
+\end{enumerate}
+
+Once the installation is complete, Scilab can be launched either from the
+Start menu or by double-clicking on the Scilab icon created on the Desktop.
+
+\subsection{Downloading and installing \scilab\ on Linux}\label{scilab-installation-linux}
+
+Package managers of Linux do not have the latest versions of Scilab.
+So, we will install Scilab by downloading the executable file
+from {\tt https://www.scilab.org/}. Starting from download, we shall go
+through the steps to set up Scilab 5.5.2 on Linux:
+
+\begin{enumerate}
+ \item Visit the URL {\tt https://www.scilab.org/}. At the top of the page,
+ locate the Download tab and click on it. It will take you to various
+ software versions available for Scilab. On the left side of this page,
+ find Scilab 5.5.2 and click on it. Now, download the executable file for Scilab 5.5.2
+ compatible with your machine. We will download Scilab 5.5.2 - Linux 64 bits provided under GNU/Linux.
+ \item Locate the executable (tar.gz) file and extract it.
+ It is a portable version and needs no installation.
+ Scilab can be launched and used right away.
+\end{enumerate}
+
+To launch \scilab, open a terminal by pressing the Alt+Ctrl+T keys
together. Change the directory where \scilab\ is extracted. Browse
till the {\tt /bin} directory. Type the command {\tt ls} to see a few
\scilab\ files. Then execute the command {\tt sudo ./scilab}. Note
@@ -446,7 +484,7 @@ Let us now see how to load the Scilab Arduino toolbox. \scilab\ either through the Start menu or by double-clicking on the
shortcut icon created on the Desktop. On a Linux system, one has to
start \scilab\ through a terminal with root permissions, as
- explained in section \ref{scilab-installation}.
+ explained in section \ref{scilab-installation-linux}.
\item After launching \scilab, first we have to change the working
directory. To do so, click on the {\tt File} menu and then click on
the {\tt Change current directory} option as shown in
@@ -460,7 +498,7 @@ Let us now see how to load the Scilab Arduino toolbox. \item Then, one has to browse to the toolbox folder
{\tt Origin/tools/windows} or {\tt Origin/tools/linux}, as the case
may be, and click on, {\tt
- open}, as shown in \figref{scilab-browse}.
+ Open}, as shown in \figref{scilab-browse}.
\begin{figure}
\centering
\includegraphics[width=\hgfig]{\LocSWfig/browse-directory.png}
@@ -616,7 +654,7 @@ Now let us test the functioning of the toolbox. \item To execute this code, on the menu bar, click on the {\tt
Execute}, option. Then choose {\tt File with no echo}. The output
- will appear on the console as shown in \figref{test-console}.
+ will appear on the Console as shown in \figref{test-console}.
\begin{figure}
\centering
\includegraphics[scale=0.5]{\LocSWfig/test-console.png}
@@ -879,37 +917,139 @@ The Python interpreter and the extensive standard library are available in sourc charge for all major platforms, and can be freely distributed \cite{python-ref}.
-\subsection{Downloading and installing Python}\label{python-installation}
-Python can be downloaded free of cost from {\tt https://www.python.org/}. It is
-available for all popular operating systems, including Windows, Linux
-and Mac OS X systems. This book uses Python 3.5 for demonstrating
-the experiments, both on Windows and Linux.
+\subsection{Downloading and installing on Windows} \label{python-installation}
+This book uses Python 3 for demonstrating the experiments, both on Windows
+and Linux. Since Python uses indentation to indicate a block of code,
+the users are advised to install a programmer text editor like Atom.
+This editor will allow the readers to modify the Python scripts on their
+machines if they want to. Starting from download, we shall go through the
+steps to set up Python 3 on Windows OS:
-For the Windows system, the downloaded file is an executable (.exe) file. One can download
-this executable file (32-bit or 64-bit as per your system) from Python's webpage i.e.,
-{\tt https://www.python.org/downloads/windows/}.
-It has to be double-clicked to start the installation. All the default parameters of installation
-are acceptable. Once Python has completed the downloading and installation process, we can verify whether
-Python is installed correctly. For this, we need to open Windows PowerShell using the Start menu.
-Once PowerShell is open, enter {\tt Python -{}-version} to confirm that Python has installed on your machine.
+\begin{enumerate}
+ \item Visit the URL {\tt https://www.python.org/}.
+ At the top of the page, locate the Downloads tab and click on it.
+ At the time of writing this book (as of 21 April 2021), Python 3.9.4
+ is the latest version. Click on Download Python 3.9.4 to download the
+ executable file. The readers may want to download the other versions of
+ Python 3. However, we recommend the installation of Python 3.5 or above.
+ It may be noted that some of the Python 3 versions cannot be used on Windows 7 or earlier.
+ \item Locate the executable file and double-click on it to begin the
+ installation. Python 3.9.4 Setup window appears, as shown in \figref{python-windows}.
+ In this window, check the box which says, Add Python 3.9 to PATH and
+ click on Install now.
+ \begin{figure}
+ \centering
+ \includegraphics[width=\lgfig]{\LocSWfig/python-windows-install.png}
+ \caption{Installing Python 3 on Windows}
+ \label{python-windows}
+ \end{figure}
+\end{enumerate}
+
+Once the installation is finished, Python 3.9 App can be launched
+from the Start menu. In this book, we will use the Command Prompt to
+execute the Python scripts. Please note that a Python script has .py as its
+extension. Carry out the steps given below to execute a Python script from
+the Command Prompt:
+
+\begin{enumerate}
+ \item Launch the Command Prompt. Press the Windows key+R together.
+ A window, as shown in \figref{windows-run} appears. In the text box adjacent to {\tt Open}, type {\tt cmd},
+ and press Enter. The Command Prompt, as shown in \figref{windows-cmd} appears.
+ By default, it points to the home directory.
+ \begin{figure}
+ \centering
+ \includegraphics[width=\lgfig]{\LocSWfig/windows-cmd.png}
+ \caption{Launching the Command Prompt on Windows}
+ \label{windows-run}
+ \end{figure}
+ \item Now, we will check whether Python 3.9 was installed
+ successfully or not. In the Command Prompt, type {\tt py -{}-version} and
+ press Enter. If this step displays Python 3.9.4 in the following line,
+ the installation was successful.
+ \begin{figure}
+ \centering
+ \includegraphics[width=\lgfig]{\LocSWfig/win-command-prompt.png}
+ \caption{Command Prompt on Windows}
+ \label{windows-cmd}
+ \end{figure}
+ \item Using the {\tt cd} command, navigate to the directory where your Python
+ script is located. Assuming that your Command Prompt points to the
+ home directory, and you want to navigate to the folder Origin on
+ Desktop, execute the following command: {\tt cd Desktop\textbackslash Origin} \\
+ It may be noted that a backslash (\textbackslash) has been used between
+ Desktop and Origin.
+ \item To view the contents of this folder, type {\tt dir} and press Enter.
+ \item Suppose you have a Python script named {\tt FILENAME.py} in this
+ folder. To execute this script, type {\tt python FILENAME.py} and press
+ Enter. The required output will be displayed in the Command Prompt itself.
+ We don’t expect the readers to run the command {\tt python FILENAME.py} at
+ this instant. This command will be helpful while running the Python
+ scripts in the upcoming sections and chapters.
+ \item To exit the Command Prompt, type {\tt exit} and press Enter.
+
+\end{enumerate}
-Apart from Python, we need to install Python Serial Port Extension.
-For this, one can download the
-Windows pyserial package from the PyPI website, i.e., {\tt https://pypi.python.org/pypi/pyserial/3.4} and
-install it by double-clicking on the downloaded file.
+Apart from Python, we need to install Python Serial Port Extension,
+also known as pyserial \cite{pySerial}. To do so, carry out the steps given
+below:
+\begin{enumerate}
+ \item Launch the Command Prompt, as shown in \figref{windows-run}.
+ \item First, we need to make sure we have pip available.
+ In the Command Prompt, execute the following command: {\tt py -m pip --version} \\
+ This step should display an output with the version of pip installed.
+ \item Now, install pyserial. In the Command Prompt, execute the following command:
+ {\tt py -m pip install pyserial}
+ \item We will verify whether the pyserial package was installed successfully or not.
+ In the Command Prompt, execute the following command:
+ {\tt pip show pyserial}
+ It should show the name, version, etc., of the package.
+ \item To exit the Command Prompt, type {\tt exit} and press Enter.
+\end{enumerate}
+\subsection{Downloading and installing on Linux}
On Linux, we can install Python from the terminal. Please ensure that you
-are connected to the Internet. Open a terminal by
-pressing the Alt+Ctrl+T keys together. Then, update the system by executing the
-command {\tt sudo apt-get update}. Next, install Python3.5 by executing the command given below:\\
-{\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}
-
-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.
-Next, type {\tt python3 FILENAME.py} in the terminal to execute the script.
+are connected to the Internet. To install Python 3.5, carry out the steps given below:
+\begin{enumerate}
+ \item Open a terminal by pressing the Alt+Ctrl+T keys together.
+ \item Update the system by executing the command {\tt sudo apt-get update}
+ \item Install Python3.5 by executing the command given below:\\
+ {\tt sudo apt-get install python3.5}
+ \item Now, we will check whether Python was installed
+ successfully or not. In the terminal, type {\tt py -{}-version} and
+ press Enter. If this step displays Python 3.8.4 in the following line,
+ the installation was successful.
+\end{enumerate}
+
+Once the installation is finished, Python 3 can be launched
+from the terminal. In this book, we will use the Linux terminal to
+execute the Python scripts. Please note that a Python script has .py as its
+extension. Carry out the steps given below to execute a Python script from
+the terminal:
+\begin{enumerate}
+ \item Open a terminal by pressing the Alt+Ctrl+T keys together.
+ \item Using {\tt cd} command, navigate to the directory where the Python script is located.
+ \item Suppose you have a Python script named {\tt FILENAME.py}.
+ To execute this script, type {\tt python3 FILENAME.py} and press
+ Enter. The required output will be displayed in the terminal itself.
+ We don’t expect the readers to run the command {\tt python3 FILENAME.py} at
+ this instant. This command will be helpful while running the Python
+ scripts in the upcoming sections and chapters.
+\end{enumerate}
+
+Apart from Python, we need to install Python Serial Port Extension,
+also known as pyserial \cite{pySerial}. To do so, carry out the steps given
+below:
+\begin{enumerate}
+ \item Open a terminal by pressing the Alt+Ctrl+T keys together.
+ \item First, we need to install pip. In the terminal, execute the following command:
+ {\tt sudo apt-get install python3-pip}
+ \item Now, install pyserial. In the terminal, execute the following command:\\
+ {\tt pip3 install pyserial}
+ \item We will verify whether the pyserial package was installed successfully or not.
+ In the terminal, execute the following command:
+ {\tt pip3 show pyserial}\\
+ It should show the name, version, etc., of the package.
+\end{enumerate}
% \begin{enumerate}
% \item On Ubuntu, Python can be installed from the command line by typing in the
|