diff options
author | SudhakarKuma | 2021-04-29 13:08:37 +0530 |
---|---|---|
committer | SudhakarKuma | 2021-04-29 13:08:37 +0530 |
commit | ee77c5bdc4ad36ae5a9071da4f7e10286d6daaa1 (patch) | |
tree | f16e9bc571a0948a2eb6bb35d9dfca284d96208e | |
parent | bf8d64a29b9681238dffab49c9bfa1a15e848206 (diff) | |
download | FLOSS-Arduino-Book-ee77c5bdc4ad36ae5a9071da4f7e10286d6daaa1.tar.gz FLOSS-Arduino-Book-ee77c5bdc4ad36ae5a9071da4f7e10286d6daaa1.tar.bz2 FLOSS-Arduino-Book-ee77c5bdc4ad36ae5a9071da4f7e10286d6daaa1.zip |
Add new shield image and fix OM code
-rw-r--r-- | floss-arduino.OpenModelicad | 44 | ||||
-rw-r--r-- | floss-arduino.ard | 38 | ||||
-rw-r--r-- | floss-arduino.aux | 2616 | ||||
-rw-r--r-- | floss-arduino.cod | 46 | ||||
-rw-r--r-- | floss-arduino.fdb_latexmk | 65 | ||||
-rw-r--r-- | floss-arduino.fls | 9 | ||||
-rw-r--r-- | floss-arduino.idx | 10 | ||||
-rw-r--r-- | floss-arduino.ind | 10 | ||||
-rw-r--r-- | floss-arduino.juliad | 44 | ||||
-rw-r--r-- | floss-arduino.lof | 199 | ||||
-rw-r--r-- | floss-arduino.log | 786 | ||||
-rw-r--r-- | floss-arduino.lot | 66 | ||||
-rw-r--r-- | floss-arduino.pdf | bin | 26608779 -> 20549602 bytes | |||
-rw-r--r-- | floss-arduino.pyd | 44 | ||||
-rw-r--r-- | floss-arduino.thm | 246 | ||||
-rw-r--r-- | floss-arduino.toc | 330 | ||||
-rw-r--r-- | tools/openmodelica/test_firmware.mo | 20 | ||||
-rw-r--r-- | user-code/led/OpenModelica/led-blue-delay.mo | 1 | ||||
-rw-r--r-- | user-code/led/figures/arduino-new-shield.jpeg | bin | 0 -> 404878 bytes | |||
-rw-r--r-- | user-code/led/led.tex | 4 | ||||
-rw-r--r-- | user-code/sw-env/sw-env.tex | 33 |
21 files changed, 2286 insertions, 2325 deletions
diff --git a/floss-arduino.OpenModelicad b/floss-arduino.OpenModelicad index 0ed7919..4c6f63f 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}{66}% +\contentsline {section}{\numberline {3.{1}}An OpenModelica code to check whether the firmware is properly installed or not}{65}% \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the LED}{93}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{93}% -\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{94}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{95}% +\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{91}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{91}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{92}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{93}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{110}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{111}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{108}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{109}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{128}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{129}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{126}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{127}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{142}% +\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{140}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{161}% -\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{162}% +\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{159}% +\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{160}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{182}% -\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{182}% -\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{183}% +\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{180}% +\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{180}% +\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{181}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{204}% -\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{205}% -\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{206}% -\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{206}% +\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{202}% +\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{203}% +\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{204}% +\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{204}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{226}% -\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{226}% -\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{227}% +\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{224}% +\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{224}% +\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{225}% diff --git a/floss-arduino.ard b/floss-arduino.ard index c04c142..9ff50e4 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}{74}% -\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}{75}% +\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{72}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{72}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{73}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{73}% \addvspace {10pt} -\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}{101}% +\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}{117}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{118}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{115}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{116}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{134}% +\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{132}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{149}% -\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{150}% +\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{147}% +\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{148}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{167}% -\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{167}% -\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{167}% +\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{165}% +\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{165}% +\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{165}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{187}% -\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{188}% -\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in increments}{188}% -\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{189}% +\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 increments}{186}% +\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{187}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{221}% +\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{219}% diff --git a/floss-arduino.aux b/floss-arduino.aux index ba5f4ef..c9951a8 100644 --- a/floss-arduino.aux +++ b/floss-arduino.aux @@ -133,1419 +133,1417 @@ \newlabel{9@vr}{{}{27}} \@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{lof}{\contentsline {figure}{\numberline {3.8}{\ignorespaces Browsing toolbox directory\relax }}{29}\protected@file@percent } +\newlabel{scilab-browse}{{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}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.9}{\ignorespaces Output of builder.sce\relax }}{30}\protected@file@percent } +\newlabel{builder}{{3.9}{30}} \newlabel{fn:port}{{4}{30}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.10}{\ignorespaces Output of builder.sce\relax }}{31}\protected@file@percent } -\newlabel{builder}{{3.10}{31}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.10}{\ignorespaces Output of loader.sce\relax }}{31}\protected@file@percent } +\newlabel{loader}{{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{lof}{\contentsline {figure}{\numberline {3.11}{\ignorespaces Device Manager in windows\relax }}{32}\protected@file@percent } +\newlabel{dev-mgr}{{3.11}{32}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.12}{\ignorespaces COM port properties window\relax }}{33}\protected@file@percent } +\newlabel{com}{{3.12}{33}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.13}{\ignorespaces Port number on Linux terminal\relax }}{33}\protected@file@percent } +\newlabel{linux-port}{{3.13}{33}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/tools/scilab/test\textunderscore firmware.sce}{33}\protected@file@percent } -\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{lof}{\contentsline {figure}{\numberline {3.14}{\ignorespaces Scilab test code output\relax }}{34}\protected@file@percent } +\newlabel{test-console}{{3.14}{34}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.6}Firmware}{34}\protected@file@percent } +\newlabel{sec:test-firmware-scilab}{{3.2.6}{34}} \@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{fn:firmware}{{5}{34}} \citation{xcos-ref} -\@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/scilab/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{lof}{\contentsline {figure}{\numberline {3.15}{\ignorespaces Arduino toolbox functions used in this book\relax }}{35}\protected@file@percent } +\newlabel{func}{{3.15}{35}} +\newlabel{10@xvr}{{}{35}} +\newlabel{10@vr}{{}{35}} +\newlabel{sci:test-firmware}{{3.{1}}{35}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/tools/scilab/test\textunderscore firmware.sce}{35}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {3.3}Xcos}{35}\protected@file@percent } +\newlabel{sec:xcos-start}{{3.3}{35}} +\@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{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{lof}{\contentsline {figure}{\numberline {3.17}{\ignorespaces CSCOPE block in xcos\relax }}{37}\protected@file@percent } +\newlabel{plot-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}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.18}{\ignorespaces CLOCK\_c block in xcos\relax }}{38}\protected@file@percent } +\newlabel{clk-blk}{{3.18}{38}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.19}{\ignorespaces Sine generator in Xcos\relax }}{39}\protected@file@percent } +\newlabel{sine-gen}{{3.19}{39}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.20}{\ignorespaces Sine generator Xcos output\relax }}{39}\protected@file@percent } +\newlabel{sine-output}{{3.20}{39}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.21}{\ignorespaces CSCOPE configuration window\relax }}{40}\protected@file@percent } +\newlabel{cscope-config}{{3.21}{40}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.22}{\ignorespaces Simulation setup window\relax }}{40}\protected@file@percent } +\newlabel{sim-setup}{{3.22}{40}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.3.3}Xcos-Arduino}{40}\protected@file@percent } \citation{python-ref} -\@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{lof}{\contentsline {figure}{\numberline {3.23}{\ignorespaces Palette browser showing Arduino blocks\relax }}{41}\protected@file@percent } +\newlabel{arduino-palette}{{3.23}{41}} +\@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 {section}{\numberline {3.4}Python}{41}\protected@file@percent } +\newlabel{sec:python-start}{{3.4}{41}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.4.1}Downloading and installing on Windows}{42}\protected@file@percent } \newlabel{py-windows}{{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}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.25}{\ignorespaces Installing Python 3 on Windows\relax }}{43}\protected@file@percent } +\newlabel{python-windows}{{3.25}{43}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.26}{\ignorespaces Launching the Command Prompt on Windows\relax }}{43}\protected@file@percent } +\newlabel{windows-run}{{3.26}{43}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.27}{\ignorespaces Command Prompt on Windows\relax }}{43}\protected@file@percent } +\newlabel{windows-cmd}{{3.27}{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}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.4.2}Downloading and installing on GNU/Linux Ubuntu}{44}\protected@file@percent } +\newlabel{py-linux}{{3.4.2}{44}} \citation{pySerial} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.4.2}Downloading and installing on GNU/Linux Ubuntu}{45}\protected@file@percent } -\newlabel{py-linux}{{3.4.2}{45}} \citation{pySerial} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.4.3}Python Arduino toolbox}{46}\protected@file@percent } -\newlabel{sec:python-toolbox}{{3.4.3}{46}} -\newlabel{11@xvr}{{}{46}} -\newlabel{11@vr}{{}{46}} -\citation{julia-ref} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.4.4}Firmware}{47}\protected@file@percent } -\newlabel{sec:test-firmware-python}{{3.4.4}{47}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.4.3}Python-Arduino toolbox}{45}\protected@file@percent } +\newlabel{sec:python-toolbox}{{3.4.3}{45}} +\newlabel{11@xvr}{{}{45}} +\newlabel{11@vr}{{}{45}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.4.4}Firmware}{46}\protected@file@percent } +\newlabel{sec:test-firmware-python}{{3.4.4}{46}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{3.{1}}{}}{47}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {3.{1}}A Python script to check whether the firmware is properly installed or not}{47}\protected@file@percent } -\newlabel{12@xvr}{{}{47}} -\newlabel{12@vr}{{}{47}} -\newlabel{py:test-firmware}{{3.{1}}{47}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/tools/python/test\textunderscore firmware.py}{47}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {3.5}Julia}{48}\protected@file@percent } -\newlabel{sec:julia-start}{{3.5}{48}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.1}Downloading and installing on Windows}{48}\protected@file@percent } -\newlabel{julia-install-windows}{{3.5.1}{48}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.29}{\ignorespaces Julia's website to download 64-bit Windows/Linux binaries\relax }}{49}\protected@file@percent } -\newlabel{julia-download}{{3.29}{49}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.30}{\ignorespaces Installing Julia 1.6.0 on Windows\relax }}{49}\protected@file@percent } -\newlabel{julia-windows-install}{{3.30}{49}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{3.{1}}{}}{46}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {3.{1}}A Python script to check whether the firmware is properly installed or not}{46}\protected@file@percent } +\newlabel{12@xvr}{{}{46}} +\newlabel{12@vr}{{}{46}} +\newlabel{py:test-firmware}{{3.{1}}{46}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/tools/python/test\textunderscore firmware.py}{46}\protected@file@percent } +\citation{julia-ref} +\@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 on Windows}{47}\protected@file@percent } +\newlabel{julia-install-windows}{{3.5.1}{47}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.28}{\ignorespaces Julia's website to download 64-bit Windows/Linux binaries\relax }}{48}\protected@file@percent } +\newlabel{julia-download}{{3.28}{48}} \citation{julia-serial-ports} -\@writefile{lof}{\contentsline {figure}{\numberline {3.31}{\ignorespaces Windows command prompt to launch Julia REPL\relax }}{51}\protected@file@percent } -\newlabel{julia-repl-windows}{{3.31}{51}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.32}{\ignorespaces Windows command prompt to enter Pkg REPL in Julia\relax }}{51}\protected@file@percent } -\newlabel{julia-pkg-windows}{{3.32}{51}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.2}Downloading and installing GNU/Linux Ubuntu}{52}\protected@file@percent } -\newlabel{julia-install-linux}{{3.5.2}{52}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.29}{\ignorespaces Installing Julia 1.6.0 on Windows\relax }}{49}\protected@file@percent } +\newlabel{julia-windows-install}{{3.29}{49}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.30}{\ignorespaces Windows command prompt to launch Julia REPL\relax }}{50}\protected@file@percent } +\newlabel{julia-repl-windows}{{3.30}{50}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.31}{\ignorespaces Windows command prompt to enter Pkg REPL in Julia\relax }}{51}\protected@file@percent } +\newlabel{julia-pkg-windows}{{3.31}{51}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.2}Downloading and installing GNU/Linux Ubuntu}{51}\protected@file@percent } +\newlabel{julia-install-linux}{{3.5.2}{51}} \citation{julia-serial-ports} -\@writefile{lof}{\contentsline {figure}{\numberline {3.33}{\ignorespaces Linux terminal to launch Julia REPL\relax }}{54}\protected@file@percent } -\newlabel{julia-repl}{{3.33}{54}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.34}{\ignorespaces Linux terminal to enter Pkg REPL in Julia\relax }}{55}\protected@file@percent } -\newlabel{julia-pkg}{{3.34}{55}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.3}Julia Arduino toolbox}{55}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {3.32}{\ignorespaces Linux terminal to launch Julia REPL\relax }}{53}\protected@file@percent } +\newlabel{julia-repl}{{3.32}{53}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.33}{\ignorespaces Linux terminal to enter Pkg REPL in Julia\relax }}{54}\protected@file@percent } +\newlabel{julia-pkg}{{3.33}{54}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.3}Julia-Arduino toolbox}{55}\protected@file@percent } \newlabel{sec:julia-toolbox}{{3.5.3}{55}} \newlabel{13@xvr}{{}{55}} \newlabel{13@vr}{{}{55}} -\citation{om-ref} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.4}Firmware}{56}\protected@file@percent } -\newlabel{sec:test-firmware-julia}{{3.5.4}{56}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.4}Firmware}{55}\protected@file@percent } +\newlabel{sec:test-firmware-julia}{{3.5.4}{55}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{3.{1}}{}}{56}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {3.{1}}A Julia source file to check whether the firmware is properly installed or not}{56}\protected@file@percent } -\newlabel{14@xvr}{{}{56}} -\newlabel{14@vr}{{}{56}} -\newlabel{julia:test-firmware}{{3.{1}}{56}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{3.{1}}{}}{55}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {3.{1}}A Julia source file to check whether the firmware is properly installed or not}{55}\protected@file@percent } +\newlabel{14@xvr}{{}{55}} +\newlabel{14@vr}{{}{55}} +\newlabel{julia:test-firmware}{{3.{1}}{55}} +\citation{om-ref} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/tools/julia/test\textunderscore firmware.jl}{56}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {3.6}OpenModelica}{56}\protected@file@percent } \newlabel{sec:OpenModelica-start}{{3.6}{56}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.1}Downloading and installing on Windows}{57}\protected@file@percent } -\newlabel{openmodelica-install-windows}{{3.6.1}{57}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.35}{\ignorespaces Allowing Microsoft Defender to run the executable file\relax }}{58}\protected@file@percent } -\newlabel{om-run-anyway}{{3.35}{58}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.1}Downloading and installing on Windows}{56}\protected@file@percent } +\newlabel{openmodelica-install-windows}{{3.6.1}{56}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.34}{\ignorespaces Allowing Microsoft Defender to run the executable file\relax }}{57}\protected@file@percent } +\newlabel{om-run-anyway}{{3.34}{57}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.35}{\ignorespaces Setup of Modelica Standard Library version\relax }}{58}\protected@file@percent } +\newlabel{om-help}{{3.35}{58}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.6.2}Downloading and installing on GNU/Linux Ubuntu}{58}\protected@file@percent } \newlabel{openmodelica-install-linux}{{3.6.2}{58}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.3}Simulating models in OpenModelica}{58}\protected@file@percent } -\newlabel{OpenModelica-code-execution}{{3.6.3}{58}} \citation{om-ref} -\@writefile{lof}{\contentsline {figure}{\numberline {3.36}{\ignorespaces Setup of Modelica Standard Library version\relax }}{59}\protected@file@percent } -\newlabel{om-help}{{3.36}{59}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.37}{\ignorespaces User Interface of OMEdit\relax }}{60}\protected@file@percent } -\newlabel{om-ui}{{3.37}{60}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.38}{\ignorespaces Opening a model in OMEdit\relax }}{61}\protected@file@percent } -\newlabel{om-model-open}{{3.38}{61}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.39}{\ignorespaces Opening a model in diagram view in OMEdit\relax }}{62}\protected@file@percent } -\newlabel{om-modeling}{{3.39}{62}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.40}{\ignorespaces Different views of a model in OMEdit\relax }}{62}\protected@file@percent } -\newlabel{om-views}{{3.40}{62}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.41}{\ignorespaces Opening a model in text view in OMEdit\relax }}{63}\protected@file@percent } -\newlabel{om-text-view}{{3.41}{63}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.42}{\ignorespaces Simulating a model in OMEdit\relax }}{63}\protected@file@percent } -\newlabel{om-simulate}{{3.42}{63}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.43}{\ignorespaces Output window of OMEdit\relax }}{64}\protected@file@percent } -\newlabel{om-sim-success}{{3.43}{64}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.4}OpenModelica Arduino toolbox}{64}\protected@file@percent } -\newlabel{sec:load-om-toolbox}{{3.6.4}{64}} -\newlabel{15@xvr}{{}{64}} -\newlabel{15@vr}{{}{64}} -\newlabel{itm:library}{{4}{65}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.3}Simulating models in OpenModelica}{59}\protected@file@percent } +\newlabel{OpenModelica-code-execution}{{3.6.3}{59}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.36}{\ignorespaces User Interface of OMEdit\relax }}{60}\protected@file@percent } +\newlabel{om-ui}{{3.36}{60}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.37}{\ignorespaces Opening a model in OMEdit\relax }}{61}\protected@file@percent } +\newlabel{om-model-open}{{3.37}{61}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.4}OpenModelica Arduino toolbox}{61}\protected@file@percent } +\newlabel{sec:load-om-toolbox}{{3.6.4}{61}} +\newlabel{15@xvr}{{}{61}} +\newlabel{15@vr}{{}{61}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.38}{\ignorespaces Opening a model in diagram view in OMEdit\relax }}{62}\protected@file@percent } +\newlabel{om-modeling}{{3.38}{62}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.39}{\ignorespaces Different views of a model in OMEdit\relax }}{62}\protected@file@percent } +\newlabel{om-views}{{3.39}{62}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.40}{\ignorespaces Opening a model in text view in OMEdit\relax }}{63}\protected@file@percent } +\newlabel{om-text-view}{{3.40}{63}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.41}{\ignorespaces Simulating a model in OMEdit\relax }}{63}\protected@file@percent } +\newlabel{om-simulate}{{3.41}{63}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.42}{\ignorespaces Output window of OMEdit\relax }}{64}\protected@file@percent } +\newlabel{om-sim-success}{{3.42}{64}} +\newlabel{itm:library}{{4}{64}} \newlabel{itm:locate}{{5}{65}} \newlabel{itm:simulate}{{6}{65}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.6.5}Firmware}{65}\protected@file@percent } \newlabel{om-firmware}{{3.6.5}{65}} \newlabel{sec:test-firmware-OpenModelica}{{3.6.5}{65}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.44}{\ignorespaces Examples provied in OpenModelica-Arduino Toolbox\relax }}{66}\protected@file@percent } -\newlabel{om-examples-toolbox}{{3.44}{66}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{3.{1}}{}}{66}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {3.{1}}An OpenModelica code to check whether the firmware is properly installed or not}{66}\protected@file@percent } -\newlabel{16@xvr}{{}{66}} -\newlabel{16@vr}{{}{66}} -\newlabel{OpenModelica:test-firmware}{{3.{1}}{66}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/tools/openmodelica/windows//test\textunderscore firmware.mo}{66}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {4}Interfacing a Light Emitting Diode}{69}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{3.{1}}{}}{65}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {3.{1}}An OpenModelica code to check whether the firmware is properly installed or not}{65}\protected@file@percent } +\newlabel{16@xvr}{{}{65}} +\newlabel{16@vr}{{}{65}} +\newlabel{OpenModelica:test-firmware}{{3.{1}}{65}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/tools/openmodelica/windows//test\textunderscore firmware.mo}{65}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {3.43}{\ignorespaces Examples provied in OpenModelica-Arduino Toolbox\relax }}{66}\protected@file@percent } +\newlabel{om-examples-toolbox}{{3.43}{66}} +\@writefile{toc}{\contentsline {chapter}{\numberline {4}Interfacing a Light Emitting Diode}{67}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{led}{{4}{69}} -\@writefile{toc}{\contentsline {section}{\numberline {4.1}Preliminaries}{69}\protected@file@percent } -\newlabel{sec:led-pril}{{4.1}{69}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.1}{\ignorespaces Light Emitting Diode\relax }}{69}\protected@file@percent } -\newlabel{fig:ledsym}{{4.1}{69}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.2}{\ignorespaces Internal connection diagram for LED on the shield\relax }}{70}\protected@file@percent } -\newlabel{fig:ledblock}{{4.2}{70}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.3}{\ignorespaces Connecting Arduino Uno\ and shield\relax }}{70}\protected@file@percent } -\newlabel{fig:uno-shield-connect}{{4.3}{70}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.4}{\ignorespaces Interfacing an RGB LED with Arduino Uno using a breadboard\relax }}{71}\protected@file@percent } -\newlabel{fig:ard-rgb-bread}{{4.4}{71}} -\@writefile{toc}{\contentsline {section}{\numberline {4.2}Connecting an RGB LED with Arduino Uno\ using a breadboard}{71}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {4.3}Lighting the LED from the Arduino IDE}{72}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.1}Lighting the LED}{72}\protected@file@percent } -\newlabel{sec:light-ard}{{4.3.1}{72}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{72}\protected@file@percent } +\newlabel{led}{{4}{67}} +\@writefile{toc}{\contentsline {section}{\numberline {4.1}Preliminaries}{67}\protected@file@percent } +\newlabel{sec:led-pril}{{4.1}{67}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.1}{\ignorespaces Light Emitting Diode\relax }}{67}\protected@file@percent } +\newlabel{fig:ledsym}{{4.1}{67}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.2}{\ignorespaces Internal connection diagram for LED on the shield\relax }}{68}\protected@file@percent } +\newlabel{fig:ledblock}{{4.2}{68}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.3}{\ignorespaces Connecting Arduino Uno\ and shield\relax }}{68}\protected@file@percent } +\newlabel{fig:uno-shield-connect}{{4.3}{68}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.4}{\ignorespaces Interfacing an RGB LED with Arduino Uno using a breadboard\relax }}{69}\protected@file@percent } +\newlabel{fig:ard-rgb-bread}{{4.4}{69}} +\@writefile{toc}{\contentsline {section}{\numberline {4.2}Connecting an RGB LED with Arduino Uno\ using a breadboard}{69}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.3}Lighting the LED from the Arduino IDE}{70}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.1}Lighting the LED}{70}\protected@file@percent } +\newlabel{sec:light-ard}{{4.3.1}{70}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{70}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{70}\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}{70}\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}{70}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{71}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{71}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{1}}{}}{71}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {4.5}{\ignorespaces LED experiments directly on Arduino Uno\ board, without the shield\relax }}{72}\protected@file@percent } +\newlabel{fig:led-uno}{{4.5}{72}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.2}Arduino Code}{72}\protected@file@percent } +\newlabel{sec:led-arduino-code}{{4.3.2}{72}} +\@writefile{ard}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{1}}{}}{72}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{72}\protected@file@percent } +\newlabel{17@xvr}{{}{72}} +\newlabel{17@vr}{{}{72}} +\newlabel{ard:led-blue}{{4.{1}}{72}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{72}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{2}}{}}{72}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{72}\protected@file@percent } +\newlabel{18@xvr}{{}{72}} +\newlabel{18@vr}{{}{72}} +\newlabel{ard:led-blue-delay}{{4.{2}}{72}} \@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}{72}\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}{72}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{73}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{73}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{1}}{}}{73}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {4.5}{\ignorespaces LED experiments directly on Arduino Uno\ board, without the shield\relax }}{74}\protected@file@percent } -\newlabel{fig:led-uno}{{4.5}{74}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.2}Arduino Code}{74}\protected@file@percent } -\newlabel{sec:led-arduino-code}{{4.3.2}{74}} -\@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{1}}{}}{74}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{74}\protected@file@percent } -\newlabel{17@xvr}{{}{74}} -\newlabel{17@vr}{{}{74}} -\newlabel{ard:led-blue}{{4.{1}}{74}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{74}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{2}}{}}{74}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{74}\protected@file@percent } -\newlabel{18@xvr}{{}{74}} -\newlabel{18@vr}{{}{74}} -\newlabel{ard:led-blue-delay}{{4.{2}}{74}} -\@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}{74}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{3}}{}}{75}\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}{75}\protected@file@percent } -\newlabel{19@xvr}{{}{75}} -\newlabel{19@vr}{{}{75}} -\newlabel{ard:led-blue-red}{{4.{3}}{75}} -\@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}{75}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{4}}{}}{75}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{75}\protected@file@percent } -\newlabel{20@xvr}{{}{75}} -\newlabel{20@vr}{{}{75}} -\newlabel{ard:led-blink}{{4.{4}}{75}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash green\textendash blink/led\textendash green\textendash blink.ino}{75}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {4.4}Lighting the LED from Scilab}{76}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.4.1}Lighting the LED}{76}\protected@file@percent } -\newlabel{sec:light-sci}{{4.4.1}{76}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{76}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{76}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{77}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash delay.sce}{77}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash delay.sce}{77}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{2}}{}}{77}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.4.2}Scilab Code}{77}\protected@file@percent } -\newlabel{sec:led-scilab-code}{{4.4.2}{77}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{3}}{}}{73}\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}{73}\protected@file@percent } +\newlabel{19@xvr}{{}{73}} +\newlabel{19@vr}{{}{73}} +\newlabel{ard:led-blue-red}{{4.{3}}{73}} +\@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}{73}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{4}}{}}{73}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{73}\protected@file@percent } +\newlabel{20@xvr}{{}{73}} +\newlabel{20@vr}{{}{73}} +\newlabel{ard:led-blink}{{4.{4}}{73}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash green\textendash blink/led\textendash green\textendash blink.ino}{73}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.4}Lighting the LED from Scilab}{74}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.4.1}Lighting the LED}{74}\protected@file@percent } +\newlabel{sec:light-sci}{{4.4.1}{74}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{74}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{74}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{75}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash delay.sce}{75}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash delay.sce}{75}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{2}}{}}{75}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.4.2}Scilab Code}{75}\protected@file@percent } +\newlabel{sec:led-scilab-code}{{4.4.2}{75}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{77}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {4.{1}}Turning on the LED through Scilab}{77}\protected@file@percent } -\newlabel{21@xvr}{{}{77}} -\newlabel{21@vr}{{}{77}} -\newlabel{sci:led-blue}{{4.{1}}{77}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{77}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{2}}{}}{77}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{77}\protected@file@percent } -\newlabel{22@xvr}{{}{77}} -\newlabel{22@vr}{{}{77}} -\newlabel{sci:led-blue-delay}{{4.{2}}{77}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash delay.sce}{78}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{3}}{}}{78}\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}{78}\protected@file@percent } -\newlabel{23@xvr}{{}{78}} -\newlabel{23@vr}{{}{78}} -\newlabel{sci:led-blue-red}{{4.{3}}{78}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash red.sce}{78}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{4}}{}}{78}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{78}\protected@file@percent } -\newlabel{24@xvr}{{}{78}} -\newlabel{24@vr}{{}{78}} -\newlabel{sci:led-green-blink}{{4.{4}}{78}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash green\textendash blink.sce}{78}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{78}\protected@file@percent } -\newlabel{sec:light-xcos}{{4.5}{78}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.6}{\ignorespaces Turning the blue LED on through Xcos}}{79}\protected@file@percent } -\newlabel{26@xvr}{{}{79}} -\newlabel{26@vr}{{}{79}} -\newlabel{fig:led-blue}{{4.6}{79}} -\@writefile{lot}{\contentsline {table}{\numberline {4.1}{\ignorespaces Parameters to light the blue LED in Xcos\relax }}{79}\protected@file@percent } -\newlabel{tab:led-blue}{{4.1}{79}} -\newlabel{27@xvr}{{}{79}} -\newlabel{27@vr}{{}{79}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{80}\protected@file@percent } -\newlabel{29@xvr}{{}{80}} -\newlabel{29@vr}{{}{80}} -\newlabel{fig:led-blue-delay}{{4.7}{80}} -\@writefile{lot}{\contentsline {table}{\numberline {4.2}{\ignorespaces Parameters to light the blue LED in Xcos for two seconds\relax }}{80}\protected@file@percent } -\newlabel{tab:led-blue-delay}{{4.2}{80}} -\newlabel{30@xvr}{{}{80}} -\newlabel{30@vr}{{}{80}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.8}{\ignorespaces Turning the blue and red LEDs on through Xcos and turning them off one by one}}{81}\protected@file@percent } -\newlabel{32@xvr}{{}{81}} -\newlabel{32@vr}{{}{81}} -\newlabel{fig:led-blue-red}{{4.8}{81}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{3}}{}}{81}\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 }}{82}\protected@file@percent } -\newlabel{tab:led-blue-red}{{4.3}{82}} -\newlabel{33@xvr}{{}{82}} -\newlabel{33@vr}{{}{82}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{82}\protected@file@percent } -\newlabel{35@xvr}{{}{82}} -\newlabel{35@vr}{{}{82}} -\newlabel{fig:led-green-blink}{{4.9}{82}} -\@writefile{toc}{\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{82}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{82}\protected@file@percent } -\newlabel{sec:light-py}{{4.6.1}{82}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{75}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {4.{1}}Turning on the LED through Scilab}{75}\protected@file@percent } +\newlabel{21@xvr}{{}{75}} +\newlabel{21@vr}{{}{75}} +\newlabel{sci:led-blue}{{4.{1}}{75}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{75}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{2}}{}}{75}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{75}\protected@file@percent } +\newlabel{22@xvr}{{}{75}} +\newlabel{22@vr}{{}{75}} +\newlabel{sci:led-blue-delay}{{4.{2}}{75}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash delay.sce}{76}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{3}}{}}{76}\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}{76}\protected@file@percent } +\newlabel{23@xvr}{{}{76}} +\newlabel{23@vr}{{}{76}} +\newlabel{sci:led-blue-red}{{4.{3}}{76}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash red.sce}{76}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{4}}{}}{76}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{76}\protected@file@percent } +\newlabel{24@xvr}{{}{76}} +\newlabel{24@vr}{{}{76}} +\newlabel{sci:led-green-blink}{{4.{4}}{76}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash green\textendash blink.sce}{76}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{76}\protected@file@percent } +\newlabel{sec:light-xcos}{{4.5}{76}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.6}{\ignorespaces Turning the blue LED on through Xcos}}{77}\protected@file@percent } +\newlabel{26@xvr}{{}{77}} +\newlabel{26@vr}{{}{77}} +\newlabel{fig:led-blue}{{4.6}{77}} +\@writefile{lot}{\contentsline {table}{\numberline {4.1}{\ignorespaces Parameters to light the blue LED in Xcos\relax }}{77}\protected@file@percent } +\newlabel{tab:led-blue}{{4.1}{77}} +\newlabel{27@xvr}{{}{77}} +\newlabel{27@vr}{{}{77}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{78}\protected@file@percent } +\newlabel{29@xvr}{{}{78}} +\newlabel{29@vr}{{}{78}} +\newlabel{fig:led-blue-delay}{{4.7}{78}} +\@writefile{lot}{\contentsline {table}{\numberline {4.2}{\ignorespaces Parameters to light the blue LED in Xcos for two seconds\relax }}{78}\protected@file@percent } +\newlabel{tab:led-blue-delay}{{4.2}{78}} +\newlabel{30@xvr}{{}{78}} +\newlabel{30@vr}{{}{78}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.8}{\ignorespaces Turning the blue and red LEDs on through Xcos and turning them off one by one}}{79}\protected@file@percent } +\newlabel{32@xvr}{{}{79}} +\newlabel{32@vr}{{}{79}} +\newlabel{fig:led-blue-red}{{4.8}{79}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{3}}{}}{79}\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 }}{80}\protected@file@percent } +\newlabel{tab:led-blue-red}{{4.3}{80}} +\newlabel{33@xvr}{{}{80}} +\newlabel{33@vr}{{}{80}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{80}\protected@file@percent } +\newlabel{35@xvr}{{}{80}} +\newlabel{35@vr}{{}{80}} +\newlabel{fig:led-green-blink}{{4.9}{80}} +\@writefile{toc}{\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{80}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{80}\protected@file@percent } +\newlabel{sec:light-py}{{4.6.1}{80}} \citation{pySerial} -\@writefile{lot}{\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{83}\protected@file@percent } -\newlabel{tab:led-green-blink}{{4.4}{83}} -\newlabel{36@xvr}{{}{83}} -\newlabel{36@vr}{{}{83}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{83}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{83}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{81}\protected@file@percent } +\newlabel{tab:led-green-blink}{{4.4}{81}} +\newlabel{36@xvr}{{}{81}} +\newlabel{36@vr}{{}{81}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{81}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{81}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{81}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{82}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{82}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{82}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash delay.py}{82}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash delay.py}{82}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{4}}{}}{83}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.2}Python Code}{83}\protected@file@percent } +\newlabel{sec:led-python-code}{{4.6.2}{83}} +\@writefile{pyd}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{1}}{}}{83}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED through Python}{83}\protected@file@percent } +\newlabel{37@xvr}{{}{83}} +\newlabel{37@vr}{{}{83}} +\newlabel{py:led-blue}{{4.{1}}{83}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{83}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{84}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{84}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{84}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{2}}{}}{84}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{84}\protected@file@percent } +\newlabel{38@xvr}{{}{84}} +\newlabel{38@vr}{{}{84}} +\newlabel{py:led-blue-delay}{{4.{2}}{84}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash delay.py}{84}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash delay.py}{84}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{4}}{}}{85}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.2}Python Code}{85}\protected@file@percent } -\newlabel{sec:led-python-code}{{4.6.2}{85}} -\@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{1}}{}}{85}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED through Python}{85}\protected@file@percent } -\newlabel{37@xvr}{{}{85}} -\newlabel{37@vr}{{}{85}} -\newlabel{py:led-blue}{{4.{1}}{85}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{85}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{2}}{}}{86}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{86}\protected@file@percent } -\newlabel{38@xvr}{{}{86}} -\newlabel{38@vr}{{}{86}} -\newlabel{py:led-blue-delay}{{4.{2}}{86}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash delay.py}{86}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{3}}{}}{86}\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}{86}\protected@file@percent } -\newlabel{39@xvr}{{}{86}} -\newlabel{39@vr}{{}{86}} -\newlabel{py:led-blue-red}{{4.{3}}{86}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash red.py}{87}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{4}}{}}{87}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{87}\protected@file@percent } -\newlabel{40@xvr}{{}{87}} -\newlabel{40@vr}{{}{87}} -\newlabel{py:led-green-blink}{{4.{4}}{87}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash green\textendash blink.py}{87}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{3}}{}}{84}\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}{84}\protected@file@percent } +\newlabel{39@xvr}{{}{84}} +\newlabel{39@vr}{{}{84}} +\newlabel{py:led-blue-red}{{4.{3}}{84}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash red.py}{85}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{4}}{}}{85}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{85}\protected@file@percent } +\newlabel{40@xvr}{{}{85}} +\newlabel{40@vr}{{}{85}} +\newlabel{py:led-green-blink}{{4.{4}}{85}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash green\textendash blink.py}{85}\protected@file@percent } \citation{julia-serial-ports} -\@writefile{toc}{\contentsline {section}{\numberline {4.7}Lighting the LED from Julia}{88}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.1}Lighting the LED}{88}\protected@file@percent } -\newlabel{sec:light-julia}{{4.7.1}{88}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue.jl}{89}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue.jl}{89}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue.jl}{89}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue.jl}{89}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue\textendash delay.jl}{89}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue\textendash delay.jl}{89}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.2}Julia Code}{90}\protected@file@percent } -\newlabel{sec:led-julia-code}{{4.7.2}{90}} +\@writefile{toc}{\contentsline {section}{\numberline {4.7}Lighting the LED from Julia}{86}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.1}Lighting the LED}{86}\protected@file@percent } +\newlabel{sec:light-julia}{{4.7.1}{86}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue.jl}{87}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue.jl}{87}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue.jl}{87}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue.jl}{87}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue\textendash delay.jl}{87}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue\textendash delay.jl}{87}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.2}Julia Code}{88}\protected@file@percent } +\newlabel{sec:led-julia-code}{{4.7.2}{88}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{90}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {4.{1}}Turning on the LED}{90}\protected@file@percent } -\newlabel{41@xvr}{{}{90}} -\newlabel{41@vr}{{}{90}} -\newlabel{julia:led-blue}{{4.{1}}{90}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue.jl}{90}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{90}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{90}\protected@file@percent } -\newlabel{42@xvr}{{}{90}} -\newlabel{42@vr}{{}{90}} -\newlabel{julia:led-blue-delay}{{4.{2}}{90}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue\textendash delay.jl}{90}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{3}}{}}{90}\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}{90}\protected@file@percent } -\newlabel{43@xvr}{{}{90}} -\newlabel{43@vr}{{}{90}} -\newlabel{julia:led-blue-red}{{4.{3}}{90}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue\textendash red.jl}{90}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{90}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{90}\protected@file@percent } -\newlabel{44@xvr}{{}{90}} -\newlabel{44@vr}{{}{90}} -\newlabel{julia:led-green-blink}{{4.{4}}{90}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash green\textendash blink.jl}{91}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {4.8}Lighting the LED from OpenModelica}{91}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.1}Lighting the LED}{91}\protected@file@percent } -\newlabel{sec:light-OpenModelica}{{4.8.1}{91}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue.mo}{91}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue.mo}{91}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue.mo}{92}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue.mo}{92}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash delay.mo}{92}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash delay.mo}{92}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{93}\protected@file@percent } -\newlabel{sec:led-OpenModelica-code}{{4.8.2}{93}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{88}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {4.{1}}Turning on the LED}{88}\protected@file@percent } +\newlabel{41@xvr}{{}{88}} +\newlabel{41@vr}{{}{88}} +\newlabel{julia:led-blue}{{4.{1}}{88}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue.jl}{88}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{88}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{88}\protected@file@percent } +\newlabel{42@xvr}{{}{88}} +\newlabel{42@vr}{{}{88}} +\newlabel{julia:led-blue-delay}{{4.{2}}{88}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue\textendash delay.jl}{88}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{3}}{}}{88}\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}{88}\protected@file@percent } +\newlabel{43@xvr}{{}{88}} +\newlabel{43@vr}{{}{88}} +\newlabel{julia:led-blue-red}{{4.{3}}{88}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue\textendash red.jl}{88}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{88}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{88}\protected@file@percent } +\newlabel{44@xvr}{{}{88}} +\newlabel{44@vr}{{}{88}} +\newlabel{julia:led-green-blink}{{4.{4}}{88}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash green\textendash blink.jl}{89}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.8}Lighting the LED from OpenModelica}{89}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.1}Lighting the LED}{89}\protected@file@percent } +\newlabel{sec:light-OpenModelica}{{4.8.1}{89}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue.mo}{89}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue.mo}{89}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue.mo}{90}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue.mo}{90}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash delay.mo}{90}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash delay.mo}{90}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{91}\protected@file@percent } +\newlabel{sec:led-OpenModelica-code}{{4.8.2}{91}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{93}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{1}}Turning on the LED}{93}\protected@file@percent } -\newlabel{OpenModelica:led-blue}{{4.{1}}{93}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue.mo}{93}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{93}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{93}\protected@file@percent } -\newlabel{OpenModelica:led-blue-delay}{{4.{2}}{93}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash delay.mo}{93}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{94}\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}{94}\protected@file@percent } -\newlabel{OpenModelica:led-blue-red}{{4.{3}}{94}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash red.mo}{94}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{95}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{95}\protected@file@percent } -\newlabel{OpenModelica:led-green-blink}{{4.{4}}{95}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash green\textendash blink.mo}{95}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{97}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{91}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{91}\protected@file@percent } +\newlabel{OpenModelica:led-blue}{{4.{1}}{91}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue.mo}{91}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{91}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{91}\protected@file@percent } +\newlabel{OpenModelica:led-blue-delay}{{4.{2}}{91}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash delay.mo}{91}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{92}\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}{92}\protected@file@percent } +\newlabel{OpenModelica:led-blue-red}{{4.{3}}{92}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash red.mo}{92}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{93}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{93}\protected@file@percent } +\newlabel{OpenModelica:led-green-blink}{{4.{4}}{93}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash green\textendash blink.mo}{93}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{95}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{pushbutton}{{5}{97}} -\@writefile{toc}{\contentsline {section}{\numberline {5.1}Preliminaries}{97}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{97}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {5.1}{\ignorespaces Connection Diagram\relax }}{98}\protected@file@percent } -\newlabel{fig:pushbuttonconn}{{5.1}{98}} -\@writefile{lof}{\contentsline {figure}{\numberline {5.2}{\ignorespaces A pushbutton to read its status with Arduino Uno using a breadboard\relax }}{98}\protected@file@percent } -\newlabel{fig:switch-bread}{{5.2}{98}} -\@writefile{lof}{\contentsline {figure}{\numberline {5.3}{\ignorespaces A pushbutton to control an LED with Arduino Uno using a breadboard\relax }}{99}\protected@file@percent } -\newlabel{fig:switch-led}{{5.3}{99}} -\@writefile{toc}{\contentsline {section}{\numberline {5.3}Reading the Pushbutton Status from the Arduino IDE}{100}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.1}Reading the Pushbutton Status}{100}\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}{100}\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}{100}\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}{100}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{101}\protected@file@percent } -\newlabel{sec:push-arduino-code}{{5.3.2}{101}} +\newlabel{pushbutton}{{5}{95}} +\@writefile{toc}{\contentsline {section}{\numberline {5.1}Preliminaries}{95}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{95}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {5.1}{\ignorespaces Connection Diagram\relax }}{96}\protected@file@percent } +\newlabel{fig:pushbuttonconn}{{5.1}{96}} +\@writefile{lof}{\contentsline {figure}{\numberline {5.2}{\ignorespaces A pushbutton to read its status with Arduino Uno using a breadboard\relax }}{96}\protected@file@percent } +\newlabel{fig:switch-bread}{{5.2}{96}} +\@writefile{lof}{\contentsline {figure}{\numberline {5.3}{\ignorespaces A pushbutton to control an LED with Arduino Uno using a breadboard\relax }}{97}\protected@file@percent } +\newlabel{fig:switch-led}{{5.3}{97}} +\@writefile{toc}{\contentsline {section}{\numberline {5.3}Reading the Pushbutton Status from the Arduino IDE}{98}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.1}Reading the Pushbutton Status}{98}\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}{98}\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}{98}\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}{98}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{99}\protected@file@percent } +\newlabel{sec:push-arduino-code}{{5.3.2}{99}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{101}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{101}\protected@file@percent } -\newlabel{45@xvr}{{}{101}} -\newlabel{45@vr}{{}{101}} -\newlabel{ard:push-100}{{5.{1}}{101}} -\@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}{101}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{101}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{101}\protected@file@percent } -\newlabel{46@xvr}{{}{101}} -\newlabel{46@vr}{{}{101}} -\newlabel{ard:push-200}{{5.{2}}{101}} -\@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}{101}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.4}Reading the Pushbutton Status from Scilab}{102}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.1}Reading the Pushbutton Status}{102}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{102}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{102}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led\textendash push\textendash button.sce}{102}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{103}\protected@file@percent } -\newlabel{sec:push-scilab-code}{{5.4.2}{103}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{99}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{99}\protected@file@percent } +\newlabel{45@xvr}{{}{99}} +\newlabel{45@vr}{{}{99}} +\newlabel{ard:push-100}{{5.{1}}{99}} +\@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}{99}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{99}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{99}\protected@file@percent } +\newlabel{46@xvr}{{}{99}} +\newlabel{46@vr}{{}{99}} +\newlabel{ard:push-200}{{5.{2}}{99}} +\@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}{99}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.4}Reading the Pushbutton Status from Scilab}{100}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.1}Reading the Pushbutton Status}{100}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{100}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{100}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led\textendash push\textendash button.sce}{100}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{101}\protected@file@percent } +\newlabel{sec:push-scilab-code}{{5.4.2}{101}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{103}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{103}\protected@file@percent } -\newlabel{47@xvr}{{}{103}} -\newlabel{47@vr}{{}{103}} -\newlabel{sci:push-100}{{5.{1}}{103}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{103}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{103}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{103}\protected@file@percent } -\newlabel{48@xvr}{{}{103}} -\newlabel{48@vr}{{}{103}} -\newlabel{sci:push-200}{{5.{2}}{103}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led\textendash push\textendash button.sce}{103}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.5}Accessing the Pushbutton from Xcos}{103}\protected@file@percent } -\newlabel{sec:push-xcos}{{5.5}{103}} -\@writefile{lof}{\contentsline {figure}{\numberline {5.4}{\ignorespaces Printing the push button status on the display block}}{104}\protected@file@percent } -\newlabel{50@xvr}{{}{104}} -\newlabel{50@vr}{{}{104}} -\newlabel{fig:push-button-status}{{5.4}{104}} -\@writefile{lot}{\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the push button status on the display block\relax }}{104}\protected@file@percent } -\newlabel{tab:push-button-status}{{5.1}{104}} -\newlabel{51@xvr}{{}{104}} -\newlabel{51@vr}{{}{104}} -\@writefile{lof}{\contentsline {figure}{\numberline {5.5}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{105}\protected@file@percent } -\newlabel{53@xvr}{{}{105}} -\newlabel{53@vr}{{}{105}} -\newlabel{fig:led-push-button}{{5.5}{105}} -\@writefile{lot}{\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{105}\protected@file@percent } -\newlabel{tab:led-push-button}{{5.2}{105}} -\newlabel{54@xvr}{{}{105}} -\newlabel{54@vr}{{}{105}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{5.{1}}{}}{105}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.6}Reading the Pushbutton Status from Python}{106}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.1}Reading the Pushbutton Status}{106}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{106}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{106}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led\textendash push\textendash button.py}{106}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.2}Python Code}{107}\protected@file@percent } -\newlabel{sec:push-python-code}{{5.6.2}{107}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{101}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{101}\protected@file@percent } +\newlabel{47@xvr}{{}{101}} +\newlabel{47@vr}{{}{101}} +\newlabel{sci:push-100}{{5.{1}}{101}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{101}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{101}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{101}\protected@file@percent } +\newlabel{48@xvr}{{}{101}} +\newlabel{48@vr}{{}{101}} +\newlabel{sci:push-200}{{5.{2}}{101}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led\textendash push\textendash button.sce}{101}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.5}Accessing the Pushbutton from Xcos}{101}\protected@file@percent } +\newlabel{sec:push-xcos}{{5.5}{101}} +\@writefile{lof}{\contentsline {figure}{\numberline {5.4}{\ignorespaces Printing the push button status on the display block}}{102}\protected@file@percent } +\newlabel{50@xvr}{{}{102}} +\newlabel{50@vr}{{}{102}} +\newlabel{fig:push-button-status}{{5.4}{102}} +\@writefile{lot}{\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the push button status on the display block\relax }}{102}\protected@file@percent } +\newlabel{tab:push-button-status}{{5.1}{102}} +\newlabel{51@xvr}{{}{102}} +\newlabel{51@vr}{{}{102}} +\@writefile{lof}{\contentsline {figure}{\numberline {5.5}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{103}\protected@file@percent } +\newlabel{53@xvr}{{}{103}} +\newlabel{53@vr}{{}{103}} +\newlabel{fig:led-push-button}{{5.5}{103}} +\@writefile{lot}{\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{103}\protected@file@percent } +\newlabel{tab:led-push-button}{{5.2}{103}} +\newlabel{54@xvr}{{}{103}} +\newlabel{54@vr}{{}{103}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{5.{1}}{}}{103}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.6}Reading the Pushbutton Status from Python}{104}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.1}Reading the Pushbutton Status}{104}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{104}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{104}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led\textendash push\textendash button.py}{104}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.2}Python Code}{105}\protected@file@percent } +\newlabel{sec:push-python-code}{{5.6.2}{105}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{1}}{}}{107}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{107}\protected@file@percent } -\newlabel{55@xvr}{{}{107}} -\newlabel{55@vr}{{}{107}} -\newlabel{py:push-100}{{5.{1}}{107}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{107}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{2}}{}}{107}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{107}\protected@file@percent } -\newlabel{56@xvr}{{}{107}} -\newlabel{56@vr}{{}{107}} -\newlabel{py:push-200}{{5.{2}}{107}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led\textendash push\textendash button.py}{108}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.7}Reading the Pushbutton Status from Julia}{109}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.1}Reading the Pushbutton Status}{109}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push\textendash button\textendash status.jl}{109}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{109}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.2}Julia Code}{109}\protected@file@percent } -\newlabel{sec:push-julia-code}{{5.7.2}{109}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{1}}{}}{105}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{105}\protected@file@percent } +\newlabel{55@xvr}{{}{105}} +\newlabel{55@vr}{{}{105}} +\newlabel{py:push-100}{{5.{1}}{105}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{105}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{2}}{}}{105}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{105}\protected@file@percent } +\newlabel{56@xvr}{{}{105}} +\newlabel{56@vr}{{}{105}} +\newlabel{py:push-200}{{5.{2}}{105}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led\textendash push\textendash button.py}{106}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.7}Reading the Pushbutton Status from Julia}{107}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.1}Reading the Pushbutton Status}{107}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push\textendash button\textendash status.jl}{107}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{107}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.2}Julia Code}{107}\protected@file@percent } +\newlabel{sec:push-julia-code}{{5.7.2}{107}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{1}}{}}{109}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{109}\protected@file@percent } -\newlabel{57@xvr}{{}{109}} -\newlabel{57@vr}{{}{109}} -\newlabel{julia:push-100}{{5.{1}}{109}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push\textendash button\textendash status.jl}{109}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{110}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{110}\protected@file@percent } -\newlabel{58@xvr}{{}{110}} -\newlabel{58@vr}{{}{110}} -\newlabel{julia:push-200}{{5.{2}}{110}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{110}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.8}Reading the Pushbutton Status from OpenModelica}{110}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.1}Reading the Pushbutton Status}{110}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{110}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.2}OpenModelica Code}{110}\protected@file@percent } -\newlabel{sec:led-OpenModelica-code}{{5.8.2}{110}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{1}}{}}{107}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{107}\protected@file@percent } +\newlabel{57@xvr}{{}{107}} +\newlabel{57@vr}{{}{107}} +\newlabel{julia:push-100}{{5.{1}}{107}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push\textendash button\textendash status.jl}{107}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{108}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{108}\protected@file@percent } +\newlabel{58@xvr}{{}{108}} +\newlabel{58@vr}{{}{108}} +\newlabel{julia:push-200}{{5.{2}}{108}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{108}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.8}Reading the Pushbutton Status from OpenModelica}{108}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.1}Reading the Pushbutton Status}{108}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{108}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.2}OpenModelica Code}{108}\protected@file@percent } +\newlabel{sec:led-OpenModelica-code}{{5.8.2}{108}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{110}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{110}\protected@file@percent } -\newlabel{59@xvr}{{}{110}} -\newlabel{59@vr}{{}{110}} -\newlabel{OpenModelica:push-100}{{5.{1}}{110}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{111}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{111}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{111}\protected@file@percent } -\newlabel{60@xvr}{{}{111}} -\newlabel{60@vr}{{}{111}} -\newlabel{OpenModelica:push-200}{{5.{2}}{111}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{111}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{113}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{108}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{108}\protected@file@percent } +\newlabel{59@xvr}{{}{108}} +\newlabel{59@vr}{{}{108}} +\newlabel{OpenModelica:push-100}{{5.{1}}{108}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{109}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{109}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{109}\protected@file@percent } +\newlabel{60@xvr}{{}{109}} +\newlabel{60@vr}{{}{109}} +\newlabel{OpenModelica:push-200}{{5.{2}}{109}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{109}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{111}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{ldr}{{6}{113}} -\@writefile{toc}{\contentsline {section}{\numberline {6.1}Preliminaries}{113}\protected@file@percent } -\newlabel{fig:ldr}{{6.1a}{114}} +\newlabel{ldr}{{6}{111}} +\@writefile{toc}{\contentsline {section}{\numberline {6.1}Preliminaries}{111}\protected@file@percent } +\newlabel{fig:ldr}{{6.1a}{112}} \newlabel{sub@fig:ldr}{{(a)}{a}} -\newlabel{fig:ldrsym}{{6.1b}{114}} +\newlabel{fig:ldrsym}{{6.1b}{112}} \newlabel{sub@fig:ldrsym}{{(b)}{b}} -\@writefile{lof}{\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{114}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of an LDR}}}{114}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of an LDR}}}{114}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{114}\protected@file@percent } -\newlabel{fig:ldrconn}{{6.2}{114}} -\@writefile{lof}{\contentsline {figure}{\numberline {6.3}{\ignorespaces An LDR to read its values with Arduino Uno\ using a breadboard\relax }}{115}\protected@file@percent } -\newlabel{fig:ard-ldr}{{6.3}{115}} -\@writefile{toc}{\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{115}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {6.4}{\ignorespaces An LDR to control an LED with Arduino Uno using a breadboard\relax }}{116}\protected@file@percent } -\newlabel{fig:ard-ldr-led}{{6.4}{116}} -\@writefile{toc}{\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{116}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{116}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{116}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{117}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{117}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{1}}{}}{117}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{117}\protected@file@percent } -\newlabel{sec:ldr-arduino-code}{{6.3.2}{117}} +\@writefile{lof}{\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{112}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of an LDR}}}{112}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of an LDR}}}{112}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{112}\protected@file@percent } +\newlabel{fig:ldrconn}{{6.2}{112}} +\@writefile{lof}{\contentsline {figure}{\numberline {6.3}{\ignorespaces An LDR to read its values with Arduino Uno\ using a breadboard\relax }}{113}\protected@file@percent } +\newlabel{fig:ard-ldr}{{6.3}{113}} +\@writefile{toc}{\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{113}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {6.4}{\ignorespaces An LDR to control an LED with Arduino Uno using a breadboard\relax }}{114}\protected@file@percent } +\newlabel{fig:ard-ldr-led}{{6.4}{114}} +\@writefile{toc}{\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{114}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{114}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{114}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{115}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{115}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{1}}{}}{115}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{115}\protected@file@percent } +\newlabel{sec:ldr-arduino-code}{{6.3.2}{115}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{117}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{117}\protected@file@percent } -\newlabel{61@xvr}{{}{117}} -\newlabel{61@vr}{{}{117}} -\newlabel{ard:ldr-read}{{6.{1}}{117}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{117}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{118}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{118}\protected@file@percent } -\newlabel{62@xvr}{{}{118}} -\newlabel{62@vr}{{}{118}} -\newlabel{ard:ldr-led}{{6.{2}}{118}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash led/ldr\textendash led.ino}{118}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{118}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{118}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{2}}{}}{119}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{119}\protected@file@percent } -\newlabel{sec:ldr-scilab-code}{{6.4.2}{119}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{115}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{115}\protected@file@percent } +\newlabel{61@xvr}{{}{115}} +\newlabel{61@vr}{{}{115}} +\newlabel{ard:ldr-read}{{6.{1}}{115}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{115}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{116}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{116}\protected@file@percent } +\newlabel{62@xvr}{{}{116}} +\newlabel{62@vr}{{}{116}} +\newlabel{ard:ldr-led}{{6.{2}}{116}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash led/ldr\textendash led.ino}{116}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{116}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{116}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{2}}{}}{117}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{117}\protected@file@percent } +\newlabel{sec:ldr-scilab-code}{{6.4.2}{117}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{119}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{119}\protected@file@percent } -\newlabel{63@xvr}{{}{119}} -\newlabel{63@vr}{{}{119}} -\newlabel{sci:ldr-read}{{6.{1}}{119}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash read.sce}{119}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{120}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{120}\protected@file@percent } -\newlabel{64@xvr}{{}{120}} -\newlabel{64@vr}{{}{120}} -\newlabel{sci:ldr-led}{{6.{2}}{120}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash led.sce}{120}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{120}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read LDR values}}{121}\protected@file@percent } -\newlabel{66@xvr}{{}{121}} -\newlabel{66@vr}{{}{121}} -\newlabel{fig:ldr-read}{{6.5}{121}} -\@writefile{lot}{\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{121}\protected@file@percent } -\newlabel{tab:ldr-read}{{6.1}{121}} -\newlabel{67@xvr}{{}{121}} -\newlabel{67@vr}{{}{121}} -\@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}}{122}\protected@file@percent } -\newlabel{69@xvr}{{}{122}} -\newlabel{69@vr}{{}{122}} -\newlabel{fig:ldr-led}{{6.6}{122}} -\@writefile{toc}{\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{122}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{122}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{123}\protected@file@percent } -\newlabel{tab:ldr-led}{{6.2}{123}} -\newlabel{70@xvr}{{}{123}} -\newlabel{70@vr}{{}{123}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{3}}{}}{123}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.2}Python Code}{124}\protected@file@percent } -\newlabel{sec:ldr-python-code}{{6.6.2}{124}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{117}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{117}\protected@file@percent } +\newlabel{63@xvr}{{}{117}} +\newlabel{63@vr}{{}{117}} +\newlabel{sci:ldr-read}{{6.{1}}{117}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash read.sce}{117}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{118}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{118}\protected@file@percent } +\newlabel{64@xvr}{{}{118}} +\newlabel{64@vr}{{}{118}} +\newlabel{sci:ldr-led}{{6.{2}}{118}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash led.sce}{118}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{118}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read LDR values}}{119}\protected@file@percent } +\newlabel{66@xvr}{{}{119}} +\newlabel{66@vr}{{}{119}} +\newlabel{fig:ldr-read}{{6.5}{119}} +\@writefile{lot}{\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{119}\protected@file@percent } +\newlabel{tab:ldr-read}{{6.1}{119}} +\newlabel{67@xvr}{{}{119}} +\newlabel{67@vr}{{}{119}} +\@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}}{120}\protected@file@percent } +\newlabel{69@xvr}{{}{120}} +\newlabel{69@vr}{{}{120}} +\newlabel{fig:ldr-led}{{6.6}{120}} +\@writefile{toc}{\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{120}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{120}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{121}\protected@file@percent } +\newlabel{tab:ldr-led}{{6.2}{121}} +\newlabel{70@xvr}{{}{121}} +\newlabel{70@vr}{{}{121}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{3}}{}}{121}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.2}Python Code}{122}\protected@file@percent } +\newlabel{sec:ldr-python-code}{{6.6.2}{122}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{1}}{}}{124}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{124}\protected@file@percent } -\newlabel{71@xvr}{{}{124}} -\newlabel{71@vr}{{}{124}} -\newlabel{py:ldr-read}{{6.{1}}{124}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash read.py}{124}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{2}}{}}{125}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{125}\protected@file@percent } -\newlabel{72@xvr}{{}{125}} -\newlabel{72@vr}{{}{125}} -\newlabel{py:ldr-led}{{6.{2}}{125}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash led.py}{125}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{126}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{126}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{126}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{4}}{}}{126}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.2}Julia Code}{127}\protected@file@percent } -\newlabel{sec:ldr-julia-code}{{6.7.2}{127}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{1}}{}}{122}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{122}\protected@file@percent } +\newlabel{71@xvr}{{}{122}} +\newlabel{71@vr}{{}{122}} +\newlabel{py:ldr-read}{{6.{1}}{122}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash read.py}{122}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{2}}{}}{123}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{123}\protected@file@percent } +\newlabel{72@xvr}{{}{123}} +\newlabel{72@vr}{{}{123}} +\newlabel{py:ldr-led}{{6.{2}}{123}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash led.py}{123}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{124}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{124}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{124}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{4}}{}}{124}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.2}Julia Code}{125}\protected@file@percent } +\newlabel{sec:ldr-julia-code}{{6.7.2}{125}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{127}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{127}\protected@file@percent } -\newlabel{73@xvr}{{}{127}} -\newlabel{73@vr}{{}{127}} -\newlabel{julia:ldr-read}{{6.{1}}{127}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash read.jl}{127}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{127}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{127}\protected@file@percent } -\newlabel{74@xvr}{{}{127}} -\newlabel{74@vr}{{}{127}} -\newlabel{julia:ldr-led}{{6.{2}}{127}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash led.jl}{127}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{127}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{127}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{128}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{128}\protected@file@percent } -\newlabel{sec:ldr-OpenModelica-code}{{6.8.2}{128}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{125}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{125}\protected@file@percent } +\newlabel{73@xvr}{{}{125}} +\newlabel{73@vr}{{}{125}} +\newlabel{julia:ldr-read}{{6.{1}}{125}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash read.jl}{125}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{125}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{125}\protected@file@percent } +\newlabel{74@xvr}{{}{125}} +\newlabel{74@vr}{{}{125}} +\newlabel{julia:ldr-led}{{6.{2}}{125}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash led.jl}{125}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{125}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{125}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{126}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{126}\protected@file@percent } +\newlabel{sec:ldr-OpenModelica-code}{{6.8.2}{126}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{128}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{128}\protected@file@percent } -\newlabel{75@xvr}{{}{128}} -\newlabel{75@vr}{{}{128}} -\newlabel{OpenModelica:ldr-read}{{6.{1}}{128}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash read.mo}{128}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{129}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{129}\protected@file@percent } -\newlabel{76@xvr}{{}{129}} -\newlabel{76@vr}{{}{129}} -\newlabel{OpenModelica:ldr-led}{{6.{2}}{129}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash led.mo}{129}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {7}Interfacing a Potentiometer}{131}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{126}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{126}\protected@file@percent } +\newlabel{75@xvr}{{}{126}} +\newlabel{75@vr}{{}{126}} +\newlabel{OpenModelica:ldr-read}{{6.{1}}{126}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash read.mo}{126}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{127}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{127}\protected@file@percent } +\newlabel{76@xvr}{{}{127}} +\newlabel{76@vr}{{}{127}} +\newlabel{OpenModelica:ldr-led}{{6.{2}}{127}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash led.mo}{127}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {7}Interfacing a Potentiometer}{129}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{potmeter}{{7}{131}} -\@writefile{toc}{\contentsline {section}{\numberline {7.1}Preliminaries}{131}\protected@file@percent } -\newlabel{77@xvr}{{}{131}} -\newlabel{77@vr}{{}{131}} -\newlabel{fig:pot}{{7.1a}{132}} +\newlabel{potmeter}{{7}{129}} +\@writefile{toc}{\contentsline {section}{\numberline {7.1}Preliminaries}{129}\protected@file@percent } +\newlabel{77@xvr}{{}{129}} +\newlabel{77@vr}{{}{129}} +\newlabel{fig:pot}{{7.1a}{130}} \newlabel{sub@fig:pot}{{(a)}{a}} -\newlabel{fig:potsch}{{7.1b}{132}} +\newlabel{fig:potsch}{{7.1b}{130}} \newlabel{sub@fig:potsch}{{(b)}{b}} -\@writefile{lof}{\contentsline {figure}{\numberline {7.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{132}\protected@file@percent } -\newlabel{fig:potmeterconn}{{7.1}{132}} -\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{132}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Schematic representation of the potentiometer}}}{132}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.2}Connecting a potentiometer with Arduino Uno\ using a breadboard}{132}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {7.2}{\ignorespaces A potentiometer to control an LED with Arduino Uno using a breadboard\relax }}{133}\protected@file@percent } -\newlabel{fig:pot-led}{{7.2}{133}} -\@writefile{toc}{\contentsline {section}{\numberline {7.3}Reading the potentiometer from the Arduino IDE}{133}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.1}Reading the potentiometer}{133}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{134}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{134}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.2}Arduino Code}{134}\protected@file@percent } -\newlabel{sec:pot-arduino-code}{{7.3.2}{134}} +\@writefile{lof}{\contentsline {figure}{\numberline {7.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{130}\protected@file@percent } +\newlabel{fig:potmeterconn}{{7.1}{130}} +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{130}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Schematic representation of the potentiometer}}}{130}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.2}Connecting a potentiometer with Arduino Uno\ using a breadboard}{130}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {7.2}{\ignorespaces A potentiometer to control an LED with Arduino Uno using a breadboard\relax }}{131}\protected@file@percent } +\newlabel{fig:pot-led}{{7.2}{131}} +\@writefile{toc}{\contentsline {section}{\numberline {7.3}Reading the potentiometer from the Arduino IDE}{131}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.1}Reading the potentiometer}{131}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{132}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{132}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.2}Arduino Code}{132}\protected@file@percent } +\newlabel{sec:pot-arduino-code}{{7.3.2}{132}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{134}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{134}\protected@file@percent } -\newlabel{78@xvr}{{}{134}} -\newlabel{78@vr}{{}{134}} -\newlabel{ard:pot-100}{{7.{1}}{134}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{134}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.4}Reading the potentiometer from Scilab}{135}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.4.1}Reading the potentiometer}{135}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{135}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{135}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.4.2}Scilab Code}{136}\protected@file@percent } -\newlabel{sec:pot-scilab-code}{{7.4.2}{136}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{132}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{132}\protected@file@percent } +\newlabel{78@xvr}{{}{132}} +\newlabel{78@vr}{{}{132}} +\newlabel{ard:pot-100}{{7.{1}}{132}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{132}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.4}Reading the potentiometer from Scilab}{133}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.4.1}Reading the potentiometer}{133}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{133}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{133}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.4.2}Scilab Code}{134}\protected@file@percent } +\newlabel{sec:pot-scilab-code}{{7.4.2}{134}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{136}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{136}\protected@file@percent } -\newlabel{79@xvr}{{}{136}} -\newlabel{79@vr}{{}{136}} -\newlabel{sci:pot-100}{{7.{1}}{136}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{136}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.5}Reading the potentiometer from Xcos}{136}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {7.3}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{137}\protected@file@percent } -\newlabel{81@xvr}{{}{137}} -\newlabel{81@vr}{{}{137}} -\newlabel{fig:pot-threshold}{{7.3}{137}} -\@writefile{toc}{\contentsline {paragraph}{Exercise:}{137}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.6}Reading the potentiometer from Python}{137}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.1}Reading the potentiometer}{137}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {7.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{138}\protected@file@percent } -\newlabel{tab:pot-threshold}{{7.1}{138}} -\newlabel{82@xvr}{{}{138}} -\newlabel{82@vr}{{}{138}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{138}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{139}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.2}Python Code}{139}\protected@file@percent } -\newlabel{sec:pot-python-code}{{7.6.2}{139}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{134}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{134}\protected@file@percent } +\newlabel{79@xvr}{{}{134}} +\newlabel{79@vr}{{}{134}} +\newlabel{sci:pot-100}{{7.{1}}{134}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{134}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.5}Reading the potentiometer from Xcos}{134}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {7.3}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{135}\protected@file@percent } +\newlabel{81@xvr}{{}{135}} +\newlabel{81@vr}{{}{135}} +\newlabel{fig:pot-threshold}{{7.3}{135}} +\@writefile{toc}{\contentsline {paragraph}{Exercise:}{135}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.6}Reading the potentiometer from Python}{135}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.1}Reading the potentiometer}{135}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {7.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{136}\protected@file@percent } +\newlabel{tab:pot-threshold}{{7.1}{136}} +\newlabel{82@xvr}{{}{136}} +\newlabel{82@vr}{{}{136}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{136}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{137}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.2}Python Code}{137}\protected@file@percent } +\newlabel{sec:pot-python-code}{{7.6.2}{137}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{1}}{}}{139}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{139}\protected@file@percent } -\newlabel{83@xvr}{{}{139}} -\newlabel{83@vr}{{}{139}} -\newlabel{py:pot-100}{{7.{1}}{139}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{139}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.7}Reading the potentiometer from Julia}{140}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.1}Reading the potentiometer}{140}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{140}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{140}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.2}Julia Code}{141}\protected@file@percent } -\newlabel{sec:pot-julia-code}{{7.7.2}{141}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{1}}{}}{137}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{137}\protected@file@percent } +\newlabel{83@xvr}{{}{137}} +\newlabel{83@vr}{{}{137}} +\newlabel{py:pot-100}{{7.{1}}{137}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{137}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.7}Reading the potentiometer from Julia}{138}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.1}Reading the potentiometer}{138}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{138}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{138}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.2}Julia Code}{139}\protected@file@percent } +\newlabel{sec:pot-julia-code}{{7.7.2}{139}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{141}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{141}\protected@file@percent } -\newlabel{84@xvr}{{}{141}} -\newlabel{84@vr}{{}{141}} -\newlabel{julia:pot-100}{{7.{1}}{141}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{141}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.8}Reading the potentiometer from OpenModelica}{141}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.8.1}Reading the potentiometer}{141}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{141}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{142}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.8.2}OpenModelica Code}{142}\protected@file@percent } -\newlabel{sec:pot-OpenModelica-code}{{7.8.2}{142}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{139}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{139}\protected@file@percent } +\newlabel{84@xvr}{{}{139}} +\newlabel{84@vr}{{}{139}} +\newlabel{julia:pot-100}{{7.{1}}{139}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{139}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.8}Reading the potentiometer from OpenModelica}{139}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.8.1}Reading the potentiometer}{139}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{139}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{140}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.8.2}OpenModelica Code}{140}\protected@file@percent } +\newlabel{sec:pot-OpenModelica-code}{{7.8.2}{140}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{142}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{142}\protected@file@percent } -\newlabel{85@xvr}{{}{142}} -\newlabel{85@vr}{{}{142}} -\newlabel{OpenModelica:pot-100}{{7.{1}}{142}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{142}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{140}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{140}\protected@file@percent } +\newlabel{85@xvr}{{}{140}} +\newlabel{85@vr}{{}{140}} +\newlabel{OpenModelica:pot-100}{{7.{1}}{140}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{140}\protected@file@percent } \citation{therm-wiki} \citation{therm-wiki} -\@writefile{toc}{\contentsline {chapter}{\numberline {8}Interfacing a Thermistor}{145}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {8}Interfacing a Thermistor}{143}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{thermistor}{{8}{145}} -\@writefile{toc}{\contentsline {section}{\numberline {8.1}Preliminaries}{145}\protected@file@percent } -\newlabel{fig:therm}{{8.1a}{146}} +\newlabel{thermistor}{{8}{143}} +\@writefile{toc}{\contentsline {section}{\numberline {8.1}Preliminaries}{143}\protected@file@percent } +\newlabel{fig:therm}{{8.1a}{144}} \newlabel{sub@fig:therm}{{(a)}{a}} -\newlabel{fig:thermsym}{{8.1b}{146}} +\newlabel{fig:thermsym}{{8.1b}{144}} \newlabel{sub@fig:thermsym}{{(b)}{b}} -\@writefile{lof}{\contentsline {figure}{\numberline {8.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{146}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{146}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{146}\protected@file@percent } -\newlabel{fig:therm-conn}{{8.2a}{146}} +\@writefile{lof}{\contentsline {figure}{\numberline {8.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{144}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{144}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{144}\protected@file@percent } +\newlabel{fig:therm-conn}{{8.2a}{144}} \newlabel{sub@fig:therm-conn}{{(a)}{a}} -\newlabel{fig:buzzer-conn}{{8.2b}{146}} +\newlabel{fig:buzzer-conn}{{8.2b}{144}} \newlabel{sub@fig:buzzer-conn}{{(b)}{b}} -\@writefile{lof}{\contentsline {figure}{\numberline {8.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{146}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Thermistor connection diagram}}}{146}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Buzzer connection diagram}}}{146}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{146}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {8.3}{\ignorespaces A thermistor to read its values with Arduino Uno using a breadboard\relax }}{147}\protected@file@percent } -\newlabel{fig:ard-therm-bread}{{8.3}{147}} -\@writefile{lof}{\contentsline {figure}{\numberline {8.4}{\ignorespaces A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }}{148}\protected@file@percent } -\newlabel{fig:ard-therm-buzzer}{{8.4}{148}} -\@writefile{toc}{\contentsline {section}{\numberline {8.3}Interfacing the Thermistor from the Arduino IDE}{148}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.1}Interfacing the Thermistor}{148}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{148}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{148}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{148}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{8.{1}}{}}{149}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.2}Arduino Code}{149}\protected@file@percent } -\newlabel{sec:therm-arduino-code}{{8.3.2}{149}} +\@writefile{lof}{\contentsline {figure}{\numberline {8.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{144}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Thermistor connection diagram}}}{144}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Buzzer connection diagram}}}{144}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{144}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {8.3}{\ignorespaces A thermistor to read its values with Arduino Uno using a breadboard\relax }}{145}\protected@file@percent } +\newlabel{fig:ard-therm-bread}{{8.3}{145}} +\@writefile{lof}{\contentsline {figure}{\numberline {8.4}{\ignorespaces A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }}{146}\protected@file@percent } +\newlabel{fig:ard-therm-buzzer}{{8.4}{146}} +\@writefile{toc}{\contentsline {section}{\numberline {8.3}Interfacing the Thermistor from the Arduino IDE}{146}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.1}Interfacing the Thermistor}{146}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{146}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{146}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{146}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{8.{1}}{}}{147}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.2}Arduino Code}{147}\protected@file@percent } +\newlabel{sec:therm-arduino-code}{{8.3.2}{147}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{149}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{149}\protected@file@percent } -\newlabel{86@xvr}{{}{149}} -\newlabel{86@vr}{{}{149}} -\newlabel{ard:therm-read}{{8.{1}}{149}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{149}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{8.{2}}{}}{150}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{150}\protected@file@percent } -\newlabel{87@xvr}{{}{150}} -\newlabel{87@vr}{{}{150}} -\newlabel{ard:therm-buzzer}{{8.{2}}{150}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash buzzer/therm\textendash buzzer.ino}{150}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.4}Interfacing the Thermistor from Scilab}{150}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.4.1}Interfacing the Thermistor}{150}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{8.{2}}{}}{151}\protected@file@percent } -\newlabel{therm-abc}{{8.1}{151}} -\newlabel{therm-beta}{{8.2}{152}} -\@writefile{toc}{\contentsline {subsection}{\numberline {8.4.2}Scilab Code}{152}\protected@file@percent } -\newlabel{sec:therm-scilab-code}{{8.4.2}{152}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{147}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{147}\protected@file@percent } +\newlabel{86@xvr}{{}{147}} +\newlabel{86@vr}{{}{147}} +\newlabel{ard:therm-read}{{8.{1}}{147}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{147}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{8.{2}}{}}{148}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{148}\protected@file@percent } +\newlabel{87@xvr}{{}{148}} +\newlabel{87@vr}{{}{148}} +\newlabel{ard:therm-buzzer}{{8.{2}}{148}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash buzzer/therm\textendash buzzer.ino}{148}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.4}Interfacing the Thermistor from Scilab}{148}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.4.1}Interfacing the Thermistor}{148}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{8.{2}}{}}{149}\protected@file@percent } +\newlabel{therm-abc}{{8.1}{149}} +\newlabel{therm-beta}{{8.2}{150}} +\@writefile{toc}{\contentsline {subsection}{\numberline {8.4.2}Scilab Code}{150}\protected@file@percent } +\newlabel{sec:therm-scilab-code}{{8.4.2}{150}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{152}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{152}\protected@file@percent } -\newlabel{88@xvr}{{}{152}} -\newlabel{88@vr}{{}{152}} -\newlabel{sci:therm-read}{{8.{1}}{152}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash read.sce}{152}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{8.{2}}{}}{152}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{152}\protected@file@percent } -\newlabel{89@xvr}{{}{152}} -\newlabel{89@vr}{{}{152}} -\newlabel{sci:therm-buzzer}{{8.{2}}{152}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash buzzer.sce}{152}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {8.5}{\ignorespaces Xcos diagram to read thermistor values}}{153}\protected@file@percent } -\newlabel{91@xvr}{{}{153}} -\newlabel{91@vr}{{}{153}} -\newlabel{fig:therm-read}{{8.5}{153}} -\@writefile{toc}{\contentsline {section}{\numberline {8.5}Interfacing the Thermistor from Xcos}{153}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{154}\protected@file@percent } -\newlabel{tab:therm-read}{{8.1}{154}} -\newlabel{92@xvr}{{}{154}} -\newlabel{92@vr}{{}{154}} -\@writefile{lof}{\contentsline {figure}{\numberline {8.6}{\ignorespaces Output of Xcos diagram to read thermistor values}}{154}\protected@file@percent } -\newlabel{94@xvr}{{}{154}} -\newlabel{94@vr}{{}{154}} -\newlabel{fig:therm-read-output}{{8.6}{154}} -\@writefile{lof}{\contentsline {figure}{\numberline {8.7}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{155}\protected@file@percent } -\newlabel{96@xvr}{{}{155}} -\newlabel{96@vr}{{}{155}} -\newlabel{fig:therm-buzzer}{{8.7}{155}} -\@writefile{lof}{\contentsline {figure}{\numberline {8.8}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{155}\protected@file@percent } -\newlabel{99@xvr}{{}{155}} -\newlabel{99@vr}{{}{155}} -\newlabel{fig:therm-buzzer-output}{{8.8}{155}} -\@writefile{lot}{\contentsline {table}{\numberline {8.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{156}\protected@file@percent } -\newlabel{tab:ldr-led}{{8.2}{156}} -\newlabel{97@xvr}{{}{156}} -\newlabel{97@vr}{{}{156}} -\@writefile{toc}{\contentsline {section}{\numberline {8.6}Interfacing the Thermistor from Python}{156}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.1}Interfacing the Thermistor}{156}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.2}Python Code}{157}\protected@file@percent } -\newlabel{sec:therm-pyhton-code}{{8.6.2}{157}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{150}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{150}\protected@file@percent } +\newlabel{88@xvr}{{}{150}} +\newlabel{88@vr}{{}{150}} +\newlabel{sci:therm-read}{{8.{1}}{150}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash read.sce}{150}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{8.{2}}{}}{150}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{150}\protected@file@percent } +\newlabel{89@xvr}{{}{150}} +\newlabel{89@vr}{{}{150}} +\newlabel{sci:therm-buzzer}{{8.{2}}{150}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash buzzer.sce}{150}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {8.5}{\ignorespaces Xcos diagram to read thermistor values}}{151}\protected@file@percent } +\newlabel{91@xvr}{{}{151}} +\newlabel{91@vr}{{}{151}} +\newlabel{fig:therm-read}{{8.5}{151}} +\@writefile{toc}{\contentsline {section}{\numberline {8.5}Interfacing the Thermistor from Xcos}{151}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{152}\protected@file@percent } +\newlabel{tab:therm-read}{{8.1}{152}} +\newlabel{92@xvr}{{}{152}} +\newlabel{92@vr}{{}{152}} +\@writefile{lof}{\contentsline {figure}{\numberline {8.6}{\ignorespaces Output of Xcos diagram to read thermistor values}}{152}\protected@file@percent } +\newlabel{94@xvr}{{}{152}} +\newlabel{94@vr}{{}{152}} +\newlabel{fig:therm-read-output}{{8.6}{152}} +\@writefile{lof}{\contentsline {figure}{\numberline {8.7}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{153}\protected@file@percent } +\newlabel{96@xvr}{{}{153}} +\newlabel{96@vr}{{}{153}} +\newlabel{fig:therm-buzzer}{{8.7}{153}} +\@writefile{lof}{\contentsline {figure}{\numberline {8.8}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{153}\protected@file@percent } +\newlabel{99@xvr}{{}{153}} +\newlabel{99@vr}{{}{153}} +\newlabel{fig:therm-buzzer-output}{{8.8}{153}} +\@writefile{lot}{\contentsline {table}{\numberline {8.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{154}\protected@file@percent } +\newlabel{tab:ldr-led}{{8.2}{154}} +\newlabel{97@xvr}{{}{154}} +\newlabel{97@vr}{{}{154}} +\@writefile{toc}{\contentsline {section}{\numberline {8.6}Interfacing the Thermistor from Python}{154}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.1}Interfacing the Thermistor}{154}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.2}Python Code}{155}\protected@file@percent } +\newlabel{sec:therm-pyhton-code}{{8.6.2}{155}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{8.{1}}{}}{157}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{157}\protected@file@percent } -\newlabel{100@xvr}{{}{157}} -\newlabel{100@vr}{{}{157}} -\newlabel{py:therm-read}{{8.{1}}{157}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash read.py}{157}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{8.{2}}{}}{158}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{158}\protected@file@percent } -\newlabel{101@xvr}{{}{158}} -\newlabel{101@vr}{{}{158}} -\newlabel{py:therm-buzzer}{{8.{2}}{158}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash buzzer.py}{158}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.7}Interfacing the Thermistor from Julia}{159}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.1}Interfacing the Thermistor}{159}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.2}Julia Code}{159}\protected@file@percent } -\newlabel{sec:therm-julia-code}{{8.7.2}{159}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{8.{1}}{}}{155}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{155}\protected@file@percent } +\newlabel{100@xvr}{{}{155}} +\newlabel{100@vr}{{}{155}} +\newlabel{py:therm-read}{{8.{1}}{155}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash read.py}{155}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{8.{2}}{}}{156}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{156}\protected@file@percent } +\newlabel{101@xvr}{{}{156}} +\newlabel{101@vr}{{}{156}} +\newlabel{py:therm-buzzer}{{8.{2}}{156}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash buzzer.py}{156}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.7}Interfacing the Thermistor from Julia}{157}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.1}Interfacing the Thermistor}{157}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.2}Julia Code}{157}\protected@file@percent } +\newlabel{sec:therm-julia-code}{{8.7.2}{157}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{159}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{159}\protected@file@percent } -\newlabel{102@xvr}{{}{159}} -\newlabel{102@vr}{{}{159}} -\newlabel{julia:therm-read}{{8.{1}}{159}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash read.jl}{159}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{8.{2}}{}}{160}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{160}\protected@file@percent } -\newlabel{103@xvr}{{}{160}} -\newlabel{103@vr}{{}{160}} -\newlabel{julia:therm-buzzer}{{8.{2}}{160}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash buzzer.jl}{160}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.8}Interfacing the Thermistor from OpenModelica}{160}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.8.1}Interfacing the Thermistor}{160}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.8.2}OpenModelica Code}{161}\protected@file@percent } -\newlabel{sec:therm-OpenModelica-code}{{8.8.2}{161}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{157}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{157}\protected@file@percent } +\newlabel{102@xvr}{{}{157}} +\newlabel{102@vr}{{}{157}} +\newlabel{julia:therm-read}{{8.{1}}{157}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash read.jl}{157}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{8.{2}}{}}{158}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{158}\protected@file@percent } +\newlabel{103@xvr}{{}{158}} +\newlabel{103@vr}{{}{158}} +\newlabel{julia:therm-buzzer}{{8.{2}}{158}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash buzzer.jl}{158}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.8}Interfacing the Thermistor from OpenModelica}{158}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.8.1}Interfacing the Thermistor}{158}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.8.2}OpenModelica Code}{159}\protected@file@percent } +\newlabel{sec:therm-OpenModelica-code}{{8.8.2}{159}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{161}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{161}\protected@file@percent } -\newlabel{104@xvr}{{}{161}} -\newlabel{104@vr}{{}{161}} -\newlabel{OpenModelica:therm-read}{{8.{1}}{161}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash read.mo}{161}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{2}}{}}{162}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{162}\protected@file@percent } -\newlabel{105@xvr}{{}{162}} -\newlabel{105@vr}{{}{162}} -\newlabel{OpenModelica:therm-buzzer}{{8.{2}}{162}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash buzzer.mo}{162}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {9}Controlling a DC motor}{163}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{159}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{159}\protected@file@percent } +\newlabel{104@xvr}{{}{159}} +\newlabel{104@vr}{{}{159}} +\newlabel{OpenModelica:therm-read}{{8.{1}}{159}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash read.mo}{159}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{2}}{}}{160}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{160}\protected@file@percent } +\newlabel{105@xvr}{{}{160}} +\newlabel{105@vr}{{}{160}} +\newlabel{OpenModelica:therm-buzzer}{{8.{2}}{160}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash buzzer.mo}{160}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {9}Controlling a DC motor}{161}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{dcmotor}{{9}{163}} -\@writefile{toc}{\contentsline {section}{\numberline {9.1}Preliminaries}{163}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {9.1}{\ignorespaces L293D motor driver board\relax }}{164}\protected@file@percent } -\newlabel{fig:motordriverboard}{{9.1}{164}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.2}{\ignorespaces A schematic of DC motor connections\relax }}{165}\protected@file@percent } -\newlabel{fig:dcm-schematic}{{9.2}{165}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.3}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{165}\protected@file@percent } -\newlabel{fig:dcmotorconn}{{9.3}{165}} -\@writefile{toc}{\contentsline {section}{\numberline {9.2}Controlling the DC motor from Arduino}{165}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.2.1}Controlling the DC motor}{165}\protected@file@percent } -\newlabel{sec:dcm-ard}{{9.2.1}{165}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{1}}{}}{166}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.2.2}Arduino Code}{167}\protected@file@percent } -\newlabel{sec:dcmotor-arduino-code}{{9.2.2}{167}} +\newlabel{dcmotor}{{9}{161}} +\@writefile{toc}{\contentsline {section}{\numberline {9.1}Preliminaries}{161}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {9.1}{\ignorespaces L293D motor driver board\relax }}{162}\protected@file@percent } +\newlabel{fig:motordriverboard}{{9.1}{162}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.2}{\ignorespaces A schematic of DC motor connections\relax }}{163}\protected@file@percent } +\newlabel{fig:dcm-schematic}{{9.2}{163}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.3}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{163}\protected@file@percent } +\newlabel{fig:dcmotorconn}{{9.3}{163}} +\@writefile{toc}{\contentsline {section}{\numberline {9.2}Controlling the DC motor from Arduino}{163}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.2.1}Controlling the DC motor}{163}\protected@file@percent } +\newlabel{sec:dcm-ard}{{9.2.1}{163}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{1}}{}}{164}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.2.2}Arduino Code}{165}\protected@file@percent } +\newlabel{sec:dcmotor-arduino-code}{{9.2.2}{165}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{167}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{167}\protected@file@percent } -\newlabel{106@xvr}{{}{167}} -\newlabel{106@vr}{{}{167}} -\newlabel{ard:dcmotor-clock}{{9.{1}}{167}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{167}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{167}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{167}\protected@file@percent } -\newlabel{107@xvr}{{}{167}} -\newlabel{107@vr}{{}{167}} -\newlabel{ard:dcmotor-both}{{9.{2}}{167}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash both/dcmotor\textendash both.ino}{167}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{3}}{}}{167}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{167}\protected@file@percent } -\newlabel{108@xvr}{{}{167}} -\newlabel{108@vr}{{}{167}} -\newlabel{ard:dcmotor-loop}{{9.{3}}{167}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash loop/dcmotor\textendash loop.ino}{168}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.3}Controlling the DC motor from Scilab}{168}\protected@file@percent } -\newlabel{sec:dcm-sci}{{9.3}{168}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.1}Initialization}{168}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {9.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{169}\protected@file@percent } -\newlabel{table:convention}{{9.1}{169}} -\@writefile{lot}{\contentsline {table}{\numberline {9.2}{\ignorespaces Parameters for DC motor initialization\relax }}{169}\protected@file@percent } -\newlabel{tab:dcmotor-init}{{9.2}{169}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{169}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.2}Rotation for a specified time}{169}\protected@file@percent } -\newlabel{sec:dc-both}{{9.3.2}{169}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{169}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{170}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{170}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{2}}{}}{170}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.3}Using the capabilities of Scilab}{170}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.4}Scilab Code}{171}\protected@file@percent } -\newlabel{sec:dcmotor-scilab-code}{{9.3.4}{171}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{165}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{165}\protected@file@percent } +\newlabel{106@xvr}{{}{165}} +\newlabel{106@vr}{{}{165}} +\newlabel{ard:dcmotor-clock}{{9.{1}}{165}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{165}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{165}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{165}\protected@file@percent } +\newlabel{107@xvr}{{}{165}} +\newlabel{107@vr}{{}{165}} +\newlabel{ard:dcmotor-both}{{9.{2}}{165}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash both/dcmotor\textendash both.ino}{165}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{3}}{}}{165}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{165}\protected@file@percent } +\newlabel{108@xvr}{{}{165}} +\newlabel{108@vr}{{}{165}} +\newlabel{ard:dcmotor-loop}{{9.{3}}{165}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash loop/dcmotor\textendash loop.ino}{166}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.3}Controlling the DC motor from Scilab}{166}\protected@file@percent } +\newlabel{sec:dcm-sci}{{9.3}{166}} +\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.1}Initialization}{166}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {9.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{167}\protected@file@percent } +\newlabel{table:convention}{{9.1}{167}} +\@writefile{lot}{\contentsline {table}{\numberline {9.2}{\ignorespaces Parameters for DC motor initialization\relax }}{167}\protected@file@percent } +\newlabel{tab:dcmotor-init}{{9.2}{167}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{167}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.2}Rotation for a specified time}{167}\protected@file@percent } +\newlabel{sec:dc-both}{{9.3.2}{167}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{167}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{168}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{168}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{2}}{}}{168}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.3}Using the capabilities of Scilab}{168}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.4}Scilab Code}{169}\protected@file@percent } +\newlabel{sec:dcmotor-scilab-code}{{9.3.4}{169}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{171}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{171}\protected@file@percent } -\newlabel{109@xvr}{{}{171}} -\newlabel{109@vr}{{}{171}} -\newlabel{sci:dcmotor-clock}{{9.{1}}{171}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{171}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{171}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{171}\protected@file@percent } -\newlabel{110@xvr}{{}{171}} -\newlabel{110@vr}{{}{171}} -\newlabel{sci:dcmotor-both}{{9.{2}}{171}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{171}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{3}}{}}{171}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{171}\protected@file@percent } -\newlabel{111@xvr}{{}{171}} -\newlabel{111@vr}{{}{171}} -\newlabel{sci:dcmotor-loop}{{9.{3}}{171}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash loop.sce}{171}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {9.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{172}\protected@file@percent } -\newlabel{113@xvr}{{}{172}} -\newlabel{113@vr}{{}{172}} -\newlabel{fig:dcmotor-clock}{{9.4}{172}} -\@writefile{toc}{\contentsline {section}{\numberline {9.4}Controlling the DC Motor from Xcos}{172}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {9.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{173}\protected@file@percent } -\newlabel{tab:dcmotor-clock}{{9.3}{173}} -\newlabel{114@xvr}{{}{173}} -\newlabel{114@vr}{{}{173}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{3}}{}}{173}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {9.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{174}\protected@file@percent } -\newlabel{116@xvr}{{}{174}} -\newlabel{116@vr}{{}{174}} -\newlabel{fig:dcmotor-both}{{9.5}{174}} -\@writefile{lot}{\contentsline {table}{\numberline {9.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{174}\protected@file@percent } -\newlabel{tab:dcmotor-both}{{9.4}{174}} -\newlabel{117@xvr}{{}{174}} -\newlabel{117@vr}{{}{174}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{175}\protected@file@percent } -\newlabel{119@xvr}{{}{175}} -\newlabel{119@vr}{{}{175}} -\newlabel{fig:dcmotor-loop}{{9.6}{175}} -\@writefile{toc}{\contentsline {section}{\numberline {9.5}Controlling the DC Motor from Python}{175}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.5.1}Controlling the DC Motor}{175}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {9.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{176}\protected@file@percent } -\newlabel{tab:dcmotor-loop}{{9.5}{176}} -\newlabel{120@xvr}{{}{176}} -\newlabel{120@vr}{{}{176}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.5.2}Python Code}{177}\protected@file@percent } -\newlabel{sec:dcmotor-python-code}{{9.5.2}{177}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{169}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{169}\protected@file@percent } +\newlabel{109@xvr}{{}{169}} +\newlabel{109@vr}{{}{169}} +\newlabel{sci:dcmotor-clock}{{9.{1}}{169}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{169}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{169}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{169}\protected@file@percent } +\newlabel{110@xvr}{{}{169}} +\newlabel{110@vr}{{}{169}} +\newlabel{sci:dcmotor-both}{{9.{2}}{169}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{169}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{3}}{}}{169}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{169}\protected@file@percent } +\newlabel{111@xvr}{{}{169}} +\newlabel{111@vr}{{}{169}} +\newlabel{sci:dcmotor-loop}{{9.{3}}{169}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash loop.sce}{169}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {9.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{170}\protected@file@percent } +\newlabel{113@xvr}{{}{170}} +\newlabel{113@vr}{{}{170}} +\newlabel{fig:dcmotor-clock}{{9.4}{170}} +\@writefile{toc}{\contentsline {section}{\numberline {9.4}Controlling the DC Motor from Xcos}{170}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {9.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{171}\protected@file@percent } +\newlabel{tab:dcmotor-clock}{{9.3}{171}} +\newlabel{114@xvr}{{}{171}} +\newlabel{114@vr}{{}{171}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{3}}{}}{171}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {9.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{172}\protected@file@percent } +\newlabel{116@xvr}{{}{172}} +\newlabel{116@vr}{{}{172}} +\newlabel{fig:dcmotor-both}{{9.5}{172}} +\@writefile{lot}{\contentsline {table}{\numberline {9.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{172}\protected@file@percent } +\newlabel{tab:dcmotor-both}{{9.4}{172}} +\newlabel{117@xvr}{{}{172}} +\newlabel{117@vr}{{}{172}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{173}\protected@file@percent } +\newlabel{119@xvr}{{}{173}} +\newlabel{119@vr}{{}{173}} +\newlabel{fig:dcmotor-loop}{{9.6}{173}} +\@writefile{toc}{\contentsline {section}{\numberline {9.5}Controlling the DC Motor from Python}{173}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.5.1}Controlling the DC Motor}{173}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {9.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{174}\protected@file@percent } +\newlabel{tab:dcmotor-loop}{{9.5}{174}} +\newlabel{120@xvr}{{}{174}} +\newlabel{120@vr}{{}{174}} +\@writefile{toc}{\contentsline {subsection}{\numberline {9.5.2}Python Code}{175}\protected@file@percent } +\newlabel{sec:dcmotor-python-code}{{9.5.2}{175}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{1}}{}}{177}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{177}\protected@file@percent } -\newlabel{121@xvr}{{}{177}} -\newlabel{121@vr}{{}{177}} -\newlabel{py:dcmotor-clock}{{9.{1}}{177}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash clock.py}{177}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{2}}{}}{178}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{178}\protected@file@percent } -\newlabel{122@xvr}{{}{178}} -\newlabel{122@vr}{{}{178}} -\newlabel{py:dcmotor-both}{{9.{2}}{178}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash both.py}{178}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{3}}{}}{178}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{178}\protected@file@percent } -\newlabel{123@xvr}{{}{179}} -\newlabel{123@vr}{{}{179}} -\newlabel{py:dcmotor-loop}{{9.{3}}{179}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash loop.py}{179}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.6}Controlling the DC Motor from Julia}{180}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.1}Controlling the DC Motor}{180}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.2}Julia Code}{180}\protected@file@percent } -\newlabel{sec:dcmotor-julia-code}{{9.6.2}{180}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{1}}{}}{175}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{175}\protected@file@percent } +\newlabel{121@xvr}{{}{175}} +\newlabel{121@vr}{{}{175}} +\newlabel{py:dcmotor-clock}{{9.{1}}{175}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash clock.py}{175}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{2}}{}}{176}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{176}\protected@file@percent } +\newlabel{122@xvr}{{}{176}} +\newlabel{122@vr}{{}{176}} +\newlabel{py:dcmotor-both}{{9.{2}}{176}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash both.py}{176}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{3}}{}}{176}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{176}\protected@file@percent } +\newlabel{123@xvr}{{}{177}} +\newlabel{123@vr}{{}{177}} +\newlabel{py:dcmotor-loop}{{9.{3}}{177}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash loop.py}{177}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.6}Controlling the DC Motor from Julia}{178}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.1}Controlling the DC Motor}{178}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.2}Julia Code}{178}\protected@file@percent } +\newlabel{sec:dcmotor-julia-code}{{9.6.2}{178}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{180}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{180}\protected@file@percent } -\newlabel{124@xvr}{{}{180}} -\newlabel{124@vr}{{}{180}} -\newlabel{julia:dcmotor-clock}{{9.{1}}{180}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{180}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{181}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{181}\protected@file@percent } -\newlabel{125@xvr}{{}{181}} -\newlabel{125@vr}{{}{181}} -\newlabel{julia:dcmotor-both}{{9.{2}}{181}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash both.jl}{181}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{3}}{}}{181}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{181}\protected@file@percent } -\newlabel{126@xvr}{{}{181}} -\newlabel{126@vr}{{}{181}} -\newlabel{julia:dcmotor-loop}{{9.{3}}{181}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash loop.jl}{181}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.7}Controlling the DC Motor from OpenModelica}{181}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.1}Controlling the DC Motor}{181}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.2}OpenModelica Code}{182}\protected@file@percent } -\newlabel{sec:dcmotor-OpenModelica-code}{{9.7.2}{182}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{178}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{178}\protected@file@percent } +\newlabel{124@xvr}{{}{178}} +\newlabel{124@vr}{{}{178}} +\newlabel{julia:dcmotor-clock}{{9.{1}}{178}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{178}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{179}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{179}\protected@file@percent } +\newlabel{125@xvr}{{}{179}} +\newlabel{125@vr}{{}{179}} +\newlabel{julia:dcmotor-both}{{9.{2}}{179}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash both.jl}{179}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{3}}{}}{179}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{179}\protected@file@percent } +\newlabel{126@xvr}{{}{179}} +\newlabel{126@vr}{{}{179}} +\newlabel{julia:dcmotor-loop}{{9.{3}}{179}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash loop.jl}{179}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.7}Controlling the DC Motor from OpenModelica}{179}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.1}Controlling the DC Motor}{179}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.2}OpenModelica Code}{180}\protected@file@percent } +\newlabel{sec:dcmotor-OpenModelica-code}{{9.7.2}{180}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{182}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{182}\protected@file@percent } -\newlabel{127@xvr}{{}{182}} -\newlabel{127@vr}{{}{182}} -\newlabel{OpenModelica:dcmotor-clock}{{9.{1}}{182}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{182}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{182}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{182}\protected@file@percent } -\newlabel{128@xvr}{{}{182}} -\newlabel{128@vr}{{}{182}} -\newlabel{OpenModelica:dcmotor-both}{{9.{2}}{182}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{183}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{3}}{}}{183}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{183}\protected@file@percent } -\newlabel{129@xvr}{{}{183}} -\newlabel{129@vr}{{}{183}} -\newlabel{OpenModelica:dcmotor-loop}{{9.{3}}{183}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash loop.mo}{183}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{185}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{180}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{180}\protected@file@percent } +\newlabel{127@xvr}{{}{180}} +\newlabel{127@vr}{{}{180}} +\newlabel{OpenModelica:dcmotor-clock}{{9.{1}}{180}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{180}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{180}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{180}\protected@file@percent } +\newlabel{128@xvr}{{}{180}} +\newlabel{128@vr}{{}{180}} +\newlabel{OpenModelica:dcmotor-both}{{9.{2}}{180}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{181}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{3}}{}}{181}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{181}\protected@file@percent } +\newlabel{129@xvr}{{}{181}} +\newlabel{129@vr}{{}{181}} +\newlabel{OpenModelica:dcmotor-loop}{{9.{3}}{181}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash loop.mo}{181}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{183}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{sec:servo}{{10}{185}} -\@writefile{toc}{\contentsline {section}{\numberline {10.1}Preliminaries}{185}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{186}\protected@file@percent } -\newlabel{tab:servo-connect}{{10.1}{186}} -\@writefile{toc}{\contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{186}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.1}Controlling the Servometer}{186}\protected@file@percent } -\newlabel{sec:servo-ard}{{10.2.1}{186}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{1}}{}}{187}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{187}\protected@file@percent } -\newlabel{sec:servo-arduino-code}{{10.2.2}{187}} +\newlabel{sec:servo}{{10}{183}} +\@writefile{toc}{\contentsline {section}{\numberline {10.1}Preliminaries}{183}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{184}\protected@file@percent } +\newlabel{tab:servo-connect}{{10.1}{184}} +\@writefile{toc}{\contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{184}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.1}Controlling the Servometer}{184}\protected@file@percent } +\newlabel{sec:servo-ard}{{10.2.1}{184}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{1}}{}}{185}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{185}\protected@file@percent } +\newlabel{sec:servo-arduino-code}{{10.2.2}{185}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{187}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{187}\protected@file@percent } -\newlabel{130@xvr}{{}{187}} -\newlabel{130@vr}{{}{187}} -\newlabel{ard:servo-init}{{10.{1}}{187}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{187}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{188}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{188}\protected@file@percent } -\newlabel{131@xvr}{{}{188}} -\newlabel{131@vr}{{}{188}} -\newlabel{ard:servo-reverse}{{10.{2}}{188}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash reverse/servo\textendash reverse.ino}{188}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{188}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in increments}{188}\protected@file@percent } -\newlabel{132@xvr}{{}{188}} -\newlabel{132@vr}{{}{188}} -\newlabel{ard:servo-loop}{{10.{3}}{188}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash loop/servo\textendash loop.ino}{188}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{189}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{189}\protected@file@percent } -\newlabel{133@xvr}{{}{189}} -\newlabel{133@vr}{{}{189}} -\newlabel{ard:servo-pot}{{10.{4}}{189}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash pot/servo\textendash pot.ino}{189}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{189}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.1}Controlling the Servomotor}{189}\protected@file@percent } -\newlabel{sec:servo-sci}{{10.3.1}{189}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{189}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{190}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{190}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{190}\protected@file@percent } -\newlabel{sec:servo-scilab-code}{{10.3.2}{190}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{185}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{185}\protected@file@percent } +\newlabel{130@xvr}{{}{185}} +\newlabel{130@vr}{{}{185}} +\newlabel{ard:servo-init}{{10.{1}}{185}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{185}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{186}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{186}\protected@file@percent } +\newlabel{131@xvr}{{}{186}} +\newlabel{131@vr}{{}{186}} +\newlabel{ard:servo-reverse}{{10.{2}}{186}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash reverse/servo\textendash reverse.ino}{186}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{186}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in increments}{186}\protected@file@percent } +\newlabel{132@xvr}{{}{186}} +\newlabel{132@vr}{{}{186}} +\newlabel{ard:servo-loop}{{10.{3}}{186}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash loop/servo\textendash loop.ino}{186}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{187}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{187}\protected@file@percent } +\newlabel{133@xvr}{{}{187}} +\newlabel{133@vr}{{}{187}} +\newlabel{ard:servo-pot}{{10.{4}}{187}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash pot/servo\textendash pot.ino}{187}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{187}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.1}Controlling the Servomotor}{187}\protected@file@percent } +\newlabel{sec:servo-sci}{{10.3.1}{187}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{187}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{188}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{188}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{188}\protected@file@percent } +\newlabel{sec:servo-scilab-code}{{10.3.2}{188}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{190}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{190}\protected@file@percent } -\newlabel{134@xvr}{{}{190}} -\newlabel{134@vr}{{}{190}} -\newlabel{sci:servo-init}{{10.{1}}{190}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{190}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{190}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{190}\protected@file@percent } -\newlabel{135@xvr}{{}{190}} -\newlabel{135@vr}{{}{190}} -\newlabel{sci:servo-reverse}{{10.{2}}{190}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash reverse.sce}{191}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{191}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{191}\protected@file@percent } -\newlabel{136@xvr}{{}{191}} -\newlabel{136@vr}{{}{191}} -\newlabel{sci:servo-loop}{{10.{3}}{191}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash loop.sce}{191}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{191}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{191}\protected@file@percent } -\newlabel{137@xvr}{{}{191}} -\newlabel{137@vr}{{}{191}} -\newlabel{sci:servo-pot}{{10.{4}}{191}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{191}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{191}\protected@file@percent } -\newlabel{sec:servo-xcos}{{10.4}{191}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{192}\protected@file@percent } -\newlabel{139@xvr}{{}{192}} -\newlabel{139@vr}{{}{192}} -\newlabel{fig:servo-init}{{10.1}{192}} -\@writefile{lot}{\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{192}\protected@file@percent } -\newlabel{tab:servo-init}{{10.2}{192}} -\newlabel{140@xvr}{{}{192}} -\newlabel{140@vr}{{}{192}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{193}\protected@file@percent } -\newlabel{142@xvr}{{}{193}} -\newlabel{142@vr}{{}{193}} -\newlabel{fig:servo-reverse}{{10.2}{193}} -\@writefile{lot}{\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{194}\protected@file@percent } -\newlabel{tab:servo-reverse}{{10.3}{194}} -\newlabel{143@xvr}{{}{194}} -\newlabel{143@vr}{{}{194}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{194}\protected@file@percent } -\newlabel{145@xvr}{{}{194}} -\newlabel{145@vr}{{}{194}} -\newlabel{fig:servo-loop}{{10.3}{194}} -\@writefile{lot}{\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{195}\protected@file@percent } -\newlabel{tab:servo-loop}{{10.4}{195}} -\newlabel{146@xvr}{{}{195}} -\newlabel{146@vr}{{}{195}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{195}\protected@file@percent } -\newlabel{148@xvr}{{}{195}} -\newlabel{148@vr}{{}{195}} -\newlabel{fig:servo-pot}{{10.4}{195}} -\@writefile{lot}{\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{196}\protected@file@percent } -\newlabel{tab:servo-pot}{{10.5}{196}} -\newlabel{149@xvr}{{}{196}} -\newlabel{149@vr}{{}{196}} -\@writefile{toc}{\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{196}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{196}\protected@file@percent } -\newlabel{sec:servo-py}{{10.5.1}{196}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{196}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{197}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{197}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.2}Python Code}{197}\protected@file@percent } -\newlabel{sec:servo-python-code}{{10.5.2}{197}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{188}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{188}\protected@file@percent } +\newlabel{134@xvr}{{}{188}} +\newlabel{134@vr}{{}{188}} +\newlabel{sci:servo-init}{{10.{1}}{188}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{188}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{188}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{188}\protected@file@percent } +\newlabel{135@xvr}{{}{188}} +\newlabel{135@vr}{{}{188}} +\newlabel{sci:servo-reverse}{{10.{2}}{188}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash reverse.sce}{189}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{189}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{189}\protected@file@percent } +\newlabel{136@xvr}{{}{189}} +\newlabel{136@vr}{{}{189}} +\newlabel{sci:servo-loop}{{10.{3}}{189}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash loop.sce}{189}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{189}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{189}\protected@file@percent } +\newlabel{137@xvr}{{}{189}} +\newlabel{137@vr}{{}{189}} +\newlabel{sci:servo-pot}{{10.{4}}{189}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{189}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{189}\protected@file@percent } +\newlabel{sec:servo-xcos}{{10.4}{189}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{190}\protected@file@percent } +\newlabel{139@xvr}{{}{190}} +\newlabel{139@vr}{{}{190}} +\newlabel{fig:servo-init}{{10.1}{190}} +\@writefile{lot}{\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{190}\protected@file@percent } +\newlabel{tab:servo-init}{{10.2}{190}} +\newlabel{140@xvr}{{}{190}} +\newlabel{140@vr}{{}{190}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{191}\protected@file@percent } +\newlabel{142@xvr}{{}{191}} +\newlabel{142@vr}{{}{191}} +\newlabel{fig:servo-reverse}{{10.2}{191}} +\@writefile{lot}{\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{192}\protected@file@percent } +\newlabel{tab:servo-reverse}{{10.3}{192}} +\newlabel{143@xvr}{{}{192}} +\newlabel{143@vr}{{}{192}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{192}\protected@file@percent } +\newlabel{145@xvr}{{}{192}} +\newlabel{145@vr}{{}{192}} +\newlabel{fig:servo-loop}{{10.3}{192}} +\@writefile{lot}{\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{193}\protected@file@percent } +\newlabel{tab:servo-loop}{{10.4}{193}} +\newlabel{146@xvr}{{}{193}} +\newlabel{146@vr}{{}{193}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{193}\protected@file@percent } +\newlabel{148@xvr}{{}{193}} +\newlabel{148@vr}{{}{193}} +\newlabel{fig:servo-pot}{{10.4}{193}} +\@writefile{lot}{\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{194}\protected@file@percent } +\newlabel{tab:servo-pot}{{10.5}{194}} +\newlabel{149@xvr}{{}{194}} +\newlabel{149@vr}{{}{194}} +\@writefile{toc}{\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{194}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{194}\protected@file@percent } +\newlabel{sec:servo-py}{{10.5.1}{194}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{194}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{195}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{195}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.2}Python Code}{195}\protected@file@percent } +\newlabel{sec:servo-python-code}{{10.5.2}{195}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{1}}{}}{197}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{197}\protected@file@percent } -\newlabel{150@xvr}{{}{197}} -\newlabel{150@vr}{{}{197}} -\newlabel{py:servo-init}{{10.{1}}{197}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{197}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{2}}{}}{198}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{198}\protected@file@percent } -\newlabel{151@xvr}{{}{198}} -\newlabel{151@vr}{{}{198}} -\newlabel{py:servo-reverse}{{10.{2}}{198}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash reverse.py}{198}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{3}}{}}{199}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{199}\protected@file@percent } -\newlabel{152@xvr}{{}{199}} -\newlabel{152@vr}{{}{199}} -\newlabel{sci:servo-loop}{{10.{3}}{199}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash loop.py}{199}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{4}}{}}{200}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{200}\protected@file@percent } -\newlabel{153@xvr}{{}{200}} -\newlabel{153@vr}{{}{200}} -\newlabel{py:servo-pot}{{10.{4}}{200}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{200}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{201}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.1}Controlling the Servomotor}{201}\protected@file@percent } -\newlabel{sec:servo-julia}{{10.6.1}{201}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{201}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{202}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{202}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.2}Julia Code}{202}\protected@file@percent } -\newlabel{sec:servo-julia-code}{{10.6.2}{202}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{1}}{}}{195}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{195}\protected@file@percent } +\newlabel{150@xvr}{{}{195}} +\newlabel{150@vr}{{}{195}} +\newlabel{py:servo-init}{{10.{1}}{195}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{195}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{2}}{}}{196}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{196}\protected@file@percent } +\newlabel{151@xvr}{{}{196}} +\newlabel{151@vr}{{}{196}} +\newlabel{py:servo-reverse}{{10.{2}}{196}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash reverse.py}{196}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{3}}{}}{197}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{197}\protected@file@percent } +\newlabel{152@xvr}{{}{197}} +\newlabel{152@vr}{{}{197}} +\newlabel{sci:servo-loop}{{10.{3}}{197}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash loop.py}{197}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{4}}{}}{198}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{198}\protected@file@percent } +\newlabel{153@xvr}{{}{198}} +\newlabel{153@vr}{{}{198}} +\newlabel{py:servo-pot}{{10.{4}}{198}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{198}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{199}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.1}Controlling the Servomotor}{199}\protected@file@percent } +\newlabel{sec:servo-julia}{{10.6.1}{199}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{199}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{200}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{200}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.2}Julia Code}{200}\protected@file@percent } +\newlabel{sec:servo-julia-code}{{10.6.2}{200}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{202}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{202}\protected@file@percent } -\newlabel{154@xvr}{{}{202}} -\newlabel{154@vr}{{}{202}} -\newlabel{julia:servo-init}{{10.{1}}{202}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{202}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{202}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{202}\protected@file@percent } -\newlabel{155@xvr}{{}{202}} -\newlabel{155@vr}{{}{202}} -\newlabel{julia:servo-reverse}{{10.{2}}{202}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash reverse.jl}{202}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{203}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{203}\protected@file@percent } -\newlabel{156@xvr}{{}{203}} -\newlabel{156@vr}{{}{203}} -\newlabel{julia:servo-loop}{{10.{3}}{203}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash loop.jl}{203}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{203}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{203}\protected@file@percent } -\newlabel{157@xvr}{{}{203}} -\newlabel{157@vr}{{}{203}} -\newlabel{julia:servo-pot}{{10.{4}}{203}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{203}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{203}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.1}Controlling the Servomotor}{203}\protected@file@percent } -\newlabel{sec:servo-OpenModelica}{{10.7.1}{203}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{204}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{204}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{204}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{204}\protected@file@percent } -\newlabel{sec:servo-OpenModelica-code}{{10.7.2}{204}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{200}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{200}\protected@file@percent } +\newlabel{154@xvr}{{}{200}} +\newlabel{154@vr}{{}{200}} +\newlabel{julia:servo-init}{{10.{1}}{200}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{200}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{200}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{200}\protected@file@percent } +\newlabel{155@xvr}{{}{200}} +\newlabel{155@vr}{{}{200}} +\newlabel{julia:servo-reverse}{{10.{2}}{200}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash reverse.jl}{200}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{201}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{201}\protected@file@percent } +\newlabel{156@xvr}{{}{201}} +\newlabel{156@vr}{{}{201}} +\newlabel{julia:servo-loop}{{10.{3}}{201}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash loop.jl}{201}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{201}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{201}\protected@file@percent } +\newlabel{157@xvr}{{}{201}} +\newlabel{157@vr}{{}{201}} +\newlabel{julia:servo-pot}{{10.{4}}{201}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{201}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{201}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.1}Controlling the Servomotor}{201}\protected@file@percent } +\newlabel{sec:servo-OpenModelica}{{10.7.1}{201}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{202}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{202}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{202}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{202}\protected@file@percent } +\newlabel{sec:servo-OpenModelica-code}{{10.7.2}{202}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{204}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{204}\protected@file@percent } -\newlabel{158@xvr}{{}{204}} -\newlabel{158@vr}{{}{204}} -\newlabel{OpenModelica:servo-init}{{10.{1}}{204}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{204}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{205}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{205}\protected@file@percent } -\newlabel{159@xvr}{{}{205}} -\newlabel{159@vr}{{}{205}} -\newlabel{OpenModelica:servo-reverse}{{10.{2}}{205}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash reverse.mo}{205}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{206}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{206}\protected@file@percent } -\newlabel{160@xvr}{{}{206}} -\newlabel{160@vr}{{}{206}} -\newlabel{OpenModelica:servo-loop}{{10.{3}}{206}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash loop.mo}{206}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{206}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{206}\protected@file@percent } -\newlabel{161@xvr}{{}{206}} -\newlabel{161@vr}{{}{206}} -\newlabel{OpenModelica:servo-pot}{{10.{4}}{206}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{207}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{209}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{202}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{202}\protected@file@percent } +\newlabel{158@xvr}{{}{202}} +\newlabel{158@vr}{{}{202}} +\newlabel{OpenModelica:servo-init}{{10.{1}}{202}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{202}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{203}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{203}\protected@file@percent } +\newlabel{159@xvr}{{}{203}} +\newlabel{159@vr}{{}{203}} +\newlabel{OpenModelica:servo-reverse}{{10.{2}}{203}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash reverse.mo}{203}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{204}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{204}\protected@file@percent } +\newlabel{160@xvr}{{}{204}} +\newlabel{160@vr}{{}{204}} +\newlabel{OpenModelica:servo-loop}{{10.{3}}{204}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash loop.mo}{204}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{204}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{204}\protected@file@percent } +\newlabel{161@xvr}{{}{204}} +\newlabel{161@vr}{{}{204}} +\newlabel{OpenModelica:servo-pot}{{10.{4}}{204}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{205}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{207}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{modbus}{{11}{209}} -\@writefile{toc}{\contentsline {section}{\numberline {11.1}Preliminaries}{209}\protected@file@percent } -\newlabel{fig:mod-block}{{\caption@xref {fig:mod-block}{ on input line 72}}{210}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{210}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.2}{\ignorespaces Master-Slave Query-Response Cycle\relax }}{210}\protected@file@percent } -\newlabel{fig:mod-master-slave}{{11.2}{210}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{211}\protected@file@percent } -\newlabel{fig:rs-485}{{11.3}{211}} -\@writefile{lot}{\contentsline {table}{\numberline {11.1}{\ignorespaces Interpretation of a request packet\relax }}{212}\protected@file@percent } -\newlabel{tab:request-packet}{{11.1}{212}} -\@writefile{lot}{\contentsline {table}{\numberline {11.2}{\ignorespaces Interpretation of a response packet\relax }}{212}\protected@file@percent } -\newlabel{tab:response-packet}{{11.2}{212}} -\@writefile{lot}{\contentsline {table}{\numberline {11.3}{\ignorespaces Hexadecimal to Decimal\relax }}{213}\protected@file@percent } -\newlabel{tab:ieee-decimal}{{11.3}{213}} -\@writefile{lot}{\contentsline {table}{\numberline {11.4}{\ignorespaces Single and Double Precision Representation\relax }}{213}\protected@file@percent } -\newlabel{tab:single-precision}{{11.4}{213}} -\@writefile{toc}{\contentsline {section}{\numberline {11.2}Objective}{214}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {11.3}Energy Meter set up for Modbus protocol with Arduino Uno}{214}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.4}{\ignorespaces MODBUS Set Up for Energy Meter\relax }}{215}\protected@file@percent } -\newlabel{fig:full-set-up}{{11.4}{215}} -\@writefile{toc}{\contentsline {section}{\numberline {11.4}Software}{215}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.5}{\ignorespaces Block Diagram for Energy Meter Setup\relax }}{216}\protected@file@percent } -\newlabel{fig:block-diagram}{{11.5}{216}} -\@writefile{toc}{\contentsline {section}{\numberline {11.5}Output}{216}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{217}\protected@file@percent } -\newlabel{fig:modbus-firmware}{{11.6}{217}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.7}{\ignorespaces Flow Chart of the Modbus Energy Meter Implementation\relax }}{218}\protected@file@percent } -\newlabel{fig:flow-chart}{{11.7}{218}} -\@writefile{toc}{\contentsline {section}{\numberline {11.6}Reading Parameters from Xcos}{218}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.8}{\ignorespaces Single Phase Current Output on Scilab Console\relax }}{219}\protected@file@percent } -\newlabel{fig:current-console}{{11.8}{219}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.9}{\ignorespaces Single Phase Current Output on Energy Meter\relax }}{219}\protected@file@percent } -\newlabel{fig:current-meter}{{11.9}{219}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.10}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{220}\protected@file@percent } -\newlabel{fig:voltage-console}{{11.10}{220}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.11}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{220}\protected@file@percent } -\newlabel{fig:voltage-meter}{{11.11}{220}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.12}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{221}\protected@file@percent } -\newlabel{fig:power-console}{{11.12}{221}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.13}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{221}\protected@file@percent } -\newlabel{fig:power-meter}{{11.13}{221}} -\@writefile{toc}{\contentsline {section}{\numberline {11.7}Code}{221}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.1}Arduino Code}{221}\protected@file@percent } -\newlabel{sec:firmware-modbus}{{11.7.1}{221}} +\newlabel{modbus}{{11}{207}} +\@writefile{toc}{\contentsline {section}{\numberline {11.1}Preliminaries}{207}\protected@file@percent } +\newlabel{fig:mod-block}{{\caption@xref {fig:mod-block}{ on input line 72}}{208}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{208}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.2}{\ignorespaces Master-Slave Query-Response Cycle\relax }}{208}\protected@file@percent } +\newlabel{fig:mod-master-slave}{{11.2}{208}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{209}\protected@file@percent } +\newlabel{fig:rs-485}{{11.3}{209}} +\@writefile{lot}{\contentsline {table}{\numberline {11.1}{\ignorespaces Interpretation of a request packet\relax }}{210}\protected@file@percent } +\newlabel{tab:request-packet}{{11.1}{210}} +\@writefile{lot}{\contentsline {table}{\numberline {11.2}{\ignorespaces Interpretation of a response packet\relax }}{210}\protected@file@percent } +\newlabel{tab:response-packet}{{11.2}{210}} +\@writefile{lot}{\contentsline {table}{\numberline {11.3}{\ignorespaces Hexadecimal to Decimal\relax }}{211}\protected@file@percent } +\newlabel{tab:ieee-decimal}{{11.3}{211}} +\@writefile{lot}{\contentsline {table}{\numberline {11.4}{\ignorespaces Single and Double Precision Representation\relax }}{211}\protected@file@percent } +\newlabel{tab:single-precision}{{11.4}{211}} +\@writefile{toc}{\contentsline {section}{\numberline {11.2}Objective}{212}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.3}Energy Meter set up for Modbus protocol with Arduino Uno}{212}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.4}{\ignorespaces MODBUS Set Up for Energy Meter\relax }}{213}\protected@file@percent } +\newlabel{fig:full-set-up}{{11.4}{213}} +\@writefile{toc}{\contentsline {section}{\numberline {11.4}Software}{213}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.5}{\ignorespaces Block Diagram for Energy Meter Setup\relax }}{214}\protected@file@percent } +\newlabel{fig:block-diagram}{{11.5}{214}} +\@writefile{toc}{\contentsline {section}{\numberline {11.5}Output}{214}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{215}\protected@file@percent } +\newlabel{fig:modbus-firmware}{{11.6}{215}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.7}{\ignorespaces Flow Chart of the Modbus Energy Meter Implementation\relax }}{216}\protected@file@percent } +\newlabel{fig:flow-chart}{{11.7}{216}} +\@writefile{toc}{\contentsline {section}{\numberline {11.6}Reading Parameters from Xcos}{216}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.8}{\ignorespaces Single Phase Current Output on Scilab Console\relax }}{217}\protected@file@percent } +\newlabel{fig:current-console}{{11.8}{217}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.9}{\ignorespaces Single Phase Current Output on Energy Meter\relax }}{217}\protected@file@percent } +\newlabel{fig:current-meter}{{11.9}{217}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.10}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{218}\protected@file@percent } +\newlabel{fig:voltage-console}{{11.10}{218}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.11}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{218}\protected@file@percent } +\newlabel{fig:voltage-meter}{{11.11}{218}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.12}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{219}\protected@file@percent } +\newlabel{fig:power-console}{{11.12}{219}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.13}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{219}\protected@file@percent } +\newlabel{fig:power-meter}{{11.13}{219}} +\@writefile{toc}{\contentsline {section}{\numberline {11.7}Code}{219}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.1}Arduino Code}{219}\protected@file@percent } +\newlabel{sec:firmware-modbus}{{11.7.1}{219}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{221}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{221}\protected@file@percent } -\newlabel{164@xvr}{{}{221}} -\newlabel{164@vr}{{}{221}} -\newlabel{ard:firmware-modbus}{{11.{1}}{221}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/arduino/send\textunderscore packet.ino}{221}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{222}\protected@file@percent } -\newlabel{163@xvr}{{}{222}} -\newlabel{163@vr}{{}{222}} -\newlabel{fig:mod-read}{{11.14}{222}} -\@writefile{lot}{\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{222}\protected@file@percent } -\newlabel{tab:mod-xcos-read}{{11.5}{222}} -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.2}Scilab Code}{223}\protected@file@percent } -\newlabel{sec:modbus-scilab-code}{{11.7.2}{223}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{219}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{219}\protected@file@percent } +\newlabel{164@xvr}{{}{219}} +\newlabel{164@vr}{{}{219}} +\newlabel{ard:firmware-modbus}{{11.{1}}{219}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/arduino/send\textunderscore packet.ino}{219}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{220}\protected@file@percent } +\newlabel{163@xvr}{{}{220}} +\newlabel{163@vr}{{}{220}} +\newlabel{fig:mod-read}{{11.14}{220}} +\@writefile{lot}{\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{220}\protected@file@percent } +\newlabel{tab:mod-xcos-read}{{11.5}{220}} +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.2}Scilab Code}{221}\protected@file@percent } +\newlabel{sec:modbus-scilab-code}{{11.7.2}{221}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{223}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{223}\protected@file@percent } -\newlabel{165@xvr}{{}{223}} -\newlabel{165@vr}{{}{223}} -\newlabel{sci:current-modbus}{{11.{1}}{223}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore val.sce}{223}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{223}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{223}\protected@file@percent } -\newlabel{166@xvr}{{}{223}} -\newlabel{166@vr}{{}{223}} -\newlabel{sci:current-modbus}{{11.{2}}{223}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore current.sci}{223}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{223}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{223}\protected@file@percent } -\newlabel{167@xvr}{{}{223}} -\newlabel{167@vr}{{}{223}} -\newlabel{sci:voltage-modbus}{{11.{3}}{223}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore voltage.sci}{223}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{224}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{224}\protected@file@percent } -\newlabel{168@xvr}{{}{224}} -\newlabel{168@vr}{{}{224}} -\newlabel{sci:modbus-power}{{11.{4}}{224}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore active\textunderscore power.sci}{224}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.3}Python Code}{224}\protected@file@percent } -\newlabel{sec:modbus-python-code}{{11.7.3}{224}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{221}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{221}\protected@file@percent } +\newlabel{165@xvr}{{}{221}} +\newlabel{165@vr}{{}{221}} +\newlabel{sci:current-modbus}{{11.{1}}{221}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore val.sce}{221}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{221}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{221}\protected@file@percent } +\newlabel{166@xvr}{{}{221}} +\newlabel{166@vr}{{}{221}} +\newlabel{sci:current-modbus}{{11.{2}}{221}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore current.sci}{221}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{221}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{221}\protected@file@percent } +\newlabel{167@xvr}{{}{221}} +\newlabel{167@vr}{{}{221}} +\newlabel{sci:voltage-modbus}{{11.{3}}{221}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore voltage.sci}{221}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{222}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{222}\protected@file@percent } +\newlabel{168@xvr}{{}{222}} +\newlabel{168@vr}{{}{222}} +\newlabel{sci:modbus-power}{{11.{4}}{222}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore active\textunderscore power.sci}{222}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.3}Python Code}{222}\protected@file@percent } +\newlabel{sec:modbus-python-code}{{11.7.3}{222}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{1}}{}}{224}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{224}\protected@file@percent } -\newlabel{169@xvr}{{}{224}} -\newlabel{169@vr}{{}{224}} -\newlabel{py:current-modbus}{{11.{1}}{224}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore current.py}{224}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{2}}{}}{224}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{224}\protected@file@percent } -\newlabel{170@xvr}{{}{224}} -\newlabel{170@vr}{{}{224}} -\newlabel{py:voltage-modbus}{{11.{2}}{224}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore voltage.py}{224}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{3}}{}}{225}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{225}\protected@file@percent } -\newlabel{171@xvr}{{}{225}} -\newlabel{171@vr}{{}{225}} -\newlabel{py:modbus-power}{{11.{3}}{225}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore active\textunderscore power.py}{225}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.4}Julia Code}{225}\protected@file@percent } -\newlabel{sec:modbus-julia-code}{{11.7.4}{225}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{1}}{}}{222}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{222}\protected@file@percent } +\newlabel{169@xvr}{{}{222}} +\newlabel{169@vr}{{}{222}} +\newlabel{py:current-modbus}{{11.{1}}{222}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore current.py}{222}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{2}}{}}{222}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{222}\protected@file@percent } +\newlabel{170@xvr}{{}{222}} +\newlabel{170@vr}{{}{222}} +\newlabel{py:voltage-modbus}{{11.{2}}{222}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore voltage.py}{222}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{3}}{}}{223}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{223}\protected@file@percent } +\newlabel{171@xvr}{{}{223}} +\newlabel{171@vr}{{}{223}} +\newlabel{py:modbus-power}{{11.{3}}{223}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore active\textunderscore power.py}{223}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.4}Julia Code}{223}\protected@file@percent } +\newlabel{sec:modbus-julia-code}{{11.7.4}{223}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{225}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{225}\protected@file@percent } -\newlabel{172@xvr}{{}{225}} -\newlabel{172@vr}{{}{225}} -\newlabel{julia:current-modbus}{{11.{1}}{225}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readCurrent.jl}{225}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{225}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{225}\protected@file@percent } -\newlabel{173@xvr}{{}{225}} -\newlabel{173@vr}{{}{225}} -\newlabel{julia:voltage-modbus}{{11.{2}}{225}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readVoltage.jl}{225}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{226}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{226}\protected@file@percent } -\newlabel{174@xvr}{{}{226}} -\newlabel{174@vr}{{}{226}} -\newlabel{julia:modbus-power}{{11.{3}}{226}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readPower.jl}{226}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{226}\protected@file@percent } -\newlabel{sec:modbus-OpenModelica-code}{{11.7.5}{226}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{223}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{223}\protected@file@percent } +\newlabel{172@xvr}{{}{223}} +\newlabel{172@vr}{{}{223}} +\newlabel{julia:current-modbus}{{11.{1}}{223}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readCurrent.jl}{223}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{223}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{223}\protected@file@percent } +\newlabel{173@xvr}{{}{223}} +\newlabel{173@vr}{{}{223}} +\newlabel{julia:voltage-modbus}{{11.{2}}{223}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readVoltage.jl}{223}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{224}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{224}\protected@file@percent } +\newlabel{174@xvr}{{}{224}} +\newlabel{174@vr}{{}{224}} +\newlabel{julia:modbus-power}{{11.{3}}{224}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readPower.jl}{224}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{224}\protected@file@percent } +\newlabel{sec:modbus-OpenModelica-code}{{11.7.5}{224}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{226}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{226}\protected@file@percent } -\newlabel{175@xvr}{{}{226}} -\newlabel{175@vr}{{}{226}} -\newlabel{OpenModelica:current-modbus}{{11.{1}}{226}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readCurrent.mo}{226}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{226}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{226}\protected@file@percent } -\newlabel{176@xvr}{{}{226}} -\newlabel{176@vr}{{}{226}} -\newlabel{OpenModelica:voltage-modbus}{{11.{2}}{226}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readVoltage.mo}{226}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{224}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{224}\protected@file@percent } +\newlabel{175@xvr}{{}{224}} +\newlabel{175@vr}{{}{224}} +\newlabel{OpenModelica:current-modbus}{{11.{1}}{224}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readCurrent.mo}{224}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{224}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{224}\protected@file@percent } +\newlabel{176@xvr}{{}{224}} +\newlabel{176@vr}{{}{224}} +\newlabel{OpenModelica:voltage-modbus}{{11.{2}}{224}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readVoltage.mo}{224}\protected@file@percent } \bibdata{bibliography.bib} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{227}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{227}\protected@file@percent } -\newlabel{177@xvr}{{}{227}} -\newlabel{177@vr}{{}{227}} -\newlabel{OpenModelica:modbus-power}{{11.{3}}{227}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readPower.mo}{227}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{225}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{225}\protected@file@percent } +\newlabel{177@xvr}{{}{225}} +\newlabel{177@vr}{{}{225}} +\newlabel{OpenModelica:modbus-power}{{11.{3}}{225}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readPower.mo}{225}\protected@file@percent } \bibcite{CNES-Scilab}{1} \bibcite{scilab-arduino}{2} \bibcite{oshw-ref}{3} @@ -1560,7 +1558,7 @@ \bibcite{scilab-ref}{12} \bibcite{scilab-interop}{13} \bibcite{xcos-ref}{14} -\@writefile{toc}{\contentsline {chapter}{\numberline {References}}{229}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {References}}{227}\protected@file@percent } \bibcite{python-ref}{15} \bibcite{pySerial}{16} \bibcite{julia-ref}{17} diff --git a/floss-arduino.cod b/floss-arduino.cod index 641ba73..25879db 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}{36}% +\contentsline {section}{\numberline {3.{1}}A Scilab code to check whether the firmware is properly installed or not}{34}% \addvspace {10pt} \addvspace {10pt} \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the LED through Scilab}{77}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{77}% -\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{78}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{78}% +\contentsline {section}{\numberline {4.{1}}Turning on the LED through Scilab}{75}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{75}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{76}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{76}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{103}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{103}% +\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}{101}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{119}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{120}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{117}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{118}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{136}% +\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{134}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{152}% -\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{152}% +\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{150}% +\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{150}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{171}% -\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{171}% -\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{171}% +\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{169}% +\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{169}% +\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{169}% \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}{188}% +\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{188}% +\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{189}% +\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{189}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{223}% -\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{223}% -\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{223}% -\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{224}% +\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{221}% +\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{221}% +\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{221}% +\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{222}% diff --git a/floss-arduino.fdb_latexmk b/floss-arduino.fdb_latexmk index aac633b..85e0a4b 100644 --- a/floss-arduino.fdb_latexmk +++ b/floss-arduino.fdb_latexmk @@ -1,19 +1,19 @@ # Fdb version 3 -["bibtex floss-arduino"] 1619674906 "floss-arduino.aux" "floss-arduino.bbl" "floss-arduino" 1619675949 +["bibtex floss-arduino"] 1619681285 "floss-arduino.aux" "floss-arduino.bbl" "floss-arduino" 1619681791 "/usr/share/texlive/texmf-dist/bibtex/bst/base/unsrt.bst" 1292289607 18030 1376b4b231b50c66211e47e42eda2875 "" "bibliography.bib" 1619058609 4121 e0d02327e4bb995867623cd1f708046e "" - "floss-arduino.aux" 1619675611 133477 c13c32d352b7fa40123b0235037b65b4 "pdflatex" + "floss-arduino.aux" 1619681467 133293 7183037fdc2f48e21c81f000d29cdd73 "pdflatex" (generated) - "floss-arduino.bbl" "floss-arduino.blg" -["makeindex floss-arduino.idx"] 1619674264 "floss-arduino.idx" "floss-arduino.ind" "floss-arduino" 1619675949 - "floss-arduino.idx" 1619675611 187 127d22f171683959438710553c1aeb57 "pdflatex" + "floss-arduino.bbl" +["makeindex floss-arduino.idx"] 1619681217 "floss-arduino.idx" "floss-arduino.ind" "floss-arduino" 1619681791 + "floss-arduino.idx" 1619681467 187 9374babcab6e650ef029e1d90c8aca3a "pdflatex" (generated) "floss-arduino.ind" "floss-arduino.ilg" -["pdflatex"] 1619675603 "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" "floss-arduino" 1619675949 +["pdflatex"] 1619681459 "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" "floss-arduino" 1619681791 "/etc/texmf/web2c/texmf.cnf" 1602253014 475 c0e671620eb5563b2130f56340a5fde8 "" - "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.aux" 1619675611 133477 c13c32d352b7fa40123b0235037b65b4 "" + "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.aux" 1619681467 133293 7183037fdc2f48e21c81f000d29cdd73 "" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" 1619403261 4558 99e8133d713ce68a01e2f2b59b0d6baf "" "/usr/share/texlive/texmf-dist/fonts/enc/dvips/base/8r.enc" 1165713224 4850 80dc9bab7f31fb78a000ccfed0e27cab "" "/usr/share/texlive/texmf-dist/fonts/map/fontname/texfonts.map" 1577235249 3524 cb3e574dea2d1052e39280babc910dc8 "" @@ -138,18 +138,18 @@ "/usr/share/texmf/web2c/texmf.cnf" 1581979058 38841 ce3692aa899bb693b90b87eaa5d4d84e "" "/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map" 1604540077 4770781 1ed1abab22da9c3e2cc82e4db562318b "" "/var/lib/texmf/web2c/pdftex/pdflatex.fmt" 1604540101 8258883 e8330f8aa4fe7c6cdcf08bf0b72237fd "" - "floss-arduino.OpenModelicad" 1619675611 2299 89eee2271cf7b6651bb4ffc3b6e57071 "pdflatex" - "floss-arduino.ard" 1619675611 2084 6bad0e124799c33541dc2b8409055e82 "pdflatex" - "floss-arduino.aux" 1619675611 133477 c13c32d352b7fa40123b0235037b65b4 "pdflatex" - "floss-arduino.bbl" 1619674906 2654 051fbb0ca9f90e7ce7d2577998098d98 "bibtex floss-arduino" - "floss-arduino.cod" 1619675611 2527 f3b2244ff032ebce91381284aaa5aaa3 "pdflatex" - "floss-arduino.ind" 1619674264 228 406d6b8e82a74b8f88d07279eacd2e35 "makeindex floss-arduino.idx" - "floss-arduino.juliad" 1619675611 2320 c70b6baf76ef5bc16ca500c45852fa10 "pdflatex" - "floss-arduino.lof" 1619675611 13142 4b96ebb01c777be59117c6dfd7be482f "pdflatex" - "floss-arduino.lot" 1619675611 3702 f2a1f5c0b1c8ea14ff4cfe4ae4542a36 "pdflatex" - "floss-arduino.pyd" 1619675611 2332 c5208dff91448c4eea3e3ffebb6bf647 "pdflatex" + "floss-arduino.OpenModelicad" 1619681467 2304 6fc0f2d9a5bfe4d2f2f6e643e8c9efdb "pdflatex" + "floss-arduino.ard" 1619681467 2082 af0344a36cf6a45a34513b17b6bef8a2 "pdflatex" + "floss-arduino.aux" 1619681467 133293 7183037fdc2f48e21c81f000d29cdd73 "pdflatex" + "floss-arduino.bbl" 1619681285 2654 051fbb0ca9f90e7ce7d2577998098d98 "bibtex floss-arduino" + "floss-arduino.cod" 1619681467 2527 15dd4dd29d7bac8bfe55f0a40e6ce5b1 "pdflatex" + "floss-arduino.ind" 1619681217 228 3aecfe8fd246b3bf714259f6bf61b4ba "makeindex floss-arduino.idx" + "floss-arduino.juliad" 1619681467 2320 5d26a83b1c8d8c5c2d78232a10fa3269 "pdflatex" + "floss-arduino.lof" 1619681467 13046 217b151cf1f8ae7de9ef7e98b96f0084 "pdflatex" + "floss-arduino.lot" 1619681467 3702 2c6430ab9e432e80b4c95a4b7df7910a "pdflatex" + "floss-arduino.pyd" 1619681467 2332 23d6af16ed1ec085e2f55c4cabf0c79b "pdflatex" "floss-arduino.tex" 1619403261 4558 99e8133d713ce68a01e2f2b59b0d6baf "" - "floss-arduino.toc" 1619675611 15542 cdf96d287f44222c7cc31ea895beb509 "pdflatex" + "floss-arduino.toc" 1619681467 15539 b9162722c42982a88ee0c09c851f74fe "pdflatex" "suppl/acr.tex" 1615963613 1926 fd6481c4666ee0d60331b7d4cc24b645 "" "suppl/intro.tex" 1615963613 3437 b09628cf9e20fe17fa65b37a5997653c "" "suppl/styles.tex" 1615963613 8143 aa3280f0b59c8631fe8ec44895c9e871 "" @@ -215,7 +215,7 @@ "user-code/ldr/python/ldr-read.py" 1567596692 686 16e0ee2162e2f212ba41d2c9d491f534 "" "user-code/ldr/scilab/ldr-led.sce" 1615963614 444 0895e89b3e22312736acf271c6315dea "" "user-code/ldr/scilab/ldr-read.sce" 1615963614 365 2baf1b4875c7cad242e65a3708abc113 "" - "user-code/led/OpenModelica/led-blue-delay.mo" 1619402012 1038 e68c66c652fb55ef6e6e7826db23784a "" + "user-code/led/OpenModelica/led-blue-delay.mo" 1619681460 971 14e962d372f69cf70983a8161d05a424 "" "user-code/led/OpenModelica/led-blue-red.mo" 1619402018 1153 936d3de74c2858225d14f194e8dad81b "" "user-code/led/OpenModelica/led-blue.mo" 1619664517 797 637792619e79706e15fa30426a6fb517 "" "user-code/led/OpenModelica/led-green-blink.mo" 1619402026 1092 2cf4b168f1de4b87c38b18892c3a5e35 "" @@ -223,7 +223,7 @@ "user-code/led/arduino/led-blue-red/led-blue-red.ino" 1619653892 215 db5fdea678579e2b65dbcaddcca033c6 "" "user-code/led/arduino/led-blue/led-blue.ino" 1619653669 99 25f30fcd7cc7d7b6b9aa222deff00437 "" "user-code/led/arduino/led-green-blink/led-green-blink.ino" 1619653924 375 d859b4f26e521d4c1afe19f92c8a1ebe "" - "user-code/led/figures/arduino-shield.JPG" 1615963614 6411797 2af753c9693c789bfeac0924e48d8062 "" + "user-code/led/figures/arduino-new-shield.jpeg" 1619681259 404878 627d5ed86bf3271cb2aed2af239e8339 "" "user-code/led/figures/led-blue-delay.png" 1615963614 24224 74fb9d7d47c0e80095ffd6941b94d7ed "" "user-code/led/figures/led-blue-red.png" 1615963614 33412 93a5fd2d5f2d8434e507136db11da0fc "" "user-code/led/figures/led-blue.png" 1615963614 25771 86ba836f30d36f9a400f5980eb7e74c0 "" @@ -236,7 +236,7 @@ "user-code/led/julia/led-blue-red.jl" 1617923932 320 02d5d14ebbd49cd33b25a9828492945c "" "user-code/led/julia/led-blue.jl" 1619662025 170 c9cc13e4fb6e898855537bb9e1f2a787 "" "user-code/led/julia/led-green-blink.jl" 1619663087 249 d785472e844af87c34e32322ccb211e2 "" - "user-code/led/led.tex" 1619675949 46886 06bfa7a5ec243765f9446b7dd1d08158 "" + "user-code/led/led.tex" 1619681791 46896 b841999ef2d70a21a27ac1f7a5be4306 "" "user-code/led/python/led-blue-delay.py" 1619660150 805 9c5bde89850fc3b25ced778dfafe1dcf "" "user-code/led/python/led-blue-red.py" 1619660175 1039 339cefbe997737f931646cba049b8d12 "" "user-code/led/python/led-blue.py" 1619658381 723 be6248a455119500e6930030c0c92250 "" @@ -330,7 +330,6 @@ "user-code/sw-env/figures/arduino-palette.png" 1615963614 10751 8229db142816e63c5b5761df7ebf0e33 "" "user-code/sw-env/figures/browse-directory.png" 1615963614 30302 e7161778e4b66145020832ffda95f16b "" "user-code/sw-env/figures/builder.png" 1615963614 62847 a945d2601d325541677f819dda7ee305 "" - "user-code/sw-env/figures/change-directory.png" 1615963614 64189 616277a190f8052d7c32b3d0c86410c0 "" "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 "" @@ -365,7 +364,7 @@ "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" 1619663671 91043 a59d8a3e5595ba95d1262f4180baa1f8 "" + "user-code/sw-env/sw-env.tex" 1619681092 91312 79779bbe76e3404b4b83d6f80a4e9d20 "" "user-code/thermistor/OpenModelica/therm-buzzer.mo" 1619403721 1236 1f7c67893d838969538060ecfe0ab777 "" "user-code/thermistor/OpenModelica/therm-read.mo" 1619403730 992 a6a3e7a260be69141ff1a6be804a9ae5 "" "user-code/thermistor/arduino/therm-buzzer/therm-buzzer.ino" 1615963614 389 c4216c80dfb4f1f23b090c94fd181a05 "" @@ -388,18 +387,18 @@ "user-code/thermistor/scilab/therm-read.sce" 1615963614 382 5e743c25b50f9d961a2939ce81d7b633 "" "user-code/thermistor/thermistor.tex" 1618567312 25838 1f7c3824e3c28084af6bca0235c3226f "" (generated) - "floss-arduino.aux" - "floss-arduino.pyd" + "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.log" "floss-arduino.juliad" - "floss-arduino.pdf" + "floss-arduino.pyd" + "floss-arduino.ard" + "floss-arduino.log" + "floss-arduino.lof" "floss-arduino.thm" - "floss-arduino.idx" "floss-arduino.cod" - "floss-arduino.ard" - "floss-arduino.toc" "floss-arduino.lot" - "floss-arduino.lof" - "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" - "floss-arduino.log" + "floss-arduino.toc" + "floss-arduino.aux" + "floss-arduino.pdf" + "floss-arduino.idx" "floss-arduino.OpenModelicad" - "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.log" + "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" diff --git a/floss-arduino.fls b/floss-arduino.fls index 79cb162..3ce8799 100644 --- a/floss-arduino.fls +++ b/floss-arduino.fls @@ -247,9 +247,6 @@ INPUT /usr/share/texlive/texmf-dist/fonts/tfm/jknappen/ec/tcrm0800.tfm INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/linux-cd.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/linux-cd.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/linux-cd.png -INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/change-directory.png -INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/change-directory.png -INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/change-directory.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/browse-directory.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/browse-directory.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/browse-directory.png @@ -385,9 +382,9 @@ INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/schematic.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/schematic.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/schematic.png -INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/arduino-shield.JPG -INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/arduino-shield.JPG -INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/arduino-shield.JPG +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/arduino-new-shield.jpeg +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/arduino-new-shield.jpeg +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/arduino-new-shield.jpeg INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/rgb-led-bb.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/rgb-led-bb.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/rgb-led-bb.png diff --git a/floss-arduino.idx b/floss-arduino.idx index b0d5cac..5efd5d4 100644 --- a/floss-arduino.idx +++ b/floss-arduino.idx @@ -1,5 +1,5 @@ -\indexentry{H-Bridge circuit DC motor}{163} -\indexentry{H-Bridge}{163} -\indexentry{L293D,L298}{163} -\indexentry{PCB breakout board}{163} -\indexentry{pulse width modulation, PWM}{163} +\indexentry{H-Bridge circuit DC motor}{161} +\indexentry{H-Bridge}{161} +\indexentry{L293D,L298}{161} +\indexentry{PCB breakout board}{161} +\indexentry{pulse width modulation, PWM}{161} diff --git a/floss-arduino.ind b/floss-arduino.ind index 0338622..dcfcfe4 100644 --- a/floss-arduino.ind +++ b/floss-arduino.ind @@ -1,15 +1,15 @@ \begin{theindex} - \item H-Bridge, 163 - \item H-Bridge circuit DC motor, 163 + \item H-Bridge, 161 + \item H-Bridge circuit DC motor, 161 \indexspace - \item L293D,L298, 163 + \item L293D,L298, 161 \indexspace - \item PCB breakout board, 163 - \item pulse width modulation, PWM, 163 + \item PCB breakout board, 161 + \item pulse width modulation, PWM, 161 \end{theindex} diff --git a/floss-arduino.juliad b/floss-arduino.juliad index 21e1b09..4139a2b 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}{56}% +\contentsline {section}{\numberline {3.{1}}A Julia source file to check whether the firmware is properly installed or not}{55}% \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the LED}{90}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{90}% -\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{90}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{90}% +\contentsline {section}{\numberline {4.{1}}Turning on the LED}{88}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{88}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{88}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{88}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{109}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{110}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{107}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{108}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{127}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{127}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{125}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{125}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{141}% +\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{139}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{159}% -\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{160}% +\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{157}% +\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{158}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{180}% -\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{181}% -\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{181}% +\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{178}% +\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{179}% +\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{179}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{202}% -\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{202}% -\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{203}% -\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{203}% +\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{200}% +\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{200}% +\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{201}% +\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{201}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{225}% -\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{225}% -\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{226}% +\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{223}% +\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{223}% +\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{224}% diff --git a/floss-arduino.lof b/floss-arduino.lof index f9cc51b..d67fc97 100644 --- a/floss-arduino.lof +++ b/floss-arduino.lof @@ -20,111 +20,110 @@ \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 Windows/Linux binaries\relax }}{49}% -\contentsline {figure}{\numberline {3.30}{\ignorespaces Installing Julia 1.6.0 on Windows\relax }}{49}% -\contentsline {figure}{\numberline {3.31}{\ignorespaces Windows command prompt to launch Julia REPL\relax }}{51}% -\contentsline {figure}{\numberline {3.32}{\ignorespaces Windows command prompt to enter Pkg REPL in Julia\relax }}{51}% -\contentsline {figure}{\numberline {3.33}{\ignorespaces Linux terminal to launch Julia REPL\relax }}{54}% -\contentsline {figure}{\numberline {3.34}{\ignorespaces Linux terminal to enter Pkg REPL in Julia\relax }}{55}% -\contentsline {figure}{\numberline {3.35}{\ignorespaces Allowing Microsoft Defender to run the executable file\relax }}{58}% -\contentsline {figure}{\numberline {3.36}{\ignorespaces Setup of Modelica Standard Library version\relax }}{59}% -\contentsline {figure}{\numberline {3.37}{\ignorespaces User Interface of OMEdit\relax }}{60}% -\contentsline {figure}{\numberline {3.38}{\ignorespaces Opening a model in OMEdit\relax }}{61}% -\contentsline {figure}{\numberline {3.39}{\ignorespaces Opening a model in diagram view in OMEdit\relax }}{62}% -\contentsline {figure}{\numberline {3.40}{\ignorespaces Different views of a model in OMEdit\relax }}{62}% -\contentsline {figure}{\numberline {3.41}{\ignorespaces Opening a model in text view in OMEdit\relax }}{63}% -\contentsline {figure}{\numberline {3.42}{\ignorespaces Simulating a model in OMEdit\relax }}{63}% -\contentsline {figure}{\numberline {3.43}{\ignorespaces Output window of OMEdit\relax }}{64}% -\contentsline {figure}{\numberline {3.44}{\ignorespaces Examples provied in OpenModelica-Arduino Toolbox\relax }}{66}% +\contentsline {figure}{\numberline {3.8}{\ignorespaces Browsing toolbox directory\relax }}{29}% +\contentsline {figure}{\numberline {3.9}{\ignorespaces Output of builder.sce\relax }}{30}% +\contentsline {figure}{\numberline {3.10}{\ignorespaces Output of loader.sce\relax }}{31}% +\contentsline {figure}{\numberline {3.11}{\ignorespaces Device Manager in windows\relax }}{32}% +\contentsline {figure}{\numberline {3.12}{\ignorespaces COM port properties window\relax }}{33}% +\contentsline {figure}{\numberline {3.13}{\ignorespaces Port number on Linux terminal\relax }}{33}% +\contentsline {figure}{\numberline {3.14}{\ignorespaces Scilab test code output\relax }}{34}% +\contentsline {figure}{\numberline {3.15}{\ignorespaces Arduino toolbox functions used in this book\relax }}{35}% +\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 }}{38}% +\contentsline {figure}{\numberline {3.19}{\ignorespaces Sine generator in Xcos\relax }}{39}% +\contentsline {figure}{\numberline {3.20}{\ignorespaces Sine generator Xcos output\relax }}{39}% +\contentsline {figure}{\numberline {3.21}{\ignorespaces CSCOPE configuration window\relax }}{40}% +\contentsline {figure}{\numberline {3.22}{\ignorespaces Simulation setup window\relax }}{40}% +\contentsline {figure}{\numberline {3.23}{\ignorespaces Palette browser showing Arduino blocks\relax }}{41}% +\contentsline {figure}{\numberline {3.24}{\ignorespaces Xcos block help\relax }}{41}% +\contentsline {figure}{\numberline {3.25}{\ignorespaces Installing Python 3 on Windows\relax }}{43}% +\contentsline {figure}{\numberline {3.26}{\ignorespaces Launching the Command Prompt on Windows\relax }}{43}% +\contentsline {figure}{\numberline {3.27}{\ignorespaces Command Prompt on Windows\relax }}{43}% +\contentsline {figure}{\numberline {3.28}{\ignorespaces Julia's website to download 64-bit Windows/Linux binaries\relax }}{48}% +\contentsline {figure}{\numberline {3.29}{\ignorespaces Installing Julia 1.6.0 on Windows\relax }}{49}% +\contentsline {figure}{\numberline {3.30}{\ignorespaces Windows command prompt to launch Julia REPL\relax }}{50}% +\contentsline {figure}{\numberline {3.31}{\ignorespaces Windows command prompt to enter Pkg REPL in Julia\relax }}{51}% +\contentsline {figure}{\numberline {3.32}{\ignorespaces Linux terminal to launch Julia REPL\relax }}{53}% +\contentsline {figure}{\numberline {3.33}{\ignorespaces Linux terminal to enter Pkg REPL in Julia\relax }}{54}% +\contentsline {figure}{\numberline {3.34}{\ignorespaces Allowing Microsoft Defender to run the executable file\relax }}{57}% +\contentsline {figure}{\numberline {3.35}{\ignorespaces Setup of Modelica Standard Library version\relax }}{58}% +\contentsline {figure}{\numberline {3.36}{\ignorespaces User Interface of OMEdit\relax }}{60}% +\contentsline {figure}{\numberline {3.37}{\ignorespaces Opening a model in OMEdit\relax }}{61}% +\contentsline {figure}{\numberline {3.38}{\ignorespaces Opening a model in diagram view in OMEdit\relax }}{62}% +\contentsline {figure}{\numberline {3.39}{\ignorespaces Different views of a model in OMEdit\relax }}{62}% +\contentsline {figure}{\numberline {3.40}{\ignorespaces Opening a model in text view in OMEdit\relax }}{63}% +\contentsline {figure}{\numberline {3.41}{\ignorespaces Simulating a model in OMEdit\relax }}{63}% +\contentsline {figure}{\numberline {3.42}{\ignorespaces Output window of OMEdit\relax }}{64}% +\contentsline {figure}{\numberline {3.43}{\ignorespaces Examples provied in OpenModelica-Arduino Toolbox\relax }}{66}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {4.1}{\ignorespaces Light Emitting Diode\relax }}{69}% -\contentsline {figure}{\numberline {4.2}{\ignorespaces Internal connection diagram for LED on the shield\relax }}{70}% -\contentsline {figure}{\numberline {4.3}{\ignorespaces Connecting Arduino Uno\ and shield\relax }}{70}% -\contentsline {figure}{\numberline {4.4}{\ignorespaces Interfacing an RGB LED with Arduino Uno using a breadboard\relax }}{71}% -\contentsline {figure}{\numberline {4.5}{\ignorespaces LED experiments directly on Arduino Uno\ board, without the shield\relax }}{74}% -\contentsline {figure}{\numberline {4.6}{\ignorespaces Turning the blue LED on through Xcos}}{79}% -\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{80}% -\contentsline {figure}{\numberline {4.8}{\ignorespaces Turning the blue and red LEDs on through Xcos and turning them off one by one}}{81}% -\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{82}% +\contentsline {figure}{\numberline {4.1}{\ignorespaces Light Emitting Diode\relax }}{67}% +\contentsline {figure}{\numberline {4.2}{\ignorespaces Internal connection diagram for LED on the shield\relax }}{68}% +\contentsline {figure}{\numberline {4.3}{\ignorespaces Connecting Arduino Uno\ and shield\relax }}{68}% +\contentsline {figure}{\numberline {4.4}{\ignorespaces Interfacing an RGB LED with Arduino Uno using a breadboard\relax }}{69}% +\contentsline {figure}{\numberline {4.5}{\ignorespaces LED experiments directly on Arduino Uno\ board, without the shield\relax }}{72}% +\contentsline {figure}{\numberline {4.6}{\ignorespaces Turning the blue LED on through Xcos}}{77}% +\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{78}% +\contentsline {figure}{\numberline {4.8}{\ignorespaces Turning the blue and red LEDs on through Xcos and turning them off one by one}}{79}% +\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{80}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {5.1}{\ignorespaces Connection Diagram\relax }}{98}% -\contentsline {figure}{\numberline {5.2}{\ignorespaces A pushbutton to read its status with Arduino Uno using a breadboard\relax }}{98}% -\contentsline {figure}{\numberline {5.3}{\ignorespaces A pushbutton to control an LED with Arduino Uno using a breadboard\relax }}{99}% -\contentsline {figure}{\numberline {5.4}{\ignorespaces Printing the push button status on the display block}}{104}% -\contentsline {figure}{\numberline {5.5}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{105}% +\contentsline {figure}{\numberline {5.1}{\ignorespaces Connection Diagram\relax }}{96}% +\contentsline {figure}{\numberline {5.2}{\ignorespaces A pushbutton to read its status with Arduino Uno using a breadboard\relax }}{96}% +\contentsline {figure}{\numberline {5.3}{\ignorespaces A pushbutton to control an LED with Arduino Uno using a breadboard\relax }}{97}% +\contentsline {figure}{\numberline {5.4}{\ignorespaces Printing the push button status on the display block}}{102}% +\contentsline {figure}{\numberline {5.5}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{103}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{114}% -\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of an LDR}}}{114}% -\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of an LDR}}}{114}% -\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{114}% -\contentsline {figure}{\numberline {6.3}{\ignorespaces An LDR to read its values with Arduino Uno\ using a breadboard\relax }}{115}% -\contentsline {figure}{\numberline {6.4}{\ignorespaces An LDR to control an LED with Arduino Uno using a breadboard\relax }}{116}% -\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read LDR values}}{121}% -\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}}{122}% +\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{112}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of an LDR}}}{112}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of an LDR}}}{112}% +\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{112}% +\contentsline {figure}{\numberline {6.3}{\ignorespaces An LDR to read its values with Arduino Uno\ using a breadboard\relax }}{113}% +\contentsline {figure}{\numberline {6.4}{\ignorespaces An LDR to control an LED with Arduino Uno using a breadboard\relax }}{114}% +\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read LDR values}}{119}% +\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}}{120}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {7.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{132}% -\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{132}% -\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Schematic representation of the potentiometer}}}{132}% -\contentsline {figure}{\numberline {7.2}{\ignorespaces A potentiometer to control an LED with Arduino Uno using a breadboard\relax }}{133}% -\contentsline {figure}{\numberline {7.3}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{137}% +\contentsline {figure}{\numberline {7.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{130}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{130}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Schematic representation of the potentiometer}}}{130}% +\contentsline {figure}{\numberline {7.2}{\ignorespaces A potentiometer to control an LED with Arduino Uno using a breadboard\relax }}{131}% +\contentsline {figure}{\numberline {7.3}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{135}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {8.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{146}% -\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{146}% -\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{146}% -\contentsline {figure}{\numberline {8.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{146}% -\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Thermistor connection diagram}}}{146}% -\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Buzzer connection diagram}}}{146}% -\contentsline {figure}{\numberline {8.3}{\ignorespaces A thermistor to read its values with Arduino Uno using a breadboard\relax }}{147}% -\contentsline {figure}{\numberline {8.4}{\ignorespaces A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }}{148}% -\contentsline {figure}{\numberline {8.5}{\ignorespaces Xcos diagram to read thermistor values}}{153}% -\contentsline {figure}{\numberline {8.6}{\ignorespaces Output of Xcos diagram to read thermistor values}}{154}% -\contentsline {figure}{\numberline {8.7}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{155}% -\contentsline {figure}{\numberline {8.8}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{155}% +\contentsline {figure}{\numberline {8.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{144}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{144}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{144}% +\contentsline {figure}{\numberline {8.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{144}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Thermistor connection diagram}}}{144}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Buzzer connection diagram}}}{144}% +\contentsline {figure}{\numberline {8.3}{\ignorespaces A thermistor to read its values with Arduino Uno using a breadboard\relax }}{145}% +\contentsline {figure}{\numberline {8.4}{\ignorespaces A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }}{146}% +\contentsline {figure}{\numberline {8.5}{\ignorespaces Xcos diagram to read thermistor values}}{151}% +\contentsline {figure}{\numberline {8.6}{\ignorespaces Output of Xcos diagram to read thermistor values}}{152}% +\contentsline {figure}{\numberline {8.7}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{153}% +\contentsline {figure}{\numberline {8.8}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{153}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {9.1}{\ignorespaces L293D motor driver board\relax }}{164}% -\contentsline {figure}{\numberline {9.2}{\ignorespaces A schematic of DC motor connections\relax }}{165}% -\contentsline {figure}{\numberline {9.3}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{165}% -\contentsline {figure}{\numberline {9.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{172}% -\contentsline {figure}{\numberline {9.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{174}% -\contentsline {figure}{\numberline {9.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{175}% +\contentsline {figure}{\numberline {9.1}{\ignorespaces L293D motor driver board\relax }}{162}% +\contentsline {figure}{\numberline {9.2}{\ignorespaces A schematic of DC motor connections\relax }}{163}% +\contentsline {figure}{\numberline {9.3}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{163}% +\contentsline {figure}{\numberline {9.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{170}% +\contentsline {figure}{\numberline {9.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{172}% +\contentsline {figure}{\numberline {9.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{173}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{192}% -\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{193}% -\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{194}% -\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{195}% +\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{190}% +\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{191}% +\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{192}% +\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{193}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{210}% -\contentsline {figure}{\numberline {11.2}{\ignorespaces Master-Slave Query-Response Cycle\relax }}{210}% -\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{211}% -\contentsline {figure}{\numberline {11.4}{\ignorespaces MODBUS Set Up for Energy Meter\relax }}{215}% -\contentsline {figure}{\numberline {11.5}{\ignorespaces Block Diagram for Energy Meter Setup\relax }}{216}% -\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{217}% -\contentsline {figure}{\numberline {11.7}{\ignorespaces Flow Chart of the Modbus Energy Meter Implementation\relax }}{218}% -\contentsline {figure}{\numberline {11.8}{\ignorespaces Single Phase Current Output on Scilab Console\relax }}{219}% -\contentsline {figure}{\numberline {11.9}{\ignorespaces Single Phase Current Output on Energy Meter\relax }}{219}% -\contentsline {figure}{\numberline {11.10}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{220}% -\contentsline {figure}{\numberline {11.11}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{220}% -\contentsline {figure}{\numberline {11.12}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{221}% -\contentsline {figure}{\numberline {11.13}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{221}% -\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{222}% +\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{208}% +\contentsline {figure}{\numberline {11.2}{\ignorespaces Master-Slave Query-Response Cycle\relax }}{208}% +\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{209}% +\contentsline {figure}{\numberline {11.4}{\ignorespaces MODBUS Set Up for Energy Meter\relax }}{213}% +\contentsline {figure}{\numberline {11.5}{\ignorespaces Block Diagram for Energy Meter Setup\relax }}{214}% +\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{215}% +\contentsline {figure}{\numberline {11.7}{\ignorespaces Flow Chart of the Modbus Energy Meter Implementation\relax }}{216}% +\contentsline {figure}{\numberline {11.8}{\ignorespaces Single Phase Current Output on Scilab Console\relax }}{217}% +\contentsline {figure}{\numberline {11.9}{\ignorespaces Single Phase Current Output on Energy Meter\relax }}{217}% +\contentsline {figure}{\numberline {11.10}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{218}% +\contentsline {figure}{\numberline {11.11}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{218}% +\contentsline {figure}{\numberline {11.12}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{219}% +\contentsline {figure}{\numberline {11.13}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{219}% +\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{220}% diff --git a/floss-arduino.log b/floss-arduino.log index 689a5d9..57b88f9 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) 29 APR 2021 11:29 +This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex 2020.11.5) 29 APR 2021 13:07 entering extended mode restricted \write18 enabled. %&-line parsing enabled. @@ -537,7 +537,7 @@ Overfull \hbox (42.2769pt too wide) detected at line 208 [6] (./floss-arduino.lof [7 ] [8] -Overfull \hbox (4.98741pt too wide) in paragraph at lines 90--90 +Overfull \hbox (4.98741pt too wide) in paragraph at lines 89--89 [][] []\T1/cmr/m/n/10.95 Turning LEDs on through Xcos de-pend-ing on the po-te n-tiome-ter thresh- [] @@ -842,108 +842,101 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw -env/figures/linux-cd.png used on input line 463. (pdftex.def) Requested size: 393.97092pt x 96.35976pt. [27] -</home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/change-dire -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 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=209, 450.18187pt x 327.47343pt> +ctory.png, id=208, 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 504. +-env/figures/browse-directory.png used on input line 507. (pdftex.def) Requested size: 357.73405pt x 260.23521pt. -Overfull \hbox (19.3647pt too wide) in paragraph at lines 498--508 +Overfull \hbox (19.3647pt too wide) in paragraph at lines 501--511 []\T1/cmr/m/n/10.95 Then, one has to browse to the tool-box folder \T1/fvm/m/n/ 10.95 Origin/tools/scilab/windows [] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/builder.png -, id=210, 600.74437pt x 421.575pt> +, id=209, 600.74437pt x 421.575pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/builde r.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/builder .png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/builder.png used on input line 520. +-env/figures/builder.png used on input line 523. (pdftex.def) Requested size: 397.48499pt x 278.94795pt. -Overfull \hbox (1.53204pt too wide) in paragraph at lines 514--524 +Overfull \hbox (1.53204pt too wide) in paragraph at lines 517--527 []\T1/cmr/m/n/10.95 Next, type the fol-low-ing com-mand on the Scilab con-sole: \T1/fvm/m/n/10.95 exec builder.sce [] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/loader.png, - id=211, 600.74437pt x 421.575pt> + id=210, 600.74437pt x 421.575pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/loader .png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/loader. png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/loader.png used on input line 536. +-env/figures/loader.png used on input line 539. (pdftex.def) Requested size: 300.37144pt x 210.78697pt. [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>] +/browse-directory.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/device-mana -ger.png, id=219, 602.25pt x 451.6875pt> +ger.png, id=218, 602.25pt x 451.6875pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/device -manager.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/device- manager.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/device-manager.png used on input line 564. +-env/figures/device-manager.png used on input line 567. (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=220, 602.25pt x 451.6875pt> +ies.png, id=219, 602.25pt x 451.6875pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/com-pr operties.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/com-pro perties.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/com-properties.png used on input line 585. +-env/figures/com-properties.png used on input line 588. (pdftex.def) Requested size: 301.12425pt x 225.84319pt. - [30 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/browse --directory.png>] + [30 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/builde +r.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/linux-port. -png, id=224, 634.37pt x 246.9225pt> +png, id=223, 634.37pt x 246.9225pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/linux- port.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/linux-p ort.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/linux-port.png used on input line 609. +-env/figures/linux-port.png used on input line 612. (pdftex.def) Requested size: 317.18422pt x 123.46094pt. - [31 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/builde -r.png>] -Overfull \hbox (22.98761pt too wide) in paragraph at lines 623--631 + +Overfull \hbox (22.98761pt too wide) in paragraph at lines 626--634 []\T1/cmr/m/n/10.95 Inside the \T1/fvm/m/n/10.95 Origin/tools/scilab \T1/cmr/m/ n/10.95 di-rec-tory, lo-cate a file \T1/fvm/m/n/10.95 test_firmware.sce\T1/cmr/ m/n/10.95 . [] +[31 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/loader. +png>] [32 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/d +evice-manager.png>] (/home/fossee/Desktop/floss-scilab-arduino/tools/scilab/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> +e.png, id=231, 600.74437pt x 421.575pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/test-c onsole.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/test-co nsole.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/test-console.png used on input line 660. +-env/figures/test-console.png used on input line 663. (pdftex.def) Requested size: 300.37144pt x 210.78697pt. - [33 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/device --manager.png>] + +[33 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/com-pro +perties.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figure +s/linux-port.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_ @@ -951,17 +944,13 @@ 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 685. +-env/figures/table_functions_crop.pdf used on input line 688. (pdftex.def) Requested size: 397.48499pt x 204.40587pt. - -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>] + [34 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/test-c +onsole.png>] (/home/fossee/Desktop/floss-scilab-arduino/tools/scilab/test_firmware.sce) +[35 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/table_f +unctions_crop.pdf>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sine-blk.pn g, id=250, 376.40625pt x 376.40625pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sine-b @@ -969,210 +958,205 @@ 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 735. +-env/figures/sine-blk.png used on input line 738. (pdftex.def) Requested size: 357.73405pt x 357.76195pt. - -[36] [37 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/si -ne-blk.png>] + [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/plot-blk.pn -g, id=259, 310.15875pt x 109.1578pt> +g, id=254, 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 787. +-env/figures/plot-blk.png used on input line 790. (pdftex.def) Requested size: 357.73405pt x 125.90192pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/clock-blk.p -ng, id=260, 307.90031pt x 108.405pt> +ng, id=255, 307.90031pt x 108.405pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/clock- blk.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/clock-b lk.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/clock-blk.png used on input line 801. +-env/figures/clock-blk.png used on input line 804. (pdftex.def) Requested size: 357.73405pt x 125.95995pt. - [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>] + [37 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/plot-b +lk.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sine-gen.pn -g, id=264, 207.77625pt x 253.69781pt> +g, id=260, 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 822. +-env/figures/sine-gen.png used on input line 825. (pdftex.def) Requested size: 178.86702pt x 218.40813pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sine-output -.png, id=265, 383.18156pt x 184.43906pt> +.png, id=261, 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 833. +-env/figures/sine-output.png used on input line 836. (pdftex.def) Requested size: 258.36281pt x 124.36716pt. - [39 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sine-g -en.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sin -e-output.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/cscope-conf -ig.png, id=269, 310.15875pt x 289.08pt> +ig.png, id=262, 310.15875pt x 289.08pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/cscope -config.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/cscope- config.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/cscope-config.png used on input line 847. +-env/figures/cscope-config.png used on input line 850. (pdftex.def) Requested size: 258.36281pt x 240.8053pt. -Overfull \hbox (0.16797pt too wide) in paragraph at lines 852--861 +Overfull \hbox (0.16797pt too wide) in paragraph at lines 855--864 \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 [] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sim-setup.p -ng, id=270, 333.49594pt x 225.84375pt> +ng, id=263, 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 864. +-env/figures/sim-setup.png used on input line 867. (pdftex.def) Requested size: 258.36281pt x 174.97539pt. -[40 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/cscope- -config.png>] +[38 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/clock-b +lk.png>] +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [39 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sine-g +en.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/sin +e-output.png>] [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/sim-setup.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/arduino-pal -ette.png, id=274, 292.84406pt x 107.65219pt> +ette.png, id=273, 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 895. +-env/figures/arduino-palette.png used on input line 898. (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=275, 617.30624pt x 466.74374pt> +ng, id=274, 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 902. +-env/figures/xcos-help.png used on input line 905. (pdftex.def) Requested size: 258.36281pt x 195.35445pt. - [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>] [42 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/xcos-help.png>] + [41 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/arduin +o-palette.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figu +res/xcos-help.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/python-wind -ows-install.JPG, id=282, 514.17094pt x 316.93407pt> +ows-install.JPG, id=278, 514.17094pt x 316.93407pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/python -windows-install.JPG Graphic file (type jpg) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/python- windows-install.JPG> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/python-windows-install.JPG used on input line 942. +-env/figures/python-windows-install.JPG used on input line 945. (pdftex.def) Requested size: 258.36281pt x 159.25491pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/windows-cmd -.png, id=283, 572.1375pt x 338.26375pt> +.png, id=279, 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. +-env/figures/windows-cmd.png used on input line 964. (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> +-prompt.png, id=280, 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. +-env/figures/win-command-prompt.png used on input line 974. (pdftex.def) Requested size: 258.36281pt x 55.19925pt. - [43 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/python --windows-install.JPG>] [44 </home/fossee/Desktop/floss-scilab-arduino/user-code + [42] [43 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/p +ython-windows-install.JPG> </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 +Overfull \hbox (6.38388pt too wide) in paragraph at lines 1005--1009 \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] [46] -(/home/fossee/Desktop/floss-scilab-arduino/tools/python/test_firmware.py) -Underfull \vbox (badness 10000) has occurred while \output is active [] - - [47] +[44] [45] +(/home/fossee/Desktop/floss-scilab-arduino/tools/python/test_firmware.py +[46]) [47] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-downl -oad.png, id=303, 670.00313pt x 277.035pt> +oad.png, id=302, 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 1163. +-env/figures/julia-download.png used on input line 1166. (pdftex.def) Requested size: 397.48499pt x 164.34962pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-windo -ws-install.png, id=304, 756.8275pt x 632.3625pt> +ws-install.png, id=303, 756.8275pt x 632.3625pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia- windows-install.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-w indows-install.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/julia-windows-install.png used on input line 1170. +-env/figures/julia-windows-install.png used on input line 1173. (pdftex.def) Requested size: 258.36281pt x 215.86882pt. - -[48] [49 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/ju -lia-download.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/f -igures/julia-windows-install.png>] + [48 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia- +download.png>] [49 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/ +figures/julia-windows-install.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-repl- -windows.png, id=314, 1354.05875pt x 768.8725pt> +windows.png, id=313, 1354.05875pt x 768.8725pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia- repl-windows.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-r epl-windows.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/julia-repl-windows.png used on input line 1218. +-env/figures/julia-repl-windows.png used on input line 1221. (pdftex.def) Requested size: 397.48499pt x 225.70088pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-pkg-w -indows.png, id=315, 1353.055pt x 768.8725pt> +indows.png, id=314, 1353.055pt x 768.8725pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia- pkg-windows.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-p kg-windows.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/julia-pkg-windows.png used on input line 1227. +-env/figures/julia-pkg-windows.png used on input line 1230. (pdftex.def) Requested size: 397.48499pt x 225.86513pt. - [50] - -LaTeX Warning: Text page 51 contains only floats. - -[51 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-r -epl-windows.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/fi -gures/julia-pkg-windows.png>] -Overfull \hbox (5.34262pt too wide) in paragraph at lines 1251--1253 + [50 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia- +repl-windows.png>] +Overfull \hbox (5.34262pt too wide) in paragraph at lines 1254--1256 []\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 [] - -Overfull \hbox (12.2196pt too wide) in paragraph at lines 1268--1272 +[51 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-p +kg-windows.png>] +Overfull \hbox (12.2196pt too wide) in paragraph at lines 1271--1275 \T1/fvm/m/n/10.95 sudo ln -s /opt/julia-1.6.0/bin/julia /usr/local/bin/julia [] [52] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-termi -nal-repl.png, id=327, 949.5475pt x 655.44875pt> +nal-repl.png, id=326, 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 1299. +-env/figures/julia-terminal-repl.png used on input line 1302. (pdftex.def) Requested size: 397.48499pt x 274.37646pt. - [53] + [53 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia- +terminal-repl.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-pkg.p ng, id=331, 949.5475pt x 655.44875pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia- @@ -1180,42 +1164,45 @@ 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 1329. +-env/figures/julia-pkg.png used on input line 1332. (pdftex.def) Requested size: 397.48499pt x 274.37646pt. - -Underfull \vbox (badness 3219) has occurred while \output is active [] - [54 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia- -terminal-repl.png>] [55 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/julia-pkg.png>] -(/home/fossee/Desktop/floss-scilab-arduino/tools/julia/test_firmware.jl) -[56] +pkg.png>] +(/home/fossee/Desktop/floss-scilab-arduino/tools/julia/test_firmware.jl +[55]) [56] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/openmodelic -a-run-anyway.png, id=344, 812.03375pt x 749.80125pt> +a-run-anyway.png, id=343, 812.03375pt x 749.80125pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/openmo delica-run-anyway.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/openmod elica-run-anyway.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/openmodelica-run-anyway.png used on input line 1430. +-env/figures/openmodelica-run-anyway.png used on input line 1433. (pdftex.def) Requested size: 258.36281pt x 238.55693pt. -Overfull \hbox (13.35912pt too wide) in paragraph at lines 1435--1441 +Overfull \hbox (13.35912pt too wide) in paragraph at lines 1438--1444 []\T1/cmr/m/n/10.95 Once Open-Mod-el-ica has been in-stalled, Open-Mod-el-ica C on-nec-tion Ed-i-tor (OMEdit) [] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit-libr -aries.png, id=345, 664.4825pt x 546.04pt> +aries.png, id=344, 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 1454. +-env/figures/OMEdit-libraries.png used on input line 1457. (pdftex.def) Requested size: 365.46649pt x 300.32292pt. -[57] [58 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/op -enmodelica-run-anyway.png>] + +Underfull \vbox (badness 3942) has occurred while \output is active [] + + [57 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/openmo +delica-run-anyway.png>] +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [58 </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=353, 996.1215pt x 597.9138pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit @@ -1223,68 +1210,76 @@ File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit <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 1486. +-env/figures/OMEdit-UI.png used on input line 1489. (pdftex.def) Requested size: 397.48499pt x 238.5865pt. - [59 </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/om-open-mod -el.png, id=358, 1087.06125pt x 792.9625pt> +el.png, id=354, 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 1500. +-env/figures/om-open-model.png used on input line 1503. (pdftex.def) Requested size: 397.48499pt x 289.94313pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-Modeling -.png, id=359, 1368.11125pt x 791.95876pt> +.png, id=355, 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 1507. +-env/figures/om-Modeling.png used on input line 1510. (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=360, 673.01437pt x 373.395pt> +-views.png, id=356, 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 1515. +-env/figures/om-modeling-views.png used on input line 1518. (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=361, 1370.11874pt x 796.9775pt> +w.png, id=357, 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 1523. +-env/figures/om-text-view.png used on input line 1526. (pdftex.def) Requested size: 397.48499pt x 231.20267pt. - [60 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit --UI.png>] + [59] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-simulate -.png, id=366, 673.01437pt x 373.395pt> +.png, id=361, 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 1552. +-env/figures/om-simulate.png used on input line 1555. (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=367, 647.41875pt x 516.93124pt> +ess.png, id=362, 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 1559. +-env/figures/om-sim-success.png used on input line 1562. (pdftex.def) Requested size: 397.48499pt x 317.37051pt. - [61 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-ope -n-model.png>] + +Overfull \hbox (0.4131pt too wide) in paragraph at lines 1573--1580 +\T1/fvm/m/n/10.95 openmodelica/windows \T1/cmr/m/n/10.95 or \T1/fvm/m/n/10.95 O +rigin/tools/openmodelica/linux \T1/cmr/m/n/10.95 di-rec-tory, + [] + + +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [60 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit +-UI.png>] +[61 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-open +-model.png>] LaTeX Warning: Text page 62 contains only floats. @@ -1297,46 +1292,35 @@ LaTeX Warning: Text page 63 contains only floats. [63 </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>] -Overfull \hbox (0.4131pt too wide) in paragraph at lines 1570--1577 -\T1/fvm/m/n/10.95 openmodelica/windows \T1/cmr/m/n/10.95 or \T1/fvm/m/n/10.95 O -rigin/tools/openmodelica/linux \T1/cmr/m/n/10.95 di-rec-tory, - [] - -[64 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-sim- -success.png>] -Overfull \hbox (4.19868pt too wide) in paragraph at lines 1588--1590 +Overfull \hbox (4.19868pt too wide) in paragraph at lines 1591--1593 []\T1/cmr/m/n/10.95 Navigate to \T1/fvm/m/n/10.95 Origin/tools/openmodelica/win dows \T1/cmr/m/n/10.95 or \T1/fvm/m/n/10.95 Origin/tools/ [] -Overfull \hbox (5.89722pt too wide) in paragraph at lines 1590--1598 +Overfull \hbox (5.89722pt too wide) in paragraph at lines 1593--1601 \T1/cmr/m/n/10.95 el-ica_Synchronous, Mod-el-ica_DeviceDrivers, and one model t est_firmware.mo. [] +[64 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-sim- +success.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-toolbox- -loaded.png, id=387, 325.215pt x 735.74875pt> +loaded.png, id=386, 325.215pt x 735.74875pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-too lbox-loaded.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-tool box-loaded.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/om-toolbox-loaded.png used on input line 1615. +-env/figures/om-toolbox-loaded.png used on input line 1618. (pdftex.def) Requested size: 178.86702pt x 404.66306pt. -LaTeX Warning: Reference `load-om-toolbox' on page 65 undefined on input line 1 -636. - -[65] (/home/fossee/Desktop/floss-scilab-arduino/tools/openmodelica/windows//test_fir -mware.mo [66 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figure -s/om-toolbox-loaded.png>])) (./user-code/led/led.tex [67] [68 - -] +mware.mo [65])) (./user-code/led/led.tex [66 </home/fossee/Desktop/floss-scilab +-arduino/user-code/sw-env/figures/om-toolbox-loaded.png>] Chapter 4. -</home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led.png, id=40 -3, 149.8097pt x 84.315pt> +</home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led.png, id=39 +5, 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> @@ -1344,7 +1328,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/le d/figures/led.png used on input line 52. (pdftex.def) Requested size: 79.49577pt x 44.74203pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/schematic.png, - id=404, 415.5525pt x 456.70625pt> + id=396, 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. @@ -1352,22 +1336,24 @@ png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/le d/figures/schematic.png used on input line 65. (pdftex.def) Requested size: 178.86702pt x 196.58194pt. -[69 </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=409, 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 -ield.JPG> +[67 + + </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led.png>] +</home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/arduino-new-sh +ield.jpeg, id=402, 305.7021pt x 172.0026pt> +File: /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/arduino-n +ew-shield.jpeg Graphic file (type jpg) +<use /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/arduino-ne +w-shield.jpeg> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/le -d/figures/arduino-shield.JPG used on input line 79. -(pdftex.def) Requested size: 178.86702pt x 134.15085pt. +d/figures/arduino-new-shield.jpeg used on input line 79. +(pdftex.def) Requested size: 258.36281pt x 145.37354pt. -[70 </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>] +[68 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/schematic. +png> </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/arduino-n +ew-shield.jpeg>] </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/rgb-led-bb.png -, id=414, 451.286pt x 236.082pt> +, id=407, 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 @@ -1375,7 +1361,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 107. (pdftex.def) Requested size: 357.73405pt x 187.14034pt. - [71 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/rgb-led-b + [69 </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) @@ -1384,9 +1370,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) [72] +/led-blue-delay.ino) [70] </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led_output.png -, id=422, 3035.34pt x 1947.275pt> +, id=415, 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 @@ -1399,33 +1385,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 -) [73] +) [71] (/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 [74 </home/fossee/Desktop/floss-scilab-arduino/user-code/le +/led-blue-delay.ino [72 </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-green-blin -k/led-green-blink.ino) [75] +k/led-green-blink.ino) [73] (/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) -[76] +[74] (/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 [77]) +sce [75]) (/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=442, 233.37187pt x 252.19218pt> +id=435, 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 @@ -1438,9 +1424,9 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 410--419 [][] [] -[78] +[76] </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-delay -.png, id=446, 226.59656pt x 243.91125pt> +.png, id=439, 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 @@ -1453,10 +1439,10 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 444--456 [][] [] -[79 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue.p +[77 </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=453, 245.41687pt x 339.51843pt> +ng, id=445, 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 @@ -1469,10 +1455,10 @@ Overfull \hbox (13.85292pt too wide) in paragraph at lines 483--500 [][] [] -[80 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-d +[78 </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=458, 246.9225pt x 251.43938pt> +k.png, id=450, 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- @@ -1485,32 +1471,32 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 525--538 [][] [] -[81 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-r +[79 </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 [] -[82 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-green- +[80 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-green- blink.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py) -[83] +[81] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue-delay. py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue-delay. -py) [84] +py) [82] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py -[85]) +[83]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue-delay. py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue-red.py -[86]) +[84]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-green-blink -.py [87]) [88] +.py [85]) [86] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-blue.jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-blue.jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-blue.jl) @@ -1518,37 +1504,39 @@ py) (/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-delay.j -l) [89] +l) [87] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-blue.jl) (/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 [90]) +jl [88]) (/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. mo) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led-blue. -mo) [91] +mo) [89] (/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) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led-blue- -delay.mo) [92] +delay.mo) [90] (/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 [93]) +delay.mo [91]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led-blue- -red.mo [94]) +red.mo [92]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led-green --blink.mo) [95]) (./user-code/push/push.tex [96] +-blink.mo)) (./user-code/push/push.tex [93] [94 + +] Chapter 5. </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/pushbutton-co -nn.png, id=511, 415.5525pt x 438.63875pt> +nn.png, id=504, 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 @@ -1557,7 +1545,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=512, 453.695pt x 239.294pt> +d=505, 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 @@ -1565,16 +1553,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. -[97 - -] +[95] Underfull \vbox (badness 3098) has occurred while \output is active [] - [98 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/pushbutt + [96 </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=522, 453.695pt x 266.596pt> +g, id=514, 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 @@ -1585,14 +1571,14 @@ sh/figures/switch-led.png used on input line 106. Underfull \vbox (badness 1158) has occurred while \output is active [] - [99 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/switch-l + [97 </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) [100] +on/led-push-button.ino) [98] (/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 @@ -1602,7 +1588,7 @@ Avail- (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/led-push-butt -on/led-push-button.ino [101]) +on/led-push-button.ino [99]) (/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 @@ -1610,7 +1596,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 [102]) +atus.sce [100]) 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 , @@ -1621,7 +1607,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=536, 264.99pt x 268.00125pt> +tatus.PNG, id=529, 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 @@ -1634,10 +1620,10 @@ Overfull \hbox (3.33746pt too wide) in paragraph at lines 276--286 [][] [] -[103] [104 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/pu +[101] [102 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/pu sh-button-status.PNG>] </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/led-push-butt -on.PNG, id=545, 298.86656pt x 264.99pt> +on.PNG, id=537, 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- @@ -1650,38 +1636,38 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 318--329 [][] [] -[105 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/led-push +[103 </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) [106] +n.py) [104] (/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 [107]) +n.py [105]) Underfull \vbox (badness 10000) has occurred while \output is active [] - [108] + [106] (/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) [109] +tus.jl) [107] (/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 [110]) +ton-status.mo [108]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led-push --button.mo [111])) (./user-code/ldr/ldr.tex [112] +-button.mo [109])) (./user-code/ldr/ldr.tex [110] Chapter 6. -</home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg, id=57 -2, 106.89937pt x 94.85437pt> +</home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg, id=56 +5, 106.89937pt x 94.85437pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg G raphic file (type jpg) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg> @@ -1689,7 +1675,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=573, 1009.52156pt x 741.52031pt> +d=566, 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 @@ -1698,7 +1684,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=574, 415.5525pt x 450.68375pt> +id=567, 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 @@ -1706,7 +1692,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. -[113 +[111 ] Overfull \hbox (0.60098pt too wide) in paragraph at lines 87--87 @@ -1716,21 +1702,21 @@ Overfull \hbox (0.60098pt too wide) in paragraph at lines 87--87 Underfull \vbox (badness 3333) has occurred while \output is active [] - [114 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg> + [112 </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=58 -3, 455.301pt x 208.78pt> +</home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR.png, id=57 +6, 455.301pt x 208.78pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR.png G raphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR.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. - [115 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR.png> + [113 </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=589, 455.301pt x 257.763pt> +d=581, 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 @@ -1742,21 +1728,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) [116 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ +ead.ino) [114 </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 [117]) +ead.ino [115]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-led/ldr-le -d.ino) [118] +d.ino) [116] 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) -[119] +[117] (/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 @@ -1764,7 +1750,7 @@ o read LDR val-ues, through [] </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-read-xcos. -PNG, id=603, 257.46187pt x 304.13625pt> +PNG, id=596, 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 @@ -1773,7 +1759,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=604, 769.87625pt x 640.3925pt> +d=597, 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 @@ -1786,37 +1772,37 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 364--384 [][] [] -[120] [121 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr --read-xcos.PNG>] [122 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/ +[118] [119 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr +-read-xcos.PNG>] [120 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/ figures/ldr-led.png>] Overfull \hbox (25.70164pt too wide) in paragraph at lines 411--422 []\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 Python Code 6.2[]. [] -[123] +[121] (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr-read.py) -[124] +[122] (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr-led.py) Underfull \vbox (badness 10000) has occurred while \output is active [] - [125] + [123] (/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 -[126]) +[124]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr-led.jl) -[127] +[125] (/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 [128]) +mo [126]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr-led.m -o)) (./user-code/pot/pot.tex [129] [130 +o)) (./user-code/pot/pot.tex [127] [128 ] Chapter 7. </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/potmeter.png, -id=643, 1576.38937pt x 1305.37688pt> +id=636, 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 @@ -1825,7 +1811,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=644, 415.5525pt x 417.56pt> + id=637, 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. @@ -1833,11 +1819,11 @@ png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/po t/figures/schematic.png used on input line 68. (pdftex.def) Requested size: 178.86702pt x 179.73206pt. -[131] [132 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/pot +[129] [130 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/pot meter.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/sch ematic.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/POT-led-bb.png -, id=653, 453.695pt x 243.309pt> +, id=646, 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 @@ -1850,18 +1836,18 @@ Overfull \hbox (9.68646pt too wide) in paragraph at lines 112--114 [] [] [] -[133 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/POT-led-b +[131 </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 [134]) +pot-threshold.ino [132]) (/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) [135] +ce) [133] 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- @@ -1871,7 +1857,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=665, 548.80031pt x 493.845pt> +PNG, id=658, 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 @@ -1884,14 +1870,14 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 236--265 [][] [] -[136] [137 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/pot +[134] [135 </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) [138] +y) [136] (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot-threshold.p y) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot-threshold.p -y [139]) +y [137]) (/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 @@ -1907,13 +1893,13 @@ Overfull \hbox (0.88127pt too wide) in paragraph at lines 325--329 old. Avail- [] -[140] +[138] (/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 [141]) +hold.mo [139]) 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- @@ -1921,12 +1907,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 [142])) (./user-code/thermistor/thermistor.tex [143] [144 +hold.mo [140])) (./user-code/thermistor/thermistor.tex [141] [142 ] Chapter 8. </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/NTC-bea -d.jpg, id=695, 139.9629pt x 126.2316pt> +d.jpg, id=688, 139.9629pt x 126.2316pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/NT C-bead.jpg Graphic file (type jpg) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/NTC @@ -1935,13 +1921,13 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th ermistor/figures/NTC-bead.jpg used on input line 70. (pdftex.def) Requested size: 178.86702pt x 161.32933pt. -LaTeX Warning: Citation `therm-wiki' on page 145 undefined on input line 70. +LaTeX Warning: Citation `therm-wiki' on page 143 undefined on input line 70. -LaTeX Warning: Citation `therm-wiki' on page 145 undefined on input line 70. +LaTeX Warning: Citation `therm-wiki' on page 143 undefined on input line 70. </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-s -ym.png, id=696, 1284.8pt x 913.4125pt> +ym.png, id=689, 1284.8pt x 913.4125pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th erm-sym.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/the @@ -1950,7 +1936,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=697, 329.23pt x 422.57875pt> +TOR-Diagram-crop.pdf, id=690, 329.23pt x 422.57875pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/TH ERMISTOR-Diagram-crop.pdf Graphic file (type pdf) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/THE @@ -1959,7 +1945,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=698, 307.1475pt x 366.36874pt> +Diagram-crop.pdf, id=691, 307.1475pt x 366.36874pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/BU ZZER-Diagram-crop.pdf Graphic file (type pdf) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/BUZ @@ -1967,17 +1953,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. -[145] +[143] Overfull \vbox (30.13353pt too high) has occurred while \output is active [] -[146 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/NT +[144 </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=720, 453.695pt x 236.885pt> +tor.png, id=712, 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 @@ -1986,7 +1972,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=721, 453.695pt x 240.097pt> +tor-buzzer.png, id=713, 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 @@ -1994,25 +1980,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. - [147 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t + [145 </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) [148 </home/fossee/Desktop/floss-scilab-arduino/user-code/t +ead/therm-read.ino) [146 </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 [149]) +ead/therm-read.ino [147]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-b -uzzer/therm-buzzer.ino) [150] [151] +uzzer/therm-buzzer.ino) [148] [149] (/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) [152] +zzer.sce) [150] </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-r -ead-xcos.png, id=745, 617.30624pt x 548.0475pt> +ead-xcos.png, id=737, 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 @@ -2021,7 +2007,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=746, 632.3625pt x 529.98pt> +ead.png, id=738, 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 @@ -2030,7 +2016,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=747, 627.34375pt x 530.98375pt> +uzzer-xcos.png, id=739, 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 @@ -2038,14 +2024,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. - [153 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t + [151 </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=752, 612.2875pt x 589.20125pt> +uzzer.png, id=745, 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 @@ -2053,29 +2039,29 @@ 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. -[154 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th +[152 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th erm-read.png>] -LaTeX Warning: Text page 155 contains only floats. +LaTeX Warning: Text page 153 contains only floats. -[155 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th +[153 </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>] [156] +istor/figures/therm-buzzer.png>] [154] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm-re -ad.py [157]) +ad.py [155]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm-bu -zzer.py [158]) +zzer.py [156]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm-rea -d.jl [159]) +d.jl [157]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm-buz -zer.jl) [160] +zer.jl) [158] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/th -erm-read.mo) [161] +erm-read.mo) [159] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/th -erm-buzzer.mo)) (./user-code/dcmotor/dcmotor.tex [162] +erm-buzzer.mo)) (./user-code/dcmotor/dcmotor.tex [160] Chapter 9. </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmotor_bo -ard.png, id=784, 247.92625pt x 232.87pt> +ard.png, id=777, 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 @@ -2083,11 +2069,11 @@ r_board.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/dc motor/figures/dcmotor_board.png used on input line 62. (pdftex.def) Requested size: 258.36281pt x 242.69075pt. -[163 +[161 ] </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/schematic. -png, id=789, 415.5525pt x 467.7475pt> +png, id=781, 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 @@ -2096,7 +2082,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=790, 2469.97781pt x 1973.12157pt> +escription.jpg, id=782, 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 @@ -2104,41 +2090,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. - [164 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmo + [162 </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 [] -[165 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/schem +[163 </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>] [166] +dc_motor_description.jpg>] [164] (/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 [167]) +op/dcmotor-loop.ino [165]) Underfull \hbox (badness 10000) in paragraph at lines 221--237 [] -[168] +[166] (/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) [169] +ck.sce) [167] (/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) [170] +ck.sce) [168] (/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 [171]) +p.sce [169]) </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmotor-cl -ock.png, id=820, 275.52937pt x 290.58563pt> +ock.png, id=812, 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 @@ -2146,10 +2132,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. - [172 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmo + [170 </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=824, 292.09125pt x 322.95656pt> +th.png, id=817, 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 @@ -2158,7 +2144,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=825, 281.55188pt x 307.90031pt> +op.png, id=818, 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 @@ -2166,32 +2152,32 @@ 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. - [173] [174 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figure -s/dcmotor-both.png>] [175 </home/fossee/Desktop/floss-scilab-arduino/user-code/ -dcmotor/figures/dcmotor-loop.png>] [176] + [171] [172 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figure +s/dcmotor-both.png>] [173 </home/fossee/Desktop/floss-scilab-arduino/user-code/ +dcmotor/figures/dcmotor-loop.png>] [174] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor-clo -ck.py [177]) +ck.py [175]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor-bot -h.py) [178] +h.py) [176] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor-loo -p.py) [179] +p.py) [177] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor-cloc -k.jl [180]) +k.jl [178]) (/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) [181] +.jl) [179] (/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 [182]) +or-both.mo [180]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmot -or-loop.mo [183])) (./user-code/servo/servo.tex [184] +or-loop.mo [181])) (./user-code/servo/servo.tex [182] Chapter 10. Underfull \vbox (badness 1975) has occurred while \output is active [] - [185 + [183 ] Overfull \hbox (23.49748pt too wide) in paragraph at lines 90--98 @@ -2199,17 +2185,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[]. [] -[186] +[184] (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo-init/s -ervo-init.ino [187]) +ervo-init.ino [185]) (/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) [188] +ervo-loop.ino) [186] (/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) [189] +e) [187] (/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 @@ -2217,13 +2203,13 @@ e) [189] (/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 [190]) +.sce [188]) (/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=888, 265.74281pt x 309.40594pt> +ng, id=881, 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 @@ -2231,9 +2217,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. - [191] + [189] </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-revers -e.png, id=892, 244.66406pt x 281.55188pt> +e.png, id=885, 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 @@ -2244,10 +2230,10 @@ rvo/figures/servo-reverse.png used on input line 334. Underfull \vbox (badness 3199) has occurred while \output is active [] - [192 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo- + [190 </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=896, 281.55188pt x 347.04657pt> +ng, id=889, 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 @@ -2256,7 +2242,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=897, 286.06876pt x 292.09125pt> +g, id=890, 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 @@ -2265,38 +2251,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. -[193 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-r +[191 </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 [][] [] -[194 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-l +[192 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-l oop.png>] -LaTeX Warning: Reference `sec:py-start' on page 195 undefined on input line 459 +LaTeX Warning: Reference `sec:py-start' on page 193 undefined on input line 459 . Underfull \vbox (badness 10000) has occurred while \output is active [] - [195 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo- + [193 </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 -) [196] +) [194] (/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 -[197]) +[195]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-reverse -.py [198]) +.py [196]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-loop.py -[199]) +[197]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-pot.py -[200]) +[198]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-init.jl) -[201] +[199] (/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) @@ -2308,10 +2294,10 @@ vers-ing. Avail- (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-reverse. -jl) [202] +jl) [200] (/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) -[203] +[201] (/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 @@ -2319,19 +2305,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 [204]) +nit.mo [202]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo-r -everse.mo [205]) +everse.mo [203]) (/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 [206])) (./user-code/modbus/modbus.tex [207] [208 +ot.mo [204])) (./user-code/modbus/modbus.tex [205] [206 ] Chapter 11. -[209] +[207] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig1.png, i -d=952, 672.5125pt x 224.84pt> +d=945, 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 @@ -2340,7 +2326,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=953, 360.34625pt x 375.4025pt> +d=946, 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 @@ -2349,7 +2335,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=954, 481.04718pt x 214.55156pt> +d=947, 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 @@ -2357,12 +2343,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. - [210 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig1. + [208 </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)>] [211 </home/fossee/Desktop/floss-scilab-arduino/user --code/modbus/figures/fig3.png (PNG copy)>] [212] [213] +ures/fig2.png (PNG copy)>] [209 </home/fossee/Desktop/floss-scilab-arduino/user +-code/modbus/figures/fig3.png (PNG copy)>] [210] [211] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/Full-Set-Up -.png, id=969, 722.7pt x 542.025pt> +.png, id=962, 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 @@ -2370,9 +2356,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. - [214] + [212] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/block-diagr -am.PNG, id=973, 398.23781pt x 255.95625pt> +am.PNG, id=966, 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 @@ -2381,7 +2367,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=974, 327.2225pt x 480.79625pt> +e_flowchart.png, id=967, 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 @@ -2389,10 +2375,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. - [215 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/Full- + [213 </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=979, 482.55281pt x 362.10281pt> +ng, id=972, 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 @@ -2401,7 +2387,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=980, 1028.34187pt x 578.16pt> +put.png, id=973, 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 @@ -2410,7 +2396,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=981, 2509.375pt x 1411.2725pt> +put-setup.jpg, id=974, 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 @@ -2419,7 +2405,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=982, 1028.34187pt x 578.16pt> +put.png, id=975, 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 @@ -2428,7 +2414,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=983, 2509.375pt x 1411.2725pt> +put-setup.jpg, id=976, 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 @@ -2437,7 +2423,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=984, 1028.34187pt x 578.16pt> +r-output.png, id=977, 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- @@ -2446,10 +2432,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. -[216 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/block- +[214 </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=989, 2509.375pt x 1411.2725pt> +r-output-setup.jpg, id=982, 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- @@ -2460,10 +2446,10 @@ dbus/figures/active-power-output-setup.jpg used on input line 436. Underfull \vbox (badness 10000) has occurred while \output is active [] - [217 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/ardui + [215 </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=995, 635.37375pt x 455.7025pt> +xcos.png, id=987, 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 @@ -2482,46 +2468,46 @@ Overfull \hbox (16.70493pt too wide) in paragraph at lines 479--491 [][] [] -[218 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/flowch -art.png (PNG copy)>] [219 </home/fossee/Desktop/floss-scilab-arduino/user-code/ +[216 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/flowch +art.png (PNG copy)>] [217 </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 [] - [220 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/volta + [218 </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 [221 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/a +.ino [219 </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>] [222 </home/fossee/Desk +ser-code/modbus/figures/active-power-output-setup.jpg>] [220 </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 [223]) +.sci [221]) (/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 [224]) +.py [222]) (/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 [225]) +l [223]) (/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 [226]) +ltage.mo [224]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readPo -wer.mo)) (./floss-arduino.bbl [227] [228 +wer.mo)) (./floss-arduino.bbl [225] [226 ] Underfull \hbox (badness 10000) in paragraph at lines 4--9 @@ -2552,7 +2538,7 @@ Overfull \hbox (15.39987pt too wide) in paragraph at lines 49--53 /Skittles_M%26M%27s [] -[229] +[227] 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. @@ -2562,7 +2548,7 @@ backed by py-se-rial. \tf@thm=\write13 \openout13 = `floss-arduino.thm'. - [230] (./floss-arduino.aux) + [228] (./floss-arduino.aux) LaTeX Warning: There were undefined references. @@ -2571,10 +2557,10 @@ LaTeX Warning: There were multiply-defined labels. ) Here is how much of TeX's memory you used: - 9827 strings out of 481239 - 215869 string characters out of 5920377 + 9820 strings out of 481239 + 215401 string characters out of 5920377 742688 words of memory out of 5000000 - 24324 multiletter control sequences out of 15000+600000 + 24317 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,1826s stack positions out of 5000i,500n,10000p,200000b,80000s @@ -2601,10 +2587,10 @@ sr/share/texmf/fonts/type1/public/cm-super/sfrm1000.pfb></usr/share/texmf/fonts /type1/public/cm-super/sfrm1095.pfb></usr/share/texmf/fonts/type1/public/cm-sup er/sfsi1095.pfb></usr/share/texmf/fonts/type1/public/cm-super/sfss1095.pfb></us r/share/texmf/fonts/type1/public/cm-super/sfti1095.pfb> -Output written on floss-arduino.pdf (254 pages, 26608779 bytes). +Output written on floss-arduino.pdf (252 pages, 20549602 bytes). PDF statistics: - 1134 PDF objects out of 1200 (max. 8388607) - 660 compressed objects within 7 object streams + 1125 PDF objects out of 1200 (max. 8388607) + 654 compressed objects within 7 object streams 0 named destinations out of 1000 (max. 500000) - 576 words of extra memory for PDF output out of 10000 (max. 10000000) + 571 words of extra memory for PDF output out of 10000 (max. 10000000) diff --git a/floss-arduino.lot b/floss-arduino.lot index 1a1cece..ad79f95 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 }}{79}% -\contentsline {table}{\numberline {4.2}{\ignorespaces Parameters to light the blue LED in Xcos for two seconds\relax }}{80}% -\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{82}% -\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{83}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the push button status on the display block\relax }}{104}% -\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{105}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{121}% -\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{123}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {7.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{138}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{154}% -\contentsline {table}{\numberline {8.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{156}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {9.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{169}% -\contentsline {table}{\numberline {9.2}{\ignorespaces Parameters for DC motor initialization\relax }}{169}% -\contentsline {table}{\numberline {9.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{173}% -\contentsline {table}{\numberline {9.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{174}% -\contentsline {table}{\numberline {9.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{176}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{186}% -\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{192}% -\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{194}% -\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{195}% -\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{196}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {11.1}{\ignorespaces Interpretation of a request packet\relax }}{212}% -\contentsline {table}{\numberline {11.2}{\ignorespaces Interpretation of a response packet\relax }}{212}% -\contentsline {table}{\numberline {11.3}{\ignorespaces Hexadecimal to Decimal\relax }}{213}% -\contentsline {table}{\numberline {11.4}{\ignorespaces Single and Double Precision Representation\relax }}{213}% -\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{222}% +\contentsline {table}{\numberline {4.1}{\ignorespaces Parameters to light the blue LED in Xcos\relax }}{77}% +\contentsline {table}{\numberline {4.2}{\ignorespaces Parameters to light the blue LED in Xcos for two seconds\relax }}{78}% +\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{80}% +\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{81}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the push button status on the display block\relax }}{102}% +\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{103}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{119}% +\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{121}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {7.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{136}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{152}% +\contentsline {table}{\numberline {8.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{154}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {9.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{167}% +\contentsline {table}{\numberline {9.2}{\ignorespaces Parameters for DC motor initialization\relax }}{167}% +\contentsline {table}{\numberline {9.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{171}% +\contentsline {table}{\numberline {9.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{172}% +\contentsline {table}{\numberline {9.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{174}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{184}% +\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{190}% +\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{192}% +\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{193}% +\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{194}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {11.1}{\ignorespaces Interpretation of a request packet\relax }}{210}% +\contentsline {table}{\numberline {11.2}{\ignorespaces Interpretation of a response packet\relax }}{210}% +\contentsline {table}{\numberline {11.3}{\ignorespaces Hexadecimal to Decimal\relax }}{211}% +\contentsline {table}{\numberline {11.4}{\ignorespaces Single and Double Precision Representation\relax }}{211}% +\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{220}% diff --git a/floss-arduino.pdf b/floss-arduino.pdf Binary files differindex c241f15..985a358 100644 --- a/floss-arduino.pdf +++ b/floss-arduino.pdf diff --git a/floss-arduino.pyd b/floss-arduino.pyd index 4cbcfe2..1267c20 100644 --- a/floss-arduino.pyd +++ b/floss-arduino.pyd @@ -1,31 +1,31 @@ \addvspace {10pt} -\contentsline {section}{\numberline {3.{1}}A Python script to check whether the firmware is properly installed or not}{47}% +\contentsline {section}{\numberline {3.{1}}A Python script to check whether the firmware is properly installed or not}{46}% \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the blue LED through Python}{85}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{86}% -\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}% +\contentsline {section}{\numberline {4.{1}}Turning on the blue LED through Python}{83}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{84}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{84}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{85}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{107}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{107}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{105}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{105}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{124}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{125}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{122}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{123}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{139}% +\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{137}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{157}% -\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{158}% +\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{155}% +\contentsline {section}{\numberline {8.{2}}Turning the buzzer on and off using thermistor values}{156}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{177}% -\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{178}% -\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{178}% +\contentsline {section}{\numberline {9.{1}}Rotating the DC motor}{175}% +\contentsline {section}{\numberline {9.{2}}Rotating the DC motor in both directions}{176}% +\contentsline {section}{\numberline {9.{3}}Rotating the DC motor in both directions in a loop}{176}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{197}% -\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{198}% -\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{199}% -\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{200}% +\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{195}% +\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{196}% +\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{197}% +\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}{224}% -\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{224}% -\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{225}% +\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{222}% +\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{222}% +\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{223}% diff --git a/floss-arduino.thm b/floss-arduino.thm index df8edee..6146b86 100644 --- a/floss-arduino.thm +++ b/floss-arduino.thm @@ -1,124 +1,124 @@ \contentsline {ardmass}{{Arduino Code}{3.{1}}{}}{25}% -\contentsline {codemass}{{Scilab Code}{3.{1}}{}}{36}% -\contentsline {pymass}{{Python Code}{3.{1}}{}}{47}% -\contentsline {juliamass}{{Julia Code}{3.{1}}{}}{56}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{3.{1}}{}}{66}% -\contentsline {egmass}{{Exercise}{4.{1}}{}}{73}% -\contentsline {ardmass}{{Arduino Code}{4.{1}}{}}{74}% -\contentsline {ardmass}{{Arduino Code}{4.{2}}{}}{74}% -\contentsline {ardmass}{{Arduino Code}{4.{3}}{}}{75}% -\contentsline {ardmass}{{Arduino Code}{4.{4}}{}}{75}% -\contentsline {egmass}{{Exercise}{4.{2}}{}}{77}% -\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{77}% -\contentsline {codemass}{{Scilab Code}{4.{2}}{}}{77}% -\contentsline {codemass}{{Scilab Code}{4.{3}}{}}{78}% -\contentsline {codemass}{{Scilab Code}{4.{4}}{}}{78}% -\contentsline {egmass}{{Exercise}{4.{3}}{}}{81}% -\contentsline {egmass}{{Exercise}{4.{4}}{}}{85}% -\contentsline {pymass}{{Python Code}{4.{1}}{}}{85}% -\contentsline {pymass}{{Python Code}{4.{2}}{}}{86}% -\contentsline {pymass}{{Python Code}{4.{3}}{}}{86}% -\contentsline {pymass}{{Python Code}{4.{4}}{}}{87}% -\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{90}% -\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{90}% -\contentsline {juliamass}{{Julia Code}{4.{3}}{}}{90}% -\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{90}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{93}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{93}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{94}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{95}% -\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{101}% -\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{101}% -\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{103}% -\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{103}% -\contentsline {egmass}{{Exercise}{5.{1}}{}}{105}% -\contentsline {pymass}{{Python Code}{5.{1}}{}}{107}% -\contentsline {pymass}{{Python Code}{5.{2}}{}}{107}% -\contentsline {juliamass}{{Julia Code}{5.{1}}{}}{109}% -\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{110}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{110}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{111}% -\contentsline {egmass}{{Exercise}{6.{1}}{}}{117}% -\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{117}% -\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{118}% -\contentsline {egmass}{{Exercise}{6.{2}}{}}{119}% -\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{119}% -\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{120}% -\contentsline {egmass}{{Exercise}{6.{3}}{}}{123}% -\contentsline {pymass}{{Python Code}{6.{1}}{}}{124}% -\contentsline {pymass}{{Python Code}{6.{2}}{}}{125}% -\contentsline {egmass}{{Exercise}{6.{4}}{}}{126}% -\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{127}% -\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{127}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{128}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{129}% -\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{134}% -\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{136}% -\contentsline {pymass}{{Python Code}{7.{1}}{}}{139}% -\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{141}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{142}% -\contentsline {egmass}{{Exercise}{8.{1}}{}}{149}% -\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{149}% -\contentsline {ardmass}{{Arduino Code}{8.{2}}{}}{150}% -\contentsline {egmass}{{Exercise}{8.{2}}{}}{151}% -\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{152}% -\contentsline {codemass}{{Scilab Code}{8.{2}}{}}{152}% -\contentsline {pymass}{{Python Code}{8.{1}}{}}{157}% -\contentsline {pymass}{{Python Code}{8.{2}}{}}{158}% -\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{159}% -\contentsline {juliamass}{{Julia Code}{8.{2}}{}}{160}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{161}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{2}}{}}{162}% -\contentsline {egmass}{{Exercise}{9.{1}}{}}{166}% -\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{167}% -\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{167}% -\contentsline {ardmass}{{Arduino Code}{9.{3}}{}}{167}% -\contentsline {egmass}{{Exercise}{9.{2}}{}}{170}% -\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{171}% -\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{171}% -\contentsline {codemass}{{Scilab Code}{9.{3}}{}}{171}% -\contentsline {egmass}{{Exercise}{9.{3}}{}}{173}% -\contentsline {pymass}{{Python Code}{9.{1}}{}}{177}% -\contentsline {pymass}{{Python Code}{9.{2}}{}}{178}% -\contentsline {pymass}{{Python Code}{9.{3}}{}}{178}% -\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{180}% -\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{181}% -\contentsline {juliamass}{{Julia Code}{9.{3}}{}}{181}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{182}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{182}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{3}}{}}{183}% -\contentsline {egmass}{{Exercise}{10.{1}}{}}{187}% -\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{187}% -\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{188}% -\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{188}% -\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{189}% -\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{190}% -\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{190}% -\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{191}% -\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{191}% -\contentsline {pymass}{{Python Code}{10.{1}}{}}{197}% -\contentsline {pymass}{{Python Code}{10.{2}}{}}{198}% -\contentsline {pymass}{{Python Code}{10.{3}}{}}{199}% -\contentsline {pymass}{{Python Code}{10.{4}}{}}{200}% -\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{202}% -\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{202}% -\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{203}% -\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{203}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{204}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{205}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{206}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{206}% -\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{221}% -\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{223}% -\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{223}% -\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{223}% -\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{224}% -\contentsline {pymass}{{Python Code}{11.{1}}{}}{224}% -\contentsline {pymass}{{Python Code}{11.{2}}{}}{224}% -\contentsline {pymass}{{Python Code}{11.{3}}{}}{225}% -\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{225}% -\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{225}% -\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{226}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{226}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{226}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{227}% +\contentsline {codemass}{{Scilab Code}{3.{1}}{}}{34}% +\contentsline {pymass}{{Python Code}{3.{1}}{}}{46}% +\contentsline {juliamass}{{Julia Code}{3.{1}}{}}{55}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{3.{1}}{}}{65}% +\contentsline {egmass}{{Exercise}{4.{1}}{}}{71}% +\contentsline {ardmass}{{Arduino Code}{4.{1}}{}}{72}% +\contentsline {ardmass}{{Arduino Code}{4.{2}}{}}{72}% +\contentsline {ardmass}{{Arduino Code}{4.{3}}{}}{73}% +\contentsline {ardmass}{{Arduino Code}{4.{4}}{}}{73}% +\contentsline {egmass}{{Exercise}{4.{2}}{}}{75}% +\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{75}% +\contentsline {codemass}{{Scilab Code}{4.{2}}{}}{75}% +\contentsline {codemass}{{Scilab Code}{4.{3}}{}}{76}% +\contentsline {codemass}{{Scilab Code}{4.{4}}{}}{76}% +\contentsline {egmass}{{Exercise}{4.{3}}{}}{79}% +\contentsline {egmass}{{Exercise}{4.{4}}{}}{83}% +\contentsline {pymass}{{Python Code}{4.{1}}{}}{83}% +\contentsline {pymass}{{Python Code}{4.{2}}{}}{84}% +\contentsline {pymass}{{Python Code}{4.{3}}{}}{84}% +\contentsline {pymass}{{Python Code}{4.{4}}{}}{85}% +\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{88}% +\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{88}% +\contentsline {juliamass}{{Julia Code}{4.{3}}{}}{88}% +\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{88}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{91}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{91}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{92}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{93}% +\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{99}% +\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{99}% +\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{101}% +\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{101}% +\contentsline {egmass}{{Exercise}{5.{1}}{}}{103}% +\contentsline {pymass}{{Python Code}{5.{1}}{}}{105}% +\contentsline {pymass}{{Python Code}{5.{2}}{}}{105}% +\contentsline {juliamass}{{Julia Code}{5.{1}}{}}{107}% +\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{108}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{108}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{109}% +\contentsline {egmass}{{Exercise}{6.{1}}{}}{115}% +\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{115}% +\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{116}% +\contentsline {egmass}{{Exercise}{6.{2}}{}}{117}% +\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{117}% +\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{118}% +\contentsline {egmass}{{Exercise}{6.{3}}{}}{121}% +\contentsline {pymass}{{Python Code}{6.{1}}{}}{122}% +\contentsline {pymass}{{Python Code}{6.{2}}{}}{123}% +\contentsline {egmass}{{Exercise}{6.{4}}{}}{124}% +\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{125}% +\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{125}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{126}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{127}% +\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{132}% +\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{134}% +\contentsline {pymass}{{Python Code}{7.{1}}{}}{137}% +\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{139}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{140}% +\contentsline {egmass}{{Exercise}{8.{1}}{}}{147}% +\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{147}% +\contentsline {ardmass}{{Arduino Code}{8.{2}}{}}{148}% +\contentsline {egmass}{{Exercise}{8.{2}}{}}{149}% +\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{150}% +\contentsline {codemass}{{Scilab Code}{8.{2}}{}}{150}% +\contentsline {pymass}{{Python Code}{8.{1}}{}}{155}% +\contentsline {pymass}{{Python Code}{8.{2}}{}}{156}% +\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{157}% +\contentsline {juliamass}{{Julia Code}{8.{2}}{}}{158}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{159}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{2}}{}}{160}% +\contentsline {egmass}{{Exercise}{9.{1}}{}}{164}% +\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{165}% +\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{165}% +\contentsline {ardmass}{{Arduino Code}{9.{3}}{}}{165}% +\contentsline {egmass}{{Exercise}{9.{2}}{}}{168}% +\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{169}% +\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{169}% +\contentsline {codemass}{{Scilab Code}{9.{3}}{}}{169}% +\contentsline {egmass}{{Exercise}{9.{3}}{}}{171}% +\contentsline {pymass}{{Python Code}{9.{1}}{}}{175}% +\contentsline {pymass}{{Python Code}{9.{2}}{}}{176}% +\contentsline {pymass}{{Python Code}{9.{3}}{}}{176}% +\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{178}% +\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{179}% +\contentsline {juliamass}{{Julia Code}{9.{3}}{}}{179}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{180}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{180}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{3}}{}}{181}% +\contentsline {egmass}{{Exercise}{10.{1}}{}}{185}% +\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{185}% +\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{186}% +\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{186}% +\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{187}% +\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{188}% +\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{188}% +\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{189}% +\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{189}% +\contentsline {pymass}{{Python Code}{10.{1}}{}}{195}% +\contentsline {pymass}{{Python Code}{10.{2}}{}}{196}% +\contentsline {pymass}{{Python Code}{10.{3}}{}}{197}% +\contentsline {pymass}{{Python Code}{10.{4}}{}}{198}% +\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{200}% +\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{200}% +\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{201}% +\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{201}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{202}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{203}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{204}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{204}% +\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{219}% +\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{221}% +\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{221}% +\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{221}% +\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{222}% +\contentsline {pymass}{{Python Code}{11.{1}}{}}{222}% +\contentsline {pymass}{{Python Code}{11.{2}}{}}{222}% +\contentsline {pymass}{{Python Code}{11.{3}}{}}{223}% +\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{223}% +\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{223}% +\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{224}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{224}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{224}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{225}% diff --git a/floss-arduino.toc b/floss-arduino.toc index b4d5968..95b5cd1 100644 --- a/floss-arduino.toc +++ b/floss-arduino.toc @@ -35,174 +35,174 @@ \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.2.6}Firmware}{34}% +\contentsline {section}{\numberline {3.3}Xcos}{35}% \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.3.3}Xcos-Arduino}{40}% +\contentsline {section}{\numberline {3.4}Python}{41}% \contentsline {subsection}{\numberline {3.4.1}Downloading and installing on Windows}{42}% -\contentsline {subsection}{\numberline {3.4.2}Downloading and installing on GNU/Linux Ubuntu}{45}% -\contentsline {subsection}{\numberline {3.4.3}Python Arduino toolbox}{46}% -\contentsline {subsection}{\numberline {3.4.4}Firmware}{47}% -\contentsline {section}{\numberline {3.5}Julia}{48}% -\contentsline {subsection}{\numberline {3.5.1}Downloading and installing on Windows}{48}% -\contentsline {subsection}{\numberline {3.5.2}Downloading and installing GNU/Linux Ubuntu}{52}% -\contentsline {subsection}{\numberline {3.5.3}Julia Arduino toolbox}{55}% -\contentsline {subsection}{\numberline {3.5.4}Firmware}{56}% +\contentsline {subsection}{\numberline {3.4.2}Downloading and installing on GNU/Linux Ubuntu}{44}% +\contentsline {subsection}{\numberline {3.4.3}Python-Arduino toolbox}{45}% +\contentsline {subsection}{\numberline {3.4.4}Firmware}{46}% +\contentsline {section}{\numberline {3.5}Julia}{47}% +\contentsline {subsection}{\numberline {3.5.1}Downloading and installing on Windows}{47}% +\contentsline {subsection}{\numberline {3.5.2}Downloading and installing GNU/Linux Ubuntu}{51}% +\contentsline {subsection}{\numberline {3.5.3}Julia-Arduino toolbox}{55}% +\contentsline {subsection}{\numberline {3.5.4}Firmware}{55}% \contentsline {section}{\numberline {3.6}OpenModelica}{56}% -\contentsline {subsection}{\numberline {3.6.1}Downloading and installing on Windows}{57}% +\contentsline {subsection}{\numberline {3.6.1}Downloading and installing on Windows}{56}% \contentsline {subsection}{\numberline {3.6.2}Downloading and installing on GNU/Linux Ubuntu}{58}% -\contentsline {subsection}{\numberline {3.6.3}Simulating models in OpenModelica}{58}% -\contentsline {subsection}{\numberline {3.6.4}OpenModelica Arduino toolbox}{64}% +\contentsline {subsection}{\numberline {3.6.3}Simulating models in OpenModelica}{59}% +\contentsline {subsection}{\numberline {3.6.4}OpenModelica Arduino toolbox}{61}% \contentsline {subsection}{\numberline {3.6.5}Firmware}{65}% -\contentsline {chapter}{\numberline {4}Interfacing a Light Emitting Diode}{69}% -\contentsline {section}{\numberline {4.1}Preliminaries}{69}% -\contentsline {section}{\numberline {4.2}Connecting an RGB LED with Arduino Uno\ using a breadboard}{71}% -\contentsline {section}{\numberline {4.3}Lighting the LED from the Arduino IDE}{72}% -\contentsline {subsection}{\numberline {4.3.1}Lighting the LED}{72}% -\contentsline {paragraph}{Note:}{73}% -\contentsline {paragraph}{Note:}{73}% -\contentsline {subsection}{\numberline {4.3.2}Arduino Code}{74}% -\contentsline {section}{\numberline {4.4}Lighting the LED from Scilab}{76}% -\contentsline {subsection}{\numberline {4.4.1}Lighting the LED}{76}% -\contentsline {subsection}{\numberline {4.4.2}Scilab Code}{77}% -\contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{78}% -\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{82}% -\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{82}% -\contentsline {subsection}{\numberline {4.6.2}Python Code}{85}% -\contentsline {section}{\numberline {4.7}Lighting the LED from Julia}{88}% -\contentsline {subsection}{\numberline {4.7.1}Lighting the LED}{88}% -\contentsline {subsection}{\numberline {4.7.2}Julia Code}{90}% -\contentsline {section}{\numberline {4.8}Lighting the LED from OpenModelica}{91}% -\contentsline {subsection}{\numberline {4.8.1}Lighting the LED}{91}% -\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{93}% -\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{97}% -\contentsline {section}{\numberline {5.1}Preliminaries}{97}% -\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{97}% -\contentsline {section}{\numberline {5.3}Reading the Pushbutton Status from the Arduino IDE}{100}% -\contentsline {subsection}{\numberline {5.3.1}Reading the Pushbutton Status}{100}% -\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{101}% -\contentsline {section}{\numberline {5.4}Reading the Pushbutton Status from Scilab}{102}% -\contentsline {subsection}{\numberline {5.4.1}Reading the Pushbutton Status}{102}% -\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{103}% -\contentsline {section}{\numberline {5.5}Accessing the Pushbutton from Xcos}{103}% -\contentsline {section}{\numberline {5.6}Reading the Pushbutton Status from Python}{106}% -\contentsline {subsection}{\numberline {5.6.1}Reading the Pushbutton Status}{106}% -\contentsline {subsection}{\numberline {5.6.2}Python Code}{107}% -\contentsline {section}{\numberline {5.7}Reading the Pushbutton Status from Julia}{109}% -\contentsline {subsection}{\numberline {5.7.1}Reading the Pushbutton Status}{109}% -\contentsline {subsection}{\numberline {5.7.2}Julia Code}{109}% -\contentsline {section}{\numberline {5.8}Reading the Pushbutton Status from OpenModelica}{110}% -\contentsline {subsection}{\numberline {5.8.1}Reading the Pushbutton Status}{110}% -\contentsline {subsection}{\numberline {5.8.2}OpenModelica Code}{110}% -\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{113}% -\contentsline {section}{\numberline {6.1}Preliminaries}{113}% -\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{115}% -\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{116}% -\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{116}% -\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{117}% -\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{118}% -\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{118}% -\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{119}% -\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{120}% -\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{122}% -\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{122}% -\contentsline {subsection}{\numberline {6.6.2}Python Code}{124}% -\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{126}% -\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{126}% -\contentsline {subsection}{\numberline {6.7.2}Julia Code}{127}% -\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{127}% -\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{127}% -\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{128}% -\contentsline {chapter}{\numberline {7}Interfacing a Potentiometer}{131}% -\contentsline {section}{\numberline {7.1}Preliminaries}{131}% -\contentsline {section}{\numberline {7.2}Connecting a potentiometer with Arduino Uno\ using a breadboard}{132}% -\contentsline {section}{\numberline {7.3}Reading the potentiometer from the Arduino IDE}{133}% -\contentsline {subsection}{\numberline {7.3.1}Reading the potentiometer}{133}% -\contentsline {subsection}{\numberline {7.3.2}Arduino Code}{134}% -\contentsline {section}{\numberline {7.4}Reading the potentiometer from Scilab}{135}% -\contentsline {subsection}{\numberline {7.4.1}Reading the potentiometer}{135}% -\contentsline {subsection}{\numberline {7.4.2}Scilab Code}{136}% -\contentsline {section}{\numberline {7.5}Reading the potentiometer from Xcos}{136}% -\contentsline {paragraph}{Exercise:}{137}% -\contentsline {section}{\numberline {7.6}Reading the potentiometer from Python}{137}% -\contentsline {subsection}{\numberline {7.6.1}Reading the potentiometer}{137}% -\contentsline {subsection}{\numberline {7.6.2}Python Code}{139}% -\contentsline {section}{\numberline {7.7}Reading the potentiometer from Julia}{140}% -\contentsline {subsection}{\numberline {7.7.1}Reading the potentiometer}{140}% -\contentsline {subsection}{\numberline {7.7.2}Julia Code}{141}% -\contentsline {section}{\numberline {7.8}Reading the potentiometer from OpenModelica}{141}% -\contentsline {subsection}{\numberline {7.8.1}Reading the potentiometer}{141}% -\contentsline {subsection}{\numberline {7.8.2}OpenModelica Code}{142}% -\contentsline {chapter}{\numberline {8}Interfacing a Thermistor}{145}% -\contentsline {section}{\numberline {8.1}Preliminaries}{145}% -\contentsline {section}{\numberline {8.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{146}% -\contentsline {section}{\numberline {8.3}Interfacing the Thermistor from the Arduino IDE}{148}% -\contentsline {subsection}{\numberline {8.3.1}Interfacing the Thermistor}{148}% -\contentsline {subsection}{\numberline {8.3.2}Arduino Code}{149}% -\contentsline {section}{\numberline {8.4}Interfacing the Thermistor from Scilab}{150}% -\contentsline {subsection}{\numberline {8.4.1}Interfacing the Thermistor}{150}% -\contentsline {subsection}{\numberline {8.4.2}Scilab Code}{152}% -\contentsline {section}{\numberline {8.5}Interfacing the Thermistor from Xcos}{153}% -\contentsline {section}{\numberline {8.6}Interfacing the Thermistor from Python}{156}% -\contentsline {subsection}{\numberline {8.6.1}Interfacing the Thermistor}{156}% -\contentsline {subsection}{\numberline {8.6.2}Python Code}{157}% -\contentsline {section}{\numberline {8.7}Interfacing the Thermistor from Julia}{159}% -\contentsline {subsection}{\numberline {8.7.1}Interfacing the Thermistor}{159}% -\contentsline {subsection}{\numberline {8.7.2}Julia Code}{159}% -\contentsline {section}{\numberline {8.8}Interfacing the Thermistor from OpenModelica}{160}% -\contentsline {subsection}{\numberline {8.8.1}Interfacing the Thermistor}{160}% -\contentsline {subsection}{\numberline {8.8.2}OpenModelica Code}{161}% -\contentsline {chapter}{\numberline {9}Controlling a DC motor}{163}% -\contentsline {section}{\numberline {9.1}Preliminaries}{163}% -\contentsline {section}{\numberline {9.2}Controlling the DC motor from Arduino}{165}% -\contentsline {subsection}{\numberline {9.2.1}Controlling the DC motor}{165}% -\contentsline {subsection}{\numberline {9.2.2}Arduino Code}{167}% -\contentsline {section}{\numberline {9.3}Controlling the DC motor from Scilab}{168}% -\contentsline {subsection}{\numberline {9.3.1}Initialization}{168}% -\contentsline {subsection}{\numberline {9.3.2}Rotation for a specified time}{169}% -\contentsline {subsection}{\numberline {9.3.3}Using the capabilities of Scilab}{170}% -\contentsline {subsection}{\numberline {9.3.4}Scilab Code}{171}% -\contentsline {section}{\numberline {9.4}Controlling the DC Motor from Xcos}{172}% -\contentsline {section}{\numberline {9.5}Controlling the DC Motor from Python}{175}% -\contentsline {subsection}{\numberline {9.5.1}Controlling the DC Motor}{175}% -\contentsline {subsection}{\numberline {9.5.2}Python Code}{177}% -\contentsline {section}{\numberline {9.6}Controlling the DC Motor from Julia}{180}% -\contentsline {subsection}{\numberline {9.6.1}Controlling the DC Motor}{180}% -\contentsline {subsection}{\numberline {9.6.2}Julia Code}{180}% -\contentsline {section}{\numberline {9.7}Controlling the DC Motor from OpenModelica}{181}% -\contentsline {subsection}{\numberline {9.7.1}Controlling the DC Motor}{181}% -\contentsline {subsection}{\numberline {9.7.2}OpenModelica Code}{182}% -\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{185}% -\contentsline {section}{\numberline {10.1}Preliminaries}{185}% -\contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{186}% -\contentsline {subsection}{\numberline {10.2.1}Controlling the Servometer}{186}% -\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{187}% -\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{189}% -\contentsline {subsection}{\numberline {10.3.1}Controlling the Servomotor}{189}% -\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{190}% -\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{191}% -\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{196}% -\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{196}% -\contentsline {subsection}{\numberline {10.5.2}Python Code}{197}% -\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{201}% -\contentsline {subsection}{\numberline {10.6.1}Controlling the Servomotor}{201}% -\contentsline {subsection}{\numberline {10.6.2}Julia Code}{202}% -\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{203}% -\contentsline {subsection}{\numberline {10.7.1}Controlling the Servomotor}{203}% -\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{204}% -\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{209}% -\contentsline {section}{\numberline {11.1}Preliminaries}{209}% -\contentsline {section}{\numberline {11.2}Objective}{214}% -\contentsline {section}{\numberline {11.3}Energy Meter set up for Modbus protocol with Arduino Uno}{214}% -\contentsline {section}{\numberline {11.4}Software}{215}% -\contentsline {section}{\numberline {11.5}Output}{216}% -\contentsline {section}{\numberline {11.6}Reading Parameters from Xcos}{218}% -\contentsline {section}{\numberline {11.7}Code}{221}% -\contentsline {subsection}{\numberline {11.7.1}Arduino Code}{221}% -\contentsline {subsection}{\numberline {11.7.2}Scilab Code}{223}% -\contentsline {subsection}{\numberline {11.7.3}Python Code}{224}% -\contentsline {subsection}{\numberline {11.7.4}Julia Code}{225}% -\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{226}% -\contentsline {chapter}{\numberline {References}}{229}% +\contentsline {chapter}{\numberline {4}Interfacing a Light Emitting Diode}{67}% +\contentsline {section}{\numberline {4.1}Preliminaries}{67}% +\contentsline {section}{\numberline {4.2}Connecting an RGB LED with Arduino Uno\ using a breadboard}{69}% +\contentsline {section}{\numberline {4.3}Lighting the LED from the Arduino IDE}{70}% +\contentsline {subsection}{\numberline {4.3.1}Lighting the LED}{70}% +\contentsline {paragraph}{Note:}{71}% +\contentsline {paragraph}{Note:}{71}% +\contentsline {subsection}{\numberline {4.3.2}Arduino Code}{72}% +\contentsline {section}{\numberline {4.4}Lighting the LED from Scilab}{74}% +\contentsline {subsection}{\numberline {4.4.1}Lighting the LED}{74}% +\contentsline {subsection}{\numberline {4.4.2}Scilab Code}{75}% +\contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{76}% +\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{80}% +\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{80}% +\contentsline {subsection}{\numberline {4.6.2}Python Code}{83}% +\contentsline {section}{\numberline {4.7}Lighting the LED from Julia}{86}% +\contentsline {subsection}{\numberline {4.7.1}Lighting the LED}{86}% +\contentsline {subsection}{\numberline {4.7.2}Julia Code}{88}% +\contentsline {section}{\numberline {4.8}Lighting the LED from OpenModelica}{89}% +\contentsline {subsection}{\numberline {4.8.1}Lighting the LED}{89}% +\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{91}% +\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{95}% +\contentsline {section}{\numberline {5.1}Preliminaries}{95}% +\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{95}% +\contentsline {section}{\numberline {5.3}Reading the Pushbutton Status from the Arduino IDE}{98}% +\contentsline {subsection}{\numberline {5.3.1}Reading the Pushbutton Status}{98}% +\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{99}% +\contentsline {section}{\numberline {5.4}Reading the Pushbutton Status from Scilab}{100}% +\contentsline {subsection}{\numberline {5.4.1}Reading the Pushbutton Status}{100}% +\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{101}% +\contentsline {section}{\numberline {5.5}Accessing the Pushbutton from Xcos}{101}% +\contentsline {section}{\numberline {5.6}Reading the Pushbutton Status from Python}{104}% +\contentsline {subsection}{\numberline {5.6.1}Reading the Pushbutton Status}{104}% +\contentsline {subsection}{\numberline {5.6.2}Python Code}{105}% +\contentsline {section}{\numberline {5.7}Reading the Pushbutton Status from Julia}{107}% +\contentsline {subsection}{\numberline {5.7.1}Reading the Pushbutton Status}{107}% +\contentsline {subsection}{\numberline {5.7.2}Julia Code}{107}% +\contentsline {section}{\numberline {5.8}Reading the Pushbutton Status from OpenModelica}{108}% +\contentsline {subsection}{\numberline {5.8.1}Reading the Pushbutton Status}{108}% +\contentsline {subsection}{\numberline {5.8.2}OpenModelica Code}{108}% +\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{111}% +\contentsline {section}{\numberline {6.1}Preliminaries}{111}% +\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{113}% +\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{114}% +\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{114}% +\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{115}% +\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{116}% +\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{116}% +\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{117}% +\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{118}% +\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{120}% +\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{120}% +\contentsline {subsection}{\numberline {6.6.2}Python Code}{122}% +\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{124}% +\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{124}% +\contentsline {subsection}{\numberline {6.7.2}Julia Code}{125}% +\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{125}% +\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{125}% +\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{126}% +\contentsline {chapter}{\numberline {7}Interfacing a Potentiometer}{129}% +\contentsline {section}{\numberline {7.1}Preliminaries}{129}% +\contentsline {section}{\numberline {7.2}Connecting a potentiometer with Arduino Uno\ using a breadboard}{130}% +\contentsline {section}{\numberline {7.3}Reading the potentiometer from the Arduino IDE}{131}% +\contentsline {subsection}{\numberline {7.3.1}Reading the potentiometer}{131}% +\contentsline {subsection}{\numberline {7.3.2}Arduino Code}{132}% +\contentsline {section}{\numberline {7.4}Reading the potentiometer from Scilab}{133}% +\contentsline {subsection}{\numberline {7.4.1}Reading the potentiometer}{133}% +\contentsline {subsection}{\numberline {7.4.2}Scilab Code}{134}% +\contentsline {section}{\numberline {7.5}Reading the potentiometer from Xcos}{134}% +\contentsline {paragraph}{Exercise:}{135}% +\contentsline {section}{\numberline {7.6}Reading the potentiometer from Python}{135}% +\contentsline {subsection}{\numberline {7.6.1}Reading the potentiometer}{135}% +\contentsline {subsection}{\numberline {7.6.2}Python Code}{137}% +\contentsline {section}{\numberline {7.7}Reading the potentiometer from Julia}{138}% +\contentsline {subsection}{\numberline {7.7.1}Reading the potentiometer}{138}% +\contentsline {subsection}{\numberline {7.7.2}Julia Code}{139}% +\contentsline {section}{\numberline {7.8}Reading the potentiometer from OpenModelica}{139}% +\contentsline {subsection}{\numberline {7.8.1}Reading the potentiometer}{139}% +\contentsline {subsection}{\numberline {7.8.2}OpenModelica Code}{140}% +\contentsline {chapter}{\numberline {8}Interfacing a Thermistor}{143}% +\contentsline {section}{\numberline {8.1}Preliminaries}{143}% +\contentsline {section}{\numberline {8.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{144}% +\contentsline {section}{\numberline {8.3}Interfacing the Thermistor from the Arduino IDE}{146}% +\contentsline {subsection}{\numberline {8.3.1}Interfacing the Thermistor}{146}% +\contentsline {subsection}{\numberline {8.3.2}Arduino Code}{147}% +\contentsline {section}{\numberline {8.4}Interfacing the Thermistor from Scilab}{148}% +\contentsline {subsection}{\numberline {8.4.1}Interfacing the Thermistor}{148}% +\contentsline {subsection}{\numberline {8.4.2}Scilab Code}{150}% +\contentsline {section}{\numberline {8.5}Interfacing the Thermistor from Xcos}{151}% +\contentsline {section}{\numberline {8.6}Interfacing the Thermistor from Python}{154}% +\contentsline {subsection}{\numberline {8.6.1}Interfacing the Thermistor}{154}% +\contentsline {subsection}{\numberline {8.6.2}Python Code}{155}% +\contentsline {section}{\numberline {8.7}Interfacing the Thermistor from Julia}{157}% +\contentsline {subsection}{\numberline {8.7.1}Interfacing the Thermistor}{157}% +\contentsline {subsection}{\numberline {8.7.2}Julia Code}{157}% +\contentsline {section}{\numberline {8.8}Interfacing the Thermistor from OpenModelica}{158}% +\contentsline {subsection}{\numberline {8.8.1}Interfacing the Thermistor}{158}% +\contentsline {subsection}{\numberline {8.8.2}OpenModelica Code}{159}% +\contentsline {chapter}{\numberline {9}Controlling a DC motor}{161}% +\contentsline {section}{\numberline {9.1}Preliminaries}{161}% +\contentsline {section}{\numberline {9.2}Controlling the DC motor from Arduino}{163}% +\contentsline {subsection}{\numberline {9.2.1}Controlling the DC motor}{163}% +\contentsline {subsection}{\numberline {9.2.2}Arduino Code}{165}% +\contentsline {section}{\numberline {9.3}Controlling the DC motor from Scilab}{166}% +\contentsline {subsection}{\numberline {9.3.1}Initialization}{166}% +\contentsline {subsection}{\numberline {9.3.2}Rotation for a specified time}{167}% +\contentsline {subsection}{\numberline {9.3.3}Using the capabilities of Scilab}{168}% +\contentsline {subsection}{\numberline {9.3.4}Scilab Code}{169}% +\contentsline {section}{\numberline {9.4}Controlling the DC Motor from Xcos}{170}% +\contentsline {section}{\numberline {9.5}Controlling the DC Motor from Python}{173}% +\contentsline {subsection}{\numberline {9.5.1}Controlling the DC Motor}{173}% +\contentsline {subsection}{\numberline {9.5.2}Python Code}{175}% +\contentsline {section}{\numberline {9.6}Controlling the DC Motor from Julia}{178}% +\contentsline {subsection}{\numberline {9.6.1}Controlling the DC Motor}{178}% +\contentsline {subsection}{\numberline {9.6.2}Julia Code}{178}% +\contentsline {section}{\numberline {9.7}Controlling the DC Motor from OpenModelica}{179}% +\contentsline {subsection}{\numberline {9.7.1}Controlling the DC Motor}{179}% +\contentsline {subsection}{\numberline {9.7.2}OpenModelica Code}{180}% +\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{183}% +\contentsline {section}{\numberline {10.1}Preliminaries}{183}% +\contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{184}% +\contentsline {subsection}{\numberline {10.2.1}Controlling the Servometer}{184}% +\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{185}% +\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{187}% +\contentsline {subsection}{\numberline {10.3.1}Controlling the Servomotor}{187}% +\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{188}% +\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{189}% +\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{194}% +\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{194}% +\contentsline {subsection}{\numberline {10.5.2}Python Code}{195}% +\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{199}% +\contentsline {subsection}{\numberline {10.6.1}Controlling the Servomotor}{199}% +\contentsline {subsection}{\numberline {10.6.2}Julia Code}{200}% +\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{201}% +\contentsline {subsection}{\numberline {10.7.1}Controlling the Servomotor}{201}% +\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{202}% +\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{207}% +\contentsline {section}{\numberline {11.1}Preliminaries}{207}% +\contentsline {section}{\numberline {11.2}Objective}{212}% +\contentsline {section}{\numberline {11.3}Energy Meter set up for Modbus protocol with Arduino Uno}{212}% +\contentsline {section}{\numberline {11.4}Software}{213}% +\contentsline {section}{\numberline {11.5}Output}{214}% +\contentsline {section}{\numberline {11.6}Reading Parameters from Xcos}{216}% +\contentsline {section}{\numberline {11.7}Code}{219}% +\contentsline {subsection}{\numberline {11.7.1}Arduino Code}{219}% +\contentsline {subsection}{\numberline {11.7.2}Scilab Code}{221}% +\contentsline {subsection}{\numberline {11.7.3}Python Code}{222}% +\contentsline {subsection}{\numberline {11.7.4}Julia Code}{223}% +\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{224}% +\contentsline {chapter}{\numberline {References}}{227}% diff --git a/tools/openmodelica/test_firmware.mo b/tools/openmodelica/test_firmware.mo deleted file mode 100644 index fabe1ca..0000000 --- a/tools/openmodelica/test_firmware.mo +++ /dev/null @@ -1,20 +0,0 @@ -model test_firmware "Testing SerialCommunication with Arduino" - -import sComm=Arduino.SerialCommunication.Functions; -Integer h(fixed = false); -Integer byte_read(fixed = false); -//String str(fixed =false); -Integer wr(fixed =false); -Integer c_OK(fixed =false); -algorithm - when initial() then - h:=sComm.open_serial(1,2,115200); - sComm.delay(2000); - wr:=sComm.write_serial(1,"v",1); - byte_read:= sComm.read_serial(1,2); - c_OK := sComm.close_serial(1) "To close the connection safely"; - end when; - annotation( - experiment(StartTime = 0, StopTime = 50, Tolerance = 1e-6, Interval = 10)); - -end test_firmware; diff --git a/user-code/led/OpenModelica/led-blue-delay.mo b/user-code/led/OpenModelica/led-blue-delay.mo index 1427216..d72bec7 100644 --- a/user-code/led/OpenModelica/led-blue-delay.mo +++ b/user-code/led/OpenModelica/led-blue-delay.mo @@ -15,7 +15,6 @@ algorithm digital_out := sComm.cmd_digital_out(1, 9, 1) "This will turn the blue LED"; sComm.delay(2000) "let the blue LED be on for two seconds"; digital_out := sComm.cmd_digital_out(1, 9, 0) "turn off blue LED"; - sComm.delay(2000) "let the blue LED be off for two seconds"; end if; strm.print(String(time)); c_ok := sComm.close_serial(1) "To close the connection safely"; diff --git a/user-code/led/figures/arduino-new-shield.jpeg b/user-code/led/figures/arduino-new-shield.jpeg Binary files differnew file mode 100644 index 0000000..c1d70c1 --- /dev/null +++ b/user-code/led/figures/arduino-new-shield.jpeg diff --git a/user-code/led/led.tex b/user-code/led/led.tex index abd4ac5..85ed6ea 100644 --- a/user-code/led/led.tex +++ b/user-code/led/led.tex @@ -76,7 +76,7 @@ putting a high voltage on the corresponding anode pin. \begin{figure}
\centering
- \includegraphics[width=\smfig]{\LocLEDfig/arduino-shield.JPG}
+ \includegraphics[width=\lgfig]{\LocLEDfig/arduino-new-shield.jpeg}
\caption{Connecting \arduino\ and shield}
\label{fig:uno-shield-connect}
\end{figure}
@@ -900,7 +900,7 @@ available inside the OpenModelica-Arduino toolbox, as explained in \secref{sec:l \addtocontents{OpenModelicad}{\protect\addvspace{\codclr}}
\begin{OpenModelicacode}
- \mcaption{Turning on the LED}
+ \mcaption{Turning on the blue LED}
{Turning on the blue LED. Available at Arduino -> SerialCommunication ->
Examples -> led -> led\_blue.}
\label{OpenModelica:led-blue}
diff --git a/user-code/sw-env/sw-env.tex b/user-code/sw-env/sw-env.tex index e027997..8b01024 100644 --- a/user-code/sw-env/sw-env.tex +++ b/user-code/sw-env/sw-env.tex @@ -406,7 +406,7 @@ 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.
+thirteenth tutorials, i.e., {\tt Getting Started} and {\tt Xcos Introduction}.
\subsection{Downloading and installing on Windows}\label{scilab-installation-windows}
@@ -486,15 +486,18 @@ Let us now see how to load the Scilab Arduino toolbox. start \scilab\ through a terminal with root permissions, as
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
- \figref{scilab-cd}.
- \begin{figure}
- \centering
- \includegraphics[width=\linewidth]{\LocSWfig/change-directory.png}
- \caption{Changing scilab directory}
- \label{scilab-cd}
- \end{figure}
+ directory. Below the menu bar, locate the tab called {\tt File Browser}.
+ Just below {\tt File Browser}, locate a folder-shaped icon.
+ This icon is used to {\tt Select a directory}. Click on this icon.
+ % click on the {\tt File} menu and then click on
+ % the {\tt Change current directory} option as shown in
+ % \figref{scilab-cd}.
+ % \begin{figure}
+ % \centering
+ % \includegraphics[width=\linewidth]{\LocSWfig/change-directory.png}
+ % \caption{Changing scilab directory}
+ % \label{scilab-cd}
+ % \end{figure}
\item Then, one has to browse to the toolbox folder
{\tt Origin/tools/scilab/windows} or {\tt Origin/tools/scilab/linux}, as the case
may be, and click on, {\tt
@@ -1076,11 +1079,11 @@ below: % \end{enumerate}
-\subsection{Python Arduino toolbox}
+\subsection{Python-Arduino toolbox}
\label{sec:python-toolbox}
Python, by default, does not have the capability to connect to Arduino.
All such add-on functionalities are added to Python using packages.
-The Python Arduino toolbox can be found inside the {\tt Origin/tools/python} directory,
+The Python-Arduino toolbox can be found inside the {\tt Origin/tools/python} directory,
see \fnrefp{fn:file-loc}. This toolbox is compatible for both of the operating systems: Windows and Linux.
The Python scripts (or codes) for various experiments mentioned throughout this book can be found in
{\tt Origin/user-code} directory. The {\tt user-code} directory will have many sub-directories as per the experiments.
@@ -1340,7 +1343,7 @@ list of packages installed in Julia's environment. Please make sure that SerialP is present in the list of packages being shown. To exit the interactive session, type CTRL+D or type {\tt exit()}.
-\subsection{Julia Arduino toolbox}
+\subsection{Julia-Arduino toolbox}
\label{sec:julia-toolbox}
Julia, by default, does not have the capability to connect to Arduino.
All such add-on functionalities are added to Julia using toolboxes.
@@ -1402,7 +1405,7 @@ In the upcoming sections, we have provided the steps to install OpenModelica on After installing OpenModelica, the readers should watch the tutorials on OpenModelica provided on
{\tt https://spoken-tutorial.org/}. Ideally, one should go through all the tutorials labeled as Basic.
However, we strongly recommend the readers should watch the second and third tutorials, i.e.,
-Introduction to OMEdit and Examples through OMEdit.
+{\tt Introduction to OMEdit} and {\tt Examples through OMEdit}.
\subsection{Downloading and installing on Windows} \label{openmodelica-install-windows}
@@ -1633,7 +1636,7 @@ in \ardref{ard:firmware} on the \arduino\ board. \mcaption{An OpenModelica code to check whether the firmware is properly installed
or not}{An OpenModelica code/model to check whether the firmware is properly installed
or not. Available at \LocFIMOpenModelicabrief{test\_firmware.mo}. Locate this file
- inside OpenModelica-Arduino toolbox, as explained in \secref{load-om-toolbox}. Simulate this code/model by following the steps
+ inside OpenModelica-Arduino toolbox, as explained in \secref{sec:load-om-toolbox}. Simulate this code/model by following the steps
given in \secref{OpenModelica-code-execution}. If the simulation is
successful, you should expect an output window in OMEdit as shown in
\figref{om-sim-success}.}
|