diff options
author | SudhakarKuma | 2021-04-09 00:15:35 +0530 |
---|---|---|
committer | SudhakarKuma | 2021-04-09 00:15:35 +0530 |
commit | ad5e06e08dcf54f5c8754f0b8a6cb6c8f40a3919 (patch) | |
tree | 98e1ee43e2147f780c814024552f6b580d6e858b | |
parent | e6ab9685dd97826e25507c35d95747247b58a4af (diff) | |
download | FLOSS-Arduino-Book-ad5e06e08dcf54f5c8754f0b8a6cb6c8f40a3919.tar.gz FLOSS-Arduino-Book-ad5e06e08dcf54f5c8754f0b8a6cb6c8f40a3919.tar.bz2 FLOSS-Arduino-Book-ad5e06e08dcf54f5c8754f0b8a6cb6c8f40a3919.zip |
Add breadboard diagrams
-rw-r--r-- | floss-arduino.OpenModelicad | 4 | ||||
-rw-r--r-- | floss-arduino.ard | 4 | ||||
-rw-r--r-- | floss-arduino.aux | 274 | ||||
-rw-r--r-- | floss-arduino.cod | 6 | ||||
-rw-r--r-- | floss-arduino.fdb_latexmk | 71 | ||||
-rw-r--r-- | floss-arduino.fls | 9 | ||||
-rw-r--r-- | floss-arduino.juliad | 6 | ||||
-rw-r--r-- | floss-arduino.lof | 11 | ||||
-rw-r--r-- | floss-arduino.log | 205 | ||||
-rw-r--r-- | floss-arduino.lot | 4 | ||||
-rw-r--r-- | floss-arduino.pdf | bin | 24413688 -> 24670636 bytes | |||
-rw-r--r-- | floss-arduino.pyd | 6 | ||||
-rw-r--r-- | floss-arduino.thm | 32 | ||||
-rw-r--r-- | floss-arduino.toc | 36 | ||||
-rw-r--r-- | user-code/ldr/ldr.tex | 2 | ||||
-rw-r--r-- | user-code/led/led.tex | 4 | ||||
-rw-r--r-- | user-code/pot/pot.tex | 9 | ||||
-rw-r--r-- | user-code/push/push.tex | 15 | ||||
-rw-r--r-- | user-code/thermistor/figures/ard-therm.png | bin | 96760 -> 0 bytes | |||
-rw-r--r-- | user-code/thermistor/figures/thermistor-buzzer.png | bin | 0 -> 251485 bytes | |||
-rw-r--r-- | user-code/thermistor/figures/thermistor.png | bin | 0 -> 227111 bytes | |||
-rw-r--r-- | user-code/thermistor/thermistor.tex | 42 |
22 files changed, 395 insertions, 345 deletions
diff --git a/floss-arduino.OpenModelicad b/floss-arduino.OpenModelicad index 207d8d9..ba112a3 100644 --- a/floss-arduino.OpenModelicad +++ b/floss-arduino.OpenModelicad @@ -17,8 +17,8 @@ \addvspace {10pt} \contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{150}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{168}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{169}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{169}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{170}% \addvspace {10pt} \contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{190}% \contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{191}% diff --git a/floss-arduino.ard b/floss-arduino.ard index ff325c5..9935b88 100644 --- a/floss-arduino.ard +++ b/floss-arduino.ard @@ -17,8 +17,8 @@ \addvspace {10pt} \contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{142}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{156}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{157}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{157}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{158}% \addvspace {10pt} \contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{173}% \contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{174}% diff --git a/floss-arduino.aux b/floss-arduino.aux index cdf7d3a..c92d557 100644 --- a/floss-arduino.aux +++ b/floss-arduino.aux @@ -509,15 +509,15 @@ \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{88}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{88}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/led\textendash push\textendash button.sce}{88}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{88}\protected@file@percent } -\newlabel{sec:push-scilab-code}{{5.4.2}{88}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{89}\protected@file@percent } +\newlabel{sec:push-scilab-code}{{5.4.2}{89}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{88}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{88}\protected@file@percent } -\newlabel{49@xvr}{{}{88}} -\newlabel{49@vr}{{}{88}} -\newlabel{sci:push-100}{{5.{1}}{88}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{88}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{89}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{89}\protected@file@percent } +\newlabel{49@xvr}{{}{89}} +\newlabel{49@vr}{{}{89}} +\newlabel{sci:push-100}{{5.{1}}{89}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push\textendash button\textendash status.sce}{89}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{89}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{89}\protected@file@percent } \newlabel{50@xvr}{{}{89}} @@ -534,7 +534,6 @@ \newlabel{tab:push-button-status}{{5.1}{90}} \newlabel{53@xvr}{{}{90}} \newlabel{53@vr}{{}{90}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{5.{1}}{}}{90}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {5.5}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{91}\protected@file@percent } \newlabel{55@xvr}{{}{91}} \newlabel{55@vr}{{}{91}} @@ -543,29 +542,30 @@ \newlabel{tab:led-push-button}{{5.2}{91}} \newlabel{56@xvr}{{}{91}} \newlabel{56@vr}{{}{91}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{5.{1}}{}}{91}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {5.6}Reading the Pushbutton Status from Python}{92}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {5.6.1}Reading the Pushbutton Status}{92}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{92}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{92}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led\textendash push\textendash button.py}{92}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.2}Python Code}{92}\protected@file@percent } -\newlabel{sec:push-python-code}{{5.6.2}{92}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.2}Python Code}{93}\protected@file@percent } +\newlabel{sec:push-python-code}{{5.6.2}{93}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{1}}{}}{92}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{92}\protected@file@percent } -\newlabel{57@xvr}{{}{92}} -\newlabel{57@vr}{{}{92}} -\newlabel{py:push-100}{{5.{1}}{92}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{92}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{1}}{}}{93}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{93}\protected@file@percent } +\newlabel{57@xvr}{{}{93}} +\newlabel{57@vr}{{}{93}} +\newlabel{py:push-100}{{5.{1}}{93}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push\textendash button\textendash status.py}{93}\protected@file@percent } \@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{2}}{}}{93}\protected@file@percent } \@writefile{pyd}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{93}\protected@file@percent } \newlabel{58@xvr}{{}{93}} \newlabel{58@vr}{{}{93}} \newlabel{py:push-200}{{5.{2}}{93}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led\textendash push\textendash button.py}{93}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.7}Reading the Pushbutton Status from Julia}{94}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.1}Reading the Pushbutton Status}{94}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push\textendash button\textendash status.jl}{94}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led\textendash push\textendash button.py}{94}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.7}Reading the Pushbutton Status from Julia}{95}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.1}Reading the Pushbutton Status}{95}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push\textendash button\textendash status.jl}{95}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{95}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {5.7.2}Julia Code}{95}\protected@file@percent } \newlabel{sec:push-julia-code}{{5.7.2}{95}} @@ -576,12 +576,12 @@ \newlabel{59@vr}{{}{95}} \newlabel{julia:push-100}{{5.{1}}{95}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push\textendash button\textendash status.jl}{95}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{95}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{95}\protected@file@percent } -\newlabel{60@xvr}{{}{95}} -\newlabel{60@vr}{{}{95}} -\newlabel{julia:push-200}{{5.{2}}{95}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{95}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{96}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{96}\protected@file@percent } +\newlabel{60@xvr}{{}{96}} +\newlabel{60@vr}{{}{96}} +\newlabel{julia:push-200}{{5.{2}}{96}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{96}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {5.8}Reading the Pushbutton Status from OpenModelica}{96}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {5.8.1}Reading the Pushbutton Status}{96}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{96}\protected@file@percent } @@ -593,7 +593,7 @@ \newlabel{61@xvr}{{}{96}} \newlabel{61@vr}{{}{96}} \newlabel{OpenModelica:push-100}{{5.{1}}{96}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{96}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{97}\protected@file@percent } \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{97}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{97}\protected@file@percent } \newlabel{62@xvr}{{}{97}} @@ -954,7 +954,7 @@ \newlabel{108@xvr}{{}{146}} \newlabel{108@vr}{{}{146}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{146}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{146}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{147}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {8.6.2}Python Code}{147}\protected@file@percent } \newlabel{sec:pot-python-code}{{8.6.2}{147}} \@writefile{pyd}{\addvspace {10pt}} @@ -1012,125 +1012,127 @@ \@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Thermistor connection diagram}}}{154}\protected@file@percent } \@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Buzzer connection diagram}}}{154}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {9.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{154}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {9.3}{\ignorespaces Interfacing a thermistor with Arduino Uno using a breadboard\relax }}{155}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {9.3}{\ignorespaces A thermistor to read its values with Arduino Uno using a breadboard\relax }}{155}\protected@file@percent } \newlabel{fig:ard-therm-bread}{{9.3}{155}} -\@writefile{toc}{\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from the Arduino IDE}{155}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{155}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{155}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{155}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {9.4}{\ignorespaces A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }}{156}\protected@file@percent } +\newlabel{fig:ard-therm-buzzer}{{9.4}{156}} +\@writefile{toc}{\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from the Arduino IDE}{156}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{156}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{156}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{1}}{}}{156}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{156}\protected@file@percent } -\newlabel{sec:therm-arduino-code}{{9.3.2}{156}} -\@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{156}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{156}\protected@file@percent } -\newlabel{112@xvr}{{}{156}} -\newlabel{112@vr}{{}{156}} -\newlabel{ard:therm-read}{{9.{1}}{156}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{156}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{157}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{157}\protected@file@percent } -\newlabel{113@xvr}{{}{157}} -\newlabel{113@vr}{{}{157}} -\newlabel{ard:therm-buzzer}{{9.{2}}{157}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash buzzer/therm\textendash buzzer.ino}{157}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{156}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{1}}{}}{157}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{157}\protected@file@percent } +\newlabel{sec:therm-arduino-code}{{9.3.2}{157}} +\@writefile{ard}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{157}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{157}\protected@file@percent } +\newlabel{112@xvr}{{}{157}} +\newlabel{112@vr}{{}{157}} +\newlabel{ard:therm-read}{{9.{1}}{157}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{157}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{158}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{158}\protected@file@percent } +\newlabel{113@xvr}{{}{158}} +\newlabel{113@vr}{{}{158}} +\newlabel{ard:therm-buzzer}{{9.{2}}{158}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash buzzer/therm\textendash buzzer.ino}{158}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {9.4}Interfacing the Thermistor from Scilab}{158}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {9.4.1}Interfacing the Thermistor}{158}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{2}}{}}{158}\protected@file@percent } -\newlabel{therm-abc}{{9.1}{158}} -\newlabel{therm-beta}{{9.2}{159}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{159}\protected@file@percent } -\newlabel{sec:therm-scilab-code}{{9.4.2}{159}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{2}}{}}{159}\protected@file@percent } +\newlabel{therm-abc}{{9.1}{159}} +\newlabel{therm-beta}{{9.2}{160}} +\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{160}\protected@file@percent } +\newlabel{sec:therm-scilab-code}{{9.4.2}{160}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{159}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{159}\protected@file@percent } -\newlabel{114@xvr}{{}{159}} -\newlabel{114@vr}{{}{159}} -\newlabel{sci:therm-read}{{9.{1}}{159}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash read.sce}{159}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{159}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{159}\protected@file@percent } -\newlabel{115@xvr}{{}{159}} -\newlabel{115@vr}{{}{159}} -\newlabel{sci:therm-buzzer}{{9.{2}}{159}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash buzzer.sce}{159}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {9.4}{\ignorespaces Xcos diagram to read thermistor values}}{160}\protected@file@percent } -\newlabel{117@xvr}{{}{160}} -\newlabel{117@vr}{{}{160}} -\newlabel{fig:therm-read}{{9.4}{160}} -\@writefile{toc}{\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Xcos}{160}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{161}\protected@file@percent } -\newlabel{tab:therm-read}{{9.1}{161}} -\newlabel{118@xvr}{{}{161}} -\newlabel{118@vr}{{}{161}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.5}{\ignorespaces Output of Xcos diagram to read thermistor values}}{161}\protected@file@percent } -\newlabel{120@xvr}{{}{161}} -\newlabel{120@vr}{{}{161}} -\newlabel{fig:therm-read-output}{{9.5}{161}} -\@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}}{162}\protected@file@percent } -\newlabel{122@xvr}{{}{162}} -\newlabel{122@vr}{{}{162}} -\newlabel{fig:therm-buzzer}{{9.6}{162}} -\@writefile{toc}{\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Python}{162}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{162}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{163}\protected@file@percent } -\newlabel{tab:ldr-led}{{9.2}{163}} -\newlabel{123@xvr}{{}{163}} -\newlabel{123@vr}{{}{163}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.7}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{163}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{160}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{160}\protected@file@percent } +\newlabel{114@xvr}{{}{160}} +\newlabel{114@vr}{{}{160}} +\newlabel{sci:therm-read}{{9.{1}}{160}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash read.sce}{160}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{160}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{160}\protected@file@percent } +\newlabel{115@xvr}{{}{160}} +\newlabel{115@vr}{{}{160}} +\newlabel{sci:therm-buzzer}{{9.{2}}{160}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash buzzer.sce}{160}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {9.5}{\ignorespaces Xcos diagram to read thermistor values}}{161}\protected@file@percent } +\newlabel{117@xvr}{{}{161}} +\newlabel{117@vr}{{}{161}} +\newlabel{fig:therm-read}{{9.5}{161}} +\@writefile{toc}{\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Xcos}{161}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{162}\protected@file@percent } +\newlabel{tab:therm-read}{{9.1}{162}} +\newlabel{118@xvr}{{}{162}} +\newlabel{118@vr}{{}{162}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.6}{\ignorespaces Output of Xcos diagram to read thermistor values}}{162}\protected@file@percent } +\newlabel{120@xvr}{{}{162}} +\newlabel{120@vr}{{}{162}} +\newlabel{fig:therm-read-output}{{9.6}{162}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.7}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{163}\protected@file@percent } +\newlabel{122@xvr}{{}{163}} +\newlabel{122@vr}{{}{163}} +\newlabel{fig:therm-buzzer}{{9.7}{163}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.8}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{163}\protected@file@percent } \newlabel{125@xvr}{{}{163}} \newlabel{125@vr}{{}{163}} -\newlabel{fig:therm-buzzer-output}{{9.7}{163}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.2}Python Code}{164}\protected@file@percent } -\newlabel{sec:therm-pyhton-code}{{9.6.2}{164}} +\newlabel{fig:therm-buzzer-output}{{9.8}{163}} +\@writefile{lot}{\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{164}\protected@file@percent } +\newlabel{tab:ldr-led}{{9.2}{164}} +\newlabel{123@xvr}{{}{164}} +\newlabel{123@vr}{{}{164}} +\@writefile{toc}{\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Python}{164}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{164}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.2}Python Code}{165}\protected@file@percent } +\newlabel{sec:therm-pyhton-code}{{9.6.2}{165}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{1}}{}}{164}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{164}\protected@file@percent } -\newlabel{126@xvr}{{}{164}} -\newlabel{126@vr}{{}{164}} -\newlabel{py:therm-read}{{9.{1}}{164}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash read.py}{164}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{2}}{}}{165}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{165}\protected@file@percent } -\newlabel{127@xvr}{{}{165}} -\newlabel{127@vr}{{}{165}} -\newlabel{py:therm-buzzer}{{9.{2}}{165}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash buzzer.py}{165}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from Julia}{166}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{166}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.2}Julia Code}{166}\protected@file@percent } -\newlabel{sec:therm-julia-code}{{9.7.2}{166}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{1}}{}}{165}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{165}\protected@file@percent } +\newlabel{126@xvr}{{}{165}} +\newlabel{126@vr}{{}{165}} +\newlabel{py:therm-read}{{9.{1}}{165}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash read.py}{165}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{2}}{}}{166}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{166}\protected@file@percent } +\newlabel{127@xvr}{{}{166}} +\newlabel{127@vr}{{}{166}} +\newlabel{py:therm-buzzer}{{9.{2}}{166}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash buzzer.py}{166}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from Julia}{167}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{167}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.2}Julia Code}{167}\protected@file@percent } +\newlabel{sec:therm-julia-code}{{9.7.2}{167}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{166}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{166}\protected@file@percent } -\newlabel{128@xvr}{{}{166}} -\newlabel{128@vr}{{}{166}} -\newlabel{julia:therm-read}{{9.{1}}{166}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{167}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{167}\protected@file@percent } +\newlabel{128@xvr}{{}{167}} +\newlabel{128@vr}{{}{167}} +\newlabel{julia:therm-read}{{9.{1}}{167}} \@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash read.jl}{167}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{167}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{167}\protected@file@percent } -\newlabel{129@xvr}{{}{167}} -\newlabel{129@vr}{{}{167}} -\newlabel{julia:therm-buzzer}{{9.{2}}{167}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash buzzer.jl}{167}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.8}Interfacing the Thermistor from OpenModelica}{167}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.1}Interfacing the Thermistor}{167}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{168}\protected@file@percent } -\newlabel{sec:therm-OpenModelica-code}{{9.8.2}{168}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{168}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{168}\protected@file@percent } +\newlabel{129@xvr}{{}{168}} +\newlabel{129@vr}{{}{168}} +\newlabel{julia:therm-buzzer}{{9.{2}}{168}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash buzzer.jl}{168}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.8}Interfacing the Thermistor from OpenModelica}{168}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.1}Interfacing the Thermistor}{168}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{169}\protected@file@percent } +\newlabel{sec:therm-OpenModelica-code}{{9.8.2}{169}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{168}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{168}\protected@file@percent } -\newlabel{130@xvr}{{}{168}} -\newlabel{130@vr}{{}{168}} -\newlabel{OpenModelica:therm-read}{{9.{1}}{168}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash read.mo}{168}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{169}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{169}\protected@file@percent } -\newlabel{131@xvr}{{}{169}} -\newlabel{131@vr}{{}{169}} -\newlabel{OpenModelica:therm-buzzer}{{9.{2}}{169}} -\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash buzzer.mo}{169}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{169}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{169}\protected@file@percent } +\newlabel{130@xvr}{{}{169}} +\newlabel{130@vr}{{}{169}} +\newlabel{OpenModelica:therm-read}{{9.{1}}{169}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash read.mo}{169}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{170}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{170}\protected@file@percent } +\newlabel{131@xvr}{{}{170}} +\newlabel{131@vr}{{}{170}} +\newlabel{OpenModelica:therm-buzzer}{{9.{2}}{170}} +\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash buzzer.mo}{170}\protected@file@percent } \@writefile{toc}{\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{171}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} diff --git a/floss-arduino.cod b/floss-arduino.cod index c2d4364..cea9d25 100644 --- a/floss-arduino.cod +++ b/floss-arduino.cod @@ -8,7 +8,7 @@ \contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{64}% \contentsline {section}{\numberline {4.{4}}Blinking the green LED}{64}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{88}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{89}% \contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{89}% \addvspace {10pt} \contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{105}% @@ -20,8 +20,8 @@ \addvspace {10pt} \contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{144}% \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}{159}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{160}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{160}% \addvspace {10pt} \contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{176}% \contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{176}% diff --git a/floss-arduino.fdb_latexmk b/floss-arduino.fdb_latexmk index 3dbd5d0..f57e258 100644 --- a/floss-arduino.fdb_latexmk +++ b/floss-arduino.fdb_latexmk @@ -1,19 +1,19 @@ # Fdb version 3 -["bibtex floss-arduino"] 1617903979 "floss-arduino.aux" "floss-arduino.bbl" "floss-arduino" 1617904695 +["bibtex floss-arduino"] 1617906918 "floss-arduino.aux" "floss-arduino.bbl" "floss-arduino" 1617907493 "/usr/share/texlive/texmf-dist/bibtex/bst/base/unsrt.bst" 1292289607 18030 1376b4b231b50c66211e47e42eda2875 "" "bibliography.bib" 1617386964 3464 0dc80d81f59d2ac319f124d77ae8c1cd "" - "floss-arduino.aux" 1617904035 126711 79ed7e7305b656d84cddc640850663f8 "pdflatex" + "floss-arduino.aux" 1617907004 126942 0832185932ec77945e1307ef7913e5dd "pdflatex" (generated) - "floss-arduino.bbl" "floss-arduino.blg" -["makeindex floss-arduino.idx"] 1617903131 "floss-arduino.idx" "floss-arduino.ind" "floss-arduino" 1617904695 - "floss-arduino.idx" 1617904035 187 ab5f6591fcb08b484062587f52cf19ae "pdflatex" + "floss-arduino.bbl" +["makeindex floss-arduino.idx"] 1617903131 "floss-arduino.idx" "floss-arduino.ind" "floss-arduino" 1617907493 + "floss-arduino.idx" 1617907004 187 ab5f6591fcb08b484062587f52cf19ae "pdflatex" (generated) - "floss-arduino.ind" "floss-arduino.ilg" -["pdflatex"] 1617903979 "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" "floss-arduino" 1617904695 + "floss-arduino.ind" +["pdflatex"] 1617906998 "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" "floss-arduino" 1617907493 "/etc/texmf/web2c/texmf.cnf" 1602253014 475 c0e671620eb5563b2130f56340a5fde8 "" - "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.aux" 1617904035 126711 79ed7e7305b656d84cddc640850663f8 "" + "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.aux" 1617907004 126942 0832185932ec77945e1307ef7913e5dd "" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" 1616757903 4558 ca761944339060a19cdb71de5337b126 "" "/usr/share/texlive/texmf-dist/fonts/enc/dvips/base/8r.enc" 1165713224 4850 80dc9bab7f31fb78a000ccfed0e27cab "" "/usr/share/texlive/texmf-dist/fonts/map/fontname/texfonts.map" 1577235249 3524 cb3e574dea2d1052e39280babc910dc8 "" @@ -139,18 +139,18 @@ "/usr/share/texmf/web2c/texmf.cnf" 1581979058 38841 ce3692aa899bb693b90b87eaa5d4d84e "" "/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map" 1604540077 4770781 1ed1abab22da9c3e2cc82e4db562318b "" "/var/lib/texmf/web2c/pdftex/pdflatex.fmt" 1604540101 8258883 e8330f8aa4fe7c6cdcf08bf0b72237fd "" - "floss-arduino.OpenModelicad" 1617904035 2297 3cee1fe5c621387f4b825de3d47e3063 "pdflatex" - "floss-arduino.ard" 1617904035 2082 144e1c4a1ceecea06bea2f1ed0a41c70 "pdflatex" - "floss-arduino.aux" 1617904035 126711 79ed7e7305b656d84cddc640850663f8 "pdflatex" - "floss-arduino.bbl" 1617903979 2243 ecd6e796a77fc4300039804f4c573e56 "bibtex floss-arduino" - "floss-arduino.cod" 1617904035 2525 23bf7b46ddab17c0240a74743428de2d "pdflatex" + "floss-arduino.OpenModelicad" 1617907004 2297 cad8defb9743dad6e5cd780a60a3a8a6 "pdflatex" + "floss-arduino.ard" 1617907004 2082 b61cf25e06dd3b31659301b9b5b8787f "pdflatex" + "floss-arduino.aux" 1617907004 126942 0832185932ec77945e1307ef7913e5dd "pdflatex" + "floss-arduino.bbl" 1617906918 2243 ecd6e796a77fc4300039804f4c573e56 "bibtex floss-arduino" + "floss-arduino.cod" 1617907004 2525 510733a49438925d3256683b5e31a890 "pdflatex" "floss-arduino.ind" 1617903131 228 d3e6768cdc98af9b465c5549e47f6476 "makeindex floss-arduino.idx" - "floss-arduino.juliad" 1617904035 2311 84cd28778389a6f563dbbc5bcc5c6f80 "pdflatex" - "floss-arduino.lof" 1617904035 11854 4143f1570782e36fa29e267fca9d1ee9 "pdflatex" - "floss-arduino.lot" 1617904035 3700 c48ea70ec33b8151cdfa0ea6d7767811 "pdflatex" - "floss-arduino.pyd" 1617904035 2323 e7593eefc031b7614533aacf104d7fb4 "pdflatex" + "floss-arduino.juliad" 1617907004 2311 c0ae9703ec43a0f8c4093e5617207236 "pdflatex" + "floss-arduino.lof" 1617907004 12000 85949449318657b839b24a2dfb460719 "pdflatex" + "floss-arduino.lot" 1617907004 3700 1a148a59fe143c8723cd15d1655620d3 "pdflatex" + "floss-arduino.pyd" 1617907004 2323 755d1c90e79b0e3e95ed40a3528c326f "pdflatex" "floss-arduino.tex" 1616757903 4558 ca761944339060a19cdb71de5337b126 "" - "floss-arduino.toc" 1617904035 15215 6d8100dd4cd006094bd02d9a277fa64b "pdflatex" + "floss-arduino.toc" 1617907004 15215 7b45cbc22852cfc13cdf916bfc1c333b "pdflatex" "suppl/acr.tex" 1615963613 1926 fd6481c4666ee0d60331b7d4cc24b645 "" "suppl/intro.tex" 1615963613 3437 b09628cf9e20fe17fa65b37a5997653c "" "suppl/styles.tex" 1615963613 8143 aa3280f0b59c8631fe8ec44895c9e871 "" @@ -208,7 +208,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" 1617903972 25440 740a6c9d297463e6283378f4640d53e4 "" + "user-code/ldr/ldr.tex" 1617906997 25447 bd1bd7a08867f2e00a96072f79c7b311 "" "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 "" @@ -236,7 +236,7 @@ "user-code/led/julia/led-blue.jl" 1615963614 127 622bb51db887bc146e7f767e3b1d56f4 "" "user-code/led/julia/led-green-blink.jl" 1615963614 191 e8ec59164af34e16a5cd0cff9e58f27e "" "user-code/led/julia/test_firmware.jl" 1615963614 146 0fb4c836e3401ff48c75c309e39d01ba "" - "user-code/led/led.tex" 1617903972 43501 a3082ea7d55721becf62443c75ab79f1 "" + "user-code/led/led.tex" 1617907492 43501 cf603ba160885e207f184c5af9016438 "" "user-code/led/python/led-blue-delay.py" 1615963614 833 babefa03765e8de3166a7183bb9dea89 "" "user-code/led/python/led-blue-red.py" 1615963614 1027 6d7d523452db15fd0dc6861ba415eb9b "" "user-code/led/python/led-blue.py" 1615963614 735 58dfc81f1d62cfc75e56cc9c3485031b "" @@ -281,7 +281,7 @@ "user-code/pot/figures/potmeter.png" 1615963614 99691 b56662d8570cfc9c91c52b76f21d1802 "" "user-code/pot/figures/schematic.png" 1615963614 24453 85099648f5c8e616d3cfd5f3d6d7a7bf "" "user-code/pot/julia/pot-threshold.jl" 1615963614 457 c32a8f64cd2460150156b5e8cadf050b "" - "user-code/pot/pot.tex" 1617904695 18165 f042907b0a8be863ecd7c39462324237 "" + "user-code/pot/pot.tex" 1617906680 18396 56afd1c0095689bd7a93fdcde8efefa7 "" "user-code/pot/python/pot-threshold.py" 1615963614 1168 1c8446b4eb191d9326f7c08bd342aa7f "" "user-code/pot/scilab/pot-threshold.sce" 1615963614 624 2bab29d371a2666f033dd6bccad5bb73 "" "user-code/push/OpenModelica/led-push-button.mo" 1615963614 1198 120e49f80595079acd4df70592cdf775 "" @@ -295,7 +295,7 @@ "user-code/push/figures/switch.png" 1617880485 220988 2689323a6f7a00d63e81ef7abb52961a "" "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" 1617885068 22893 3cb1f98a9a3915f5afad38d6edfcfb2e "" + "user-code/push/push.tex" 1617906984 23149 931abba34e8d18444b61bb1d6de3e1d4 "" "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 "" @@ -363,32 +363,33 @@ "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 "" "user-code/thermistor/figures/therm-read.png" 1615963614 19495 9e15703acd9c4205b29b15f718ba5669 "" "user-code/thermistor/figures/therm-sym.png" 1615963614 17914 5c4de58664f2c605c14ebafd7187b119 "" + "user-code/thermistor/figures/thermistor-buzzer.png" 1617904904 251485 47e52a1b05f033ac5efc513d0c38b843 "" + "user-code/thermistor/figures/thermistor.png" 1617904875 227111 a497c7b79fab30a854e897df8f7b9e5a "" "user-code/thermistor/julia/therm-buzzer.jl" 1615963614 226 bf899244c84d5e79afd9cbb0b4e47ac3 "" "user-code/thermistor/julia/therm-read.jl" 1615963614 144 6f69ed4b7b2565dc7b254e40a783b691 "" "user-code/thermistor/python/therm-buzzer.py" 1615963614 928 ed9f475c9ed1b48df0336865cc08a77e "" "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" 1615974011 24283 566b640d2c28a0d62ba94f5644269a22 "" + "user-code/thermistor/thermistor.tex" 1617906911 25838 1f7c3824e3c28084af6bca0235c3226f "" (generated) - "floss-arduino.pyd" - "floss-arduino.cod" - "floss-arduino.ard" - "floss-arduino.OpenModelicad" - "floss-arduino.thm" - "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.log" - "floss-arduino.log" + "floss-arduino.idx" "floss-arduino.lot" - "floss-arduino.lof" - "floss-arduino.juliad" "floss-arduino.toc" - "floss-arduino.aux" - "floss-arduino.idx" + "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.log" + "floss-arduino.thm" "floss-arduino.pdf" + "floss-arduino.pyd" + "floss-arduino.log" + "floss-arduino.aux" + "floss-arduino.juliad" + "floss-arduino.lof" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" + "floss-arduino.cod" + "floss-arduino.OpenModelicad" + "floss-arduino.ard" diff --git a/floss-arduino.fls b/floss-arduino.fls index d4b0040..e918dad 100644 --- a/floss-arduino.fls +++ b/floss-arduino.fls @@ -769,9 +769,12 @@ 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/figures/thermistor.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/thermistor.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/thermistor.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/thermistor-buzzer.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/thermistor-buzzer.png +INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/thermistor-buzzer.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 125c717..4e5cff2 100644 --- a/floss-arduino.juliad +++ b/floss-arduino.juliad @@ -6,7 +6,7 @@ \contentsline {section}{\numberline {4.{4}}Blinking the green LED}{77}% \addvspace {10pt} \contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{95}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{95}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{96}% \addvspace {10pt} \contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{113}% \contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{113}% @@ -17,8 +17,8 @@ \addvspace {10pt} \contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{149}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{166}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{167}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{167}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{168}% \addvspace {10pt} \contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{188}% \contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{188}% diff --git a/floss-arduino.lof b/floss-arduino.lof index 907b4bc..8f29fd1 100644 --- a/floss-arduino.lof +++ b/floss-arduino.lof @@ -92,11 +92,12 @@ \contentsline {figure}{\numberline {9.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{154}% \contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Thermistor connection diagram}}}{154}% \contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Buzzer connection diagram}}}{154}% -\contentsline {figure}{\numberline {9.3}{\ignorespaces Interfacing a thermistor with Arduino Uno using a breadboard\relax }}{155}% -\contentsline {figure}{\numberline {9.4}{\ignorespaces Xcos diagram to read thermistor values}}{160}% -\contentsline {figure}{\numberline {9.5}{\ignorespaces Output of Xcos diagram to read thermistor values}}{161}% -\contentsline {figure}{\numberline {9.6}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{162}% -\contentsline {figure}{\numberline {9.7}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{163}% +\contentsline {figure}{\numberline {9.3}{\ignorespaces A thermistor to read its values with Arduino Uno using a breadboard\relax }}{155}% +\contentsline {figure}{\numberline {9.4}{\ignorespaces A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }}{156}% +\contentsline {figure}{\numberline {9.5}{\ignorespaces Xcos diagram to read thermistor values}}{161}% +\contentsline {figure}{\numberline {9.6}{\ignorespaces Output of Xcos diagram to read thermistor values}}{162}% +\contentsline {figure}{\numberline {9.7}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{163}% +\contentsline {figure}{\numberline {9.8}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{163}% \addvspace {10\p@ } \contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{178}% \contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{179}% diff --git a/floss-arduino.log b/floss-arduino.log index 88f6c8d..55d1bc7 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) 8 APR 2021 23:17 +This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex 2020.11.5) 9 APR 2021 00:15 entering extended mode restricted \write18 enabled. %&-line parsing enabled. @@ -1446,10 +1446,10 @@ ed.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/switch-le d.png> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/pu -sh/figures/switch-led.png used on input line 103. +sh/figures/switch-led.png used on input line 106. (pdftex.def) Requested size: 397.48499pt x 233.56786pt. -Underfull \vbox (badness 10000) has occurred while \output is active [] +Underfull \vbox (badness 1158) has occurred while \output is active [] [85 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/switch-l ed.png>] @@ -1461,14 +1461,14 @@ tatus/push-button-status.ino) on/led-push-button.ino) [86] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/push-button-s tatus/push-button-status.ino) -Overfull \hbox (0.16989pt too wide) in paragraph at lines 171--174 +Overfull \hbox (0.16989pt too wide) in paragraph at lines 174--177 []\T1/cmr/m/n/10.95 Turning the LED on or off de-pend-ing on the push-but-ton. Avail- [] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/arduino/led-push-butt -on/led-push-button.ino) [87] +on/led-push-button.ino [87]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push-button-st atus.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push-button-st @@ -1477,7 +1477,7 @@ atus.sce) n.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/scilab/push-button-st atus.sce [88]) -Overfull \hbox (0.145pt too wide) in paragraph at lines 224--227 +Overfull \hbox (0.145pt too wide) in paragraph at lines 227--230 \T1/cmr/m/n/10.95 able at \T1/fvm/m/n/10.95 O r i g i n / u s e r - c o d e / p u s h / s c i l a b / l e d - p u s h - b u t t o n . s c e\T1/cmr/m/n/10.95 , see Foot- @@ -1493,49 +1493,52 @@ ton-status.PNG Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/push-butt on-status.PNG> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/pu -sh/figures/push-button-status.PNG used on input line 255. +sh/figures/push-button-status.PNG used on input line 258. (pdftex.def) Requested size: 178.86702pt x 180.9012pt. -Overfull \hbox (3.33746pt too wide) in paragraph at lines 273--283 +Overfull \hbox (3.33746pt too wide) in paragraph at lines 276--286 [][] [] -[89] +[89] [90 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/push +-button-status.PNG>] </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/led-push-butt -on.PNG, id=477, 298.86656pt x 264.99pt> +on.PNG, id=481, 298.86656pt x 264.99pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/led-push -button.PNG Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/led-push- button.PNG> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/pu -sh/figures/led-push-button.PNG used on input line 298. +sh/figures/led-push-button.PNG used on input line 301. (pdftex.def) Requested size: 178.86702pt x 158.59492pt. -Overfull \hbox (4.77844pt too wide) in paragraph at lines 315--326 +Overfull \hbox (4.77844pt too wide) in paragraph at lines 318--329 [][] [] -[90 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/push-butt -on-status.PNG>] [91 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/f -igures/led-push-button.PNG>] +[91 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/led-push- +button.PNG>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push-button-st atus.py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push-button-st atus.py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led-push-butto -n.py) +n.py) [92] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/push-button-st -atus.py [92]) +atus.py) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/python/led-push-butto n.py [93]) +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [94] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push-button-sta -tus.jl) [94] +tus.jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led-push-button .jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/push-button-sta -tus.jl) +tus.jl) [95] (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led-push-button -.jl [95]) +.jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push-but ton-status.mo) (/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/push-but @@ -1804,25 +1807,25 @@ t/figures/schematic.png used on input line 68. (pdftex.def) Requested size: 178.86702pt x 179.73206pt. [139 -] +] [140 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/potmete +r.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/schemat +ic.png>] </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/POT-led.png, i -d=666, 453.695pt x 243.309pt> +d=671, 453.695pt x 243.309pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/POT-led.p ng Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/POT-led.pn g> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/po -t/figures/POT-led.png used on input line 110. +t/figures/POT-led.png used on input line 113. (pdftex.def) Requested size: 397.48499pt x 213.16588pt. -Overfull \hbox (9.68646pt too wide) in paragraph at lines 109--111 +Overfull \hbox (9.68646pt too wide) in paragraph at lines 112--114 [] [] [] -[140 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/potmeter. -png> </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/schematic -.png>] [141 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/PO -T-led.png>] +[141 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/POT-led.p +ng>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot-threshold/ pot-threshold.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot-threshold/ @@ -1833,7 +1836,7 @@ pot-threshold.ino [142]) ce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot-threshold.s ce) [143] -Overfull \hbox (6.93184pt too wide) in paragraph at lines 197--201 +Overfull \hbox (6.93184pt too wide) in paragraph at lines 200--204 []\T1/cmr/m/n/10.95 Turning on LEDs de-pend-ing on the po-ten-tiome-ter thresh- old. Avail- [] @@ -1848,32 +1851,32 @@ hold.PNG Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/pot-thresh old.PNG> Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/po -t/figures/pot-threshold.PNG used on input line 215. +t/figures/pot-threshold.PNG used on input line 218. (pdftex.def) Requested size: 258.36281pt x 232.49149pt. -Overfull \hbox (4.77844pt too wide) in paragraph at lines 233--262 +Overfull \hbox (4.77844pt too wide) in paragraph at lines 236--265 [][] [] [144] [145 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/pot -threshold.PNG>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot-threshold.p -y) +y) [146] (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot-threshold.p -y [146]) +y) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot-threshold.p y [147]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot-threshold.jl ) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot-threshold.jl ) -Overfull \hbox (9.15074pt too wide) in paragraph at lines 315--316 +Overfull \hbox (9.15074pt too wide) in paragraph at lines 318--319 \T1/cmr/m/n/10.95 where \T1/fvm/m/n/10.95 digiWrite \T1/cmr/m/n/10.95 is used t o set the pin 11 high (1) or low (0). We used \T1/fvm/m/n/10.95 sleep(1000) [] -Overfull \hbox (0.88127pt too wide) in paragraph at lines 322--326 +Overfull \hbox (0.88127pt too wide) in paragraph at lines 325--329 []\T1/cmr/m/n/10.95 Turning on LEDs de-pend-ing on the po-ten-tiome-ter thresh- old. Avail- [] @@ -1885,7 +1888,7 @@ old. Avail- hold.mo) (/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot-thres hold.mo [149]) -Overfull \hbox (7.95369pt too wide) in paragraph at lines 345--349 +Overfull \hbox (7.95369pt too wide) in paragraph at lines 348--352 []\T1/cmr/m/n/10.95 Turning on LEDs de-pend-ing on the po-ten-tiome-ter thresh- [] @@ -1947,95 +1950,103 @@ 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=736, 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> +</home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/thermis +tor.png, id=736, 453.695pt x 236.885pt> +File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th +ermistor.png Graphic file (type png) +<use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/the +rmistor.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. - +ermistor/figures/thermistor.png used on input line 110. +(pdftex.def) Requested size: 397.48499pt x 207.53772pt. +</home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/thermis +tor-buzzer.png, id=737, 453.695pt x 240.097pt> +File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th +ermistor-buzzer.png Graphic file (type png) +<use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/the +rmistor-buzzer.png> +Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th +ermistor/figures/thermistor-buzzer.png used on input line 124. +(pdftex.def) Requested size: 397.48499pt x 210.35179pt. + [155 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t +hermistor.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-r ead/therm-read.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-r ead/therm-read.ino) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-r -ead/therm-read.ino) [155 </home/fossee/Desktop/floss-scilab-arduino/user-code/t -hermistor/figures/ard-therm.png>] +ead/therm-read.ino) [156 </home/fossee/Desktop/floss-scilab-arduino/user-code/t +hermistor/figures/thermistor-buzzer.png>] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-r -ead/therm-read.ino [156]) +ead/therm-read.ino [157]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-b -uzzer/therm-buzzer.ino) [157] [158] +uzzer/therm-buzzer.ino) [158] [159] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm-re ad.sce) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm-bu -zzer.sce [159]) +zzer.sce) [160] </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-r -ead-xcos.png, id=756, 617.30624pt x 548.0475pt> +ead-xcos.png, id=761, 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 280. +ermistor/figures/therm-read-xcos.png used on input line 306. (pdftex.def) Requested size: 194.76982pt x 172.91183pt. </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-r -ead.png, id=757, 632.3625pt x 529.98pt> +ead.png, id=762, 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 313. +ermistor/figures/therm-read.png used on input line 339. (pdftex.def) Requested size: 194.76982pt x 163.23271pt. - [160 </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=762, 627.34375pt x 530.98375pt> +uzzer-xcos.png, id=763, 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 329. +ermistor/figures/therm-buzzer-xcos.png used on input line 355. (pdftex.def) Requested size: 258.36281pt x 218.68509pt. - -Overfull \hbox (4.77844pt too wide) in paragraph at lines 347--367 + [161 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t +herm-read-xcos.png>] +Overfull \hbox (4.77844pt too wide) in paragraph at lines 373--393 [][] [] -[161 </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=767, 612.2875pt x 589.20125pt> +uzzer.png, id=768, 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 373. +ermistor/figures/therm-buzzer.png used on input line 399. (pdftex.def) Requested size: 178.86702pt x 172.12265pt. - [162 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t -herm-buzzer-xcos.png>] +[162 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th +erm-read.png>] LaTeX Warning: Text page 163 contains only floats. [163 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th -erm-buzzer.png>] +erm-buzzer-xcos.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/therm +istor/figures/therm-buzzer.png>] [164] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm-re -ad.py [164]) +ad.py [165]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm-bu -zzer.py [165]) +zzer.py [166]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm-rea -d.jl [166]) +d.jl [167]) (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm-buz -zer.jl) [167] +zer.jl) [168] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/th -erm-read.mo [168]) +erm-read.mo) [169] (/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/th -erm-buzzer.mo) [169]) (./user-code/servo/servo.tex [170] +erm-buzzer.mo)) (./user-code/servo/servo.tex [170] Chapter 10. Underfull \vbox (badness 1975) has occurred while \output is active [] @@ -2072,7 +2083,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=822, 265.74281pt x 309.40594pt> +ng, id=824, 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 @@ -2082,7 +2093,7 @@ rvo/figures/servo-init.png used on input line 299. (pdftex.def) Requested size: 178.86702pt x 208.2593pt. [177] </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-revers -e.png, id=826, 244.66406pt x 281.55188pt> +e.png, id=828, 244.66406pt x 281.55188pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-r everse.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-re @@ -2096,7 +2107,7 @@ Underfull \vbox (badness 3199) has occurred while \output is active [] [178 </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=830, 281.55188pt x 347.04657pt> +ng, id=832, 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 @@ -2105,7 +2116,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=831, 286.06876pt x 292.09125pt> +g, id=833, 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 @@ -2180,7 +2191,7 @@ ot.mo [192])) (./user-code/modbus/modbus.tex [193] [194 Chapter 11. [195] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig1.png, i -d=886, 672.5125pt x 224.84pt> +d=888, 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 @@ -2189,7 +2200,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=887, 360.34625pt x 375.4025pt> +d=889, 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 @@ -2198,7 +2209,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=888, 481.04718pt x 214.55156pt> +d=890, 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 @@ -2211,7 +2222,7 @@ png (PNG copy)> </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/fig ures/fig2.png (PNG copy)>] [197 </home/fossee/Desktop/floss-scilab-arduino/user -code/modbus/figures/fig3.png (PNG copy)>] [198] [199] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/Full-Set-Up -.png, id=903, 722.7pt x 542.025pt> +.png, id=905, 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 @@ -2221,7 +2232,7 @@ dbus/figures/Full-Set-Up.png used on input line 300. (pdftex.def) Requested size: 258.36281pt x 193.77246pt. [200] </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/block-diagr -am.PNG, id=907, 398.23781pt x 255.95625pt> +am.PNG, id=909, 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 @@ -2230,7 +2241,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=908, 327.2225pt x 480.79625pt> +e_flowchart.png, id=910, 327.2225pt x 480.79625pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/arduin o_code_flowchart.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/arduino @@ -2241,7 +2252,7 @@ dbus/figures/arduino_code_flowchart.png used on input line 348. [201 </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=913, 482.55281pt x 362.10281pt> +ng, id=915, 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 @@ -2250,7 +2261,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=914, 1028.34187pt x 578.16pt> +put.png, id=916, 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 @@ -2259,7 +2270,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=915, 2509.375pt x 1411.2725pt> +put-setup.jpg, id=917, 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 @@ -2268,7 +2279,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=916, 1028.34187pt x 578.16pt> +put.png, id=918, 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 @@ -2277,7 +2288,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=917, 2509.375pt x 1411.2725pt> +put-setup.jpg, id=919, 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 @@ -2286,7 +2297,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=918, 1028.34187pt x 578.16pt> +r-output.png, id=920, 1028.34187pt x 578.16pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/active -power-output.png Graphic file (type png) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/active- @@ -2298,7 +2309,7 @@ dbus/figures/active-power-output.png used on input line 429. [202 </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=923, 2509.375pt x 1411.2725pt> +r-output-setup.jpg, id=925, 2509.375pt x 1411.2725pt> File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/active -power-output-setup.jpg Graphic file (type jpg) <use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/active- @@ -2312,7 +2323,7 @@ Underfull \vbox (badness 10000) has occurred while \output is active [] [203 </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=928, 635.37375pt x 455.7025pt> +xcos.png, id=930, 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 @@ -2414,10 +2425,10 @@ LaTeX Warning: There were multiply-defined labels. ) Here is how much of TeX's memory you used: - 9692 strings out of 481239 - 206577 string characters out of 5920377 + 9698 strings out of 481239 + 207095 string characters out of 5920377 742688 words of memory out of 5000000 - 24241 multiletter control sequences out of 15000+600000 + 24247 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 @@ -2445,10 +2456,10 @@ sr/share/texmf/fonts/type1/public/cm-super/sfrm1000.pfb></usr/share/texmf/fonts er/sfrm1200.pfb></usr/share/texmf/fonts/type1/public/cm-super/sfsi1095.pfb></us r/share/texmf/fonts/type1/public/cm-super/sfss1095.pfb></usr/share/texmf/fonts/ type1/public/cm-super/sfti1095.pfb> -Output written on floss-arduino.pdf (240 pages, 24413688 bytes). +Output written on floss-arduino.pdf (240 pages, 24670636 bytes). PDF statistics: - 1069 PDF objects out of 1200 (max. 8388607) + 1071 PDF objects out of 1200 (max. 8388607) 631 compressed objects within 7 object streams 0 named destinations out of 1000 (max. 500000) - 521 words of extra memory for PDF output out of 10000 (max. 10000000) + 526 words of extra memory for PDF output out of 10000 (max. 10000000) diff --git a/floss-arduino.lot b/floss-arduino.lot index f4ed858..270fe3b 100644 --- a/floss-arduino.lot +++ b/floss-arduino.lot @@ -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 }}{146}% \addvspace {10\p@ } -\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{161}% -\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{163}% +\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{162}% +\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{164}% \addvspace {10\p@ } \contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{172}% \contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{178}% diff --git a/floss-arduino.pdf b/floss-arduino.pdf Binary files differindex 8613a97..4654177 100644 --- a/floss-arduino.pdf +++ b/floss-arduino.pdf diff --git a/floss-arduino.pyd b/floss-arduino.pyd index 984796b..504cf2f 100644 --- a/floss-arduino.pyd +++ b/floss-arduino.pyd @@ -6,7 +6,7 @@ \contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{73}% \contentsline {section}{\numberline {4.{4}}Blinking the green LED}{74}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{92}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{93}% \contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{93}% \addvspace {10pt} \contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{110}% @@ -18,8 +18,8 @@ \addvspace {10pt} \contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{147}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{164}% -\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{165}% +\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{165}% +\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{166}% \addvspace {10pt} \contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{183}% \contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{184}% diff --git a/floss-arduino.thm b/floss-arduino.thm index d861dea..3e7ec30 100644 --- a/floss-arduino.thm +++ b/floss-arduino.thm @@ -28,13 +28,13 @@ \contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{81}% \contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{87}% \contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{87}% -\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{88}% +\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{89}% \contentsline {codemass}{{Scilab Code}{5.{2}}{}}{89}% -\contentsline {egmass}{{Exercise}{5.{1}}{}}{90}% -\contentsline {pymass}{{Python Code}{5.{1}}{}}{92}% +\contentsline {egmass}{{Exercise}{5.{1}}{}}{91}% +\contentsline {pymass}{{Python Code}{5.{1}}{}}{93}% \contentsline {pymass}{{Python Code}{5.{2}}{}}{93}% \contentsline {juliamass}{{Julia Code}{5.{1}}{}}{95}% -\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{95}% +\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{96}% \contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{96}% \contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{97}% \contentsline {egmass}{{Exercise}{6.{1}}{}}{103}% @@ -74,18 +74,18 @@ \contentsline {pymass}{{Python Code}{8.{1}}{}}{147}% \contentsline {juliamass}{{Julia Code}{8.{1}}{}}{149}% \contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{150}% -\contentsline {egmass}{{Exercise}{9.{1}}{}}{156}% -\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{156}% -\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{157}% -\contentsline {egmass}{{Exercise}{9.{2}}{}}{158}% -\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{159}% -\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{159}% -\contentsline {pymass}{{Python Code}{9.{1}}{}}{164}% -\contentsline {pymass}{{Python Code}{9.{2}}{}}{165}% -\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{166}% -\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{167}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{168}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{169}% +\contentsline {egmass}{{Exercise}{9.{1}}{}}{157}% +\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{157}% +\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{158}% +\contentsline {egmass}{{Exercise}{9.{2}}{}}{159}% +\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{160}% +\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{160}% +\contentsline {pymass}{{Python Code}{9.{1}}{}}{165}% +\contentsline {pymass}{{Python Code}{9.{2}}{}}{166}% +\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{167}% +\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{168}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{169}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{170}% \contentsline {egmass}{{Exercise}{10.{1}}{}}{173}% \contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{173}% \contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{174}% diff --git a/floss-arduino.toc b/floss-arduino.toc index c4da6b4..aaace04 100644 --- a/floss-arduino.toc +++ b/floss-arduino.toc @@ -82,13 +82,13 @@ \contentsline {subsection}{\numberline {5.3.2}Arduino Code}{87}% \contentsline {section}{\numberline {5.4}Reading the Pushbutton Status from Scilab}{88}% \contentsline {subsection}{\numberline {5.4.1}Reading the Pushbutton Status}{88}% -\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{88}% +\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{89}% \contentsline {section}{\numberline {5.5}Accessing the Pushbutton from Xcos}{89}% \contentsline {section}{\numberline {5.6}Reading the Pushbutton Status from Python}{92}% \contentsline {subsection}{\numberline {5.6.1}Reading the Pushbutton Status}{92}% -\contentsline {subsection}{\numberline {5.6.2}Python Code}{92}% -\contentsline {section}{\numberline {5.7}Reading the Pushbutton Status from Julia}{94}% -\contentsline {subsection}{\numberline {5.7.1}Reading the Pushbutton Status}{94}% +\contentsline {subsection}{\numberline {5.6.2}Python Code}{93}% +\contentsline {section}{\numberline {5.7}Reading the Pushbutton Status from Julia}{95}% +\contentsline {subsection}{\numberline {5.7.1}Reading the Pushbutton Status}{95}% \contentsline {subsection}{\numberline {5.7.2}Julia Code}{95}% \contentsline {section}{\numberline {5.8}Reading the Pushbutton Status from OpenModelica}{96}% \contentsline {subsection}{\numberline {5.8.1}Reading the Pushbutton Status}{96}% @@ -155,22 +155,22 @@ \contentsline {chapter}{\numberline {9}Interfacing a Thermistor}{153}% \contentsline {section}{\numberline {9.1}Preliminaries}{153}% \contentsline {section}{\numberline {9.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{154}% -\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from the Arduino IDE}{155}% -\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{155}% -\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{156}% +\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from the Arduino IDE}{156}% +\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{156}% +\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{157}% \contentsline {section}{\numberline {9.4}Interfacing the Thermistor from Scilab}{158}% \contentsline {subsection}{\numberline {9.4.1}Interfacing the Thermistor}{158}% -\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{159}% -\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Xcos}{160}% -\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Python}{162}% -\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{162}% -\contentsline {subsection}{\numberline {9.6.2}Python Code}{164}% -\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from Julia}{166}% -\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{166}% -\contentsline {subsection}{\numberline {9.7.2}Julia Code}{166}% -\contentsline {section}{\numberline {9.8}Interfacing the Thermistor from OpenModelica}{167}% -\contentsline {subsection}{\numberline {9.8.1}Interfacing the Thermistor}{167}% -\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{168}% +\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{160}% +\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Xcos}{161}% +\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Python}{164}% +\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{164}% +\contentsline {subsection}{\numberline {9.6.2}Python Code}{165}% +\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from Julia}{167}% +\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{167}% +\contentsline {subsection}{\numberline {9.7.2}Julia Code}{167}% +\contentsline {section}{\numberline {9.8}Interfacing the Thermistor from OpenModelica}{168}% +\contentsline {subsection}{\numberline {9.8.1}Interfacing the Thermistor}{168}% +\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{169}% \contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{171}% \contentsline {section}{\numberline {10.1}Preliminaries}{171}% \contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{172}% diff --git a/user-code/ldr/ldr.tex b/user-code/ldr/ldr.tex index 2751d3c..3c5251a 100644 --- a/user-code/ldr/ldr.tex +++ b/user-code/ldr/ldr.tex @@ -117,7 +117,7 @@ by the analog pin 5 of \arduino\ in its logic. The connections shown in \figref{fig:ard-ldr-led} can be used to control an RGB LED,
depending on the voltage values from the LDR. As shown in \figref{fig:ard-ldr-led},
-digital pin 11 on \arduino\ is connected to the leftmost leg of the RGB LED. Rest connections
+digital pin 11 on \arduino\ is connected to the leftmost leg of the RGB LED. Rest of the connections
are same as that in \figref{fig:ard-ldr}.
\begin{figure}
diff --git a/user-code/led/led.tex b/user-code/led/led.tex index b47bfe0..bf7ab6e 100644 --- a/user-code/led/led.tex +++ b/user-code/led/led.tex @@ -107,10 +107,10 @@ please refer to \figref{fig:ard-rgb-bread}. \caption{Interfacing an RGB LED with Arduino Uno using a breadboard}
\label{fig:ard-rgb-bread}
\end{figure}
-In this figure (\figref{fig:ard-rgb-bread}), there is an RGB LED with four legs.
+As shown in \figref{fig:ard-rgb-bread}, there is an RGB LED with four legs.
From the left, the first leg represents the anode (+) pin for the red LED.
The second leg represents the common cathode for every color.
-The third and fourth legs represent the anode (+) pin for green LED and blue LED respectively.
+The third and fourth legs represent the anode (+) pins for the green LED and blue LED respectively.
The anode pins of red, green, and blue are, respectively, connected to digital pins 11, 10, and 9 of Arduino Uno.
On the other hand, common cathode is connected to the ground (GND) terminal of Arduino Uno.
diff --git a/user-code/pot/pot.tex b/user-code/pot/pot.tex index aaa182f..5bc0dd1 100644 --- a/user-code/pot/pot.tex +++ b/user-code/pot/pot.tex @@ -96,7 +96,10 @@ corresponding pin of the \arduino\ board. This section is useful for those who either don't have a shield or don't want to use the shield
for performing the experiments given in this chapter.
-To know more about a pushbutton, one should watch the Spoken Tutorials on Arduino as published on
+A breadboard is a device for holding the components of a circuit and connecting
+them together. We can build an electronic circuit on a breadboard without doing any
+soldering. 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/}. Ideally, one should go through all the
tutorials labeled as Basic. However, we strongly recommend the readers should
watch the fifth and sixth tutorials, i.e., First Arduino Program and
@@ -104,7 +107,7 @@ Arduino with Tricolor LED and Push button. In case you have a potentiometer, and you want to connect it with \arduino\ on a breadboard,
please refer to \figref{fig:pot-led}. The connections given in this figure
-can be used to control an RGB LED read the status of a pushbutton.
+can be used to control an RGB LED depending upon the values from the potentiometer.
\begin{figure}
\centering
\includegraphics[width=\textwidth]{\LocPotfig/POT-led.png}
@@ -112,7 +115,7 @@ can be used to control an RGB LED read the status of a pushbutton. %\redcolor{connected on pin no. D12}}
\label{fig:pot-led}
\end{figure}
-As shown in \figref{fig:pot-led}, there are three legs of the potentiometer connected to
+As shown in \figref{fig:pot-led}, the three legs of the potentiometer are connected to
5V, analog pin 2, and GND on \arduino. Depending upon how much the potentiometer's shaft is rotated, one can get a value on analog pin 2. On the other hand,
there is an RGB LED, and its four legs are connected to three different digital pins and GND on \arduino\, as discussed in
\chapref{led}.
diff --git a/user-code/push/push.tex b/user-code/push/push.tex index a7dc827..5d32a65 100644 --- a/user-code/push/push.tex +++ b/user-code/push/push.tex @@ -79,8 +79,11 @@ is provided by the manufacturer in the datasheet. This section is useful for those who either don't have a shield or don't want to use the shield
for performing the experiments given in this chapter.
-To know more about a pushbutton, one should watch the Spoken Tutorials on Arduino as published on
- {\tt https://spoken-tutorial.org/}. Ideally, one should go through all the
+A breadboard is a device for holding the components of a circuit and connecting
+them together. We can build an electronic circuit on a breadboard without doing any
+soldering. 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/}. Ideally, one should go through all the
tutorials labeled as Basic. However, we strongly recommend the readers should
watch the fifth and sixth tutorials, i.e., First Arduino Program and
Arduino with Tricolor LED and Push button.
@@ -94,9 +97,9 @@ the side of the breadboard to provide access to the ground (GND) on \arduino. The blue wire goes from digital pin 12 to one leg of the pushbutton on another side.
That same leg of the pushbutton connects through a pull-down resistor to GND on \arduino.
When the pushbutton is open (unpressed), there is no connection between the two legs of the pushbutton,
-so the pin is connected to the ground (through the pull-down resistor), and we read a LOW.
-When the pushbutton is closed (pressed), it makes a connection between its two legs,
-connecting the pin to 5V so that we read a HIGH.
+so the pin is connected to the ground (through the pull-down resistor), and we read a LOW on
+digital pin 12. When the pushbutton is closed (pressed), it makes a connection between its two legs,
+connecting the pin to 5V so that we read a HIGH on digital pin 12.
\begin{figure}
\centering
@@ -107,7 +110,7 @@ connecting the pin to 5V so that we read a HIGH. \end{figure}
The connections shown in \figref{fig:switch-led} can be used to control an RGB LED,
depending on the status of the pushbutton. As shown in \figref{fig:switch-led}, digital
-pin 9 on \arduino\ is connected to the rightmost leg of the RGB LED. Rest connections
+pin 9 on \arduino\ is connected to the rightmost leg of the RGB LED. Rest of the connections
are same as that in \figref{fig:switch-bread}.
\section{Reading the Pushbutton Status from the Arduino IDE}
diff --git a/user-code/thermistor/figures/ard-therm.png b/user-code/thermistor/figures/ard-therm.png Binary files differdeleted file mode 100644 index 3a17786..0000000 --- a/user-code/thermistor/figures/ard-therm.png +++ /dev/null diff --git a/user-code/thermistor/figures/thermistor-buzzer.png b/user-code/thermistor/figures/thermistor-buzzer.png Binary files differnew file mode 100644 index 0000000..2d6608e --- /dev/null +++ b/user-code/thermistor/figures/thermistor-buzzer.png diff --git a/user-code/thermistor/figures/thermistor.png b/user-code/thermistor/figures/thermistor.png Binary files differnew file mode 100644 index 0000000..868cdf8 --- /dev/null +++ b/user-code/thermistor/figures/thermistor.png diff --git a/user-code/thermistor/thermistor.tex b/user-code/thermistor/thermistor.tex index befd8e8..3aedb11 100644 --- a/user-code/thermistor/thermistor.tex +++ b/user-code/thermistor/thermistor.tex @@ -92,19 +92,45 @@ connect any wire or component explicitly. 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/}. - +A breadboard is a device for holding the components of a circuit and connecting +them together. We can build an electronic circuit on a breadboard without doing any +soldering. 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/}. Ideally, one should go through all the +tutorials labeled as Basic. However, we strongly recommend the readers should +watch the fifth and sixth tutorials, i.e., First Arduino Program and +Arduino with Tricolor LED and Push button. + +In case you have a thermistor, and you want to connect it with \arduino\ on a breadboard, +please refer to \figref{fig:ard-therm-bread}. The connections given in this figure +can be used to read values from the thermistor connected to analog pin 4 on \arduino\ +board. \begin{figure} \centering - \includegraphics[width=\textwidth]{\LocTHERMfig/ard-therm.png} - \caption{Interfacing a thermistor with Arduino Uno using a breadboard} + \includegraphics[width=\textwidth]{\LocTHERMfig/thermistor.png} + \caption{A thermistor to read its values with Arduino Uno using a breadboard} %\redcolor{connected on pin no. D12}} \label{fig:ard-therm-bread} \end{figure} +As shown in \figref{fig:ard-therm-bread}, one leg of the thermistor is connected +to 5V on \arduino\ and the other leg to the analog pin 4 on \arduino. A resistor is also +connected to the same leg and grounded. From \figref{fig:therm-conn} and \figref{fig:ard-therm-bread}, one can infer that a resistor +along with the thermistor is used to create a voltage divider circuit. The varying +resistance of the thermistor is converted to a varying voltage. Finally, this voltage is used +by the analog pin 4 of \arduino\ in its logic. + +\begin{figure} + \centering + \includegraphics[width=\textwidth]{\LocTHERMfig/thermistor-buzzer.png} + \caption{A thermistor to control a buzzer with Arduino Uno using a breadboard} + %\redcolor{connected on pin no. D12}} + \label{fig:ard-therm-buzzer} +\end{figure} +The connections shown in \figref{fig:ard-therm-buzzer} can be used to control a buzzer, +depending on the values from the thermistor. As shown in \figref{fig:ard-therm-buzzer}, +digital pin 3 on \arduino\ is connected to the one of the legs of the buzzer. Another +leg of the buzzer is connected to GND of \arduino. + \section{Interfacing the Thermistor from the Arduino IDE} \subsection{Interfacing the Thermistor} |