diff options
author | SudhakarKuma | 2021-03-17 14:40:10 +0530 |
---|---|---|
committer | SudhakarKuma | 2021-03-17 14:40:10 +0530 |
commit | 58d86b3cb96c712065a9437057e31ded916f8717 (patch) | |
tree | 98c4d731b7b89bef18117e6f2273c99282719fd2 | |
parent | 13762323740470fedef9e20c789703694614ad50 (diff) | |
download | FLOSS-Arduino-Book-58d86b3cb96c712065a9437057e31ded916f8717.tar.gz FLOSS-Arduino-Book-58d86b3cb96c712065a9437057e31ded916f8717.tar.bz2 FLOSS-Arduino-Book-58d86b3cb96c712065a9437057e31ded916f8717.zip |
Add breadboard connection for pushbutton
-rw-r--r-- | floss-arduino.OpenModelicad | 30 | ||||
-rw-r--r-- | floss-arduino.ard | 30 | ||||
-rw-r--r-- | floss-arduino.aux | 1803 | ||||
-rw-r--r-- | floss-arduino.cod | 36 | ||||
-rw-r--r-- | floss-arduino.fdb_latexmk | 59 | ||||
-rw-r--r-- | floss-arduino.fls | 3 | ||||
-rw-r--r-- | floss-arduino.idx | 10 | ||||
-rw-r--r-- | floss-arduino.ind | 10 | ||||
-rw-r--r-- | floss-arduino.juliad | 32 | ||||
-rw-r--r-- | floss-arduino.lof | 93 | ||||
-rw-r--r-- | floss-arduino.log | 388 | ||||
-rw-r--r-- | floss-arduino.lot | 50 | ||||
-rw-r--r-- | floss-arduino.pdf | bin | 22459327 -> 22534268 bytes | |||
-rw-r--r-- | floss-arduino.pyd | 32 | ||||
-rw-r--r-- | floss-arduino.thm | 182 | ||||
-rw-r--r-- | floss-arduino.toc | 245 | ||||
-rw-r--r-- | user-code/push/figures/ard-pushbtn.png | bin | 0 -> 89079 bytes | |||
-rw-r--r-- | user-code/push/push.tex | 18 |
18 files changed, 1530 insertions, 1491 deletions
diff --git a/floss-arduino.OpenModelicad b/floss-arduino.OpenModelicad index 919a13f..1c4bc23 100644 --- a/floss-arduino.OpenModelicad +++ b/floss-arduino.OpenModelicad @@ -8,23 +8,23 @@ \contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{91}% \contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{92}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{106}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{107}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{108}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{109}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{128}% -\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{128}% -\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{129}% +\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{130}% +\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{130}% +\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{131}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{141}% +\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{143}% \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}{159}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{160}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{180}% -\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{181}% -\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{182}% -\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{182}% +\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{182}% +\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{183}% +\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{184}% +\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{184}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{202}% -\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{202}% -\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{203}% +\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{204}% +\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{204}% +\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{205}% diff --git a/floss-arduino.ard b/floss-arduino.ard index 435f894..16eaecd 100644 --- a/floss-arduino.ard +++ b/floss-arduino.ard @@ -5,24 +5,24 @@ \contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{57}% \contentsline {section}{\numberline {4.{4}}Blinking the green LED}{57}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{81}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{81}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{82}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{82}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{96}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{96}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{98}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{98}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{113}% -\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{113}% -\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{113}% +\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{115}% +\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{115}% +\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{115}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{133}% +\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{135}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{146}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{146}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{148}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{148}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{163}% -\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{164}% -\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in increments}{164}% -\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{165}% +\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{165}% +\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{166}% +\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in increments}{166}% +\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{167}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{197}% +\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{199}% diff --git a/floss-arduino.aux b/floss-arduino.aux index 1fc2bf1..f9b6614 100644 --- a/floss-arduino.aux +++ b/floss-arduino.aux @@ -451,93 +451,96 @@ \@writefile{lot}{\addvspace {10\p@ }} \newlabel{pushbutton}{{5}{79}} \@writefile{toc}{\contentsline {section}{\numberline {5.1}Preliminaries}{79}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{79}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {5.1}{\ignorespaces Connection Diagram\relax }}{80}\protected@file@percent } \newlabel{fig:pushbuttonconn}{{5.1}{80}} -\@writefile{toc}{\contentsline {section}{\numberline {5.2}Reading the Pushbutton Status from the Arduino IDE}{80}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.2.1}Reading the Pushbutton Status}{80}\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}{80}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.3}Reading the Pushbutton Status from the Arduino IDE}{80}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.1}Reading the Pushbutton Status}{80}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {5.2}{\ignorespaces Interfacing an RGB LED with Arduino Uno using a breadboard\relax }}{81}\protected@file@percent } +\newlabel{fig:ard-pushbtn-bread}{{5.2}{81}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push\textendash button\textendash status/push\textendash button\textendash status.ino}{81}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/led\textendash push\textendash button/led\textendash push\textendash button.ino}{81}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.2.2}Arduino Code}{81}\protected@file@percent } -\newlabel{sec:push-arduino-code}{{5.2.2}{81}} -\@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{81}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{81}\protected@file@percent } -\newlabel{46@xvr}{{}{81}} -\newlabel{46@vr}{{}{81}} -\newlabel{ard:push-100}{{5.{1}}{81}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push\textendash button\textendash status/push\textendash button\textendash status.ino}{81}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{81}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{81}\protected@file@percent } -\newlabel{47@xvr}{{}{81}} -\newlabel{47@vr}{{}{81}} -\newlabel{ard:push-200}{{5.{2}}{81}} -\@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}{81}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.3}Reading the Pushbutton Status from Scilab}{82}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.1}Reading the Pushbutton Status}{82}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{82}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{82}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led\textendash push\textendash button.sce}{83}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.2}Scilab Code}{83}\protected@file@percent } -\newlabel{sec:push-scilab-code}{{5.3.2}{83}} -\@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{83}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{83}\protected@file@percent } -\newlabel{48@xvr}{{}{83}} -\newlabel{48@vr}{{}{83}} -\newlabel{sci:push-100}{{5.{1}}{83}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/led\textendash push\textendash button/led\textendash push\textendash button.ino}{82}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{82}\protected@file@percent } +\newlabel{sec:push-arduino-code}{{5.3.2}{82}} +\@writefile{ard}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{82}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{82}\protected@file@percent } +\newlabel{46@xvr}{{}{82}} +\newlabel{46@vr}{{}{82}} +\newlabel{ard:push-100}{{5.{1}}{82}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push\textendash button\textendash status/push\textendash button\textendash status.ino}{82}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{82}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{82}\protected@file@percent } +\newlabel{47@xvr}{{}{82}} +\newlabel{47@vr}{{}{82}} +\newlabel{ard:push-200}{{5.{2}}{82}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/led\textendash push\textendash button/led\textendash push\textendash button.ino}{82}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.4}Reading the Pushbutton Status from Scilab}{83}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.1}Reading the Pushbutton Status}{83}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{83}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{83}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{83}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{83}\protected@file@percent } -\newlabel{49@xvr}{{}{83}} -\newlabel{49@vr}{{}{83}} -\newlabel{sci:push-200}{{5.{2}}{83}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led\textendash push\textendash button.sce}{83}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.4}Accessing the Pushbutton from Xcos}{83}\protected@file@percent } -\newlabel{sec:push-xcos}{{5.4}{83}} -\@writefile{lof}{\contentsline {figure}{\numberline {5.2}{\ignorespaces Printing the push button status on the display block}}{84}\protected@file@percent } -\newlabel{51@xvr}{{}{84}} -\newlabel{51@vr}{{}{84}} -\newlabel{fig:push-button-status}{{5.2}{84}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{84}\protected@file@percent } +\newlabel{sec:push-scilab-code}{{5.4.2}{84}} +\@writefile{cod}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{84}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{84}\protected@file@percent } +\newlabel{48@xvr}{{}{84}} +\newlabel{48@vr}{{}{84}} +\newlabel{sci:push-100}{{5.{1}}{84}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{84}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{84}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{84}\protected@file@percent } +\newlabel{49@xvr}{{}{84}} +\newlabel{49@vr}{{}{84}} +\newlabel{sci:push-200}{{5.{2}}{84}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led\textendash push\textendash button.sce}{84}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.5}Accessing the Pushbutton from Xcos}{84}\protected@file@percent } +\newlabel{sec:push-xcos}{{5.5}{84}} +\@writefile{lof}{\contentsline {figure}{\numberline {5.3}{\ignorespaces Printing the push button status on the display block}}{85}\protected@file@percent } +\newlabel{51@xvr}{{}{85}} +\newlabel{51@vr}{{}{85}} +\newlabel{fig:push-button-status}{{5.3}{85}} \@writefile{lot}{\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the push button status on the display block\relax }}{85}\protected@file@percent } \newlabel{tab:push-button-status}{{5.1}{85}} \newlabel{52@xvr}{{}{85}} \newlabel{52@vr}{{}{85}} -\@writefile{lof}{\contentsline {figure}{\numberline {5.3}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{85}\protected@file@percent } -\newlabel{54@xvr}{{}{85}} -\newlabel{54@vr}{{}{85}} -\newlabel{fig:led-push-button}{{5.3}{85}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{5.{1}}{}}{85}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {5.4}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{86}\protected@file@percent } +\newlabel{54@xvr}{{}{86}} +\newlabel{54@vr}{{}{86}} +\newlabel{fig:led-push-button}{{5.4}{86}} \@writefile{lot}{\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{86}\protected@file@percent } \newlabel{tab:led-push-button}{{5.2}{86}} \newlabel{55@xvr}{{}{86}} \newlabel{55@vr}{{}{86}} -\@writefile{toc}{\contentsline {section}{\numberline {5.5}Reading the Pushbutton Status from Python}{86}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.5.1}Reading the Pushbutton Status}{86}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{86}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{86}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{5.{1}}{}}{86}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.6}Reading the Pushbutton Status from Python}{87}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.1}Reading the Pushbutton Status}{87}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{87}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{87}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led\textendash push\textendash button.py}{87}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.5.2}Python Code}{87}\protected@file@percent } -\newlabel{sec:push-python-code}{{5.5.2}{87}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.2}Python Code}{88}\protected@file@percent } +\newlabel{sec:push-python-code}{{5.6.2}{88}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{1}}{}}{87}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{87}\protected@file@percent } -\newlabel{56@xvr}{{}{87}} -\newlabel{56@vr}{{}{87}} -\newlabel{py:push-100}{{5.{1}}{87}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{87}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{1}}{}}{88}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{88}\protected@file@percent } +\newlabel{56@xvr}{{}{88}} +\newlabel{56@vr}{{}{88}} +\newlabel{py:push-100}{{5.{1}}{88}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{88}\protected@file@percent } \@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{2}}{}}{88}\protected@file@percent } \@writefile{pyd}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{88}\protected@file@percent } \newlabel{57@xvr}{{}{88}} \newlabel{57@vr}{{}{88}} \newlabel{py:push-200}{{5.{2}}{88}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led\textendash push\textendash button.py}{88}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.6}Reading the Pushbutton Status from Julia}{89}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.1}Reading the Pushbutton Status}{89}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push\textendash button\textendash status.jl}{89}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{89}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.2}Julia Code}{90}\protected@file@percent } -\newlabel{sec:push-julia-code}{{5.6.2}{90}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led\textendash push\textendash button.py}{89}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.7}Reading the Pushbutton Status from Julia}{90}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.1}Reading the Pushbutton Status}{90}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push\textendash button\textendash status.jl}{90}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{90}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.2}Julia Code}{90}\protected@file@percent } +\newlabel{sec:push-julia-code}{{5.7.2}{90}} \@writefile{juliad}{\addvspace {10pt}} \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{1}}{}}{90}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{90}\protected@file@percent } @@ -545,905 +548,905 @@ \newlabel{58@vr}{{}{90}} \newlabel{julia:push-100}{{5.{1}}{90}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push\textendash button\textendash status.jl}{90}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{90}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{90}\protected@file@percent } -\newlabel{59@xvr}{{}{90}} -\newlabel{59@vr}{{}{90}} -\newlabel{julia:push-200}{{5.{2}}{90}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{90}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.7}Reading the Pushbutton Status from OpenModelica}{90}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.1}Reading the Pushbutton Status}{90}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{91}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{91}\protected@file@percent } +\newlabel{59@xvr}{{}{91}} +\newlabel{59@vr}{{}{91}} +\newlabel{julia:push-200}{{5.{2}}{91}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{91}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.8}Reading the Pushbutton Status from OpenModelica}{91}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.1}Reading the Pushbutton Status}{91}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{91}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.2}OpenModelica Code}{91}\protected@file@percent } -\newlabel{sec:led-OpenModelica-code}{{5.7.2}{91}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.2}OpenModelica Code}{91}\protected@file@percent } +\newlabel{sec:led-OpenModelica-code}{{5.8.2}{91}} \@writefile{OpenModelicad}{\addvspace {10pt}} \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{91}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{91}\protected@file@percent } \newlabel{60@xvr}{{}{91}} \newlabel{60@vr}{{}{91}} \newlabel{OpenModelica:push-100}{{5.{1}}{91}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{91}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{92}\protected@file@percent } \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{92}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{92}\protected@file@percent } \newlabel{61@xvr}{{}{92}} \newlabel{61@vr}{{}{92}} \newlabel{OpenModelica:push-200}{{5.{2}}{92}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{92}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{93}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{95}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{ldr}{{6}{93}} -\@writefile{toc}{\contentsline {section}{\numberline {6.1}Preliminaries}{93}\protected@file@percent } -\newlabel{fig:ldr}{{6.1a}{94}} +\newlabel{ldr}{{6}{95}} +\@writefile{toc}{\contentsline {section}{\numberline {6.1}Preliminaries}{95}\protected@file@percent } +\newlabel{fig:ldr}{{6.1a}{96}} \newlabel{sub@fig:ldr}{{(a)}{a}} -\newlabel{fig:ldrsym}{{6.1b}{94}} +\newlabel{fig:ldrsym}{{6.1b}{96}} \newlabel{sub@fig:ldrsym}{{(b)}{b}} -\@writefile{lof}{\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{94}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of an LDR}}}{94}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of an LDR}}}{94}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{94}\protected@file@percent } -\newlabel{fig:ldrconn}{{6.2}{94}} -\@writefile{toc}{\contentsline {section}{\numberline {6.2}Interfacing the LDR through the Arduino IDE}{95}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.2.1}Interfacing the LDR}{95}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{95}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{95}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{95}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{1}}{}}{95}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.2.2}Arduino Code}{96}\protected@file@percent } -\newlabel{sec:ldr-arduino-code}{{6.2.2}{96}} +\@writefile{lof}{\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{96}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of an LDR}}}{96}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of an LDR}}}{96}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{96}\protected@file@percent } +\newlabel{fig:ldrconn}{{6.2}{96}} +\@writefile{toc}{\contentsline {section}{\numberline {6.2}Interfacing the LDR through the Arduino IDE}{97}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.2.1}Interfacing the LDR}{97}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{97}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{97}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{97}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{1}}{}}{97}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.2.2}Arduino Code}{98}\protected@file@percent } +\newlabel{sec:ldr-arduino-code}{{6.2.2}{98}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{96}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{96}\protected@file@percent } -\newlabel{62@xvr}{{}{96}} -\newlabel{62@vr}{{}{96}} -\newlabel{ard:ldr-read}{{6.{1}}{96}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{96}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{96}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{96}\protected@file@percent } -\newlabel{63@xvr}{{}{96}} -\newlabel{63@vr}{{}{96}} -\newlabel{ard:ldr-led}{{6.{2}}{96}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash led/ldr\textendash led.ino}{96}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {6.3}Interfacing the LDR through Scilab}{97}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{97}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{2}}{}}{97}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.2}Scilab Code}{98}\protected@file@percent } -\newlabel{sec:ldr-scilab-code}{{6.3.2}{98}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{98}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{98}\protected@file@percent } +\newlabel{62@xvr}{{}{98}} +\newlabel{62@vr}{{}{98}} +\newlabel{ard:ldr-read}{{6.{1}}{98}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{98}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{98}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{98}\protected@file@percent } +\newlabel{63@xvr}{{}{98}} +\newlabel{63@vr}{{}{98}} +\newlabel{ard:ldr-led}{{6.{2}}{98}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash led/ldr\textendash led.ino}{98}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.3}Interfacing the LDR through Scilab}{99}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{99}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{2}}{}}{99}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.2}Scilab Code}{100}\protected@file@percent } +\newlabel{sec:ldr-scilab-code}{{6.3.2}{100}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{98}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{98}\protected@file@percent } -\newlabel{64@xvr}{{}{98}} -\newlabel{64@vr}{{}{98}} -\newlabel{sci:ldr-read}{{6.{1}}{98}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash read.sce}{98}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{98}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{98}\protected@file@percent } -\newlabel{65@xvr}{{}{98}} -\newlabel{65@vr}{{}{98}} -\newlabel{sci:ldr-led}{{6.{2}}{98}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash led.sce}{98}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {6.4}Interfacing the LDR through Xcos}{98}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {6.3}{\ignorespaces Xcos diagram to read LDR values}}{99}\protected@file@percent } -\newlabel{67@xvr}{{}{99}} -\newlabel{67@vr}{{}{99}} -\newlabel{fig:ldr-read}{{6.3}{99}} -\@writefile{lot}{\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{99}\protected@file@percent } -\newlabel{tab:ldr-read}{{6.1}{99}} -\newlabel{68@xvr}{{}{99}} -\newlabel{68@vr}{{}{99}} -\@writefile{lof}{\contentsline {figure}{\numberline {6.4}{\ignorespaces Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}}{100}\protected@file@percent } -\newlabel{70@xvr}{{}{100}} -\newlabel{70@vr}{{}{100}} -\newlabel{fig:ldr-led}{{6.4}{100}} -\@writefile{toc}{\contentsline {section}{\numberline {6.5}Interfacing the LDR through Python}{100}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.5.1}Interfacing the LDR}{100}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{101}\protected@file@percent } -\newlabel{tab:ldr-led}{{6.2}{101}} -\newlabel{71@xvr}{{}{101}} -\newlabel{71@vr}{{}{101}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{3}}{}}{102}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.5.2}Python Code}{102}\protected@file@percent } -\newlabel{sec:ldr-python-code}{{6.5.2}{102}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{100}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{100}\protected@file@percent } +\newlabel{64@xvr}{{}{100}} +\newlabel{64@vr}{{}{100}} +\newlabel{sci:ldr-read}{{6.{1}}{100}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash read.sce}{100}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{100}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{100}\protected@file@percent } +\newlabel{65@xvr}{{}{100}} +\newlabel{65@vr}{{}{100}} +\newlabel{sci:ldr-led}{{6.{2}}{100}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash led.sce}{100}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.4}Interfacing the LDR through Xcos}{100}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {6.3}{\ignorespaces Xcos diagram to read LDR values}}{101}\protected@file@percent } +\newlabel{67@xvr}{{}{101}} +\newlabel{67@vr}{{}{101}} +\newlabel{fig:ldr-read}{{6.3}{101}} +\@writefile{lot}{\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{101}\protected@file@percent } +\newlabel{tab:ldr-read}{{6.1}{101}} +\newlabel{68@xvr}{{}{101}} +\newlabel{68@vr}{{}{101}} +\@writefile{lof}{\contentsline {figure}{\numberline {6.4}{\ignorespaces Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}}{102}\protected@file@percent } +\newlabel{70@xvr}{{}{102}} +\newlabel{70@vr}{{}{102}} +\newlabel{fig:ldr-led}{{6.4}{102}} +\@writefile{toc}{\contentsline {section}{\numberline {6.5}Interfacing the LDR through Python}{102}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.5.1}Interfacing the LDR}{102}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{103}\protected@file@percent } +\newlabel{tab:ldr-led}{{6.2}{103}} +\newlabel{71@xvr}{{}{103}} +\newlabel{71@vr}{{}{103}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{3}}{}}{104}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.5.2}Python Code}{104}\protected@file@percent } +\newlabel{sec:ldr-python-code}{{6.5.2}{104}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{1}}{}}{102}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{102}\protected@file@percent } -\newlabel{72@xvr}{{}{102}} -\newlabel{72@vr}{{}{102}} -\newlabel{py:ldr-read}{{6.{1}}{102}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash read.py}{102}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{2}}{}}{103}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{103}\protected@file@percent } -\newlabel{73@xvr}{{}{103}} -\newlabel{73@vr}{{}{103}} -\newlabel{py:ldr-led}{{6.{2}}{103}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash led.py}{103}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {6.6}Interfacing the LDR through Julia}{104}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{104}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{104}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{4}}{}}{104}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.2}Julia Code}{105}\protected@file@percent } -\newlabel{sec:ldr-julia-code}{{6.6.2}{105}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{1}}{}}{104}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{104}\protected@file@percent } +\newlabel{72@xvr}{{}{104}} +\newlabel{72@vr}{{}{104}} +\newlabel{py:ldr-read}{{6.{1}}{104}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash read.py}{104}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{2}}{}}{105}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{105}\protected@file@percent } +\newlabel{73@xvr}{{}{105}} +\newlabel{73@vr}{{}{105}} +\newlabel{py:ldr-led}{{6.{2}}{105}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash led.py}{105}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.6}Interfacing the LDR through Julia}{106}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{106}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{106}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{4}}{}}{106}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.2}Julia Code}{107}\protected@file@percent } +\newlabel{sec:ldr-julia-code}{{6.6.2}{107}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{105}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{105}\protected@file@percent } -\newlabel{74@xvr}{{}{105}} -\newlabel{74@vr}{{}{105}} -\newlabel{julia:ldr-read}{{6.{1}}{105}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash read.jl}{105}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{105}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{105}\protected@file@percent } -\newlabel{75@xvr}{{}{105}} -\newlabel{75@vr}{{}{105}} -\newlabel{julia:ldr-led}{{6.{2}}{105}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash led.jl}{105}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {6.7}Interfacing the LDR through OpenModelica}{106}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{106}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{106}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.2}OpenModelica Code}{106}\protected@file@percent } -\newlabel{sec:ldr-OpenModelica-code}{{6.7.2}{106}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{107}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{107}\protected@file@percent } +\newlabel{74@xvr}{{}{107}} +\newlabel{74@vr}{{}{107}} +\newlabel{julia:ldr-read}{{6.{1}}{107}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash read.jl}{107}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{107}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{107}\protected@file@percent } +\newlabel{75@xvr}{{}{107}} +\newlabel{75@vr}{{}{107}} +\newlabel{julia:ldr-led}{{6.{2}}{107}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash led.jl}{107}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.7}Interfacing the LDR through OpenModelica}{108}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{108}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{108}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.2}OpenModelica Code}{108}\protected@file@percent } +\newlabel{sec:ldr-OpenModelica-code}{{6.7.2}{108}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{106}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{106}\protected@file@percent } -\newlabel{76@xvr}{{}{106}} -\newlabel{76@vr}{{}{106}} -\newlabel{OpenModelica:ldr-read}{{6.{1}}{106}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash read.mo}{106}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{107}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{107}\protected@file@percent } -\newlabel{77@xvr}{{}{107}} -\newlabel{77@vr}{{}{107}} -\newlabel{OpenModelica:ldr-led}{{6.{2}}{107}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash led.mo}{107}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {7}Controlling a DC motor}{109}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{108}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{108}\protected@file@percent } +\newlabel{76@xvr}{{}{108}} +\newlabel{76@vr}{{}{108}} +\newlabel{OpenModelica:ldr-read}{{6.{1}}{108}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash read.mo}{108}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{109}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{109}\protected@file@percent } +\newlabel{77@xvr}{{}{109}} +\newlabel{77@vr}{{}{109}} +\newlabel{OpenModelica:ldr-led}{{6.{2}}{109}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash led.mo}{109}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {7}Controlling a DC motor}{111}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{dcmotor}{{7}{109}} -\@writefile{toc}{\contentsline {section}{\numberline {7.1}Preliminaries}{109}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {7.1}{\ignorespaces L293D motor driver board\relax }}{110}\protected@file@percent } -\newlabel{fig:motordriverboard}{{7.1}{110}} -\@writefile{lof}{\contentsline {figure}{\numberline {7.2}{\ignorespaces A schematic of DC motor connections\relax }}{111}\protected@file@percent } -\newlabel{fig:dcm-schematic}{{7.2}{111}} -\@writefile{lof}{\contentsline {figure}{\numberline {7.3}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{111}\protected@file@percent } -\newlabel{fig:dcmotorconn}{{7.3}{111}} -\@writefile{toc}{\contentsline {section}{\numberline {7.2}Controlling the DC motor from Arduino}{111}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.1}Controlling the DC motor}{111}\protected@file@percent } -\newlabel{sec:dcm-ard}{{7.2.1}{111}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{1}}{}}{112}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.2}Arduino Code}{113}\protected@file@percent } -\newlabel{sec:dcmotor-arduino-code}{{7.2.2}{113}} +\newlabel{dcmotor}{{7}{111}} +\@writefile{toc}{\contentsline {section}{\numberline {7.1}Preliminaries}{111}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {7.1}{\ignorespaces L293D motor driver board\relax }}{112}\protected@file@percent } +\newlabel{fig:motordriverboard}{{7.1}{112}} +\@writefile{lof}{\contentsline {figure}{\numberline {7.2}{\ignorespaces A schematic of DC motor connections\relax }}{113}\protected@file@percent } +\newlabel{fig:dcm-schematic}{{7.2}{113}} +\@writefile{lof}{\contentsline {figure}{\numberline {7.3}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{113}\protected@file@percent } +\newlabel{fig:dcmotorconn}{{7.3}{113}} +\@writefile{toc}{\contentsline {section}{\numberline {7.2}Controlling the DC motor from Arduino}{113}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.1}Controlling the DC motor}{113}\protected@file@percent } +\newlabel{sec:dcm-ard}{{7.2.1}{113}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{1}}{}}{114}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.2}Arduino Code}{115}\protected@file@percent } +\newlabel{sec:dcmotor-arduino-code}{{7.2.2}{115}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{113}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{113}\protected@file@percent } -\newlabel{78@xvr}{{}{113}} -\newlabel{78@vr}{{}{113}} -\newlabel{ard:dcmotor-clock}{{7.{1}}{113}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{113}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{2}}{}}{113}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{113}\protected@file@percent } -\newlabel{79@xvr}{{}{113}} -\newlabel{79@vr}{{}{113}} -\newlabel{ard:dcmotor-both}{{7.{2}}{113}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash both/dcmotor\textendash both.ino}{113}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{3}}{}}{113}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{113}\protected@file@percent } -\newlabel{80@xvr}{{}{113}} -\newlabel{80@vr}{{}{113}} -\newlabel{ard:dcmotor-loop}{{7.{3}}{113}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash loop/dcmotor\textendash loop.ino}{114}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.3}Controlling the DC motor from Scilab}{114}\protected@file@percent } -\newlabel{sec:dcm-sci}{{7.3}{114}} -\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.1}Initialization}{114}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {7.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{115}\protected@file@percent } -\newlabel{table:convention}{{7.1}{115}} -\@writefile{lot}{\contentsline {table}{\numberline {7.2}{\ignorespaces Parameters for DC motor initialization\relax }}{115}\protected@file@percent } -\newlabel{tab:dcmotor-init}{{7.2}{115}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{115}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.2}Rotation for a specified time}{115}\protected@file@percent } -\newlabel{sec:dc-both}{{7.3.2}{115}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{115}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{116}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{116}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{2}}{}}{116}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.3}Using the capabilities of Scilab}{116}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.4}Scilab Code}{117}\protected@file@percent } -\newlabel{sec:dcmotor-scilab-code}{{7.3.4}{117}} -\@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{117}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{117}\protected@file@percent } -\newlabel{81@xvr}{{}{117}} -\newlabel{81@vr}{{}{117}} -\newlabel{sci:dcmotor-clock}{{7.{1}}{117}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{115}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{115}\protected@file@percent } +\newlabel{78@xvr}{{}{115}} +\newlabel{78@vr}{{}{115}} +\newlabel{ard:dcmotor-clock}{{7.{1}}{115}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{115}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{2}}{}}{115}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{115}\protected@file@percent } +\newlabel{79@xvr}{{}{115}} +\newlabel{79@vr}{{}{115}} +\newlabel{ard:dcmotor-both}{{7.{2}}{115}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash both/dcmotor\textendash both.ino}{115}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{3}}{}}{115}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{115}\protected@file@percent } +\newlabel{80@xvr}{{}{115}} +\newlabel{80@vr}{{}{115}} +\newlabel{ard:dcmotor-loop}{{7.{3}}{115}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash loop/dcmotor\textendash loop.ino}{116}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.3}Controlling the DC motor from Scilab}{116}\protected@file@percent } +\newlabel{sec:dcm-sci}{{7.3}{116}} +\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.1}Initialization}{116}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {7.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{117}\protected@file@percent } +\newlabel{table:convention}{{7.1}{117}} +\@writefile{lot}{\contentsline {table}{\numberline {7.2}{\ignorespaces Parameters for DC motor initialization\relax }}{117}\protected@file@percent } +\newlabel{tab:dcmotor-init}{{7.2}{117}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{117}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{2}}{}}{117}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{117}\protected@file@percent } -\newlabel{82@xvr}{{}{117}} -\newlabel{82@vr}{{}{117}} -\newlabel{sci:dcmotor-both}{{7.{2}}{117}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{117}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{3}}{}}{117}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{117}\protected@file@percent } -\newlabel{83@xvr}{{}{117}} -\newlabel{83@vr}{{}{117}} -\newlabel{sci:dcmotor-loop}{{7.{3}}{117}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash loop.sce}{117}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {7.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{118}\protected@file@percent } -\newlabel{85@xvr}{{}{118}} -\newlabel{85@vr}{{}{118}} -\newlabel{fig:dcmotor-clock}{{7.4}{118}} -\@writefile{toc}{\contentsline {section}{\numberline {7.4}Controlling the DC Motor from Xcos}{118}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {7.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{119}\protected@file@percent } -\newlabel{tab:dcmotor-clock}{{7.3}{119}} -\newlabel{86@xvr}{{}{119}} -\newlabel{86@vr}{{}{119}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{3}}{}}{119}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {7.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{120}\protected@file@percent } -\newlabel{88@xvr}{{}{120}} -\newlabel{88@vr}{{}{120}} -\newlabel{fig:dcmotor-both}{{7.5}{120}} -\@writefile{lot}{\contentsline {table}{\numberline {7.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{120}\protected@file@percent } -\newlabel{tab:dcmotor-both}{{7.4}{120}} -\newlabel{89@xvr}{{}{120}} -\newlabel{89@vr}{{}{120}} -\@writefile{lof}{\contentsline {figure}{\numberline {7.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{121}\protected@file@percent } -\newlabel{91@xvr}{{}{121}} -\newlabel{91@vr}{{}{121}} -\newlabel{fig:dcmotor-loop}{{7.6}{121}} -\@writefile{toc}{\contentsline {section}{\numberline {7.5}Controlling the DC Motor from Python}{121}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.5.1}Controlling the DC Motor}{121}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {7.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{122}\protected@file@percent } -\newlabel{tab:dcmotor-loop}{{7.5}{122}} -\newlabel{92@xvr}{{}{122}} -\newlabel{92@vr}{{}{122}} -\@writefile{toc}{\contentsline {subsection}{\numberline {7.5.2}Python Code}{123}\protected@file@percent } -\newlabel{sec:dcmotor-python-code}{{7.5.2}{123}} +\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.2}Rotation for a specified time}{117}\protected@file@percent } +\newlabel{sec:dc-both}{{7.3.2}{117}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{117}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{118}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{118}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{2}}{}}{118}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.3}Using the capabilities of Scilab}{118}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.4}Scilab Code}{119}\protected@file@percent } +\newlabel{sec:dcmotor-scilab-code}{{7.3.4}{119}} +\@writefile{cod}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{119}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{119}\protected@file@percent } +\newlabel{81@xvr}{{}{119}} +\newlabel{81@vr}{{}{119}} +\newlabel{sci:dcmotor-clock}{{7.{1}}{119}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{119}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{2}}{}}{119}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{119}\protected@file@percent } +\newlabel{82@xvr}{{}{119}} +\newlabel{82@vr}{{}{119}} +\newlabel{sci:dcmotor-both}{{7.{2}}{119}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{119}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{3}}{}}{119}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{119}\protected@file@percent } +\newlabel{83@xvr}{{}{119}} +\newlabel{83@vr}{{}{119}} +\newlabel{sci:dcmotor-loop}{{7.{3}}{119}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash loop.sce}{119}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {7.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{120}\protected@file@percent } +\newlabel{85@xvr}{{}{120}} +\newlabel{85@vr}{{}{120}} +\newlabel{fig:dcmotor-clock}{{7.4}{120}} +\@writefile{toc}{\contentsline {section}{\numberline {7.4}Controlling the DC Motor from Xcos}{120}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {7.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{121}\protected@file@percent } +\newlabel{tab:dcmotor-clock}{{7.3}{121}} +\newlabel{86@xvr}{{}{121}} +\newlabel{86@vr}{{}{121}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{3}}{}}{121}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {7.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{122}\protected@file@percent } +\newlabel{88@xvr}{{}{122}} +\newlabel{88@vr}{{}{122}} +\newlabel{fig:dcmotor-both}{{7.5}{122}} +\@writefile{lot}{\contentsline {table}{\numberline {7.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{122}\protected@file@percent } +\newlabel{tab:dcmotor-both}{{7.4}{122}} +\newlabel{89@xvr}{{}{122}} +\newlabel{89@vr}{{}{122}} +\@writefile{lof}{\contentsline {figure}{\numberline {7.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{123}\protected@file@percent } +\newlabel{91@xvr}{{}{123}} +\newlabel{91@vr}{{}{123}} +\newlabel{fig:dcmotor-loop}{{7.6}{123}} +\@writefile{toc}{\contentsline {section}{\numberline {7.5}Controlling the DC Motor from Python}{123}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.5.1}Controlling the DC Motor}{123}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {7.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{124}\protected@file@percent } +\newlabel{tab:dcmotor-loop}{{7.5}{124}} +\newlabel{92@xvr}{{}{124}} +\newlabel{92@vr}{{}{124}} +\@writefile{toc}{\contentsline {subsection}{\numberline {7.5.2}Python Code}{125}\protected@file@percent } +\newlabel{sec:dcmotor-python-code}{{7.5.2}{125}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{1}}{}}{123}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{123}\protected@file@percent } -\newlabel{93@xvr}{{}{123}} -\newlabel{93@vr}{{}{123}} -\newlabel{py:dcmotor-clock}{{7.{1}}{123}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash clock.py}{123}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{2}}{}}{124}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{124}\protected@file@percent } -\newlabel{94@xvr}{{}{124}} -\newlabel{94@vr}{{}{124}} -\newlabel{py:dcmotor-both}{{7.{2}}{124}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash both.py}{124}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{3}}{}}{124}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{124}\protected@file@percent } -\newlabel{95@xvr}{{}{125}} -\newlabel{95@vr}{{}{125}} -\newlabel{py:dcmotor-loop}{{7.{3}}{125}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash loop.py}{125}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.6}Controlling the DC Motor from Julia}{126}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.1}Controlling the DC Motor}{126}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.2}Julia Code}{126}\protected@file@percent } -\newlabel{sec:dcmotor-julia-code}{{7.6.2}{126}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{1}}{}}{125}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{125}\protected@file@percent } +\newlabel{93@xvr}{{}{125}} +\newlabel{93@vr}{{}{125}} +\newlabel{py:dcmotor-clock}{{7.{1}}{125}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash clock.py}{125}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{2}}{}}{126}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{126}\protected@file@percent } +\newlabel{94@xvr}{{}{126}} +\newlabel{94@vr}{{}{126}} +\newlabel{py:dcmotor-both}{{7.{2}}{126}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash both.py}{126}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{3}}{}}{126}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{126}\protected@file@percent } +\newlabel{95@xvr}{{}{127}} +\newlabel{95@vr}{{}{127}} +\newlabel{py:dcmotor-loop}{{7.{3}}{127}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash loop.py}{127}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.6}Controlling the DC Motor from Julia}{128}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.1}Controlling the DC Motor}{128}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.2}Julia Code}{128}\protected@file@percent } +\newlabel{sec:dcmotor-julia-code}{{7.6.2}{128}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{126}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{126}\protected@file@percent } -\newlabel{96@xvr}{{}{126}} -\newlabel{96@vr}{{}{126}} -\newlabel{julia:dcmotor-clock}{{7.{1}}{126}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{126}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{2}}{}}{127}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{127}\protected@file@percent } -\newlabel{97@xvr}{{}{127}} -\newlabel{97@vr}{{}{127}} -\newlabel{julia:dcmotor-both}{{7.{2}}{127}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash both.jl}{127}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{3}}{}}{127}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{127}\protected@file@percent } -\newlabel{98@xvr}{{}{127}} -\newlabel{98@vr}{{}{127}} -\newlabel{julia:dcmotor-loop}{{7.{3}}{127}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash loop.jl}{127}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.7}Controlling the DC Motor from OpenModelica}{127}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.1}Controlling the DC Motor}{127}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.2}OpenModelica Code}{128}\protected@file@percent } -\newlabel{sec:dcmotor-OpenModelica-code}{{7.7.2}{128}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{128}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{128}\protected@file@percent } +\newlabel{96@xvr}{{}{128}} +\newlabel{96@vr}{{}{128}} +\newlabel{julia:dcmotor-clock}{{7.{1}}{128}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{128}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{2}}{}}{129}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{129}\protected@file@percent } +\newlabel{97@xvr}{{}{129}} +\newlabel{97@vr}{{}{129}} +\newlabel{julia:dcmotor-both}{{7.{2}}{129}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash both.jl}{129}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{3}}{}}{129}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{129}\protected@file@percent } +\newlabel{98@xvr}{{}{129}} +\newlabel{98@vr}{{}{129}} +\newlabel{julia:dcmotor-loop}{{7.{3}}{129}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash loop.jl}{129}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.7}Controlling the DC Motor from OpenModelica}{129}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.1}Controlling the DC Motor}{129}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.2}OpenModelica Code}{130}\protected@file@percent } +\newlabel{sec:dcmotor-OpenModelica-code}{{7.7.2}{130}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{128}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{128}\protected@file@percent } -\newlabel{99@xvr}{{}{128}} -\newlabel{99@vr}{{}{128}} -\newlabel{OpenModelica:dcmotor-clock}{{7.{1}}{128}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{128}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{2}}{}}{128}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{128}\protected@file@percent } -\newlabel{100@xvr}{{}{128}} -\newlabel{100@vr}{{}{128}} -\newlabel{OpenModelica:dcmotor-both}{{7.{2}}{128}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{129}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{3}}{}}{129}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{129}\protected@file@percent } -\newlabel{101@xvr}{{}{129}} -\newlabel{101@vr}{{}{129}} -\newlabel{OpenModelica:dcmotor-loop}{{7.{3}}{129}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash loop.mo}{129}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {8}Interfacing a Potentiometer}{131}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{130}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{130}\protected@file@percent } +\newlabel{99@xvr}{{}{130}} +\newlabel{99@vr}{{}{130}} +\newlabel{OpenModelica:dcmotor-clock}{{7.{1}}{130}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{130}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{2}}{}}{130}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{130}\protected@file@percent } +\newlabel{100@xvr}{{}{130}} +\newlabel{100@vr}{{}{130}} +\newlabel{OpenModelica:dcmotor-both}{{7.{2}}{130}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{131}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{3}}{}}{131}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{131}\protected@file@percent } +\newlabel{101@xvr}{{}{131}} +\newlabel{101@vr}{{}{131}} +\newlabel{OpenModelica:dcmotor-loop}{{7.{3}}{131}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash loop.mo}{131}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {8}Interfacing a Potentiometer}{133}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{potmeter}{{8}{131}} -\@writefile{toc}{\contentsline {section}{\numberline {8.1}Preliminaries}{131}\protected@file@percent } -\newlabel{102@xvr}{{}{131}} -\newlabel{102@vr}{{}{131}} -\newlabel{fig:pot}{{8.1a}{132}} +\newlabel{potmeter}{{8}{133}} +\@writefile{toc}{\contentsline {section}{\numberline {8.1}Preliminaries}{133}\protected@file@percent } +\newlabel{102@xvr}{{}{133}} +\newlabel{102@vr}{{}{133}} +\newlabel{fig:pot}{{8.1a}{134}} \newlabel{sub@fig:pot}{{(a)}{a}} -\newlabel{fig:potsch}{{8.1b}{132}} +\newlabel{fig:potsch}{{8.1b}{134}} \newlabel{sub@fig:potsch}{{(b)}{b}} -\@writefile{lof}{\contentsline {figure}{\numberline {8.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{132}\protected@file@percent } -\newlabel{fig:potmeterconn}{{8.1}{132}} -\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{132}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Schematic representation of the potentiometer}}}{132}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.2}Reading the potentiometer from the Arduino IDE}{132}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.2.1}Reading the potentiometer}{132}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{133}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{133}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.2.2}Arduino Code}{133}\protected@file@percent } -\newlabel{sec:pot-arduino-code}{{8.2.2}{133}} +\@writefile{lof}{\contentsline {figure}{\numberline {8.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{134}\protected@file@percent } +\newlabel{fig:potmeterconn}{{8.1}{134}} +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{134}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Schematic representation of the potentiometer}}}{134}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.2}Reading the potentiometer from the Arduino IDE}{134}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.2.1}Reading the potentiometer}{134}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{135}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{135}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.2.2}Arduino Code}{135}\protected@file@percent } +\newlabel{sec:pot-arduino-code}{{8.2.2}{135}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{133}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{133}\protected@file@percent } -\newlabel{103@xvr}{{}{133}} -\newlabel{103@vr}{{}{133}} -\newlabel{ard:pot-100}{{8.{1}}{133}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{133}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.3}Reading the potentiometer from Scilab}{134}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.1}Reading the potentiometer}{134}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{134}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{134}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.2}Scilab Code}{135}\protected@file@percent } -\newlabel{sec:pot-scilab-code}{{8.3.2}{135}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{135}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{135}\protected@file@percent } +\newlabel{103@xvr}{{}{135}} +\newlabel{103@vr}{{}{135}} +\newlabel{ard:pot-100}{{8.{1}}{135}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{135}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.3}Reading the potentiometer from Scilab}{136}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.1}Reading the potentiometer}{136}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{136}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{136}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.2}Scilab Code}{137}\protected@file@percent } +\newlabel{sec:pot-scilab-code}{{8.3.2}{137}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{135}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{135}\protected@file@percent } -\newlabel{104@xvr}{{}{135}} -\newlabel{104@vr}{{}{135}} -\newlabel{sci:pot-100}{{8.{1}}{135}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{135}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.4}Reading the potentiometer from Xcos}{135}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {8.2}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{136}\protected@file@percent } -\newlabel{106@xvr}{{}{136}} -\newlabel{106@vr}{{}{136}} -\newlabel{fig:pot-threshold}{{8.2}{136}} -\@writefile{toc}{\contentsline {paragraph}{Exercise:}{136}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.5}Reading the potentiometer from Python}{136}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.5.1}Reading the potentiometer}{136}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{137}\protected@file@percent } -\newlabel{tab:pot-threshold}{{8.1}{137}} -\newlabel{107@xvr}{{}{137}} -\newlabel{107@vr}{{}{137}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{137}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{137}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.5.2}Python Code}{138}\protected@file@percent } -\newlabel{sec:pot-python-code}{{8.5.2}{138}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{137}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{137}\protected@file@percent } +\newlabel{104@xvr}{{}{137}} +\newlabel{104@vr}{{}{137}} +\newlabel{sci:pot-100}{{8.{1}}{137}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{137}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.4}Reading the potentiometer from Xcos}{137}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {8.2}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{138}\protected@file@percent } +\newlabel{106@xvr}{{}{138}} +\newlabel{106@vr}{{}{138}} +\newlabel{fig:pot-threshold}{{8.2}{138}} +\@writefile{toc}{\contentsline {paragraph}{Exercise:}{138}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.5}Reading the potentiometer from Python}{138}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.5.1}Reading the potentiometer}{138}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{139}\protected@file@percent } +\newlabel{tab:pot-threshold}{{8.1}{139}} +\newlabel{107@xvr}{{}{139}} +\newlabel{107@vr}{{}{139}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{139}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{139}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.5.2}Python Code}{140}\protected@file@percent } +\newlabel{sec:pot-python-code}{{8.5.2}{140}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{8.{1}}{}}{138}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{138}\protected@file@percent } -\newlabel{108@xvr}{{}{138}} -\newlabel{108@vr}{{}{138}} -\newlabel{py:pot-100}{{8.{1}}{138}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{138}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.6}Reading the potentiometer from Julia}{139}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.1}Reading the potentiometer}{139}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{139}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{139}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.2}Julia Code}{140}\protected@file@percent } -\newlabel{sec:pot-julia-code}{{8.6.2}{140}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{8.{1}}{}}{140}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{140}\protected@file@percent } +\newlabel{108@xvr}{{}{140}} +\newlabel{108@vr}{{}{140}} +\newlabel{py:pot-100}{{8.{1}}{140}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{140}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.6}Reading the potentiometer from Julia}{141}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.1}Reading the potentiometer}{141}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{141}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{141}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.2}Julia Code}{142}\protected@file@percent } +\newlabel{sec:pot-julia-code}{{8.6.2}{142}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{140}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{140}\protected@file@percent } -\newlabel{109@xvr}{{}{140}} -\newlabel{109@vr}{{}{140}} -\newlabel{julia:pot-100}{{8.{1}}{140}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{140}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.7}Reading the potentiometer from OpenModelica}{140}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.1}Reading the potentiometer}{140}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{140}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{141}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.2}OpenModelica Code}{141}\protected@file@percent } -\newlabel{sec:pot-OpenModelica-code}{{8.7.2}{141}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{142}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{142}\protected@file@percent } +\newlabel{109@xvr}{{}{142}} +\newlabel{109@vr}{{}{142}} +\newlabel{julia:pot-100}{{8.{1}}{142}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{142}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.7}Reading the potentiometer from OpenModelica}{142}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.1}Reading the potentiometer}{142}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{142}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{143}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.2}OpenModelica Code}{143}\protected@file@percent } +\newlabel{sec:pot-OpenModelica-code}{{8.7.2}{143}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{141}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{141}\protected@file@percent } -\newlabel{110@xvr}{{}{141}} -\newlabel{110@vr}{{}{141}} -\newlabel{OpenModelica:pot-100}{{8.{1}}{141}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{141}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{143}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{143}\protected@file@percent } +\newlabel{110@xvr}{{}{143}} +\newlabel{110@vr}{{}{143}} +\newlabel{OpenModelica:pot-100}{{8.{1}}{143}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{143}\protected@file@percent } \citation{therm-wiki} \citation{therm-wiki} -\@writefile{toc}{\contentsline {chapter}{\numberline {9}Interfacing a Thermistor}{143}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {9}Interfacing a Thermistor}{145}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{thermistor}{{9}{143}} -\@writefile{toc}{\contentsline {section}{\numberline {9.1}Preliminaries}{143}\protected@file@percent } -\newlabel{fig:therm}{{9.1a}{144}} +\newlabel{thermistor}{{9}{145}} +\@writefile{toc}{\contentsline {section}{\numberline {9.1}Preliminaries}{145}\protected@file@percent } +\newlabel{fig:therm}{{9.1a}{146}} \newlabel{sub@fig:therm}{{(a)}{a}} -\newlabel{fig:thermsym}{{9.1b}{144}} +\newlabel{fig:thermsym}{{9.1b}{146}} \newlabel{sub@fig:thermsym}{{(b)}{b}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{144}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{144}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{144}\protected@file@percent } -\newlabel{fig:therm-conn}{{9.2a}{144}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{146}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{146}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{146}\protected@file@percent } +\newlabel{fig:therm-conn}{{9.2a}{146}} \newlabel{sub@fig:therm-conn}{{(a)}{a}} -\newlabel{fig:buzzer-conn}{{9.2b}{144}} +\newlabel{fig:buzzer-conn}{{9.2b}{146}} \newlabel{sub@fig:buzzer-conn}{{(b)}{b}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{144}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Thermistor connection diagram}}}{144}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Buzzer connection diagram}}}{144}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.2}Interfacing the Thermistor from the Arduino IDE}{144}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.2.1}Interfacing the Thermistor}{144}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{145}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{145}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{145}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{1}}{}}{145}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.2.2}Arduino Code}{146}\protected@file@percent } -\newlabel{sec:therm-arduino-code}{{9.2.2}{146}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{146}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Thermistor connection diagram}}}{146}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Buzzer connection diagram}}}{146}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.2}Interfacing the Thermistor from the Arduino IDE}{146}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.2.1}Interfacing the Thermistor}{146}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{147}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{147}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{147}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{1}}{}}{147}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.2.2}Arduino Code}{148}\protected@file@percent } +\newlabel{sec:therm-arduino-code}{{9.2.2}{148}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{146}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{146}\protected@file@percent } -\newlabel{111@xvr}{{}{146}} -\newlabel{111@vr}{{}{146}} -\newlabel{ard:therm-read}{{9.{1}}{146}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{146}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{146}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{146}\protected@file@percent } -\newlabel{112@xvr}{{}{146}} -\newlabel{112@vr}{{}{146}} -\newlabel{ard:therm-buzzer}{{9.{2}}{146}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash buzzer/therm\textendash buzzer.ino}{146}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from Scilab}{147}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{147}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{2}}{}}{147}\protected@file@percent } -\newlabel{therm-abc}{{9.1}{148}} -\newlabel{therm-beta}{{9.2}{148}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.2}Scilab Code}{148}\protected@file@percent } -\newlabel{sec:therm-scilab-code}{{9.3.2}{148}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{148}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{148}\protected@file@percent } +\newlabel{111@xvr}{{}{148}} +\newlabel{111@vr}{{}{148}} +\newlabel{ard:therm-read}{{9.{1}}{148}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{148}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{148}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{148}\protected@file@percent } +\newlabel{112@xvr}{{}{148}} +\newlabel{112@vr}{{}{148}} +\newlabel{ard:therm-buzzer}{{9.{2}}{148}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash buzzer/therm\textendash buzzer.ino}{148}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from Scilab}{149}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{149}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{2}}{}}{149}\protected@file@percent } +\newlabel{therm-abc}{{9.1}{150}} +\newlabel{therm-beta}{{9.2}{150}} +\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.2}Scilab Code}{150}\protected@file@percent } +\newlabel{sec:therm-scilab-code}{{9.3.2}{150}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{148}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{148}\protected@file@percent } -\newlabel{113@xvr}{{}{148}} -\newlabel{113@vr}{{}{148}} -\newlabel{sci:therm-read}{{9.{1}}{148}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash read.sce}{148}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{149}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{149}\protected@file@percent } -\newlabel{114@xvr}{{}{149}} -\newlabel{114@vr}{{}{149}} -\newlabel{sci:therm-buzzer}{{9.{2}}{149}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash buzzer.sce}{149}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.4}Interfacing the Thermistor from Xcos}{149}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {9.3}{\ignorespaces Xcos diagram to read thermistor values}}{150}\protected@file@percent } -\newlabel{116@xvr}{{}{150}} -\newlabel{116@vr}{{}{150}} -\newlabel{fig:therm-read}{{9.3}{150}} -\@writefile{lot}{\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{150}\protected@file@percent } -\newlabel{tab:therm-read}{{9.1}{150}} -\newlabel{117@xvr}{{}{150}} -\newlabel{117@vr}{{}{150}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.4}{\ignorespaces Output of Xcos diagram to read thermistor values}}{151}\protected@file@percent } -\newlabel{119@xvr}{{}{151}} -\newlabel{119@vr}{{}{151}} -\newlabel{fig:therm-read-output}{{9.4}{151}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.5}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{151}\protected@file@percent } -\newlabel{121@xvr}{{}{151}} -\newlabel{121@vr}{{}{151}} -\newlabel{fig:therm-buzzer}{{9.5}{151}} -\@writefile{toc}{\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Python}{151}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.5.1}Interfacing the Thermistor}{151}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{152}\protected@file@percent } -\newlabel{tab:ldr-led}{{9.2}{152}} -\newlabel{122@xvr}{{}{152}} -\newlabel{122@vr}{{}{152}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.6}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{152}\protected@file@percent } -\newlabel{124@xvr}{{}{152}} -\newlabel{124@vr}{{}{152}} -\newlabel{fig:therm-buzzer-output}{{9.6}{152}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.5.2}Python Code}{153}\protected@file@percent } -\newlabel{sec:therm-pyhton-code}{{9.5.2}{153}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{150}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{150}\protected@file@percent } +\newlabel{113@xvr}{{}{150}} +\newlabel{113@vr}{{}{150}} +\newlabel{sci:therm-read}{{9.{1}}{150}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash read.sce}{150}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{151}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{151}\protected@file@percent } +\newlabel{114@xvr}{{}{151}} +\newlabel{114@vr}{{}{151}} +\newlabel{sci:therm-buzzer}{{9.{2}}{151}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash buzzer.sce}{151}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.4}Interfacing the Thermistor from Xcos}{151}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {9.3}{\ignorespaces Xcos diagram to read thermistor values}}{152}\protected@file@percent } +\newlabel{116@xvr}{{}{152}} +\newlabel{116@vr}{{}{152}} +\newlabel{fig:therm-read}{{9.3}{152}} +\@writefile{lot}{\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{152}\protected@file@percent } +\newlabel{tab:therm-read}{{9.1}{152}} +\newlabel{117@xvr}{{}{152}} +\newlabel{117@vr}{{}{152}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.4}{\ignorespaces Output of Xcos diagram to read thermistor values}}{153}\protected@file@percent } +\newlabel{119@xvr}{{}{153}} +\newlabel{119@vr}{{}{153}} +\newlabel{fig:therm-read-output}{{9.4}{153}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.5}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{153}\protected@file@percent } +\newlabel{121@xvr}{{}{153}} +\newlabel{121@vr}{{}{153}} +\newlabel{fig:therm-buzzer}{{9.5}{153}} +\@writefile{toc}{\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Python}{153}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.5.1}Interfacing the Thermistor}{153}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{154}\protected@file@percent } +\newlabel{tab:ldr-led}{{9.2}{154}} +\newlabel{122@xvr}{{}{154}} +\newlabel{122@vr}{{}{154}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.6}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{154}\protected@file@percent } +\newlabel{124@xvr}{{}{154}} +\newlabel{124@vr}{{}{154}} +\newlabel{fig:therm-buzzer-output}{{9.6}{154}} +\@writefile{toc}{\contentsline {subsection}{\numberline {9.5.2}Python Code}{155}\protected@file@percent } +\newlabel{sec:therm-pyhton-code}{{9.5.2}{155}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{1}}{}}{153}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{153}\protected@file@percent } -\newlabel{125@xvr}{{}{153}} -\newlabel{125@vr}{{}{153}} -\newlabel{py:therm-read}{{9.{1}}{153}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash read.py}{153}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{2}}{}}{154}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{154}\protected@file@percent } -\newlabel{126@xvr}{{}{154}} -\newlabel{126@vr}{{}{154}} -\newlabel{py:therm-buzzer}{{9.{2}}{154}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash buzzer.py}{154}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Julia}{155}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{155}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.2}Julia Code}{156}\protected@file@percent } -\newlabel{sec:therm-julia-code}{{9.6.2}{156}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{1}}{}}{155}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{155}\protected@file@percent } +\newlabel{125@xvr}{{}{155}} +\newlabel{125@vr}{{}{155}} +\newlabel{py:therm-read}{{9.{1}}{155}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash read.py}{155}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{2}}{}}{156}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{156}\protected@file@percent } +\newlabel{126@xvr}{{}{156}} +\newlabel{126@vr}{{}{156}} +\newlabel{py:therm-buzzer}{{9.{2}}{156}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash buzzer.py}{156}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Julia}{157}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{157}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.2}Julia Code}{158}\protected@file@percent } +\newlabel{sec:therm-julia-code}{{9.6.2}{158}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{156}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{156}\protected@file@percent } -\newlabel{127@xvr}{{}{156}} -\newlabel{127@vr}{{}{156}} -\newlabel{julia:therm-read}{{9.{1}}{156}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash read.jl}{156}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{156}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{156}\protected@file@percent } -\newlabel{128@xvr}{{}{156}} -\newlabel{128@vr}{{}{156}} -\newlabel{julia:therm-buzzer}{{9.{2}}{156}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash buzzer.jl}{156}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from OpenModelica}{156}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{156}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.2}OpenModelica Code}{157}\protected@file@percent } -\newlabel{sec:therm-OpenModelica-code}{{9.7.2}{157}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{158}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{158}\protected@file@percent } +\newlabel{127@xvr}{{}{158}} +\newlabel{127@vr}{{}{158}} +\newlabel{julia:therm-read}{{9.{1}}{158}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash read.jl}{158}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{158}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{158}\protected@file@percent } +\newlabel{128@xvr}{{}{158}} +\newlabel{128@vr}{{}{158}} +\newlabel{julia:therm-buzzer}{{9.{2}}{158}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash buzzer.jl}{158}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from OpenModelica}{158}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{158}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.2}OpenModelica Code}{159}\protected@file@percent } +\newlabel{sec:therm-OpenModelica-code}{{9.7.2}{159}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{157}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{157}\protected@file@percent } -\newlabel{129@xvr}{{}{157}} -\newlabel{129@vr}{{}{157}} -\newlabel{OpenModelica:therm-read}{{9.{1}}{157}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash read.mo}{157}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{158}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{158}\protected@file@percent } -\newlabel{130@xvr}{{}{158}} -\newlabel{130@vr}{{}{158}} -\newlabel{OpenModelica:therm-buzzer}{{9.{2}}{158}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash buzzer.mo}{158}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{161}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{159}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{159}\protected@file@percent } +\newlabel{129@xvr}{{}{159}} +\newlabel{129@vr}{{}{159}} +\newlabel{OpenModelica:therm-read}{{9.{1}}{159}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash read.mo}{159}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{160}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{160}\protected@file@percent } +\newlabel{130@xvr}{{}{160}} +\newlabel{130@vr}{{}{160}} +\newlabel{OpenModelica:therm-buzzer}{{9.{2}}{160}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash buzzer.mo}{160}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{163}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{sec:servo}{{10}{161}} -\@writefile{toc}{\contentsline {section}{\numberline {10.1}Preliminaries}{161}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{162}\protected@file@percent } -\newlabel{tab:servo-connect}{{10.1}{162}} -\@writefile{toc}{\contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{162}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.1}Controlling the Servometer}{162}\protected@file@percent } -\newlabel{sec:servo-ard}{{10.2.1}{162}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{1}}{}}{163}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{163}\protected@file@percent } -\newlabel{sec:servo-arduino-code}{{10.2.2}{163}} +\newlabel{sec:servo}{{10}{163}} +\@writefile{toc}{\contentsline {section}{\numberline {10.1}Preliminaries}{163}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{164}\protected@file@percent } +\newlabel{tab:servo-connect}{{10.1}{164}} +\@writefile{toc}{\contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{164}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.1}Controlling the Servometer}{164}\protected@file@percent } +\newlabel{sec:servo-ard}{{10.2.1}{164}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{1}}{}}{165}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{165}\protected@file@percent } +\newlabel{sec:servo-arduino-code}{{10.2.2}{165}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{163}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{163}\protected@file@percent } -\newlabel{131@xvr}{{}{163}} -\newlabel{131@vr}{{}{163}} -\newlabel{ard:servo-init}{{10.{1}}{163}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{163}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{164}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{164}\protected@file@percent } -\newlabel{132@xvr}{{}{164}} -\newlabel{132@vr}{{}{164}} -\newlabel{ard:servo-reverse}{{10.{2}}{164}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash reverse/servo\textendash reverse.ino}{164}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{164}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in increments}{164}\protected@file@percent } -\newlabel{133@xvr}{{}{164}} -\newlabel{133@vr}{{}{164}} -\newlabel{ard:servo-loop}{{10.{3}}{164}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash loop/servo\textendash loop.ino}{164}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{165}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{165}\protected@file@percent } -\newlabel{134@xvr}{{}{165}} -\newlabel{134@vr}{{}{165}} -\newlabel{ard:servo-pot}{{10.{4}}{165}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash pot/servo\textendash pot.ino}{165}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{165}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.1}Controlling the Servomotor}{165}\protected@file@percent } -\newlabel{sec:servo-sci}{{10.3.1}{165}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{165}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{166}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{166}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{166}\protected@file@percent } -\newlabel{sec:servo-scilab-code}{{10.3.2}{166}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{165}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{165}\protected@file@percent } +\newlabel{131@xvr}{{}{165}} +\newlabel{131@vr}{{}{165}} +\newlabel{ard:servo-init}{{10.{1}}{165}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{165}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{166}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{166}\protected@file@percent } +\newlabel{132@xvr}{{}{166}} +\newlabel{132@vr}{{}{166}} +\newlabel{ard:servo-reverse}{{10.{2}}{166}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash reverse/servo\textendash reverse.ino}{166}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{166}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in increments}{166}\protected@file@percent } +\newlabel{133@xvr}{{}{166}} +\newlabel{133@vr}{{}{166}} +\newlabel{ard:servo-loop}{{10.{3}}{166}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash loop/servo\textendash loop.ino}{166}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{167}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{167}\protected@file@percent } +\newlabel{134@xvr}{{}{167}} +\newlabel{134@vr}{{}{167}} +\newlabel{ard:servo-pot}{{10.{4}}{167}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash pot/servo\textendash pot.ino}{167}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{167}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.1}Controlling the Servomotor}{167}\protected@file@percent } +\newlabel{sec:servo-sci}{{10.3.1}{167}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{167}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{168}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{168}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{168}\protected@file@percent } +\newlabel{sec:servo-scilab-code}{{10.3.2}{168}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{166}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{166}\protected@file@percent } -\newlabel{135@xvr}{{}{166}} -\newlabel{135@vr}{{}{166}} -\newlabel{sci:servo-init}{{10.{1}}{166}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{166}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{166}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{166}\protected@file@percent } -\newlabel{136@xvr}{{}{166}} -\newlabel{136@vr}{{}{166}} -\newlabel{sci:servo-reverse}{{10.{2}}{166}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash reverse.sce}{167}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{167}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{167}\protected@file@percent } -\newlabel{137@xvr}{{}{167}} -\newlabel{137@vr}{{}{167}} -\newlabel{sci:servo-loop}{{10.{3}}{167}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash loop.sce}{167}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{167}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{167}\protected@file@percent } -\newlabel{138@xvr}{{}{167}} -\newlabel{138@vr}{{}{167}} -\newlabel{sci:servo-pot}{{10.{4}}{167}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{167}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{167}\protected@file@percent } -\newlabel{sec:servo-xcos}{{10.4}{167}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{168}\protected@file@percent } -\newlabel{140@xvr}{{}{168}} -\newlabel{140@vr}{{}{168}} -\newlabel{fig:servo-init}{{10.1}{168}} -\@writefile{lot}{\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{168}\protected@file@percent } -\newlabel{tab:servo-init}{{10.2}{168}} -\newlabel{141@xvr}{{}{168}} -\newlabel{141@vr}{{}{168}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{169}\protected@file@percent } -\newlabel{143@xvr}{{}{169}} -\newlabel{143@vr}{{}{169}} -\newlabel{fig:servo-reverse}{{10.2}{169}} -\@writefile{lot}{\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{170}\protected@file@percent } -\newlabel{tab:servo-reverse}{{10.3}{170}} -\newlabel{144@xvr}{{}{170}} -\newlabel{144@vr}{{}{170}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{170}\protected@file@percent } -\newlabel{146@xvr}{{}{170}} -\newlabel{146@vr}{{}{170}} -\newlabel{fig:servo-loop}{{10.3}{170}} -\@writefile{lot}{\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{171}\protected@file@percent } -\newlabel{tab:servo-loop}{{10.4}{171}} -\newlabel{147@xvr}{{}{171}} -\newlabel{147@vr}{{}{171}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{171}\protected@file@percent } -\newlabel{149@xvr}{{}{171}} -\newlabel{149@vr}{{}{171}} -\newlabel{fig:servo-pot}{{10.4}{171}} -\@writefile{lot}{\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{172}\protected@file@percent } -\newlabel{tab:servo-pot}{{10.5}{172}} -\newlabel{150@xvr}{{}{172}} -\newlabel{150@vr}{{}{172}} -\@writefile{toc}{\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{172}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{172}\protected@file@percent } -\newlabel{sec:servo-py}{{10.5.1}{172}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{172}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{173}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{173}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.2}Python Code}{173}\protected@file@percent } -\newlabel{sec:servo-python-code}{{10.5.2}{173}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{168}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{168}\protected@file@percent } +\newlabel{135@xvr}{{}{168}} +\newlabel{135@vr}{{}{168}} +\newlabel{sci:servo-init}{{10.{1}}{168}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{168}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{168}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{168}\protected@file@percent } +\newlabel{136@xvr}{{}{168}} +\newlabel{136@vr}{{}{168}} +\newlabel{sci:servo-reverse}{{10.{2}}{168}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash reverse.sce}{169}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{169}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{169}\protected@file@percent } +\newlabel{137@xvr}{{}{169}} +\newlabel{137@vr}{{}{169}} +\newlabel{sci:servo-loop}{{10.{3}}{169}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash loop.sce}{169}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{169}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{169}\protected@file@percent } +\newlabel{138@xvr}{{}{169}} +\newlabel{138@vr}{{}{169}} +\newlabel{sci:servo-pot}{{10.{4}}{169}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{169}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{169}\protected@file@percent } +\newlabel{sec:servo-xcos}{{10.4}{169}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{170}\protected@file@percent } +\newlabel{140@xvr}{{}{170}} +\newlabel{140@vr}{{}{170}} +\newlabel{fig:servo-init}{{10.1}{170}} +\@writefile{lot}{\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{170}\protected@file@percent } +\newlabel{tab:servo-init}{{10.2}{170}} +\newlabel{141@xvr}{{}{170}} +\newlabel{141@vr}{{}{170}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{171}\protected@file@percent } +\newlabel{143@xvr}{{}{171}} +\newlabel{143@vr}{{}{171}} +\newlabel{fig:servo-reverse}{{10.2}{171}} +\@writefile{lot}{\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{172}\protected@file@percent } +\newlabel{tab:servo-reverse}{{10.3}{172}} +\newlabel{144@xvr}{{}{172}} +\newlabel{144@vr}{{}{172}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{172}\protected@file@percent } +\newlabel{146@xvr}{{}{172}} +\newlabel{146@vr}{{}{172}} +\newlabel{fig:servo-loop}{{10.3}{172}} +\@writefile{lot}{\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{173}\protected@file@percent } +\newlabel{tab:servo-loop}{{10.4}{173}} +\newlabel{147@xvr}{{}{173}} +\newlabel{147@vr}{{}{173}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{173}\protected@file@percent } +\newlabel{149@xvr}{{}{173}} +\newlabel{149@vr}{{}{173}} +\newlabel{fig:servo-pot}{{10.4}{173}} +\@writefile{lot}{\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{174}\protected@file@percent } +\newlabel{tab:servo-pot}{{10.5}{174}} +\newlabel{150@xvr}{{}{174}} +\newlabel{150@vr}{{}{174}} +\@writefile{toc}{\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{174}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{174}\protected@file@percent } +\newlabel{sec:servo-py}{{10.5.1}{174}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{174}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{175}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{175}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.2}Python Code}{175}\protected@file@percent } +\newlabel{sec:servo-python-code}{{10.5.2}{175}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{1}}{}}{173}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{173}\protected@file@percent } -\newlabel{151@xvr}{{}{173}} -\newlabel{151@vr}{{}{173}} -\newlabel{py:servo-init}{{10.{1}}{173}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{173}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{2}}{}}{174}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{174}\protected@file@percent } -\newlabel{152@xvr}{{}{174}} -\newlabel{152@vr}{{}{174}} -\newlabel{py:servo-reverse}{{10.{2}}{174}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash reverse.py}{174}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{3}}{}}{175}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{175}\protected@file@percent } -\newlabel{153@xvr}{{}{175}} -\newlabel{153@vr}{{}{175}} -\newlabel{sci:servo-loop}{{10.{3}}{175}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash loop.py}{175}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{4}}{}}{176}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{176}\protected@file@percent } -\newlabel{154@xvr}{{}{176}} -\newlabel{154@vr}{{}{176}} -\newlabel{py:servo-pot}{{10.{4}}{176}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{176}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{177}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.1}Controlling the Servomotor}{177}\protected@file@percent } -\newlabel{sec:servo-julia}{{10.6.1}{177}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{177}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{178}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{178}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.2}Julia Code}{178}\protected@file@percent } -\newlabel{sec:servo-julia-code}{{10.6.2}{178}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{1}}{}}{175}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{175}\protected@file@percent } +\newlabel{151@xvr}{{}{175}} +\newlabel{151@vr}{{}{175}} +\newlabel{py:servo-init}{{10.{1}}{175}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{175}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{2}}{}}{176}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{176}\protected@file@percent } +\newlabel{152@xvr}{{}{176}} +\newlabel{152@vr}{{}{176}} +\newlabel{py:servo-reverse}{{10.{2}}{176}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash reverse.py}{176}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{3}}{}}{177}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{177}\protected@file@percent } +\newlabel{153@xvr}{{}{177}} +\newlabel{153@vr}{{}{177}} +\newlabel{sci:servo-loop}{{10.{3}}{177}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash loop.py}{177}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{4}}{}}{178}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{178}\protected@file@percent } +\newlabel{154@xvr}{{}{178}} +\newlabel{154@vr}{{}{178}} +\newlabel{py:servo-pot}{{10.{4}}{178}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{178}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{179}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.1}Controlling the Servomotor}{179}\protected@file@percent } +\newlabel{sec:servo-julia}{{10.6.1}{179}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{179}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{180}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{180}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.2}Julia Code}{180}\protected@file@percent } +\newlabel{sec:servo-julia-code}{{10.6.2}{180}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{178}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{178}\protected@file@percent } -\newlabel{155@xvr}{{}{178}} -\newlabel{155@vr}{{}{178}} -\newlabel{julia:servo-init}{{10.{1}}{178}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{178}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{178}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{178}\protected@file@percent } -\newlabel{156@xvr}{{}{178}} -\newlabel{156@vr}{{}{178}} -\newlabel{julia:servo-reverse}{{10.{2}}{178}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash reverse.jl}{178}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{179}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{179}\protected@file@percent } -\newlabel{157@xvr}{{}{179}} -\newlabel{157@vr}{{}{179}} -\newlabel{julia:servo-loop}{{10.{3}}{179}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash loop.jl}{179}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{179}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{179}\protected@file@percent } -\newlabel{158@xvr}{{}{179}} -\newlabel{158@vr}{{}{179}} -\newlabel{julia:servo-pot}{{10.{4}}{179}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{179}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{179}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.1}Controlling the Servomotor}{179}\protected@file@percent } -\newlabel{sec:servo-OpenModelica}{{10.7.1}{179}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{180}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{180}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{180}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{180}\protected@file@percent } -\newlabel{sec:servo-OpenModelica-code}{{10.7.2}{180}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{180}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{180}\protected@file@percent } +\newlabel{155@xvr}{{}{180}} +\newlabel{155@vr}{{}{180}} +\newlabel{julia:servo-init}{{10.{1}}{180}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{180}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{180}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{180}\protected@file@percent } +\newlabel{156@xvr}{{}{180}} +\newlabel{156@vr}{{}{180}} +\newlabel{julia:servo-reverse}{{10.{2}}{180}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash reverse.jl}{180}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{181}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{181}\protected@file@percent } +\newlabel{157@xvr}{{}{181}} +\newlabel{157@vr}{{}{181}} +\newlabel{julia:servo-loop}{{10.{3}}{181}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash loop.jl}{181}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{181}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{181}\protected@file@percent } +\newlabel{158@xvr}{{}{181}} +\newlabel{158@vr}{{}{181}} +\newlabel{julia:servo-pot}{{10.{4}}{181}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{181}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{181}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.1}Controlling the Servomotor}{181}\protected@file@percent } +\newlabel{sec:servo-OpenModelica}{{10.7.1}{181}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{182}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{182}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{182}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{182}\protected@file@percent } +\newlabel{sec:servo-OpenModelica-code}{{10.7.2}{182}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{180}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{180}\protected@file@percent } -\newlabel{159@xvr}{{}{180}} -\newlabel{159@vr}{{}{180}} -\newlabel{OpenModelica:servo-init}{{10.{1}}{180}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{180}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{181}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{181}\protected@file@percent } -\newlabel{160@xvr}{{}{181}} -\newlabel{160@vr}{{}{181}} -\newlabel{OpenModelica:servo-reverse}{{10.{2}}{181}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash reverse.mo}{181}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{182}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{182}\protected@file@percent } -\newlabel{161@xvr}{{}{182}} -\newlabel{161@vr}{{}{182}} -\newlabel{OpenModelica:servo-loop}{{10.{3}}{182}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash loop.mo}{182}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{182}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{182}\protected@file@percent } -\newlabel{162@xvr}{{}{182}} -\newlabel{162@vr}{{}{182}} -\newlabel{OpenModelica:servo-pot}{{10.{4}}{182}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{183}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{185}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{182}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{182}\protected@file@percent } +\newlabel{159@xvr}{{}{182}} +\newlabel{159@vr}{{}{182}} +\newlabel{OpenModelica:servo-init}{{10.{1}}{182}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{182}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{183}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{183}\protected@file@percent } +\newlabel{160@xvr}{{}{183}} +\newlabel{160@vr}{{}{183}} +\newlabel{OpenModelica:servo-reverse}{{10.{2}}{183}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash reverse.mo}{183}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{184}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{184}\protected@file@percent } +\newlabel{161@xvr}{{}{184}} +\newlabel{161@vr}{{}{184}} +\newlabel{OpenModelica:servo-loop}{{10.{3}}{184}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash loop.mo}{184}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{184}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{184}\protected@file@percent } +\newlabel{162@xvr}{{}{184}} +\newlabel{162@vr}{{}{184}} +\newlabel{OpenModelica:servo-pot}{{10.{4}}{184}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{185}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{187}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{modbus}{{11}{185}} -\@writefile{toc}{\contentsline {section}{\numberline {11.1}Preliminaries}{185}\protected@file@percent } -\newlabel{fig:mod-block}{{\caption@xref {fig:mod-block}{ on input line 72}}{186}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{186}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.2}{\ignorespaces Master-Slave Query-Response Cycle\relax }}{186}\protected@file@percent } -\newlabel{fig:mod-master-slave}{{11.2}{186}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{187}\protected@file@percent } -\newlabel{fig:rs-485}{{11.3}{187}} -\@writefile{lot}{\contentsline {table}{\numberline {11.1}{\ignorespaces Interpretation of a request packet\relax }}{188}\protected@file@percent } -\newlabel{tab:request-packet}{{11.1}{188}} -\@writefile{lot}{\contentsline {table}{\numberline {11.2}{\ignorespaces Interpretation of a response packet\relax }}{188}\protected@file@percent } -\newlabel{tab:response-packet}{{11.2}{188}} -\@writefile{lot}{\contentsline {table}{\numberline {11.3}{\ignorespaces Hexadecimal to Decimal\relax }}{189}\protected@file@percent } -\newlabel{tab:ieee-decimal}{{11.3}{189}} -\@writefile{lot}{\contentsline {table}{\numberline {11.4}{\ignorespaces Single and Double Precision Representation\relax }}{189}\protected@file@percent } -\newlabel{tab:single-precision}{{11.4}{189}} -\@writefile{toc}{\contentsline {section}{\numberline {11.2}Objective}{190}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {11.3}Energy Meter set up for Modbus protocol with Arduino Uno}{190}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.4}{\ignorespaces MODBUS Set Up for Energy Meter\relax }}{191}\protected@file@percent } -\newlabel{fig:full-set-up}{{11.4}{191}} -\@writefile{toc}{\contentsline {section}{\numberline {11.4}Software}{191}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.5}{\ignorespaces Block Diagram for Energy Meter Setup\relax }}{192}\protected@file@percent } -\newlabel{fig:block-diagram}{{11.5}{192}} -\@writefile{toc}{\contentsline {section}{\numberline {11.5}Output}{192}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{193}\protected@file@percent } -\newlabel{fig:modbus-firmware}{{11.6}{193}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.7}{\ignorespaces Flow Chart of the Modbus Energy Meter Implementation\relax }}{194}\protected@file@percent } -\newlabel{fig:flow-chart}{{11.7}{194}} -\@writefile{toc}{\contentsline {section}{\numberline {11.6}Reading Parameters from Xcos}{194}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.8}{\ignorespaces Single Phase Current Output on Scilab Console\relax }}{195}\protected@file@percent } -\newlabel{fig:current-console}{{11.8}{195}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.9}{\ignorespaces Single Phase Current Output on Energy Meter\relax }}{195}\protected@file@percent } -\newlabel{fig:current-meter}{{11.9}{195}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.10}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{196}\protected@file@percent } -\newlabel{fig:voltage-console}{{11.10}{196}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.11}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{196}\protected@file@percent } -\newlabel{fig:voltage-meter}{{11.11}{196}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.12}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{197}\protected@file@percent } -\newlabel{fig:power-console}{{11.12}{197}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.13}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{197}\protected@file@percent } -\newlabel{fig:power-meter}{{11.13}{197}} -\@writefile{toc}{\contentsline {section}{\numberline {11.7}Code}{197}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.1}Arduino Code}{197}\protected@file@percent } -\newlabel{sec:firmware-modbus}{{11.7.1}{197}} +\newlabel{modbus}{{11}{187}} +\@writefile{toc}{\contentsline {section}{\numberline {11.1}Preliminaries}{187}\protected@file@percent } +\newlabel{fig:mod-block}{{\caption@xref {fig:mod-block}{ on input line 72}}{188}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{188}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.2}{\ignorespaces Master-Slave Query-Response Cycle\relax }}{188}\protected@file@percent } +\newlabel{fig:mod-master-slave}{{11.2}{188}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{189}\protected@file@percent } +\newlabel{fig:rs-485}{{11.3}{189}} +\@writefile{lot}{\contentsline {table}{\numberline {11.1}{\ignorespaces Interpretation of a request packet\relax }}{190}\protected@file@percent } +\newlabel{tab:request-packet}{{11.1}{190}} +\@writefile{lot}{\contentsline {table}{\numberline {11.2}{\ignorespaces Interpretation of a response packet\relax }}{190}\protected@file@percent } +\newlabel{tab:response-packet}{{11.2}{190}} +\@writefile{lot}{\contentsline {table}{\numberline {11.3}{\ignorespaces Hexadecimal to Decimal\relax }}{191}\protected@file@percent } +\newlabel{tab:ieee-decimal}{{11.3}{191}} +\@writefile{lot}{\contentsline {table}{\numberline {11.4}{\ignorespaces Single and Double Precision Representation\relax }}{191}\protected@file@percent } +\newlabel{tab:single-precision}{{11.4}{191}} +\@writefile{toc}{\contentsline {section}{\numberline {11.2}Objective}{192}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.3}Energy Meter set up for Modbus protocol with Arduino Uno}{192}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.4}{\ignorespaces MODBUS Set Up for Energy Meter\relax }}{193}\protected@file@percent } +\newlabel{fig:full-set-up}{{11.4}{193}} +\@writefile{toc}{\contentsline {section}{\numberline {11.4}Software}{193}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.5}{\ignorespaces Block Diagram for Energy Meter Setup\relax }}{194}\protected@file@percent } +\newlabel{fig:block-diagram}{{11.5}{194}} +\@writefile{toc}{\contentsline {section}{\numberline {11.5}Output}{194}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{195}\protected@file@percent } +\newlabel{fig:modbus-firmware}{{11.6}{195}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.7}{\ignorespaces Flow Chart of the Modbus Energy Meter Implementation\relax }}{196}\protected@file@percent } +\newlabel{fig:flow-chart}{{11.7}{196}} +\@writefile{toc}{\contentsline {section}{\numberline {11.6}Reading Parameters from Xcos}{196}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.8}{\ignorespaces Single Phase Current Output on Scilab Console\relax }}{197}\protected@file@percent } +\newlabel{fig:current-console}{{11.8}{197}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.9}{\ignorespaces Single Phase Current Output on Energy Meter\relax }}{197}\protected@file@percent } +\newlabel{fig:current-meter}{{11.9}{197}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.10}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{198}\protected@file@percent } +\newlabel{fig:voltage-console}{{11.10}{198}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.11}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{198}\protected@file@percent } +\newlabel{fig:voltage-meter}{{11.11}{198}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.12}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{199}\protected@file@percent } +\newlabel{fig:power-console}{{11.12}{199}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.13}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{199}\protected@file@percent } +\newlabel{fig:power-meter}{{11.13}{199}} +\@writefile{toc}{\contentsline {section}{\numberline {11.7}Code}{199}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.1}Arduino Code}{199}\protected@file@percent } +\newlabel{sec:firmware-modbus}{{11.7.1}{199}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{197}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{197}\protected@file@percent } -\newlabel{165@xvr}{{}{197}} -\newlabel{165@vr}{{}{197}} -\newlabel{ard:firmware-modbus}{{11.{1}}{197}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/arduino/send\textunderscore packet.ino}{197}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{198}\protected@file@percent } -\newlabel{164@xvr}{{}{198}} -\newlabel{164@vr}{{}{198}} -\newlabel{fig:mod-read}{{11.14}{198}} -\@writefile{lot}{\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{198}\protected@file@percent } -\newlabel{tab:mod-xcos-read}{{11.5}{198}} -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.2}Scilab Code}{199}\protected@file@percent } -\newlabel{sec:modbus-scilab-code}{{11.7.2}{199}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{199}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{199}\protected@file@percent } +\newlabel{165@xvr}{{}{199}} +\newlabel{165@vr}{{}{199}} +\newlabel{ard:firmware-modbus}{{11.{1}}{199}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/arduino/send\textunderscore packet.ino}{199}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{200}\protected@file@percent } +\newlabel{164@xvr}{{}{200}} +\newlabel{164@vr}{{}{200}} +\newlabel{fig:mod-read}{{11.14}{200}} +\@writefile{lot}{\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{200}\protected@file@percent } +\newlabel{tab:mod-xcos-read}{{11.5}{200}} +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.2}Scilab Code}{201}\protected@file@percent } +\newlabel{sec:modbus-scilab-code}{{11.7.2}{201}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{199}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{199}\protected@file@percent } -\newlabel{166@xvr}{{}{199}} -\newlabel{166@vr}{{}{199}} -\newlabel{sci:current-modbus}{{11.{1}}{199}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore val.sce}{199}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{199}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{199}\protected@file@percent } -\newlabel{167@xvr}{{}{199}} -\newlabel{167@vr}{{}{199}} -\newlabel{sci:current-modbus}{{11.{2}}{199}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore current.sci}{199}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{199}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{199}\protected@file@percent } -\newlabel{168@xvr}{{}{199}} -\newlabel{168@vr}{{}{199}} -\newlabel{sci:voltage-modbus}{{11.{3}}{199}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore voltage.sci}{199}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{200}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{200}\protected@file@percent } -\newlabel{169@xvr}{{}{200}} -\newlabel{169@vr}{{}{200}} -\newlabel{sci:modbus-power}{{11.{4}}{200}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore active\textunderscore power.sci}{200}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.3}Python Code}{200}\protected@file@percent } -\newlabel{sec:modbus-python-code}{{11.7.3}{200}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{201}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{201}\protected@file@percent } +\newlabel{166@xvr}{{}{201}} +\newlabel{166@vr}{{}{201}} +\newlabel{sci:current-modbus}{{11.{1}}{201}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore val.sce}{201}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{201}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{201}\protected@file@percent } +\newlabel{167@xvr}{{}{201}} +\newlabel{167@vr}{{}{201}} +\newlabel{sci:current-modbus}{{11.{2}}{201}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore current.sci}{201}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{201}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{201}\protected@file@percent } +\newlabel{168@xvr}{{}{201}} +\newlabel{168@vr}{{}{201}} +\newlabel{sci:voltage-modbus}{{11.{3}}{201}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore voltage.sci}{201}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{202}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{202}\protected@file@percent } +\newlabel{169@xvr}{{}{202}} +\newlabel{169@vr}{{}{202}} +\newlabel{sci:modbus-power}{{11.{4}}{202}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore active\textunderscore power.sci}{202}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.3}Python Code}{202}\protected@file@percent } +\newlabel{sec:modbus-python-code}{{11.7.3}{202}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{1}}{}}{200}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{200}\protected@file@percent } -\newlabel{170@xvr}{{}{200}} -\newlabel{170@vr}{{}{200}} -\newlabel{py:current-modbus}{{11.{1}}{200}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore current.py}{200}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{2}}{}}{200}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{200}\protected@file@percent } -\newlabel{171@xvr}{{}{200}} -\newlabel{171@vr}{{}{200}} -\newlabel{py:voltage-modbus}{{11.{2}}{200}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore voltage.py}{200}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{3}}{}}{201}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{201}\protected@file@percent } -\newlabel{172@xvr}{{}{201}} -\newlabel{172@vr}{{}{201}} -\newlabel{py:modbus-power}{{11.{3}}{201}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore active\textunderscore power.py}{201}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.4}Julia Code}{201}\protected@file@percent } -\newlabel{sec:modbus-julia-code}{{11.7.4}{201}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{1}}{}}{202}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{202}\protected@file@percent } +\newlabel{170@xvr}{{}{202}} +\newlabel{170@vr}{{}{202}} +\newlabel{py:current-modbus}{{11.{1}}{202}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore current.py}{202}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{2}}{}}{202}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{202}\protected@file@percent } +\newlabel{171@xvr}{{}{202}} +\newlabel{171@vr}{{}{202}} +\newlabel{py:voltage-modbus}{{11.{2}}{202}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore voltage.py}{202}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{3}}{}}{203}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{203}\protected@file@percent } +\newlabel{172@xvr}{{}{203}} +\newlabel{172@vr}{{}{203}} +\newlabel{py:modbus-power}{{11.{3}}{203}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore active\textunderscore power.py}{203}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.4}Julia Code}{203}\protected@file@percent } +\newlabel{sec:modbus-julia-code}{{11.7.4}{203}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{201}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{201}\protected@file@percent } -\newlabel{173@xvr}{{}{201}} -\newlabel{173@vr}{{}{201}} -\newlabel{julia:current-modbus}{{11.{1}}{201}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readCurrent.jl}{201}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{201}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{201}\protected@file@percent } -\newlabel{174@xvr}{{}{201}} -\newlabel{174@vr}{{}{201}} -\newlabel{julia:voltage-modbus}{{11.{2}}{201}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readVoltage.jl}{201}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{202}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{202}\protected@file@percent } -\newlabel{175@xvr}{{}{202}} -\newlabel{175@vr}{{}{202}} -\newlabel{julia:modbus-power}{{11.{3}}{202}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readPower.jl}{202}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{202}\protected@file@percent } -\newlabel{sec:modbus-OpenModelica-code}{{11.7.5}{202}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{203}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{203}\protected@file@percent } +\newlabel{173@xvr}{{}{203}} +\newlabel{173@vr}{{}{203}} +\newlabel{julia:current-modbus}{{11.{1}}{203}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readCurrent.jl}{203}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{203}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{203}\protected@file@percent } +\newlabel{174@xvr}{{}{203}} +\newlabel{174@vr}{{}{203}} +\newlabel{julia:voltage-modbus}{{11.{2}}{203}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readVoltage.jl}{203}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{204}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{204}\protected@file@percent } +\newlabel{175@xvr}{{}{204}} +\newlabel{175@vr}{{}{204}} +\newlabel{julia:modbus-power}{{11.{3}}{204}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readPower.jl}{204}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{204}\protected@file@percent } +\newlabel{sec:modbus-OpenModelica-code}{{11.7.5}{204}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{202}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{202}\protected@file@percent } -\newlabel{176@xvr}{{}{202}} -\newlabel{176@vr}{{}{202}} -\newlabel{OpenModelica:current-modbus}{{11.{1}}{202}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readCurrent.mo}{202}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{202}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{202}\protected@file@percent } -\newlabel{177@xvr}{{}{202}} -\newlabel{177@vr}{{}{202}} -\newlabel{OpenModelica:voltage-modbus}{{11.{2}}{202}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readVoltage.mo}{202}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{204}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{204}\protected@file@percent } +\newlabel{176@xvr}{{}{204}} +\newlabel{176@vr}{{}{204}} +\newlabel{OpenModelica:current-modbus}{{11.{1}}{204}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readCurrent.mo}{204}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{204}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{204}\protected@file@percent } +\newlabel{177@xvr}{{}{204}} +\newlabel{177@vr}{{}{204}} +\newlabel{OpenModelica:voltage-modbus}{{11.{2}}{204}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readVoltage.mo}{204}\protected@file@percent } \bibdata{bibliography.bib} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{203}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{203}\protected@file@percent } -\newlabel{178@xvr}{{}{203}} -\newlabel{178@vr}{{}{203}} -\newlabel{OpenModelica:modbus-power}{{11.{3}}{203}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readPower.mo}{203}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{205}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{205}\protected@file@percent } +\newlabel{178@xvr}{{}{205}} +\newlabel{178@vr}{{}{205}} +\newlabel{OpenModelica:modbus-power}{{11.{3}}{205}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readPower.mo}{205}\protected@file@percent } \bibcite{CNES-Scilab}{1} \bibcite{scilab-arduino}{2} \bibcite{oshw-ref}{3} @@ -1458,5 +1461,5 @@ \bibcite{scilab-ref}{12} \bibcite{scilab-interop}{13} \bibcite{xcos-ref}{14} -\@writefile{toc}{\contentsline {chapter}{\numberline {References}}{205}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {References}}{207}\protected@file@percent } \bibcite{python-ref}{15} diff --git a/floss-arduino.cod b/floss-arduino.cod index 54c9721..5e28ca3 100644 --- a/floss-arduino.cod +++ b/floss-arduino.cod @@ -8,27 +8,27 @@ \contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{60}% \contentsline {section}{\numberline {4.{4}}Blinking the green LED}{60}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{83}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{83}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{84}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{84}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{98}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{98}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{100}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{100}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{117}% -\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{117}% -\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{117}% +\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{119}% +\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{119}% +\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{119}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{135}% +\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{137}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{148}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{149}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{150}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{151}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{166}% -\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{166}% -\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{167}% -\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{167}% +\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{168}% +\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{168}% +\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{169}% +\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{169}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{199}% -\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{199}% -\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{199}% -\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{200}% +\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{201}% +\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{201}% +\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{201}% +\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{202}% diff --git a/floss-arduino.fdb_latexmk b/floss-arduino.fdb_latexmk index 4257400..ad57451 100644 --- a/floss-arduino.fdb_latexmk +++ b/floss-arduino.fdb_latexmk @@ -1,19 +1,19 @@ # Fdb version 3 -["bibtex floss-arduino"] 1615965672 "floss-arduino.aux" "floss-arduino.bbl" "floss-arduino" 1615965736 +["bibtex floss-arduino"] 1615971631 "floss-arduino.aux" "floss-arduino.bbl" "floss-arduino" 1615971892 "/usr/share/texlive/texmf-dist/bibtex/bst/base/unsrt.bst" 1292289607 18030 1376b4b231b50c66211e47e42eda2875 "" "bibliography.bib" 1615963613 3279 e2e78d605bb19352cf7337ce29810b6c "" - "floss-arduino.aux" 1615965708 122896 0f6805ee14c2d048ecea918347bf2d8a "pdflatex" + "floss-arduino.aux" 1615971891 123281 db5b1f98b58b3cc94df540c21107616a "pdflatex" (generated) "floss-arduino.blg" "floss-arduino.bbl" -["makeindex floss-arduino.idx"] 1615964866 "floss-arduino.idx" "floss-arduino.ind" "floss-arduino" 1615965736 - "floss-arduino.idx" 1615965708 187 e4a8a97084d835ffe6410c93457bd1a4 "pdflatex" +["makeindex floss-arduino.idx"] 1615971465 "floss-arduino.idx" "floss-arduino.ind" "floss-arduino" 1615971892 + "floss-arduino.idx" 1615971891 187 7338b108df3d45fabf71707857da02aa "pdflatex" (generated) - "floss-arduino.ind" "floss-arduino.ilg" -["pdflatex"] 1615965703 "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" "floss-arduino" 1615965736 + "floss-arduino.ind" +["pdflatex"] 1615971885 "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" "floss-arduino" 1615971892 "/etc/texmf/web2c/texmf.cnf" 1602253014 475 c0e671620eb5563b2130f56340a5fde8 "" - "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.aux" 1615965708 122896 0f6805ee14c2d048ecea918347bf2d8a "" + "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.aux" 1615971891 123281 db5b1f98b58b3cc94df540c21107616a "" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" 1615965735 4443 11daa2a9d83a9eec2d4fe6e86cb48912 "" "/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" 1615965708 2297 10eb3e12a27d4033d8403b331ea191b1 "pdflatex" - "floss-arduino.ard" 1615965708 2080 7fd43b6604a973bd8449752f9276e906 "pdflatex" - "floss-arduino.aux" 1615965708 122896 0f6805ee14c2d048ecea918347bf2d8a "pdflatex" - "floss-arduino.bbl" 1615965672 2140 a4f2f2278da9e2bdb36d4b32d75029c6 "bibtex floss-arduino" - "floss-arduino.cod" 1615965708 2523 d83c34cd93dd6da06809aca462195527 "pdflatex" - "floss-arduino.ind" 1615964866 228 247fff6b881996667ba0567bf828c67f "makeindex floss-arduino.idx" - "floss-arduino.juliad" 1615965708 2311 dd8cfce755511cc4f5712ba943b0a9eb "pdflatex" - "floss-arduino.lof" 1615965708 10110 39dd55f56fc758ffee2d625d996af6cf "pdflatex" - "floss-arduino.lot" 1615965708 3699 5ca62e0c0bd262baf642fc7eda2b8c64 "pdflatex" - "floss-arduino.pyd" 1615965708 2323 e294ec322b310dad223c47edbbac95b4 "pdflatex" + "floss-arduino.OpenModelicad" 1615971891 2297 8809fdc79ac33525bc9d27e4ba8839b3 "pdflatex" + "floss-arduino.ard" 1615971891 2080 c6a81136e95c37fa58e0296e33e1bbdb "pdflatex" + "floss-arduino.aux" 1615971891 123281 db5b1f98b58b3cc94df540c21107616a "pdflatex" + "floss-arduino.bbl" 1615971631 2140 a4f2f2278da9e2bdb36d4b32d75029c6 "bibtex floss-arduino" + "floss-arduino.cod" 1615971891 2525 e348328de6dc5436e51c58db52b35aa5 "pdflatex" + "floss-arduino.ind" 1615971466 228 af8dc5589e32a166ad18dd969896b72f "makeindex floss-arduino.idx" + "floss-arduino.juliad" 1615971891 2311 ea19b1fe1c577a7ca637c388b6750863 "pdflatex" + "floss-arduino.lof" 1615971891 10239 c4c3c33313a8a86a7e02f63ec1d917f6 "pdflatex" + "floss-arduino.lot" 1615971891 3700 b20de026eb9d9c4609d46659a80e9752 "pdflatex" + "floss-arduino.pyd" 1615971891 2323 5520b31cae6a5548e8869306fb0e1561 "pdflatex" "floss-arduino.tex" 1615965735 4443 11daa2a9d83a9eec2d4fe6e86cb48912 "" - "floss-arduino.toc" 1615965708 14764 7ca335cd5f3e86c25d484c1a7077a79d "pdflatex" + "floss-arduino.toc" 1615971891 14874 9ddee15bf4be87639ee7eefa941013e1 "pdflatex" "suppl/acr.tex" 1615963613 1926 fd6481c4666ee0d60331b7d4cc24b645 "" "suppl/intro.tex" 1615963613 3437 b09628cf9e20fe17fa65b37a5997653c "" "suppl/styles.tex" 1615963613 8143 aa3280f0b59c8631fe8ec44895c9e871 "" @@ -284,13 +284,14 @@ "user-code/push/OpenModelica/led-push-button.mo" 1615963614 1198 120e49f80595079acd4df70592cdf775 "" "user-code/push/OpenModelica/push-button-status.mo" 1615963614 1251 e670acf0e61d3855657d0d08598f967f "" "user-code/push/arduino/led-push-button/led-push-button.ino" 1615963614 396 f2cd654545d812fcf8dc360a261677ab "" - "user-code/push/arduino/push-button-status/push-button-status.ino" 1615963614 376 77c53b136c9f6a2227e8e0c615b59677 "" + "user-code/push/arduino/push-button-status/push-button-status.ino" 1615970263 345 de8912809afaa6266b8aca72718389c4 "" + "user-code/push/figures/ard-pushbtn.png" 1615971132 89079 f6141d8798851ec1c53177a8bc966105 "" "user-code/push/figures/led-push-button.PNG" 1615963614 29100 9fb97725008a4f858830924290bafd86 "" "user-code/push/figures/push-button-status.PNG" 1615963614 27403 da6c41bb605a3801512422bfefcaf4ea "" "user-code/push/figures/pushbutton-conn.png" 1615963614 25321 c2e109dc82f76507b9a0b5f6e09be7db "" "user-code/push/julia/led-push-button.jl" 1615963614 244 bdd35ebaf7a49131c86afec8f4d652d5 "" "user-code/push/julia/push-button-status.jl" 1615963614 162 c571ce3005e5ec597e7dcda1b849185a "" - "user-code/push/push.tex" 1615963614 20413 0d57696903ad438ba0f9f3a4788dd2c1 "" + "user-code/push/push.tex" 1615971885 21436 f1ed7e559567d0e32168f0d59412998d "" "user-code/push/python/led-push-button.py" 1615963614 840 4bb8db9727a8e8653a21fbbc7b7526d7 "" "user-code/push/python/push-button-status.py" 1615963614 722 f58f02f7b8f3f6ec8ed84f102fba6df1 "" "user-code/push/scilab/led-push-button.sce" 1615963614 343 cf0876406ea3698e7f8fabac2dd17128 "" @@ -362,18 +363,18 @@ "user-code/thermistor/scilab/therm-read.sce" 1615963614 382 5e743c25b50f9d961a2939ce81d7b633 "" "user-code/thermistor/thermistor.tex" 1615963614 23389 e9969d91821c6707df3703e45c9c5d23 "" (generated) + "floss-arduino.log" "floss-arduino.aux" - "floss-arduino.thm" - "floss-arduino.OpenModelicad" - "floss-arduino.cod" - "floss-arduino.lot" + "floss-arduino.juliad" "floss-arduino.pyd" - "floss-arduino.idx" + "floss-arduino.OpenModelicad" + "floss-arduino.thm" "floss-arduino.ard" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.log" - "floss-arduino.pdf" - "floss-arduino.lof" - "floss-arduino.juliad" + "floss-arduino.idx" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" - "floss-arduino.log" + "floss-arduino.cod" + "floss-arduino.lof" "floss-arduino.toc" + "floss-arduino.lot" + "floss-arduino.pdf" diff --git a/floss-arduino.fls b/floss-arduino.fls index a3f9286..cf7f815 100644 --- a/floss-arduino.fls +++ b/floss-arduino.fls @@ -445,6 +445,9 @@ INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/push/push.tex INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/pushbutton-conn.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/pushbutton-conn.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/pushbutton-conn.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/ard-pushbtn.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/ard-pushbtn.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/ard-pushbtn.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push-button-status/push-button-status.ino INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push-button-status/push-button-status.ino INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push-button-status/push-button-status.ino diff --git a/floss-arduino.idx b/floss-arduino.idx index 826e723..b0394ae 100644 --- a/floss-arduino.idx +++ b/floss-arduino.idx @@ -1,5 +1,5 @@ -\indexentry{H-Bridge circuit DC motor}{109} -\indexentry{H-Bridge}{109} -\indexentry{L293D,L298}{109} -\indexentry{PCB breakout board}{109} -\indexentry{pulse width modulation, PWM}{109} +\indexentry{H-Bridge circuit DC motor}{111} +\indexentry{H-Bridge}{111} +\indexentry{L293D,L298}{111} +\indexentry{PCB breakout board}{111} +\indexentry{pulse width modulation, PWM}{111} diff --git a/floss-arduino.ind b/floss-arduino.ind index 5d287ce..80dd2e3 100644 --- a/floss-arduino.ind +++ b/floss-arduino.ind @@ -1,15 +1,15 @@ \begin{theindex} - \item H-Bridge, 109 - \item H-Bridge circuit DC motor, 109 + \item H-Bridge, 111 + \item H-Bridge circuit DC motor, 111 \indexspace - \item L293D,L298, 109 + \item L293D,L298, 111 \indexspace - \item PCB breakout board, 109 - \item pulse width modulation, PWM, 109 + \item PCB breakout board, 111 + \item pulse width modulation, PWM, 111 \end{theindex} diff --git a/floss-arduino.juliad b/floss-arduino.juliad index e2183e2..d957f0c 100644 --- a/floss-arduino.juliad +++ b/floss-arduino.juliad @@ -6,25 +6,25 @@ \contentsline {section}{\numberline {4.{4}}Blinking the green LED}{73}% \addvspace {10pt} \contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{90}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{90}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{91}% \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}{105}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{107}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{107}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{126}% -\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{127}% -\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{127}% +\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{128}% +\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{129}% +\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{129}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{140}% +\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{142}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{156}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{156}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{158}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{158}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{178}% -\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{178}% -\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{179}% -\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{179}% +\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{180}% +\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{180}% +\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{181}% +\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{181}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{201}% -\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{201}% -\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{202}% +\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{203}% +\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{203}% +\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{204}% diff --git a/floss-arduino.lof b/floss-arduino.lof index 7a9511a..9c96db8 100644 --- a/floss-arduino.lof +++ b/floss-arduino.lof @@ -50,55 +50,56 @@ \contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{64}% \addvspace {10\p@ } \contentsline {figure}{\numberline {5.1}{\ignorespaces Connection Diagram\relax }}{80}% -\contentsline {figure}{\numberline {5.2}{\ignorespaces Printing the push button status on the display block}}{84}% -\contentsline {figure}{\numberline {5.3}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{85}% +\contentsline {figure}{\numberline {5.2}{\ignorespaces Interfacing an RGB LED with Arduino Uno using a breadboard\relax }}{81}% +\contentsline {figure}{\numberline {5.3}{\ignorespaces Printing the push button status on the display block}}{85}% +\contentsline {figure}{\numberline {5.4}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{86}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{94}% -\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of an LDR}}}{94}% -\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of an LDR}}}{94}% -\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{94}% -\contentsline {figure}{\numberline {6.3}{\ignorespaces Xcos diagram to read LDR values}}{99}% -\contentsline {figure}{\numberline {6.4}{\ignorespaces Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}}{100}% +\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{96}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of an LDR}}}{96}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of an LDR}}}{96}% +\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{96}% +\contentsline {figure}{\numberline {6.3}{\ignorespaces Xcos diagram to read LDR values}}{101}% +\contentsline {figure}{\numberline {6.4}{\ignorespaces Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}}{102}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {7.1}{\ignorespaces L293D motor driver board\relax }}{110}% -\contentsline {figure}{\numberline {7.2}{\ignorespaces A schematic of DC motor connections\relax }}{111}% -\contentsline {figure}{\numberline {7.3}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{111}% -\contentsline {figure}{\numberline {7.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{118}% -\contentsline {figure}{\numberline {7.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{120}% -\contentsline {figure}{\numberline {7.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{121}% +\contentsline {figure}{\numberline {7.1}{\ignorespaces L293D motor driver board\relax }}{112}% +\contentsline {figure}{\numberline {7.2}{\ignorespaces A schematic of DC motor connections\relax }}{113}% +\contentsline {figure}{\numberline {7.3}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{113}% +\contentsline {figure}{\numberline {7.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{120}% +\contentsline {figure}{\numberline {7.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{122}% +\contentsline {figure}{\numberline {7.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{123}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {8.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{132}% -\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{132}% -\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Schematic representation of the potentiometer}}}{132}% -\contentsline {figure}{\numberline {8.2}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{136}% +\contentsline {figure}{\numberline {8.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{134}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{134}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Schematic representation of the potentiometer}}}{134}% +\contentsline {figure}{\numberline {8.2}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{138}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {9.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{144}% -\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{144}% -\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{144}% -\contentsline {figure}{\numberline {9.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{144}% -\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Thermistor connection diagram}}}{144}% -\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Buzzer connection diagram}}}{144}% -\contentsline {figure}{\numberline {9.3}{\ignorespaces Xcos diagram to read thermistor values}}{150}% -\contentsline {figure}{\numberline {9.4}{\ignorespaces Output of Xcos diagram to read thermistor values}}{151}% -\contentsline {figure}{\numberline {9.5}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{151}% -\contentsline {figure}{\numberline {9.6}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{152}% +\contentsline {figure}{\numberline {9.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{146}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{146}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{146}% +\contentsline {figure}{\numberline {9.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{146}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Thermistor connection diagram}}}{146}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Buzzer connection diagram}}}{146}% +\contentsline {figure}{\numberline {9.3}{\ignorespaces Xcos diagram to read thermistor values}}{152}% +\contentsline {figure}{\numberline {9.4}{\ignorespaces Output of Xcos diagram to read thermistor values}}{153}% +\contentsline {figure}{\numberline {9.5}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{153}% +\contentsline {figure}{\numberline {9.6}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{154}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{168}% -\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{169}% -\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{170}% -\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{171}% +\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{170}% +\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{171}% +\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{172}% +\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{173}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{186}% -\contentsline {figure}{\numberline {11.2}{\ignorespaces Master-Slave Query-Response Cycle\relax }}{186}% -\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{187}% -\contentsline {figure}{\numberline {11.4}{\ignorespaces MODBUS Set Up for Energy Meter\relax }}{191}% -\contentsline {figure}{\numberline {11.5}{\ignorespaces Block Diagram for Energy Meter Setup\relax }}{192}% -\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{193}% -\contentsline {figure}{\numberline {11.7}{\ignorespaces Flow Chart of the Modbus Energy Meter Implementation\relax }}{194}% -\contentsline {figure}{\numberline {11.8}{\ignorespaces Single Phase Current Output on Scilab Console\relax }}{195}% -\contentsline {figure}{\numberline {11.9}{\ignorespaces Single Phase Current Output on Energy Meter\relax }}{195}% -\contentsline {figure}{\numberline {11.10}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{196}% -\contentsline {figure}{\numberline {11.11}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{196}% -\contentsline {figure}{\numberline {11.12}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{197}% -\contentsline {figure}{\numberline {11.13}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{197}% -\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{198}% +\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{188}% +\contentsline {figure}{\numberline {11.2}{\ignorespaces Master-Slave Query-Response Cycle\relax }}{188}% +\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{189}% +\contentsline {figure}{\numberline {11.4}{\ignorespaces MODBUS Set Up for Energy Meter\relax }}{193}% +\contentsline {figure}{\numberline {11.5}{\ignorespaces Block Diagram for Energy Meter Setup\relax }}{194}% +\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{195}% +\contentsline {figure}{\numberline {11.7}{\ignorespaces Flow Chart of the Modbus Energy Meter Implementation\relax }}{196}% +\contentsline {figure}{\numberline {11.8}{\ignorespaces Single Phase Current Output on Scilab Console\relax }}{197}% +\contentsline {figure}{\numberline {11.9}{\ignorespaces Single Phase Current Output on Energy Meter\relax }}{197}% +\contentsline {figure}{\numberline {11.10}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{198}% +\contentsline {figure}{\numberline {11.11}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{198}% +\contentsline {figure}{\numberline {11.12}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{199}% +\contentsline {figure}{\numberline {11.13}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{199}% +\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{200}% diff --git a/floss-arduino.log b/floss-arduino.log index 30783d6..20833ee 100644 --- a/floss-arduino.log +++ b/floss-arduino.log @@ -1,4 +1,4 @@ -This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex 2020.11.5) 17 MAR 2021 12:52 +This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex 2020.11.5) 17 MAR 2021 14:38 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 201 +Overfull \hbox (42.2769pt too wide) detected at line 202 \T1/cmr/bx/n/10.95 References [] @@ -537,7 +537,7 @@ Overfull \hbox (42.2769pt too wide) detected at line 201 [6] (./floss-arduino.lof [7 ] -Overfull \hbox (4.98741pt too wide) in paragraph at lines 73--73 +Overfull \hbox (4.98741pt too wide) in paragraph at lines 74--74 [][] []\T1/cmr/m/n/10.95 Turning LEDs on through Xcos de-pend-ing on the po-te n-tiome-ter thresh- [] @@ -1340,36 +1340,44 @@ n-conn.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/pu sh/figures/pushbutton-conn.png used on input line 63. (pdftex.def) Requested size: 178.86702pt x 188.80507pt. - -Underfull \vbox (badness 10000) has occurred while \output is active [] - - [79] -(/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push-button-s -tatus/push-button-status.ino) [80 </home/fossee/Desktop/floss-scilab-arduino/us -er-code/push/figures/pushbutton-conn.png>] +[79] +</home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/ard-pushbtn.p +ng, id=422, 903.375pt x 564.1075pt> +File: /home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/ard-push +btn.png Graphic file (type png) +<use /home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/ard-pushb +tn.png> +Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/pu +sh/figures/ard-pushbtn.png used on input line 81. +(pdftex.def) Requested size: 397.48499pt x 248.20805pt. + [80 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/pushbutt +on-conn.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push-button-s tatus/push-button-status.ino) +(/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push-button-s +tatus/push-button-status.ino) [81 </home/fossee/Desktop/floss-scilab-arduino/us +er-code/push/figures/ard-pushbtn.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/led-push-butt on/led-push-button.ino) (/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 127--130 +Overfull \hbox (0.16989pt too wide) in paragraph at lines 145--148 []\T1/cmr/m/n/10.95 Turning the LED on or off de-pend-ing on the push-but-ton. Avail- [] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/led-push-butt -on/led-push-button.ino [81]) +on/led-push-button.ino [82]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push-button-st atus.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push-button-st -atus.sce) [82] +atus.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led-push-butto -n.sce) +n.sce) [83] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push-button-st atus.sce) -Overfull \hbox (0.145pt too wide) in paragraph at lines 180--183 +Overfull \hbox (0.145pt too wide) in paragraph at lines 198--201 \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 , see Foot- @@ -1377,65 +1385,71 @@ Overfull \hbox (0.145pt too wide) in paragraph at lines 180--183 (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led-push-butto -n.sce) [83] +n.sce) </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/push-button-s -tatus.PNG, id=435, 264.99pt x 268.00125pt> +tatus.PNG, id=437, 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 on-status.PNG> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/pu -sh/figures/push-button-status.PNG used on input line 211. +sh/figures/push-button-status.PNG used on input line 229. (pdftex.def) Requested size: 178.86702pt x 180.9012pt. -Overfull \hbox (3.33746pt too wide) in paragraph at lines 229--239 +Overfull \hbox (3.33746pt too wide) in paragraph at lines 247--257 [][] [] +[84] [85 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/push +-button-status.PNG>] </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/led-push-butt -on.PNG, id=436, 298.86656pt x 264.99pt> +on.PNG, id=446, 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- button.PNG> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/pu -sh/figures/led-push-button.PNG used on input line 254. +sh/figures/led-push-button.PNG used on input line 272. (pdftex.def) Requested size: 178.86702pt x 158.59492pt. -[84 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/push-butt -on-status.PNG>] -Overfull \hbox (4.77844pt too wide) in paragraph at lines 271--282 + +Overfull \hbox (4.77844pt too wide) in paragraph at lines 289--300 [][] [] -[85 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/led-push- +[86 </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) [86] +atus.py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led-push-butto -n.py) +n.py) [87] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push-button-st -atus.py [87]) +atus.py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led-push-butto n.py [88]) +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [89] (/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) [89] +.jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push-button-sta -tus.jl) +tus.jl) [90] (/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 [90]) +ton-status.mo) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push-but -ton-status.mo) [91] +ton-status.mo [91]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led-push --button.mo)) (./user-code/ldr/ldr.tex [92] +-button.mo [92])) (./user-code/ldr/ldr.tex [93] [94 + +] Chapter 6. -</home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg, id=46 -8, 106.89937pt x 94.85437pt> +</home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg, id=47 +6, 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> @@ -1443,7 +1457,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=469, 1009.52156pt x 741.52031pt> +d=477, 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 @@ -1452,7 +1466,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=470, 415.5525pt x 450.68375pt> +id=478, 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 @@ -1460,12 +1474,10 @@ 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. -[93 - -] +[95] Underfull \vbox (badness 3333) has occurred while \output is active [] - [94 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg> + [96 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg> </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr_sym.png> < /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-conn.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-read/ldr-r @@ -1473,17 +1485,17 @@ ead.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-read/ldr-r ead.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-read/ldr-r -ead.ino) [95] +ead.ino) [97] (/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-led/ldr-le -d.ino) [96] +d.ino) [98] Overfull \hbox (19.20517pt too wide) in paragraph at lines 182--193 []\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[]. [] -[97] +[99] (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr-read.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr-led.sce) Overfull \hbox (0.34052pt too wide) in paragraph at lines 226--232 @@ -1492,7 +1504,7 @@ o read LDR val-ues, through [] </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-read-xcos. -PNG, id=489, 257.46187pt x 304.13625pt> +PNG, id=497, 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 @@ -1500,10 +1512,10 @@ cos.PNG> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/ld r/figures/ldr-read-xcos.PNG used on input line 242. (pdftex.def) Requested size: 178.86702pt x 211.2975pt. -[98] [99 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-r -ead-xcos.PNG>] +[100] [101 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr +-read-xcos.PNG>] </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-led.png, i -d=497, 769.87625pt x 640.3925pt> +d=505, 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 @@ -1516,26 +1528,26 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 319--339 [][] [] -[100 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-led.p -ng>] [101] +[102 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-led.p +ng>] [103] (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr-read.py -[102]) +[104]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr-led.py -[103]) +[105]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led-push-button -.jl) [104] +.jl) [106] (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr-read.jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr-led.jl) -[105] +[107] (/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 [106]) +mo [108]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr-led.m -o [107])) (./user-code/dcmotor/dcmotor.tex [108] +o [109])) (./user-code/dcmotor/dcmotor.tex [110] Chapter 7. </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmotor_bo -ard.png, id=527, 247.92625pt x 232.87pt> +ard.png, id=536, 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 @@ -1543,11 +1555,11 @@ r_board.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/dc motor/figures/dcmotor_board.png used on input line 62. (pdftex.def) Requested size: 258.36281pt x 242.69075pt. -[109 +[111 ] </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/schematic. -png, id=532, 415.5525pt x 467.7475pt> +png, id=540, 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 @@ -1556,7 +1568,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=533, 2469.97781pt x 1973.12157pt> +escription.jpg, id=541, 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 @@ -1564,41 +1576,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. - [110 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmo + [112 </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 [] -[111 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/schem +[113 </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>] [112] +dc_motor_description.jpg>] [114] (/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 [113]) +op/dcmotor-loop.ino [115]) Underfull \hbox (badness 10000) in paragraph at lines 221--237 [] -[114] +[116] (/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) [115] +ck.sce) [117] (/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) [116] +ck.sce) [118] (/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 [117]) +p.sce [119]) </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmotor-cl -ock.png, id=562, 275.52937pt x 290.58563pt> +ock.png, id=570, 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 @@ -1606,10 +1618,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. - [118 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmo + [120 </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=566, 292.09125pt x 322.95656pt> +th.png, id=574, 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 @@ -1618,7 +1630,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=567, 281.55188pt x 307.90031pt> +op.png, id=575, 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 @@ -1626,30 +1638,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. - [119] [120 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figure -s/dcmotor-both.png>] [121 </home/fossee/Desktop/floss-scilab-arduino/user-code/ -dcmotor/figures/dcmotor-loop.png>] [122] + [121] [122 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figure +s/dcmotor-both.png>] [123 </home/fossee/Desktop/floss-scilab-arduino/user-code/ +dcmotor/figures/dcmotor-loop.png>] [124] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor-clo -ck.py [123]) +ck.py [125]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor-bot -h.py) [124] +h.py) [126] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor-loo -p.py) [125] +p.py) [127] (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor-cloc -k.jl [126]) +k.jl [128]) (/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) [127] +.jl) [129] (/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 [128]) +or-both.mo [130]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmot -or-loop.mo [129])) (./user-code/pot/pot.tex [130] +or-loop.mo [131])) (./user-code/pot/pot.tex [132] Chapter 8. </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/potmeter.png, -id=609, 1576.38937pt x 1305.37688pt> +id=617, 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 @@ -1658,7 +1670,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=610, 415.5525pt x 417.56pt> + id=618, 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. @@ -1666,9 +1678,9 @@ png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/po t/figures/schematic.png used on input line 68. (pdftex.def) Requested size: 178.86702pt x 179.73206pt. -[131 +[133 -] [132 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/potmete +] [134 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/potmete r.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/schemat ic.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot-threshold/ @@ -1676,11 +1688,11 @@ pot-threshold.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot-threshold/ pot-threshold.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot-threshold/ -pot-threshold.ino [133]) +pot-threshold.ino [135]) (/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) [134] +ce) [136] Overfull \hbox (6.93184pt too wide) in paragraph at lines 171--175 []\T1/cmr/m/n/10.95 Turning on LEDs de-pend-ing on the po-ten-tiome-ter thresh- old. Avail- @@ -1690,7 +1702,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=626, 548.80031pt x 493.845pt> +PNG, id=634, 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 @@ -1703,14 +1715,14 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 207--236 [][] [] -[135] [136 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/pot +[137] [138 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/pot -threshold.PNG>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot-threshold.p y) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot-threshold.p -y [137]) +y [139]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot-threshold.p -y [138]) +y [140]) (/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 @@ -1726,13 +1738,13 @@ Overfull \hbox (0.88127pt too wide) in paragraph at lines 296--300 old. Avail- [] -[139] +[141] (/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 [140]) +hold.mo [142]) Overfull \hbox (7.95369pt too wide) in paragraph at lines 319--323 []\T1/cmr/m/n/10.95 Turning on LEDs de-pend-ing on the po-ten-tiome-ter thresh- @@ -1740,10 +1752,10 @@ Overfull \hbox (7.95369pt too wide) in paragraph at lines 319--323 (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot-thres -hold.mo [141])) (./user-code/thermistor/thermistor.tex [142] +hold.mo [143])) (./user-code/thermistor/thermistor.tex [144] Chapter 9. </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/NTC-bea -d.jpg, id=653, 139.9629pt x 126.2316pt> +d.jpg, id=661, 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 @@ -1752,13 +1764,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 143 undefined on input line 70. +LaTeX Warning: Citation `therm-wiki' on page 145 undefined on input line 70. -LaTeX Warning: Citation `therm-wiki' on page 143 undefined on input line 70. +LaTeX Warning: Citation `therm-wiki' on page 145 undefined on input line 70. </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-s -ym.png, id=654, 1284.8pt x 913.4125pt> +ym.png, id=662, 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 @@ -1767,7 +1779,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=655, 329.23pt x 422.57875pt> +TOR-Diagram-crop.pdf, id=663, 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 @@ -1776,7 +1788,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=656, 307.1475pt x 366.36874pt> +Diagram-crop.pdf, id=664, 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 @@ -1784,13 +1796,13 @@ 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. -[143 +[145 ] Overfull \vbox (33.20364pt too high) has occurred while \output is active [] -[144 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/NT +[146 </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 @@ -1800,17 +1812,17 @@ 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) [145] +ead/therm-read.ino) [147] (/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-b -uzzer/therm-buzzer.ino [146]) [147] +uzzer/therm-buzzer.ino [148]) [149] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm-re -ad.sce) [148] +ad.sce) [150] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm-bu zzer.sce) </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-r -ead-xcos.png, id=691, 617.30624pt x 548.0475pt> +ead-xcos.png, id=699, 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 @@ -1819,7 +1831,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th ermistor/figures/therm-read-xcos.png used on input line 262. (pdftex.def) Requested size: 194.76982pt x 172.91183pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-r -ead.png, id=692, 632.3625pt x 529.98pt> +ead.png, id=700, 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 @@ -1828,7 +1840,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th ermistor/figures/therm-read.png used on input line 295. (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=693, 627.34375pt x 530.98375pt> +uzzer-xcos.png, id=701, 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 @@ -1842,7 +1854,7 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 329--349 [] </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-b -uzzer.png, id=694, 612.2875pt x 589.20125pt> +uzzer.png, id=702, 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 @@ -1850,57 +1862,57 @@ 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 355. (pdftex.def) Requested size: 178.86702pt x 172.12265pt. -[149] +[151] Underfull \vbox (badness 10000) has occurred while \output is active [] - [150 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t + [152 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t herm-read-xcos.png>] Overfull \vbox (37.60379pt too high) has occurred while \output is active [] -[151 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th +[153 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th erm-read.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/f igures/therm-buzzer-xcos.png>] -LaTeX Warning: Text page 152 contains only floats. +LaTeX Warning: Text page 154 contains only floats. -[152 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th +[154 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th erm-buzzer.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm-re -ad.py [153]) +ad.py [155]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm-bu -zzer.py [154]) [155] +zzer.py [156]) [157] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm-rea d.jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm-buz -zer.jl) [156] +zer.jl) [158] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/th -erm-read.mo [157]) +erm-read.mo [159]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/th -erm-buzzer.mo [158])) (./user-code/servo/servo.tex [159] [160 +erm-buzzer.mo [160])) (./user-code/servo/servo.tex [161] [162 ] Chapter 10. Underfull \vbox (badness 1975) has occurred while \output is active [] - [161] + [163] Overfull \hbox (23.49748pt too wide) in paragraph at lines 90--98 []\T1/cmr/m/n/10.95 In the first ex-per-i-ment, we will move the ser-vo-mo-tor by $\OT1/cmr/m/n/10.95 30[]$ \T1/cmr/m/n/10.95 us-ing Ar-duino Code 10.1[]. [] -[162] +[164] (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo-init/s -ervo-init.ino [163]) +ervo-init.ino [165]) (/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) [164] +ervo-loop.ino) [166] (/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) [165] +e) [167] (/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 @@ -1908,13 +1920,13 @@ e) [165] (/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 [166]) +.sce [168]) (/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=759, 265.74281pt x 309.40594pt> +ng, id=767, 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 @@ -1922,9 +1934,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. - [167] + [169] </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-revers -e.png, id=763, 244.66406pt x 281.55188pt> +e.png, id=772, 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 @@ -1935,10 +1947,10 @@ rvo/figures/servo-reverse.png used on input line 334. Underfull \vbox (badness 3199) has occurred while \output is active [] - [168 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo- + [170 </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=767, 281.55188pt x 347.04657pt> +ng, id=777, 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 @@ -1947,7 +1959,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=768, 286.06876pt x 292.09125pt> +g, id=778, 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 @@ -1956,38 +1968,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. -[169 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-r +[171 </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 [][] [] -[170 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-l +[172 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-l oop.png>] -LaTeX Warning: Reference `sec:py-start' on page 171 undefined on input line 459 +LaTeX Warning: Reference `sec:py-start' on page 173 undefined on input line 459 . Underfull \vbox (badness 10000) has occurred while \output is active [] - [171 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo- + [173 </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 -) [172] +) [174] (/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 -[173]) +[175]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-reverse -.py [174]) +.py [176]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-loop.py -[175]) +[177]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-pot.py -[176]) +[178]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-init.jl) -[177] +[179] (/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) @@ -1999,10 +2011,10 @@ vers-ing. Avail- (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-reverse. -jl) [178] +jl) [180] (/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) -[179] +[181] (/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 @@ -2010,19 +2022,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 [180]) +nit.mo [182]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo-r -everse.mo [181]) +everse.mo [183]) (/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 [182])) (./user-code/modbus/modbus.tex [183] [184 +ot.mo [184])) (./user-code/modbus/modbus.tex [185] [186 ] Chapter 11. -[185] +[187] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig1.png, i -d=824, 672.5125pt x 224.84pt> +d=833, 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 @@ -2031,7 +2043,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=825, 360.34625pt x 375.4025pt> +d=834, 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 @@ -2040,7 +2052,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=826, 481.04718pt x 214.55156pt> +d=835, 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 @@ -2048,12 +2060,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. - [186 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig1. + [188 </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)>] [187 </home/fossee/Desktop/floss-scilab-arduino/user --code/modbus/figures/fig3.png (PNG copy)>] [188] [189] +ures/fig2.png (PNG copy)>] [189 </home/fossee/Desktop/floss-scilab-arduino/user +-code/modbus/figures/fig3.png (PNG copy)>] [190] [191] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/Full-Set-Up -.png, id=841, 722.7pt x 542.025pt> +.png, id=849, 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 @@ -2061,9 +2073,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. - [190] + [192] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/block-diagr -am.PNG, id=845, 398.23781pt x 255.95625pt> +am.PNG, id=853, 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 @@ -2072,7 +2084,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=846, 327.2225pt x 480.79625pt> +e_flowchart.png, id=854, 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 @@ -2080,10 +2092,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. - [191 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/Full- + [193 </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=851, 482.55281pt x 362.10281pt> +ng, id=860, 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 @@ -2092,7 +2104,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=852, 1028.34187pt x 578.16pt> +put.png, id=861, 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 @@ -2101,7 +2113,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=853, 2509.375pt x 1411.2725pt> +put-setup.jpg, id=862, 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 @@ -2110,7 +2122,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=854, 1028.34187pt x 578.16pt> +put.png, id=863, 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 @@ -2119,7 +2131,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=855, 2509.375pt x 1411.2725pt> +put-setup.jpg, id=864, 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 @@ -2128,7 +2140,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=856, 1028.34187pt x 578.16pt> +r-output.png, id=865, 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- @@ -2137,10 +2149,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. -[192 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/block- +[194 </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=861, 2509.375pt x 1411.2725pt> +r-output-setup.jpg, id=870, 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- @@ -2151,10 +2163,10 @@ dbus/figures/active-power-output-setup.jpg used on input line 436. Underfull \vbox (badness 10000) has occurred while \output is active [] - [193 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/ardui + [195 </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=867, 635.37375pt x 455.7025pt> +xcos.png, id=875, 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 @@ -2173,46 +2185,46 @@ Overfull \hbox (16.70493pt too wide) in paragraph at lines 479--491 [][] [] -[194 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/flowch -art.png (PNG copy)>] [195 </home/fossee/Desktop/floss-scilab-arduino/user-code/ +[196 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/flowch +art.png (PNG copy)>] [197 </home/fossee/Desktop/floss-scilab-arduino/user-code/ 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 [] - [196 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/volta + [198 </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 [197 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/a +.ino [199 </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>] [198 </home/fossee/Desk +ser-code/modbus/figures/active-power-output-setup.jpg>] [200 </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 [199]) +.sci [201]) (/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 [200]) +.py [202]) (/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 [201]) +l [203]) (/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 [202]) +ltage.mo [204]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readPo -wer.mo)) (./floss-arduino.bbl [203] [204 +wer.mo)) (./floss-arduino.bbl [205] [206 ] Underfull \hbox (badness 10000) in paragraph at lines 4--9 @@ -2243,11 +2255,11 @@ Overfull \hbox (15.39987pt too wide) in paragraph at lines 49--53 /Skittles_M%26M%27s [] -[205]) +[207]) \tf@thm=\write13 \openout13 = `floss-arduino.thm'. - [206] (./floss-arduino.aux) + [208] (./floss-arduino.aux) LaTeX Warning: There were undefined references. @@ -2256,10 +2268,10 @@ LaTeX Warning: There were multiply-defined labels. ) Here is how much of TeX's memory you used: - 9578 strings out of 481239 - 199641 string characters out of 5920377 + 9585 strings out of 481239 + 200098 string characters out of 5920377 742688 words of memory out of 5000000 - 24141 multiletter control sequences out of 15000+600000 + 24147 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 @@ -2287,10 +2299,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 (230 pages, 22459327 bytes). +Output written on floss-arduino.pdf (232 pages, 22534268 bytes). PDF statistics: - 1008 PDF objects out of 1200 (max. 8388607) - 610 compressed objects within 7 object streams + 1016 PDF objects out of 1200 (max. 8388607) + 614 compressed objects within 7 object streams 0 named destinations out of 1000 (max. 500000) - 446 words of extra memory for PDF output out of 10000 (max. 10000000) + 451 words of extra memory for PDF output out of 10000 (max. 10000000) diff --git a/floss-arduino.lot b/floss-arduino.lot index 0688e67..d396366 100644 --- a/floss-arduino.lot +++ b/floss-arduino.lot @@ -13,28 +13,28 @@ \contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the push button status on the display block\relax }}{85}% \contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{86}% \addvspace {10\p@ } -\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{99}% -\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{101}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {7.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{115}% -\contentsline {table}{\numberline {7.2}{\ignorespaces Parameters for DC motor initialization\relax }}{115}% -\contentsline {table}{\numberline {7.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{119}% -\contentsline {table}{\numberline {7.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{120}% -\contentsline {table}{\numberline {7.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{122}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{137}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{150}% -\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{152}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{162}% -\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{168}% -\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{170}% -\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{171}% -\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{172}% -\addvspace {10\p@ } -\contentsline {table}{\numberline {11.1}{\ignorespaces Interpretation of a request packet\relax }}{188}% -\contentsline {table}{\numberline {11.2}{\ignorespaces Interpretation of a response packet\relax }}{188}% -\contentsline {table}{\numberline {11.3}{\ignorespaces Hexadecimal to Decimal\relax }}{189}% -\contentsline {table}{\numberline {11.4}{\ignorespaces Single and Double Precision Representation\relax }}{189}% -\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{198}% +\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{101}% +\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{103}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {7.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{117}% +\contentsline {table}{\numberline {7.2}{\ignorespaces Parameters for DC motor initialization\relax }}{117}% +\contentsline {table}{\numberline {7.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{121}% +\contentsline {table}{\numberline {7.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{122}% +\contentsline {table}{\numberline {7.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{124}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{139}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{152}% +\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{154}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{164}% +\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{170}% +\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{172}% +\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{173}% +\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{174}% +\addvspace {10\p@ } +\contentsline {table}{\numberline {11.1}{\ignorespaces Interpretation of a request packet\relax }}{190}% +\contentsline {table}{\numberline {11.2}{\ignorespaces Interpretation of a response packet\relax }}{190}% +\contentsline {table}{\numberline {11.3}{\ignorespaces Hexadecimal to Decimal\relax }}{191}% +\contentsline {table}{\numberline {11.4}{\ignorespaces Single and Double Precision Representation\relax }}{191}% +\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{200}% diff --git a/floss-arduino.pdf b/floss-arduino.pdf Binary files differindex 36d4a64..20ab1b4 100644 --- a/floss-arduino.pdf +++ b/floss-arduino.pdf diff --git a/floss-arduino.pyd b/floss-arduino.pyd index 94f8788..e13d3e3 100644 --- a/floss-arduino.pyd +++ b/floss-arduino.pyd @@ -6,26 +6,26 @@ \contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{69}% \contentsline {section}{\numberline {4.{4}}Blinking the green LED}{70}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{87}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{88}% \contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{88}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{102}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{103}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{104}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{105}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{123}% -\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{124}% -\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{124}% +\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{125}% +\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{126}% +\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{126}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{138}% +\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{140}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{153}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{154}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{155}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{156}% \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 steps of $20^\circ $}{175}% -\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{176}% +\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{175}% +\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{176}% +\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{177}% +\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{178}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{200}% -\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{200}% -\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{201}% +\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{202}% +\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{202}% +\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{203}% diff --git a/floss-arduino.thm b/floss-arduino.thm index 25d44b3..256f2ce 100644 --- a/floss-arduino.thm +++ b/floss-arduino.thm @@ -26,98 +26,98 @@ \contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{75}% \contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{76}% \contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{77}% -\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{81}% -\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{81}% -\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{83}% -\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{83}% -\contentsline {egmass}{{Exercise}{5.{1}}{}}{85}% -\contentsline {pymass}{{Python Code}{5.{1}}{}}{87}% +\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{82}% +\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{82}% +\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{84}% +\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{84}% +\contentsline {egmass}{{Exercise}{5.{1}}{}}{86}% +\contentsline {pymass}{{Python Code}{5.{1}}{}}{88}% \contentsline {pymass}{{Python Code}{5.{2}}{}}{88}% \contentsline {juliamass}{{Julia Code}{5.{1}}{}}{90}% -\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{90}% +\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{91}% \contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{91}% \contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{92}% -\contentsline {egmass}{{Exercise}{6.{1}}{}}{95}% -\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{96}% -\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{96}% -\contentsline {egmass}{{Exercise}{6.{2}}{}}{97}% -\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{98}% -\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{98}% -\contentsline {egmass}{{Exercise}{6.{3}}{}}{102}% -\contentsline {pymass}{{Python Code}{6.{1}}{}}{102}% -\contentsline {pymass}{{Python Code}{6.{2}}{}}{103}% -\contentsline {egmass}{{Exercise}{6.{4}}{}}{104}% -\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{105}% -\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{105}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{106}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{107}% -\contentsline {egmass}{{Exercise}{7.{1}}{}}{112}% -\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{113}% -\contentsline {ardmass}{{Arduino Code}{7.{2}}{}}{113}% -\contentsline {ardmass}{{Arduino Code}{7.{3}}{}}{113}% -\contentsline {egmass}{{Exercise}{7.{2}}{}}{116}% -\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{117}% -\contentsline {codemass}{{Scilab Code}{7.{2}}{}}{117}% -\contentsline {codemass}{{Scilab Code}{7.{3}}{}}{117}% -\contentsline {egmass}{{Exercise}{7.{3}}{}}{119}% -\contentsline {pymass}{{Python Code}{7.{1}}{}}{123}% -\contentsline {pymass}{{Python Code}{7.{2}}{}}{124}% -\contentsline {pymass}{{Python Code}{7.{3}}{}}{124}% -\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{126}% -\contentsline {juliamass}{{Julia Code}{7.{2}}{}}{127}% -\contentsline {juliamass}{{Julia Code}{7.{3}}{}}{127}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{128}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{2}}{}}{128}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{3}}{}}{129}% -\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{133}% -\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{135}% -\contentsline {pymass}{{Python Code}{8.{1}}{}}{138}% -\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{140}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{141}% -\contentsline {egmass}{{Exercise}{9.{1}}{}}{145}% -\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{146}% -\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{146}% -\contentsline {egmass}{{Exercise}{9.{2}}{}}{147}% -\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{148}% -\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{149}% -\contentsline {pymass}{{Python Code}{9.{1}}{}}{153}% -\contentsline {pymass}{{Python Code}{9.{2}}{}}{154}% -\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{156}% -\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{156}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{157}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{158}% -\contentsline {egmass}{{Exercise}{10.{1}}{}}{163}% -\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{163}% -\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{164}% -\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{164}% -\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{165}% -\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{166}% -\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{166}% -\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{167}% -\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{167}% -\contentsline {pymass}{{Python Code}{10.{1}}{}}{173}% -\contentsline {pymass}{{Python Code}{10.{2}}{}}{174}% -\contentsline {pymass}{{Python Code}{10.{3}}{}}{175}% -\contentsline {pymass}{{Python Code}{10.{4}}{}}{176}% -\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{178}% -\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{178}% -\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{179}% -\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{179}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{180}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{181}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{182}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{182}% -\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{197}% -\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{199}% -\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{199}% -\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{199}% -\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{200}% -\contentsline {pymass}{{Python Code}{11.{1}}{}}{200}% -\contentsline {pymass}{{Python Code}{11.{2}}{}}{200}% -\contentsline {pymass}{{Python Code}{11.{3}}{}}{201}% -\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{201}% -\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{201}% -\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{202}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{202}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{202}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{203}% +\contentsline {egmass}{{Exercise}{6.{1}}{}}{97}% +\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{98}% +\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{98}% +\contentsline {egmass}{{Exercise}{6.{2}}{}}{99}% +\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{100}% +\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{100}% +\contentsline {egmass}{{Exercise}{6.{3}}{}}{104}% +\contentsline {pymass}{{Python Code}{6.{1}}{}}{104}% +\contentsline {pymass}{{Python Code}{6.{2}}{}}{105}% +\contentsline {egmass}{{Exercise}{6.{4}}{}}{106}% +\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{107}% +\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{107}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{108}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{109}% +\contentsline {egmass}{{Exercise}{7.{1}}{}}{114}% +\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{115}% +\contentsline {ardmass}{{Arduino Code}{7.{2}}{}}{115}% +\contentsline {ardmass}{{Arduino Code}{7.{3}}{}}{115}% +\contentsline {egmass}{{Exercise}{7.{2}}{}}{118}% +\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{119}% +\contentsline {codemass}{{Scilab Code}{7.{2}}{}}{119}% +\contentsline {codemass}{{Scilab Code}{7.{3}}{}}{119}% +\contentsline {egmass}{{Exercise}{7.{3}}{}}{121}% +\contentsline {pymass}{{Python Code}{7.{1}}{}}{125}% +\contentsline {pymass}{{Python Code}{7.{2}}{}}{126}% +\contentsline {pymass}{{Python Code}{7.{3}}{}}{126}% +\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{128}% +\contentsline {juliamass}{{Julia Code}{7.{2}}{}}{129}% +\contentsline {juliamass}{{Julia Code}{7.{3}}{}}{129}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{130}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{2}}{}}{130}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{3}}{}}{131}% +\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{135}% +\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{137}% +\contentsline {pymass}{{Python Code}{8.{1}}{}}{140}% +\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{142}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{143}% +\contentsline {egmass}{{Exercise}{9.{1}}{}}{147}% +\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{148}% +\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{148}% +\contentsline {egmass}{{Exercise}{9.{2}}{}}{149}% +\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{150}% +\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{151}% +\contentsline {pymass}{{Python Code}{9.{1}}{}}{155}% +\contentsline {pymass}{{Python Code}{9.{2}}{}}{156}% +\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{158}% +\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{158}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{159}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{160}% +\contentsline {egmass}{{Exercise}{10.{1}}{}}{165}% +\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{165}% +\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{166}% +\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{166}% +\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{167}% +\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{168}% +\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{168}% +\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{169}% +\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{169}% +\contentsline {pymass}{{Python Code}{10.{1}}{}}{175}% +\contentsline {pymass}{{Python Code}{10.{2}}{}}{176}% +\contentsline {pymass}{{Python Code}{10.{3}}{}}{177}% +\contentsline {pymass}{{Python Code}{10.{4}}{}}{178}% +\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{180}% +\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{180}% +\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{181}% +\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{181}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{182}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{183}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{184}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{184}% +\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{199}% +\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{201}% +\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{201}% +\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{201}% +\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{202}% +\contentsline {pymass}{{Python Code}{11.{1}}{}}{202}% +\contentsline {pymass}{{Python Code}{11.{2}}{}}{202}% +\contentsline {pymass}{{Python Code}{11.{3}}{}}{203}% +\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{203}% +\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{203}% +\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{204}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{204}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{204}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{205}% diff --git a/floss-arduino.toc b/floss-arduino.toc index 1976195..9c70065 100644 --- a/floss-arduino.toc +++ b/floss-arduino.toc @@ -76,126 +76,127 @@ \contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{75}% \contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{79}% \contentsline {section}{\numberline {5.1}Preliminaries}{79}% -\contentsline {section}{\numberline {5.2}Reading the Pushbutton Status from the Arduino IDE}{80}% -\contentsline {subsection}{\numberline {5.2.1}Reading the Pushbutton Status}{80}% -\contentsline {subsection}{\numberline {5.2.2}Arduino Code}{81}% -\contentsline {section}{\numberline {5.3}Reading the Pushbutton Status from Scilab}{82}% -\contentsline {subsection}{\numberline {5.3.1}Reading the Pushbutton Status}{82}% -\contentsline {subsection}{\numberline {5.3.2}Scilab Code}{83}% -\contentsline {section}{\numberline {5.4}Accessing the Pushbutton from Xcos}{83}% -\contentsline {section}{\numberline {5.5}Reading the Pushbutton Status from Python}{86}% -\contentsline {subsection}{\numberline {5.5.1}Reading the Pushbutton Status}{86}% -\contentsline {subsection}{\numberline {5.5.2}Python Code}{87}% -\contentsline {section}{\numberline {5.6}Reading the Pushbutton Status from Julia}{89}% -\contentsline {subsection}{\numberline {5.6.1}Reading the Pushbutton Status}{89}% -\contentsline {subsection}{\numberline {5.6.2}Julia Code}{90}% -\contentsline {section}{\numberline {5.7}Reading the Pushbutton Status from OpenModelica}{90}% +\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{79}% +\contentsline {section}{\numberline {5.3}Reading the Pushbutton Status from the Arduino IDE}{80}% +\contentsline {subsection}{\numberline {5.3.1}Reading the Pushbutton Status}{80}% +\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{82}% +\contentsline {section}{\numberline {5.4}Reading the Pushbutton Status from Scilab}{83}% +\contentsline {subsection}{\numberline {5.4.1}Reading the Pushbutton Status}{83}% +\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{84}% +\contentsline {section}{\numberline {5.5}Accessing the Pushbutton from Xcos}{84}% +\contentsline {section}{\numberline {5.6}Reading the Pushbutton Status from Python}{87}% +\contentsline {subsection}{\numberline {5.6.1}Reading the Pushbutton Status}{87}% +\contentsline {subsection}{\numberline {5.6.2}Python Code}{88}% +\contentsline {section}{\numberline {5.7}Reading the Pushbutton Status from Julia}{90}% \contentsline {subsection}{\numberline {5.7.1}Reading the Pushbutton Status}{90}% -\contentsline {subsection}{\numberline {5.7.2}OpenModelica Code}{91}% -\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{93}% -\contentsline {section}{\numberline {6.1}Preliminaries}{93}% -\contentsline {section}{\numberline {6.2}Interfacing the LDR through the Arduino IDE}{95}% -\contentsline {subsection}{\numberline {6.2.1}Interfacing the LDR}{95}% -\contentsline {subsection}{\numberline {6.2.2}Arduino Code}{96}% -\contentsline {section}{\numberline {6.3}Interfacing the LDR through Scilab}{97}% -\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{97}% -\contentsline {subsection}{\numberline {6.3.2}Scilab Code}{98}% -\contentsline {section}{\numberline {6.4}Interfacing the LDR through Xcos}{98}% -\contentsline {section}{\numberline {6.5}Interfacing the LDR through Python}{100}% -\contentsline {subsection}{\numberline {6.5.1}Interfacing the LDR}{100}% -\contentsline {subsection}{\numberline {6.5.2}Python Code}{102}% -\contentsline {section}{\numberline {6.6}Interfacing the LDR through Julia}{104}% -\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{104}% -\contentsline {subsection}{\numberline {6.6.2}Julia Code}{105}% -\contentsline {section}{\numberline {6.7}Interfacing the LDR through OpenModelica}{106}% -\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{106}% -\contentsline {subsection}{\numberline {6.7.2}OpenModelica Code}{106}% -\contentsline {chapter}{\numberline {7}Controlling a DC motor}{109}% -\contentsline {section}{\numberline {7.1}Preliminaries}{109}% -\contentsline {section}{\numberline {7.2}Controlling the DC motor from Arduino}{111}% -\contentsline {subsection}{\numberline {7.2.1}Controlling the DC motor}{111}% -\contentsline {subsection}{\numberline {7.2.2}Arduino Code}{113}% -\contentsline {section}{\numberline {7.3}Controlling the DC motor from Scilab}{114}% -\contentsline {subsection}{\numberline {7.3.1}Initialization}{114}% -\contentsline {subsection}{\numberline {7.3.2}Rotation for a specified time}{115}% -\contentsline {subsection}{\numberline {7.3.3}Using the capabilities of Scilab}{116}% -\contentsline {subsection}{\numberline {7.3.4}Scilab Code}{117}% -\contentsline {section}{\numberline {7.4}Controlling the DC Motor from Xcos}{118}% -\contentsline {section}{\numberline {7.5}Controlling the DC Motor from Python}{121}% -\contentsline {subsection}{\numberline {7.5.1}Controlling the DC Motor}{121}% -\contentsline {subsection}{\numberline {7.5.2}Python Code}{123}% -\contentsline {section}{\numberline {7.6}Controlling the DC Motor from Julia}{126}% -\contentsline {subsection}{\numberline {7.6.1}Controlling the DC Motor}{126}% -\contentsline {subsection}{\numberline {7.6.2}Julia Code}{126}% -\contentsline {section}{\numberline {7.7}Controlling the DC Motor from OpenModelica}{127}% -\contentsline {subsection}{\numberline {7.7.1}Controlling the DC Motor}{127}% -\contentsline {subsection}{\numberline {7.7.2}OpenModelica Code}{128}% -\contentsline {chapter}{\numberline {8}Interfacing a Potentiometer}{131}% -\contentsline {section}{\numberline {8.1}Preliminaries}{131}% -\contentsline {section}{\numberline {8.2}Reading the potentiometer from the Arduino IDE}{132}% -\contentsline {subsection}{\numberline {8.2.1}Reading the potentiometer}{132}% -\contentsline {subsection}{\numberline {8.2.2}Arduino Code}{133}% -\contentsline {section}{\numberline {8.3}Reading the potentiometer from Scilab}{134}% -\contentsline {subsection}{\numberline {8.3.1}Reading the potentiometer}{134}% -\contentsline {subsection}{\numberline {8.3.2}Scilab Code}{135}% -\contentsline {section}{\numberline {8.4}Reading the potentiometer from Xcos}{135}% -\contentsline {paragraph}{Exercise:}{136}% -\contentsline {section}{\numberline {8.5}Reading the potentiometer from Python}{136}% -\contentsline {subsection}{\numberline {8.5.1}Reading the potentiometer}{136}% -\contentsline {subsection}{\numberline {8.5.2}Python Code}{138}% -\contentsline {section}{\numberline {8.6}Reading the potentiometer from Julia}{139}% -\contentsline {subsection}{\numberline {8.6.1}Reading the potentiometer}{139}% -\contentsline {subsection}{\numberline {8.6.2}Julia Code}{140}% -\contentsline {section}{\numberline {8.7}Reading the potentiometer from OpenModelica}{140}% -\contentsline {subsection}{\numberline {8.7.1}Reading the potentiometer}{140}% -\contentsline {subsection}{\numberline {8.7.2}OpenModelica Code}{141}% -\contentsline {chapter}{\numberline {9}Interfacing a Thermistor}{143}% -\contentsline {section}{\numberline {9.1}Preliminaries}{143}% -\contentsline {section}{\numberline {9.2}Interfacing the Thermistor from the Arduino IDE}{144}% -\contentsline {subsection}{\numberline {9.2.1}Interfacing the Thermistor}{144}% -\contentsline {subsection}{\numberline {9.2.2}Arduino Code}{146}% -\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from Scilab}{147}% -\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{147}% -\contentsline {subsection}{\numberline {9.3.2}Scilab Code}{148}% -\contentsline {section}{\numberline {9.4}Interfacing the Thermistor from Xcos}{149}% -\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Python}{151}% -\contentsline {subsection}{\numberline {9.5.1}Interfacing the Thermistor}{151}% -\contentsline {subsection}{\numberline {9.5.2}Python Code}{153}% -\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Julia}{155}% -\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{155}% -\contentsline {subsection}{\numberline {9.6.2}Julia Code}{156}% -\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from OpenModelica}{156}% -\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{156}% -\contentsline {subsection}{\numberline {9.7.2}OpenModelica Code}{157}% -\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{161}% -\contentsline {section}{\numberline {10.1}Preliminaries}{161}% -\contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{162}% -\contentsline {subsection}{\numberline {10.2.1}Controlling the Servometer}{162}% -\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{163}% -\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{165}% -\contentsline {subsection}{\numberline {10.3.1}Controlling the Servomotor}{165}% -\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{166}% -\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{167}% -\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{172}% -\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{172}% -\contentsline {subsection}{\numberline {10.5.2}Python Code}{173}% -\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{177}% -\contentsline {subsection}{\numberline {10.6.1}Controlling the Servomotor}{177}% -\contentsline {subsection}{\numberline {10.6.2}Julia Code}{178}% -\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{179}% -\contentsline {subsection}{\numberline {10.7.1}Controlling the Servomotor}{179}% -\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{180}% -\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{185}% -\contentsline {section}{\numberline {11.1}Preliminaries}{185}% -\contentsline {section}{\numberline {11.2}Objective}{190}% -\contentsline {section}{\numberline {11.3}Energy Meter set up for Modbus protocol with Arduino Uno}{190}% -\contentsline {section}{\numberline {11.4}Software}{191}% -\contentsline {section}{\numberline {11.5}Output}{192}% -\contentsline {section}{\numberline {11.6}Reading Parameters from Xcos}{194}% -\contentsline {section}{\numberline {11.7}Code}{197}% -\contentsline {subsection}{\numberline {11.7.1}Arduino Code}{197}% -\contentsline {subsection}{\numberline {11.7.2}Scilab Code}{199}% -\contentsline {subsection}{\numberline {11.7.3}Python Code}{200}% -\contentsline {subsection}{\numberline {11.7.4}Julia Code}{201}% -\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{202}% -\contentsline {chapter}{\numberline {References}}{205}% +\contentsline {subsection}{\numberline {5.7.2}Julia Code}{90}% +\contentsline {section}{\numberline {5.8}Reading the Pushbutton Status from OpenModelica}{91}% +\contentsline {subsection}{\numberline {5.8.1}Reading the Pushbutton Status}{91}% +\contentsline {subsection}{\numberline {5.8.2}OpenModelica Code}{91}% +\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{95}% +\contentsline {section}{\numberline {6.1}Preliminaries}{95}% +\contentsline {section}{\numberline {6.2}Interfacing the LDR through the Arduino IDE}{97}% +\contentsline {subsection}{\numberline {6.2.1}Interfacing the LDR}{97}% +\contentsline {subsection}{\numberline {6.2.2}Arduino Code}{98}% +\contentsline {section}{\numberline {6.3}Interfacing the LDR through Scilab}{99}% +\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{99}% +\contentsline {subsection}{\numberline {6.3.2}Scilab Code}{100}% +\contentsline {section}{\numberline {6.4}Interfacing the LDR through Xcos}{100}% +\contentsline {section}{\numberline {6.5}Interfacing the LDR through Python}{102}% +\contentsline {subsection}{\numberline {6.5.1}Interfacing the LDR}{102}% +\contentsline {subsection}{\numberline {6.5.2}Python Code}{104}% +\contentsline {section}{\numberline {6.6}Interfacing the LDR through Julia}{106}% +\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{106}% +\contentsline {subsection}{\numberline {6.6.2}Julia Code}{107}% +\contentsline {section}{\numberline {6.7}Interfacing the LDR through OpenModelica}{108}% +\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{108}% +\contentsline {subsection}{\numberline {6.7.2}OpenModelica Code}{108}% +\contentsline {chapter}{\numberline {7}Controlling a DC motor}{111}% +\contentsline {section}{\numberline {7.1}Preliminaries}{111}% +\contentsline {section}{\numberline {7.2}Controlling the DC motor from Arduino}{113}% +\contentsline {subsection}{\numberline {7.2.1}Controlling the DC motor}{113}% +\contentsline {subsection}{\numberline {7.2.2}Arduino Code}{115}% +\contentsline {section}{\numberline {7.3}Controlling the DC motor from Scilab}{116}% +\contentsline {subsection}{\numberline {7.3.1}Initialization}{116}% +\contentsline {subsection}{\numberline {7.3.2}Rotation for a specified time}{117}% +\contentsline {subsection}{\numberline {7.3.3}Using the capabilities of Scilab}{118}% +\contentsline {subsection}{\numberline {7.3.4}Scilab Code}{119}% +\contentsline {section}{\numberline {7.4}Controlling the DC Motor from Xcos}{120}% +\contentsline {section}{\numberline {7.5}Controlling the DC Motor from Python}{123}% +\contentsline {subsection}{\numberline {7.5.1}Controlling the DC Motor}{123}% +\contentsline {subsection}{\numberline {7.5.2}Python Code}{125}% +\contentsline {section}{\numberline {7.6}Controlling the DC Motor from Julia}{128}% +\contentsline {subsection}{\numberline {7.6.1}Controlling the DC Motor}{128}% +\contentsline {subsection}{\numberline {7.6.2}Julia Code}{128}% +\contentsline {section}{\numberline {7.7}Controlling the DC Motor from OpenModelica}{129}% +\contentsline {subsection}{\numberline {7.7.1}Controlling the DC Motor}{129}% +\contentsline {subsection}{\numberline {7.7.2}OpenModelica Code}{130}% +\contentsline {chapter}{\numberline {8}Interfacing a Potentiometer}{133}% +\contentsline {section}{\numberline {8.1}Preliminaries}{133}% +\contentsline {section}{\numberline {8.2}Reading the potentiometer from the Arduino IDE}{134}% +\contentsline {subsection}{\numberline {8.2.1}Reading the potentiometer}{134}% +\contentsline {subsection}{\numberline {8.2.2}Arduino Code}{135}% +\contentsline {section}{\numberline {8.3}Reading the potentiometer from Scilab}{136}% +\contentsline {subsection}{\numberline {8.3.1}Reading the potentiometer}{136}% +\contentsline {subsection}{\numberline {8.3.2}Scilab Code}{137}% +\contentsline {section}{\numberline {8.4}Reading the potentiometer from Xcos}{137}% +\contentsline {paragraph}{Exercise:}{138}% +\contentsline {section}{\numberline {8.5}Reading the potentiometer from Python}{138}% +\contentsline {subsection}{\numberline {8.5.1}Reading the potentiometer}{138}% +\contentsline {subsection}{\numberline {8.5.2}Python Code}{140}% +\contentsline {section}{\numberline {8.6}Reading the potentiometer from Julia}{141}% +\contentsline {subsection}{\numberline {8.6.1}Reading the potentiometer}{141}% +\contentsline {subsection}{\numberline {8.6.2}Julia Code}{142}% +\contentsline {section}{\numberline {8.7}Reading the potentiometer from OpenModelica}{142}% +\contentsline {subsection}{\numberline {8.7.1}Reading the potentiometer}{142}% +\contentsline {subsection}{\numberline {8.7.2}OpenModelica Code}{143}% +\contentsline {chapter}{\numberline {9}Interfacing a Thermistor}{145}% +\contentsline {section}{\numberline {9.1}Preliminaries}{145}% +\contentsline {section}{\numberline {9.2}Interfacing the Thermistor from the Arduino IDE}{146}% +\contentsline {subsection}{\numberline {9.2.1}Interfacing the Thermistor}{146}% +\contentsline {subsection}{\numberline {9.2.2}Arduino Code}{148}% +\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from Scilab}{149}% +\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{149}% +\contentsline {subsection}{\numberline {9.3.2}Scilab Code}{150}% +\contentsline {section}{\numberline {9.4}Interfacing the Thermistor from Xcos}{151}% +\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Python}{153}% +\contentsline {subsection}{\numberline {9.5.1}Interfacing the Thermistor}{153}% +\contentsline {subsection}{\numberline {9.5.2}Python Code}{155}% +\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Julia}{157}% +\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{157}% +\contentsline {subsection}{\numberline {9.6.2}Julia Code}{158}% +\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from OpenModelica}{158}% +\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{158}% +\contentsline {subsection}{\numberline {9.7.2}OpenModelica Code}{159}% +\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{163}% +\contentsline {section}{\numberline {10.1}Preliminaries}{163}% +\contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{164}% +\contentsline {subsection}{\numberline {10.2.1}Controlling the Servometer}{164}% +\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{165}% +\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{167}% +\contentsline {subsection}{\numberline {10.3.1}Controlling the Servomotor}{167}% +\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{168}% +\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{169}% +\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{174}% +\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{174}% +\contentsline {subsection}{\numberline {10.5.2}Python Code}{175}% +\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{179}% +\contentsline {subsection}{\numberline {10.6.1}Controlling the Servomotor}{179}% +\contentsline {subsection}{\numberline {10.6.2}Julia Code}{180}% +\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{181}% +\contentsline {subsection}{\numberline {10.7.1}Controlling the Servomotor}{181}% +\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{182}% +\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{187}% +\contentsline {section}{\numberline {11.1}Preliminaries}{187}% +\contentsline {section}{\numberline {11.2}Objective}{192}% +\contentsline {section}{\numberline {11.3}Energy Meter set up for Modbus protocol with Arduino Uno}{192}% +\contentsline {section}{\numberline {11.4}Software}{193}% +\contentsline {section}{\numberline {11.5}Output}{194}% +\contentsline {section}{\numberline {11.6}Reading Parameters from Xcos}{196}% +\contentsline {section}{\numberline {11.7}Code}{199}% +\contentsline {subsection}{\numberline {11.7.1}Arduino Code}{199}% +\contentsline {subsection}{\numberline {11.7.2}Scilab Code}{201}% +\contentsline {subsection}{\numberline {11.7.3}Python Code}{202}% +\contentsline {subsection}{\numberline {11.7.4}Julia Code}{203}% +\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{204}% +\contentsline {chapter}{\numberline {References}}{207}% diff --git a/user-code/push/figures/ard-pushbtn.png b/user-code/push/figures/ard-pushbtn.png Binary files differnew file mode 100644 index 0000000..6d481c2 --- /dev/null +++ b/user-code/push/figures/ard-pushbtn.png diff --git a/user-code/push/push.tex b/user-code/push/push.tex index 1c75868..54dc154 100644 --- a/user-code/push/push.tex +++ b/user-code/push/push.tex @@ -66,6 +66,24 @@ is provided by the manufacturer in the datasheet. \label{fig:pushbuttonconn}
\end{figure}
+\section{Connecting a pushbutton with \arduino\ using a breadboard}
+This section is useful for those who either don't have a shield or don't want to use the shield
+for performing the experiments given in this chapter.
+
+To know more about the pushbutton, one should watch the Spoken Tutorials on Arduino as published on
+ {\tt https://spoken-tutorial.org/}. In case, you have a pushbutton and you want to try connecting it with \arduino\ on a breadboard, you should
+refer to the sixth tutorial titled Arduino with Tricolor LED and Push button on {\tt https://spoken-tutorial.org/}.
+To know the connections, please refer to the figure \ref{fig:ard-pushbtn-bread}. The connections given in this
+figure can be used to read the status of a pushbutton.
+
+\begin{figure}
+ \centering
+ \includegraphics[width=\textwidth]{\LocPushfig/ard-pushbtn.png}
+ \caption{Interfacing an RGB LED with Arduino Uno using a breadboard}
+ %\redcolor{connected on pin no. D12}}
+ \label{fig:ard-pushbtn-bread}
+\end{figure}
+
\section{Reading the Pushbutton Status from the Arduino IDE}
\subsection{Reading the Pushbutton Status}
In this section, we shall learn commands to read the status of a
|