diff options
author | SudhakarKuma | 2021-03-17 15:25:15 +0530 |
---|---|---|
committer | SudhakarKuma | 2021-03-17 15:25:15 +0530 |
commit | 807058186c8f977a7be9f5c431c17fbe49174d66 (patch) | |
tree | 02fe5ac08515f71d9046497e959091d7322ed82e | |
parent | 58d86b3cb96c712065a9437057e31ded916f8717 (diff) | |
download | FLOSS-Arduino-Book-807058186c8f977a7be9f5c431c17fbe49174d66.tar.gz FLOSS-Arduino-Book-807058186c8f977a7be9f5c431c17fbe49174d66.tar.bz2 FLOSS-Arduino-Book-807058186c8f977a7be9f5c431c17fbe49174d66.zip |
Add remaining breadboard connections
-rw-r--r-- | floss-arduino.OpenModelicad | 8 | ||||
-rw-r--r-- | floss-arduino.ard | 6 | ||||
-rw-r--r-- | floss-arduino.aux | 386 | ||||
-rw-r--r-- | floss-arduino.cod | 4 | ||||
-rw-r--r-- | floss-arduino.fdb_latexmk | 62 | ||||
-rw-r--r-- | floss-arduino.fls | 6 | ||||
-rw-r--r-- | floss-arduino.juliad | 6 | ||||
-rw-r--r-- | floss-arduino.lof | 16 | ||||
-rw-r--r-- | floss-arduino.log | 220 | ||||
-rw-r--r-- | floss-arduino.lot | 8 | ||||
-rw-r--r-- | floss-arduino.pdf | bin | 22534268 -> 22708634 bytes | |||
-rw-r--r-- | floss-arduino.pyd | 8 | ||||
-rw-r--r-- | floss-arduino.thm | 44 | ||||
-rw-r--r-- | floss-arduino.toc | 64 | ||||
-rw-r--r-- | user-code/ldr/figures/ard-ldr.png | bin | 0 -> 110313 bytes | |||
-rw-r--r-- | user-code/ldr/ldr.tex | 18 | ||||
-rw-r--r-- | user-code/push/push.tex | 2 | ||||
-rw-r--r-- | user-code/thermistor/figures/ard-therm.png | bin | 0 -> 96760 bytes | |||
-rw-r--r-- | user-code/thermistor/thermistor.tex | 18 |
19 files changed, 476 insertions, 400 deletions
diff --git a/floss-arduino.OpenModelicad b/floss-arduino.OpenModelicad index 1c4bc23..d76b6d0 100644 --- a/floss-arduino.OpenModelicad +++ b/floss-arduino.OpenModelicad @@ -8,8 +8,8 @@ \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}{108}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{109}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{109}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{110}% \addvspace {10pt} \contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{130}% \contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{130}% @@ -17,8 +17,8 @@ \addvspace {10pt} \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}{159}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{160}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{160}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{161}% \addvspace {10pt} \contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{182}% \contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{183}% diff --git a/floss-arduino.ard b/floss-arduino.ard index 16eaecd..79fecc6 100644 --- a/floss-arduino.ard +++ b/floss-arduino.ard @@ -8,8 +8,8 @@ \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}{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}{99}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{99}% \addvspace {10pt} \contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{115}% \contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{115}% @@ -18,7 +18,7 @@ \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}{148}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{148}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{149}% \addvspace {10pt} \contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{165}% \contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{166}% diff --git a/floss-arduino.aux b/floss-arduino.aux index f9b6614..fb04c1d 100644 --- a/floss-arduino.aux +++ b/floss-arduino.aux @@ -456,7 +456,7 @@ \newlabel{fig:pushbuttonconn}{{5.1}{80}} \@writefile{toc}{\contentsline {section}{\numberline {5.3}Reading the Pushbutton Status from the Arduino IDE}{80}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {5.3.1}Reading the Pushbutton Status}{80}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {5.2}{\ignorespaces Interfacing an RGB LED with Arduino Uno using a breadboard\relax }}{81}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {5.2}{\ignorespaces Interfacing a pushbutton with Arduino Uno using a breadboard\relax }}{81}\protected@file@percent } \newlabel{fig:ard-pushbtn-bread}{{5.2}{81}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push\textendash button\textendash status/push\textendash button\textendash status.ino}{81}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push\textendash button\textendash status/push\textendash button\textendash status.ino}{81}\protected@file@percent } @@ -586,117 +586,120 @@ \@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}}{}}{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{lof}{\contentsline {figure}{\numberline {6.3}{\ignorespaces Interfacing an LDR with Arduino Uno using a breadboard\relax }}{97}\protected@file@percent } +\newlabel{fig:ard-ldr-bread}{{6.3}{97}} +\@writefile{toc}{\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{97}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{97}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{97}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{98}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{98}\protected@file@percent } -\@writefile{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{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{98}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{1}}{}}{98}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{99}\protected@file@percent } +\newlabel{sec:ldr-arduino-code}{{6.3.2}{99}} +\@writefile{ard}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{99}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{99}\protected@file@percent } +\newlabel{62@xvr}{{}{99}} +\newlabel{62@vr}{{}{99}} +\newlabel{ard:ldr-read}{{6.{1}}{99}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{99}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{99}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{99}\protected@file@percent } +\newlabel{63@xvr}{{}{99}} +\newlabel{63@vr}{{}{99}} +\newlabel{ard:ldr-led}{{6.{2}}{99}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash led/ldr\textendash led.ino}{99}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{99}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{99}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{2}}{}}{100}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{100}\protected@file@percent } +\newlabel{sec:ldr-scilab-code}{{6.4.2}{100}} \@writefile{cod}{\addvspace {10pt}} \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{100}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{100}\protected@file@percent } \newlabel{64@xvr}{{}{100}} \newlabel{64@vr}{{}{100}} \newlabel{sci:ldr-read}{{6.{1}}{100}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash read.sce}{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{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash read.sce}{101}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{101}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{101}\protected@file@percent } +\newlabel{65@xvr}{{}{101}} +\newlabel{65@vr}{{}{101}} +\newlabel{sci:ldr-led}{{6.{2}}{101}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash led.sce}{101}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{101}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {6.4}{\ignorespaces Xcos diagram to read LDR values}}{102}\protected@file@percent } +\newlabel{67@xvr}{{}{102}} +\newlabel{67@vr}{{}{102}} +\newlabel{fig:ldr-read}{{6.4}{102}} +\@writefile{lot}{\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{102}\protected@file@percent } +\newlabel{tab:ldr-read}{{6.1}{102}} +\newlabel{68@xvr}{{}{102}} +\newlabel{68@vr}{{}{102}} +\@writefile{lof}{\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}}{103}\protected@file@percent } +\newlabel{70@xvr}{{}{103}} +\newlabel{70@vr}{{}{103}} +\newlabel{fig:ldr-led}{{6.5}{103}} +\@writefile{toc}{\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{103}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{103}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{104}\protected@file@percent } +\newlabel{tab:ldr-led}{{6.2}{104}} +\newlabel{71@xvr}{{}{104}} +\newlabel{71@vr}{{}{104}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{3}}{}}{105}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.2}Python Code}{105}\protected@file@percent } +\newlabel{sec:ldr-python-code}{{6.6.2}{105}} \@writefile{pyd}{\addvspace {10pt}} -\@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{thm}{\contentsline {pymass}{{Python Code}{6.{1}}{}}{105}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{105}\protected@file@percent } +\newlabel{72@xvr}{{}{105}} +\newlabel{72@vr}{{}{105}} +\newlabel{py:ldr-read}{{6.{1}}{105}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash read.py}{105}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{2}}{}}{106}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{106}\protected@file@percent } +\newlabel{73@xvr}{{}{106}} +\newlabel{73@vr}{{}{106}} +\newlabel{py:ldr-led}{{6.{2}}{106}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash led.py}{106}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{107}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{107}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{107}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{4}}{}}{107}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.2}Julia Code}{108}\protected@file@percent } +\newlabel{sec:ldr-julia-code}{{6.7.2}{108}} \@writefile{juliad}{\addvspace {10pt}} -\@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{thm}{\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{108}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{108}\protected@file@percent } +\newlabel{74@xvr}{{}{108}} +\newlabel{74@vr}{{}{108}} +\newlabel{julia:ldr-read}{{6.{1}}{108}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash read.jl}{108}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{108}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{108}\protected@file@percent } +\newlabel{75@xvr}{{}{108}} +\newlabel{75@vr}{{}{108}} +\newlabel{julia:ldr-led}{{6.{2}}{108}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash led.jl}{108}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{108}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{108}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{109}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{109}\protected@file@percent } +\newlabel{sec:ldr-OpenModelica-code}{{6.8.2}{109}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@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{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{109}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{109}\protected@file@percent } +\newlabel{76@xvr}{{}{109}} +\newlabel{76@vr}{{}{109}} +\newlabel{OpenModelica:ldr-read}{{6.{1}}{109}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash read.mo}{109}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{110}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{110}\protected@file@percent } +\newlabel{77@xvr}{{}{110}} +\newlabel{77@vr}{{}{110}} +\newlabel{OpenModelica:ldr-led}{{6.{2}}{110}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash led.mo}{110}\protected@file@percent } \@writefile{toc}{\contentsline {chapter}{\numberline {7}Controlling a DC motor}{111}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} @@ -975,14 +978,17 @@ \@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{toc}{\contentsline {section}{\numberline {9.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{146}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {9.3}{\ignorespaces Interfacing a thermistor with Arduino Uno using a breadboard\relax }}{147}\protected@file@percent } +\newlabel{fig:ard-therm-bread}{{9.3}{147}} +\@writefile{toc}{\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from the Arduino IDE}{147}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{147}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{147}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{147}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{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{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{148}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{1}}{}}{148}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{148}\protected@file@percent } +\newlabel{sec:therm-arduino-code}{{9.3.2}{148}} \@writefile{ard}{\addvspace {10pt}} \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{148}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{148}\protected@file@percent } @@ -990,108 +996,108 @@ \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 } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{149}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{149}\protected@file@percent } +\newlabel{112@xvr}{{}{149}} +\newlabel{112@vr}{{}{149}} +\newlabel{ard:therm-buzzer}{{9.{2}}{149}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash buzzer/therm\textendash buzzer.ino}{149}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.4}Interfacing the Thermistor from Scilab}{150}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.1}Interfacing the Thermistor}{150}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{2}}{}}{150}\protected@file@percent } \newlabel{therm-abc}{{9.1}{150}} -\newlabel{therm-beta}{{9.2}{150}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.2}Scilab Code}{150}\protected@file@percent } -\newlabel{sec:therm-scilab-code}{{9.3.2}{150}} +\newlabel{therm-beta}{{9.2}{151}} +\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{151}\protected@file@percent } +\newlabel{sec:therm-scilab-code}{{9.4.2}{151}} \@writefile{cod}{\addvspace {10pt}} -\@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.{1}}{}}{151}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{151}\protected@file@percent } +\newlabel{113@xvr}{{}{151}} +\newlabel{113@vr}{{}{151}} +\newlabel{sci:therm-read}{{9.{1}}{151}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash read.sce}{151}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{151}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{151}\protected@file@percent } \newlabel{114@xvr}{{}{151}} \newlabel{114@vr}{{}{151}} \newlabel{sci:therm-buzzer}{{9.{2}}{151}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash buzzer.sce}{151}\protected@file@percent } -\@writefile{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 } +\@writefile{lof}{\contentsline {figure}{\numberline {9.4}{\ignorespaces Xcos diagram to read thermistor values}}{152}\protected@file@percent } \newlabel{116@xvr}{{}{152}} \newlabel{116@vr}{{}{152}} -\newlabel{fig:therm-read}{{9.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{fig:therm-read}{{9.4}{152}} +\@writefile{toc}{\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Xcos}{152}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{153}\protected@file@percent } +\newlabel{tab:therm-read}{{9.1}{153}} +\newlabel{117@xvr}{{}{153}} +\newlabel{117@vr}{{}{153}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.5}{\ignorespaces Output of Xcos diagram to read thermistor values}}{153}\protected@file@percent } \newlabel{119@xvr}{{}{153}} \newlabel{119@vr}{{}{153}} -\newlabel{fig:therm-read-output}{{9.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}} +\newlabel{fig:therm-read-output}{{9.5}{153}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.6}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{154}\protected@file@percent } +\newlabel{121@xvr}{{}{154}} +\newlabel{121@vr}{{}{154}} +\newlabel{fig:therm-buzzer}{{9.6}{154}} +\@writefile{toc}{\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Python}{154}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{154}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{155}\protected@file@percent } +\newlabel{tab:ldr-led}{{9.2}{155}} +\newlabel{122@xvr}{{}{155}} +\newlabel{122@vr}{{}{155}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.7}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{155}\protected@file@percent } +\newlabel{124@xvr}{{}{155}} +\newlabel{124@vr}{{}{155}} +\newlabel{fig:therm-buzzer-output}{{9.7}{155}} +\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.2}Python Code}{156}\protected@file@percent } +\newlabel{sec:therm-pyhton-code}{{9.6.2}{156}} \@writefile{pyd}{\addvspace {10pt}} -\@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{thm}{\contentsline {pymass}{{Python Code}{9.{1}}{}}{156}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{156}\protected@file@percent } +\newlabel{125@xvr}{{}{156}} +\newlabel{125@vr}{{}{156}} +\newlabel{py:therm-read}{{9.{1}}{156}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash read.py}{156}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{2}}{}}{157}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{157}\protected@file@percent } +\newlabel{126@xvr}{{}{157}} +\newlabel{126@vr}{{}{157}} +\newlabel{py:therm-buzzer}{{9.{2}}{157}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash buzzer.py}{157}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from Julia}{158}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{158}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.2}Julia Code}{158}\protected@file@percent } +\newlabel{sec:therm-julia-code}{{9.7.2}{158}} \@writefile{juliad}{\addvspace {10pt}} \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{158}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{158}\protected@file@percent } \newlabel{127@xvr}{{}{158}} \newlabel{127@vr}{{}{158}} \newlabel{julia:therm-read}{{9.{1}}{158}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash read.jl}{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{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash read.jl}{159}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{159}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{159}\protected@file@percent } +\newlabel{128@xvr}{{}{159}} +\newlabel{128@vr}{{}{159}} +\newlabel{julia:therm-buzzer}{{9.{2}}{159}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash buzzer.jl}{159}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.8}Interfacing the Thermistor from OpenModelica}{159}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.1}Interfacing the Thermistor}{159}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{160}\protected@file@percent } +\newlabel{sec:therm-OpenModelica-code}{{9.8.2}{160}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@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{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{160}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{160}\protected@file@percent } +\newlabel{129@xvr}{{}{160}} +\newlabel{129@vr}{{}{160}} +\newlabel{OpenModelica:therm-read}{{9.{1}}{160}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash read.mo}{160}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{161}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{161}\protected@file@percent } +\newlabel{130@xvr}{{}{161}} +\newlabel{130@vr}{{}{161}} +\newlabel{OpenModelica:therm-buzzer}{{9.{2}}{161}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash buzzer.mo}{161}\protected@file@percent } \@writefile{toc}{\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{163}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} diff --git a/floss-arduino.cod b/floss-arduino.cod index 5e28ca3..f72e8de 100644 --- a/floss-arduino.cod +++ b/floss-arduino.cod @@ -12,7 +12,7 @@ \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}{100}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{100}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{101}% \addvspace {10pt} \contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{119}% \contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{119}% @@ -20,7 +20,7 @@ \addvspace {10pt} \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}{150}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{151}% \contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{151}% \addvspace {10pt} \contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{168}% diff --git a/floss-arduino.fdb_latexmk b/floss-arduino.fdb_latexmk index ad57451..f1d6ac2 100644 --- a/floss-arduino.fdb_latexmk +++ b/floss-arduino.fdb_latexmk @@ -1,19 +1,19 @@ # Fdb version 3 -["bibtex floss-arduino"] 1615971631 "floss-arduino.aux" "floss-arduino.bbl" "floss-arduino" 1615971892 +["bibtex floss-arduino"] 1615974806 "floss-arduino.aux" "floss-arduino.bbl" "floss-arduino" 1615974812 "/usr/share/texlive/texmf-dist/bibtex/bst/base/unsrt.bst" 1292289607 18030 1376b4b231b50c66211e47e42eda2875 "" "bibliography.bib" 1615963613 3279 e2e78d605bb19352cf7337ce29810b6c "" - "floss-arduino.aux" 1615971891 123281 db5b1f98b58b3cc94df540c21107616a "pdflatex" + "floss-arduino.aux" 1615974812 123997 82ae9689f8ff191acafcdbc25dafa312 "pdflatex" (generated) "floss-arduino.blg" "floss-arduino.bbl" -["makeindex floss-arduino.idx"] 1615971465 "floss-arduino.idx" "floss-arduino.ind" "floss-arduino" 1615971892 - "floss-arduino.idx" 1615971891 187 7338b108df3d45fabf71707857da02aa "pdflatex" +["makeindex floss-arduino.idx"] 1615972992 "floss-arduino.idx" "floss-arduino.ind" "floss-arduino" 1615974812 + "floss-arduino.idx" 1615974812 187 7338b108df3d45fabf71707857da02aa "pdflatex" (generated) "floss-arduino.ilg" "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 +["pdflatex"] 1615974807 "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" "floss-arduino" 1615974812 "/etc/texmf/web2c/texmf.cnf" 1602253014 475 c0e671620eb5563b2130f56340a5fde8 "" - "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.aux" 1615971891 123281 db5b1f98b58b3cc94df540c21107616a "" + "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.aux" 1615974812 123997 82ae9689f8ff191acafcdbc25dafa312 "" "/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" 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.OpenModelicad" 1615974812 2297 7aabed0469554e360eeae20d4ff290df "pdflatex" + "floss-arduino.ard" 1615974812 2080 e16e65b4b1507f4f73cbdd114b861a3f "pdflatex" + "floss-arduino.aux" 1615974812 123997 82ae9689f8ff191acafcdbc25dafa312 "pdflatex" + "floss-arduino.bbl" 1615974807 2140 a4f2f2278da9e2bdb36d4b32d75029c6 "bibtex floss-arduino" + "floss-arduino.cod" 1615974812 2525 8f8974d7fd9f4c452e2f379e1dd1dffe "pdflatex" + "floss-arduino.ind" 1615972992 228 af8dc5589e32a166ad18dd969896b72f "makeindex floss-arduino.idx" + "floss-arduino.juliad" 1615974812 2311 51380681b615b182f3724b4f9060b3bf "pdflatex" + "floss-arduino.lof" 1615974812 10496 793f977cac3d16e3fb5730d6506a4075 "pdflatex" + "floss-arduino.lot" 1615974812 3700 b0b430e3b611b00f524ab1999885af2a "pdflatex" + "floss-arduino.pyd" 1615974812 2323 9e668e87330677f80083c55a64d7470a "pdflatex" "floss-arduino.tex" 1615965735 4443 11daa2a9d83a9eec2d4fe6e86cb48912 "" - "floss-arduino.toc" 1615971891 14874 9ddee15bf4be87639ee7eefa941013e1 "pdflatex" + "floss-arduino.toc" 1615974812 15085 094f6380e275e01bc5e63a7ed6bcc3c9 "pdflatex" "suppl/acr.tex" 1615963613 1926 fd6481c4666ee0d60331b7d4cc24b645 "" "suppl/intro.tex" 1615963613 3437 b09628cf9e20fe17fa65b37a5997653c "" "suppl/styles.tex" 1615963613 8143 aa3280f0b59c8631fe8ec44895c9e871 "" @@ -199,6 +199,7 @@ "user-code/ldr/OpenModelica/ldr-read.mo" 1615963614 989 9dc1e823b5c929edaae5859675eb0060 "" "user-code/ldr/arduino/ldr-led/ldr-led.ino" 1615963614 330 447a5a22bd1fde20300f0e2fe8306db3 "" "user-code/ldr/arduino/ldr-read/ldr-read.ino" 1615963614 223 428416ae1ca1ac683e7cc49bc07972c3 "" + "user-code/ldr/figures/ard-ldr.png" 1615972711 110313 1f79b3d9e3b9e60b504795e72ae28d61 "" "user-code/ldr/figures/ldr-conn.png" 1615963614 27006 651850b554b0e5f042da89db408bd75e "" "user-code/ldr/figures/ldr-led.png" 1615963614 75341 98a4b1e9dd0f7ee83ee41500716ce940 "" "user-code/ldr/figures/ldr-read-xcos.PNG" 1615963614 34063 b0eeeea9642553ea0bb2889cb52cfa60 "" @@ -206,7 +207,7 @@ "user-code/ldr/figures/ldr_sym.png" 1615963614 29267 73b70e220429569a98caa86348349aa1 "" "user-code/ldr/julia/ldr-led.jl" 1615963614 226 06e515a8f72e1bd422164e137e169ccd "" "user-code/ldr/julia/ldr-read.jl" 1615963614 172 3c22e807b98d0e14c9ed24c63191387a "" - "user-code/ldr/ldr.tex" 1615963614 23056 0a443f1c7b7cb042986600d94800abd1 "" + "user-code/ldr/ldr.tex" 1615974800 23938 61497c2f82d5690b5d7c1307b8cd2ec4 "" "user-code/ldr/python/ldr-led.py" 1615963614 866 b724a956c314292b215cf655d7751fc2 "" "user-code/ldr/python/ldr-read.py" 1615963614 686 16e0ee2162e2f212ba41d2c9d491f534 "" "user-code/ldr/scilab/ldr-led.sce" 1615963614 444 0895e89b3e22312736acf271c6315dea "" @@ -284,14 +285,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" 1615970263 345 de8912809afaa6266b8aca72718389c4 "" + "user-code/push/arduino/push-button-status/push-button-status.ino" 1615972043 376 77c53b136c9f6a2227e8e0c615b59677 "" "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" 1615971885 21436 f1ed7e559567d0e32168f0d59412998d "" + "user-code/push/push.tex" 1615974705 21438 49ce61245049fdd6bff38a0f761b01e6 "" "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 "" @@ -350,6 +351,7 @@ "user-code/thermistor/figures/BUZZER-Diagram-crop.pdf" 1615963614 44580 9821d615a59f54c353650c91d53397ff "" "user-code/thermistor/figures/NTC-bead.jpg" 1615963614 26322 dc48012480bf36dffe1bc53f53fff468 "" "user-code/thermistor/figures/THERMISTOR-Diagram-crop.pdf" 1615963614 51122 63d1034bfec8c1e50343da5dd4e8a355 "" + "user-code/thermistor/figures/ard-therm.png" 1615973409 96760 315e178a3ff7c51ebd0851f086d405ea "" "user-code/thermistor/figures/therm-buzzer-xcos.png" 1615963614 62520 d7a651c93d11aa2ade2fbcaaae324492 "" "user-code/thermistor/figures/therm-buzzer.png" 1615963614 21991 43392992f62b8fc4acd5d04722ac65ef "" "user-code/thermistor/figures/therm-read-xcos.png" 1615963614 57179 0dddd7d72b0b013c4bca6de583a2bb80 "" @@ -361,20 +363,20 @@ "user-code/thermistor/python/therm-read.py" 1615963614 756 69346d8630af0b54c8fd104e83808e25 "" "user-code/thermistor/scilab/therm-buzzer.sce" 1615963614 474 a5b32bd97a4179f7ac211aacf488dad3 "" "user-code/thermistor/scilab/therm-read.sce" 1615963614 382 5e743c25b50f9d961a2939ce81d7b633 "" - "user-code/thermistor/thermistor.tex" 1615963614 23389 e9969d91821c6707df3703e45c9c5d23 "" + "user-code/thermistor/thermistor.tex" 1615974011 24283 566b640d2c28a0d62ba94f5644269a22 "" (generated) - "floss-arduino.log" "floss-arduino.aux" - "floss-arduino.juliad" "floss-arduino.pyd" - "floss-arduino.OpenModelicad" - "floss-arduino.thm" - "floss-arduino.ard" - "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.log" - "floss-arduino.idx" + "floss-arduino.juliad" + "floss-arduino.lot" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" "floss-arduino.cod" - "floss-arduino.lof" "floss-arduino.toc" - "floss-arduino.lot" + "floss-arduino.lof" + "floss-arduino.ard" + "floss-arduino.thm" "floss-arduino.pdf" + "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.log" + "floss-arduino.OpenModelicad" + "floss-arduino.log" + "floss-arduino.idx" diff --git a/floss-arduino.fls b/floss-arduino.fls index cf7f815..573499a 100644 --- a/floss-arduino.fls +++ b/floss-arduino.fls @@ -531,6 +531,9 @@ INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr_sym.pn INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-conn.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-conn.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-conn.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ard-ldr.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ard-ldr.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ard-ldr.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-read/ldr-read.ino INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-read/ldr-read.ino INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-read/ldr-read.ino @@ -730,6 +733,9 @@ INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/THE INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/BUZZER-Diagram-crop.pdf INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/BUZZER-Diagram-crop.pdf INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/BUZZER-Diagram-crop.pdf +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/ard-therm.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/ard-therm.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/ard-therm.png INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-read/therm-read.ino INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-read/therm-read.ino INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-read/therm-read.ino diff --git a/floss-arduino.juliad b/floss-arduino.juliad index d957f0c..a15f000 100644 --- a/floss-arduino.juliad +++ b/floss-arduino.juliad @@ -8,8 +8,8 @@ \contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{90}% \contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{91}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{107}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{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}{108}% \addvspace {10pt} \contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{128}% \contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{129}% @@ -18,7 +18,7 @@ \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}{158}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{158}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{159}% \addvspace {10pt} \contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{180}% \contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{180}% diff --git a/floss-arduino.lof b/floss-arduino.lof index 9c96db8..25eb804 100644 --- a/floss-arduino.lof +++ b/floss-arduino.lof @@ -50,7 +50,7 @@ \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 Interfacing an RGB LED with Arduino Uno using a breadboard\relax }}{81}% +\contentsline {figure}{\numberline {5.2}{\ignorespaces Interfacing a pushbutton with Arduino Uno using a breadboard\relax }}{81}% \contentsline {figure}{\numberline {5.3}{\ignorespaces Printing the push button status on the display block}}{85}% \contentsline {figure}{\numberline {5.4}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{86}% \addvspace {10\p@ } @@ -58,8 +58,9 @@ \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}% +\contentsline {figure}{\numberline {6.3}{\ignorespaces Interfacing an LDR with Arduino Uno using a breadboard\relax }}{97}% +\contentsline {figure}{\numberline {6.4}{\ignorespaces Xcos diagram to read LDR values}}{102}% +\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}}{103}% \addvspace {10\p@ } \contentsline {figure}{\numberline {7.1}{\ignorespaces L293D motor driver board\relax }}{112}% \contentsline {figure}{\numberline {7.2}{\ignorespaces A schematic of DC motor connections\relax }}{113}% @@ -79,10 +80,11 @@ \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}% +\contentsline {figure}{\numberline {9.3}{\ignorespaces Interfacing a thermistor with Arduino Uno using a breadboard\relax }}{147}% +\contentsline {figure}{\numberline {9.4}{\ignorespaces Xcos diagram to read thermistor values}}{152}% +\contentsline {figure}{\numberline {9.5}{\ignorespaces Output of Xcos diagram to read thermistor values}}{153}% +\contentsline {figure}{\numberline {9.6}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{154}% +\contentsline {figure}{\numberline {9.7}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{155}% \addvspace {10\p@ } \contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{170}% \contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{171}% diff --git a/floss-arduino.log b/floss-arduino.log index 20833ee..1d2dcfc 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 14:38 +This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex 2020.11.5) 17 MAR 2021 15:24 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 202 +Overfull \hbox (42.2769pt too wide) detected at line 204 \T1/cmr/bx/n/10.95 References [] @@ -537,7 +537,7 @@ Overfull \hbox (42.2769pt too wide) detected at line 202 [6] (./floss-arduino.lof [7 ] -Overfull \hbox (4.98741pt too wide) in paragraph at lines 74--74 +Overfull \hbox (4.98741pt too wide) in paragraph at lines 75--75 [][] []\T1/cmr/m/n/10.95 Turning LEDs on through Xcos de-pend-ing on the po-te n-tiome-ter thresh- [] @@ -1475,79 +1475,95 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/ld r/figures/ldr-conn.png used on input line 71. (pdftex.def) Requested size: 178.86702pt x 193.98965pt. [95] +Overfull \hbox (0.60098pt too wide) in paragraph at lines 87--87 +[]\T1/cmr/bx/n/14.4 Connecting an LDR with Ar-duino Uno us-ing a bread- + [] + + Underfull \vbox (badness 3333) has occurred while \output is active [] [96 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg> </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr_sym.png> < /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-conn.png>] +</home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ard-ldr.png, i +d=487, 1086.0575pt x 601.24625pt> +File: /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ard-ldr.p +ng Graphic file (type png) +<use /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ard-ldr.pn +g> +Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/ld +r/figures/ard-ldr.png used on input line 99. +(pdftex.def) Requested size: 397.48499pt x 220.05396pt. + [97 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ard-ldr.p +ng>] (/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) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-read/ldr-r -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-read/ldr-r +ead.ino [98]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-led/ldr-le -d.ino) [98] -Overfull \hbox (19.20517pt too wide) in paragraph at lines 182--193 +d.ino) [99] +Overfull \hbox (19.20517pt too wide) in paragraph at lines 200--211 []\T1/cmr/m/n/10.95 In this ex-per-i-ment, we will ob-serve the sat-u-ra-tion p oint of LDR, see Scilab Code 6.2[]. [] -[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-read.sce +[100]) (/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 +Overfull \hbox (0.34052pt too wide) in paragraph at lines 244--250 \T1/cmr/m/n/10.95 Next, we shall per-form the above men-tioned ex-per-i-ment, t o read LDR val-ues, through [] </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-read-xcos. -PNG, id=497, 257.46187pt x 304.13625pt> +PNG, id=502, 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 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. +r/figures/ldr-read-xcos.PNG used on input line 260. (pdftex.def) Requested size: 178.86702pt x 211.2975pt. -[100] [101 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr --read-xcos.PNG>] +[101] </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-led.png, i -d=505, 769.87625pt x 640.3925pt> +d=506, 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 g> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/ld -r/figures/ldr-led.png used on input line 298. +r/figures/ldr-led.png used on input line 316. (pdftex.def) Requested size: 258.36281pt x 214.91635pt. -Overfull \hbox (4.77844pt too wide) in paragraph at lines 319--339 +Overfull \hbox (4.77844pt too wide) in paragraph at lines 337--357 [][] [] -[102 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-led.p -ng>] [103] +[102 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-read- +xcos.PNG>] [103 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figure +s/ldr-led.png>] [104] (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr-read.py -[104]) -(/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr-led.py [105]) +(/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr-led.py +[106]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led-push-button -.jl) [106] +.jl) [107] (/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) -[107] +[108] (/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 [108]) +mo [109]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr-led.m -o [109])) (./user-code/dcmotor/dcmotor.tex [110] +o)) (./user-code/dcmotor/dcmotor.tex [110] Chapter 7. </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmotor_bo -ard.png, id=536, 247.92625pt x 232.87pt> +ard.png, id=538, 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 @@ -1559,7 +1575,7 @@ motor/figures/dcmotor_board.png used on input line 62. ] </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/schematic. -png, id=540, 415.5525pt x 467.7475pt> +png, id=542, 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 @@ -1568,7 +1584,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=541, 2469.97781pt x 1973.12157pt> +escription.jpg, id=543, 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 @@ -1610,7 +1626,7 @@ h.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-loo p.sce [119]) </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmotor-cl -ock.png, id=570, 275.52937pt x 290.58563pt> +ock.png, id=572, 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 @@ -1621,7 +1637,7 @@ motor/figures/dcmotor-clock.png used on input line 399. [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=574, 292.09125pt x 322.95656pt> +th.png, id=576, 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 @@ -1630,7 +1646,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=575, 281.55188pt x 307.90031pt> +op.png, id=577, 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 @@ -1661,7 +1677,7 @@ or-both.mo [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=617, 1576.38937pt x 1305.37688pt> +id=619, 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 @@ -1670,7 +1686,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=618, 415.5525pt x 417.56pt> + id=620, 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. @@ -1702,7 +1718,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=634, 548.80031pt x 493.845pt> +PNG, id=636, 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 @@ -1755,7 +1771,7 @@ Overfull \hbox (7.95369pt too wide) in paragraph at lines 319--323 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=661, 139.9629pt x 126.2316pt> +d.jpg, id=663, 139.9629pt x 126.2316pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/NT C-bead.jpg Graphic file (type jpg) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/NTC @@ -1770,7 +1786,7 @@ LaTeX Warning: Citation `therm-wiki' on page 145 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=662, 1284.8pt x 913.4125pt> +ym.png, id=664, 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 @@ -1779,7 +1795,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=663, 329.23pt x 422.57875pt> +TOR-Diagram-crop.pdf, id=665, 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 @@ -1788,7 +1804,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=664, 307.1475pt x 366.36874pt> +Diagram-crop.pdf, id=666, 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 @@ -1799,7 +1815,7 @@ ermistor/figures/BUZZER-Diagram-crop.pdf used on input line 87. [145 ] -Overfull \vbox (33.20364pt too high) has occurred while \output is active [] +Overfull \vbox (30.13353pt too high) has occurred while \output is active [] [146 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/NT @@ -1807,96 +1823,102 @@ C-bead.jpg> </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/fig ures/therm-sym.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/thermi stor/figures/THERMISTOR-Diagram-crop.pdf> </home/fossee/Desktop/floss-scilab-ar duino/user-code/thermistor/figures/BUZZER-Diagram-crop.pdf>] +</home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/ard-the +rm.png, id=687, 1083.04625pt x 550.055pt> +File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/ar +d-therm.png Graphic file (type png) +<use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/ard +-therm.png> +Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th +ermistor/figures/ard-therm.png used on input line 103. +(pdftex.def) Requested size: 397.48499pt x 201.8721pt. + (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-r ead/therm-read.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-r ead/therm-read.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-r -ead/therm-read.ino) [147] +ead/therm-read.ino) [147 </home/fossee/Desktop/floss-scilab-arduino/user-code/t +hermistor/figures/ard-therm.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-r -ead/therm-read.ino) +ead/therm-read.ino [148]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-b -uzzer/therm-buzzer.ino [148]) [149] +uzzer/therm-buzzer.ino) [149] [150] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm-re -ad.sce) [150] +ad.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm-bu -zzer.sce) +zzer.sce [151]) </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-r -ead-xcos.png, id=699, 617.30624pt x 548.0475pt> +ead-xcos.png, id=707, 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 rm-read-xcos.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th -ermistor/figures/therm-read-xcos.png used on input line 262. +ermistor/figures/therm-read-xcos.png used on input line 280. (pdftex.def) Requested size: 194.76982pt x 172.91183pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-r -ead.png, id=700, 632.3625pt x 529.98pt> +ead.png, id=708, 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 rm-read.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th -ermistor/figures/therm-read.png used on input line 295. +ermistor/figures/therm-read.png used on input line 313. (pdftex.def) Requested size: 194.76982pt x 163.23271pt. + [152 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t +herm-read-xcos.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-b -uzzer-xcos.png, id=701, 627.34375pt x 530.98375pt> +uzzer-xcos.png, id=713, 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 rm-buzzer-xcos.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th -ermistor/figures/therm-buzzer-xcos.png used on input line 311. +ermistor/figures/therm-buzzer-xcos.png used on input line 329. (pdftex.def) Requested size: 258.36281pt x 218.68509pt. -Overfull \hbox (4.77844pt too wide) in paragraph at lines 329--349 +Overfull \hbox (4.77844pt too wide) in paragraph at lines 347--367 [][] [] +[153 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th +erm-read.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-b -uzzer.png, id=702, 612.2875pt x 589.20125pt> +uzzer.png, id=718, 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 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. +ermistor/figures/therm-buzzer.png used on input line 373. (pdftex.def) Requested size: 178.86702pt x 172.12265pt. -[151] -Underfull \vbox (badness 10000) has occurred while \output is active [] - - [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 [] + [154 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t +herm-buzzer-xcos.png>] +LaTeX Warning: Text page 155 contains only floats. -[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 154 contains only floats. - -[154 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th +[155 </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 [155]) +ad.py [156]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm-bu -zzer.py [156]) [157] +zzer.py [157]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm-rea -d.jl) +d.jl [158]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm-buz -zer.jl) [158] +zer.jl) [159] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/th -erm-read.mo [159]) +erm-read.mo [160]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/th -erm-buzzer.mo [160])) (./user-code/servo/servo.tex [161] [162 - -] +erm-buzzer.mo) [161]) (./user-code/servo/servo.tex [162] Chapter 10. Underfull \vbox (badness 1975) has occurred while \output is active [] - [163] + [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[]. @@ -1926,7 +1948,7 @@ 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=767, 265.74281pt x 309.40594pt> +ng, id=771, 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 @@ -1936,7 +1958,7 @@ rvo/figures/servo-init.png used on input line 299. (pdftex.def) Requested size: 178.86702pt x 208.2593pt. [169] </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-revers -e.png, id=772, 244.66406pt x 281.55188pt> +e.png, id=776, 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 @@ -1950,7 +1972,7 @@ Underfull \vbox (badness 3199) has occurred while \output is active [] [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=777, 281.55188pt x 347.04657pt> +ng, id=781, 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 @@ -1959,7 +1981,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=778, 286.06876pt x 292.09125pt> +g, id=782, 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 @@ -2034,7 +2056,7 @@ ot.mo [184])) (./user-code/modbus/modbus.tex [185] [186 Chapter 11. [187] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig1.png, i -d=833, 672.5125pt x 224.84pt> +d=837, 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 @@ -2043,7 +2065,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=834, 360.34625pt x 375.4025pt> +d=838, 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 @@ -2052,7 +2074,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=835, 481.04718pt x 214.55156pt> +d=839, 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 @@ -2065,7 +2087,7 @@ png (PNG copy)> </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/fig ures/fig2.png (PNG copy)>] [189 </home/fossee/Desktop/floss-scilab-arduino/user -code/modbus/figures/fig3.png (PNG copy)>] [190] [191] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/Full-Set-Up -.png, id=849, 722.7pt x 542.025pt> +.png, id=853, 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 @@ -2075,7 +2097,7 @@ dbus/figures/Full-Set-Up.png used on input line 300. (pdftex.def) Requested size: 258.36281pt x 193.77246pt. [192] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/block-diagr -am.PNG, id=853, 398.23781pt x 255.95625pt> +am.PNG, id=857, 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 @@ -2084,7 +2106,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=854, 327.2225pt x 480.79625pt> +e_flowchart.png, id=858, 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 @@ -2095,7 +2117,7 @@ dbus/figures/arduino_code_flowchart.png used on input line 348. [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=860, 482.55281pt x 362.10281pt> +ng, id=864, 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 @@ -2104,7 +2126,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=861, 1028.34187pt x 578.16pt> +put.png, id=865, 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 @@ -2113,7 +2135,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=862, 2509.375pt x 1411.2725pt> +put-setup.jpg, id=866, 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 @@ -2122,7 +2144,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=863, 1028.34187pt x 578.16pt> +put.png, id=867, 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 @@ -2131,7 +2153,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=864, 2509.375pt x 1411.2725pt> +put-setup.jpg, id=868, 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 @@ -2140,7 +2162,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=865, 1028.34187pt x 578.16pt> +r-output.png, id=869, 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- @@ -2152,7 +2174,7 @@ dbus/figures/active-power-output.png used on input line 429. [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=870, 2509.375pt x 1411.2725pt> +r-output-setup.jpg, id=874, 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- @@ -2166,7 +2188,7 @@ Underfull \vbox (badness 10000) has occurred while \output is active [] [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=875, 635.37375pt x 455.7025pt> +xcos.png, id=879, 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 @@ -2268,10 +2290,10 @@ LaTeX Warning: There were multiply-defined labels. ) Here is how much of TeX's memory you used: - 9585 strings out of 481239 - 200098 string characters out of 5920377 + 9599 strings out of 481239 + 200995 string characters out of 5920377 742688 words of memory out of 5000000 - 24147 multiletter control sequences out of 15000+600000 + 24159 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 @@ -2299,10 +2321,10 @@ sr/share/texmf/fonts/type1/public/cm-super/sfrm1000.pfb></usr/share/texmf/fonts er/sfrm1200.pfb></usr/share/texmf/fonts/type1/public/cm-super/sfsi1095.pfb></us r/share/texmf/fonts/type1/public/cm-super/sfss1095.pfb></usr/share/texmf/fonts/ type1/public/cm-super/sfti1095.pfb> -Output written on floss-arduino.pdf (232 pages, 22534268 bytes). +Output written on floss-arduino.pdf (232 pages, 22708634 bytes). PDF statistics: - 1016 PDF objects out of 1200 (max. 8388607) + 1020 PDF objects out of 1200 (max. 8388607) 614 compressed objects within 7 object streams 0 named destinations out of 1000 (max. 500000) - 451 words of extra memory for PDF output out of 10000 (max. 10000000) + 461 words of extra memory for PDF output out of 10000 (max. 10000000) diff --git a/floss-arduino.lot b/floss-arduino.lot index d396366..4b30cdd 100644 --- a/floss-arduino.lot +++ b/floss-arduino.lot @@ -13,8 +13,8 @@ \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 }}{101}% -\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{103}% +\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{102}% +\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{104}% \addvspace {10\p@ } \contentsline {table}{\numberline {7.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{117}% \contentsline {table}{\numberline {7.2}{\ignorespaces Parameters for DC motor initialization\relax }}{117}% @@ -24,8 +24,8 @@ \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}% +\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{153}% +\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{155}% \addvspace {10\p@ } \contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{164}% \contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{170}% diff --git a/floss-arduino.pdf b/floss-arduino.pdf Binary files differindex 20ab1b4..a270af8 100644 --- a/floss-arduino.pdf +++ b/floss-arduino.pdf diff --git a/floss-arduino.pyd b/floss-arduino.pyd index e13d3e3..390a020 100644 --- a/floss-arduino.pyd +++ b/floss-arduino.pyd @@ -9,8 +9,8 @@ \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}{104}% -\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{105}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{105}% +\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{106}% \addvspace {10pt} \contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{125}% \contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{126}% @@ -18,8 +18,8 @@ \addvspace {10pt} \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}{155}% -\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}{156}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{157}% \addvspace {10pt} \contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{175}% \contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{176}% diff --git a/floss-arduino.thm b/floss-arduino.thm index 256f2ce..a2eb26c 100644 --- a/floss-arduino.thm +++ b/floss-arduino.thm @@ -37,20 +37,20 @@ \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}}{}}{97}% -\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{98}% -\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{98}% -\contentsline {egmass}{{Exercise}{6.{2}}{}}{99}% +\contentsline {egmass}{{Exercise}{6.{1}}{}}{98}% +\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{99}% +\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{99}% +\contentsline {egmass}{{Exercise}{6.{2}}{}}{100}% \contentsline {codemass}{{Scilab Code}{6.{1}}{}}{100}% -\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{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 {codemass}{{Scilab Code}{6.{2}}{}}{101}% +\contentsline {egmass}{{Exercise}{6.{3}}{}}{105}% +\contentsline {pymass}{{Python Code}{6.{1}}{}}{105}% +\contentsline {pymass}{{Python Code}{6.{2}}{}}{106}% +\contentsline {egmass}{{Exercise}{6.{4}}{}}{107}% +\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{108}% +\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{108}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{109}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{110}% \contentsline {egmass}{{Exercise}{7.{1}}{}}{114}% \contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{115}% \contentsline {ardmass}{{Arduino Code}{7.{2}}{}}{115}% @@ -74,18 +74,18 @@ \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 {egmass}{{Exercise}{9.{1}}{}}{148}% \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 {ardmass}{{Arduino Code}{9.{2}}{}}{149}% +\contentsline {egmass}{{Exercise}{9.{2}}{}}{150}% +\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{151}% \contentsline {codemass}{{Scilab Code}{9.{2}}{}}{151}% -\contentsline {pymass}{{Python Code}{9.{1}}{}}{155}% -\contentsline {pymass}{{Python Code}{9.{2}}{}}{156}% +\contentsline {pymass}{{Python Code}{9.{1}}{}}{156}% +\contentsline {pymass}{{Python Code}{9.{2}}{}}{157}% \contentsline {juliamass}{{Julia Code}{9.{1}}{}}{158}% -\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{158}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{159}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{160}% +\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{159}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{160}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{161}% \contentsline {egmass}{{Exercise}{10.{1}}{}}{165}% \contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{165}% \contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{166}% diff --git a/floss-arduino.toc b/floss-arduino.toc index 9c70065..392eb0b 100644 --- a/floss-arduino.toc +++ b/floss-arduino.toc @@ -95,22 +95,23 @@ \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 {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{97}% +\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{97}% +\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{97}% +\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{99}% +\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{99}% +\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{99}% +\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{100}% +\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{101}% +\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{103}% +\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{103}% +\contentsline {subsection}{\numberline {6.6.2}Python Code}{105}% +\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{107}% +\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{107}% +\contentsline {subsection}{\numberline {6.7.2}Julia Code}{108}% +\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{108}% +\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{108}% +\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{109}% \contentsline {chapter}{\numberline {7}Controlling a DC motor}{111}% \contentsline {section}{\numberline {7.1}Preliminaries}{111}% \contentsline {section}{\numberline {7.2}Controlling the DC motor from Arduino}{113}% @@ -152,22 +153,23 @@ \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 {section}{\numberline {9.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{146}% +\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from the Arduino IDE}{147}% +\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{147}% +\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{148}% +\contentsline {section}{\numberline {9.4}Interfacing the Thermistor from Scilab}{150}% +\contentsline {subsection}{\numberline {9.4.1}Interfacing the Thermistor}{150}% +\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{151}% +\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Xcos}{152}% +\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Python}{154}% +\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{154}% +\contentsline {subsection}{\numberline {9.6.2}Python Code}{156}% +\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from Julia}{158}% \contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{158}% -\contentsline {subsection}{\numberline {9.7.2}OpenModelica Code}{159}% +\contentsline {subsection}{\numberline {9.7.2}Julia Code}{158}% +\contentsline {section}{\numberline {9.8}Interfacing the Thermistor from OpenModelica}{159}% +\contentsline {subsection}{\numberline {9.8.1}Interfacing the Thermistor}{159}% +\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{160}% \contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{163}% \contentsline {section}{\numberline {10.1}Preliminaries}{163}% \contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{164}% diff --git a/user-code/ldr/figures/ard-ldr.png b/user-code/ldr/figures/ard-ldr.png Binary files differnew file mode 100644 index 0000000..92cf083 --- /dev/null +++ b/user-code/ldr/figures/ard-ldr.png diff --git a/user-code/ldr/ldr.tex b/user-code/ldr/ldr.tex index 43f19ed..15c0fd4 100644 --- a/user-code/ldr/ldr.tex +++ b/user-code/ldr/ldr.tex @@ -84,6 +84,24 @@ Rs. 100. There are multiple manufacturers which provide commercial LDRs. Some examples are VT90N1 and VT935G from EXCELITAS TECH, and
N5AC501A085 and NSL19M51 from ADVANCED PHOTONIX.
+\section{Connecting an LDR 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.
+
+In case, you have an LDR and you want to try connecting it with \arduino\ on a breadboard, you should
+refer to the figure \ref{fig:ard-ldr-bread}. The connections given in this
+figure can be used to read the voltage values from an LDR. To know more about the
+breadboard and other electronic components, one should watch the Spoken Tutorials on Arduino as published on
+ {\tt https://spoken-tutorial.org/}.
+
+\begin{figure}
+ \centering
+ \includegraphics[width=\textwidth]{\LocLDRfig/ard-ldr.png}
+ \caption{Interfacing an LDR with Arduino Uno using a breadboard}
+ %\redcolor{connected on pin no. D12}}
+ \label{fig:ard-ldr-bread}
+\end{figure}
+
\section{Interfacing the LDR through the Arduino IDE}
\subsection{Interfacing the LDR}
In this section, we shall learn to read the voltage values from an LDR
diff --git a/user-code/push/push.tex b/user-code/push/push.tex index 54dc154..99b3424 100644 --- a/user-code/push/push.tex +++ b/user-code/push/push.tex @@ -79,7 +79,7 @@ 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}
+ \caption{Interfacing a pushbutton with Arduino Uno using a breadboard}
%\redcolor{connected on pin no. D12}}
\label{fig:ard-pushbtn-bread}
\end{figure}
diff --git a/user-code/thermistor/figures/ard-therm.png b/user-code/thermistor/figures/ard-therm.png Binary files differnew file mode 100644 index 0000000..3a17786 --- /dev/null +++ b/user-code/thermistor/figures/ard-therm.png diff --git a/user-code/thermistor/thermistor.tex b/user-code/thermistor/thermistor.tex index fbd62fa..befd8e8 100644 --- a/user-code/thermistor/thermistor.tex +++ b/user-code/thermistor/thermistor.tex @@ -88,6 +88,24 @@ connect any wire or component explicitly. \caption{Thermistor and buzzer connection diagrams} \end{figure} +\section{Connecting a thermistor 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. + +In case, you have a thermistor and you want to try connecting it with \arduino\ on a breadboard, you should +refer to the figure \ref{fig:ard-therm-bread}. The connections given in this +figure can be used to read the analog values from thermistor. To know more about the +breadboard and other electronic components, one should watch the Spoken Tutorials on Arduino as published on + {\tt https://spoken-tutorial.org/}. + +\begin{figure} + \centering + \includegraphics[width=\textwidth]{\LocTHERMfig/ard-therm.png} + \caption{Interfacing a thermistor with Arduino Uno using a breadboard} + %\redcolor{connected on pin no. D12}} + \label{fig:ard-therm-bread} +\end{figure} + \section{Interfacing the Thermistor from the Arduino IDE} \subsection{Interfacing the Thermistor} In this section we will learn how to read values from the thermistor |