diff options
author | SudhakarKuma | 2021-04-12 08:39:30 +0530 |
---|---|---|
committer | SudhakarKuma | 2021-04-12 08:39:30 +0530 |
commit | e76fcc6b956eed9fdbf3cacfbb3e376fb48321c0 (patch) | |
tree | 5fff079e0f78fb3598fe11af495a11c982c0b3ea | |
parent | 11e2114d34c71328875c275b2cafae224248b5a1 (diff) | |
download | FLOSS-Arduino-Book-e76fcc6b956eed9fdbf3cacfbb3e376fb48321c0.tar.gz FLOSS-Arduino-Book-e76fcc6b956eed9fdbf3cacfbb3e376fb48321c0.tar.bz2 FLOSS-Arduino-Book-e76fcc6b956eed9fdbf3cacfbb3e376fb48321c0.zip |
Add Julia installation
-rw-r--r-- | bibliography.bib | 11 | ||||
-rw-r--r-- | floss-arduino.OpenModelicad | 44 | ||||
-rw-r--r-- | floss-arduino.ard | 38 | ||||
-rw-r--r-- | floss-arduino.aux | 2440 | ||||
-rw-r--r-- | floss-arduino.bbl | 5 | ||||
-rw-r--r-- | floss-arduino.blg | 42 | ||||
-rw-r--r-- | floss-arduino.cod | 44 | ||||
-rw-r--r-- | floss-arduino.fdb_latexmk | 64 | ||||
-rw-r--r-- | floss-arduino.fls | 6 | ||||
-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 | 148 | ||||
-rw-r--r-- | floss-arduino.log | 609 | ||||
-rw-r--r-- | floss-arduino.lot | 66 | ||||
-rw-r--r-- | floss-arduino.pdf | bin | 24670471 -> 24757082 bytes | |||
-rw-r--r-- | floss-arduino.pyd | 42 | ||||
-rw-r--r-- | floss-arduino.thm | 240 | ||||
-rw-r--r-- | floss-arduino.toc | 319 | ||||
-rw-r--r-- | user-code/sw-env/figures/julia-pkg.png | bin | 0 -> 46183 bytes | |||
-rw-r--r-- | user-code/sw-env/figures/julia-terminal-repl.png | bin | 0 -> 50976 bytes | |||
-rw-r--r-- | user-code/sw-env/sw-env.tex | 171 |
22 files changed, 2275 insertions, 2078 deletions
diff --git a/bibliography.bib b/bibliography.bib index 72d4c71..05af3f7 100644 --- a/bibliography.bib +++ b/bibliography.bib @@ -174,3 +174,14 @@ note = {Seen on 2 April 2021}, OPTannote = {} } +@Misc{julia-ref, +OPTkey = {}, +author = {}, +title = {julialang.org/}, +howpublished = {https://julialang.org/}, +OPTmonth = {}, +year = {}, +note = {Seen on 12 April 2021}, +OPTannote = {} +} + diff --git a/floss-arduino.OpenModelicad b/floss-arduino.OpenModelicad index ba112a3..ae8b6db 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}{54}% +\contentsline {section}{\numberline {3.{1}}An OpenModelica code to check whether the firmware is properly installed or not}{59}% \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the LED}{79}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{79}% -\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{80}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{81}% +\contentsline {section}{\numberline {4.{1}}Turning on the LED}{85}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{85}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{86}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{87}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{96}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{97}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{102}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{103}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{114}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{115}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{120}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{121}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{136}% -\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{136}% -\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{137}% +\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{142}% +\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{142}% +\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{143}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{150}% +\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{156}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{169}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{170}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{175}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{176}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{190}% -\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{191}% -\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{192}% -\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{192}% +\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{196}% +\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{197}% +\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{198}% +\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{198}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{212}% -\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{212}% -\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{213}% +\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{218}% +\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{218}% +\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{219}% diff --git a/floss-arduino.ard b/floss-arduino.ard index 9935b88..5e1babe 100644 --- a/floss-arduino.ard +++ b/floss-arduino.ard @@ -1,28 +1,28 @@ \contentsline {section}{\numberline {3.{1}}First 10 lines of the Arduino firmware}{25}% \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{60}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{60}% -\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{61}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{61}% +\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{66}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{66}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{67}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{67}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{87}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{87}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{93}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{93}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{103}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{104}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{109}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{110}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{121}% -\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{121}% -\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{121}% +\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{127}% +\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{127}% +\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{127}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{142}% +\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{148}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{157}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{158}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{163}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{164}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{173}% -\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{174}% -\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in increments}{174}% -\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{175}% +\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{179}% +\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{180}% +\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in increments}{180}% +\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{181}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{207}% +\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{213}% diff --git a/floss-arduino.aux b/floss-arduino.aux index 51a97f3..fb4650c 100644 --- a/floss-arduino.aux +++ b/floss-arduino.aux @@ -200,1294 +200,1301 @@ \newlabel{11@vr}{{}{42}} \newlabel{py:test-firmware}{{3.{1}}{42}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{42}\protected@file@percent } +\citation{julia-ref} \@writefile{toc}{\contentsline {section}{\numberline {3.5}Julia}{43}\protected@file@percent } \newlabel{sec:julia-start}{{3.5}{43}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.5.1}Downloading and installing Julia}{43}\protected@file@percent } \newlabel{julia-installation}{{3.5.1}{43}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.2}Downloading and installing Juno IDE}{44}\protected@file@percent } -\newlabel{juno-ide-installation}{{3.5.2}{44}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.25}{\ignorespaces Linux terminal to launch Julia\relax }}{45}\protected@file@percent } -\newlabel{julia-terminal}{{3.25}{45}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.26}{\ignorespaces Linux Atom Text Editor\relax }}{46}\protected@file@percent } -\newlabel{atom-lunch}{{3.26}{46}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.3}Julia Arduino toolbox}{46}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.4}Using the serial port package}{47}\protected@file@percent } -\citation{om-ref} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.5}Firmware}{48}\protected@file@percent } -\newlabel{sec:test-firmware-julia}{{3.5.5}{48}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.25}{\ignorespaces Linux terminal to launch Julia REPL\relax }}{45}\protected@file@percent } +\newlabel{julia-repl}{{3.25}{45}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.26}{\ignorespaces Linux terminal to enter Pkg REPL in Julia\relax }}{46}\protected@file@percent } +\newlabel{julia-pkg}{{3.26}{46}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.2}Executing source files in Julia}{46}\protected@file@percent } +\newlabel{julia-execution}{{3.5.2}{46}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.3}Downloading and installing Juno IDE}{48}\protected@file@percent } +\newlabel{juno-ide-installation}{{3.5.3}{48}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.27}{\ignorespaces Linux terminal to launch Julia\relax }}{49}\protected@file@percent } +\newlabel{julia-terminal}{{3.27}{49}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.4}Julia Arduino toolbox}{49}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {3.28}{\ignorespaces Linux Atom Text Editor\relax }}{50}\protected@file@percent } +\newlabel{atom-lunch}{{3.28}{50}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.5}Using the serial port package}{50}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.6}Firmware}{51}\protected@file@percent } +\newlabel{sec:test-firmware-julia}{{3.5.6}{51}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{3.{1}}{}}{48}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {3.{1}}A Julia code to check whether the firmware is properly installed or not}{48}\protected@file@percent } -\newlabel{12@xvr}{{}{48}} -\newlabel{12@vr}{{}{48}} -\newlabel{julia:test-firmware}{{3.{1}}{48}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/test\textunderscore firmware.jl}{48}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {3.6}OpenModelica}{48}\protected@file@percent } -\newlabel{sec:OpenModelica-start}{{3.6}{48}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.1}Downloading and installing OpenModelica}{48}\protected@file@percent } -\newlabel{OpenModelica-installation}{{3.6.1}{48}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{3.{1}}{}}{51}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {3.{1}}A Julia code to check whether the firmware is properly installed or not}{51}\protected@file@percent } +\newlabel{12@xvr}{{}{51}} +\newlabel{12@vr}{{}{51}} +\newlabel{julia:test-firmware}{{3.{1}}{51}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/test\textunderscore firmware.jl}{51}\protected@file@percent } +\citation{om-ref} \citation{om-ref} -\@writefile{lof}{\contentsline {figure}{\numberline {3.27}{\ignorespaces Setup of Modelica Standard Library version\relax }}{49}\protected@file@percent } -\newlabel{om-help}{{3.27}{49}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.2}Simulating models in OpenModelica}{49}\protected@file@percent } -\newlabel{OpenModelica-code-execution}{{3.6.2}{49}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.28}{\ignorespaces User Interface of OMEdit\relax }}{50}\protected@file@percent } -\newlabel{om-ui}{{3.28}{50}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.29}{\ignorespaces Opening a model in OMEdit\relax }}{51}\protected@file@percent } -\newlabel{om-model-open}{{3.29}{51}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.30}{\ignorespaces Opening a model in diagram view in OMEdit\relax }}{51}\protected@file@percent } -\newlabel{om-modeling}{{3.30}{51}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.31}{\ignorespaces Different views of a model in OMEdit\relax }}{52}\protected@file@percent } -\newlabel{om-views}{{3.31}{52}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.32}{\ignorespaces Opening a model in text view in OMEdit\relax }}{52}\protected@file@percent } -\newlabel{om-text-view}{{3.32}{52}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.3}OpenModelica Arduino toolbox}{52}\protected@file@percent } -\newlabel{13@xvr}{{}{52}} -\newlabel{13@vr}{{}{52}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.33}{\ignorespaces Simulating a model in OMEdit\relax }}{53}\protected@file@percent } -\newlabel{om-simulate}{{3.33}{53}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.34}{\ignorespaces Output window of OMEdit\relax }}{53}\protected@file@percent } -\newlabel{om-sim-success}{{3.34}{53}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.4}Firmware}{54}\protected@file@percent } -\newlabel{sec:test-firmware-OpenModelica}{{3.6.4}{54}} +\@writefile{toc}{\contentsline {section}{\numberline {3.6}OpenModelica}{52}\protected@file@percent } +\newlabel{sec:OpenModelica-start}{{3.6}{52}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.1}Downloading and installing OpenModelica}{52}\protected@file@percent } +\newlabel{OpenModelica-installation}{{3.6.1}{52}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.2}Simulating models in OpenModelica}{52}\protected@file@percent } +\newlabel{OpenModelica-code-execution}{{3.6.2}{52}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.29}{\ignorespaces Setup of Modelica Standard Library version\relax }}{53}\protected@file@percent } +\newlabel{om-help}{{3.29}{53}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.30}{\ignorespaces User Interface of OMEdit\relax }}{54}\protected@file@percent } +\newlabel{om-ui}{{3.30}{54}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.31}{\ignorespaces Opening a model in OMEdit\relax }}{55}\protected@file@percent } +\newlabel{om-model-open}{{3.31}{55}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.32}{\ignorespaces Opening a model in diagram view in OMEdit\relax }}{56}\protected@file@percent } +\newlabel{om-modeling}{{3.32}{56}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.33}{\ignorespaces Different views of a model in OMEdit\relax }}{56}\protected@file@percent } +\newlabel{om-views}{{3.33}{56}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.34}{\ignorespaces Opening a model in text view in OMEdit\relax }}{57}\protected@file@percent } +\newlabel{om-text-view}{{3.34}{57}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.35}{\ignorespaces Simulating a model in OMEdit\relax }}{57}\protected@file@percent } +\newlabel{om-simulate}{{3.35}{57}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.36}{\ignorespaces Output window of OMEdit\relax }}{58}\protected@file@percent } +\newlabel{om-sim-success}{{3.36}{58}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.3}OpenModelica Arduino toolbox}{58}\protected@file@percent } +\newlabel{13@xvr}{{}{58}} +\newlabel{13@vr}{{}{58}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.4}Firmware}{59}\protected@file@percent } +\newlabel{sec:test-firmware-OpenModelica}{{3.6.4}{59}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{3.{1}}{}}{54}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {3.{1}}An OpenModelica code to check whether the firmware is properly installed or not}{54}\protected@file@percent } -\newlabel{14@xvr}{{}{54}} -\newlabel{14@vr}{{}{54}} -\newlabel{OpenModelica:test-firmware}{{3.{1}}{54}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/test\textunderscore firmware.mo}{54}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {4}Interfacing a Light Emitting Diode}{55}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{3.{1}}{}}{59}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {3.{1}}An OpenModelica code to check whether the firmware is properly installed or not}{59}\protected@file@percent } +\newlabel{14@xvr}{{}{59}} +\newlabel{14@vr}{{}{59}} +\newlabel{OpenModelica:test-firmware}{{3.{1}}{59}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/test\textunderscore firmware.mo}{59}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {4}Interfacing a Light Emitting Diode}{61}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{led}{{4}{55}} -\@writefile{toc}{\contentsline {section}{\numberline {4.1}Preliminaries}{55}\protected@file@percent } -\newlabel{sec:led-pril}{{4.1}{55}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.1}{\ignorespaces Light Emitting Diode\relax }}{55}\protected@file@percent } -\newlabel{fig:ledsym}{{4.1}{55}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.2}{\ignorespaces Internal connection diagram for LED on the shield\relax }}{56}\protected@file@percent } -\newlabel{fig:ledblock}{{4.2}{56}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.3}{\ignorespaces Connecting Arduino and Shield\relax }}{56}\protected@file@percent } -\newlabel{fig:uno-shield-connect}{{4.3}{56}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.4}{\ignorespaces Interfacing an RGB LED with Arduino Uno using a breadboard\relax }}{57}\protected@file@percent } -\newlabel{fig:ard-rgb-bread}{{4.4}{57}} -\@writefile{toc}{\contentsline {section}{\numberline {4.2}Connecting an RGB LED with Arduino Uno\ using a breadboard}{57}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {4.3}Lighting the LED from the Arduino IDE}{58}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.1}Lighting the LED}{58}\protected@file@percent } -\newlabel{sec:light-ard}{{4.3.1}{58}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{58}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{58}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue\textendash delay/led\textendash blue\textendash delay.ino}{58}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue\textendash delay/led\textendash blue\textendash delay.ino}{58}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{59}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{59}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{1}}{}}{59}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {4.5}{\ignorespaces LED experiments directly on Arduino Uno\ board, without the shield\relax }}{60}\protected@file@percent } -\newlabel{fig:led-uno}{{4.5}{60}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.2}Arduino Code}{60}\protected@file@percent } -\newlabel{sec:led-arduino-code}{{4.3.2}{60}} +\newlabel{led}{{4}{61}} +\@writefile{toc}{\contentsline {section}{\numberline {4.1}Preliminaries}{61}\protected@file@percent } +\newlabel{sec:led-pril}{{4.1}{61}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.1}{\ignorespaces Light Emitting Diode\relax }}{61}\protected@file@percent } +\newlabel{fig:ledsym}{{4.1}{61}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.2}{\ignorespaces Internal connection diagram for LED on the shield\relax }}{62}\protected@file@percent } +\newlabel{fig:ledblock}{{4.2}{62}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.3}{\ignorespaces Connecting Arduino and Shield\relax }}{62}\protected@file@percent } +\newlabel{fig:uno-shield-connect}{{4.3}{62}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.4}{\ignorespaces Interfacing an RGB LED with Arduino Uno using a breadboard\relax }}{63}\protected@file@percent } +\newlabel{fig:ard-rgb-bread}{{4.4}{63}} +\@writefile{toc}{\contentsline {section}{\numberline {4.2}Connecting an RGB LED with Arduino Uno\ using a breadboard}{63}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.3}Lighting the LED from the Arduino IDE}{64}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.1}Lighting the LED}{64}\protected@file@percent } +\newlabel{sec:light-ard}{{4.3.1}{64}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{64}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{64}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue\textendash delay/led\textendash blue\textendash delay.ino}{64}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue\textendash delay/led\textendash blue\textendash delay.ino}{64}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{65}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{65}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{1}}{}}{65}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {4.5}{\ignorespaces LED experiments directly on Arduino Uno\ board, without the shield\relax }}{66}\protected@file@percent } +\newlabel{fig:led-uno}{{4.5}{66}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.2}Arduino Code}{66}\protected@file@percent } +\newlabel{sec:led-arduino-code}{{4.3.2}{66}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{1}}{}}{60}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{60}\protected@file@percent } -\newlabel{15@xvr}{{}{60}} -\newlabel{15@vr}{{}{60}} -\newlabel{ard:led-blue}{{4.{1}}{60}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{60}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{2}}{}}{60}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{60}\protected@file@percent } -\newlabel{16@xvr}{{}{60}} -\newlabel{16@vr}{{}{60}} -\newlabel{ard:led-blue-delay}{{4.{2}}{60}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue\textendash delay/led\textendash blue\textendash delay.ino}{60}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{3}}{}}{61}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{61}\protected@file@percent } -\newlabel{17@xvr}{{}{61}} -\newlabel{17@vr}{{}{61}} -\newlabel{ard:led-blue-red}{{4.{3}}{61}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue\textendash red/led\textendash blue\textendash red.ino}{61}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{4}}{}}{61}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{61}\protected@file@percent } -\newlabel{18@xvr}{{}{61}} -\newlabel{18@vr}{{}{61}} -\newlabel{ard:led-blink}{{4.{4}}{61}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blink/led\textendash blink.ino}{61}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {4.4}Lighting the LED from Scilab}{62}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.4.1}Lighting the LED}{62}\protected@file@percent } -\newlabel{sec:light-sci}{{4.4.1}{62}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{62}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{62}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{63}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash delay.sce}{63}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash delay.sce}{63}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{2}}{}}{63}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.4.2}Scilab Code}{63}\protected@file@percent } -\newlabel{sec:led-scilab-code}{{4.4.2}{63}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{1}}{}}{66}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{66}\protected@file@percent } +\newlabel{15@xvr}{{}{66}} +\newlabel{15@vr}{{}{66}} +\newlabel{ard:led-blue}{{4.{1}}{66}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{66}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{2}}{}}{66}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{66}\protected@file@percent } +\newlabel{16@xvr}{{}{66}} +\newlabel{16@vr}{{}{66}} +\newlabel{ard:led-blue-delay}{{4.{2}}{66}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue\textendash delay/led\textendash blue\textendash delay.ino}{66}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{3}}{}}{67}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{67}\protected@file@percent } +\newlabel{17@xvr}{{}{67}} +\newlabel{17@vr}{{}{67}} +\newlabel{ard:led-blue-red}{{4.{3}}{67}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blue\textendash red/led\textendash blue\textendash red.ino}{67}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{4}}{}}{67}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{67}\protected@file@percent } +\newlabel{18@xvr}{{}{67}} +\newlabel{18@vr}{{}{67}} +\newlabel{ard:led-blink}{{4.{4}}{67}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led\textendash blink/led\textendash blink.ino}{67}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.4}Lighting the LED from Scilab}{68}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.4.1}Lighting the LED}{68}\protected@file@percent } +\newlabel{sec:light-sci}{{4.4.1}{68}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{68}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{68}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{69}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash delay.sce}{69}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash delay.sce}{69}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{2}}{}}{69}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.4.2}Scilab Code}{69}\protected@file@percent } +\newlabel{sec:led-scilab-code}{{4.4.2}{69}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{63}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {4.{1}}Turning on the LED through Scilab}{63}\protected@file@percent } -\newlabel{19@xvr}{{}{63}} -\newlabel{19@vr}{{}{63}} -\newlabel{sci:led-blue}{{4.{1}}{63}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{63}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{2}}{}}{63}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{63}\protected@file@percent } -\newlabel{20@xvr}{{}{63}} -\newlabel{20@vr}{{}{63}} -\newlabel{sci:led-blue-delay}{{4.{2}}{63}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash delay.sce}{64}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{3}}{}}{64}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{64}\protected@file@percent } -\newlabel{21@xvr}{{}{64}} -\newlabel{21@vr}{{}{64}} -\newlabel{sci:led-blue-red}{{4.{3}}{64}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash red.sce}{64}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{4}}{}}{64}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{64}\protected@file@percent } -\newlabel{22@xvr}{{}{64}} -\newlabel{22@vr}{{}{64}} -\newlabel{sci:led-green-blink}{{4.{4}}{64}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash green\textendash blink.sce}{64}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{64}\protected@file@percent } -\newlabel{sec:light-xcos}{{4.5}{64}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.6}{\ignorespaces Turning the blue LED on through Xcos}}{65}\protected@file@percent } -\newlabel{24@xvr}{{}{65}} -\newlabel{24@vr}{{}{65}} -\newlabel{fig:led-blue}{{4.6}{65}} -\@writefile{lot}{\contentsline {table}{\numberline {4.1}{\ignorespaces Parameters to light the blue LED in Xcos\relax }}{65}\protected@file@percent } -\newlabel{tab:led-blue}{{4.1}{65}} -\newlabel{25@xvr}{{}{65}} -\newlabel{25@vr}{{}{65}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{66}\protected@file@percent } -\newlabel{27@xvr}{{}{66}} -\newlabel{27@vr}{{}{66}} -\newlabel{fig:led-blue-delay}{{4.7}{66}} -\@writefile{lot}{\contentsline {table}{\numberline {4.2}{\ignorespaces Parameters to light the blue LED in Xcos for two seconds\relax }}{66}\protected@file@percent } -\newlabel{tab:led-blue-delay}{{4.2}{66}} -\newlabel{28@xvr}{{}{66}} -\newlabel{28@vr}{{}{66}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.8}{\ignorespaces Turning the blue and red LEDs on through Xcos and turning them off one by one}}{67}\protected@file@percent } -\newlabel{30@xvr}{{}{67}} -\newlabel{30@vr}{{}{67}} -\newlabel{fig:led-blue-red}{{4.8}{67}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{3}}{}}{67}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{68}\protected@file@percent } -\newlabel{tab:led-blue-red}{{4.3}{68}} -\newlabel{31@xvr}{{}{68}} -\newlabel{31@vr}{{}{68}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{68}\protected@file@percent } -\newlabel{33@xvr}{{}{68}} -\newlabel{33@vr}{{}{68}} -\newlabel{fig:led-green-blink}{{4.9}{68}} -\@writefile{toc}{\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{68}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{68}\protected@file@percent } -\newlabel{sec:light-py}{{4.6.1}{68}} -\@writefile{lot}{\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{69}\protected@file@percent } -\newlabel{tab:led-green-blink}{{4.4}{69}} -\newlabel{34@xvr}{{}{69}} -\newlabel{34@vr}{{}{69}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.2}Python Code}{71}\protected@file@percent } -\newlabel{sec:led-python-code}{{4.6.2}{71}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{69}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {4.{1}}Turning on the LED through Scilab}{69}\protected@file@percent } +\newlabel{19@xvr}{{}{69}} +\newlabel{19@vr}{{}{69}} +\newlabel{sci:led-blue}{{4.{1}}{69}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue.sce}{69}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{2}}{}}{69}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{69}\protected@file@percent } +\newlabel{20@xvr}{{}{69}} +\newlabel{20@vr}{{}{69}} +\newlabel{sci:led-blue-delay}{{4.{2}}{69}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash delay.sce}{70}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{3}}{}}{70}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{70}\protected@file@percent } +\newlabel{21@xvr}{{}{70}} +\newlabel{21@vr}{{}{70}} +\newlabel{sci:led-blue-red}{{4.{3}}{70}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash blue\textendash red.sce}{70}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{4}}{}}{70}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{70}\protected@file@percent } +\newlabel{22@xvr}{{}{70}} +\newlabel{22@vr}{{}{70}} +\newlabel{sci:led-green-blink}{{4.{4}}{70}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led\textendash green\textendash blink.sce}{70}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{70}\protected@file@percent } +\newlabel{sec:light-xcos}{{4.5}{70}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.6}{\ignorespaces Turning the blue LED on through Xcos}}{71}\protected@file@percent } +\newlabel{24@xvr}{{}{71}} +\newlabel{24@vr}{{}{71}} +\newlabel{fig:led-blue}{{4.6}{71}} +\@writefile{lot}{\contentsline {table}{\numberline {4.1}{\ignorespaces Parameters to light the blue LED in Xcos\relax }}{71}\protected@file@percent } +\newlabel{tab:led-blue}{{4.1}{71}} +\newlabel{25@xvr}{{}{71}} +\newlabel{25@vr}{{}{71}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{72}\protected@file@percent } +\newlabel{27@xvr}{{}{72}} +\newlabel{27@vr}{{}{72}} +\newlabel{fig:led-blue-delay}{{4.7}{72}} +\@writefile{lot}{\contentsline {table}{\numberline {4.2}{\ignorespaces Parameters to light the blue LED in Xcos for two seconds\relax }}{72}\protected@file@percent } +\newlabel{tab:led-blue-delay}{{4.2}{72}} +\newlabel{28@xvr}{{}{72}} +\newlabel{28@vr}{{}{72}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.8}{\ignorespaces Turning the blue and red LEDs on through Xcos and turning them off one by one}}{73}\protected@file@percent } +\newlabel{30@xvr}{{}{73}} +\newlabel{30@vr}{{}{73}} +\newlabel{fig:led-blue-red}{{4.8}{73}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{3}}{}}{73}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{74}\protected@file@percent } +\newlabel{tab:led-blue-red}{{4.3}{74}} +\newlabel{31@xvr}{{}{74}} +\newlabel{31@vr}{{}{74}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{74}\protected@file@percent } +\newlabel{33@xvr}{{}{74}} +\newlabel{33@vr}{{}{74}} +\newlabel{fig:led-green-blink}{{4.9}{74}} +\@writefile{toc}{\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{74}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{74}\protected@file@percent } +\newlabel{sec:light-py}{{4.6.1}{74}} +\@writefile{lot}{\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{75}\protected@file@percent } +\newlabel{tab:led-green-blink}{{4.4}{75}} +\newlabel{34@xvr}{{}{75}} +\newlabel{34@vr}{{}{75}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.2}Python Code}{77}\protected@file@percent } +\newlabel{sec:led-python-code}{{4.6.2}{77}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{1}}{}}{71}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {4.{1}}Turning on the LED through Python}{71}\protected@file@percent } -\newlabel{35@xvr}{{}{71}} -\newlabel{35@vr}{{}{71}} -\newlabel{py:led-blue1}{{4.{1}}{71}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{72}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{2}}{}}{72}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{72}\protected@file@percent } -\newlabel{36@xvr}{{}{72}} -\newlabel{36@vr}{{}{72}} -\newlabel{py:led-blue-delay}{{4.{2}}{72}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash delay.py}{72}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{3}}{}}{73}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{73}\protected@file@percent } -\newlabel{37@xvr}{{}{73}} -\newlabel{37@vr}{{}{73}} -\newlabel{py:led-blue-red}{{4.{3}}{73}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash red.py}{73}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{4}}{}}{74}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{74}\protected@file@percent } -\newlabel{38@xvr}{{}{74}} -\newlabel{38@vr}{{}{74}} -\newlabel{py:led-green-blink}{{4.{4}}{74}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash green\textendash blink.py}{74}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {4.7}Lighting the LED from Julia}{75}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.1}Lighting the LED}{75}\protected@file@percent } -\newlabel{sec:light-julia}{{4.7.1}{75}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.2}Julia Code}{76}\protected@file@percent } -\newlabel{sec:led-julia-code}{{4.7.2}{76}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{1}}{}}{77}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {4.{1}}Turning on the LED through Python}{77}\protected@file@percent } +\newlabel{35@xvr}{{}{77}} +\newlabel{35@vr}{{}{77}} +\newlabel{py:led-blue1}{{4.{1}}{77}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{78}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{2}}{}}{78}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{78}\protected@file@percent } +\newlabel{36@xvr}{{}{78}} +\newlabel{36@vr}{{}{78}} +\newlabel{py:led-blue-delay}{{4.{2}}{78}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash delay.py}{78}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{3}}{}}{79}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{79}\protected@file@percent } +\newlabel{37@xvr}{{}{79}} +\newlabel{37@vr}{{}{79}} +\newlabel{py:led-blue-red}{{4.{3}}{79}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash red.py}{79}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{4}}{}}{80}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{80}\protected@file@percent } +\newlabel{38@xvr}{{}{80}} +\newlabel{38@vr}{{}{80}} +\newlabel{py:led-green-blink}{{4.{4}}{80}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash green\textendash blink.py}{80}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.7}Lighting the LED from Julia}{81}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.1}Lighting the LED}{81}\protected@file@percent } +\newlabel{sec:light-julia}{{4.7.1}{81}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.2}Julia Code}{82}\protected@file@percent } +\newlabel{sec:led-julia-code}{{4.7.2}{82}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{76}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {4.{1}}Turning on the LED}{76}\protected@file@percent } -\newlabel{39@xvr}{{}{76}} -\newlabel{39@vr}{{}{76}} -\newlabel{julia:led-blue}{{4.{1}}{76}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue.jl}{77}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{77}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{77}\protected@file@percent } -\newlabel{40@xvr}{{}{77}} -\newlabel{40@vr}{{}{77}} -\newlabel{julia:led-blue-delay}{{4.{2}}{77}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue\textendash delay.jl}{77}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{3}}{}}{77}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{77}\protected@file@percent } -\newlabel{41@xvr}{{}{77}} -\newlabel{41@vr}{{}{77}} -\newlabel{juila:led-bmoe-red}{{4.{3}}{77}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue\textendash red.jl}{77}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{77}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{77}\protected@file@percent } -\newlabel{42@xvr}{{}{77}} -\newlabel{42@vr}{{}{77}} -\newlabel{julia:lemogreen-blink}{{4.{4}}{77}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash green\textendash blink.jl}{77}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {4.8}Lighting the LED from OpenModelica}{78}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.1}Lighting the LED}{78}\protected@file@percent } -\newlabel{sec:light-OpenModelica}{{4.8.1}{78}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{79}\protected@file@percent } -\newlabel{sec:led-OpenModelica-code}{{4.8.2}{79}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{82}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {4.{1}}Turning on the LED}{82}\protected@file@percent } +\newlabel{39@xvr}{{}{82}} +\newlabel{39@vr}{{}{82}} +\newlabel{julia:led-blue}{{4.{1}}{82}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue.jl}{83}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{83}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{83}\protected@file@percent } +\newlabel{40@xvr}{{}{83}} +\newlabel{40@vr}{{}{83}} +\newlabel{julia:led-blue-delay}{{4.{2}}{83}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue\textendash delay.jl}{83}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{3}}{}}{83}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{83}\protected@file@percent } +\newlabel{41@xvr}{{}{83}} +\newlabel{41@vr}{{}{83}} +\newlabel{juila:led-bmoe-red}{{4.{3}}{83}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue\textendash red.jl}{83}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{83}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{83}\protected@file@percent } +\newlabel{42@xvr}{{}{83}} +\newlabel{42@vr}{{}{83}} +\newlabel{julia:lemogreen-blink}{{4.{4}}{83}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash green\textendash blink.jl}{83}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.8}Lighting the LED from OpenModelica}{84}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.1}Lighting the LED}{84}\protected@file@percent } +\newlabel{sec:light-OpenModelica}{{4.8.1}{84}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{85}\protected@file@percent } +\newlabel{sec:led-OpenModelica-code}{{4.8.2}{85}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{79}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{1}}Turning on the LED}{79}\protected@file@percent } -\newlabel{43@xvr}{{}{79}} -\newlabel{43@vr}{{}{79}} -\newlabel{OpenModelica:led-blue}{{4.{1}}{79}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue.mo}{79}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{79}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{79}\protected@file@percent } -\newlabel{44@xvr}{{}{79}} -\newlabel{44@vr}{{}{79}} -\newlabel{OpenModelica:led-blue-delay}{{4.{2}}{79}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash delay.mo}{79}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{80}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{80}\protected@file@percent } -\newlabel{45@xvr}{{}{80}} -\newlabel{45@vr}{{}{80}} -\newlabel{OpenModelica:led-blue-red}{{4.{3}}{80}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash red.mo}{80}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{81}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{81}\protected@file@percent } -\newlabel{46@xvr}{{}{81}} -\newlabel{46@vr}{{}{81}} -\newlabel{OpenModelica:led-green-blink}{{4.{4}}{81}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash green\textendash blink.mo}{81}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{83}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{85}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{1}}Turning on the LED}{85}\protected@file@percent } +\newlabel{43@xvr}{{}{85}} +\newlabel{43@vr}{{}{85}} +\newlabel{OpenModelica:led-blue}{{4.{1}}{85}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue.mo}{85}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{85}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{85}\protected@file@percent } +\newlabel{44@xvr}{{}{85}} +\newlabel{44@vr}{{}{85}} +\newlabel{OpenModelica:led-blue-delay}{{4.{2}}{85}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash delay.mo}{85}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{86}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{86}\protected@file@percent } +\newlabel{45@xvr}{{}{86}} +\newlabel{45@vr}{{}{86}} +\newlabel{OpenModelica:led-blue-red}{{4.{3}}{86}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash red.mo}{86}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{87}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{87}\protected@file@percent } +\newlabel{46@xvr}{{}{87}} +\newlabel{46@vr}{{}{87}} +\newlabel{OpenModelica:led-green-blink}{{4.{4}}{87}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash green\textendash blink.mo}{87}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{89}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{pushbutton}{{5}{83}} -\@writefile{toc}{\contentsline {section}{\numberline {5.1}Preliminaries}{83}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{83}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {5.1}{\ignorespaces Connection Diagram\relax }}{84}\protected@file@percent } -\newlabel{fig:pushbuttonconn}{{5.1}{84}} -\@writefile{lof}{\contentsline {figure}{\numberline {5.2}{\ignorespaces A pushbutton to read its status with Arduino Uno using a breadboard\relax }}{84}\protected@file@percent } -\newlabel{fig:switch-bread}{{5.2}{84}} -\@writefile{lof}{\contentsline {figure}{\numberline {5.3}{\ignorespaces A pushbutton to control an LED with Arduino Uno using a breadboard\relax }}{85}\protected@file@percent } -\newlabel{fig:switch-led}{{5.3}{85}} -\@writefile{toc}{\contentsline {section}{\numberline {5.3}Reading the Pushbutton Status from the Arduino IDE}{86}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.1}Reading the Pushbutton Status}{86}\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}{86}\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}{86}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/led\textendash push\textendash button/led\textendash push\textendash button.ino}{86}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{87}\protected@file@percent } -\newlabel{sec:push-arduino-code}{{5.3.2}{87}} +\newlabel{pushbutton}{{5}{89}} +\@writefile{toc}{\contentsline {section}{\numberline {5.1}Preliminaries}{89}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{89}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {5.1}{\ignorespaces Connection Diagram\relax }}{90}\protected@file@percent } +\newlabel{fig:pushbuttonconn}{{5.1}{90}} +\@writefile{lof}{\contentsline {figure}{\numberline {5.2}{\ignorespaces A pushbutton to read its status with Arduino Uno using a breadboard\relax }}{90}\protected@file@percent } +\newlabel{fig:switch-bread}{{5.2}{90}} +\@writefile{lof}{\contentsline {figure}{\numberline {5.3}{\ignorespaces A pushbutton to control an LED with Arduino Uno using a breadboard\relax }}{91}\protected@file@percent } +\newlabel{fig:switch-led}{{5.3}{91}} +\@writefile{toc}{\contentsline {section}{\numberline {5.3}Reading the Pushbutton Status from the Arduino IDE}{92}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.1}Reading the Pushbutton Status}{92}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push\textendash button\textendash status/push\textendash button\textendash status.ino}{92}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push\textendash button\textendash status/push\textendash button\textendash status.ino}{92}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/led\textendash push\textendash button/led\textendash push\textendash button.ino}{92}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{93}\protected@file@percent } +\newlabel{sec:push-arduino-code}{{5.3.2}{93}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{87}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{87}\protected@file@percent } -\newlabel{47@xvr}{{}{87}} -\newlabel{47@vr}{{}{87}} -\newlabel{ard:push-100}{{5.{1}}{87}} -\@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}{87}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{87}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{87}\protected@file@percent } -\newlabel{48@xvr}{{}{87}} -\newlabel{48@vr}{{}{87}} -\newlabel{ard:push-200}{{5.{2}}{87}} -\@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}{87}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.4}Reading the Pushbutton Status from Scilab}{88}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.1}Reading the Pushbutton Status}{88}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{88}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{88}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led\textendash push\textendash button.sce}{88}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{89}\protected@file@percent } -\newlabel{sec:push-scilab-code}{{5.4.2}{89}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{93}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{93}\protected@file@percent } +\newlabel{47@xvr}{{}{93}} +\newlabel{47@vr}{{}{93}} +\newlabel{ard:push-100}{{5.{1}}{93}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push\textendash button\textendash status/push\textendash button\textendash status.ino}{93}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{93}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{93}\protected@file@percent } +\newlabel{48@xvr}{{}{93}} +\newlabel{48@vr}{{}{93}} +\newlabel{ard:push-200}{{5.{2}}{93}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/led\textendash push\textendash button/led\textendash push\textendash button.ino}{93}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.4}Reading the Pushbutton Status from Scilab}{94}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.1}Reading the Pushbutton Status}{94}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{94}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{94}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led\textendash push\textendash button.sce}{94}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{95}\protected@file@percent } +\newlabel{sec:push-scilab-code}{{5.4.2}{95}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{89}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{89}\protected@file@percent } -\newlabel{49@xvr}{{}{89}} -\newlabel{49@vr}{{}{89}} -\newlabel{sci:push-100}{{5.{1}}{89}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{89}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{89}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{89}\protected@file@percent } -\newlabel{50@xvr}{{}{89}} -\newlabel{50@vr}{{}{89}} -\newlabel{sci:push-200}{{5.{2}}{89}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led\textendash push\textendash button.sce}{89}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.5}Accessing the Pushbutton from Xcos}{89}\protected@file@percent } -\newlabel{sec:push-xcos}{{5.5}{89}} -\@writefile{lof}{\contentsline {figure}{\numberline {5.4}{\ignorespaces Printing the push button status on the display block}}{90}\protected@file@percent } -\newlabel{52@xvr}{{}{90}} -\newlabel{52@vr}{{}{90}} -\newlabel{fig:push-button-status}{{5.4}{90}} -\@writefile{lot}{\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the push button status on the display block\relax }}{90}\protected@file@percent } -\newlabel{tab:push-button-status}{{5.1}{90}} -\newlabel{53@xvr}{{}{90}} -\newlabel{53@vr}{{}{90}} -\@writefile{lof}{\contentsline {figure}{\numberline {5.5}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{91}\protected@file@percent } -\newlabel{55@xvr}{{}{91}} -\newlabel{55@vr}{{}{91}} -\newlabel{fig:led-push-button}{{5.5}{91}} -\@writefile{lot}{\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{91}\protected@file@percent } -\newlabel{tab:led-push-button}{{5.2}{91}} -\newlabel{56@xvr}{{}{91}} -\newlabel{56@vr}{{}{91}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{5.{1}}{}}{91}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.6}Reading the Pushbutton Status from Python}{92}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.1}Reading the Pushbutton Status}{92}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{92}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{92}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led\textendash push\textendash button.py}{92}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.2}Python Code}{93}\protected@file@percent } -\newlabel{sec:push-python-code}{{5.6.2}{93}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{95}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{95}\protected@file@percent } +\newlabel{49@xvr}{{}{95}} +\newlabel{49@vr}{{}{95}} +\newlabel{sci:push-100}{{5.{1}}{95}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{95}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{95}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{95}\protected@file@percent } +\newlabel{50@xvr}{{}{95}} +\newlabel{50@vr}{{}{95}} +\newlabel{sci:push-200}{{5.{2}}{95}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led\textendash push\textendash button.sce}{95}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.5}Accessing the Pushbutton from Xcos}{95}\protected@file@percent } +\newlabel{sec:push-xcos}{{5.5}{95}} +\@writefile{lof}{\contentsline {figure}{\numberline {5.4}{\ignorespaces Printing the push button status on the display block}}{96}\protected@file@percent } +\newlabel{52@xvr}{{}{96}} +\newlabel{52@vr}{{}{96}} +\newlabel{fig:push-button-status}{{5.4}{96}} +\@writefile{lot}{\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the push button status on the display block\relax }}{96}\protected@file@percent } +\newlabel{tab:push-button-status}{{5.1}{96}} +\newlabel{53@xvr}{{}{96}} +\newlabel{53@vr}{{}{96}} +\@writefile{lof}{\contentsline {figure}{\numberline {5.5}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{97}\protected@file@percent } +\newlabel{55@xvr}{{}{97}} +\newlabel{55@vr}{{}{97}} +\newlabel{fig:led-push-button}{{5.5}{97}} +\@writefile{lot}{\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{97}\protected@file@percent } +\newlabel{tab:led-push-button}{{5.2}{97}} +\newlabel{56@xvr}{{}{97}} +\newlabel{56@vr}{{}{97}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{5.{1}}{}}{97}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.6}Reading the Pushbutton Status from Python}{98}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.1}Reading the Pushbutton Status}{98}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{98}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{98}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led\textendash push\textendash button.py}{98}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.2}Python Code}{99}\protected@file@percent } +\newlabel{sec:push-python-code}{{5.6.2}{99}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{1}}{}}{93}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{93}\protected@file@percent } -\newlabel{57@xvr}{{}{93}} -\newlabel{57@vr}{{}{93}} -\newlabel{py:push-100}{{5.{1}}{93}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{93}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{2}}{}}{93}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{93}\protected@file@percent } -\newlabel{58@xvr}{{}{93}} -\newlabel{58@vr}{{}{93}} -\newlabel{py:push-200}{{5.{2}}{93}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led\textendash push\textendash button.py}{94}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.7}Reading the Pushbutton Status from Julia}{95}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.1}Reading the Pushbutton Status}{95}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push\textendash button\textendash status.jl}{95}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{95}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.2}Julia Code}{95}\protected@file@percent } -\newlabel{sec:push-julia-code}{{5.7.2}{95}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{1}}{}}{99}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{99}\protected@file@percent } +\newlabel{57@xvr}{{}{99}} +\newlabel{57@vr}{{}{99}} +\newlabel{py:push-100}{{5.{1}}{99}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{99}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{2}}{}}{99}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{99}\protected@file@percent } +\newlabel{58@xvr}{{}{99}} +\newlabel{58@vr}{{}{99}} +\newlabel{py:push-200}{{5.{2}}{99}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led\textendash push\textendash button.py}{100}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.7}Reading the Pushbutton Status from Julia}{101}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.1}Reading the Pushbutton Status}{101}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push\textendash button\textendash status.jl}{101}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{101}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.2}Julia Code}{101}\protected@file@percent } +\newlabel{sec:push-julia-code}{{5.7.2}{101}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{1}}{}}{95}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{95}\protected@file@percent } -\newlabel{59@xvr}{{}{95}} -\newlabel{59@vr}{{}{95}} -\newlabel{julia:push-100}{{5.{1}}{95}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push\textendash button\textendash status.jl}{95}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{96}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{96}\protected@file@percent } -\newlabel{60@xvr}{{}{96}} -\newlabel{60@vr}{{}{96}} -\newlabel{julia:push-200}{{5.{2}}{96}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{96}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.8}Reading the Pushbutton Status from OpenModelica}{96}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.1}Reading the Pushbutton Status}{96}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{96}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.2}OpenModelica Code}{96}\protected@file@percent } -\newlabel{sec:led-OpenModelica-code}{{5.8.2}{96}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{1}}{}}{101}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{101}\protected@file@percent } +\newlabel{59@xvr}{{}{101}} +\newlabel{59@vr}{{}{101}} +\newlabel{julia:push-100}{{5.{1}}{101}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push\textendash button\textendash status.jl}{101}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{102}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{102}\protected@file@percent } +\newlabel{60@xvr}{{}{102}} +\newlabel{60@vr}{{}{102}} +\newlabel{julia:push-200}{{5.{2}}{102}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{102}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.8}Reading the Pushbutton Status from OpenModelica}{102}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.1}Reading the Pushbutton Status}{102}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{102}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.2}OpenModelica Code}{102}\protected@file@percent } +\newlabel{sec:led-OpenModelica-code}{{5.8.2}{102}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{96}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{96}\protected@file@percent } -\newlabel{61@xvr}{{}{96}} -\newlabel{61@vr}{{}{96}} -\newlabel{OpenModelica:push-100}{{5.{1}}{96}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{97}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{97}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{97}\protected@file@percent } -\newlabel{62@xvr}{{}{97}} -\newlabel{62@vr}{{}{97}} -\newlabel{OpenModelica:push-200}{{5.{2}}{97}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{97}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{99}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{102}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{102}\protected@file@percent } +\newlabel{61@xvr}{{}{102}} +\newlabel{61@vr}{{}{102}} +\newlabel{OpenModelica:push-100}{{5.{1}}{102}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{103}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{103}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{103}\protected@file@percent } +\newlabel{62@xvr}{{}{103}} +\newlabel{62@vr}{{}{103}} +\newlabel{OpenModelica:push-200}{{5.{2}}{103}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{103}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{105}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{ldr}{{6}{99}} -\@writefile{toc}{\contentsline {section}{\numberline {6.1}Preliminaries}{99}\protected@file@percent } -\newlabel{fig:ldr}{{6.1a}{100}} +\newlabel{ldr}{{6}{105}} +\@writefile{toc}{\contentsline {section}{\numberline {6.1}Preliminaries}{105}\protected@file@percent } +\newlabel{fig:ldr}{{6.1a}{106}} \newlabel{sub@fig:ldr}{{(a)}{a}} -\newlabel{fig:ldrsym}{{6.1b}{100}} +\newlabel{fig:ldrsym}{{6.1b}{106}} \newlabel{sub@fig:ldrsym}{{(b)}{b}} -\@writefile{lof}{\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{100}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of an LDR}}}{100}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of an LDR}}}{100}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{100}\protected@file@percent } -\newlabel{fig:ldrconn}{{6.2}{100}} -\@writefile{lof}{\contentsline {figure}{\numberline {6.3}{\ignorespaces An LDR to read its values with Arduino Uno\ using a breadboard\relax }}{101}\protected@file@percent } -\newlabel{fig:ard-ldr}{{6.3}{101}} -\@writefile{toc}{\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{101}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {6.4}{\ignorespaces An LDR to control an LED with Arduino Uno using a breadboard\relax }}{102}\protected@file@percent } -\newlabel{fig:ard-ldr-led}{{6.4}{102}} -\@writefile{toc}{\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{102}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{102}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{102}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{103}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{103}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{1}}{}}{103}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{103}\protected@file@percent } -\newlabel{sec:ldr-arduino-code}{{6.3.2}{103}} +\@writefile{lof}{\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{106}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of an LDR}}}{106}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of an LDR}}}{106}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{106}\protected@file@percent } +\newlabel{fig:ldrconn}{{6.2}{106}} +\@writefile{lof}{\contentsline {figure}{\numberline {6.3}{\ignorespaces An LDR to read its values with Arduino Uno\ using a breadboard\relax }}{107}\protected@file@percent } +\newlabel{fig:ard-ldr}{{6.3}{107}} +\@writefile{toc}{\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{107}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {6.4}{\ignorespaces An LDR to control an LED with Arduino Uno using a breadboard\relax }}{108}\protected@file@percent } +\newlabel{fig:ard-ldr-led}{{6.4}{108}} +\@writefile{toc}{\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{108}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{108}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{108}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{109}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{109}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{1}}{}}{109}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{109}\protected@file@percent } +\newlabel{sec:ldr-arduino-code}{{6.3.2}{109}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{103}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{103}\protected@file@percent } -\newlabel{63@xvr}{{}{103}} -\newlabel{63@vr}{{}{103}} -\newlabel{ard:ldr-read}{{6.{1}}{103}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{103}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{104}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{104}\protected@file@percent } -\newlabel{64@xvr}{{}{104}} -\newlabel{64@vr}{{}{104}} -\newlabel{ard:ldr-led}{{6.{2}}{104}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash led/ldr\textendash led.ino}{104}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{104}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{104}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{2}}{}}{105}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{105}\protected@file@percent } -\newlabel{sec:ldr-scilab-code}{{6.4.2}{105}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{109}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{109}\protected@file@percent } +\newlabel{63@xvr}{{}{109}} +\newlabel{63@vr}{{}{109}} +\newlabel{ard:ldr-read}{{6.{1}}{109}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{109}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{110}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{110}\protected@file@percent } +\newlabel{64@xvr}{{}{110}} +\newlabel{64@vr}{{}{110}} +\newlabel{ard:ldr-led}{{6.{2}}{110}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash led/ldr\textendash led.ino}{110}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{110}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{110}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{2}}{}}{111}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{111}\protected@file@percent } +\newlabel{sec:ldr-scilab-code}{{6.4.2}{111}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{105}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{105}\protected@file@percent } -\newlabel{65@xvr}{{}{105}} -\newlabel{65@vr}{{}{105}} -\newlabel{sci:ldr-read}{{6.{1}}{105}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash read.sce}{105}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{106}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{106}\protected@file@percent } -\newlabel{66@xvr}{{}{106}} -\newlabel{66@vr}{{}{106}} -\newlabel{sci:ldr-led}{{6.{2}}{106}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash led.sce}{106}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{106}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read LDR values}}{107}\protected@file@percent } -\newlabel{68@xvr}{{}{107}} -\newlabel{68@vr}{{}{107}} -\newlabel{fig:ldr-read}{{6.5}{107}} -\@writefile{lot}{\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{107}\protected@file@percent } -\newlabel{tab:ldr-read}{{6.1}{107}} -\newlabel{69@xvr}{{}{107}} -\newlabel{69@vr}{{}{107}} -\@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}}{108}\protected@file@percent } -\newlabel{71@xvr}{{}{108}} -\newlabel{71@vr}{{}{108}} -\newlabel{fig:ldr-led}{{6.6}{108}} -\@writefile{toc}{\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{108}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{108}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{109}\protected@file@percent } -\newlabel{tab:ldr-led}{{6.2}{109}} -\newlabel{72@xvr}{{}{109}} -\newlabel{72@vr}{{}{109}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{3}}{}}{109}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.2}Python Code}{110}\protected@file@percent } -\newlabel{sec:ldr-python-code}{{6.6.2}{110}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{111}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{111}\protected@file@percent } +\newlabel{65@xvr}{{}{111}} +\newlabel{65@vr}{{}{111}} +\newlabel{sci:ldr-read}{{6.{1}}{111}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash read.sce}{111}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{112}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{112}\protected@file@percent } +\newlabel{66@xvr}{{}{112}} +\newlabel{66@vr}{{}{112}} +\newlabel{sci:ldr-led}{{6.{2}}{112}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash led.sce}{112}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{112}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read LDR values}}{113}\protected@file@percent } +\newlabel{68@xvr}{{}{113}} +\newlabel{68@vr}{{}{113}} +\newlabel{fig:ldr-read}{{6.5}{113}} +\@writefile{lot}{\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{113}\protected@file@percent } +\newlabel{tab:ldr-read}{{6.1}{113}} +\newlabel{69@xvr}{{}{113}} +\newlabel{69@vr}{{}{113}} +\@writefile{lof}{\contentsline {figure}{\numberline {6.6}{\ignorespaces Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}}{114}\protected@file@percent } +\newlabel{71@xvr}{{}{114}} +\newlabel{71@vr}{{}{114}} +\newlabel{fig:ldr-led}{{6.6}{114}} +\@writefile{toc}{\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{114}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{114}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{115}\protected@file@percent } +\newlabel{tab:ldr-led}{{6.2}{115}} +\newlabel{72@xvr}{{}{115}} +\newlabel{72@vr}{{}{115}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{3}}{}}{115}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.2}Python Code}{116}\protected@file@percent } +\newlabel{sec:ldr-python-code}{{6.6.2}{116}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{1}}{}}{110}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{110}\protected@file@percent } -\newlabel{73@xvr}{{}{110}} -\newlabel{73@vr}{{}{110}} -\newlabel{py:ldr-read}{{6.{1}}{110}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash read.py}{110}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{2}}{}}{111}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{111}\protected@file@percent } -\newlabel{74@xvr}{{}{111}} -\newlabel{74@vr}{{}{111}} -\newlabel{py:ldr-led}{{6.{2}}{111}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash led.py}{111}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{112}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{112}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{112}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{4}}{}}{112}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.2}Julia Code}{113}\protected@file@percent } -\newlabel{sec:ldr-julia-code}{{6.7.2}{113}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{1}}{}}{116}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{116}\protected@file@percent } +\newlabel{73@xvr}{{}{116}} +\newlabel{73@vr}{{}{116}} +\newlabel{py:ldr-read}{{6.{1}}{116}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash read.py}{116}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{2}}{}}{117}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{117}\protected@file@percent } +\newlabel{74@xvr}{{}{117}} +\newlabel{74@vr}{{}{117}} +\newlabel{py:ldr-led}{{6.{2}}{117}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash led.py}{117}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{118}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{118}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{118}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{4}}{}}{118}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.2}Julia Code}{119}\protected@file@percent } +\newlabel{sec:ldr-julia-code}{{6.7.2}{119}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{113}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{113}\protected@file@percent } -\newlabel{75@xvr}{{}{113}} -\newlabel{75@vr}{{}{113}} -\newlabel{julia:ldr-read}{{6.{1}}{113}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash read.jl}{113}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{113}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{113}\protected@file@percent } -\newlabel{76@xvr}{{}{113}} -\newlabel{76@vr}{{}{113}} -\newlabel{julia:ldr-led}{{6.{2}}{113}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash led.jl}{113}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{113}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{113}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{114}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{114}\protected@file@percent } -\newlabel{sec:ldr-OpenModelica-code}{{6.8.2}{114}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{119}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{119}\protected@file@percent } +\newlabel{75@xvr}{{}{119}} +\newlabel{75@vr}{{}{119}} +\newlabel{julia:ldr-read}{{6.{1}}{119}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash read.jl}{119}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{119}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{119}\protected@file@percent } +\newlabel{76@xvr}{{}{119}} +\newlabel{76@vr}{{}{119}} +\newlabel{julia:ldr-led}{{6.{2}}{119}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash led.jl}{119}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{119}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{119}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{120}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{120}\protected@file@percent } +\newlabel{sec:ldr-OpenModelica-code}{{6.8.2}{120}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{114}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{114}\protected@file@percent } -\newlabel{77@xvr}{{}{114}} -\newlabel{77@vr}{{}{114}} -\newlabel{OpenModelica:ldr-read}{{6.{1}}{114}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash read.mo}{114}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{115}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{115}\protected@file@percent } -\newlabel{78@xvr}{{}{115}} -\newlabel{78@vr}{{}{115}} -\newlabel{OpenModelica:ldr-led}{{6.{2}}{115}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash led.mo}{115}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {7}Controlling a DC motor}{117}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{120}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{120}\protected@file@percent } +\newlabel{77@xvr}{{}{120}} +\newlabel{77@vr}{{}{120}} +\newlabel{OpenModelica:ldr-read}{{6.{1}}{120}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash read.mo}{120}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{121}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{121}\protected@file@percent } +\newlabel{78@xvr}{{}{121}} +\newlabel{78@vr}{{}{121}} +\newlabel{OpenModelica:ldr-led}{{6.{2}}{121}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash led.mo}{121}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {7}Controlling a DC motor}{123}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{dcmotor}{{7}{117}} -\@writefile{toc}{\contentsline {section}{\numberline {7.1}Preliminaries}{117}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {7.1}{\ignorespaces L293D motor driver board\relax }}{118}\protected@file@percent } -\newlabel{fig:motordriverboard}{{7.1}{118}} -\@writefile{lof}{\contentsline {figure}{\numberline {7.2}{\ignorespaces A schematic of DC motor connections\relax }}{119}\protected@file@percent } -\newlabel{fig:dcm-schematic}{{7.2}{119}} -\@writefile{lof}{\contentsline {figure}{\numberline {7.3}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{119}\protected@file@percent } -\newlabel{fig:dcmotorconn}{{7.3}{119}} -\@writefile{toc}{\contentsline {section}{\numberline {7.2}Controlling the DC motor from Arduino}{119}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.1}Controlling the DC motor}{119}\protected@file@percent } -\newlabel{sec:dcm-ard}{{7.2.1}{119}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{1}}{}}{120}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.2}Arduino Code}{121}\protected@file@percent } -\newlabel{sec:dcmotor-arduino-code}{{7.2.2}{121}} +\newlabel{dcmotor}{{7}{123}} +\@writefile{toc}{\contentsline {section}{\numberline {7.1}Preliminaries}{123}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {7.1}{\ignorespaces L293D motor driver board\relax }}{124}\protected@file@percent } +\newlabel{fig:motordriverboard}{{7.1}{124}} +\@writefile{lof}{\contentsline {figure}{\numberline {7.2}{\ignorespaces A schematic of DC motor connections\relax }}{125}\protected@file@percent } +\newlabel{fig:dcm-schematic}{{7.2}{125}} +\@writefile{lof}{\contentsline {figure}{\numberline {7.3}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{125}\protected@file@percent } +\newlabel{fig:dcmotorconn}{{7.3}{125}} +\@writefile{toc}{\contentsline {section}{\numberline {7.2}Controlling the DC motor from Arduino}{125}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.1}Controlling the DC motor}{125}\protected@file@percent } +\newlabel{sec:dcm-ard}{{7.2.1}{125}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{1}}{}}{126}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.2}Arduino Code}{127}\protected@file@percent } +\newlabel{sec:dcmotor-arduino-code}{{7.2.2}{127}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{121}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{121}\protected@file@percent } -\newlabel{79@xvr}{{}{121}} -\newlabel{79@vr}{{}{121}} -\newlabel{ard:dcmotor-clock}{{7.{1}}{121}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{121}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{2}}{}}{121}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{121}\protected@file@percent } -\newlabel{80@xvr}{{}{121}} -\newlabel{80@vr}{{}{121}} -\newlabel{ard:dcmotor-both}{{7.{2}}{121}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash both/dcmotor\textendash both.ino}{121}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{3}}{}}{121}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{121}\protected@file@percent } -\newlabel{81@xvr}{{}{121}} -\newlabel{81@vr}{{}{121}} -\newlabel{ard:dcmotor-loop}{{7.{3}}{121}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash loop/dcmotor\textendash loop.ino}{122}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.3}Controlling the DC motor from Scilab}{122}\protected@file@percent } -\newlabel{sec:dcm-sci}{{7.3}{122}} -\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.1}Initialization}{122}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {7.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{123}\protected@file@percent } -\newlabel{table:convention}{{7.1}{123}} -\@writefile{lot}{\contentsline {table}{\numberline {7.2}{\ignorespaces Parameters for DC motor initialization\relax }}{123}\protected@file@percent } -\newlabel{tab:dcmotor-init}{{7.2}{123}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{123}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.2}Rotation for a specified time}{123}\protected@file@percent } -\newlabel{sec:dc-both}{{7.3.2}{123}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{123}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{124}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{124}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{2}}{}}{124}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.3}Using the capabilities of Scilab}{124}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.4}Scilab Code}{125}\protected@file@percent } -\newlabel{sec:dcmotor-scilab-code}{{7.3.4}{125}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{127}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{127}\protected@file@percent } +\newlabel{79@xvr}{{}{127}} +\newlabel{79@vr}{{}{127}} +\newlabel{ard:dcmotor-clock}{{7.{1}}{127}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{127}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{2}}{}}{127}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{127}\protected@file@percent } +\newlabel{80@xvr}{{}{127}} +\newlabel{80@vr}{{}{127}} +\newlabel{ard:dcmotor-both}{{7.{2}}{127}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash both/dcmotor\textendash both.ino}{127}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{3}}{}}{127}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{127}\protected@file@percent } +\newlabel{81@xvr}{{}{127}} +\newlabel{81@vr}{{}{127}} +\newlabel{ard:dcmotor-loop}{{7.{3}}{127}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash loop/dcmotor\textendash loop.ino}{128}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.3}Controlling the DC motor from Scilab}{128}\protected@file@percent } +\newlabel{sec:dcm-sci}{{7.3}{128}} +\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.1}Initialization}{128}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {7.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{129}\protected@file@percent } +\newlabel{table:convention}{{7.1}{129}} +\@writefile{lot}{\contentsline {table}{\numberline {7.2}{\ignorespaces Parameters for DC motor initialization\relax }}{129}\protected@file@percent } +\newlabel{tab:dcmotor-init}{{7.2}{129}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{129}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.2}Rotation for a specified time}{129}\protected@file@percent } +\newlabel{sec:dc-both}{{7.3.2}{129}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{129}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{130}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{130}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{2}}{}}{130}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.3}Using the capabilities of Scilab}{130}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.4}Scilab Code}{131}\protected@file@percent } +\newlabel{sec:dcmotor-scilab-code}{{7.3.4}{131}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{125}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{125}\protected@file@percent } -\newlabel{82@xvr}{{}{125}} -\newlabel{82@vr}{{}{125}} -\newlabel{sci:dcmotor-clock}{{7.{1}}{125}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{125}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{2}}{}}{125}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{125}\protected@file@percent } -\newlabel{83@xvr}{{}{125}} -\newlabel{83@vr}{{}{125}} -\newlabel{sci:dcmotor-both}{{7.{2}}{125}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{125}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{3}}{}}{125}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{125}\protected@file@percent } -\newlabel{84@xvr}{{}{125}} -\newlabel{84@vr}{{}{125}} -\newlabel{sci:dcmotor-loop}{{7.{3}}{125}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash loop.sce}{125}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {7.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{126}\protected@file@percent } -\newlabel{86@xvr}{{}{126}} -\newlabel{86@vr}{{}{126}} -\newlabel{fig:dcmotor-clock}{{7.4}{126}} -\@writefile{toc}{\contentsline {section}{\numberline {7.4}Controlling the DC Motor from Xcos}{126}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {7.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{127}\protected@file@percent } -\newlabel{tab:dcmotor-clock}{{7.3}{127}} -\newlabel{87@xvr}{{}{127}} -\newlabel{87@vr}{{}{127}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{3}}{}}{127}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {7.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{128}\protected@file@percent } -\newlabel{89@xvr}{{}{128}} -\newlabel{89@vr}{{}{128}} -\newlabel{fig:dcmotor-both}{{7.5}{128}} -\@writefile{lot}{\contentsline {table}{\numberline {7.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{128}\protected@file@percent } -\newlabel{tab:dcmotor-both}{{7.4}{128}} -\newlabel{90@xvr}{{}{128}} -\newlabel{90@vr}{{}{128}} -\@writefile{lof}{\contentsline {figure}{\numberline {7.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{129}\protected@file@percent } -\newlabel{92@xvr}{{}{129}} -\newlabel{92@vr}{{}{129}} -\newlabel{fig:dcmotor-loop}{{7.6}{129}} -\@writefile{toc}{\contentsline {section}{\numberline {7.5}Controlling the DC Motor from Python}{129}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.5.1}Controlling the DC Motor}{129}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {7.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{130}\protected@file@percent } -\newlabel{tab:dcmotor-loop}{{7.5}{130}} -\newlabel{93@xvr}{{}{130}} -\newlabel{93@vr}{{}{130}} -\@writefile{toc}{\contentsline {subsection}{\numberline {7.5.2}Python Code}{131}\protected@file@percent } -\newlabel{sec:dcmotor-python-code}{{7.5.2}{131}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{131}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{131}\protected@file@percent } +\newlabel{82@xvr}{{}{131}} +\newlabel{82@vr}{{}{131}} +\newlabel{sci:dcmotor-clock}{{7.{1}}{131}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{131}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{2}}{}}{131}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{131}\protected@file@percent } +\newlabel{83@xvr}{{}{131}} +\newlabel{83@vr}{{}{131}} +\newlabel{sci:dcmotor-both}{{7.{2}}{131}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{131}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{3}}{}}{131}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{131}\protected@file@percent } +\newlabel{84@xvr}{{}{131}} +\newlabel{84@vr}{{}{131}} +\newlabel{sci:dcmotor-loop}{{7.{3}}{131}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash loop.sce}{131}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {7.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{132}\protected@file@percent } +\newlabel{86@xvr}{{}{132}} +\newlabel{86@vr}{{}{132}} +\newlabel{fig:dcmotor-clock}{{7.4}{132}} +\@writefile{toc}{\contentsline {section}{\numberline {7.4}Controlling the DC Motor from Xcos}{132}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {7.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{133}\protected@file@percent } +\newlabel{tab:dcmotor-clock}{{7.3}{133}} +\newlabel{87@xvr}{{}{133}} +\newlabel{87@vr}{{}{133}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{3}}{}}{133}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {7.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{134}\protected@file@percent } +\newlabel{89@xvr}{{}{134}} +\newlabel{89@vr}{{}{134}} +\newlabel{fig:dcmotor-both}{{7.5}{134}} +\@writefile{lot}{\contentsline {table}{\numberline {7.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{134}\protected@file@percent } +\newlabel{tab:dcmotor-both}{{7.4}{134}} +\newlabel{90@xvr}{{}{134}} +\newlabel{90@vr}{{}{134}} +\@writefile{lof}{\contentsline {figure}{\numberline {7.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{135}\protected@file@percent } +\newlabel{92@xvr}{{}{135}} +\newlabel{92@vr}{{}{135}} +\newlabel{fig:dcmotor-loop}{{7.6}{135}} +\@writefile{toc}{\contentsline {section}{\numberline {7.5}Controlling the DC Motor from Python}{135}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.5.1}Controlling the DC Motor}{135}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {7.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{136}\protected@file@percent } +\newlabel{tab:dcmotor-loop}{{7.5}{136}} +\newlabel{93@xvr}{{}{136}} +\newlabel{93@vr}{{}{136}} +\@writefile{toc}{\contentsline {subsection}{\numberline {7.5.2}Python Code}{137}\protected@file@percent } +\newlabel{sec:dcmotor-python-code}{{7.5.2}{137}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{1}}{}}{131}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{131}\protected@file@percent } -\newlabel{94@xvr}{{}{131}} -\newlabel{94@vr}{{}{131}} -\newlabel{py:dcmotor-clock}{{7.{1}}{131}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash clock.py}{131}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{2}}{}}{132}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{132}\protected@file@percent } -\newlabel{95@xvr}{{}{132}} -\newlabel{95@vr}{{}{132}} -\newlabel{py:dcmotor-both}{{7.{2}}{132}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash both.py}{132}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{3}}{}}{132}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{132}\protected@file@percent } -\newlabel{96@xvr}{{}{133}} -\newlabel{96@vr}{{}{133}} -\newlabel{py:dcmotor-loop}{{7.{3}}{133}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash loop.py}{133}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.6}Controlling the DC Motor from Julia}{134}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.1}Controlling the DC Motor}{134}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.2}Julia Code}{134}\protected@file@percent } -\newlabel{sec:dcmotor-julia-code}{{7.6.2}{134}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{1}}{}}{137}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{137}\protected@file@percent } +\newlabel{94@xvr}{{}{137}} +\newlabel{94@vr}{{}{137}} +\newlabel{py:dcmotor-clock}{{7.{1}}{137}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash clock.py}{137}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{2}}{}}{138}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{138}\protected@file@percent } +\newlabel{95@xvr}{{}{138}} +\newlabel{95@vr}{{}{138}} +\newlabel{py:dcmotor-both}{{7.{2}}{138}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash both.py}{138}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{3}}{}}{138}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{138}\protected@file@percent } +\newlabel{96@xvr}{{}{139}} +\newlabel{96@vr}{{}{139}} +\newlabel{py:dcmotor-loop}{{7.{3}}{139}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash loop.py}{139}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.6}Controlling the DC Motor from Julia}{140}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.1}Controlling the DC Motor}{140}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.2}Julia Code}{140}\protected@file@percent } +\newlabel{sec:dcmotor-julia-code}{{7.6.2}{140}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{134}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{134}\protected@file@percent } -\newlabel{97@xvr}{{}{134}} -\newlabel{97@vr}{{}{134}} -\newlabel{julia:dcmotor-clock}{{7.{1}}{134}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{134}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{2}}{}}{135}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{135}\protected@file@percent } -\newlabel{98@xvr}{{}{135}} -\newlabel{98@vr}{{}{135}} -\newlabel{julia:dcmotor-both}{{7.{2}}{135}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash both.jl}{135}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{3}}{}}{135}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{135}\protected@file@percent } -\newlabel{99@xvr}{{}{135}} -\newlabel{99@vr}{{}{135}} -\newlabel{julia:dcmotor-loop}{{7.{3}}{135}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash loop.jl}{135}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.7}Controlling the DC Motor from OpenModelica}{135}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.1}Controlling the DC Motor}{135}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.2}OpenModelica Code}{136}\protected@file@percent } -\newlabel{sec:dcmotor-OpenModelica-code}{{7.7.2}{136}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{140}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{140}\protected@file@percent } +\newlabel{97@xvr}{{}{140}} +\newlabel{97@vr}{{}{140}} +\newlabel{julia:dcmotor-clock}{{7.{1}}{140}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{140}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{2}}{}}{141}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{141}\protected@file@percent } +\newlabel{98@xvr}{{}{141}} +\newlabel{98@vr}{{}{141}} +\newlabel{julia:dcmotor-both}{{7.{2}}{141}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash both.jl}{141}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{3}}{}}{141}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{141}\protected@file@percent } +\newlabel{99@xvr}{{}{141}} +\newlabel{99@vr}{{}{141}} +\newlabel{julia:dcmotor-loop}{{7.{3}}{141}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash loop.jl}{141}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.7}Controlling the DC Motor from OpenModelica}{141}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.1}Controlling the DC Motor}{141}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.2}OpenModelica Code}{142}\protected@file@percent } +\newlabel{sec:dcmotor-OpenModelica-code}{{7.7.2}{142}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{136}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{136}\protected@file@percent } -\newlabel{100@xvr}{{}{136}} -\newlabel{100@vr}{{}{136}} -\newlabel{OpenModelica:dcmotor-clock}{{7.{1}}{136}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{136}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{2}}{}}{136}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{136}\protected@file@percent } -\newlabel{101@xvr}{{}{136}} -\newlabel{101@vr}{{}{136}} -\newlabel{OpenModelica:dcmotor-both}{{7.{2}}{136}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{137}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{3}}{}}{137}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{137}\protected@file@percent } -\newlabel{102@xvr}{{}{137}} -\newlabel{102@vr}{{}{137}} -\newlabel{OpenModelica:dcmotor-loop}{{7.{3}}{137}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash loop.mo}{137}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {8}Interfacing a Potentiometer}{139}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{142}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{142}\protected@file@percent } +\newlabel{100@xvr}{{}{142}} +\newlabel{100@vr}{{}{142}} +\newlabel{OpenModelica:dcmotor-clock}{{7.{1}}{142}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{142}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{2}}{}}{142}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{142}\protected@file@percent } +\newlabel{101@xvr}{{}{142}} +\newlabel{101@vr}{{}{142}} +\newlabel{OpenModelica:dcmotor-both}{{7.{2}}{142}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{143}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{3}}{}}{143}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{143}\protected@file@percent } +\newlabel{102@xvr}{{}{143}} +\newlabel{102@vr}{{}{143}} +\newlabel{OpenModelica:dcmotor-loop}{{7.{3}}{143}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash loop.mo}{143}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {8}Interfacing a Potentiometer}{145}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{potmeter}{{8}{139}} -\@writefile{toc}{\contentsline {section}{\numberline {8.1}Preliminaries}{139}\protected@file@percent } -\newlabel{103@xvr}{{}{139}} -\newlabel{103@vr}{{}{139}} -\newlabel{fig:pot}{{8.1a}{140}} +\newlabel{potmeter}{{8}{145}} +\@writefile{toc}{\contentsline {section}{\numberline {8.1}Preliminaries}{145}\protected@file@percent } +\newlabel{103@xvr}{{}{145}} +\newlabel{103@vr}{{}{145}} +\newlabel{fig:pot}{{8.1a}{146}} \newlabel{sub@fig:pot}{{(a)}{a}} -\newlabel{fig:potsch}{{8.1b}{140}} +\newlabel{fig:potsch}{{8.1b}{146}} \newlabel{sub@fig:potsch}{{(b)}{b}} -\@writefile{lof}{\contentsline {figure}{\numberline {8.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{140}\protected@file@percent } -\newlabel{fig:potmeterconn}{{8.1}{140}} -\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{140}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Schematic representation of the potentiometer}}}{140}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.2}Connecting a potentiometer with Arduino Uno\ using a breadboard}{140}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {8.2}{\ignorespaces A potentiometer to control an LED with Arduino Uno using a breadboard\relax }}{141}\protected@file@percent } -\newlabel{fig:pot-led}{{8.2}{141}} -\@writefile{toc}{\contentsline {section}{\numberline {8.3}Reading the potentiometer from the Arduino IDE}{141}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.1}Reading the potentiometer}{141}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{142}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{142}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.2}Arduino Code}{142}\protected@file@percent } -\newlabel{sec:pot-arduino-code}{{8.3.2}{142}} +\@writefile{lof}{\contentsline {figure}{\numberline {8.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{146}\protected@file@percent } +\newlabel{fig:potmeterconn}{{8.1}{146}} +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{146}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Schematic representation of the potentiometer}}}{146}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.2}Connecting a potentiometer with Arduino Uno\ using a breadboard}{146}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {8.2}{\ignorespaces A potentiometer to control an LED with Arduino Uno using a breadboard\relax }}{147}\protected@file@percent } +\newlabel{fig:pot-led}{{8.2}{147}} +\@writefile{toc}{\contentsline {section}{\numberline {8.3}Reading the potentiometer from the Arduino IDE}{147}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.1}Reading the potentiometer}{147}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{148}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{148}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.2}Arduino Code}{148}\protected@file@percent } +\newlabel{sec:pot-arduino-code}{{8.3.2}{148}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{142}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{142}\protected@file@percent } -\newlabel{104@xvr}{{}{142}} -\newlabel{104@vr}{{}{142}} -\newlabel{ard:pot-100}{{8.{1}}{142}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{142}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.4}Reading the potentiometer from Scilab}{143}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.4.1}Reading the potentiometer}{143}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{143}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{143}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.4.2}Scilab Code}{144}\protected@file@percent } -\newlabel{sec:pot-scilab-code}{{8.4.2}{144}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{148}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{148}\protected@file@percent } +\newlabel{104@xvr}{{}{148}} +\newlabel{104@vr}{{}{148}} +\newlabel{ard:pot-100}{{8.{1}}{148}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{148}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.4}Reading the potentiometer from Scilab}{149}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.4.1}Reading the potentiometer}{149}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{149}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{149}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.4.2}Scilab Code}{150}\protected@file@percent } +\newlabel{sec:pot-scilab-code}{{8.4.2}{150}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{144}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{144}\protected@file@percent } -\newlabel{105@xvr}{{}{144}} -\newlabel{105@vr}{{}{144}} -\newlabel{sci:pot-100}{{8.{1}}{144}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{144}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.5}Reading the potentiometer from Xcos}{144}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {8.3}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{145}\protected@file@percent } -\newlabel{107@xvr}{{}{145}} -\newlabel{107@vr}{{}{145}} -\newlabel{fig:pot-threshold}{{8.3}{145}} -\@writefile{toc}{\contentsline {paragraph}{Exercise:}{145}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.6}Reading the potentiometer from Python}{145}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.1}Reading the potentiometer}{145}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{146}\protected@file@percent } -\newlabel{tab:pot-threshold}{{8.1}{146}} -\newlabel{108@xvr}{{}{146}} -\newlabel{108@vr}{{}{146}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{146}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{147}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.2}Python Code}{147}\protected@file@percent } -\newlabel{sec:pot-python-code}{{8.6.2}{147}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{150}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{150}\protected@file@percent } +\newlabel{105@xvr}{{}{150}} +\newlabel{105@vr}{{}{150}} +\newlabel{sci:pot-100}{{8.{1}}{150}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{150}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.5}Reading the potentiometer from Xcos}{150}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {8.3}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{151}\protected@file@percent } +\newlabel{107@xvr}{{}{151}} +\newlabel{107@vr}{{}{151}} +\newlabel{fig:pot-threshold}{{8.3}{151}} +\@writefile{toc}{\contentsline {paragraph}{Exercise:}{151}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.6}Reading the potentiometer from Python}{151}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.1}Reading the potentiometer}{151}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{152}\protected@file@percent } +\newlabel{tab:pot-threshold}{{8.1}{152}} +\newlabel{108@xvr}{{}{152}} +\newlabel{108@vr}{{}{152}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{152}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{153}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.2}Python Code}{153}\protected@file@percent } +\newlabel{sec:pot-python-code}{{8.6.2}{153}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{8.{1}}{}}{147}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{147}\protected@file@percent } -\newlabel{109@xvr}{{}{147}} -\newlabel{109@vr}{{}{147}} -\newlabel{py:pot-100}{{8.{1}}{147}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{147}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.7}Reading the potentiometer from Julia}{148}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.1}Reading the potentiometer}{148}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{148}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{148}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.2}Julia Code}{149}\protected@file@percent } -\newlabel{sec:pot-julia-code}{{8.7.2}{149}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{8.{1}}{}}{153}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{153}\protected@file@percent } +\newlabel{109@xvr}{{}{153}} +\newlabel{109@vr}{{}{153}} +\newlabel{py:pot-100}{{8.{1}}{153}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{153}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.7}Reading the potentiometer from Julia}{154}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.1}Reading the potentiometer}{154}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{154}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{154}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.2}Julia Code}{155}\protected@file@percent } +\newlabel{sec:pot-julia-code}{{8.7.2}{155}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{149}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{149}\protected@file@percent } -\newlabel{110@xvr}{{}{149}} -\newlabel{110@vr}{{}{149}} -\newlabel{julia:pot-100}{{8.{1}}{149}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{149}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.8}Reading the potentiometer from OpenModelica}{149}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.8.1}Reading the potentiometer}{149}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{149}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{150}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.8.2}OpenModelica Code}{150}\protected@file@percent } -\newlabel{sec:pot-OpenModelica-code}{{8.8.2}{150}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{155}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{155}\protected@file@percent } +\newlabel{110@xvr}{{}{155}} +\newlabel{110@vr}{{}{155}} +\newlabel{julia:pot-100}{{8.{1}}{155}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{155}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.8}Reading the potentiometer from OpenModelica}{155}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.8.1}Reading the potentiometer}{155}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{155}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{156}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.8.2}OpenModelica Code}{156}\protected@file@percent } +\newlabel{sec:pot-OpenModelica-code}{{8.8.2}{156}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{150}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{150}\protected@file@percent } -\newlabel{111@xvr}{{}{150}} -\newlabel{111@vr}{{}{150}} -\newlabel{OpenModelica:pot-100}{{8.{1}}{150}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{150}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{156}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{156}\protected@file@percent } +\newlabel{111@xvr}{{}{156}} +\newlabel{111@vr}{{}{156}} +\newlabel{OpenModelica:pot-100}{{8.{1}}{156}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{156}\protected@file@percent } \citation{therm-wiki} \citation{therm-wiki} -\@writefile{toc}{\contentsline {chapter}{\numberline {9}Interfacing a Thermistor}{153}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {9}Interfacing a Thermistor}{159}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{thermistor}{{9}{153}} -\@writefile{toc}{\contentsline {section}{\numberline {9.1}Preliminaries}{153}\protected@file@percent } -\newlabel{fig:therm}{{9.1a}{154}} +\newlabel{thermistor}{{9}{159}} +\@writefile{toc}{\contentsline {section}{\numberline {9.1}Preliminaries}{159}\protected@file@percent } +\newlabel{fig:therm}{{9.1a}{160}} \newlabel{sub@fig:therm}{{(a)}{a}} -\newlabel{fig:thermsym}{{9.1b}{154}} +\newlabel{fig:thermsym}{{9.1b}{160}} \newlabel{sub@fig:thermsym}{{(b)}{b}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{154}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{154}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{154}\protected@file@percent } -\newlabel{fig:therm-conn}{{9.2a}{154}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{160}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{160}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{160}\protected@file@percent } +\newlabel{fig:therm-conn}{{9.2a}{160}} \newlabel{sub@fig:therm-conn}{{(a)}{a}} -\newlabel{fig:buzzer-conn}{{9.2b}{154}} +\newlabel{fig:buzzer-conn}{{9.2b}{160}} \newlabel{sub@fig:buzzer-conn}{{(b)}{b}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{154}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Thermistor connection diagram}}}{154}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Buzzer connection diagram}}}{154}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{154}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {9.3}{\ignorespaces A thermistor to read its values with Arduino Uno using a breadboard\relax }}{155}\protected@file@percent } -\newlabel{fig:ard-therm-bread}{{9.3}{155}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.4}{\ignorespaces A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }}{156}\protected@file@percent } -\newlabel{fig:ard-therm-buzzer}{{9.4}{156}} -\@writefile{toc}{\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from the Arduino IDE}{156}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{156}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{156}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{156}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{156}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{1}}{}}{157}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{157}\protected@file@percent } -\newlabel{sec:therm-arduino-code}{{9.3.2}{157}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{160}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Thermistor connection diagram}}}{160}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Buzzer connection diagram}}}{160}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{160}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {9.3}{\ignorespaces A thermistor to read its values with Arduino Uno using a breadboard\relax }}{161}\protected@file@percent } +\newlabel{fig:ard-therm-bread}{{9.3}{161}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.4}{\ignorespaces A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }}{162}\protected@file@percent } +\newlabel{fig:ard-therm-buzzer}{{9.4}{162}} +\@writefile{toc}{\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from the Arduino IDE}{162}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{162}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{162}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{162}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{162}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{1}}{}}{163}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{163}\protected@file@percent } +\newlabel{sec:therm-arduino-code}{{9.3.2}{163}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{157}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{157}\protected@file@percent } -\newlabel{112@xvr}{{}{157}} -\newlabel{112@vr}{{}{157}} -\newlabel{ard:therm-read}{{9.{1}}{157}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{157}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{158}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{158}\protected@file@percent } -\newlabel{113@xvr}{{}{158}} -\newlabel{113@vr}{{}{158}} -\newlabel{ard:therm-buzzer}{{9.{2}}{158}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash buzzer/therm\textendash buzzer.ino}{158}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.4}Interfacing the Thermistor from Scilab}{158}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.1}Interfacing the Thermistor}{158}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{2}}{}}{159}\protected@file@percent } -\newlabel{therm-abc}{{9.1}{159}} -\newlabel{therm-beta}{{9.2}{160}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{160}\protected@file@percent } -\newlabel{sec:therm-scilab-code}{{9.4.2}{160}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{163}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{163}\protected@file@percent } +\newlabel{112@xvr}{{}{163}} +\newlabel{112@vr}{{}{163}} +\newlabel{ard:therm-read}{{9.{1}}{163}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{163}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{164}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{164}\protected@file@percent } +\newlabel{113@xvr}{{}{164}} +\newlabel{113@vr}{{}{164}} +\newlabel{ard:therm-buzzer}{{9.{2}}{164}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash buzzer/therm\textendash buzzer.ino}{164}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.4}Interfacing the Thermistor from Scilab}{164}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.1}Interfacing the Thermistor}{164}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{2}}{}}{165}\protected@file@percent } +\newlabel{therm-abc}{{9.1}{165}} +\newlabel{therm-beta}{{9.2}{166}} +\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{166}\protected@file@percent } +\newlabel{sec:therm-scilab-code}{{9.4.2}{166}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{160}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{160}\protected@file@percent } -\newlabel{114@xvr}{{}{160}} -\newlabel{114@vr}{{}{160}} -\newlabel{sci:therm-read}{{9.{1}}{160}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash read.sce}{160}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{160}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{160}\protected@file@percent } -\newlabel{115@xvr}{{}{160}} -\newlabel{115@vr}{{}{160}} -\newlabel{sci:therm-buzzer}{{9.{2}}{160}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash buzzer.sce}{160}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {9.5}{\ignorespaces Xcos diagram to read thermistor values}}{161}\protected@file@percent } -\newlabel{117@xvr}{{}{161}} -\newlabel{117@vr}{{}{161}} -\newlabel{fig:therm-read}{{9.5}{161}} -\@writefile{toc}{\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Xcos}{161}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{162}\protected@file@percent } -\newlabel{tab:therm-read}{{9.1}{162}} -\newlabel{118@xvr}{{}{162}} -\newlabel{118@vr}{{}{162}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.6}{\ignorespaces Output of Xcos diagram to read thermistor values}}{162}\protected@file@percent } -\newlabel{120@xvr}{{}{162}} -\newlabel{120@vr}{{}{162}} -\newlabel{fig:therm-read-output}{{9.6}{162}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.7}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{163}\protected@file@percent } -\newlabel{122@xvr}{{}{163}} -\newlabel{122@vr}{{}{163}} -\newlabel{fig:therm-buzzer}{{9.7}{163}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.8}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{163}\protected@file@percent } -\newlabel{125@xvr}{{}{163}} -\newlabel{125@vr}{{}{163}} -\newlabel{fig:therm-buzzer-output}{{9.8}{163}} -\@writefile{lot}{\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{164}\protected@file@percent } -\newlabel{tab:ldr-led}{{9.2}{164}} -\newlabel{123@xvr}{{}{164}} -\newlabel{123@vr}{{}{164}} -\@writefile{toc}{\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Python}{164}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{164}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.2}Python Code}{165}\protected@file@percent } -\newlabel{sec:therm-pyhton-code}{{9.6.2}{165}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{166}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{166}\protected@file@percent } +\newlabel{114@xvr}{{}{166}} +\newlabel{114@vr}{{}{166}} +\newlabel{sci:therm-read}{{9.{1}}{166}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash read.sce}{166}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{166}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{166}\protected@file@percent } +\newlabel{115@xvr}{{}{166}} +\newlabel{115@vr}{{}{166}} +\newlabel{sci:therm-buzzer}{{9.{2}}{166}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash buzzer.sce}{166}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {9.5}{\ignorespaces Xcos diagram to read thermistor values}}{167}\protected@file@percent } +\newlabel{117@xvr}{{}{167}} +\newlabel{117@vr}{{}{167}} +\newlabel{fig:therm-read}{{9.5}{167}} +\@writefile{toc}{\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Xcos}{167}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{168}\protected@file@percent } +\newlabel{tab:therm-read}{{9.1}{168}} +\newlabel{118@xvr}{{}{168}} +\newlabel{118@vr}{{}{168}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.6}{\ignorespaces Output of Xcos diagram to read thermistor values}}{168}\protected@file@percent } +\newlabel{120@xvr}{{}{168}} +\newlabel{120@vr}{{}{168}} +\newlabel{fig:therm-read-output}{{9.6}{168}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.7}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{169}\protected@file@percent } +\newlabel{122@xvr}{{}{169}} +\newlabel{122@vr}{{}{169}} +\newlabel{fig:therm-buzzer}{{9.7}{169}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.8}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{169}\protected@file@percent } +\newlabel{125@xvr}{{}{169}} +\newlabel{125@vr}{{}{169}} +\newlabel{fig:therm-buzzer-output}{{9.8}{169}} +\@writefile{lot}{\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{170}\protected@file@percent } +\newlabel{tab:ldr-led}{{9.2}{170}} +\newlabel{123@xvr}{{}{170}} +\newlabel{123@vr}{{}{170}} +\@writefile{toc}{\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Python}{170}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{170}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.2}Python Code}{171}\protected@file@percent } +\newlabel{sec:therm-pyhton-code}{{9.6.2}{171}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{1}}{}}{165}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{165}\protected@file@percent } -\newlabel{126@xvr}{{}{165}} -\newlabel{126@vr}{{}{165}} -\newlabel{py:therm-read}{{9.{1}}{165}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash read.py}{165}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{2}}{}}{166}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{166}\protected@file@percent } -\newlabel{127@xvr}{{}{166}} -\newlabel{127@vr}{{}{166}} -\newlabel{py:therm-buzzer}{{9.{2}}{166}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash buzzer.py}{166}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from Julia}{167}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{167}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.2}Julia Code}{167}\protected@file@percent } -\newlabel{sec:therm-julia-code}{{9.7.2}{167}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{1}}{}}{171}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{171}\protected@file@percent } +\newlabel{126@xvr}{{}{171}} +\newlabel{126@vr}{{}{171}} +\newlabel{py:therm-read}{{9.{1}}{171}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash read.py}{171}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{2}}{}}{172}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{172}\protected@file@percent } +\newlabel{127@xvr}{{}{172}} +\newlabel{127@vr}{{}{172}} +\newlabel{py:therm-buzzer}{{9.{2}}{172}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash buzzer.py}{172}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from Julia}{173}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{173}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.2}Julia Code}{173}\protected@file@percent } +\newlabel{sec:therm-julia-code}{{9.7.2}{173}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{167}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{167}\protected@file@percent } -\newlabel{128@xvr}{{}{167}} -\newlabel{128@vr}{{}{167}} -\newlabel{julia:therm-read}{{9.{1}}{167}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash read.jl}{167}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{168}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{168}\protected@file@percent } -\newlabel{129@xvr}{{}{168}} -\newlabel{129@vr}{{}{168}} -\newlabel{julia:therm-buzzer}{{9.{2}}{168}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash buzzer.jl}{168}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.8}Interfacing the Thermistor from OpenModelica}{168}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.1}Interfacing the Thermistor}{168}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{169}\protected@file@percent } -\newlabel{sec:therm-OpenModelica-code}{{9.8.2}{169}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{173}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{173}\protected@file@percent } +\newlabel{128@xvr}{{}{173}} +\newlabel{128@vr}{{}{173}} +\newlabel{julia:therm-read}{{9.{1}}{173}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash read.jl}{173}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{174}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{174}\protected@file@percent } +\newlabel{129@xvr}{{}{174}} +\newlabel{129@vr}{{}{174}} +\newlabel{julia:therm-buzzer}{{9.{2}}{174}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash buzzer.jl}{174}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.8}Interfacing the Thermistor from OpenModelica}{174}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.1}Interfacing the Thermistor}{174}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{175}\protected@file@percent } +\newlabel{sec:therm-OpenModelica-code}{{9.8.2}{175}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{169}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{169}\protected@file@percent } -\newlabel{130@xvr}{{}{169}} -\newlabel{130@vr}{{}{169}} -\newlabel{OpenModelica:therm-read}{{9.{1}}{169}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash read.mo}{169}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{170}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{170}\protected@file@percent } -\newlabel{131@xvr}{{}{170}} -\newlabel{131@vr}{{}{170}} -\newlabel{OpenModelica:therm-buzzer}{{9.{2}}{170}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash buzzer.mo}{170}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{171}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{175}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{175}\protected@file@percent } +\newlabel{130@xvr}{{}{175}} +\newlabel{130@vr}{{}{175}} +\newlabel{OpenModelica:therm-read}{{9.{1}}{175}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash read.mo}{175}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{176}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{176}\protected@file@percent } +\newlabel{131@xvr}{{}{176}} +\newlabel{131@vr}{{}{176}} +\newlabel{OpenModelica:therm-buzzer}{{9.{2}}{176}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash buzzer.mo}{176}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{177}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{sec:servo}{{10}{171}} -\@writefile{toc}{\contentsline {section}{\numberline {10.1}Preliminaries}{171}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{172}\protected@file@percent } -\newlabel{tab:servo-connect}{{10.1}{172}} -\@writefile{toc}{\contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{172}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.1}Controlling the Servometer}{172}\protected@file@percent } -\newlabel{sec:servo-ard}{{10.2.1}{172}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{1}}{}}{173}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{173}\protected@file@percent } -\newlabel{sec:servo-arduino-code}{{10.2.2}{173}} +\newlabel{sec:servo}{{10}{177}} +\@writefile{toc}{\contentsline {section}{\numberline {10.1}Preliminaries}{177}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{178}\protected@file@percent } +\newlabel{tab:servo-connect}{{10.1}{178}} +\@writefile{toc}{\contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{178}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.1}Controlling the Servometer}{178}\protected@file@percent } +\newlabel{sec:servo-ard}{{10.2.1}{178}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{1}}{}}{179}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{179}\protected@file@percent } +\newlabel{sec:servo-arduino-code}{{10.2.2}{179}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{173}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{173}\protected@file@percent } -\newlabel{132@xvr}{{}{173}} -\newlabel{132@vr}{{}{173}} -\newlabel{ard:servo-init}{{10.{1}}{173}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{173}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{174}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{174}\protected@file@percent } -\newlabel{133@xvr}{{}{174}} -\newlabel{133@vr}{{}{174}} -\newlabel{ard:servo-reverse}{{10.{2}}{174}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash reverse/servo\textendash reverse.ino}{174}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{174}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in increments}{174}\protected@file@percent } -\newlabel{134@xvr}{{}{174}} -\newlabel{134@vr}{{}{174}} -\newlabel{ard:servo-loop}{{10.{3}}{174}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash loop/servo\textendash loop.ino}{174}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{175}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{175}\protected@file@percent } -\newlabel{135@xvr}{{}{175}} -\newlabel{135@vr}{{}{175}} -\newlabel{ard:servo-pot}{{10.{4}}{175}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash pot/servo\textendash pot.ino}{175}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{175}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.1}Controlling the Servomotor}{175}\protected@file@percent } -\newlabel{sec:servo-sci}{{10.3.1}{175}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{175}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{176}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{176}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{176}\protected@file@percent } -\newlabel{sec:servo-scilab-code}{{10.3.2}{176}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{179}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{179}\protected@file@percent } +\newlabel{132@xvr}{{}{179}} +\newlabel{132@vr}{{}{179}} +\newlabel{ard:servo-init}{{10.{1}}{179}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{179}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{180}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{180}\protected@file@percent } +\newlabel{133@xvr}{{}{180}} +\newlabel{133@vr}{{}{180}} +\newlabel{ard:servo-reverse}{{10.{2}}{180}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash reverse/servo\textendash reverse.ino}{180}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{180}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in increments}{180}\protected@file@percent } +\newlabel{134@xvr}{{}{180}} +\newlabel{134@vr}{{}{180}} +\newlabel{ard:servo-loop}{{10.{3}}{180}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash loop/servo\textendash loop.ino}{180}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{181}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{181}\protected@file@percent } +\newlabel{135@xvr}{{}{181}} +\newlabel{135@vr}{{}{181}} +\newlabel{ard:servo-pot}{{10.{4}}{181}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash pot/servo\textendash pot.ino}{181}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{181}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.1}Controlling the Servomotor}{181}\protected@file@percent } +\newlabel{sec:servo-sci}{{10.3.1}{181}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{181}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{182}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{182}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{182}\protected@file@percent } +\newlabel{sec:servo-scilab-code}{{10.3.2}{182}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{176}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{176}\protected@file@percent } -\newlabel{136@xvr}{{}{176}} -\newlabel{136@vr}{{}{176}} -\newlabel{sci:servo-init}{{10.{1}}{176}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{176}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{176}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{176}\protected@file@percent } -\newlabel{137@xvr}{{}{176}} -\newlabel{137@vr}{{}{176}} -\newlabel{sci:servo-reverse}{{10.{2}}{176}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash reverse.sce}{177}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{177}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{177}\protected@file@percent } -\newlabel{138@xvr}{{}{177}} -\newlabel{138@vr}{{}{177}} -\newlabel{sci:servo-loop}{{10.{3}}{177}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash loop.sce}{177}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{177}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{177}\protected@file@percent } -\newlabel{139@xvr}{{}{177}} -\newlabel{139@vr}{{}{177}} -\newlabel{sci:servo-pot}{{10.{4}}{177}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{177}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{177}\protected@file@percent } -\newlabel{sec:servo-xcos}{{10.4}{177}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{178}\protected@file@percent } -\newlabel{141@xvr}{{}{178}} -\newlabel{141@vr}{{}{178}} -\newlabel{fig:servo-init}{{10.1}{178}} -\@writefile{lot}{\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{178}\protected@file@percent } -\newlabel{tab:servo-init}{{10.2}{178}} -\newlabel{142@xvr}{{}{178}} -\newlabel{142@vr}{{}{178}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{179}\protected@file@percent } -\newlabel{144@xvr}{{}{179}} -\newlabel{144@vr}{{}{179}} -\newlabel{fig:servo-reverse}{{10.2}{179}} -\@writefile{lot}{\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{180}\protected@file@percent } -\newlabel{tab:servo-reverse}{{10.3}{180}} -\newlabel{145@xvr}{{}{180}} -\newlabel{145@vr}{{}{180}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{180}\protected@file@percent } -\newlabel{147@xvr}{{}{180}} -\newlabel{147@vr}{{}{180}} -\newlabel{fig:servo-loop}{{10.3}{180}} -\@writefile{lot}{\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{181}\protected@file@percent } -\newlabel{tab:servo-loop}{{10.4}{181}} -\newlabel{148@xvr}{{}{181}} -\newlabel{148@vr}{{}{181}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{181}\protected@file@percent } -\newlabel{150@xvr}{{}{181}} -\newlabel{150@vr}{{}{181}} -\newlabel{fig:servo-pot}{{10.4}{181}} -\@writefile{lot}{\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{182}\protected@file@percent } -\newlabel{tab:servo-pot}{{10.5}{182}} -\newlabel{151@xvr}{{}{182}} -\newlabel{151@vr}{{}{182}} -\@writefile{toc}{\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{182}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{182}\protected@file@percent } -\newlabel{sec:servo-py}{{10.5.1}{182}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{182}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{183}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{183}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.2}Python Code}{183}\protected@file@percent } -\newlabel{sec:servo-python-code}{{10.5.2}{183}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{182}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{182}\protected@file@percent } +\newlabel{136@xvr}{{}{182}} +\newlabel{136@vr}{{}{182}} +\newlabel{sci:servo-init}{{10.{1}}{182}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{182}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{182}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{182}\protected@file@percent } +\newlabel{137@xvr}{{}{182}} +\newlabel{137@vr}{{}{182}} +\newlabel{sci:servo-reverse}{{10.{2}}{182}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash reverse.sce}{183}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{183}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{183}\protected@file@percent } +\newlabel{138@xvr}{{}{183}} +\newlabel{138@vr}{{}{183}} +\newlabel{sci:servo-loop}{{10.{3}}{183}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash loop.sce}{183}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{183}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{183}\protected@file@percent } +\newlabel{139@xvr}{{}{183}} +\newlabel{139@vr}{{}{183}} +\newlabel{sci:servo-pot}{{10.{4}}{183}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{183}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{183}\protected@file@percent } +\newlabel{sec:servo-xcos}{{10.4}{183}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{184}\protected@file@percent } +\newlabel{141@xvr}{{}{184}} +\newlabel{141@vr}{{}{184}} +\newlabel{fig:servo-init}{{10.1}{184}} +\@writefile{lot}{\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{184}\protected@file@percent } +\newlabel{tab:servo-init}{{10.2}{184}} +\newlabel{142@xvr}{{}{184}} +\newlabel{142@vr}{{}{184}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{185}\protected@file@percent } +\newlabel{144@xvr}{{}{185}} +\newlabel{144@vr}{{}{185}} +\newlabel{fig:servo-reverse}{{10.2}{185}} +\@writefile{lot}{\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{186}\protected@file@percent } +\newlabel{tab:servo-reverse}{{10.3}{186}} +\newlabel{145@xvr}{{}{186}} +\newlabel{145@vr}{{}{186}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{186}\protected@file@percent } +\newlabel{147@xvr}{{}{186}} +\newlabel{147@vr}{{}{186}} +\newlabel{fig:servo-loop}{{10.3}{186}} +\@writefile{lot}{\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{187}\protected@file@percent } +\newlabel{tab:servo-loop}{{10.4}{187}} +\newlabel{148@xvr}{{}{187}} +\newlabel{148@vr}{{}{187}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{187}\protected@file@percent } +\newlabel{150@xvr}{{}{187}} +\newlabel{150@vr}{{}{187}} +\newlabel{fig:servo-pot}{{10.4}{187}} +\@writefile{lot}{\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{188}\protected@file@percent } +\newlabel{tab:servo-pot}{{10.5}{188}} +\newlabel{151@xvr}{{}{188}} +\newlabel{151@vr}{{}{188}} +\@writefile{toc}{\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{188}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{188}\protected@file@percent } +\newlabel{sec:servo-py}{{10.5.1}{188}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{188}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{189}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{189}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.2}Python Code}{189}\protected@file@percent } +\newlabel{sec:servo-python-code}{{10.5.2}{189}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{1}}{}}{183}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{183}\protected@file@percent } -\newlabel{152@xvr}{{}{183}} -\newlabel{152@vr}{{}{183}} -\newlabel{py:servo-init}{{10.{1}}{183}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{183}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{2}}{}}{184}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{184}\protected@file@percent } -\newlabel{153@xvr}{{}{184}} -\newlabel{153@vr}{{}{184}} -\newlabel{py:servo-reverse}{{10.{2}}{184}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash reverse.py}{184}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{3}}{}}{185}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{185}\protected@file@percent } -\newlabel{154@xvr}{{}{185}} -\newlabel{154@vr}{{}{185}} -\newlabel{sci:servo-loop}{{10.{3}}{185}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash loop.py}{185}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{4}}{}}{186}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{186}\protected@file@percent } -\newlabel{155@xvr}{{}{186}} -\newlabel{155@vr}{{}{186}} -\newlabel{py:servo-pot}{{10.{4}}{186}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{186}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{187}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.1}Controlling the Servomotor}{187}\protected@file@percent } -\newlabel{sec:servo-julia}{{10.6.1}{187}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{187}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{188}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{188}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.2}Julia Code}{188}\protected@file@percent } -\newlabel{sec:servo-julia-code}{{10.6.2}{188}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{1}}{}}{189}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{189}\protected@file@percent } +\newlabel{152@xvr}{{}{189}} +\newlabel{152@vr}{{}{189}} +\newlabel{py:servo-init}{{10.{1}}{189}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{189}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{2}}{}}{190}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{190}\protected@file@percent } +\newlabel{153@xvr}{{}{190}} +\newlabel{153@vr}{{}{190}} +\newlabel{py:servo-reverse}{{10.{2}}{190}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash reverse.py}{190}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{3}}{}}{191}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{191}\protected@file@percent } +\newlabel{154@xvr}{{}{191}} +\newlabel{154@vr}{{}{191}} +\newlabel{sci:servo-loop}{{10.{3}}{191}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash loop.py}{191}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{4}}{}}{192}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{192}\protected@file@percent } +\newlabel{155@xvr}{{}{192}} +\newlabel{155@vr}{{}{192}} +\newlabel{py:servo-pot}{{10.{4}}{192}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{192}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{193}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.1}Controlling the Servomotor}{193}\protected@file@percent } +\newlabel{sec:servo-julia}{{10.6.1}{193}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{193}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{194}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{194}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.2}Julia Code}{194}\protected@file@percent } +\newlabel{sec:servo-julia-code}{{10.6.2}{194}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{188}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{188}\protected@file@percent } -\newlabel{156@xvr}{{}{188}} -\newlabel{156@vr}{{}{188}} -\newlabel{julia:servo-init}{{10.{1}}{188}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{188}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{188}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{188}\protected@file@percent } -\newlabel{157@xvr}{{}{188}} -\newlabel{157@vr}{{}{188}} -\newlabel{julia:servo-reverse}{{10.{2}}{188}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash reverse.jl}{188}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{189}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{189}\protected@file@percent } -\newlabel{158@xvr}{{}{189}} -\newlabel{158@vr}{{}{189}} -\newlabel{julia:servo-loop}{{10.{3}}{189}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash loop.jl}{189}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{189}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{189}\protected@file@percent } -\newlabel{159@xvr}{{}{189}} -\newlabel{159@vr}{{}{189}} -\newlabel{julia:servo-pot}{{10.{4}}{189}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{189}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{189}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.1}Controlling the Servomotor}{189}\protected@file@percent } -\newlabel{sec:servo-OpenModelica}{{10.7.1}{189}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{190}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{190}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{190}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{190}\protected@file@percent } -\newlabel{sec:servo-OpenModelica-code}{{10.7.2}{190}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{194}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{194}\protected@file@percent } +\newlabel{156@xvr}{{}{194}} +\newlabel{156@vr}{{}{194}} +\newlabel{julia:servo-init}{{10.{1}}{194}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{194}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{194}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{194}\protected@file@percent } +\newlabel{157@xvr}{{}{194}} +\newlabel{157@vr}{{}{194}} +\newlabel{julia:servo-reverse}{{10.{2}}{194}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash reverse.jl}{194}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{195}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{195}\protected@file@percent } +\newlabel{158@xvr}{{}{195}} +\newlabel{158@vr}{{}{195}} +\newlabel{julia:servo-loop}{{10.{3}}{195}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash loop.jl}{195}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{195}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{195}\protected@file@percent } +\newlabel{159@xvr}{{}{195}} +\newlabel{159@vr}{{}{195}} +\newlabel{julia:servo-pot}{{10.{4}}{195}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{195}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{195}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.1}Controlling the Servomotor}{195}\protected@file@percent } +\newlabel{sec:servo-OpenModelica}{{10.7.1}{195}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{196}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{196}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{196}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{196}\protected@file@percent } +\newlabel{sec:servo-OpenModelica-code}{{10.7.2}{196}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{190}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{190}\protected@file@percent } -\newlabel{160@xvr}{{}{190}} -\newlabel{160@vr}{{}{190}} -\newlabel{OpenModelica:servo-init}{{10.{1}}{190}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{190}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{191}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{191}\protected@file@percent } -\newlabel{161@xvr}{{}{191}} -\newlabel{161@vr}{{}{191}} -\newlabel{OpenModelica:servo-reverse}{{10.{2}}{191}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash reverse.mo}{191}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{192}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{192}\protected@file@percent } -\newlabel{162@xvr}{{}{192}} -\newlabel{162@vr}{{}{192}} -\newlabel{OpenModelica:servo-loop}{{10.{3}}{192}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash loop.mo}{192}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{192}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{192}\protected@file@percent } -\newlabel{163@xvr}{{}{192}} -\newlabel{163@vr}{{}{192}} -\newlabel{OpenModelica:servo-pot}{{10.{4}}{192}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{193}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{195}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{196}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{196}\protected@file@percent } +\newlabel{160@xvr}{{}{196}} +\newlabel{160@vr}{{}{196}} +\newlabel{OpenModelica:servo-init}{{10.{1}}{196}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{196}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{197}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{197}\protected@file@percent } +\newlabel{161@xvr}{{}{197}} +\newlabel{161@vr}{{}{197}} +\newlabel{OpenModelica:servo-reverse}{{10.{2}}{197}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash reverse.mo}{197}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{198}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{198}\protected@file@percent } +\newlabel{162@xvr}{{}{198}} +\newlabel{162@vr}{{}{198}} +\newlabel{OpenModelica:servo-loop}{{10.{3}}{198}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash loop.mo}{198}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{198}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{198}\protected@file@percent } +\newlabel{163@xvr}{{}{198}} +\newlabel{163@vr}{{}{198}} +\newlabel{OpenModelica:servo-pot}{{10.{4}}{198}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{199}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{201}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{modbus}{{11}{195}} -\@writefile{toc}{\contentsline {section}{\numberline {11.1}Preliminaries}{195}\protected@file@percent } -\newlabel{fig:mod-block}{{\caption@xref {fig:mod-block}{ on input line 72}}{196}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{196}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.2}{\ignorespaces Master-Slave Query-Response Cycle\relax }}{196}\protected@file@percent } -\newlabel{fig:mod-master-slave}{{11.2}{196}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{197}\protected@file@percent } -\newlabel{fig:rs-485}{{11.3}{197}} -\@writefile{lot}{\contentsline {table}{\numberline {11.1}{\ignorespaces Interpretation of a request packet\relax }}{198}\protected@file@percent } -\newlabel{tab:request-packet}{{11.1}{198}} -\@writefile{lot}{\contentsline {table}{\numberline {11.2}{\ignorespaces Interpretation of a response packet\relax }}{198}\protected@file@percent } -\newlabel{tab:response-packet}{{11.2}{198}} -\@writefile{lot}{\contentsline {table}{\numberline {11.3}{\ignorespaces Hexadecimal to Decimal\relax }}{199}\protected@file@percent } -\newlabel{tab:ieee-decimal}{{11.3}{199}} -\@writefile{lot}{\contentsline {table}{\numberline {11.4}{\ignorespaces Single and Double Precision Representation\relax }}{199}\protected@file@percent } -\newlabel{tab:single-precision}{{11.4}{199}} -\@writefile{toc}{\contentsline {section}{\numberline {11.2}Objective}{200}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {11.3}Energy Meter set up for Modbus protocol with Arduino Uno}{200}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.4}{\ignorespaces MODBUS Set Up for Energy Meter\relax }}{201}\protected@file@percent } -\newlabel{fig:full-set-up}{{11.4}{201}} -\@writefile{toc}{\contentsline {section}{\numberline {11.4}Software}{201}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.5}{\ignorespaces Block Diagram for Energy Meter Setup\relax }}{202}\protected@file@percent } -\newlabel{fig:block-diagram}{{11.5}{202}} -\@writefile{toc}{\contentsline {section}{\numberline {11.5}Output}{202}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{203}\protected@file@percent } -\newlabel{fig:modbus-firmware}{{11.6}{203}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.7}{\ignorespaces Flow Chart of the Modbus Energy Meter Implementation\relax }}{204}\protected@file@percent } -\newlabel{fig:flow-chart}{{11.7}{204}} -\@writefile{toc}{\contentsline {section}{\numberline {11.6}Reading Parameters from Xcos}{204}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.8}{\ignorespaces Single Phase Current Output on Scilab Console\relax }}{205}\protected@file@percent } -\newlabel{fig:current-console}{{11.8}{205}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.9}{\ignorespaces Single Phase Current Output on Energy Meter\relax }}{205}\protected@file@percent } -\newlabel{fig:current-meter}{{11.9}{205}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.10}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{206}\protected@file@percent } -\newlabel{fig:voltage-console}{{11.10}{206}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.11}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{206}\protected@file@percent } -\newlabel{fig:voltage-meter}{{11.11}{206}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.12}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{207}\protected@file@percent } -\newlabel{fig:power-console}{{11.12}{207}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.13}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{207}\protected@file@percent } -\newlabel{fig:power-meter}{{11.13}{207}} -\@writefile{toc}{\contentsline {section}{\numberline {11.7}Code}{207}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.1}Arduino Code}{207}\protected@file@percent } -\newlabel{sec:firmware-modbus}{{11.7.1}{207}} +\newlabel{modbus}{{11}{201}} +\@writefile{toc}{\contentsline {section}{\numberline {11.1}Preliminaries}{201}\protected@file@percent } +\newlabel{fig:mod-block}{{\caption@xref {fig:mod-block}{ on input line 72}}{202}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{202}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.2}{\ignorespaces Master-Slave Query-Response Cycle\relax }}{202}\protected@file@percent } +\newlabel{fig:mod-master-slave}{{11.2}{202}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{203}\protected@file@percent } +\newlabel{fig:rs-485}{{11.3}{203}} +\@writefile{lot}{\contentsline {table}{\numberline {11.1}{\ignorespaces Interpretation of a request packet\relax }}{204}\protected@file@percent } +\newlabel{tab:request-packet}{{11.1}{204}} +\@writefile{lot}{\contentsline {table}{\numberline {11.2}{\ignorespaces Interpretation of a response packet\relax }}{204}\protected@file@percent } +\newlabel{tab:response-packet}{{11.2}{204}} +\@writefile{lot}{\contentsline {table}{\numberline {11.3}{\ignorespaces Hexadecimal to Decimal\relax }}{205}\protected@file@percent } +\newlabel{tab:ieee-decimal}{{11.3}{205}} +\@writefile{lot}{\contentsline {table}{\numberline {11.4}{\ignorespaces Single and Double Precision Representation\relax }}{205}\protected@file@percent } +\newlabel{tab:single-precision}{{11.4}{205}} +\@writefile{toc}{\contentsline {section}{\numberline {11.2}Objective}{206}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.3}Energy Meter set up for Modbus protocol with Arduino Uno}{206}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.4}{\ignorespaces MODBUS Set Up for Energy Meter\relax }}{207}\protected@file@percent } +\newlabel{fig:full-set-up}{{11.4}{207}} +\@writefile{toc}{\contentsline {section}{\numberline {11.4}Software}{207}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.5}{\ignorespaces Block Diagram for Energy Meter Setup\relax }}{208}\protected@file@percent } +\newlabel{fig:block-diagram}{{11.5}{208}} +\@writefile{toc}{\contentsline {section}{\numberline {11.5}Output}{208}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{209}\protected@file@percent } +\newlabel{fig:modbus-firmware}{{11.6}{209}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.7}{\ignorespaces Flow Chart of the Modbus Energy Meter Implementation\relax }}{210}\protected@file@percent } +\newlabel{fig:flow-chart}{{11.7}{210}} +\@writefile{toc}{\contentsline {section}{\numberline {11.6}Reading Parameters from Xcos}{210}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.8}{\ignorespaces Single Phase Current Output on Scilab Console\relax }}{211}\protected@file@percent } +\newlabel{fig:current-console}{{11.8}{211}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.9}{\ignorespaces Single Phase Current Output on Energy Meter\relax }}{211}\protected@file@percent } +\newlabel{fig:current-meter}{{11.9}{211}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.10}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{212}\protected@file@percent } +\newlabel{fig:voltage-console}{{11.10}{212}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.11}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{212}\protected@file@percent } +\newlabel{fig:voltage-meter}{{11.11}{212}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.12}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{213}\protected@file@percent } +\newlabel{fig:power-console}{{11.12}{213}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.13}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{213}\protected@file@percent } +\newlabel{fig:power-meter}{{11.13}{213}} +\@writefile{toc}{\contentsline {section}{\numberline {11.7}Code}{213}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.1}Arduino Code}{213}\protected@file@percent } +\newlabel{sec:firmware-modbus}{{11.7.1}{213}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{207}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{207}\protected@file@percent } -\newlabel{166@xvr}{{}{207}} -\newlabel{166@vr}{{}{207}} -\newlabel{ard:firmware-modbus}{{11.{1}}{207}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/arduino/send\textunderscore packet.ino}{207}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{208}\protected@file@percent } -\newlabel{165@xvr}{{}{208}} -\newlabel{165@vr}{{}{208}} -\newlabel{fig:mod-read}{{11.14}{208}} -\@writefile{lot}{\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{208}\protected@file@percent } -\newlabel{tab:mod-xcos-read}{{11.5}{208}} -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.2}Scilab Code}{209}\protected@file@percent } -\newlabel{sec:modbus-scilab-code}{{11.7.2}{209}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{213}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{213}\protected@file@percent } +\newlabel{166@xvr}{{}{213}} +\newlabel{166@vr}{{}{213}} +\newlabel{ard:firmware-modbus}{{11.{1}}{213}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/arduino/send\textunderscore packet.ino}{213}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{214}\protected@file@percent } +\newlabel{165@xvr}{{}{214}} +\newlabel{165@vr}{{}{214}} +\newlabel{fig:mod-read}{{11.14}{214}} +\@writefile{lot}{\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{214}\protected@file@percent } +\newlabel{tab:mod-xcos-read}{{11.5}{214}} +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.2}Scilab Code}{215}\protected@file@percent } +\newlabel{sec:modbus-scilab-code}{{11.7.2}{215}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{209}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{209}\protected@file@percent } -\newlabel{167@xvr}{{}{209}} -\newlabel{167@vr}{{}{209}} -\newlabel{sci:current-modbus}{{11.{1}}{209}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore val.sce}{209}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{209}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{209}\protected@file@percent } -\newlabel{168@xvr}{{}{209}} -\newlabel{168@vr}{{}{209}} -\newlabel{sci:current-modbus}{{11.{2}}{209}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore current.sci}{209}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{209}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{209}\protected@file@percent } -\newlabel{169@xvr}{{}{209}} -\newlabel{169@vr}{{}{209}} -\newlabel{sci:voltage-modbus}{{11.{3}}{209}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore voltage.sci}{209}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{210}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{210}\protected@file@percent } -\newlabel{170@xvr}{{}{210}} -\newlabel{170@vr}{{}{210}} -\newlabel{sci:modbus-power}{{11.{4}}{210}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore active\textunderscore power.sci}{210}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.3}Python Code}{210}\protected@file@percent } -\newlabel{sec:modbus-python-code}{{11.7.3}{210}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{215}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{215}\protected@file@percent } +\newlabel{167@xvr}{{}{215}} +\newlabel{167@vr}{{}{215}} +\newlabel{sci:current-modbus}{{11.{1}}{215}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore val.sce}{215}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{215}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{215}\protected@file@percent } +\newlabel{168@xvr}{{}{215}} +\newlabel{168@vr}{{}{215}} +\newlabel{sci:current-modbus}{{11.{2}}{215}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore current.sci}{215}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{215}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{215}\protected@file@percent } +\newlabel{169@xvr}{{}{215}} +\newlabel{169@vr}{{}{215}} +\newlabel{sci:voltage-modbus}{{11.{3}}{215}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore voltage.sci}{215}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{216}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{216}\protected@file@percent } +\newlabel{170@xvr}{{}{216}} +\newlabel{170@vr}{{}{216}} +\newlabel{sci:modbus-power}{{11.{4}}{216}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore active\textunderscore power.sci}{216}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.3}Python Code}{216}\protected@file@percent } +\newlabel{sec:modbus-python-code}{{11.7.3}{216}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{1}}{}}{210}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{210}\protected@file@percent } -\newlabel{171@xvr}{{}{210}} -\newlabel{171@vr}{{}{210}} -\newlabel{py:current-modbus}{{11.{1}}{210}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore current.py}{210}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{2}}{}}{210}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{210}\protected@file@percent } -\newlabel{172@xvr}{{}{210}} -\newlabel{172@vr}{{}{210}} -\newlabel{py:voltage-modbus}{{11.{2}}{210}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore voltage.py}{210}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{3}}{}}{211}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{211}\protected@file@percent } -\newlabel{173@xvr}{{}{211}} -\newlabel{173@vr}{{}{211}} -\newlabel{py:modbus-power}{{11.{3}}{211}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore active\textunderscore power.py}{211}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.4}Julia Code}{211}\protected@file@percent } -\newlabel{sec:modbus-julia-code}{{11.7.4}{211}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{1}}{}}{216}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{216}\protected@file@percent } +\newlabel{171@xvr}{{}{216}} +\newlabel{171@vr}{{}{216}} +\newlabel{py:current-modbus}{{11.{1}}{216}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore current.py}{216}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{2}}{}}{216}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{216}\protected@file@percent } +\newlabel{172@xvr}{{}{216}} +\newlabel{172@vr}{{}{216}} +\newlabel{py:voltage-modbus}{{11.{2}}{216}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore voltage.py}{216}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{3}}{}}{217}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{217}\protected@file@percent } +\newlabel{173@xvr}{{}{217}} +\newlabel{173@vr}{{}{217}} +\newlabel{py:modbus-power}{{11.{3}}{217}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore active\textunderscore power.py}{217}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.4}Julia Code}{217}\protected@file@percent } +\newlabel{sec:modbus-julia-code}{{11.7.4}{217}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{211}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{211}\protected@file@percent } -\newlabel{174@xvr}{{}{211}} -\newlabel{174@vr}{{}{211}} -\newlabel{julia:current-modbus}{{11.{1}}{211}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readCurrent.jl}{211}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{211}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{211}\protected@file@percent } -\newlabel{175@xvr}{{}{211}} -\newlabel{175@vr}{{}{211}} -\newlabel{julia:voltage-modbus}{{11.{2}}{211}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readVoltage.jl}{211}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{212}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{212}\protected@file@percent } -\newlabel{176@xvr}{{}{212}} -\newlabel{176@vr}{{}{212}} -\newlabel{julia:modbus-power}{{11.{3}}{212}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readPower.jl}{212}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{212}\protected@file@percent } -\newlabel{sec:modbus-OpenModelica-code}{{11.7.5}{212}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{217}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{217}\protected@file@percent } +\newlabel{174@xvr}{{}{217}} +\newlabel{174@vr}{{}{217}} +\newlabel{julia:current-modbus}{{11.{1}}{217}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readCurrent.jl}{217}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{217}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{217}\protected@file@percent } +\newlabel{175@xvr}{{}{217}} +\newlabel{175@vr}{{}{217}} +\newlabel{julia:voltage-modbus}{{11.{2}}{217}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readVoltage.jl}{217}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{218}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{218}\protected@file@percent } +\newlabel{176@xvr}{{}{218}} +\newlabel{176@vr}{{}{218}} +\newlabel{julia:modbus-power}{{11.{3}}{218}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readPower.jl}{218}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{218}\protected@file@percent } +\newlabel{sec:modbus-OpenModelica-code}{{11.7.5}{218}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{212}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{212}\protected@file@percent } -\newlabel{177@xvr}{{}{212}} -\newlabel{177@vr}{{}{212}} -\newlabel{OpenModelica:current-modbus}{{11.{1}}{212}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readCurrent.mo}{212}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{212}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{212}\protected@file@percent } -\newlabel{178@xvr}{{}{212}} -\newlabel{178@vr}{{}{212}} -\newlabel{OpenModelica:voltage-modbus}{{11.{2}}{212}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readVoltage.mo}{212}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{218}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{218}\protected@file@percent } +\newlabel{177@xvr}{{}{218}} +\newlabel{177@vr}{{}{218}} +\newlabel{OpenModelica:current-modbus}{{11.{1}}{218}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readCurrent.mo}{218}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{218}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{218}\protected@file@percent } +\newlabel{178@xvr}{{}{218}} +\newlabel{178@vr}{{}{218}} +\newlabel{OpenModelica:voltage-modbus}{{11.{2}}{218}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readVoltage.mo}{218}\protected@file@percent } \bibdata{bibliography.bib} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{213}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{213}\protected@file@percent } -\newlabel{179@xvr}{{}{213}} -\newlabel{179@vr}{{}{213}} -\newlabel{OpenModelica:modbus-power}{{11.{3}}{213}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readPower.mo}{213}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{219}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{219}\protected@file@percent } +\newlabel{179@xvr}{{}{219}} +\newlabel{179@vr}{{}{219}} +\newlabel{OpenModelica:modbus-power}{{11.{3}}{219}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readPower.mo}{219}\protected@file@percent } \bibcite{CNES-Scilab}{1} \bibcite{scilab-arduino}{2} \bibcite{oshw-ref}{3} @@ -1502,6 +1509,7 @@ \bibcite{scilab-ref}{12} \bibcite{scilab-interop}{13} \bibcite{xcos-ref}{14} -\@writefile{toc}{\contentsline {chapter}{\numberline {References}}{215}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {References}}{221}\protected@file@percent } \bibcite{python-ref}{15} -\bibcite{om-ref}{16} +\bibcite{julia-ref}{16} +\bibcite{om-ref}{17} diff --git a/floss-arduino.bbl b/floss-arduino.bbl index 87b2f8e..4cfa62f 100644 --- a/floss-arduino.bbl +++ b/floss-arduino.bbl @@ -81,6 +81,11 @@ python.org. \newblock https://www.python.org/doc/essays/blurb/. \newblock Seen on 24 February 2021. +\bibitem{julia-ref} +julialang.org/. +\newblock https://julialang.org/. +\newblock Seen on 12 April 2021. + \bibitem{om-ref} python.org. \newblock https://www.openmodelica.org/. diff --git a/floss-arduino.blg b/floss-arduino.blg index a1b95d0..8b34316 100644 --- a/floss-arduino.blg +++ b/floss-arduino.blg @@ -4,45 +4,45 @@ The top-level auxiliary file: floss-arduino.aux The style file: unsrt.bst Database file #1: bibliography.bib Warning--I didn't find a database entry for "therm-wiki" -You've used 16 entries, +You've used 17 entries, 1791 wiz_defined-function locations, - 499 strings with 4826 characters, -and the built_in function-call counts, 1841 in all, are: -= -- 166 -> -- 25 + 503 strings with 4892 characters, +and the built_in function-call counts, 1950 in all, are: += -- 176 +> -- 26 < -- 0 -+ -- 19 ++ -- 20 - -- 3 * -- 2 -:= -- 217 -add.period$ -- 51 -call.type$ -- 16 -change.case$ -- 16 +:= -- 228 +add.period$ -- 54 +call.type$ -- 17 +change.case$ -- 17 chr.to.int$ -- 0 -cite$ -- 16 -duplicate$ -- 80 -empty$ -- 289 +cite$ -- 17 +duplicate$ -- 85 +empty$ -- 307 format.name$ -- 3 -if$ -- 474 +if$ -- 503 int.to.chr$ -- 0 -int.to.str$ -- 16 +int.to.str$ -- 17 missing$ -- 0 -newline$ -- 86 +newline$ -- 91 num.names$ -- 3 -pop$ -- 125 +pop$ -- 133 preamble$ -- 1 purify$ -- 0 quote$ -- 0 -skip$ -- 44 +skip$ -- 47 stack$ -- 0 substring$ -- 0 -swap$ -- 16 +swap$ -- 17 text.length$ -- 0 text.prefix$ -- 0 top$ -- 0 type$ -- 0 warning$ -- 0 while$ -- 3 -width$ -- 18 -write$ -- 152 +width$ -- 19 +write$ -- 161 (There was 1 warning) diff --git a/floss-arduino.cod b/floss-arduino.cod index cea9d25..de4e8ff 100644 --- a/floss-arduino.cod +++ b/floss-arduino.cod @@ -3,32 +3,32 @@ \addvspace {10pt} \addvspace {10pt} \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the LED through Scilab}{63}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{63}% -\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{64}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{64}% +\contentsline {section}{\numberline {4.{1}}Turning on the LED through Scilab}{69}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{69}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{70}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{70}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{89}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{89}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{95}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{95}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{105}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{106}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{111}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{112}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{125}% -\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{125}% -\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{125}% +\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{131}% +\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{131}% +\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{131}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{144}% +\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{150}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{160}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{160}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{166}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{166}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{176}% -\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{176}% -\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{177}% -\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{177}% +\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{182}% +\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{182}% +\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{183}% +\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{183}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{209}% -\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{209}% -\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{209}% -\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{210}% +\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{215}% +\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{215}% +\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{215}% +\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{216}% diff --git a/floss-arduino.fdb_latexmk b/floss-arduino.fdb_latexmk index 132a2b1..3e23a3a 100644 --- a/floss-arduino.fdb_latexmk +++ b/floss-arduino.fdb_latexmk @@ -1,19 +1,19 @@ # Fdb version 3 -["bibtex floss-arduino"] 1618127111 "floss-arduino.aux" "floss-arduino.bbl" "floss-arduino" 1618127197 +["bibtex floss-arduino"] 1618194705 "floss-arduino.aux" "floss-arduino.bbl" "floss-arduino" 1618196811 "/usr/share/texlive/texmf-dist/bibtex/bst/base/unsrt.bst" 1292289607 18030 1376b4b231b50c66211e47e42eda2875 "" - "bibliography.bib" 1617386964 3464 0dc80d81f59d2ac319f124d77ae8c1cd "" - "floss-arduino.aux" 1618127118 126943 eff08c06601fad0ba1d1872532040fe4 "pdflatex" + "bibliography.bib" 1618182549 3650 4f521468a28b24747fd91f2935859bc1 "" + "floss-arduino.aux" 1618194824 127559 ed5c414cba944f49042915bcd7e86c9e "pdflatex" (generated) - "floss-arduino.blg" "floss-arduino.bbl" -["makeindex floss-arduino.idx"] 1617903131 "floss-arduino.idx" "floss-arduino.ind" "floss-arduino" 1618127197 - "floss-arduino.idx" 1618127118 187 ab5f6591fcb08b484062587f52cf19ae "pdflatex" + "floss-arduino.blg" +["makeindex floss-arduino.idx"] 1618190561 "floss-arduino.idx" "floss-arduino.ind" "floss-arduino" 1618196811 + "floss-arduino.idx" 1618194824 187 aa28a2a7f965c2a80157662083a97d27 "pdflatex" (generated) - "floss-arduino.ind" "floss-arduino.ilg" -["pdflatex"] 1618127111 "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" "floss-arduino" 1618127197 + "floss-arduino.ind" +["pdflatex"] 1618194817 "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" "floss-arduino" 1618196811 "/etc/texmf/web2c/texmf.cnf" 1602253014 475 c0e671620eb5563b2130f56340a5fde8 "" - "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.aux" 1618127118 126943 eff08c06601fad0ba1d1872532040fe4 "" + "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.aux" 1618194824 127559 ed5c414cba944f49042915bcd7e86c9e "" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" 1616757903 4558 ca761944339060a19cdb71de5337b126 "" "/usr/share/texlive/texmf-dist/fonts/enc/dvips/base/8r.enc" 1165713224 4850 80dc9bab7f31fb78a000ccfed0e27cab "" "/usr/share/texlive/texmf-dist/fonts/map/fontname/texfonts.map" 1577235249 3524 cb3e574dea2d1052e39280babc910dc8 "" @@ -139,18 +139,18 @@ "/usr/share/texmf/web2c/texmf.cnf" 1581979058 38841 ce3692aa899bb693b90b87eaa5d4d84e "" "/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map" 1604540077 4770781 1ed1abab22da9c3e2cc82e4db562318b "" "/var/lib/texmf/web2c/pdftex/pdflatex.fmt" 1604540101 8258883 e8330f8aa4fe7c6cdcf08bf0b72237fd "" - "floss-arduino.OpenModelicad" 1618127118 2297 cad8defb9743dad6e5cd780a60a3a8a6 "pdflatex" - "floss-arduino.ard" 1618127118 2082 b61cf25e06dd3b31659301b9b5b8787f "pdflatex" - "floss-arduino.aux" 1618127118 126943 eff08c06601fad0ba1d1872532040fe4 "pdflatex" - "floss-arduino.bbl" 1618127111 2243 ecd6e796a77fc4300039804f4c573e56 "bibtex floss-arduino" - "floss-arduino.cod" 1618127118 2525 510733a49438925d3256683b5e31a890 "pdflatex" - "floss-arduino.ind" 1617903131 228 d3e6768cdc98af9b465c5549e47f6476 "makeindex floss-arduino.idx" - "floss-arduino.juliad" 1618127118 2311 c0ae9703ec43a0f8c4093e5617207236 "pdflatex" - "floss-arduino.lof" 1618127118 12001 90a134c68a3cb206c8e0bc4dfadf1566 "pdflatex" - "floss-arduino.lot" 1618127118 3700 1a148a59fe143c8723cd15d1655620d3 "pdflatex" - "floss-arduino.pyd" 1618127118 2323 755d1c90e79b0e3e95ed40a3528c326f "pdflatex" + "floss-arduino.OpenModelicad" 1618194824 2299 9ca969b0b6dcc8f20755c4ae63c7ce2c "pdflatex" + "floss-arduino.ard" 1618194824 2082 6f136c6d0b0fa09c7753495563a0cf6e "pdflatex" + "floss-arduino.aux" 1618194824 127559 ed5c414cba944f49042915bcd7e86c9e "pdflatex" + "floss-arduino.bbl" 1618194705 2347 b432d0fef326030acb5a152140e29a28 "bibtex floss-arduino" + "floss-arduino.cod" 1618194824 2525 85d1e6b8fa25b3f28a09731b01230196 "pdflatex" + "floss-arduino.ind" 1618190561 228 a9dd2ba06b20d2fe363e175788a1ca3e "makeindex floss-arduino.idx" + "floss-arduino.juliad" 1618194824 2313 4b39d491d79e7ec9aeb7ba7b223029f0 "pdflatex" + "floss-arduino.lof" 1618194824 12219 ad4e57f2c6c8fd4dee6d0b5b4f3a0279 "pdflatex" + "floss-arduino.lot" 1618194824 3700 e3fe2a00347d920f4b8547ba4c50bfeb "pdflatex" + "floss-arduino.pyd" 1618194824 2323 923a26720a8c25bbbf71d971ae1904e9 "pdflatex" "floss-arduino.tex" 1616757903 4558 ca761944339060a19cdb71de5337b126 "" - "floss-arduino.toc" 1618127118 15215 7b45cbc22852cfc13cdf916bfc1c333b "pdflatex" + "floss-arduino.toc" 1618194824 15307 55cf20ce587a81a56e4e3282f7e72f2c "pdflatex" "suppl/acr.tex" 1615963613 1926 fd6481c4666ee0d60331b7d4cc24b645 "" "suppl/intro.tex" 1615963613 3437 b09628cf9e20fe17fa65b37a5997653c "" "suppl/styles.tex" 1615963613 8143 aa3280f0b59c8631fe8ec44895c9e871 "" @@ -336,6 +336,8 @@ "user-code/sw-env/figures/com-properties.png" 1615963614 75092 d364fc390b7b1913845428ff03e09b17 "" "user-code/sw-env/figures/cscope-config.png" 1615963614 15445 4f02500263554c7a25c5355d43fe0720 "" "user-code/sw-env/figures/device-manager.png" 1615963614 66176 4b944d863a9a68ac712fec18d1072374 "" + "user-code/sw-env/figures/julia-pkg.png" 1618189640 46183 5e4ac4a37a0b2c9bb6b11151ef3ffbbd "" + "user-code/sw-env/figures/julia-terminal-repl.png" 1618184757 50976 ad09b166ad245be3ebe83c0c1e446f47 "" "user-code/sw-env/figures/julia-terminal.png" 1615963614 37869 d2831d456ffc6ae78015d2b27552896f "" "user-code/sw-env/figures/launch-arduino-opt.png" 1617392168 33421 f8b38ae30fdf8828bc50d1f0b1b72fe4 "" "user-code/sw-env/figures/linux-cd.png" 1615963614 39093 885ba08c89ecb4d2c400fa4b07d4ea66 "" @@ -355,7 +357,7 @@ "user-code/sw-env/figures/table_functions_crop.pdf" 1615963614 84671 8377aefb061b0e251291558e34dd4b23 "" "user-code/sw-env/figures/test-console.png" 1615963614 53960 b989b14626fd496e19335d18673cc602 "" "user-code/sw-env/figures/xcos-help.png" 1615963614 87275 3c9b5157ebebe381cd7b5281cdd28482 "" - "user-code/sw-env/sw-env.tex" 1617623459 75446 cceba2ceb9319ccbb17a9512e81c3233 "" + "user-code/sw-env/sw-env.tex" 1618196811 83500 0c22854b3cfe6334d656487fbfae95c4 "" "user-code/thermistor/OpenModelica/therm-buzzer.mo" 1615963614 1234 e3c3c8d261a570f6ba97d9be5031ff1a "" "user-code/thermistor/OpenModelica/therm-read.mo" 1615963614 990 198e4947eb2cc3dd685574c945aea1f2 "" "user-code/thermistor/arduino/therm-buzzer/therm-buzzer.ino" 1615963614 389 c4216c80dfb4f1f23b090c94fd181a05 "" @@ -378,18 +380,18 @@ "user-code/thermistor/scilab/therm-read.sce" 1615963614 382 5e743c25b50f9d961a2939ce81d7b633 "" "user-code/thermistor/thermistor.tex" 1617906911 25838 1f7c3824e3c28084af6bca0235c3226f "" (generated) - "floss-arduino.pdf" - "floss-arduino.OpenModelicad" - "floss-arduino.thm" - "floss-arduino.cod" + "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.log" "floss-arduino.juliad" - "floss-arduino.toc" - "floss-arduino.aux" "floss-arduino.ard" - "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.log" - "floss-arduino.pyd" - "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" - "floss-arduino.lot" "floss-arduino.log" + "floss-arduino.OpenModelicad" + "floss-arduino.aux" + "floss-arduino.lot" "floss-arduino.idx" + "floss-arduino.pdf" + "floss-arduino.pyd" "floss-arduino.lof" + "floss-arduino.cod" + "floss-arduino.toc" + "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" + "floss-arduino.thm" diff --git a/floss-arduino.fls b/floss-arduino.fls index 241c7f4..757755d 100644 --- a/floss-arduino.fls +++ b/floss-arduino.fls @@ -311,6 +311,12 @@ INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/xcos-he INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-terminal-repl.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-terminal-repl.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-terminal-repl.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-pkg.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-pkg.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-pkg.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-terminal.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-terminal.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-terminal.png diff --git a/floss-arduino.idx b/floss-arduino.idx index 67c4e40..ce63140 100644 --- a/floss-arduino.idx +++ b/floss-arduino.idx @@ -1,5 +1,5 @@ -\indexentry{H-Bridge circuit DC motor}{117} -\indexentry{H-Bridge}{117} -\indexentry{L293D,L298}{117} -\indexentry{PCB breakout board}{117} -\indexentry{pulse width modulation, PWM}{117} +\indexentry{H-Bridge circuit DC motor}{123} +\indexentry{H-Bridge}{123} +\indexentry{L293D,L298}{123} +\indexentry{PCB breakout board}{123} +\indexentry{pulse width modulation, PWM}{123} diff --git a/floss-arduino.ind b/floss-arduino.ind index f141800..bd060ad 100644 --- a/floss-arduino.ind +++ b/floss-arduino.ind @@ -1,15 +1,15 @@ \begin{theindex} - \item H-Bridge, 117 - \item H-Bridge circuit DC motor, 117 + \item H-Bridge, 123 + \item H-Bridge circuit DC motor, 123 \indexspace - \item L293D,L298, 117 + \item L293D,L298, 123 \indexspace - \item PCB breakout board, 117 - \item pulse width modulation, PWM, 117 + \item PCB breakout board, 123 + \item pulse width modulation, PWM, 123 \end{theindex} diff --git a/floss-arduino.juliad b/floss-arduino.juliad index 4e5cff2..0b82783 100644 --- a/floss-arduino.juliad +++ b/floss-arduino.juliad @@ -1,30 +1,30 @@ -\contentsline {section}{\numberline {3.{1}}A Julia code to check whether the firmware is properly installed or not}{48}% +\contentsline {section}{\numberline {3.{1}}A Julia code to check whether the firmware is properly installed or not}{51}% \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the LED}{76}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{77}% -\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{77}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{77}% +\contentsline {section}{\numberline {4.{1}}Turning on the LED}{82}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{83}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{83}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{83}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{95}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{96}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{101}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{102}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{113}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{113}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{119}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{119}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{134}% -\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{135}% -\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{135}% +\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{140}% +\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{141}% +\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{141}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{149}% +\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{155}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{167}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{168}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{173}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{174}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{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}% +\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{194}% +\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{194}% +\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{195}% +\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{195}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{211}% -\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{211}% -\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{212}% +\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{217}% +\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{217}% +\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{218}% diff --git a/floss-arduino.lof b/floss-arduino.lof index be216a6..f48a261 100644 --- a/floss-arduino.lof +++ b/floss-arduino.lof @@ -37,84 +37,86 @@ \contentsline {figure}{\numberline {3.22}{\ignorespaces Simulation setup window\relax }}{40}% \contentsline {figure}{\numberline {3.23}{\ignorespaces Palette browser showing Arduino blocks\relax }}{40}% \contentsline {figure}{\numberline {3.24}{\ignorespaces Xcos block help\relax }}{41}% -\contentsline {figure}{\numberline {3.25}{\ignorespaces Linux terminal to launch Julia\relax }}{45}% -\contentsline {figure}{\numberline {3.26}{\ignorespaces Linux Atom Text Editor\relax }}{46}% -\contentsline {figure}{\numberline {3.27}{\ignorespaces Setup of Modelica Standard Library version\relax }}{49}% -\contentsline {figure}{\numberline {3.28}{\ignorespaces User Interface of OMEdit\relax }}{50}% -\contentsline {figure}{\numberline {3.29}{\ignorespaces Opening a model in OMEdit\relax }}{51}% -\contentsline {figure}{\numberline {3.30}{\ignorespaces Opening a model in diagram view in OMEdit\relax }}{51}% -\contentsline {figure}{\numberline {3.31}{\ignorespaces Different views of a model in OMEdit\relax }}{52}% -\contentsline {figure}{\numberline {3.32}{\ignorespaces Opening a model in text view in OMEdit\relax }}{52}% -\contentsline {figure}{\numberline {3.33}{\ignorespaces Simulating a model in OMEdit\relax }}{53}% -\contentsline {figure}{\numberline {3.34}{\ignorespaces Output window of OMEdit\relax }}{53}% +\contentsline {figure}{\numberline {3.25}{\ignorespaces Linux terminal to launch Julia REPL\relax }}{45}% +\contentsline {figure}{\numberline {3.26}{\ignorespaces Linux terminal to enter Pkg REPL in Julia\relax }}{46}% +\contentsline {figure}{\numberline {3.27}{\ignorespaces Linux terminal to launch Julia\relax }}{49}% +\contentsline {figure}{\numberline {3.28}{\ignorespaces Linux Atom Text Editor\relax }}{50}% +\contentsline {figure}{\numberline {3.29}{\ignorespaces Setup of Modelica Standard Library version\relax }}{53}% +\contentsline {figure}{\numberline {3.30}{\ignorespaces User Interface of OMEdit\relax }}{54}% +\contentsline {figure}{\numberline {3.31}{\ignorespaces Opening a model in OMEdit\relax }}{55}% +\contentsline {figure}{\numberline {3.32}{\ignorespaces Opening a model in diagram view in OMEdit\relax }}{56}% +\contentsline {figure}{\numberline {3.33}{\ignorespaces Different views of a model in OMEdit\relax }}{56}% +\contentsline {figure}{\numberline {3.34}{\ignorespaces Opening a model in text view in OMEdit\relax }}{57}% +\contentsline {figure}{\numberline {3.35}{\ignorespaces Simulating a model in OMEdit\relax }}{57}% +\contentsline {figure}{\numberline {3.36}{\ignorespaces Output window of OMEdit\relax }}{58}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {4.1}{\ignorespaces Light Emitting Diode\relax }}{55}% -\contentsline {figure}{\numberline {4.2}{\ignorespaces Internal connection diagram for LED on the shield\relax }}{56}% -\contentsline {figure}{\numberline {4.3}{\ignorespaces Connecting Arduino and Shield\relax }}{56}% -\contentsline {figure}{\numberline {4.4}{\ignorespaces Interfacing an RGB LED with Arduino Uno using a breadboard\relax }}{57}% -\contentsline {figure}{\numberline {4.5}{\ignorespaces LED experiments directly on Arduino Uno\ board, without the shield\relax }}{60}% -\contentsline {figure}{\numberline {4.6}{\ignorespaces Turning the blue LED on through Xcos}}{65}% -\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{66}% -\contentsline {figure}{\numberline {4.8}{\ignorespaces Turning the blue and red LEDs on through Xcos and turning them off one by one}}{67}% -\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{68}% +\contentsline {figure}{\numberline {4.1}{\ignorespaces Light Emitting Diode\relax }}{61}% +\contentsline {figure}{\numberline {4.2}{\ignorespaces Internal connection diagram for LED on the shield\relax }}{62}% +\contentsline {figure}{\numberline {4.3}{\ignorespaces Connecting Arduino and Shield\relax }}{62}% +\contentsline {figure}{\numberline {4.4}{\ignorespaces Interfacing an RGB LED with Arduino Uno using a breadboard\relax }}{63}% +\contentsline {figure}{\numberline {4.5}{\ignorespaces LED experiments directly on Arduino Uno\ board, without the shield\relax }}{66}% +\contentsline {figure}{\numberline {4.6}{\ignorespaces Turning the blue LED on through Xcos}}{71}% +\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{72}% +\contentsline {figure}{\numberline {4.8}{\ignorespaces Turning the blue and red LEDs on through Xcos and turning them off one by one}}{73}% +\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{74}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {5.1}{\ignorespaces Connection Diagram\relax }}{84}% -\contentsline {figure}{\numberline {5.2}{\ignorespaces A pushbutton to read its status with Arduino Uno using a breadboard\relax }}{84}% -\contentsline {figure}{\numberline {5.3}{\ignorespaces A pushbutton to control an LED with Arduino Uno using a breadboard\relax }}{85}% -\contentsline {figure}{\numberline {5.4}{\ignorespaces Printing the push button status on the display block}}{90}% -\contentsline {figure}{\numberline {5.5}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{91}% +\contentsline {figure}{\numberline {5.1}{\ignorespaces Connection Diagram\relax }}{90}% +\contentsline {figure}{\numberline {5.2}{\ignorespaces A pushbutton to read its status with Arduino Uno using a breadboard\relax }}{90}% +\contentsline {figure}{\numberline {5.3}{\ignorespaces A pushbutton to control an LED with Arduino Uno using a breadboard\relax }}{91}% +\contentsline {figure}{\numberline {5.4}{\ignorespaces Printing the push button status on the display block}}{96}% +\contentsline {figure}{\numberline {5.5}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{97}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{100}% -\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of an LDR}}}{100}% -\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of an LDR}}}{100}% -\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{100}% -\contentsline {figure}{\numberline {6.3}{\ignorespaces An LDR to read its values with Arduino Uno\ using a breadboard\relax }}{101}% -\contentsline {figure}{\numberline {6.4}{\ignorespaces An LDR to control an LED with Arduino Uno using a breadboard\relax }}{102}% -\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read LDR values}}{107}% -\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}}{108}% +\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{106}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of an LDR}}}{106}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of an LDR}}}{106}% +\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{106}% +\contentsline {figure}{\numberline {6.3}{\ignorespaces An LDR to read its values with Arduino Uno\ using a breadboard\relax }}{107}% +\contentsline {figure}{\numberline {6.4}{\ignorespaces An LDR to control an LED with Arduino Uno using a breadboard\relax }}{108}% +\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read LDR values}}{113}% +\contentsline {figure}{\numberline {6.6}{\ignorespaces Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}}{114}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {7.1}{\ignorespaces L293D motor driver board\relax }}{118}% -\contentsline {figure}{\numberline {7.2}{\ignorespaces A schematic of DC motor connections\relax }}{119}% -\contentsline {figure}{\numberline {7.3}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{119}% -\contentsline {figure}{\numberline {7.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{126}% -\contentsline {figure}{\numberline {7.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{128}% -\contentsline {figure}{\numberline {7.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{129}% +\contentsline {figure}{\numberline {7.1}{\ignorespaces L293D motor driver board\relax }}{124}% +\contentsline {figure}{\numberline {7.2}{\ignorespaces A schematic of DC motor connections\relax }}{125}% +\contentsline {figure}{\numberline {7.3}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{125}% +\contentsline {figure}{\numberline {7.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{132}% +\contentsline {figure}{\numberline {7.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{134}% +\contentsline {figure}{\numberline {7.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{135}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {8.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{140}% -\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{140}% -\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Schematic representation of the potentiometer}}}{140}% -\contentsline {figure}{\numberline {8.2}{\ignorespaces A potentiometer to control an LED with Arduino Uno using a breadboard\relax }}{141}% -\contentsline {figure}{\numberline {8.3}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{145}% +\contentsline {figure}{\numberline {8.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{146}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{146}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Schematic representation of the potentiometer}}}{146}% +\contentsline {figure}{\numberline {8.2}{\ignorespaces A potentiometer to control an LED with Arduino Uno using a breadboard\relax }}{147}% +\contentsline {figure}{\numberline {8.3}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{151}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {9.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{154}% -\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{154}% -\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{154}% -\contentsline {figure}{\numberline {9.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{154}% -\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Thermistor connection diagram}}}{154}% -\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Buzzer connection diagram}}}{154}% -\contentsline {figure}{\numberline {9.3}{\ignorespaces A thermistor to read its values with Arduino Uno using a breadboard\relax }}{155}% -\contentsline {figure}{\numberline {9.4}{\ignorespaces A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }}{156}% -\contentsline {figure}{\numberline {9.5}{\ignorespaces Xcos diagram to read thermistor values}}{161}% -\contentsline {figure}{\numberline {9.6}{\ignorespaces Output of Xcos diagram to read thermistor values}}{162}% -\contentsline {figure}{\numberline {9.7}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{163}% -\contentsline {figure}{\numberline {9.8}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{163}% +\contentsline {figure}{\numberline {9.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{160}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{160}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{160}% +\contentsline {figure}{\numberline {9.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{160}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Thermistor connection diagram}}}{160}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Buzzer connection diagram}}}{160}% +\contentsline {figure}{\numberline {9.3}{\ignorespaces A thermistor to read its values with Arduino Uno using a breadboard\relax }}{161}% +\contentsline {figure}{\numberline {9.4}{\ignorespaces A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }}{162}% +\contentsline {figure}{\numberline {9.5}{\ignorespaces Xcos diagram to read thermistor values}}{167}% +\contentsline {figure}{\numberline {9.6}{\ignorespaces Output of Xcos diagram to read thermistor values}}{168}% +\contentsline {figure}{\numberline {9.7}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{169}% +\contentsline {figure}{\numberline {9.8}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{169}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{178}% -\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{179}% -\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{180}% -\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{181}% +\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{184}% +\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{185}% +\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{186}% +\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{187}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{196}% -\contentsline {figure}{\numberline {11.2}{\ignorespaces Master-Slave Query-Response Cycle\relax }}{196}% -\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{197}% -\contentsline {figure}{\numberline {11.4}{\ignorespaces MODBUS Set Up for Energy Meter\relax }}{201}% -\contentsline {figure}{\numberline {11.5}{\ignorespaces Block Diagram for Energy Meter Setup\relax }}{202}% -\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{203}% -\contentsline {figure}{\numberline {11.7}{\ignorespaces Flow Chart of the Modbus Energy Meter Implementation\relax }}{204}% -\contentsline {figure}{\numberline {11.8}{\ignorespaces Single Phase Current Output on Scilab Console\relax }}{205}% -\contentsline {figure}{\numberline {11.9}{\ignorespaces Single Phase Current Output on Energy Meter\relax }}{205}% -\contentsline {figure}{\numberline {11.10}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{206}% -\contentsline {figure}{\numberline {11.11}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{206}% -\contentsline {figure}{\numberline {11.12}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{207}% -\contentsline {figure}{\numberline {11.13}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{207}% -\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{208}% +\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{202}% +\contentsline {figure}{\numberline {11.2}{\ignorespaces Master-Slave Query-Response Cycle\relax }}{202}% +\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{203}% +\contentsline {figure}{\numberline {11.4}{\ignorespaces MODBUS Set Up for Energy Meter\relax }}{207}% +\contentsline {figure}{\numberline {11.5}{\ignorespaces Block Diagram for Energy Meter Setup\relax }}{208}% +\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{209}% +\contentsline {figure}{\numberline {11.7}{\ignorespaces Flow Chart of the Modbus Energy Meter Implementation\relax }}{210}% +\contentsline {figure}{\numberline {11.8}{\ignorespaces Single Phase Current Output on Scilab Console\relax }}{211}% +\contentsline {figure}{\numberline {11.9}{\ignorespaces Single Phase Current Output on Energy Meter\relax }}{211}% +\contentsline {figure}{\numberline {11.10}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{212}% +\contentsline {figure}{\numberline {11.11}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{212}% +\contentsline {figure}{\numberline {11.12}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{213}% +\contentsline {figure}{\numberline {11.13}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{213}% +\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{214}% diff --git a/floss-arduino.log b/floss-arduino.log index 72daf03..3d1ddb7 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) 11 APR 2021 13:17 +This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex 2020.11.5) 12 APR 2021 08:37 entering extended mode restricted \write18 enabled. %&-line parsing enabled. @@ -526,7 +526,7 @@ Overfull \hbox (74.6947pt too wide) detected at line 9 {/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2] [3] [4] [5] -Overfull \hbox (42.2769pt too wide) detected at line 205 +Overfull \hbox (42.2769pt too wide) detected at line 206 \T1/cmr/bx/n/10.95 References [] @@ -537,7 +537,7 @@ Overfull \hbox (42.2769pt too wide) detected at line 205 [6] (./floss-arduino.lof [7 ] [8] -Overfull \hbox (4.98741pt too wide) in paragraph at lines 87--87 +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- [] @@ -1048,168 +1048,213 @@ duino-palette.png>] [41 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw -env/figures/xcos-help.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py [42]) -Underfull \hbox (badness 10000) in paragraph at lines 980--984 +Overfull \hbox (5.34262pt too wide) in paragraph at lines 994--996 +[]\T1/cmr/m/n/10.95 First, up-date your sys-tem. Open the Ter-mi-nal. Type \T1/ +fvm/m/n/10.95 sudo apt-get update + [] +[43] +Overfull \hbox (12.2196pt too wide) in paragraph at lines 1012--1016 +\T1/fvm/m/n/10.95 sudo ln -s /opt/julia-1.6.0/bin/julia /usr/local/bin/julia [] +</home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-termi +nal-repl.png, id=285, 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 1030. +(pdftex.def) Requested size: 397.48499pt x 274.37646pt. +</home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-pkg.p +ng, id=286, 949.5475pt x 655.44875pt> +File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia- +pkg.png Graphic file (type png) +<use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-p +kg.png> +Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw +-env/figures/julia-pkg.png used on input line 1051. +(pdftex.def) Requested size: 397.48499pt x 274.37646pt. +[44] +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [45 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia- +terminal-repl.png>] [46 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw +-env/figures/julia-pkg.png>] +Underfull \hbox (badness 10000) in paragraph at lines 1099--1103 -Overfull \hbox (67.80368pt too wide) in paragraph at lines 992--994 + [] + + +Overfull \hbox (67.80368pt too wide) in paragraph at lines 1111--1113 []\T1/cmr/m/n/10.95 Open Git Bash, in the prompt type: git con-fig --global url .https://github.com/.insteadOf [] -[43] -Overfull \hbox (26.56657pt too wide) in paragraph at lines 1006--1009 + +Overfull \hbox (26.56657pt too wide) in paragraph at lines 1125--1128 []\T1/cmr/m/n/10.95 Juno could not be found So-lu-tion: Open Atom>File>Settings >Packages>julia- [] -Overfull \hbox (8.66742pt too wide) in paragraph at lines 1006--1009 +Overfull \hbox (8.66742pt too wide) in paragraph at lines 1125--1128 \T1/cmr/m/n/10.95 client:Settings>Julia path Change the path to $\OMS/cmsy/m/n/ 10.95 n$\T1/cmr/m/n/10.95 ....$\OMS/cmsy/m/n/10.95 n$\T1/cmr/m/n/10.95 Julia-0. 4.5$\OMS/cmsy/m/n/10.95 n$\T1/cmr/m/n/10.95 bin$\OMS/cmsy/m/n/10.95 n$\T1/cmr/m /n/10.95 julia.exe [] - -Overfull \hbox (17.10689pt too wide) in paragraph at lines 1021--1026 +[47] +Overfull \hbox (17.10689pt too wide) in paragraph at lines 1140--1145 \T1/cmr/m/n/10.95 ver-sion. Sol: In Ju-lia ter-mi-nal, type: ju-lia> ENV["PYTHO N"]="";Pkg.build [] -[44] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-termi -nal.png, id=289, 725.71124pt x 469.755pt> +nal.png, id=302, 725.71124pt x 469.755pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia- terminal.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia-t erminal.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/julia-terminal.png used on input line 1064. +-env/figures/julia-terminal.png used on input line 1183. (pdftex.def) Requested size: 362.85474pt x 234.87692pt. - [45 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia- -terminal.png (PNG copy)>] +[48] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/atom-lunch. -png, id=293, 1857.94125pt x 1058.95625pt> +png, id=306, 1857.94125pt x 1058.95625pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/atom-l unch.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/atom-lu nch.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/atom-lunch.png used on input line 1083. +-env/figures/atom-lunch.png used on input line 1202. (pdftex.def) Requested size: 371.58167pt x 211.78749pt. - -Overfull \hbox (5.509pt too wide) in paragraph at lines 1099--1100 + [49 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/julia- +terminal.png (PNG copy)>] +Overfull \hbox (5.509pt too wide) in paragraph at lines 1218--1219 \T1/cmr/m/n/10.95 i-nally de-vel-oped by Steve Kelly (sjkelly) - https://github .com/sjkelly/SerialPorts.jl.git [] -[46 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/atom-lu +[50 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/atom-lu nch.png (PNG copy)>] -Overfull \hbox (14.89163pt too wide) in paragraph at lines 1147--1149 +Overfull \hbox (14.89163pt too wide) in paragraph at lines 1266--1268 []\T1/cmr/m/n/10.95 open(ser::SerialPort) and close(ser::SerialPort) - To open and close a pre-initialized [] -[47] + (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/test_firmware.jl -) -Overfull \hbox (8.73886pt too wide) in paragraph at lines 1191--1195 +[51]) +Overfull \hbox (8.73886pt too wide) in paragraph at lines 1310--1314 \T1/cmr/m/n/10.95 OpenModelica can be down-loaded free of cost from \T1/fvm/m/n /10.95 https://openmodelica.org/\T1/cmr/m/n/10.95 . [] -[48] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit-libr -aries.png, id=303, 664.4825pt x 546.04pt> +aries.png, id=317, 664.4825pt x 546.04pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit -libraries.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit- libraries.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/OMEdit-libraries.png used on input line 1212. -(pdftex.def) Requested size: 258.36281pt x 212.31319pt. - [49 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit --libraries.png>] +-env/figures/OMEdit-libraries.png used on input line 1331. +(pdftex.def) Requested size: 365.46649pt x 300.32292pt. +[52] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit-UI.p -ng, id=309, 1327.96124pt x 792.9625pt> +ng, id=321, 1327.96124pt x 792.9625pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit -UI.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit- UI.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/sw --env/figures/OMEdit-UI.png used on input line 1245. -(pdftex.def) Requested size: 258.36281pt x 154.27013pt. +-env/figures/OMEdit-UI.png used on input line 1364. +(pdftex.def) Requested size: 397.48499pt x 237.3461pt. + +Underfull \vbox (badness 4036) has occurred while \output is active [] + + [53 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit +-libraries.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-open-mod -el.png, id=310, 1087.06125pt x 792.9625pt> +el.png, id=326, 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 1259. -(pdftex.def) Requested size: 258.36281pt x 188.46364pt. +-env/figures/om-open-model.png used on input line 1378. +(pdftex.def) Requested size: 397.48499pt x 289.94313pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-Modeling -.png, id=311, 1368.11125pt x 791.95876pt> +.png, id=327, 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 1266. -(pdftex.def) Requested size: 258.36281pt x 149.55531pt. +-env/figures/om-Modeling.png used on input line 1385. +(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=312, 673.01437pt x 373.395pt> +-views.png, id=328, 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 1274. -(pdftex.def) Requested size: 258.36281pt x 143.34444pt. +-env/figures/om-modeling-views.png used on input line 1393. +(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=313, 1370.11874pt x 796.9775pt> +w.png, id=329, 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 1282. -(pdftex.def) Requested size: 258.36281pt x 150.28416pt. - [50 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit --UI.png>] [51 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figur -es/om-open-model.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-e -nv/figures/om-modeling.png>] +-env/figures/om-text-view.png used on input line 1401. +(pdftex.def) Requested size: 397.48499pt x 231.20267pt. + [54 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/OMEdit +-UI.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-simulate -.png, id=323, 673.01437pt x 373.395pt> +.png, id=334, 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 1311. -(pdftex.def) Requested size: 258.36281pt x 143.34444pt. +-env/figures/om-simulate.png used on input line 1430. +(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=324, 647.41875pt x 516.93124pt> +ess.png, id=335, 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 1318. -(pdftex.def) Requested size: 258.36281pt x 206.28767pt. - [52 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-mod -eling-views.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/fi -gures/om-text-view.png>] -[53 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-simu -late.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/o -m-sim-success.png>] +-env/figures/om-sim-success.png used on input line 1437. +(pdftex.def) Requested size: 397.48499pt x 317.37051pt. + [55 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-ope +n-model.png>] + +LaTeX Warning: Text page 56 contains only floats. + +[56 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/om-mode +ling.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-env/figures/o +m-modeling-views.png>] + +LaTeX Warning: Text page 57 contains only floats. + +[57 </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>] [58 </home/fossee/Desktop/floss-scilab-arduino/user-code/sw-e +nv/figures/om-sim-success.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/test_firm -ware.mo)) (./user-code/led/led.tex [54] +ware.mo)) (./user-code/led/led.tex [59] [60 + +] Chapter 4. -</home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led.png, id=33 -8, 149.8097pt x 84.315pt> +</home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led.png, id=36 +1, 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> @@ -1217,7 +1262,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/le d/figures/led.png used on input line 51. (pdftex.def) Requested size: 79.49577pt x 44.74203pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/schematic.png, - id=339, 415.5525pt x 456.70625pt> + id=362, 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. @@ -1225,11 +1270,9 @@ png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/le d/figures/schematic.png used on input line 64. (pdftex.def) Requested size: 178.86702pt x 196.58194pt. -[55 - - </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led.png>] +[61 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/arduino-shield -.JPG, id=345, 951.48618pt x 713.61462pt> +.JPG, id=368, 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 @@ -1238,11 +1281,11 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/le d/figures/arduino-shield.JPG used on input line 78. (pdftex.def) Requested size: 178.86702pt x 134.15085pt. -[56 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/schematic. +[62 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/schematic. png> </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/arduino-s hield.JPG>] </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/rgb-led-bb.png -, id=350, 451.286pt x 236.082pt> +, id=373, 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 @@ -1250,7 +1293,7 @@ b.png Graphic file (type png) Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/le d/figures/rgb-led-bb.png used on input line 106. (pdftex.def) Requested size: 357.73405pt x 187.14034pt. - [57 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/rgb-led-b + [63 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/rgb-led-b b.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led-blue/led-b lue.ino) @@ -1259,9 +1302,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) [58] +/led-blue-delay.ino) [64] </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led_output.png -, id=358, 3035.34pt x 1947.275pt> +, id=381, 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 @@ -1274,33 +1317,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 -) [59] +) [65] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led-blue/led-b lue.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led-blue-delay -/led-blue-delay.ino [60 </home/fossee/Desktop/floss-scilab-arduino/user-code/le +/led-blue-delay.ino [66 </home/fossee/Desktop/floss-scilab-arduino/user-code/le d/figures/led_output.png>]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led-blue-red/l ed-blue-red.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/arduino/led-blink/led- -blink.ino) [61] +blink.ino) [67] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-blue.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-blue.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-blue.sce) -[62] +[68] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-blue-delay. sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-blue-delay. sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-blue.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-blue-delay. -sce [63]) +sce [69]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-blue-red.sc e) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-green-blink .sce) </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue.png, -id=377, 233.37187pt x 252.19218pt> +id=400, 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 @@ -1313,9 +1356,9 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 409--418 [][] [] -[64] +[70] </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-delay -.png, id=381, 226.59656pt x 243.91125pt> +.png, id=404, 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 @@ -1328,10 +1371,10 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 443--455 [][] [] -[65 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue.p +[71 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue.p ng>] </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-red.p -ng, id=387, 245.41687pt x 339.51843pt> +ng, id=410, 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 @@ -1344,10 +1387,10 @@ Overfull \hbox (13.85292pt too wide) in paragraph at lines 482--499 [][] [] -[66 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-d +[72 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-d elay.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-green-blin -k.png, id=392, 246.9225pt x 251.43938pt> +k.png, id=415, 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- @@ -1360,13 +1403,13 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 524--537 [][] [] -[67 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-r +[73 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-r ed.png>] Overfull \vbox (31.42311pt too high) has occurred while \output is active [] -[68 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-green- -blink.png>] [69] +[74 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-green- +blink.png>] [75] Underfull \hbox (badness 10000) in paragraph at lines 616--620 [] @@ -1381,42 +1424,42 @@ Underfull \hbox (badness 10000) in paragraph at lines 635--638 [] -[70] +[76] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py -[71]) +[77]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue-delay. -py [72]) +py [78]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue-red.py -[73]) +[79]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-green-blink -.py [74]) [75] +.py [80]) [81] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-blue.jl -[76]) +[82]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-blue-delay.j l) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-blue-red.jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-green-blink. -jl [77]) +jl [83]) Overfull \hbox (2.4842pt too wide) in paragraph at lines 843--844 []\T1/cmr/m/n/10.95 sComm.close_serial(1) : This closes the pre-de-fined se-ria l port which is presently [] -[78] +[84] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led-blue. mo) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led-blue- -delay.mo [79]) +delay.mo [85]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led-blue- -red.mo [80]) +red.mo [86]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led-green --blink.mo)) (./user-code/push/push.tex [81] [82 +-blink.mo)) (./user-code/push/push.tex [87] [88 ] Chapter 5. </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/pushbutton-co -nn.png, id=448, 415.5525pt x 438.63875pt> +nn.png, id=471, 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 @@ -1425,7 +1468,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=449, 453.695pt x 239.294pt> +d=472, 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 @@ -1433,14 +1476,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. -[83] +[89] Underfull \vbox (badness 3098) has occurred while \output is active [] - [84 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/pushbutt + [90 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/pushbutt on-conn.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/ switch.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/switch-led.pn -g, id=458, 453.695pt x 266.596pt> +g, id=481, 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 @@ -1451,14 +1494,14 @@ sh/figures/switch-led.png used on input line 106. Underfull \vbox (badness 1158) has occurred while \output is active [] - [85 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/switch-l + [91 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/switch-l ed.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push-button-s tatus/push-button-status.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push-button-s tatus/push-button-status.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/led-push-butt -on/led-push-button.ino) [86] +on/led-push-button.ino) [92] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push-button-s tatus/push-button-status.ino) Overfull \hbox (0.16989pt too wide) in paragraph at lines 174--177 @@ -1468,7 +1511,7 @@ Avail- (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/led-push-butt -on/led-push-button.ino [87]) +on/led-push-button.ino [93]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push-button-st atus.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push-button-st @@ -1476,7 +1519,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 [88]) +atus.sce [94]) Overfull \hbox (0.145pt too wide) in paragraph at lines 227--230 \T1/cmr/m/n/10.95 able at \T1/fvm/m/n/10.95 O r i g i n / u s e r - c o d e / p u s h / s c i l a b / l e d - p u s h - b u t t o n . s c e\T1/cmr/m/n/10.95 , @@ -1487,7 +1530,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=473, 264.99pt x 268.00125pt> +tatus.PNG, id=496, 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 @@ -1500,10 +1543,10 @@ Overfull \hbox (3.33746pt too wide) in paragraph at lines 276--286 [][] [] -[89] [90 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/push +[95] [96 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/push -button-status.PNG>] </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/led-push-butt -on.PNG, id=481, 298.86656pt x 264.99pt> +on.PNG, id=504, 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- @@ -1516,38 +1559,38 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 318--329 [][] [] -[91 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/led-push- +[97 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/led-push- button.PNG>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push-button-st atus.py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push-button-st atus.py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led-push-butto -n.py) [92] +n.py) [98] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push-button-st atus.py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led-push-butto -n.py [93]) +n.py [99]) Underfull \vbox (badness 10000) has occurred while \output is active [] - [94] + [100] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push-button-sta tus.jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led-push-button .jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push-button-sta -tus.jl) [95] +tus.jl) [101] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led-push-button .jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push-but ton-status.mo) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push-but -ton-status.mo [96]) +ton-status.mo [102]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led-push --button.mo [97])) (./user-code/ldr/ldr.tex [98] +-button.mo [103])) (./user-code/ldr/ldr.tex [104] Chapter 6. -</home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg, id=50 -9, 106.89937pt x 94.85437pt> +</home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg, id=53 +2, 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> @@ -1555,7 +1598,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=510, 1009.52156pt x 741.52031pt> +d=533, 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 @@ -1564,7 +1607,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=511, 415.5525pt x 450.68375pt> +id=534, 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 @@ -1572,7 +1615,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. -[99 +[105 ] Overfull \hbox (0.60098pt too wide) in paragraph at lines 87--87 @@ -1582,21 +1625,21 @@ Overfull \hbox (0.60098pt too wide) in paragraph at lines 87--87 Underfull \vbox (badness 3333) has occurred while \output is active [] - [100 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg> + [106 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg> </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr_sym.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-conn.png>] -</home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR.png, id=52 -0, 455.301pt x 208.78pt> +</home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR.png, id=54 +3, 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. - [101 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR.png> + [107 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR.png> ] </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR-led.png, i -d=525, 455.301pt x 257.763pt> +d=548, 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 @@ -1608,21 +1651,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) [102 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ +ead.ino) [108 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ LDR-led.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-read/ldr-r ead.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-read/ldr-r -ead.ino [103]) +ead.ino [109]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-led/ldr-le -d.ino) [104] +d.ino) [110] Overfull \hbox (19.20517pt too wide) in paragraph at lines 227--238 []\T1/cmr/m/n/10.95 In this ex-per-i-ment, we will ob-serve the sat-u-ra-tion p oint of LDR, see Scilab Code 6.2[]. [] (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr-read.sce) -[105] +[111] (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr-led.sce) Overfull \hbox (0.34052pt too wide) in paragraph at lines 271--277 \T1/cmr/m/n/10.95 Next, we shall per-form the above men-tioned ex-per-i-ment, t @@ -1630,7 +1673,7 @@ o read LDR val-ues, through [] </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-read-xcos. -PNG, id=540, 257.46187pt x 304.13625pt> +PNG, id=563, 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 @@ -1639,7 +1682,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=541, 769.87625pt x 640.3925pt> +d=564, 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 @@ -1652,31 +1695,31 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 364--384 [][] [] -[106] [107 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr --read-xcos.PNG>] [108 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/ -figures/ldr-led.png>] [109] +[112] [113 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr +-read-xcos.PNG>] [114 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/ +figures/ldr-led.png>] [115] (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr-read.py) -[110] +[116] (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr-led.py) Underfull \vbox (badness 10000) has occurred while \output is active [] - [111] + [117] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led-push-button .jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr-read.jl -[112]) +[118]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr-led.jl) -[113] +[119] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led-push -button.mo) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr-read. -mo [114]) +mo [120]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr-led.m -o)) (./user-code/dcmotor/dcmotor.tex [115] [116 +o)) (./user-code/dcmotor/dcmotor.tex [121] [122 ] Chapter 7. </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmotor_bo -ard.png, id=579, 247.92625pt x 232.87pt> +ard.png, id=602, 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 @@ -1684,9 +1727,9 @@ r_board.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/dc motor/figures/dcmotor_board.png used on input line 62. (pdftex.def) Requested size: 258.36281pt x 242.69075pt. -[117] +[123] </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/schematic. -png, id=583, 415.5525pt x 467.7475pt> +png, id=606, 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 @@ -1695,7 +1738,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=584, 2469.97781pt x 1973.12157pt> +escription.jpg, id=607, 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 @@ -1703,41 +1746,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. - [118 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmo + [124 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmo tor_board.png>] Overfull \vbox (9.00647pt too high) has occurred while \output is active [] -[119 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/schem +[125 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/schem atic.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/ -dc_motor_description.jpg>] [120] +dc_motor_description.jpg>] [126] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor-cl ock/dcmotor-clock.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor-bo th/dcmotor-both.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor-lo -op/dcmotor-loop.ino [121]) +op/dcmotor-loop.ino [127]) Underfull \hbox (badness 10000) in paragraph at lines 221--237 [] -[122] +[128] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-clo ck.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-clo -ck.sce) [123] +ck.sce) [129] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-clo ck.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-clo -ck.sce) [124] +ck.sce) [130] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-clo ck.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-bot h.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-loo -p.sce [125]) +p.sce [131]) </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmotor-cl -ock.png, id=614, 275.52937pt x 290.58563pt> +ock.png, id=637, 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 @@ -1745,10 +1788,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. - [126 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmo + [132 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmo tor-clock.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmotor-bo -th.png, id=618, 292.09125pt x 322.95656pt> +th.png, id=641, 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 @@ -1757,7 +1800,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=619, 281.55188pt x 307.90031pt> +op.png, id=642, 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 @@ -1765,30 +1808,30 @@ r-loop.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/dc motor/figures/dcmotor-loop.png used on input line 497. (pdftex.def) Requested size: 178.86702pt x 195.60847pt. - [127] [128 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figure -s/dcmotor-both.png>] [129 </home/fossee/Desktop/floss-scilab-arduino/user-code/ -dcmotor/figures/dcmotor-loop.png>] [130] + [133] [134 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figure +s/dcmotor-both.png>] [135 </home/fossee/Desktop/floss-scilab-arduino/user-code/ +dcmotor/figures/dcmotor-loop.png>] [136] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor-clo -ck.py [131]) +ck.py [137]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor-bot -h.py) [132] +h.py) [138] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor-loo -p.py) [133] +p.py) [139] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor-cloc -k.jl [134]) +k.jl [140]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor-both .jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor-loop -.jl) [135] +.jl) [141] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmot or-clock.mo) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmot -or-both.mo [136]) +or-both.mo [142]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmot -or-loop.mo [137])) (./user-code/pot/pot.tex [138] +or-loop.mo [143])) (./user-code/pot/pot.tex [144] Chapter 8. </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/potmeter.png, -id=660, 1576.38937pt x 1305.37688pt> +id=683, 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 @@ -1797,7 +1840,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=661, 415.5525pt x 417.56pt> + id=684, 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. @@ -1805,13 +1848,13 @@ png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/po t/figures/schematic.png used on input line 68. (pdftex.def) Requested size: 178.86702pt x 179.73206pt. -[139 +[145 -] [140 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/potmete +] [146 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/potmete r.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/schemat ic.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/POT-led-bb.png -, id=671, 453.695pt x 243.309pt> +, id=694, 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 @@ -1824,18 +1867,18 @@ Overfull \hbox (9.68646pt too wide) in paragraph at lines 112--114 [] [] [] -[141 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/POT-led-b +[147 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/POT-led-b b.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot-threshold/ pot-threshold.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot-threshold/ pot-threshold.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot-threshold/ -pot-threshold.ino [142]) +pot-threshold.ino [148]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot-threshold.s ce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot-threshold.s -ce) [143] +ce) [149] Overfull \hbox (6.93184pt too wide) in paragraph at lines 200--204 []\T1/cmr/m/n/10.95 Turning on LEDs de-pend-ing on the po-ten-tiome-ter thresh- old. Avail- @@ -1845,7 +1888,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=682, 548.80031pt x 493.845pt> +PNG, id=705, 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 @@ -1858,14 +1901,14 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 236--265 [][] [] -[144] [145 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/pot +[150] [151 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/pot -threshold.PNG>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot-threshold.p -y) [146] +y) [152] (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot-threshold.p y) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot-threshold.p -y [147]) +y [153]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot-threshold.jl ) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot-threshold.jl @@ -1881,13 +1924,13 @@ Overfull \hbox (0.88127pt too wide) in paragraph at lines 325--329 old. Avail- [] -[148] +[154] (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot-threshold.jl ) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot-thres hold.mo) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot-thres -hold.mo [149]) +hold.mo [155]) Overfull \hbox (7.95369pt too wide) in paragraph at lines 348--352 []\T1/cmr/m/n/10.95 Turning on LEDs de-pend-ing on the po-ten-tiome-ter thresh- @@ -1895,12 +1938,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 [150])) (./user-code/thermistor/thermistor.tex [151] [152 +hold.mo [156])) (./user-code/thermistor/thermistor.tex [157] [158 ] Chapter 9. </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/NTC-bea -d.jpg, id=713, 139.9629pt x 126.2316pt> +d.jpg, id=736, 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 @@ -1909,13 +1952,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 153 undefined on input line 70. +LaTeX Warning: Citation `therm-wiki' on page 159 undefined on input line 70. -LaTeX Warning: Citation `therm-wiki' on page 153 undefined on input line 70. +LaTeX Warning: Citation `therm-wiki' on page 159 undefined on input line 70. </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-s -ym.png, id=714, 1284.8pt x 913.4125pt> +ym.png, id=737, 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 @@ -1924,7 +1967,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=715, 329.23pt x 422.57875pt> +TOR-Diagram-crop.pdf, id=738, 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 @@ -1933,7 +1976,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=716, 307.1475pt x 366.36874pt> +Diagram-crop.pdf, id=739, 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 @@ -1941,17 +1984,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. -[153] +[159] Overfull \vbox (30.13353pt too high) has occurred while \output is active [] -[154 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/NT +[160 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/NT C-bead.jpg> </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/fig ures/therm-sym.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/thermi stor/figures/THERMISTOR-Diagram-crop.pdf> </home/fossee/Desktop/floss-scilab-ar duino/user-code/thermistor/figures/BUZZER-Diagram-crop.pdf>] </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/thermis -tor.png, id=736, 453.695pt x 236.885pt> +tor.png, id=759, 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 @@ -1960,7 +2003,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=737, 453.695pt x 240.097pt> +tor-buzzer.png, id=760, 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 @@ -1968,25 +2011,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. - [155 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t + [161 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t hermistor.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-r ead/therm-read.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-r ead/therm-read.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-r -ead/therm-read.ino) [156 </home/fossee/Desktop/floss-scilab-arduino/user-code/t +ead/therm-read.ino) [162 </home/fossee/Desktop/floss-scilab-arduino/user-code/t hermistor/figures/thermistor-buzzer.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-r -ead/therm-read.ino [157]) +ead/therm-read.ino [163]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-b -uzzer/therm-buzzer.ino) [158] [159] +uzzer/therm-buzzer.ino) [164] [165] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm-re ad.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm-bu -zzer.sce) [160] +zzer.sce) [166] </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-r -ead-xcos.png, id=761, 617.30624pt x 548.0475pt> +ead-xcos.png, id=784, 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 @@ -1995,7 +2038,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=762, 632.3625pt x 529.98pt> +ead.png, id=785, 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 @@ -2004,7 +2047,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=763, 627.34375pt x 530.98375pt> +uzzer-xcos.png, id=786, 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 @@ -2012,14 +2055,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. - [161 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t + [167 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t herm-read-xcos.png>] Overfull \hbox (4.77844pt too wide) in paragraph at lines 373--393 [][] [] </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-b -uzzer.png, id=768, 612.2875pt x 589.20125pt> +uzzer.png, id=791, 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 @@ -2027,31 +2070,31 @@ rm-buzzer.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th ermistor/figures/therm-buzzer.png used on input line 399. (pdftex.def) Requested size: 178.86702pt x 172.12265pt. -[162 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th +[168 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th erm-read.png>] -LaTeX Warning: Text page 163 contains only floats. +LaTeX Warning: Text page 169 contains only floats. -[163 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th +[169 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th erm-buzzer-xcos.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/therm -istor/figures/therm-buzzer.png>] [164] +istor/figures/therm-buzzer.png>] [170] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm-re -ad.py [165]) +ad.py [171]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm-bu -zzer.py [166]) +zzer.py [172]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm-rea -d.jl [167]) +d.jl [173]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm-buz -zer.jl) [168] +zer.jl) [174] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/th -erm-read.mo) [169] +erm-read.mo) [175] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/th -erm-buzzer.mo)) (./user-code/servo/servo.tex [170] +erm-buzzer.mo)) (./user-code/servo/servo.tex [176] Chapter 10. Underfull \vbox (badness 1975) has occurred while \output is active [] - [171 + [177 ] Overfull \hbox (23.49748pt too wide) in paragraph at lines 90--98 @@ -2059,17 +2102,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[]. [] -[172] +[178] (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo-init/s -ervo-init.ino [173]) +ervo-init.ino [179]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo-revers e/servo-reverse.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo-loop/s -ervo-loop.ino) [174] +ervo-loop.ino) [180] (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo-pot/se rvo-pot.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo-init.sc -e) [175] +e) [181] (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo-pot.sce ) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo-pot.sce @@ -2077,13 +2120,13 @@ e) [175] (/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 [176]) +.sce [182]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo-loop.sc e) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo-pot.sce ) </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-init.p -ng, id=824, 265.74281pt x 309.40594pt> +ng, id=847, 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 @@ -2091,9 +2134,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. - [177] + [183] </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-revers -e.png, id=828, 244.66406pt x 281.55188pt> +e.png, id=851, 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 @@ -2104,10 +2147,10 @@ rvo/figures/servo-reverse.png used on input line 334. Underfull \vbox (badness 3199) has occurred while \output is active [] - [178 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo- + [184 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo- init.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-loop.p -ng, id=832, 281.55188pt x 347.04657pt> +ng, id=855, 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 @@ -2116,7 +2159,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=833, 286.06876pt x 292.09125pt> +g, id=856, 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 @@ -2125,38 +2168,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. -[179 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-r +[185 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-r everse.png>] Overfull \hbox (17.60953pt too wide) in paragraph at lines 435--446 [][] [] -[180 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-l +[186 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-l oop.png>] -LaTeX Warning: Reference `sec:py-start' on page 181 undefined on input line 459 +LaTeX Warning: Reference `sec:py-start' on page 187 undefined on input line 459 . Underfull \vbox (badness 10000) has occurred while \output is active [] - [181 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo- + [187 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo- pot.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-init.py -) [182] +) [188] (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-pot.py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-pot.py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-init.py -[183]) +[189]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-reverse -.py [184]) +.py [190]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-loop.py -[185]) +[191]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-pot.py -[186]) +[192]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-init.jl) -[187] +[193] (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-pot.jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-pot.jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-init.jl) @@ -2168,10 +2211,10 @@ vers-ing. Avail- (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-reverse. -jl) [188] +jl) [194] (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-loop.jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-pot.jl) -[189] +[195] (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo-i nit.mo) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo_p @@ -2179,19 +2222,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 [190]) +nit.mo [196]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo-r -everse.mo [191]) +everse.mo [197]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo-l oop.mo) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo_p -ot.mo [192])) (./user-code/modbus/modbus.tex [193] [194 +ot.mo [198])) (./user-code/modbus/modbus.tex [199] [200 ] Chapter 11. -[195] +[201] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig1.png, i -d=888, 672.5125pt x 224.84pt> +d=911, 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 @@ -2200,7 +2243,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=889, 360.34625pt x 375.4025pt> +d=912, 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 @@ -2209,7 +2252,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=890, 481.04718pt x 214.55156pt> +d=913, 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 @@ -2217,12 +2260,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. - [196 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig1. + [202 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig1. png (PNG copy)> </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/fig -ures/fig2.png (PNG copy)>] [197 </home/fossee/Desktop/floss-scilab-arduino/user --code/modbus/figures/fig3.png (PNG copy)>] [198] [199] +ures/fig2.png (PNG copy)>] [203 </home/fossee/Desktop/floss-scilab-arduino/user +-code/modbus/figures/fig3.png (PNG copy)>] [204] [205] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/Full-Set-Up -.png, id=905, 722.7pt x 542.025pt> +.png, id=928, 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 @@ -2230,9 +2273,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. - [200] + [206] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/block-diagr -am.PNG, id=909, 398.23781pt x 255.95625pt> +am.PNG, id=932, 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 @@ -2241,7 +2284,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=910, 327.2225pt x 480.79625pt> +e_flowchart.png, id=933, 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 @@ -2249,10 +2292,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. - [201 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/Full- + [207 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/Full- Set-Up.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/flowchart.p -ng, id=915, 482.55281pt x 362.10281pt> +ng, id=938, 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 @@ -2261,7 +2304,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=916, 1028.34187pt x 578.16pt> +put.png, id=939, 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 @@ -2270,7 +2313,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=917, 2509.375pt x 1411.2725pt> +put-setup.jpg, id=940, 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 @@ -2279,7 +2322,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=918, 1028.34187pt x 578.16pt> +put.png, id=941, 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 @@ -2288,7 +2331,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=919, 2509.375pt x 1411.2725pt> +put-setup.jpg, id=942, 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 @@ -2297,7 +2340,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=920, 1028.34187pt x 578.16pt> +r-output.png, id=943, 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- @@ -2306,10 +2349,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. -[202 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/block- +[208 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/block- diagram.PNG>] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/active-powe -r-output-setup.jpg, id=925, 2509.375pt x 1411.2725pt> +r-output-setup.jpg, id=948, 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- @@ -2320,10 +2363,10 @@ dbus/figures/active-power-output-setup.jpg used on input line 436. Underfull \vbox (badness 10000) has occurred while \output is active [] - [203 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/ardui + [209 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/ardui no_code_flowchart.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/read_value_ -xcos.png, id=930, 635.37375pt x 455.7025pt> +xcos.png, id=953, 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 @@ -2342,46 +2385,46 @@ Overfull \hbox (16.70493pt too wide) in paragraph at lines 479--491 [][] [] -[204 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/flowch -art.png (PNG copy)>] [205 </home/fossee/Desktop/floss-scilab-arduino/user-code/ +[210 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/flowch +art.png (PNG copy)>] [211 </home/fossee/Desktop/floss-scilab-arduino/user-code/ modbus/figures/current-output.png (PNG copy)> </home/fossee/Desktop/floss-scila b-arduino/user-code/modbus/figures/current-output-setup.jpg>] Underfull \vbox (badness 10000) has occurred while \output is active [] - [206 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/volta + [212 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/volta ge-output.png (PNG copy)> </home/fossee/Desktop/floss-scilab-arduino/user-code/ modbus/figures/voltage-output-setup.jpg>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/arduino/send_packet -.ino [207 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/a +.ino [213 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/a ctive-power-output.png (PNG copy)> </home/fossee/Desktop/floss-scilab-arduino/u -ser-code/modbus/figures/active-power-output-setup.jpg>] [208 </home/fossee/Desk +ser-code/modbus/figures/active-power-output-setup.jpg>] [214 </home/fossee/Desk top/floss-scilab-arduino/user-code/modbus/figures/read_value_xcos.png>]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read_val.sce ) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read_current .sci) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read_voltage -.sci [209]) +.sci [215]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read_active_ power.sci) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read_current .py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read_voltage -.py [210]) +.py [216]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read_active_ power.py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readCurrent.j l) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readVoltage.j -l [211]) +l [217]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readPower.jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readCu rrent.mo) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readVo -ltage.mo [212]) +ltage.mo [218]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readPo -wer.mo)) (./floss-arduino.bbl [213] [214 +wer.mo)) (./floss-arduino.bbl [219] [220 ] Underfull \hbox (badness 10000) in paragraph at lines 4--9 @@ -2412,11 +2455,11 @@ Overfull \hbox (15.39987pt too wide) in paragraph at lines 49--53 /Skittles_M%26M%27s [] -[215]) +[221]) \tf@thm=\write13 \openout13 = `floss-arduino.thm'. - [216] (./floss-arduino.aux) + [222] (./floss-arduino.aux) LaTeX Warning: There were undefined references. @@ -2425,10 +2468,10 @@ LaTeX Warning: There were multiply-defined labels. ) Here is how much of TeX's memory you used: - 9698 strings out of 481239 - 207113 string characters out of 5920377 + 9714 strings out of 481239 + 208088 string characters out of 5920377 742688 words of memory out of 5000000 - 24247 multiletter control sequences out of 15000+600000 + 24261 multiletter control sequences out of 15000+600000 554670 words of font info for 69 fonts, out of 8000000 for 9000 1143 hyphenation exceptions out of 8191 50i,11n,53p,467b,1777s stack positions out of 5000i,500n,10000p,200000b,80000s @@ -2456,10 +2499,10 @@ sr/share/texmf/fonts/type1/public/cm-super/sfrm1000.pfb></usr/share/texmf/fonts er/sfrm1200.pfb></usr/share/texmf/fonts/type1/public/cm-super/sfsi1095.pfb></us r/share/texmf/fonts/type1/public/cm-super/sfss1095.pfb></usr/share/texmf/fonts/ type1/public/cm-super/sfti1095.pfb> -Output written on floss-arduino.pdf (240 pages, 24670471 bytes). +Output written on floss-arduino.pdf (246 pages, 24757082 bytes). PDF statistics: - 1071 PDF objects out of 1200 (max. 8388607) - 631 compressed objects within 7 object streams + 1094 PDF objects out of 1200 (max. 8388607) + 644 compressed objects within 7 object streams 0 named destinations out of 1000 (max. 500000) - 526 words of extra memory for PDF output out of 10000 (max. 10000000) + 536 words of extra memory for PDF output out of 10000 (max. 10000000) diff --git a/floss-arduino.lot b/floss-arduino.lot index 270fe3b..8fdb58b 100644 --- a/floss-arduino.lot +++ b/floss-arduino.lot @@ -5,36 +5,36 @@ \contentsline {table}{\numberline {2.3}{\ignorespaces Information on sensors and pin numbers\relax }}{16}% \addvspace {10\p@ } \addvspace {10\p@ } -\contentsline {table}{\numberline {4.1}{\ignorespaces Parameters to light the blue LED in Xcos\relax }}{65}% -\contentsline {table}{\numberline {4.2}{\ignorespaces Parameters to light the blue LED in Xcos for two seconds\relax }}{66}% -\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{68}% -\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{69}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the push button status on the display block\relax }}{90}% -\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{91}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{107}% -\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{109}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {7.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{123}% -\contentsline {table}{\numberline {7.2}{\ignorespaces Parameters for DC motor initialization\relax }}{123}% -\contentsline {table}{\numberline {7.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{127}% -\contentsline {table}{\numberline {7.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{128}% -\contentsline {table}{\numberline {7.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{130}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{146}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{162}% -\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{164}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{172}% -\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{178}% -\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{180}% -\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{181}% -\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{182}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {11.1}{\ignorespaces Interpretation of a request packet\relax }}{198}% -\contentsline {table}{\numberline {11.2}{\ignorespaces Interpretation of a response packet\relax }}{198}% -\contentsline {table}{\numberline {11.3}{\ignorespaces Hexadecimal to Decimal\relax }}{199}% -\contentsline {table}{\numberline {11.4}{\ignorespaces Single and Double Precision Representation\relax }}{199}% -\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{208}% +\contentsline {table}{\numberline {4.1}{\ignorespaces Parameters to light the blue LED in Xcos\relax }}{71}% +\contentsline {table}{\numberline {4.2}{\ignorespaces Parameters to light the blue LED in Xcos for two seconds\relax }}{72}% +\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{74}% +\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{75}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the push button status on the display block\relax }}{96}% +\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{97}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{113}% +\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{115}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {7.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{129}% +\contentsline {table}{\numberline {7.2}{\ignorespaces Parameters for DC motor initialization\relax }}{129}% +\contentsline {table}{\numberline {7.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{133}% +\contentsline {table}{\numberline {7.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{134}% +\contentsline {table}{\numberline {7.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{136}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{152}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{168}% +\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{170}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{178}% +\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{184}% +\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{186}% +\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{187}% +\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{188}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {11.1}{\ignorespaces Interpretation of a request packet\relax }}{204}% +\contentsline {table}{\numberline {11.2}{\ignorespaces Interpretation of a response packet\relax }}{204}% +\contentsline {table}{\numberline {11.3}{\ignorespaces Hexadecimal to Decimal\relax }}{205}% +\contentsline {table}{\numberline {11.4}{\ignorespaces Single and Double Precision Representation\relax }}{205}% +\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{214}% diff --git a/floss-arduino.pdf b/floss-arduino.pdf Binary files differindex 3617545..87526a2 100644 --- a/floss-arduino.pdf +++ b/floss-arduino.pdf diff --git a/floss-arduino.pyd b/floss-arduino.pyd index 504cf2f..b638896 100644 --- a/floss-arduino.pyd +++ b/floss-arduino.pyd @@ -1,31 +1,31 @@ \addvspace {10pt} \contentsline {section}{\numberline {3.{1}}A Python code to check whether the firmware is properly installed or not}{42}% \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the LED through Python}{71}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{72}% -\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{73}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{74}% +\contentsline {section}{\numberline {4.{1}}Turning on the LED through Python}{77}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{78}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{79}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{80}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{93}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{93}% +\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}{110}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{111}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{116}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{117}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{131}% -\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{132}% -\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{132}% +\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{137}% +\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{138}% +\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{138}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{147}% +\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{153}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{165}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{166}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{171}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{172}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{183}% -\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{184}% -\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{185}% -\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{186}% +\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{189}% +\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{190}% +\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{191}% +\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{192}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{210}% -\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{210}% -\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{211}% +\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{216}% +\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{216}% +\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{217}% diff --git a/floss-arduino.thm b/floss-arduino.thm index 3e7ec30..4a8cf9f 100644 --- a/floss-arduino.thm +++ b/floss-arduino.thm @@ -1,123 +1,123 @@ \contentsline {ardmass}{{Arduino Code}{3.{1}}{}}{25}% \contentsline {codemass}{{Scilab Code}{3.{1}}{}}{34}% \contentsline {pymass}{{Python Code}{3.{1}}{}}{42}% -\contentsline {juliamass}{{Julia Code}{3.{1}}{}}{48}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{3.{1}}{}}{54}% -\contentsline {egmass}{{Exercise}{4.{1}}{}}{59}% -\contentsline {ardmass}{{Arduino Code}{4.{1}}{}}{60}% -\contentsline {ardmass}{{Arduino Code}{4.{2}}{}}{60}% -\contentsline {ardmass}{{Arduino Code}{4.{3}}{}}{61}% -\contentsline {ardmass}{{Arduino Code}{4.{4}}{}}{61}% -\contentsline {egmass}{{Exercise}{4.{2}}{}}{63}% -\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{63}% -\contentsline {codemass}{{Scilab Code}{4.{2}}{}}{63}% -\contentsline {codemass}{{Scilab Code}{4.{3}}{}}{64}% -\contentsline {codemass}{{Scilab Code}{4.{4}}{}}{64}% -\contentsline {egmass}{{Exercise}{4.{3}}{}}{67}% -\contentsline {pymass}{{Python Code}{4.{1}}{}}{71}% -\contentsline {pymass}{{Python Code}{4.{2}}{}}{72}% -\contentsline {pymass}{{Python Code}{4.{3}}{}}{73}% -\contentsline {pymass}{{Python Code}{4.{4}}{}}{74}% -\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{76}% -\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{77}% -\contentsline {juliamass}{{Julia Code}{4.{3}}{}}{77}% -\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{77}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{79}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{79}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{80}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{81}% -\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{87}% -\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{87}% -\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{89}% -\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{89}% -\contentsline {egmass}{{Exercise}{5.{1}}{}}{91}% -\contentsline {pymass}{{Python Code}{5.{1}}{}}{93}% -\contentsline {pymass}{{Python Code}{5.{2}}{}}{93}% -\contentsline {juliamass}{{Julia Code}{5.{1}}{}}{95}% -\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{96}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{96}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{97}% -\contentsline {egmass}{{Exercise}{6.{1}}{}}{103}% -\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{103}% -\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{104}% -\contentsline {egmass}{{Exercise}{6.{2}}{}}{105}% -\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{105}% -\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{106}% -\contentsline {egmass}{{Exercise}{6.{3}}{}}{109}% -\contentsline {pymass}{{Python Code}{6.{1}}{}}{110}% -\contentsline {pymass}{{Python Code}{6.{2}}{}}{111}% -\contentsline {egmass}{{Exercise}{6.{4}}{}}{112}% -\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{113}% -\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{113}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{114}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{115}% -\contentsline {egmass}{{Exercise}{7.{1}}{}}{120}% -\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{121}% -\contentsline {ardmass}{{Arduino Code}{7.{2}}{}}{121}% -\contentsline {ardmass}{{Arduino Code}{7.{3}}{}}{121}% -\contentsline {egmass}{{Exercise}{7.{2}}{}}{124}% -\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{125}% -\contentsline {codemass}{{Scilab Code}{7.{2}}{}}{125}% -\contentsline {codemass}{{Scilab Code}{7.{3}}{}}{125}% -\contentsline {egmass}{{Exercise}{7.{3}}{}}{127}% -\contentsline {pymass}{{Python Code}{7.{1}}{}}{131}% -\contentsline {pymass}{{Python Code}{7.{2}}{}}{132}% -\contentsline {pymass}{{Python Code}{7.{3}}{}}{132}% -\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{134}% -\contentsline {juliamass}{{Julia Code}{7.{2}}{}}{135}% -\contentsline {juliamass}{{Julia Code}{7.{3}}{}}{135}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{136}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{2}}{}}{136}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{3}}{}}{137}% -\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{142}% -\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{144}% -\contentsline {pymass}{{Python Code}{8.{1}}{}}{147}% -\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{149}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{150}% -\contentsline {egmass}{{Exercise}{9.{1}}{}}{157}% -\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{157}% -\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{158}% -\contentsline {egmass}{{Exercise}{9.{2}}{}}{159}% -\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{160}% -\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{160}% -\contentsline {pymass}{{Python Code}{9.{1}}{}}{165}% -\contentsline {pymass}{{Python Code}{9.{2}}{}}{166}% -\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{167}% -\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{168}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{169}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{170}% -\contentsline {egmass}{{Exercise}{10.{1}}{}}{173}% -\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{173}% -\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{174}% -\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{174}% -\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{175}% -\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{176}% -\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{176}% -\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{177}% -\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{177}% -\contentsline {pymass}{{Python Code}{10.{1}}{}}{183}% -\contentsline {pymass}{{Python Code}{10.{2}}{}}{184}% -\contentsline {pymass}{{Python Code}{10.{3}}{}}{185}% -\contentsline {pymass}{{Python Code}{10.{4}}{}}{186}% -\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{188}% -\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{188}% -\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{189}% -\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{189}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{190}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{191}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{192}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{192}% -\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{207}% -\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{209}% -\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{209}% -\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{209}% -\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{210}% -\contentsline {pymass}{{Python Code}{11.{1}}{}}{210}% -\contentsline {pymass}{{Python Code}{11.{2}}{}}{210}% -\contentsline {pymass}{{Python Code}{11.{3}}{}}{211}% -\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{211}% -\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{211}% -\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{212}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{212}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{212}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{213}% +\contentsline {juliamass}{{Julia Code}{3.{1}}{}}{51}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{3.{1}}{}}{59}% +\contentsline {egmass}{{Exercise}{4.{1}}{}}{65}% +\contentsline {ardmass}{{Arduino Code}{4.{1}}{}}{66}% +\contentsline {ardmass}{{Arduino Code}{4.{2}}{}}{66}% +\contentsline {ardmass}{{Arduino Code}{4.{3}}{}}{67}% +\contentsline {ardmass}{{Arduino Code}{4.{4}}{}}{67}% +\contentsline {egmass}{{Exercise}{4.{2}}{}}{69}% +\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{69}% +\contentsline {codemass}{{Scilab Code}{4.{2}}{}}{69}% +\contentsline {codemass}{{Scilab Code}{4.{3}}{}}{70}% +\contentsline {codemass}{{Scilab Code}{4.{4}}{}}{70}% +\contentsline {egmass}{{Exercise}{4.{3}}{}}{73}% +\contentsline {pymass}{{Python Code}{4.{1}}{}}{77}% +\contentsline {pymass}{{Python Code}{4.{2}}{}}{78}% +\contentsline {pymass}{{Python Code}{4.{3}}{}}{79}% +\contentsline {pymass}{{Python Code}{4.{4}}{}}{80}% +\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{82}% +\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{83}% +\contentsline {juliamass}{{Julia Code}{4.{3}}{}}{83}% +\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{83}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{85}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{85}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{86}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{87}% +\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{93}% +\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{93}% +\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{95}% +\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{95}% +\contentsline {egmass}{{Exercise}{5.{1}}{}}{97}% +\contentsline {pymass}{{Python Code}{5.{1}}{}}{99}% +\contentsline {pymass}{{Python Code}{5.{2}}{}}{99}% +\contentsline {juliamass}{{Julia Code}{5.{1}}{}}{101}% +\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{102}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{102}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{103}% +\contentsline {egmass}{{Exercise}{6.{1}}{}}{109}% +\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{109}% +\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{110}% +\contentsline {egmass}{{Exercise}{6.{2}}{}}{111}% +\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{111}% +\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{112}% +\contentsline {egmass}{{Exercise}{6.{3}}{}}{115}% +\contentsline {pymass}{{Python Code}{6.{1}}{}}{116}% +\contentsline {pymass}{{Python Code}{6.{2}}{}}{117}% +\contentsline {egmass}{{Exercise}{6.{4}}{}}{118}% +\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{119}% +\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{119}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{120}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{121}% +\contentsline {egmass}{{Exercise}{7.{1}}{}}{126}% +\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{127}% +\contentsline {ardmass}{{Arduino Code}{7.{2}}{}}{127}% +\contentsline {ardmass}{{Arduino Code}{7.{3}}{}}{127}% +\contentsline {egmass}{{Exercise}{7.{2}}{}}{130}% +\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{131}% +\contentsline {codemass}{{Scilab Code}{7.{2}}{}}{131}% +\contentsline {codemass}{{Scilab Code}{7.{3}}{}}{131}% +\contentsline {egmass}{{Exercise}{7.{3}}{}}{133}% +\contentsline {pymass}{{Python Code}{7.{1}}{}}{137}% +\contentsline {pymass}{{Python Code}{7.{2}}{}}{138}% +\contentsline {pymass}{{Python Code}{7.{3}}{}}{138}% +\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{140}% +\contentsline {juliamass}{{Julia Code}{7.{2}}{}}{141}% +\contentsline {juliamass}{{Julia Code}{7.{3}}{}}{141}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{142}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{2}}{}}{142}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{3}}{}}{143}% +\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{148}% +\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{150}% +\contentsline {pymass}{{Python Code}{8.{1}}{}}{153}% +\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{155}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{156}% +\contentsline {egmass}{{Exercise}{9.{1}}{}}{163}% +\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{163}% +\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{164}% +\contentsline {egmass}{{Exercise}{9.{2}}{}}{165}% +\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{166}% +\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{166}% +\contentsline {pymass}{{Python Code}{9.{1}}{}}{171}% +\contentsline {pymass}{{Python Code}{9.{2}}{}}{172}% +\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{173}% +\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{174}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{175}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{176}% +\contentsline {egmass}{{Exercise}{10.{1}}{}}{179}% +\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{179}% +\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{180}% +\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{180}% +\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{181}% +\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{182}% +\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{182}% +\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{183}% +\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{183}% +\contentsline {pymass}{{Python Code}{10.{1}}{}}{189}% +\contentsline {pymass}{{Python Code}{10.{2}}{}}{190}% +\contentsline {pymass}{{Python Code}{10.{3}}{}}{191}% +\contentsline {pymass}{{Python Code}{10.{4}}{}}{192}% +\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{194}% +\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{194}% +\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{195}% +\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{195}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{196}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{197}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{198}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{198}% +\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{213}% +\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{215}% +\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{215}% +\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{215}% +\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{216}% +\contentsline {pymass}{{Python Code}{11.{1}}{}}{216}% +\contentsline {pymass}{{Python Code}{11.{2}}{}}{216}% +\contentsline {pymass}{{Python Code}{11.{3}}{}}{217}% +\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{217}% +\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{217}% +\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{218}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{218}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{218}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{219}% diff --git a/floss-arduino.toc b/floss-arduino.toc index aaace04..86df6f7 100644 --- a/floss-arduino.toc +++ b/floss-arduino.toc @@ -44,162 +44,163 @@ \contentsline {subsection}{\numberline {3.4.2}Firmware}{42}% \contentsline {section}{\numberline {3.5}Julia}{43}% \contentsline {subsection}{\numberline {3.5.1}Downloading and installing Julia}{43}% -\contentsline {subsection}{\numberline {3.5.2}Downloading and installing Juno IDE}{44}% -\contentsline {subsection}{\numberline {3.5.3}Julia Arduino toolbox}{46}% -\contentsline {subsection}{\numberline {3.5.4}Using the serial port package}{47}% -\contentsline {subsection}{\numberline {3.5.5}Firmware}{48}% -\contentsline {section}{\numberline {3.6}OpenModelica}{48}% -\contentsline {subsection}{\numberline {3.6.1}Downloading and installing OpenModelica}{48}% -\contentsline {subsection}{\numberline {3.6.2}Simulating models in OpenModelica}{49}% -\contentsline {subsection}{\numberline {3.6.3}OpenModelica Arduino toolbox}{52}% -\contentsline {subsection}{\numberline {3.6.4}Firmware}{54}% -\contentsline {chapter}{\numberline {4}Interfacing a Light Emitting Diode}{55}% -\contentsline {section}{\numberline {4.1}Preliminaries}{55}% -\contentsline {section}{\numberline {4.2}Connecting an RGB LED with Arduino Uno\ using a breadboard}{57}% -\contentsline {section}{\numberline {4.3}Lighting the LED from the Arduino IDE}{58}% -\contentsline {subsection}{\numberline {4.3.1}Lighting the LED}{58}% -\contentsline {paragraph}{Note:}{59}% -\contentsline {paragraph}{Note:}{59}% -\contentsline {subsection}{\numberline {4.3.2}Arduino Code}{60}% -\contentsline {section}{\numberline {4.4}Lighting the LED from Scilab}{62}% -\contentsline {subsection}{\numberline {4.4.1}Lighting the LED}{62}% -\contentsline {subsection}{\numberline {4.4.2}Scilab Code}{63}% -\contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{64}% -\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{68}% -\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{68}% -\contentsline {subsection}{\numberline {4.6.2}Python Code}{71}% -\contentsline {section}{\numberline {4.7}Lighting the LED from Julia}{75}% -\contentsline {subsection}{\numberline {4.7.1}Lighting the LED}{75}% -\contentsline {subsection}{\numberline {4.7.2}Julia Code}{76}% -\contentsline {section}{\numberline {4.8}Lighting the LED from OpenModelica}{78}% -\contentsline {subsection}{\numberline {4.8.1}Lighting the LED}{78}% -\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{79}% -\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{83}% -\contentsline {section}{\numberline {5.1}Preliminaries}{83}% -\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{83}% -\contentsline {section}{\numberline {5.3}Reading the Pushbutton Status from the Arduino IDE}{86}% -\contentsline {subsection}{\numberline {5.3.1}Reading the Pushbutton Status}{86}% -\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{87}% -\contentsline {section}{\numberline {5.4}Reading the Pushbutton Status from Scilab}{88}% -\contentsline {subsection}{\numberline {5.4.1}Reading the Pushbutton Status}{88}% -\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{89}% -\contentsline {section}{\numberline {5.5}Accessing the Pushbutton from Xcos}{89}% -\contentsline {section}{\numberline {5.6}Reading the Pushbutton Status from Python}{92}% -\contentsline {subsection}{\numberline {5.6.1}Reading the Pushbutton Status}{92}% -\contentsline {subsection}{\numberline {5.6.2}Python Code}{93}% -\contentsline {section}{\numberline {5.7}Reading the Pushbutton Status from Julia}{95}% -\contentsline {subsection}{\numberline {5.7.1}Reading the Pushbutton Status}{95}% -\contentsline {subsection}{\numberline {5.7.2}Julia Code}{95}% -\contentsline {section}{\numberline {5.8}Reading the Pushbutton Status from OpenModelica}{96}% -\contentsline {subsection}{\numberline {5.8.1}Reading the Pushbutton Status}{96}% -\contentsline {subsection}{\numberline {5.8.2}OpenModelica Code}{96}% -\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{99}% -\contentsline {section}{\numberline {6.1}Preliminaries}{99}% -\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{101}% -\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{102}% -\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{102}% -\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{103}% -\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{104}% -\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{104}% -\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{105}% -\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{106}% -\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{108}% -\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{108}% -\contentsline {subsection}{\numberline {6.6.2}Python Code}{110}% -\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{112}% -\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{112}% -\contentsline {subsection}{\numberline {6.7.2}Julia Code}{113}% -\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{113}% -\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{113}% -\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{114}% -\contentsline {chapter}{\numberline {7}Controlling a DC motor}{117}% -\contentsline {section}{\numberline {7.1}Preliminaries}{117}% -\contentsline {section}{\numberline {7.2}Controlling the DC motor from Arduino}{119}% -\contentsline {subsection}{\numberline {7.2.1}Controlling the DC motor}{119}% -\contentsline {subsection}{\numberline {7.2.2}Arduino Code}{121}% -\contentsline {section}{\numberline {7.3}Controlling the DC motor from Scilab}{122}% -\contentsline {subsection}{\numberline {7.3.1}Initialization}{122}% -\contentsline {subsection}{\numberline {7.3.2}Rotation for a specified time}{123}% -\contentsline {subsection}{\numberline {7.3.3}Using the capabilities of Scilab}{124}% -\contentsline {subsection}{\numberline {7.3.4}Scilab Code}{125}% -\contentsline {section}{\numberline {7.4}Controlling the DC Motor from Xcos}{126}% -\contentsline {section}{\numberline {7.5}Controlling the DC Motor from Python}{129}% -\contentsline {subsection}{\numberline {7.5.1}Controlling the DC Motor}{129}% -\contentsline {subsection}{\numberline {7.5.2}Python Code}{131}% -\contentsline {section}{\numberline {7.6}Controlling the DC Motor from Julia}{134}% -\contentsline {subsection}{\numberline {7.6.1}Controlling the DC Motor}{134}% -\contentsline {subsection}{\numberline {7.6.2}Julia Code}{134}% -\contentsline {section}{\numberline {7.7}Controlling the DC Motor from OpenModelica}{135}% -\contentsline {subsection}{\numberline {7.7.1}Controlling the DC Motor}{135}% -\contentsline {subsection}{\numberline {7.7.2}OpenModelica Code}{136}% -\contentsline {chapter}{\numberline {8}Interfacing a Potentiometer}{139}% -\contentsline {section}{\numberline {8.1}Preliminaries}{139}% -\contentsline {section}{\numberline {8.2}Connecting a potentiometer with Arduino Uno\ using a breadboard}{140}% -\contentsline {section}{\numberline {8.3}Reading the potentiometer from the Arduino IDE}{141}% -\contentsline {subsection}{\numberline {8.3.1}Reading the potentiometer}{141}% -\contentsline {subsection}{\numberline {8.3.2}Arduino Code}{142}% -\contentsline {section}{\numberline {8.4}Reading the potentiometer from Scilab}{143}% -\contentsline {subsection}{\numberline {8.4.1}Reading the potentiometer}{143}% -\contentsline {subsection}{\numberline {8.4.2}Scilab Code}{144}% -\contentsline {section}{\numberline {8.5}Reading the potentiometer from Xcos}{144}% -\contentsline {paragraph}{Exercise:}{145}% -\contentsline {section}{\numberline {8.6}Reading the potentiometer from Python}{145}% -\contentsline {subsection}{\numberline {8.6.1}Reading the potentiometer}{145}% -\contentsline {subsection}{\numberline {8.6.2}Python Code}{147}% -\contentsline {section}{\numberline {8.7}Reading the potentiometer from Julia}{148}% -\contentsline {subsection}{\numberline {8.7.1}Reading the potentiometer}{148}% -\contentsline {subsection}{\numberline {8.7.2}Julia Code}{149}% -\contentsline {section}{\numberline {8.8}Reading the potentiometer from OpenModelica}{149}% -\contentsline {subsection}{\numberline {8.8.1}Reading the potentiometer}{149}% -\contentsline {subsection}{\numberline {8.8.2}OpenModelica Code}{150}% -\contentsline {chapter}{\numberline {9}Interfacing a Thermistor}{153}% -\contentsline {section}{\numberline {9.1}Preliminaries}{153}% -\contentsline {section}{\numberline {9.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{154}% -\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from the Arduino IDE}{156}% -\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{156}% -\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{157}% -\contentsline {section}{\numberline {9.4}Interfacing the Thermistor from Scilab}{158}% -\contentsline {subsection}{\numberline {9.4.1}Interfacing the Thermistor}{158}% -\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{160}% -\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Xcos}{161}% -\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Python}{164}% -\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{164}% -\contentsline {subsection}{\numberline {9.6.2}Python Code}{165}% -\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from Julia}{167}% -\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{167}% -\contentsline {subsection}{\numberline {9.7.2}Julia Code}{167}% -\contentsline {section}{\numberline {9.8}Interfacing the Thermistor from OpenModelica}{168}% -\contentsline {subsection}{\numberline {9.8.1}Interfacing the Thermistor}{168}% -\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{169}% -\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{171}% -\contentsline {section}{\numberline {10.1}Preliminaries}{171}% -\contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{172}% -\contentsline {subsection}{\numberline {10.2.1}Controlling the Servometer}{172}% -\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{173}% -\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{175}% -\contentsline {subsection}{\numberline {10.3.1}Controlling the Servomotor}{175}% -\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{176}% -\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{177}% -\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{182}% -\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{182}% -\contentsline {subsection}{\numberline {10.5.2}Python Code}{183}% -\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{187}% -\contentsline {subsection}{\numberline {10.6.1}Controlling the Servomotor}{187}% -\contentsline {subsection}{\numberline {10.6.2}Julia Code}{188}% -\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{189}% -\contentsline {subsection}{\numberline {10.7.1}Controlling the Servomotor}{189}% -\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{190}% -\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{195}% -\contentsline {section}{\numberline {11.1}Preliminaries}{195}% -\contentsline {section}{\numberline {11.2}Objective}{200}% -\contentsline {section}{\numberline {11.3}Energy Meter set up for Modbus protocol with Arduino Uno}{200}% -\contentsline {section}{\numberline {11.4}Software}{201}% -\contentsline {section}{\numberline {11.5}Output}{202}% -\contentsline {section}{\numberline {11.6}Reading Parameters from Xcos}{204}% -\contentsline {section}{\numberline {11.7}Code}{207}% -\contentsline {subsection}{\numberline {11.7.1}Arduino Code}{207}% -\contentsline {subsection}{\numberline {11.7.2}Scilab Code}{209}% -\contentsline {subsection}{\numberline {11.7.3}Python Code}{210}% -\contentsline {subsection}{\numberline {11.7.4}Julia Code}{211}% -\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{212}% -\contentsline {chapter}{\numberline {References}}{215}% +\contentsline {subsection}{\numberline {3.5.2}Executing source files in Julia}{46}% +\contentsline {subsection}{\numberline {3.5.3}Downloading and installing Juno IDE}{48}% +\contentsline {subsection}{\numberline {3.5.4}Julia Arduino toolbox}{49}% +\contentsline {subsection}{\numberline {3.5.5}Using the serial port package}{50}% +\contentsline {subsection}{\numberline {3.5.6}Firmware}{51}% +\contentsline {section}{\numberline {3.6}OpenModelica}{52}% +\contentsline {subsection}{\numberline {3.6.1}Downloading and installing OpenModelica}{52}% +\contentsline {subsection}{\numberline {3.6.2}Simulating models in OpenModelica}{52}% +\contentsline {subsection}{\numberline {3.6.3}OpenModelica Arduino toolbox}{58}% +\contentsline {subsection}{\numberline {3.6.4}Firmware}{59}% +\contentsline {chapter}{\numberline {4}Interfacing a Light Emitting Diode}{61}% +\contentsline {section}{\numberline {4.1}Preliminaries}{61}% +\contentsline {section}{\numberline {4.2}Connecting an RGB LED with Arduino Uno\ using a breadboard}{63}% +\contentsline {section}{\numberline {4.3}Lighting the LED from the Arduino IDE}{64}% +\contentsline {subsection}{\numberline {4.3.1}Lighting the LED}{64}% +\contentsline {paragraph}{Note:}{65}% +\contentsline {paragraph}{Note:}{65}% +\contentsline {subsection}{\numberline {4.3.2}Arduino Code}{66}% +\contentsline {section}{\numberline {4.4}Lighting the LED from Scilab}{68}% +\contentsline {subsection}{\numberline {4.4.1}Lighting the LED}{68}% +\contentsline {subsection}{\numberline {4.4.2}Scilab Code}{69}% +\contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{70}% +\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{74}% +\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{74}% +\contentsline {subsection}{\numberline {4.6.2}Python Code}{77}% +\contentsline {section}{\numberline {4.7}Lighting the LED from Julia}{81}% +\contentsline {subsection}{\numberline {4.7.1}Lighting the LED}{81}% +\contentsline {subsection}{\numberline {4.7.2}Julia Code}{82}% +\contentsline {section}{\numberline {4.8}Lighting the LED from OpenModelica}{84}% +\contentsline {subsection}{\numberline {4.8.1}Lighting the LED}{84}% +\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{85}% +\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{89}% +\contentsline {section}{\numberline {5.1}Preliminaries}{89}% +\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{89}% +\contentsline {section}{\numberline {5.3}Reading the Pushbutton Status from the Arduino IDE}{92}% +\contentsline {subsection}{\numberline {5.3.1}Reading the Pushbutton Status}{92}% +\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{93}% +\contentsline {section}{\numberline {5.4}Reading the Pushbutton Status from Scilab}{94}% +\contentsline {subsection}{\numberline {5.4.1}Reading the Pushbutton Status}{94}% +\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{95}% +\contentsline {section}{\numberline {5.5}Accessing the Pushbutton from Xcos}{95}% +\contentsline {section}{\numberline {5.6}Reading the Pushbutton Status from Python}{98}% +\contentsline {subsection}{\numberline {5.6.1}Reading the Pushbutton Status}{98}% +\contentsline {subsection}{\numberline {5.6.2}Python Code}{99}% +\contentsline {section}{\numberline {5.7}Reading the Pushbutton Status from Julia}{101}% +\contentsline {subsection}{\numberline {5.7.1}Reading the Pushbutton Status}{101}% +\contentsline {subsection}{\numberline {5.7.2}Julia Code}{101}% +\contentsline {section}{\numberline {5.8}Reading the Pushbutton Status from OpenModelica}{102}% +\contentsline {subsection}{\numberline {5.8.1}Reading the Pushbutton Status}{102}% +\contentsline {subsection}{\numberline {5.8.2}OpenModelica Code}{102}% +\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{105}% +\contentsline {section}{\numberline {6.1}Preliminaries}{105}% +\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{107}% +\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{108}% +\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{108}% +\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{109}% +\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{110}% +\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{110}% +\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{111}% +\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{112}% +\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{114}% +\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{114}% +\contentsline {subsection}{\numberline {6.6.2}Python Code}{116}% +\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{118}% +\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{118}% +\contentsline {subsection}{\numberline {6.7.2}Julia Code}{119}% +\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{119}% +\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{119}% +\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{120}% +\contentsline {chapter}{\numberline {7}Controlling a DC motor}{123}% +\contentsline {section}{\numberline {7.1}Preliminaries}{123}% +\contentsline {section}{\numberline {7.2}Controlling the DC motor from Arduino}{125}% +\contentsline {subsection}{\numberline {7.2.1}Controlling the DC motor}{125}% +\contentsline {subsection}{\numberline {7.2.2}Arduino Code}{127}% +\contentsline {section}{\numberline {7.3}Controlling the DC motor from Scilab}{128}% +\contentsline {subsection}{\numberline {7.3.1}Initialization}{128}% +\contentsline {subsection}{\numberline {7.3.2}Rotation for a specified time}{129}% +\contentsline {subsection}{\numberline {7.3.3}Using the capabilities of Scilab}{130}% +\contentsline {subsection}{\numberline {7.3.4}Scilab Code}{131}% +\contentsline {section}{\numberline {7.4}Controlling the DC Motor from Xcos}{132}% +\contentsline {section}{\numberline {7.5}Controlling the DC Motor from Python}{135}% +\contentsline {subsection}{\numberline {7.5.1}Controlling the DC Motor}{135}% +\contentsline {subsection}{\numberline {7.5.2}Python Code}{137}% +\contentsline {section}{\numberline {7.6}Controlling the DC Motor from Julia}{140}% +\contentsline {subsection}{\numberline {7.6.1}Controlling the DC Motor}{140}% +\contentsline {subsection}{\numberline {7.6.2}Julia Code}{140}% +\contentsline {section}{\numberline {7.7}Controlling the DC Motor from OpenModelica}{141}% +\contentsline {subsection}{\numberline {7.7.1}Controlling the DC Motor}{141}% +\contentsline {subsection}{\numberline {7.7.2}OpenModelica Code}{142}% +\contentsline {chapter}{\numberline {8}Interfacing a Potentiometer}{145}% +\contentsline {section}{\numberline {8.1}Preliminaries}{145}% +\contentsline {section}{\numberline {8.2}Connecting a potentiometer with Arduino Uno\ using a breadboard}{146}% +\contentsline {section}{\numberline {8.3}Reading the potentiometer from the Arduino IDE}{147}% +\contentsline {subsection}{\numberline {8.3.1}Reading the potentiometer}{147}% +\contentsline {subsection}{\numberline {8.3.2}Arduino Code}{148}% +\contentsline {section}{\numberline {8.4}Reading the potentiometer from Scilab}{149}% +\contentsline {subsection}{\numberline {8.4.1}Reading the potentiometer}{149}% +\contentsline {subsection}{\numberline {8.4.2}Scilab Code}{150}% +\contentsline {section}{\numberline {8.5}Reading the potentiometer from Xcos}{150}% +\contentsline {paragraph}{Exercise:}{151}% +\contentsline {section}{\numberline {8.6}Reading the potentiometer from Python}{151}% +\contentsline {subsection}{\numberline {8.6.1}Reading the potentiometer}{151}% +\contentsline {subsection}{\numberline {8.6.2}Python Code}{153}% +\contentsline {section}{\numberline {8.7}Reading the potentiometer from Julia}{154}% +\contentsline {subsection}{\numberline {8.7.1}Reading the potentiometer}{154}% +\contentsline {subsection}{\numberline {8.7.2}Julia Code}{155}% +\contentsline {section}{\numberline {8.8}Reading the potentiometer from OpenModelica}{155}% +\contentsline {subsection}{\numberline {8.8.1}Reading the potentiometer}{155}% +\contentsline {subsection}{\numberline {8.8.2}OpenModelica Code}{156}% +\contentsline {chapter}{\numberline {9}Interfacing a Thermistor}{159}% +\contentsline {section}{\numberline {9.1}Preliminaries}{159}% +\contentsline {section}{\numberline {9.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{160}% +\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from the Arduino IDE}{162}% +\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{162}% +\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{163}% +\contentsline {section}{\numberline {9.4}Interfacing the Thermistor from Scilab}{164}% +\contentsline {subsection}{\numberline {9.4.1}Interfacing the Thermistor}{164}% +\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{166}% +\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Xcos}{167}% +\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Python}{170}% +\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{170}% +\contentsline {subsection}{\numberline {9.6.2}Python Code}{171}% +\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from Julia}{173}% +\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{173}% +\contentsline {subsection}{\numberline {9.7.2}Julia Code}{173}% +\contentsline {section}{\numberline {9.8}Interfacing the Thermistor from OpenModelica}{174}% +\contentsline {subsection}{\numberline {9.8.1}Interfacing the Thermistor}{174}% +\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{175}% +\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{177}% +\contentsline {section}{\numberline {10.1}Preliminaries}{177}% +\contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{178}% +\contentsline {subsection}{\numberline {10.2.1}Controlling the Servometer}{178}% +\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{179}% +\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{181}% +\contentsline {subsection}{\numberline {10.3.1}Controlling the Servomotor}{181}% +\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{182}% +\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{183}% +\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{188}% +\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{188}% +\contentsline {subsection}{\numberline {10.5.2}Python Code}{189}% +\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{193}% +\contentsline {subsection}{\numberline {10.6.1}Controlling the Servomotor}{193}% +\contentsline {subsection}{\numberline {10.6.2}Julia Code}{194}% +\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{195}% +\contentsline {subsection}{\numberline {10.7.1}Controlling the Servomotor}{195}% +\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{196}% +\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{201}% +\contentsline {section}{\numberline {11.1}Preliminaries}{201}% +\contentsline {section}{\numberline {11.2}Objective}{206}% +\contentsline {section}{\numberline {11.3}Energy Meter set up for Modbus protocol with Arduino Uno}{206}% +\contentsline {section}{\numberline {11.4}Software}{207}% +\contentsline {section}{\numberline {11.5}Output}{208}% +\contentsline {section}{\numberline {11.6}Reading Parameters from Xcos}{210}% +\contentsline {section}{\numberline {11.7}Code}{213}% +\contentsline {subsection}{\numberline {11.7.1}Arduino Code}{213}% +\contentsline {subsection}{\numberline {11.7.2}Scilab Code}{215}% +\contentsline {subsection}{\numberline {11.7.3}Python Code}{216}% +\contentsline {subsection}{\numberline {11.7.4}Julia Code}{217}% +\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{218}% +\contentsline {chapter}{\numberline {References}}{221}% diff --git a/user-code/sw-env/figures/julia-pkg.png b/user-code/sw-env/figures/julia-pkg.png Binary files differnew file mode 100644 index 0000000..a0f516c --- /dev/null +++ b/user-code/sw-env/figures/julia-pkg.png diff --git a/user-code/sw-env/figures/julia-terminal-repl.png b/user-code/sw-env/figures/julia-terminal-repl.png Binary files differnew file mode 100644 index 0000000..94088ba --- /dev/null +++ b/user-code/sw-env/figures/julia-terminal-repl.png diff --git a/user-code/sw-env/sw-env.tex b/user-code/sw-env/sw-env.tex index 2d2758c..b489ce1 100644 --- a/user-code/sw-env/sw-env.tex +++ b/user-code/sw-env/sw-env.tex @@ -898,7 +898,8 @@ For this, one can download the Windows pyserial package from the PyPI website, i.e., {\tt https://pypi.python.org/pypi/pyserial/3.4} and
install it by double-clicking on the downloaded file.
-On Linux, we can install Python from the terminal. Open a terminal by
+On Linux, we can install Python from the terminal. Please ensure that you
+are connected to the Internet. Open a terminal by
pressing the Alt+Ctrl+T keys together. Then, update the system by executing the
command {\tt sudo apt-get update}. Next, install Python3.5 by executing the command given below:\\
{\tt sudo apt-get install python3.5}\\
@@ -956,23 +957,141 @@ Please ensure that you have uploaded the Arduino firmware given in \ardref{ard:f -
-
-
%%%%%python description ends
%%%%%%Julia descrition starts
\section{Julia}
\label{sec:julia-start}
-Julia is a high-level, high-performance dynamic programming language for
-technical computing, with syntax that is familiar to users of other technical
-computing environments. It provides a sophisticated compiler, distributed
+Julia is a high-level, high-performance dynamic programming language for
+technical computing, with a syntax familiar to users of other technical computing
+environments \cite{julia-ref}. While it is a general-purpose language and can be used to write any
+application, many of its features are well suited for numerical analysis and
+computational science. Julia provides a sophisticated compiler, distributed
parallel execution, numerical accuracy, and an extensive mathematical function
-library. This is a set of tools that provide functionality in Julia, to program the
-\arduino.
+library.
+
+%This is a set of tools that provide functionality in Julia, to program the \arduino.
+
+\subsection{Downloading and installing Julia} \label{julia-installation}
+Julia can be downloaded free of cost from {\tt https://julialang.org/}.
+It is available for all popular operating systems, including Windows, Linux,
+and Mac OS X systems. This book uses Julia 1.6.0 for demonstrating the experiments,
+both on Windows and Linux.
+
+For the Windows system, the downloaded file is an executable (.exe) file. It has to
+be double-clicked to start the installation. All the default parameters of installation
+are acceptable. Once Julia has been installed successfully, Julia can be invoked by
+by simply typing {\tt julia} in the command line.
+
+We will now explain the installation of Julia on the GNU/Linux operating system.
+We shall perform the installation on the 64-bit Ubuntu 18.04 LTS operating system.
+These instructions will work for other GNU distributions too, with little or
+no modification. This book uses Julia 1.6.0. To install it, carry out the steps
+given below:
+
+\begin{enumerate}
+ \item First, update your system. Open the Terminal. Type
+ {\tt sudo apt-get update} and press Enter.
+ \item Find out your operating system support for 64-bit
+ instructions. Open the terminal emulator and type, {\tt uname -m}
+ \item If it returns ``x86\_64'', then your computer has 64-bit
+ operating system.
+ \item Download the latest compressed Julia Linux Binaries from the website of Julia.
+ Go to {\tt https://julialang.org/downloads/} and download the
+ required Julia Linux binaries (32 or 64-bit) for Generic Linux on x86.
+ As mentioned earlier, we will perform experiments with a 64-bit installation.
+ \item At the time of writing this book, we worked with Julia version 1.6.0.
+ Assuming that you have downloaded the tar file in {\tt Downloads} directory, perform the following
+ steps on the terminal:
+ \begin{quote}
+ {\tt cd {\large\textasciitilde}/Downloads\\
+ tar -xvzf julia-1.6.0-linux-x86\_64.tar.gz\\
+ sudo cp -r julia-1.6.0 /opt/}
+ \end{quote}
+ \item Finally, create a symbolic link to {\tt julia} inside the
+ {\tt /usr/local/bin} folder. In the same Terminal session, issue the
+ following command: \\
+ {\tt sudo ln -s /opt/julia-1.6.0/bin/julia /usr/local/bin/julia}
+ \item Close the Terminal.
+\end{enumerate}
+
+Julia is now installed and can be invoked from the Terminal. Open the Terminal, type {\tt julia} and press Enter. It should launch julia in
+an interactive session (also known as a read-eval-print loop or "REPL"), as shown
+in \figref{julia-repl}. When run in interactive mode, julia displays a banner and
+prompts the user for input. Once the user has entered a complete expression,
+such as 1 + 2, and hits Enter, the interactive session evaluates the expression
+and shows its value, as shown in \figref{julia-repl}. If an expression is entered
+into an interactive session with a trailing semicolon, its value is not shown. The variable {\tt ans} is
+bound to the value of the last evaluated expression, whether it is shown or not.
+The {\tt ans} variable is only bound in interactive sessions, not when Julia code is run in other ways.
+\begin{figure}
+ \centering
+ \includegraphics[width=\textwidth]{\LocSWfig/julia-terminal-repl.png}
+ \caption{Linux terminal to launch Julia REPL}
+ \label{julia-repl}
+\end{figure}
+By default, Julia REPL appears in Julian prompt. It is the default mode of
+operation; each new line initially starts with {\tt julia>}, as
+shown in \figref{julia-repl}. It is here that you can enter Julia expressions.
+Hitting return or Enter after a complete expression has been entered will evaluate
+the entry and show the result of the last expression.
+
+Now, we will install a package named LibSerialPort. This package will be required to
+establish serial port communication with Arduino boards. Please ensure that you
+are connected to the Internet. To install the package,
+we will use {\tt Pkg}. It is Julia's built-in package manager, and
+handles operations such as installing, updating and removing packages in Julia.
+For installing LibSerialPort, we need to enter the {\tt Pkg} REPL in Julia.
+For this, launch Julia in interactive mode, as shown in \figref{julia-repl}.
+From the Julia REPL, press {\tt ]} to enter the {\tt Pkg} REPL. The moment you press
+{\tt ]}, you enter {\tt Pkg} REPL, as shown in \figref{julia-pkg}.
+\begin{figure}
+ \centering
+ \includegraphics[width=\textwidth]{\LocSWfig/julia-pkg.png}
+ \caption{Linux terminal to enter Pkg REPL in Julia}
+ \label{julia-pkg}
+\end{figure}
+Now, type {\tt add LibSerialPort} in {\tt Pkg} REPL and press Enter. It might take a few minutes
+to get this package installed. Once it is installed, {\tt Pkg} REPL should show the message,
+as shown in Fig. We can also check the status of this package to verify whether it has been installed
+successfully or not. For this, we need to get back to the Julia REPL. Inside {\tt Pkg}
+REPL, press backspace. The moment you press backspace, you get back to Julia REPL, as shown in
+\figref{julia-repl}. Now, type {\tt using Pkg} and press Enter. This command will not
+generate any output. Now type {\tt Pkg.status()} and press Enter. It should display the
+list of packages installed in Julia, as shown in Fig. Please make sure that LibSerialPort
+is present in the list of packages being shown.
+To exit the interactive session, type CTRL+D or type {\tt exit()}.
+
+\subsection{Executing source files in Julia} \label{julia-execution}
+The source files in Julia have `'.jl' extensions. There are two ways to execute
+these source files, as given below:
+
+\begin{enumerate}
+ \item Interactive mode: First, we launch Julia REPL, as shown in
+ \figref{julia-repl}. Now, to evaluate expressions written in a source file
+ like {\tt file.jl}, go to Julia REPL, type {\tt include("file.jl")}, and press Enter.
+ When this command is run in Julia REPL, Julia will only look for the source
+ file in the current working directory. That's why if your source file is at
+ some different location, you need to pass the full path of the file.
+ Assuming that you have launched Julia REPL in {\tt /home/fossee} and the
+ source file {\tt file.jl} is located inside a folder named {\tt Origin} at {\tt Desktop},
+ then you should issue the command
+ {\tt include("/home/fossee/Desktop/Origin/file.jl"}. Another way could be to
+ change the working directory in Julia REPL only. For this, we need to
+ change the mode of Julia REPL from Julian prompt to Shell mode. Inside Julia REPL,
+ press {\tt ;} (semicolon) at the beginning of the line ({\tt julia>}).
+ The moment you press {\tt ;} (semicolon), you enter shell mode, as shown in Fig.
+ In this mode, you can use the system shell to execute system commands, like
+ changing the directory using {\tt cd} command. And shell mode can be exited by
+ pressing backspace at the beginning of the line ({\tt shell>}).
+ \item Non-interactive mode: To run code in a source file non-interactively,
+ you can give it as the first argument to the {\tt julia} command. To execute
+ the source file given in the previous step, open a Terminal. Type
+ {\tt julia file.jl} and press Enter. Just like the previous step, you need to check for the
+ path of the source file.
+\end{enumerate}
-\subsection{Downloading and installing Julia}\label{julia-installation}
\begin{enumerate}
\item On Ubuntu, Julia can be installed from the command line by typing in the
following commands:
@@ -1199,7 +1318,7 @@ are acceptable. Once OpenModelica has been installed successfully, OpenModelica Connection Editor (OMEdit) can be launched either from the Start menu or by double-clicking on the OMEdit icon created on the Desktop (if any).
On Linux, we can install OpenModelica from the terminal. The readers are advised to visit
-{\tt https://openmodelica.org/download/download-linux} and follow the instructions for installing OpenModelica.
+ {\tt https://openmodelica.org/download/download-linux} and follow the instructions for installing OpenModelica.
We recommend the readers should install the latest stable version of OpenModelica.
Once OpenModelica has been installed successfully, OMEdit can be launched
from the terminal. Open a terminal by pressing Alt+Ctrl+T and type OMEdit. When you
@@ -1209,7 +1328,7 @@ should choose the option "Load MSL v3.2.3" and click OK. \begin{figure}
\centering
- \includegraphics[width=\lgfig]{\LocSWfig/OMEdit-libraries.png}
+ \includegraphics[scale=0.55]{\LocSWfig/OMEdit-libraries.png}
\caption{Setup of Modelica Standard Library version}
\label{om-help}
\end{figure}
@@ -1242,7 +1361,7 @@ comes with a few default libraries, like Modelica, ModelicaReference, etc., as s Modelica Standard Library version, as given in \figref{om-help}.
\begin{figure}
\centering
- \includegraphics[width=\lgfig]{\LocSWfig/OMEdit-UI.png}
+ \includegraphics[width=\textwidth]{\LocSWfig/OMEdit-UI.png}
\caption{User Interface of OMEdit}
\label{om-ui}
\end{figure}
@@ -1256,14 +1375,14 @@ of difference in these names while working with other versions of OpenModelica. \begin{figure}
\centering
- \includegraphics[width=\lgfig]{\LocSWfig/om-open-model.png}
+ \includegraphics[width=\textwidth]{\LocSWfig/om-open-model.png}
\caption{Opening a model in OMEdit}
\label{om-model-open}
\end{figure}
\begin{figure}
\centering
- \includegraphics[width=\lgfig]{\LocSWfig/om-Modeling.png}
+ \includegraphics[width=\textwidth]{\LocSWfig/om-Modeling.png}
\caption{Opening a model in diagram view in OMEdit}
\label{om-modeling}
\end{figure}
@@ -1271,7 +1390,7 @@ of difference in these names while working with other versions of OpenModelica. \begin{figure}
\centering
- \includegraphics[width=\lgfig]{\LocSWfig/om-modeling-views.png}
+ \includegraphics[width=\textwidth]{\LocSWfig/om-modeling-views.png}
\caption{Different views of a model in OMEdit}
\label{om-views}
\end{figure}
@@ -1279,7 +1398,7 @@ of difference in these names while working with other versions of OpenModelica. \begin{figure}
\centering
- \includegraphics[width=\lgfig]{\LocSWfig/om-text-view.png}
+ \includegraphics[width=\textwidth]{\LocSWfig/om-text-view.png}
\caption{Opening a model in text view in OMEdit}
\label{om-text-view}
\end{figure}
@@ -1308,14 +1427,14 @@ observe that the OMEdit is now in Plotting Perspective. \begin{figure}
\centering
- \includegraphics[width=\lgfig]{\LocSWfig/om-simulate.png}
+ \includegraphics[width=\textwidth]{\LocSWfig/om-simulate.png}
\caption{Simulating a model in OMEdit}
\label{om-simulate}
\end{figure}
\begin{figure}
\centering
- \includegraphics[width=\lgfig]{\LocSWfig/om-sim-success.png}
+ \includegraphics[width=\textwidth]{\LocSWfig/om-sim-success.png}
\caption{Output window of OMEdit}
\label{om-sim-success}
\end{figure}
@@ -1342,17 +1461,17 @@ Let us now see how to load the OpenModelica Arduino toolbox. shortcut icon created on the Desktop. On a Linux system, one has to
start OMEdit through a terminal, as
explained in section \ref{OpenModelica-installation}.
- \item After launching, we have to load OpenModelica-Arduino
+ \item After launching, we have to load OpenModelica-Arduino
toolbox. To do so, go to the menu bar of OMEdit.
Click on {\tt File} and then click on
the {\tt Open Model/Library File(s)} option as shown in \figref{om-model-open}.
- \item Navigate to {\tt Origin/tools/windows/OpenModelica-Arduino}, select \\ {\tt Arduino.mo},
+ \item Navigate to {\tt Origin/tools/windows/OpenModelica-Arduino}, select \\ {\tt Arduino.mo},
and click Open.
- \item In OMEdit, under Libraries Browser, look for three new libraries: Arduino,
- Modelica\_Synchronous, and Modelica\_DeviceDrivers. If you are able to view these three,
- it means that OpenModelica-Arduino toolbox has been loaded successfully.
- Please note that each time you launch OMEdit, you need to load this toolbox for
- performing the experiments.
+ \item In OMEdit, under Libraries Browser, look for three new libraries: Arduino,
+ Modelica\_Synchronous, and Modelica\_DeviceDrivers. If you are able to view these three,
+ it means that OpenModelica-Arduino toolbox has been loaded successfully.
+ Please note that each time you launch OMEdit, you need to load this toolbox for
+ performing the experiments.
\end{enumerate}
The toolbox is now loaded and available for use.
|