diff options
author | Sudhakar Kumar | 2023-11-17 10:29:18 +0530 |
---|---|---|
committer | Sudhakar Kumar | 2023-11-17 10:29:18 +0530 |
commit | c155f209cb5a05ffe5b38ee52657e5f3c17f431a (patch) | |
tree | 6284f64e95f4fc31b8bb5e32abc3c159718856cb | |
parent | 4ff24c94c9259e87e631cfcdf40c894492b09db3 (diff) | |
download | FLOSS-Arduino-Book-c155f209cb5a05ffe5b38ee52657e5f3c17f431a.tar.gz FLOSS-Arduino-Book-c155f209cb5a05ffe5b38ee52657e5f3c17f431a.tar.bz2 FLOSS-Arduino-Book-c155f209cb5a05ffe5b38ee52657e5f3c17f431a.zip |
Fix the images and tables going beyond text margins
66 files changed, 2090 insertions, 1750 deletions
diff --git a/bibliography.bib b/bibliography.bib index 378aa35..33b7023 100644 --- a/bibliography.bib +++ b/bibliography.bib @@ -2,10 +2,10 @@ OPTkey = {}, author = {}, title = {scilab.org}, -howpublished = {http://www.scilab.org/scilab/about}, +howpublished = {\url{https://www.scilab.org/about/scilab-open-source-software}}, OPTmonth = {}, year = {}, -note = {Seen on 28 June 2015}, +note = {Seen on 17 November 2023}, OPTannote = {} } @@ -13,10 +13,10 @@ OPTannote = {} OPTkey = {}, author = {}, title = {scilab.org}, -howpublished = {http://www.scilab.org/scilab/features/xcos}, +howpublished = {\url{https://www.scilab.org/software/xcos}}, OPTmonth = {}, year = {}, -note = {Seen on 28 June 2015}, +note = {Seen on 17 November 2023}, OPTannote = {} } @@ -24,7 +24,7 @@ OPTannote = {} OPTkey = {}, author = {}, title = {scilab.org}, -howpublished = {http://www.scilab.org/scilab/interoperability}, +howpublished = {\url{http://www.scilab.org/scilab/interoperability}}, OPTmonth = {}, year = {}, note = {Seen on 28 June 2015}, @@ -35,7 +35,7 @@ OPTannote = {} OPTkey = {}, author = {}, title = {oshwa.org}, -howpublished = {http://www.oshwa.org/definition}, +howpublished = {\url{http://www.oshwa.org/definition}}, OPTmonth = {}, year = {}, note = {Seen on 28 June 2015}, @@ -46,7 +46,7 @@ OPTannote = {} OPTkey = {}, author = {Mateo Zlatar}, title = {Open source hardware logo}, -howpublished = {http://www.oshwa.org/open-source-hardware-logo}, +howpublished = {\url{http://www.oshwa.org/open-source-hardware-logo}}, OPTmonth = {}, year = {}, note = {Seen on 28 June 2015}, @@ -57,7 +57,7 @@ OPTannote = {} OPTkey = {}, author = {}, title = {Arduino {Uno}}, -howpublished = {https://www.arduino.cc/en/uploads/Main/ArduinoUnoFront240.jpg}, +howpublished = {\url{https://www.arduino.cc/en/uploads/Main/ArduinoUnoFront240.jpg}}, OPTmonth = {}, year = {}, note = {Seen on 28 June 2015}, @@ -68,7 +68,7 @@ OPTannote = {} OPTkey = {}, author = {}, title = {Arduino {Mega}}, -howpublished = {https://www.arduino.cc/en/uploads/Main/ArduinoMega2560\_R3 \_Fronte.jpg}, +howpublished = {\url{https://www.arduino.cc/en/uploads/Main/ArduinoMega2560_R3_Fronte.jpg}}, OPTmonth = {}, year = {}, note = {Seen on 28 June 2015}, @@ -79,7 +79,7 @@ OPTannote = {} OPTkey = {}, author = {}, title = {LilyPod {Arduino}}, -howpublished = {https://www.arduino.cc/en/uploads/Main/LilyPad\_5.jpg}, +howpublished = {\url{https://www.arduino.cc/en/uploads/Main/LilyPad_5.jpg}}, OPTmonth = {}, year = {}, note = {Seen on 28 June 2015}, @@ -90,7 +90,7 @@ OPTannote = {} OPTkey = {}, author = {}, title = {Arduino Phone}, -howpublished = {http://www.instructables.com/id/ArduinoPhone/}, +howpublished = {\url{https://www.instructables.com/ArduinoPhone/}}, OPTmonth = {}, year = {}, note = {Seen on 28 June 2015}, @@ -101,7 +101,7 @@ OPTannote = {} OPTkey = {}, author = {}, title = {Candy sorting machine}, -howpublished = {http://beta.ivc.no/wiki/index.php/Skittles\_M\%26M\%27s \_Sorting\_Machine}, +howpublished = {\url{https://beta.ivc.no/wiki/index.php/Skittles_M&M's_Sorting_Machine}}, OPTmonth = {}, year = {}, note = {Seen on 28 June 2015}, @@ -112,7 +112,7 @@ OPTannote = {} OPTkey = {}, author = {}, title = {3D Printer}, -howpublished = {http://www.instructables.com/id/Arduino-Controlled-CNC-3D-Printer/}, +howpublished = {\url{http://www.instructables.com/id/Arduino-Controlled-CNC-3D-Printer/}}, OPTmonth = {}, year = {}, note = {Seen on 28 June 2015}, @@ -123,7 +123,7 @@ OPTannote = {} OPTkey = {}, author = {}, title = {Shield}, -howpublished = {http://codeshield.diyode.com/about/schematics/}, +howpublished = {\url{http://codeshield.diyode.com/about/schematics/}}, OPTmonth = {}, year = {}, note = {Seen on 28 June 2015}, @@ -134,7 +134,7 @@ OPTannote = {} OPTkey = {}, author = {T. Martin}, title = {Use of {Scilab} for space mission analysis}, -howpublished = {https://www.scilab.org/community/scilabtec/2009/Use-of-Scilab-for-space-mission-analysis}, +howpublished = {\url{https://www.scilab.org/community/scilabtec/2009/Use-of-Scilab-for-space-mission-analysis}}, OPTmonth = {}, year = {}, note = {Seen on 28 June 2015}, @@ -145,7 +145,7 @@ OPTannote = {} OPTkey = {}, author = {B. Jofret}, title = {Scilab-{Arduino} {Toolbox}}, -howpublished = {http://atoms.scilab.org/}, +howpublished = {\url{http://atoms.scilab.org/}}, OPTmonth = {}, year = {}, note = {Seen on 28 June 2015}, @@ -156,7 +156,7 @@ OPTannote = {} OPTkey = {}, author = {}, title = {python.org}, -howpublished = {https://www.python.org/doc/essays/blurb/}, +howpublished = {\url{https://www.python.org/doc/essays/blurb/}}, OPTmonth = {}, year = {}, note = {Seen on 24 February 2021}, @@ -167,7 +167,7 @@ OPTannote = {} OPTkey = {}, author = {}, title = {{OpenModelica}}, -howpublished = {https://www.openmodelica.org/}, +howpublished = {\url{https://www.openmodelica.org/}}, OPTmonth = {}, year = {}, note = {Seen on 2 April 2021}, @@ -178,7 +178,7 @@ OPTannote = {} OPTkey = {}, author = {}, title = {julialang.org/}, -howpublished = {https://julialang.org/}, +howpublished = {\url{https://julialang.org/}}, OPTmonth = {}, year = {}, note = {Seen on 12 April 2021}, @@ -189,7 +189,7 @@ OPTannote = {} OPTkey = {}, author = {}, title = {JuliaIO/SerialPorts.jl: SerialPort IO streams in Julia backed by pySerial}, -howpublished = {https://github.com/JuliaIO/SerialPorts.jl}, +howpublished = {\url{https://github.com/JuliaIO/SerialPorts.jl}}, OPTmonth = {}, year = {}, note = {Seen on 15 April 2021}, @@ -200,7 +200,7 @@ OPTannote = {} OPTkey = {}, author = {}, title = {pyserial - PyPi}, -howpublished = {https://pypi.org/project/pyserial/}, +howpublished = {\url{https://pypi.org/project/pyserial/}}, OPTmonth = {}, year = {}, note = {Seen on 21 April 2021}, @@ -211,7 +211,7 @@ OPTannote = {} OPTkey = {}, author = {}, title = {Thermistor - Wikipedia}, -howpublished = {https://en.wikipedia.org/wiki/Thermistor}, +howpublished = {\url{https://en.wikipedia.org/wiki/Thermistor}}, OPTmonth = {}, year = {}, note = {Seen on 2 May 2021}, @@ -222,7 +222,7 @@ OPTannote = {} OPTkey = {}, author = {}, title = {Secrets of {Arduino} {PWM}}, -howpublished = {https://www.arduino.cc/en/Tutorial/SecretsOfArduinoPWM}, +howpublished = {\url{https://www.arduino.cc/en/Tutorial/SecretsOfArduinoPWM}}, OPTmonth = {}, year = {}, note = {Seen on 5 May 2021}, @@ -233,7 +233,7 @@ OPTannote = {} OPTkey = {}, author = {}, title = {Servo}, -howpublished = {https://www.arduino.cc/reference/en/libraries/servo/}, +howpublished = {\url{https://www.arduino.cc/reference/en/libraries/servo/}}, OPTmonth = {}, year = {}, note = {Seen on 6 May 2021}, @@ -245,7 +245,7 @@ OPTannote = {} OPTkey = {}, author = {}, title = {{Modbus}}, -howpublished = {https://modbus.org/}, +howpublished = {\url{https://modbus.org/}}, OPTmonth = {}, year = {}, note = {Seen on 6 May 2021}, @@ -257,7 +257,7 @@ OPTannote = {} OPTkey = {}, author = {}, title = {Simply {Modbus}}, -howpublished = {https://simplymodbus.ca/}, +howpublished = {\url{https://simplymodbus.ca/}}, OPTmonth = {}, year = {}, note = {Seen on 6 May 2021}, @@ -279,7 +279,7 @@ doi={10.1109/CERA.2017.8343383} OPTkey = {}, author = {}, title = {Online {CRC}}, -howpublished = {https://www.lammertbies.nl/comm/info/crc-calculation}, +howpublished = {\url{https://www.lammertbies.nl/comm/info/crc-calculation}}, year = {}, note = {Seen on 2 May 2021}, OPTannote = {} @@ -289,7 +289,7 @@ OPTannote = {} OPTkey = {}, author = {}, title = {Floating Point Converter}, -howpublished = {https://www.h-schmidt.net/FloatConverter/IEEE754.html}, +howpublished = {\url{https://www.h-schmidt.net/FloatConverter/IEEE754.html}}, year = {}, note = {Seen on 6 May 2021}, OPTannote = {} @@ -300,7 +300,7 @@ OPTannote = {} OPTkey = {}, author = {}, title = {Ecolight® Sensor Shield V-1.2 Compatible with {Arduino} {Uno} R3}, -howpublished = {https://www.amazon.in/dp/B09G8BWDDD/}, +howpublished = {\url{https://www.amazon.in/dp/B09G8BWDDD/}}, year = {}, note = {Seen on 8 Jan 2022}, OPTannote = {} diff --git a/floss-arduino.OpenModelicad b/floss-arduino.OpenModelicad index 5df9afc..284993c 100644 --- a/floss-arduino.OpenModelicad +++ b/floss-arduino.OpenModelicad @@ -1,6 +1,6 @@ \contentsline {section}{\numberline {3.{1}}An OpenModelica code/model to check whether the firmware is properly installed or not}{76}{OpenModelicamass.3.1}% \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{108}{OpenModelicamass.4.1}% +\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{109}{OpenModelicamass.4.1}% \contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{109}{OpenModelicamass.4.2}% \contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{110}{OpenModelicamass.4.3}% \contentsline {section}{\numberline {4.{4}}Blinking the green LED}{111}{OpenModelicamass.4.4}% @@ -8,23 +8,23 @@ \contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and display it on the output window}{133}{OpenModelicamass.5.1}% \contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{134}{OpenModelicamass.5.2}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{158}{OpenModelicamass.6.1}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{159}{OpenModelicamass.6.1}% \contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{159}{OpenModelicamass.6.2}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{176}{OpenModelicamass.7.1}% +\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{175}{OpenModelicamass.7.1}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{206}{OpenModelicamass.8.1}% +\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{207}{OpenModelicamass.8.1}% \contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{207}{OpenModelicamass.8.2}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{240}{OpenModelicamass.9.1}% +\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{241}{OpenModelicamass.9.1}% \contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{241}{OpenModelicamass.9.2}% \contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{242}{OpenModelicamass.9.3}% -\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{242}{OpenModelicamass.9.4}% +\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{243}{OpenModelicamass.9.4}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{276}{OpenModelicamass.10.1}% -\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{277}{OpenModelicamass.10.2}% -\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{278}{OpenModelicamass.10.3}% +\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{277}{OpenModelicamass.10.1}% +\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{278}{OpenModelicamass.10.2}% +\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{279}{OpenModelicamass.10.3}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{308}{OpenModelicamass.11.1}% -\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{308}{OpenModelicamass.11.2}% +\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{309}{OpenModelicamass.11.1}% +\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{309}{OpenModelicamass.11.2}% \contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{309}{OpenModelicamass.11.3}% diff --git a/floss-arduino.aux b/floss-arduino.aux index 541ae2c..eb5e074 100644 --- a/floss-arduino.aux +++ b/floss-arduino.aux @@ -64,20 +64,20 @@ \@writefile{lot}{\contentsline {table}{\numberline {2.1}{\ignorespaces Arduino Uno hardware specifications\relax }}{13}{table.caption.15}\protected@file@percent } \newlabel{micro-table}{{2.1}{13}{Arduino Uno hardware specifications\relax }{table.caption.15}{}} \citation{phone-ref} -\citation{candy-ref} -\citation{3d-printer-ref} \@writefile{lof}{\contentsline {figure}{\numberline {2.5}{\ignorespaces Arduino Mega Board\relax }}{14}{figure.caption.16}\protected@file@percent } \newlabel{mega}{{2.5}{14}{Arduino Mega Board\relax }{figure.caption.16}{}} \@writefile{lof}{\contentsline {figure}{\numberline {2.6}{\ignorespaces LilyPad Arduino Board\relax }}{14}{figure.caption.17}\protected@file@percent } \newlabel{lily}{{2.6}{14}{LilyPad Arduino Board\relax }{figure.caption.17}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {2.3.3}Popular Arduino Projects}{14}{subsection.2.3.3}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{Arduino phone:}{14}{section*.18}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Candy sorting machine:}{14}{section*.20}\protected@file@percent } +\citation{candy-ref} +\citation{3d-printer-ref} \citation{shield-ref} \@writefile{lof}{\contentsline {figure}{\numberline {2.7}{\ignorespaces Arduino Phone\relax }}{15}{figure.caption.19}\protected@file@percent } \newlabel{arduino-phone}{{2.7}{15}{Arduino Phone\relax }{figure.caption.19}{}} \@writefile{lof}{\contentsline {figure}{\numberline {2.8}{\ignorespaces 3D printer\relax }}{15}{figure.caption.22}\protected@file@percent } \newlabel{3dprinter}{{2.8}{15}{3D printer\relax }{figure.caption.22}{}} +\@writefile{toc}{\contentsline {paragraph}{Candy sorting machine:}{15}{section*.20}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{3D printers:}{15}{section*.21}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {2.4}Shield}{15}{section.2.4}\protected@file@percent } \newlabel{shield-hw}{{2.4}{15}{Shield}{section.2.4}{}} @@ -92,13 +92,13 @@ \newlabel{fig:sch-shield}{{2.10}{17}{Pictorial representation of the schematic of the Shield\relax }{figure.caption.24}{}} \@writefile{lof}{\contentsline {figure}{\numberline {2.11}{\ignorespaces PCB of the Shield\relax }}{17}{figure.caption.25}\protected@file@percent } \newlabel{fig:shield-photo}{{2.11}{17}{PCB of the Shield\relax }{figure.caption.25}{}} -\@writefile{toc}{\contentsline {section}{\numberline {2.5}Experimental Test Bed}{17}{section.2.5}\protected@file@percent } \@writefile{lot}{\contentsline {table}{\numberline {2.2}{\ignorespaces Values of components used in the Shield\relax }}{18}{table.caption.26}\protected@file@percent } \newlabel{tab:shield-values}{{2.2}{18}{Values of components used in the Shield\relax }{table.caption.26}{}} \@writefile{lot}{\contentsline {table}{\numberline {2.3}{\ignorespaces Information on sensors and pin numbers\relax }}{18}{table.caption.27}\protected@file@percent } \newlabel{shield-table}{{2.3}{18}{Information on sensors and pin numbers\relax }{table.caption.27}{}} \@writefile{lof}{\contentsline {figure}{\numberline {2.12}{\ignorespaces Picture of the Shield with all components\relax }}{19}{figure.caption.28}\protected@file@percent } \newlabel{shield}{{2.12}{19}{Picture of the Shield with all components\relax }{figure.caption.28}{}} +\@writefile{toc}{\contentsline {section}{\numberline {2.5}Experimental Test Bed}{19}{section.2.5}\protected@file@percent } \@writefile{lot}{\contentsline {table}{\numberline {2.4}{\ignorespaces Lists of components to work with the breadboard\relax }}{20}{table.caption.29}\protected@file@percent } \newlabel{tab:bread-comps}{{2.4}{20}{Lists of components to work with the breadboard\relax }{table.caption.29}{}} \@writefile{toc}{\contentsline {section}{\numberline {2.6}Doing the Experiments with a Breadboard}{20}{section.2.6}\protected@file@percent } @@ -282,17 +282,17 @@ \newlabel{openmodelica-install-linux}{{3.6.2}{68}{Downloading and installing on GNU/Linux Ubuntu}{subsection.3.6.2}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.36}{\ignorespaces Setup of Modelica Standard Library version\relax }}{69}{figure.caption.65}\protected@file@percent } \newlabel{om-help}{{3.36}{69}{Setup of Modelica Standard Library version\relax }{figure.caption.65}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.3}Simulating models in OpenModelica}{69}{subsection.3.6.3}\protected@file@percent } +\newlabel{OpenModelica-code-execution}{{3.6.3}{69}{Simulating models in OpenModelica}{subsection.3.6.3}{}} \citation{om-ref} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.3}Simulating models in OpenModelica}{70}{subsection.3.6.3}\protected@file@percent } -\newlabel{OpenModelica-code-execution}{{3.6.3}{70}{Simulating models in OpenModelica}{subsection.3.6.3}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.37}{\ignorespaces User Interface of OMEdit\relax }}{71}{figure.caption.66}\protected@file@percent } \newlabel{om-ui}{{3.37}{71}{User Interface of OMEdit\relax }{figure.caption.66}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.38}{\ignorespaces Opening a model in OMEdit\relax }}{72}{figure.caption.67}\protected@file@percent } -\newlabel{om-model-open}{{3.38}{72}{Opening a model in OMEdit\relax }{figure.caption.67}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.38}{\ignorespaces Opening a model in OMEdit\relax }}{71}{figure.caption.67}\protected@file@percent } +\newlabel{om-model-open}{{3.38}{71}{Opening a model in OMEdit\relax }{figure.caption.67}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.39}{\ignorespaces Opening a model in diagram view in OMEdit\relax }}{72}{figure.caption.68}\protected@file@percent } \newlabel{om-modeling}{{3.39}{72}{Opening a model in diagram view in OMEdit\relax }{figure.caption.68}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.40}{\ignorespaces Different views of a model in OMEdit\relax }}{73}{figure.caption.69}\protected@file@percent } -\newlabel{om-views}{{3.40}{73}{Different views of a model in OMEdit\relax }{figure.caption.69}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.40}{\ignorespaces Different views of a model in OMEdit\relax }}{72}{figure.caption.69}\protected@file@percent } +\newlabel{om-views}{{3.40}{72}{Different views of a model in OMEdit\relax }{figure.caption.69}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.41}{\ignorespaces Opening a model in text view in OMEdit\relax }}{73}{figure.caption.70}\protected@file@percent } \newlabel{om-text-view}{{3.41}{73}{Opening a model in text view in OMEdit\relax }{figure.caption.70}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.42}{\ignorespaces Simulating a model in OMEdit\relax }}{74}{figure.caption.71}\protected@file@percent } @@ -314,10 +314,10 @@ \@writefile{OpenModelicad}{\contentsline {section}{\numberline {3.{1}}An OpenModelica code/model to check whether the firmware is properly installed or not}{76}{OpenModelicamass.3.1}\protected@file@percent } \newlabel{11@xvr}{{}{76}} \newlabel{11@vr}{{}{76}} +\newlabel{OpenModelica:test-firmware}{{3.{1}}{76}{Firmware}{OpenModelicamass.3.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/openmodelica/windows//test\textunderscore firmware.mo}{76}{lstlisting.3.-7}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {3.44}{\ignorespaces Examples provided in OpenModelica-Arduino toolbox\relax }}{77}{figure.caption.73}\protected@file@percent } \newlabel{om-examples-toolbox}{{3.44}{77}{Examples provided in OpenModelica-Arduino toolbox\relax }{figure.caption.73}{}} -\newlabel{OpenModelica:test-firmware}{{3.{1}}{77}{Firmware}{OpenModelicamass.3.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/openmodelica/windows//test\textunderscore firmware.mo}{77}{lstlisting.3.-7}\protected@file@percent } \@writefile{toc}{\contentsline {chapter}{\numberline {4}Interfacing a Light Emitting Diode}{79}{chapter.4}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} @@ -330,11 +330,11 @@ \newlabel{fig:ledblock}{{4.2}{80}{Internal connection diagram for the RGB LED on the Shield\relax }{figure.caption.75}{}} \@writefile{lof}{\contentsline {figure}{\numberline {4.3}{\ignorespaces Connecting Arduino Uno\ and Shield\relax }}{81}{figure.caption.76}\protected@file@percent } \newlabel{fig:uno-shield-connect}{{4.3}{81}{Connecting \arduino \ and Shield\relax }{figure.caption.76}{}} -\@writefile{toc}{\contentsline {section}{\numberline {4.2}Connecting an RGB LED with Arduino Uno\ using a breadboard}{81}{section.4.2}\protected@file@percent } -\newlabel{sec:led-bread}{{4.2}{81}{Connecting an RGB LED with \arduino \ using a breadboard}{section.4.2}{}} +\@writefile{toc}{\contentsline {section}{\numberline {4.2}Connecting an RGB LED using breadboard}{81}{section.4.2}\protected@file@percent } +\newlabel{sec:led-bread}{{4.2}{81}{Connecting an RGB LED using breadboard}{section.4.2}{}} \@writefile{lof}{\contentsline {figure}{\numberline {4.4}{\ignorespaces An RGB LED with Arduino Uno\ using a breadboard\relax }}{82}{figure.caption.77}\protected@file@percent } \newlabel{fig:ard-rgb-bread}{{4.4}{82}{An RGB LED with \arduino \ using a breadboard\relax }{figure.caption.77}{}} -\@writefile{toc}{\contentsline {section}{\numberline {4.3}Lighting the LED from the Arduino IDE}{82}{section.4.3}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.3}Lighting the LED from Arduino IDE}{82}{section.4.3}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {4.3.1}Lighting the LED}{82}{subsection.4.3.1}\protected@file@percent } \newlabel{sec:light-ard}{{4.3.1}{82}{Lighting the LED}{subsection.4.3.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{83}{lstlisting.4.-8}\protected@file@percent } @@ -372,7 +372,7 @@ \newlabel{15@xvr}{{}{86}} \newlabel{15@vr}{{}{86}} \newlabel{ard:led-blink}{{4.{4}}{86}{Arduino Code}{ardmass.4.4}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led\textendash green\textendash blink/led\textendash green\textendash blink.ino}{87}{lstlisting.4.-16}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led\textendash green\textendash blink/led\textendash green\textendash blink.ino}{86}{lstlisting.4.-16}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {4.4}Lighting the LED from Scilab}{87}{section.4.4}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {4.4.1}Lighting the LED}{87}{subsection.4.4.1}\protected@file@percent } \newlabel{sec:light-sci}{{4.4.1}{87}{Lighting the LED}{subsection.4.4.1}{}} @@ -419,95 +419,95 @@ \newlabel{tab:led-blue}{{4.1}{92}{Parameters to light the blue LED in Xcos\relax }{table.caption.82}{}} \newlabel{22@xvr}{{}{92}} \newlabel{22@vr}{{}{92}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{92}{figure.caption.83}\protected@file@percent } -\newlabel{24@xvr}{{}{92}} -\newlabel{24@vr}{{}{92}} -\newlabel{fig:led-blue-delay}{{4.7}{92}{Turning the blue LED on through Xcos for two seconds}{figure.caption.83}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{93}{figure.caption.83}\protected@file@percent } +\newlabel{24@xvr}{{}{93}} +\newlabel{24@vr}{{}{93}} +\newlabel{fig:led-blue-delay}{{4.7}{93}{Turning the blue LED on through Xcos for two seconds}{figure.caption.83}{}} \@writefile{lot}{\contentsline {table}{\numberline {4.2}{\ignorespaces Parameters to light the blue LED in Xcos for two seconds\relax }}{93}{table.caption.84}\protected@file@percent } \newlabel{tab:led-blue-delay}{{4.2}{93}{Parameters to light the blue LED in Xcos for two seconds\relax }{table.caption.84}{}} \newlabel{25@xvr}{{}{93}} \newlabel{25@vr}{{}{93}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{3}}{}}{93}{egmass.4.3}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {4.8}{\ignorespaces Turning the blue and red LEDs on through Xcos and turning them off one by one}}{94}{figure.caption.85}\protected@file@percent } \newlabel{27@xvr}{{}{94}} \newlabel{27@vr}{{}{94}} \newlabel{fig:led-blue-red}{{4.8}{94}{Turning the blue and red LEDs on through Xcos and turning them off one by one}{figure.caption.85}{}} -\@writefile{lot}{\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{94}{table.caption.86}\protected@file@percent } -\newlabel{tab:led-blue-red}{{4.3}{94}{Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }{table.caption.86}{}} -\newlabel{28@xvr}{{}{94}} -\newlabel{28@vr}{{}{94}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{95}{figure.caption.87}\protected@file@percent } -\newlabel{30@xvr}{{}{95}} -\newlabel{30@vr}{{}{95}} -\newlabel{fig:led-green-blink}{{4.9}{95}{Blinking the green LED every second through Xcos}{figure.caption.87}{}} -\@writefile{lot}{\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{95}{table.caption.88}\protected@file@percent } -\newlabel{tab:led-green-blink}{{4.4}{95}{Parameters to make the green LED blink every second\relax }{table.caption.88}{}} -\newlabel{31@xvr}{{}{95}} -\newlabel{31@vr}{{}{95}} -\citation{pySerial} +\@writefile{lof}{\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{94}{figure.caption.87}\protected@file@percent } +\newlabel{30@xvr}{{}{94}} +\newlabel{30@vr}{{}{94}} +\newlabel{fig:led-green-blink}{{4.9}{94}{Blinking the green LED every second through Xcos}{figure.caption.87}{}} +\@writefile{lot}{\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{95}{table.caption.86}\protected@file@percent } +\newlabel{tab:led-blue-red}{{4.3}{95}{Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }{table.caption.86}{}} +\newlabel{28@xvr}{{}{95}} +\newlabel{28@vr}{{}{95}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{3}}{}}{95}{egmass.4.3}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{96}{table.caption.88}\protected@file@percent } +\newlabel{tab:led-green-blink}{{4.4}{96}{Parameters to make the green LED blink every second\relax }{table.caption.88}{}} +\newlabel{31@xvr}{{}{96}} +\newlabel{31@vr}{{}{96}} \@writefile{toc}{\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{96}{section.4.6}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{96}{subsection.4.6.1}\protected@file@percent } \newlabel{sec:light-py}{{4.6.1}{96}{Lighting the LED}{subsection.4.6.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{96}{lstlisting.4.-29}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{96}{lstlisting.4.-30}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{96}{lstlisting.4.-31}\protected@file@percent } +\citation{pySerial} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{97}{lstlisting.4.-29}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{97}{lstlisting.4.-30}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{97}{lstlisting.4.-31}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{97}{lstlisting.4.-32}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{97}{lstlisting.4.-33}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{97}{lstlisting.4.-34}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{98}{lstlisting.4.-33}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{98}{lstlisting.4.-34}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue\textendash delay.py}{98}{lstlisting.4.-35}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue\textendash delay.py}{98}{lstlisting.4.-36}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{4}}{}}{98}{egmass.4.4}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.2}Python Code}{98}{subsection.4.6.2}\protected@file@percent } -\newlabel{sec:led-python-code}{{4.6.2}{98}{Python Code}{subsection.4.6.2}{}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{4}}{}}{99}{egmass.4.4}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.2}Python Code}{99}{subsection.4.6.2}\protected@file@percent } +\newlabel{sec:led-python-code}{{4.6.2}{99}{Python Code}{subsection.4.6.2}{}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{1}}{}}{98}{pymass.4.1}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{98}{pymass.4.1}\protected@file@percent } -\newlabel{32@xvr}{{}{98}} -\newlabel{32@vr}{{}{98}} -\newlabel{py:led-blue}{{4.{1}}{98}{Python Code}{pymass.4.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{98}{lstlisting.4.-37}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{2}}{}}{99}{pymass.4.2}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{99}{pymass.4.2}\protected@file@percent } -\newlabel{33@xvr}{{}{99}} -\newlabel{33@vr}{{}{99}} -\newlabel{py:led-blue-delay}{{4.{2}}{99}{Python Code}{pymass.4.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue\textendash delay.py}{99}{lstlisting.4.-38}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{3}}{}}{100}{pymass.4.3}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{100}{pymass.4.3}\protected@file@percent } -\newlabel{34@xvr}{{}{100}} -\newlabel{34@vr}{{}{100}} -\newlabel{py:led-blue-red}{{4.{3}}{100}{Python Code}{pymass.4.3}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue\textendash red.py}{100}{lstlisting.4.-39}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{4}}{}}{101}{pymass.4.4}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{101}{pymass.4.4}\protected@file@percent } -\newlabel{35@xvr}{{}{101}} -\newlabel{35@vr}{{}{101}} -\newlabel{py:led-green-blink}{{4.{4}}{101}{Python Code}{pymass.4.4}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash green\textendash blink.py}{101}{lstlisting.4.-40}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{1}}{}}{99}{pymass.4.1}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{99}{pymass.4.1}\protected@file@percent } +\newlabel{32@xvr}{{}{99}} +\newlabel{32@vr}{{}{99}} +\newlabel{py:led-blue}{{4.{1}}{99}{Python Code}{pymass.4.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{99}{lstlisting.4.-37}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{2}}{}}{100}{pymass.4.2}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{100}{pymass.4.2}\protected@file@percent } +\newlabel{33@xvr}{{}{100}} +\newlabel{33@vr}{{}{100}} +\newlabel{py:led-blue-delay}{{4.{2}}{100}{Python Code}{pymass.4.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue\textendash delay.py}{100}{lstlisting.4.-38}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{3}}{}}{101}{pymass.4.3}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{101}{pymass.4.3}\protected@file@percent } +\newlabel{34@xvr}{{}{101}} +\newlabel{34@vr}{{}{101}} +\newlabel{py:led-blue-red}{{4.{3}}{101}{Python Code}{pymass.4.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue\textendash red.py}{101}{lstlisting.4.-39}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{4}}{}}{102}{pymass.4.4}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{102}{pymass.4.4}\protected@file@percent } +\newlabel{35@xvr}{{}{102}} +\newlabel{35@vr}{{}{102}} +\newlabel{py:led-green-blink}{{4.{4}}{102}{Python Code}{pymass.4.4}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash green\textendash blink.py}{102}{lstlisting.4.-40}\protected@file@percent } \citation{julia-serial-ports} \@writefile{toc}{\contentsline {section}{\numberline {4.7}Lighting the LED from Julia}{103}{section.4.7}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {4.7.1}Lighting the LED}{103}{subsection.4.7.1}\protected@file@percent } \newlabel{sec:light-julia}{{4.7.1}{103}{Lighting the LED}{subsection.4.7.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue.jl}{103}{lstlisting.4.-41}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue.jl}{103}{lstlisting.4.-42}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue.jl}{103}{lstlisting.4.-43}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue.jl}{103}{lstlisting.4.-44}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue.jl}{104}{lstlisting.4.-41}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue.jl}{104}{lstlisting.4.-42}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue.jl}{104}{lstlisting.4.-43}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue.jl}{104}{lstlisting.4.-44}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue\textendash delay.jl}{104}{lstlisting.4.-45}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue\textendash delay.jl}{104}{lstlisting.4.-46}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.2}Julia Code}{104}{subsection.4.7.2}\protected@file@percent } -\newlabel{sec:led-julia-code}{{4.7.2}{104}{Julia Code}{subsection.4.7.2}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.2}Julia Code}{105}{subsection.4.7.2}\protected@file@percent } +\newlabel{sec:led-julia-code}{{4.7.2}{105}{Julia Code}{subsection.4.7.2}{}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{104}{juliamass.4.1}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{104}{juliamass.4.1}\protected@file@percent } -\newlabel{36@xvr}{{}{104}} -\newlabel{36@vr}{{}{104}} -\newlabel{julia:led-blue}{{4.{1}}{104}{Julia Code}{juliamass.4.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue.jl}{104}{lstlisting.4.-47}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{104}{juliamass.4.2}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{104}{juliamass.4.2}\protected@file@percent } -\newlabel{37@xvr}{{}{104}} -\newlabel{37@vr}{{}{104}} -\newlabel{julia:led-blue-delay}{{4.{2}}{104}{Julia Code}{juliamass.4.2}{}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{105}{juliamass.4.1}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{105}{juliamass.4.1}\protected@file@percent } +\newlabel{36@xvr}{{}{105}} +\newlabel{36@vr}{{}{105}} +\newlabel{julia:led-blue}{{4.{1}}{105}{Julia Code}{juliamass.4.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue.jl}{105}{lstlisting.4.-47}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{105}{juliamass.4.2}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{105}{juliamass.4.2}\protected@file@percent } +\newlabel{37@xvr}{{}{105}} +\newlabel{37@vr}{{}{105}} +\newlabel{julia:led-blue-delay}{{4.{2}}{105}{Julia Code}{juliamass.4.2}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue\textendash delay.jl}{105}{lstlisting.4.-48}\protected@file@percent } \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{3}}{}}{105}{juliamass.4.3}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{105}{juliamass.4.3}\protected@file@percent } @@ -515,32 +515,32 @@ \newlabel{38@vr}{{}{105}} \newlabel{julia:led-blue-red}{{4.{3}}{105}{Julia Code}{juliamass.4.3}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue\textendash red.jl}{105}{lstlisting.4.-49}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{105}{juliamass.4.4}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{105}{juliamass.4.4}\protected@file@percent } -\newlabel{39@xvr}{{}{105}} -\newlabel{39@vr}{{}{105}} -\newlabel{julia:led-green-blink}{{4.{4}}{105}{Julia Code}{juliamass.4.4}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash green\textendash blink.jl}{105}{lstlisting.4.-50}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{106}{juliamass.4.4}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{106}{juliamass.4.4}\protected@file@percent } +\newlabel{39@xvr}{{}{106}} +\newlabel{39@vr}{{}{106}} +\newlabel{julia:led-green-blink}{{4.{4}}{106}{Julia Code}{juliamass.4.4}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash green\textendash blink.jl}{106}{lstlisting.4.-50}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {4.8}Lighting the LED from OpenModelica}{106}{section.4.8}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {4.8.1}Lighting the LED}{106}{subsection.4.8.1}\protected@file@percent } \newlabel{sec:light-OpenModelica}{{4.8.1}{106}{Lighting the LED}{subsection.4.8.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue.mo}{106}{lstlisting.4.-51}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue.mo}{106}{lstlisting.4.-52}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue.mo}{106}{lstlisting.4.-54}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue.mo}{107}{lstlisting.4.-57}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue\textendash delay.mo}{107}{lstlisting.4.-58}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue.mo}{107}{lstlisting.4.-51}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue.mo}{107}{lstlisting.4.-52}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue.mo}{107}{lstlisting.4.-54}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue.mo}{108}{lstlisting.4.-57}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue\textendash delay.mo}{108}{lstlisting.4.-58}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue\textendash delay.mo}{108}{lstlisting.4.-59}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{108}{subsection.4.8.2}\protected@file@percent } -\newlabel{sec:led-OpenModelica-code}{{4.8.2}{108}{OpenModelica Code}{subsection.4.8.2}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{109}{subsection.4.8.2}\protected@file@percent } +\newlabel{sec:led-OpenModelica-code}{{4.8.2}{109}{OpenModelica Code}{subsection.4.8.2}{}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{108}{OpenModelicamass.4.1}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{108}{OpenModelicamass.4.1}\protected@file@percent } -\newlabel{OpenModelica:led-blue}{{4.{1}}{108}{OpenModelica Code}{OpenModelicamass.4.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue.mo}{108}{lstlisting.4.-60}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{109}{OpenModelicamass.4.1}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{109}{OpenModelicamass.4.1}\protected@file@percent } +\newlabel{OpenModelica:led-blue}{{4.{1}}{109}{OpenModelica Code}{OpenModelicamass.4.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue.mo}{109}{lstlisting.4.-60}\protected@file@percent } \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{109}{OpenModelicamass.4.2}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{109}{OpenModelicamass.4.2}\protected@file@percent } \newlabel{OpenModelica:led-blue-delay}{{4.{2}}{109}{OpenModelica Code}{OpenModelicamass.4.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue\textendash delay.mo}{109}{lstlisting.4.-61}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue\textendash delay.mo}{110}{lstlisting.4.-61}\protected@file@percent } \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{110}{OpenModelicamass.4.3}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{110}{OpenModelicamass.4.3}\protected@file@percent } \newlabel{OpenModelica:led-blue-red}{{4.{3}}{110}{OpenModelica Code}{OpenModelicamass.4.3}{}} @@ -558,10 +558,10 @@ \newlabel{fig:pushbuttonconn}{{5.1}{114}{Internal connection diagram for the pushbutton on the Shield\relax }{figure.caption.89}{}} \@writefile{lof}{\contentsline {figure}{\numberline {5.2}{\ignorespaces A pushbutton to read its status with Arduino Uno using a breadboard\relax }}{114}{figure.caption.90}\protected@file@percent } \newlabel{fig:switch-bread}{{5.2}{114}{A pushbutton to read its status with Arduino Uno using a breadboard\relax }{figure.caption.90}{}} -\@writefile{toc}{\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{115}{section.5.2}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.2}Connecting a pushbutton using breadboard}{115}{section.5.2}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {5.3}{\ignorespaces A pushbutton to control an LED with Arduino Uno using a breadboard\relax }}{116}{figure.caption.91}\protected@file@percent } \newlabel{fig:switch-led}{{5.3}{116}{A pushbutton to control an LED with Arduino Uno using a breadboard\relax }{figure.caption.91}{}} -\@writefile{toc}{\contentsline {section}{\numberline {5.3}Reading the pushbutton status from the Arduino IDE}{116}{section.5.3}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.3}Reading pushbutton status from Arduino IDE}{116}{section.5.3}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {5.3.1}Reading the pushbutton status}{116}{subsection.5.3.1}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/arduino/push\textendash button\textendash status/push\textendash button\textendash status.ino}{117}{lstlisting.5.-64}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/arduino/push\textendash button\textendash status/push\textendash button\textendash status.ino}{117}{lstlisting.5.-65}\protected@file@percent } @@ -581,7 +581,7 @@ \newlabel{41@vr}{{}{118}} \newlabel{ard:push-200}{{5.{2}}{118}{Arduino Code}{ardmass.5.2}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/arduino/led\textendash push\textendash button/led\textendash push\textendash button.ino}{118}{lstlisting.5.-68}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.4}Reading the pushbutton Status from Scilab}{119}{section.5.4}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.4}Reading pushbutton Status from Scilab}{119}{section.5.4}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {5.4.1}Reading the pushbutton Status}{119}{subsection.5.4.1}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/push\textendash button\textendash status.sce}{119}{lstlisting.5.-69}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {5.4}{\ignorespaces GUI in Scilab to show the status of the pushbutton\relax }}{120}{figure.caption.92}\protected@file@percent } @@ -617,14 +617,14 @@ \newlabel{48@xvr}{{}{124}} \newlabel{48@vr}{{}{124}} \newlabel{fig:led-push-button}{{5.6}{124}{Turning the LED on or off, depending on the pushbutton}{figure.caption.95}{}} -\@writefile{lot}{\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{124}{table.caption.96}\protected@file@percent } -\newlabel{tab:led-push-button}{{5.2}{124}{Xcos parameters to turn the LED on through the pushbutton\relax }{table.caption.96}{}} -\newlabel{49@xvr}{{}{124}} -\newlabel{49@vr}{{}{124}} \@writefile{thm}{\contentsline {egmass}{{Exercise}{5.{1}}{}}{124}{egmass.5.1}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.6}Reading the pushbutton status from Python}{125}{section.5.6}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{125}{table.caption.96}\protected@file@percent } +\newlabel{tab:led-push-button}{{5.2}{125}{Xcos parameters to turn the LED on through the pushbutton\relax }{table.caption.96}{}} +\newlabel{49@xvr}{{}{125}} +\newlabel{49@vr}{{}{125}} +\@writefile{toc}{\contentsline {section}{\numberline {5.6}Reading pushbutton status from Python}{125}{section.5.6}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {5.6.1}Reading the pushbutton status}{125}{subsection.5.6.1}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/push\textendash button\textendash status.py}{125}{lstlisting.5.-74}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/push\textendash button\textendash status.py}{126}{lstlisting.5.-74}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/push\textendash button\textendash status.py}{126}{lstlisting.5.-75}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/led\textendash push\textendash button.py}{126}{lstlisting.5.-76}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {5.6.2}Python Code}{127}{subsection.5.6.2}\protected@file@percent } @@ -643,27 +643,27 @@ \newlabel{py:push-200}{{5.{2}}{128}{Python Code}{pymass.5.2}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/led\textendash push\textendash button.py}{128}{lstlisting.5.-78}\protected@file@percent } \citation{julia-serial-ports} -\@writefile{toc}{\contentsline {section}{\numberline {5.7}Reading the pushbutton status from Julia}{129}{section.5.7}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.7}Reading pushbutton status from Julia}{129}{section.5.7}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {5.7.1}Reading the pushbutton status}{129}{subsection.5.7.1}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/push\textendash button\textendash status.jl}{129}{lstlisting.5.-79}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/push\textendash button\textendash status.jl}{129}{lstlisting.5.-80}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/push\textendash button\textendash status.jl}{130}{lstlisting.5.-80}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/led\textendash push\textendash button.jl}{130}{lstlisting.5.-81}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {5.7.2}Julia Code}{130}{subsection.5.7.2}\protected@file@percent } \newlabel{sec:push-julia-code}{{5.7.2}{130}{Julia Code}{subsection.5.7.2}{}} \@writefile{juliad}{\addvspace {10pt}} \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{1}}{}}{130}{juliamass.5.1}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and display it on Command Prompt or the Terminal.}{130}{juliamass.5.1}\protected@file@percent } -\newlabel{52@xvr}{{}{130}} -\newlabel{52@vr}{{}{130}} -\newlabel{julia:push-100}{{5.{1}}{130}{Julia Code}{juliamass.5.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/push\textendash button\textendash status.jl}{130}{lstlisting.5.-82}\protected@file@percent } +\newlabel{52@xvr}{{}{131}} +\newlabel{52@vr}{{}{131}} +\newlabel{julia:push-100}{{5.{1}}{131}{Julia Code}{juliamass.5.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/push\textendash button\textendash status.jl}{131}{lstlisting.5.-82}\protected@file@percent } \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{131}{juliamass.5.2}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{131}{juliamass.5.2}\protected@file@percent } \newlabel{53@xvr}{{}{131}} \newlabel{53@vr}{{}{131}} \newlabel{julia:push-200}{{5.{2}}{131}{Julia Code}{juliamass.5.2}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/led\textendash push\textendash button.jl}{131}{lstlisting.5.-83}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.8}Reading the pushbutton status from OpenModelica}{131}{section.5.8}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.8}Reading pushbutton status from OpenModelica}{131}{section.5.8}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {5.8.1}Reading the pushbutton status}{131}{subsection.5.8.1}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{132}{lstlisting.5.-84}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{132}{lstlisting.5.-85}\protected@file@percent } @@ -693,12 +693,12 @@ \@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of an LDR}}}{138}{subfigure.1.2}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the Shield\relax }}{138}{figure.caption.98}\protected@file@percent } \newlabel{fig:ldrconn}{{6.2}{138}{Internal connection diagram for the LDR on the Shield\relax }{figure.caption.98}{}} -\@writefile{toc}{\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{139}{section.6.2}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.2}Connecting an LDR using breadboard}{139}{section.6.2}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {6.3}{\ignorespaces An LDR to read its values with Arduino Uno\ using a breadboard\relax }}{140}{figure.caption.99}\protected@file@percent } \newlabel{fig:ard-ldr}{{6.3}{140}{An LDR to read its values with \arduino \ using a breadboard\relax }{figure.caption.99}{}} \@writefile{lof}{\contentsline {figure}{\numberline {6.4}{\ignorespaces An LDR to control an LED with Arduino Uno using a breadboard\relax }}{140}{figure.caption.100}\protected@file@percent } \newlabel{fig:ard-ldr-led}{{6.4}{140}{An LDR to control an LED with Arduino Uno using a breadboard\relax }{figure.caption.100}{}} -\@writefile{toc}{\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{141}{section.6.3}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.3}Interfacing LDR through Arduino IDE}{141}{section.6.3}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{141}{subsection.6.3.1}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{141}{lstlisting.6.-89}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{141}{lstlisting.6.-90}\protected@file@percent } @@ -754,17 +754,17 @@ \newlabel{62@xvr}{{}{149}} \newlabel{62@vr}{{}{149}} \newlabel{fig:ldr-led}{{6.7}{149}{Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}{figure.caption.104}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {6.8}{\ignorespaces Plot window in Xcos to read LDR values and the state of LED\relax }}{149}{figure.caption.105}\protected@file@percent } -\newlabel{fig:ldr-led-read-plot}{{6.8}{149}{Plot window in Xcos to read LDR values and the state of LED\relax }{figure.caption.105}{}} -\@writefile{toc}{\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{149}{section.6.6}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.6}Interfacing LDR through Python}{149}{section.6.6}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{149}{subsection.6.6.1}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{150}{table.caption.106}\protected@file@percent } -\newlabel{tab:ldr-led}{{6.2}{150}{Xcos parameters to read LDR and regulate blue LED\relax }{table.caption.106}{}} -\newlabel{63@xvr}{{}{150}} -\newlabel{63@vr}{{}{150}} +\@writefile{lof}{\contentsline {figure}{\numberline {6.8}{\ignorespaces Plot window in Xcos to read LDR values and the state of LED\relax }}{150}{figure.caption.105}\protected@file@percent } +\newlabel{fig:ldr-led-read-plot}{{6.8}{150}{Plot window in Xcos to read LDR values and the state of LED\relax }{figure.caption.105}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/python/ldr\textendash read.py}{150}{lstlisting.6.-98}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/python/ldr\textendash read.py}{151}{lstlisting.6.-99}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{3}}{}}{151}{egmass.6.3}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/python/ldr\textendash read.py}{150}{lstlisting.6.-99}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{151}{table.caption.106}\protected@file@percent } +\newlabel{tab:ldr-led}{{6.2}{151}{Xcos parameters to read LDR and regulate blue LED\relax }{table.caption.106}{}} +\newlabel{63@xvr}{{}{151}} +\newlabel{63@vr}{{}{151}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{3}}{}}{152}{egmass.6.3}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {6.6.2}Python Code}{152}{subsection.6.6.2}\protected@file@percent } \newlabel{sec:ldr-python-code}{{6.6.2}{152}{Python Code}{subsection.6.6.2}{}} \@writefile{pyd}{\addvspace {10pt}} @@ -781,11 +781,11 @@ \newlabel{py:ldr-led}{{6.{2}}{153}{Python Code}{pymass.6.2}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/python/ldr\textendash led.py}{153}{lstlisting.6.-101}\protected@file@percent } \citation{julia-serial-ports} -\@writefile{toc}{\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{154}{section.6.7}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{154}{subsection.6.7.1}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/julia/ldr\textendash read.jl}{154}{lstlisting.6.-102}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.7}Interfacing LDR through Julia}{155}{section.6.7}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{155}{subsection.6.7.1}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/julia/ldr\textendash read.jl}{155}{lstlisting.6.-102}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/julia/ldr\textendash read.jl}{155}{lstlisting.6.-103}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{4}}{}}{155}{egmass.6.4}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{4}}{}}{156}{egmass.6.4}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {6.7.2}Julia Code}{156}{subsection.6.7.2}\protected@file@percent } \newlabel{sec:ldr-julia-code}{{6.7.2}{156}{Julia Code}{subsection.6.7.2}{}} \@writefile{juliad}{\addvspace {10pt}} @@ -795,27 +795,27 @@ \newlabel{66@vr}{{}{156}} \newlabel{julia:ldr-read}{{6.{1}}{156}{Julia Code}{juliamass.6.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/julia/ldr\textendash read.jl}{156}{lstlisting.6.-104}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{156}{juliamass.6.2}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{156}{juliamass.6.2}\protected@file@percent } -\newlabel{67@xvr}{{}{156}} -\newlabel{67@vr}{{}{156}} -\newlabel{julia:ldr-led}{{6.{2}}{156}{Julia Code}{juliamass.6.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/julia/ldr\textendash led.jl}{156}{lstlisting.6.-105}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{157}{section.6.8}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{157}{juliamass.6.2}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{157}{juliamass.6.2}\protected@file@percent } +\newlabel{67@xvr}{{}{157}} +\newlabel{67@vr}{{}{157}} +\newlabel{julia:ldr-led}{{6.{2}}{157}{Julia Code}{juliamass.6.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/julia/ldr\textendash led.jl}{157}{lstlisting.6.-105}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.8}Interfacing LDR through OpenModelica}{157}{section.6.8}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{157}{subsection.6.8.1}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr\textendash read.mo}{157}{lstlisting.6.-106}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr\textendash read.mo}{157}{lstlisting.6.-107}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{158}{subsection.6.8.2}\protected@file@percent } -\newlabel{sec:ldr-OpenModelica-code}{{6.8.2}{158}{OpenModelica Code}{subsection.6.8.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr\textendash read.mo}{158}{lstlisting.6.-106}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr\textendash read.mo}{158}{lstlisting.6.-107}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{159}{subsection.6.8.2}\protected@file@percent } +\newlabel{sec:ldr-OpenModelica-code}{{6.8.2}{159}{OpenModelica Code}{subsection.6.8.2}{}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{158}{OpenModelicamass.6.1}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{158}{OpenModelicamass.6.1}\protected@file@percent } -\newlabel{OpenModelica:ldr-read}{{6.{1}}{158}{OpenModelica Code}{OpenModelicamass.6.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr\textendash read.mo}{158}{lstlisting.6.-108}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{159}{OpenModelicamass.6.1}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{159}{OpenModelicamass.6.1}\protected@file@percent } +\newlabel{OpenModelica:ldr-read}{{6.{1}}{159}{OpenModelica Code}{OpenModelicamass.6.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr\textendash read.mo}{159}{lstlisting.6.-108}\protected@file@percent } \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{159}{OpenModelicamass.6.2}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{159}{OpenModelicamass.6.2}\protected@file@percent } -\newlabel{OpenModelica:ldr-led}{{6.{2}}{159}{OpenModelica Code}{OpenModelicamass.6.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr\textendash led.mo}{159}{lstlisting.6.-109}\protected@file@percent } +\newlabel{OpenModelica:ldr-led}{{6.{2}}{160}{OpenModelica Code}{OpenModelicamass.6.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr\textendash led.mo}{160}{lstlisting.6.-109}\protected@file@percent } \@writefile{toc}{\contentsline {chapter}{\numberline {7}Interfacing a Potentiometer}{161}{chapter.7}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} @@ -831,10 +831,10 @@ \@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Internal connection diagram for the potentiometer on the Shield}}}{162}{subfigure.1.2}\protected@file@percent } \newlabel{68@xvr}{{}{162}} \newlabel{68@vr}{{}{162}} -\@writefile{toc}{\contentsline {section}{\numberline {7.2}Connecting a potentiometer with Arduino Uno\ using a breadboard}{163}{section.7.2}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.2}Connecting a potentiometer using breadboard}{163}{section.7.2}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {7.2}{\ignorespaces A potentiometer to control an LED with Arduino Uno using a breadboard\relax }}{164}{figure.caption.108}\protected@file@percent } \newlabel{fig:pot-led}{{7.2}{164}{A potentiometer to control an LED with Arduino Uno using a breadboard\relax }{figure.caption.108}{}} -\@writefile{toc}{\contentsline {section}{\numberline {7.3}Reading the potentiometer from the Arduino IDE}{164}{section.7.3}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.3}Reading potentiometer from Arduino IDE}{164}{section.7.3}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {7.3.1}Reading the potentiometer}{164}{subsection.7.3.1}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{165}{lstlisting.7.-110}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{165}{lstlisting.7.-111}\protected@file@percent } @@ -847,7 +847,7 @@ \newlabel{69@vr}{{}{165}} \newlabel{ard:pot-100}{{7.{1}}{165}{Arduino Code}{ardmass.7.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{166}{lstlisting.7.-112}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.4}Reading the potentiometer from Scilab}{166}{section.7.4}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.4}Reading potentiometer from Scilab}{166}{section.7.4}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {7.4.1}Reading the potentiometer}{166}{subsection.7.4.1}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/scilab/pot\textendash threshold.sce}{167}{lstlisting.7.-113}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/scilab/pot\textendash threshold.sce}{167}{lstlisting.7.-114}\protected@file@percent } @@ -860,54 +860,54 @@ \newlabel{70@vr}{{}{167}} \newlabel{sci:pot-100}{{7.{1}}{167}{Scilab Code}{codemass.7.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/scilab/pot\textendash threshold.sce}{167}{lstlisting.7.-115}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.5}Reading the potentiometer from Xcos}{168}{section.7.5}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.5}Reading potentiometer from Xcos}{168}{section.7.5}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {7.3}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{169}{figure.caption.109}\protected@file@percent } \newlabel{72@xvr}{{}{169}} \newlabel{72@vr}{{}{169}} \newlabel{fig:pot-threshold}{{7.3}{169}{Turning LEDs on through Xcos depending on the potentiometer threshold}{figure.caption.109}{}} \@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{1}}{}}{169}{egmass.7.1}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.6}Reading the potentiometer from Python}{169}{section.7.6}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.6}Reading potentiometer from Python}{169}{section.7.6}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {7.6.1}Reading the potentiometer}{169}{subsection.7.6.1}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {7.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{170}{table.caption.110}\protected@file@percent } -\newlabel{tab:pot-threshold}{{7.1}{170}{Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }{table.caption.110}{}} -\newlabel{73@xvr}{{}{170}} -\newlabel{73@vr}{{}{170}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/python/pot\textendash threshold.py}{171}{lstlisting.7.-116}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/python/pot\textendash threshold.py}{171}{lstlisting.7.-117}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.2}Python Code}{171}{subsection.7.6.2}\protected@file@percent } -\newlabel{sec:pot-python-code}{{7.6.2}{171}{Python Code}{subsection.7.6.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/python/pot\textendash threshold.py}{170}{lstlisting.7.-116}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/python/pot\textendash threshold.py}{170}{lstlisting.7.-117}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.2}Python Code}{170}{subsection.7.6.2}\protected@file@percent } +\newlabel{sec:pot-python-code}{{7.6.2}{170}{Python Code}{subsection.7.6.2}{}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{1}}{}}{171}{pymass.7.1}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{171}{pymass.7.1}\protected@file@percent } -\newlabel{74@xvr}{{}{171}} -\newlabel{74@vr}{{}{171}} -\newlabel{py:pot-100}{{7.{1}}{171}{Python Code}{pymass.7.1}{}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{1}}{}}{170}{pymass.7.1}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{170}{pymass.7.1}\protected@file@percent } +\newlabel{74@xvr}{{}{170}} +\newlabel{74@vr}{{}{170}} +\newlabel{py:pot-100}{{7.{1}}{170}{Python Code}{pymass.7.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/python/pot\textendash threshold.py}{171}{lstlisting.7.-118}\protected@file@percent } \citation{julia-serial-ports} -\@writefile{toc}{\contentsline {section}{\numberline {7.7}Reading the potentiometer from Julia}{173}{section.7.7}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.1}Reading the potentiometer}{173}{subsection.7.7.1}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/julia/pot\textendash threshold.jl}{173}{lstlisting.7.-119}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/julia/pot\textendash threshold.jl}{173}{lstlisting.7.-120}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.2}Julia Code}{174}{subsection.7.7.2}\protected@file@percent } -\newlabel{sec:pot-julia-code}{{7.7.2}{174}{Julia Code}{subsection.7.7.2}{}} +\@writefile{toc}{\contentsline {section}{\numberline {7.7}Reading potentiometer from Julia}{172}{section.7.7}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.1}Reading the potentiometer}{172}{subsection.7.7.1}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/julia/pot\textendash threshold.jl}{172}{lstlisting.7.-119}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/julia/pot\textendash threshold.jl}{172}{lstlisting.7.-120}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.2}Julia Code}{173}{subsection.7.7.2}\protected@file@percent } +\newlabel{sec:pot-julia-code}{{7.7.2}{173}{Julia Code}{subsection.7.7.2}{}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{174}{juliamass.7.1}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{174}{juliamass.7.1}\protected@file@percent } -\newlabel{75@xvr}{{}{174}} -\newlabel{75@vr}{{}{174}} -\newlabel{julia:pot-100}{{7.{1}}{174}{Julia Code}{juliamass.7.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/julia/pot\textendash threshold.jl}{174}{lstlisting.7.-121}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.8}Reading the potentiometer from OpenModelica}{175}{section.7.8}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.8.1}Reading the potentiometer}{175}{subsection.7.8.1}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/OpenModelica/pot\textendash threshold.mo}{175}{lstlisting.7.-122}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/OpenModelica/pot\textendash threshold.mo}{175}{lstlisting.7.-123}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.8.2}OpenModelica Code}{176}{subsection.7.8.2}\protected@file@percent } -\newlabel{sec:pot-OpenModelica-code}{{7.8.2}{176}{OpenModelica Code}{subsection.7.8.2}{}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{173}{juliamass.7.1}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{173}{juliamass.7.1}\protected@file@percent } +\newlabel{75@xvr}{{}{173}} +\newlabel{75@vr}{{}{173}} +\newlabel{julia:pot-100}{{7.{1}}{173}{Julia Code}{juliamass.7.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/julia/pot\textendash threshold.jl}{173}{lstlisting.7.-121}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.8}Reading potentiometer from OpenModelica}{174}{section.7.8}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.8.1}Reading the potentiometer}{174}{subsection.7.8.1}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/OpenModelica/pot\textendash threshold.mo}{174}{lstlisting.7.-122}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/OpenModelica/pot\textendash threshold.mo}{174}{lstlisting.7.-123}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.8.2}OpenModelica Code}{175}{subsection.7.8.2}\protected@file@percent } +\newlabel{sec:pot-OpenModelica-code}{{7.8.2}{175}{OpenModelica Code}{subsection.7.8.2}{}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{176}{OpenModelicamass.7.1}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{176}{OpenModelicamass.7.1}\protected@file@percent } -\newlabel{OpenModelica:pot-100}{{7.{1}}{176}{OpenModelica Code}{OpenModelicamass.7.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/OpenModelica/pot\textendash threshold.mo}{176}{lstlisting.7.-124}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{175}{OpenModelicamass.7.1}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{175}{OpenModelicamass.7.1}\protected@file@percent } +\newlabel{OpenModelica:pot-100}{{7.{1}}{175}{OpenModelica Code}{OpenModelicamass.7.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/OpenModelica/pot\textendash threshold.mo}{175}{lstlisting.7.-124}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {7.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{177}{table.caption.110}\protected@file@percent } +\newlabel{tab:pot-threshold}{{7.1}{177}{Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }{table.caption.110}{}} +\newlabel{73@xvr}{{}{177}} +\newlabel{73@vr}{{}{177}} \@writefile{toc}{\contentsline {chapter}{\numberline {8}Interfacing a Thermistor}{179}{chapter.8}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} @@ -922,7 +922,7 @@ \@writefile{lof}{\contentsline {figure}{\numberline {8.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{180}{figure.caption.111}\protected@file@percent } \@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{180}{subfigure.1.1}\protected@file@percent } \@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{180}{subfigure.1.2}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{180}{section.8.2}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.2}Connecting a thermistor using breadboard}{180}{section.8.2}\protected@file@percent } \newlabel{fig:therm-conn}{{8.2a}{181}{Subfigure 8 8.2a}{subfigure.8.2.1}{}} \newlabel{sub@fig:therm-conn}{{(a)}{a}{Subfigure 8 8.2a\relax }{subfigure.8.2.1}{}} \newlabel{fig:buzzer-conn}{{8.2b}{181}{Subfigure 8 8.2b}{subfigure.8.2.2}{}} @@ -934,7 +934,7 @@ \newlabel{fig:ard-therm-bread}{{8.3}{182}{A thermistor to read its values with Arduino Uno using a breadboard\relax }{figure.caption.113}{}} \@writefile{lof}{\contentsline {figure}{\numberline {8.4}{\ignorespaces A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }}{182}{figure.caption.114}\protected@file@percent } \newlabel{fig:ard-therm-buzzer}{{8.4}{182}{A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }{figure.caption.114}{}} -\@writefile{toc}{\contentsline {section}{\numberline {8.3}Interfacing the thermistor from the Arduino IDE}{183}{section.8.3}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.3}Interfacing thermistor from Arduino IDE}{183}{section.8.3}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {8.3.1}Interfacing the thermistor}{183}{subsection.8.3.1}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{183}{lstlisting.8.-125}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{183}{lstlisting.8.-126}\protected@file@percent } @@ -957,7 +957,7 @@ \newlabel{77@vr}{{}{186}} \newlabel{ard:therm-buzzer}{{8.{2}}{186}{Arduino Code}{ardmass.8.2}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm\textendash buzzer/therm\textendash buzzer.ino}{186}{lstlisting.8.-130}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.4}Interfacing the thermistor from Scilab}{187}{section.8.4}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.4}Interfacing thermistor from Scilab}{187}{section.8.4}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {8.4.1}Interfacing the thermistor}{187}{subsection.8.4.1}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm\textendash read.sce}{187}{lstlisting.8.-131}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm\textendash read.sce}{187}{lstlisting.8.-132}\protected@file@percent } @@ -981,7 +981,7 @@ \newlabel{79@vr}{{}{191}} \newlabel{sci:therm-buzzer}{{8.{2}}{191}{Scilab Code}{codemass.8.2}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm\textendash buzzer.sce}{191}{lstlisting.8.-135}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.5}Interfacing the thermistor from Xcos}{191}{section.8.5}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.5}Interfacing thermistor from Xcos}{191}{section.8.5}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {8.5}{\ignorespaces Xcos diagram to read thermistor values}}{192}{figure.caption.117}\protected@file@percent } \newlabel{81@xvr}{{}{192}} \newlabel{81@vr}{{}{192}} @@ -996,41 +996,41 @@ \newlabel{84@xvr}{{}{194}} \newlabel{84@vr}{{}{194}} \newlabel{fig:therm-buzzer}{{8.7}{194}{Xcos diagram to read the value of thermistor, which is used to turn the buzzer on}{figure.caption.120}{}} -\@writefile{toc}{\contentsline {paragraph}{Note:}{194}{section*.123}\protected@file@percent } \@writefile{lot}{\contentsline {table}{\numberline {8.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{195}{table.caption.121}\protected@file@percent } \newlabel{tab:therm-buzzer}{{8.2}{195}{Xcos parameters to read thermistor and switch the buzzer\relax }{table.caption.121}{}} \newlabel{85@xvr}{{}{195}} \newlabel{85@vr}{{}{195}} -\@writefile{toc}{\contentsline {section}{\numberline {8.6}Interfacing the thermistor from Python}{195}{section.8.6}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.1}Interfacing the thermistor}{195}{subsection.8.6.1}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{195}{section*.123}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {8.8}{\ignorespaces Plot window in Xcos to read thermistor values and the state of LED\relax }}{196}{figure.caption.122}\protected@file@percent } \newlabel{fig:therm-buzzer-output}{{8.8}{196}{Plot window in Xcos to read thermistor values and the state of LED\relax }{figure.caption.122}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm\textendash read.py}{196}{lstlisting.8.-136}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm\textendash read.py}{196}{lstlisting.8.-137}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm\textendash buzzer.py}{197}{lstlisting.8.-138}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.6}Interfacing thermistor from Python}{196}{section.8.6}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.1}Interfacing the thermistor}{196}{subsection.8.6.1}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm\textendash read.py}{197}{lstlisting.8.-136}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm\textendash read.py}{197}{lstlisting.8.-137}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm\textendash buzzer.py}{198}{lstlisting.8.-138}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{Note:}{198}{section*.124}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {8.6.2}Python Code}{198}{subsection.8.6.2}\protected@file@percent } \newlabel{sec:therm-pyhton-code}{{8.6.2}{198}{Python Code}{subsection.8.6.2}{}} \@writefile{pyd}{\addvspace {10pt}} \@writefile{thm}{\contentsline {pymass}{{Python Code}{8.{1}}{}}{198}{pymass.8.1}\protected@file@percent } \@writefile{pyd}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{198}{pymass.8.1}\protected@file@percent } -\newlabel{86@xvr}{{}{198}} -\newlabel{86@vr}{{}{198}} -\newlabel{py:therm-read}{{8.{1}}{198}{Python Code}{pymass.8.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm\textendash read.py}{198}{lstlisting.8.-139}\protected@file@percent } +\newlabel{86@xvr}{{}{199}} +\newlabel{86@vr}{{}{199}} +\newlabel{py:therm-read}{{8.{1}}{199}{Python Code}{pymass.8.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm\textendash read.py}{199}{lstlisting.8.-139}\protected@file@percent } \@writefile{thm}{\contentsline {pymass}{{Python Code}{8.{2}}{}}{199}{pymass.8.2}\protected@file@percent } \@writefile{pyd}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{199}{pymass.8.2}\protected@file@percent } -\newlabel{87@xvr}{{}{199}} -\newlabel{87@vr}{{}{199}} -\newlabel{py:therm-buzzer}{{8.{2}}{199}{Python Code}{pymass.8.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm\textendash buzzer.py}{199}{lstlisting.8.-140}\protected@file@percent } +\newlabel{87@xvr}{{}{200}} +\newlabel{87@vr}{{}{200}} +\newlabel{py:therm-buzzer}{{8.{2}}{200}{Python Code}{pymass.8.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm\textendash buzzer.py}{200}{lstlisting.8.-140}\protected@file@percent } \citation{julia-serial-ports} -\@writefile{toc}{\contentsline {section}{\numberline {8.7}Interfacing the thermistor from Julia}{200}{section.8.7}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.1}Interfacing the thermistor}{200}{subsection.8.7.1}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.7}Interfacing thermistor from Julia}{201}{section.8.7}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.1}Interfacing the thermistor}{201}{subsection.8.7.1}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm\textendash read.jl}{201}{lstlisting.8.-141}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm\textendash read.jl}{201}{lstlisting.8.-142}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm\textendash buzzer.jl}{202}{lstlisting.8.-143}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{202}{section*.125}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{203}{section*.125}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {8.7.2}Julia Code}{203}{subsection.8.7.2}\protected@file@percent } \newlabel{sec:therm-julia-code}{{8.7.2}{203}{Julia Code}{subsection.8.7.2}{}} \@writefile{juliad}{\addvspace {10pt}} @@ -1045,20 +1045,20 @@ \newlabel{89@xvr}{{}{203}} \newlabel{89@vr}{{}{203}} \newlabel{julia:therm-buzzer}{{8.{2}}{203}{Julia Code}{juliamass.8.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm\textendash buzzer.jl}{203}{lstlisting.8.-145}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.8}Interfacing the thermistor from OpenModelica}{204}{section.8.8}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm\textendash buzzer.jl}{204}{lstlisting.8.-145}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.8}Interfacing thermistor from OpenModelica}{204}{section.8.8}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {8.8.1}Interfacing the thermistor}{204}{subsection.8.8.1}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/therm\textendash read.mo}{204}{lstlisting.8.-146}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/therm\textendash read.mo}{204}{lstlisting.8.-147}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/therm\textendash buzzer.mo}{205}{lstlisting.8.-148}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/therm\textendash read.mo}{205}{lstlisting.8.-147}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/therm\textendash buzzer.mo}{206}{lstlisting.8.-148}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{Note:}{206}{section*.126}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {8.8.2}OpenModelica Code}{206}{subsection.8.8.2}\protected@file@percent } \newlabel{sec:therm-OpenModelica-code}{{8.8.2}{206}{OpenModelica Code}{subsection.8.8.2}{}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{206}{OpenModelicamass.8.1}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{206}{OpenModelicamass.8.1}\protected@file@percent } -\newlabel{OpenModelica:therm-read}{{8.{1}}{206}{OpenModelica Code}{OpenModelicamass.8.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/therm\textendash read.mo}{206}{lstlisting.8.-149}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{207}{OpenModelicamass.8.1}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{207}{OpenModelicamass.8.1}\protected@file@percent } +\newlabel{OpenModelica:therm-read}{{8.{1}}{207}{OpenModelica Code}{OpenModelicamass.8.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/therm\textendash read.mo}{207}{lstlisting.8.-149}\protected@file@percent } \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{2}}{}}{207}{OpenModelicamass.8.2}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{207}{OpenModelicamass.8.2}\protected@file@percent } \newlabel{OpenModelica:therm-buzzer}{{8.{2}}{207}{OpenModelica Code}{OpenModelicamass.8.2}{}} @@ -1074,12 +1074,12 @@ \newlabel{fig:servo-shield}{{9.1}{210}{Connecting servomotor to the Shield attached on \arduino \relax }{figure.caption.127}{}} \@writefile{lot}{\contentsline {table}{\numberline {9.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{211}{table.caption.128}\protected@file@percent } \newlabel{tab:servo-connect}{{9.1}{211}{Connecting a typical servomotor to \arduino \ board\relax }{table.caption.128}{}} -\@writefile{toc}{\contentsline {section}{\numberline {9.2}Connecting a servomotor with Arduino Uno\ using a breadboard}{211}{section.9.2}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.2}Connecting a servomotor using breadboard}{211}{section.9.2}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {9.2}{\ignorespaces A servomotor with Arduino Uno\ using a breadboard\relax }}{212}{figure.caption.129}\protected@file@percent } \newlabel{fig:servo-bread}{{9.2}{212}{A servomotor with \arduino \ using a breadboard\relax }{figure.caption.129}{}} \@writefile{lof}{\contentsline {figure}{\numberline {9.3}{\ignorespaces A servomotor and a potentiometer with Arduino Uno\ using a breadboard\relax }}{212}{figure.caption.130}\protected@file@percent } \newlabel{fig:servo-pot-bread}{{9.3}{212}{A servomotor and a potentiometer with \arduino \ using a breadboard\relax }{figure.caption.130}{}} -\@writefile{toc}{\contentsline {section}{\numberline {9.3}Controlling the servomotor through the Arduino IDE}{212}{section.9.3}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.3}Controlling servomotor through Arduino IDE}{212}{section.9.3}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {9.3.1}Controlling the servomotor}{212}{subsection.9.3.1}\protected@file@percent } \newlabel{sec:servo-ard}{{9.3.1}{212}{Controlling the servomotor}{subsection.9.3.1}{}} \citation{servo-lib} @@ -1117,7 +1117,7 @@ \newlabel{93@vr}{{}{217}} \newlabel{ard:servo-pot}{{9.{4}}{217}{Arduino Code}{ardmass.9.4}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash pot/servo\textendash pot.ino}{217}{lstlisting.9.-160}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.4}Controlling the servomotor through Scilab}{218}{section.9.4}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.4}Controlling servomotor through Scilab}{218}{section.9.4}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {9.4.1}Controlling the servomotor}{218}{subsection.9.4.1}\protected@file@percent } \newlabel{sec:servo-sci}{{9.4.1}{218}{Controlling the servomotor}{subsection.9.4.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash init.sce}{218}{lstlisting.9.-161}\protected@file@percent } @@ -1151,8 +1151,8 @@ \newlabel{97@vr}{{}{221}} \newlabel{sci:servo-pot}{{9.{4}}{221}{Scilab Code}{codemass.9.4}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash pot.sce}{222}{lstlisting.9.-168}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.5}Controling the servomotor through Xcos}{222}{section.9.5}\protected@file@percent } -\newlabel{sec:servo-xcos}{{9.5}{222}{Controling the servomotor through Xcos}{section.9.5}{}} +\@writefile{toc}{\contentsline {section}{\numberline {9.5}Controling servomotor through Xcos}{222}{section.9.5}\protected@file@percent } +\newlabel{sec:servo-xcos}{{9.5}{222}{Controling servomotor through Xcos}{section.9.5}{}} \@writefile{lof}{\contentsline {figure}{\numberline {9.4}{\ignorespaces Rotating the servomotor by a fixed angle}}{223}{figure.caption.131}\protected@file@percent } \newlabel{99@xvr}{{}{223}} \newlabel{99@vr}{{}{223}} @@ -1165,118 +1165,118 @@ \newlabel{102@xvr}{{}{224}} \newlabel{102@vr}{{}{224}} \newlabel{fig:servo-reverse}{{9.5}{224}{Rotating the servomotor forward and then reverse}{figure.caption.133}{}} -\@writefile{lot}{\contentsline {table}{\numberline {9.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{224}{table.caption.134}\protected@file@percent } -\newlabel{tab:servo-reverse}{{9.3}{224}{Parameters to rotate the servomotor forward and reverse\relax }{table.caption.134}{}} -\newlabel{103@xvr}{{}{224}} -\newlabel{103@vr}{{}{224}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.6}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{225}{figure.caption.135}\protected@file@percent } -\newlabel{105@xvr}{{}{225}} -\newlabel{105@vr}{{}{225}} -\newlabel{fig:servo-loop}{{9.6}{225}{Rotating the servomotor in increments of $20^\circ $}{figure.caption.135}{}} -\@writefile{lot}{\contentsline {table}{\numberline {9.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{225}{table.caption.136}\protected@file@percent } -\newlabel{tab:servo-loop}{{9.4}{225}{Parameters to make the servomotor to sweep the entire range in increments\relax }{table.caption.136}{}} -\newlabel{106@xvr}{{}{225}} -\newlabel{106@vr}{{}{225}} +\@writefile{lot}{\contentsline {table}{\numberline {9.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{225}{table.caption.134}\protected@file@percent } +\newlabel{tab:servo-reverse}{{9.3}{225}{Parameters to rotate the servomotor forward and reverse\relax }{table.caption.134}{}} +\newlabel{103@xvr}{{}{225}} +\newlabel{103@vr}{{}{225}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.6}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{226}{figure.caption.135}\protected@file@percent } +\newlabel{105@xvr}{{}{226}} +\newlabel{105@vr}{{}{226}} +\newlabel{fig:servo-loop}{{9.6}{226}{Rotating the servomotor in increments of $20^\circ $}{figure.caption.135}{}} \@writefile{lof}{\contentsline {figure}{\numberline {9.7}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{226}{figure.caption.137}\protected@file@percent } \newlabel{108@xvr}{{}{226}} \newlabel{108@vr}{{}{226}} \newlabel{fig:servo-pot}{{9.7}{226}{Rotating the servomotor as suggested by the potentiometer}{figure.caption.137}{}} -\@writefile{toc}{\contentsline {section}{\numberline {9.6}Controlling the servomotor through Python}{226}{section.9.6}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.6}Controlling servomotor through Python}{226}{section.9.6}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {9.6.1}Controlling the servomotor}{226}{subsection.9.6.1}\protected@file@percent } \newlabel{sec:servo-py}{{9.6.1}{226}{Controlling the servomotor}{subsection.9.6.1}{}} -\@writefile{lot}{\contentsline {table}{\numberline {9.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{227}{table.caption.138}\protected@file@percent } -\newlabel{tab:servo-pot}{{9.5}{227}{Parameters to rotate the servomotor based on the input from the potentiometer\relax }{table.caption.138}{}} -\newlabel{109@xvr}{{}{227}} -\newlabel{109@vr}{{}{227}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash init.py}{227}{lstlisting.9.-169}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {9.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{227}{table.caption.136}\protected@file@percent } +\newlabel{tab:servo-loop}{{9.4}{227}{Parameters to make the servomotor to sweep the entire range in increments\relax }{table.caption.136}{}} +\newlabel{106@xvr}{{}{227}} +\newlabel{106@vr}{{}{227}} +\@writefile{lot}{\contentsline {table}{\numberline {9.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{228}{table.caption.138}\protected@file@percent } +\newlabel{tab:servo-pot}{{9.5}{228}{Parameters to rotate the servomotor based on the input from the potentiometer\relax }{table.caption.138}{}} +\newlabel{109@xvr}{{}{228}} +\newlabel{109@vr}{{}{228}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash init.py}{228}{lstlisting.9.-169}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash init.py}{228}{lstlisting.9.-170}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash reverse.py}{228}{lstlisting.9.-171}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash reverse.py}{229}{lstlisting.9.-171}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash pot.py}{229}{lstlisting.9.-172}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.2}Python Code}{229}{subsection.9.6.2}\protected@file@percent } -\newlabel{sec:servo-python-code}{{9.6.2}{229}{Python Code}{subsection.9.6.2}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.2}Python Code}{230}{subsection.9.6.2}\protected@file@percent } +\newlabel{sec:servo-python-code}{{9.6.2}{230}{Python Code}{subsection.9.6.2}{}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{1}}{}}{229}{pymass.9.1}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{229}{pymass.9.1}\protected@file@percent } -\newlabel{110@xvr}{{}{229}} -\newlabel{110@vr}{{}{229}} -\newlabel{py:servo-init}{{9.{1}}{229}{Python Code}{pymass.9.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash init.py}{229}{lstlisting.9.-173}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{2}}{}}{230}{pymass.9.2}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{230}{pymass.9.2}\protected@file@percent } -\newlabel{111@xvr}{{}{230}} -\newlabel{111@vr}{{}{230}} -\newlabel{py:servo-reverse}{{9.{2}}{230}{Python Code}{pymass.9.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash reverse.py}{230}{lstlisting.9.-174}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{3}}{}}{231}{pymass.9.3}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{231}{pymass.9.3}\protected@file@percent } -\newlabel{112@xvr}{{}{231}} -\newlabel{112@vr}{{}{231}} -\newlabel{py:servo-loop}{{9.{3}}{231}{Python Code}{pymass.9.3}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash loop.py}{231}{lstlisting.9.-175}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{4}}{}}{232}{pymass.9.4}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{232}{pymass.9.4}\protected@file@percent } -\newlabel{113@xvr}{{}{232}} -\newlabel{113@vr}{{}{232}} -\newlabel{py:servo-pot}{{9.{4}}{232}{Python Code}{pymass.9.4}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash pot.py}{232}{lstlisting.9.-176}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.7}Controlling the servomotor through Julia}{233}{section.9.7}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.1}Controlling the servomotor}{233}{subsection.9.7.1}\protected@file@percent } -\newlabel{sec:servo-julia}{{9.7.1}{233}{Controlling the servomotor}{subsection.9.7.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash init.jl}{234}{lstlisting.9.-177}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash init.jl}{234}{lstlisting.9.-178}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{1}}{}}{230}{pymass.9.1}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{230}{pymass.9.1}\protected@file@percent } +\newlabel{110@xvr}{{}{230}} +\newlabel{110@vr}{{}{230}} +\newlabel{py:servo-init}{{9.{1}}{230}{Python Code}{pymass.9.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash init.py}{230}{lstlisting.9.-173}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{2}}{}}{231}{pymass.9.2}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{231}{pymass.9.2}\protected@file@percent } +\newlabel{111@xvr}{{}{231}} +\newlabel{111@vr}{{}{231}} +\newlabel{py:servo-reverse}{{9.{2}}{231}{Python Code}{pymass.9.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash reverse.py}{231}{lstlisting.9.-174}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{3}}{}}{232}{pymass.9.3}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{232}{pymass.9.3}\protected@file@percent } +\newlabel{112@xvr}{{}{232}} +\newlabel{112@vr}{{}{232}} +\newlabel{py:servo-loop}{{9.{3}}{232}{Python Code}{pymass.9.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash loop.py}{232}{lstlisting.9.-175}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{4}}{}}{233}{pymass.9.4}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{233}{pymass.9.4}\protected@file@percent } +\newlabel{113@xvr}{{}{233}} +\newlabel{113@vr}{{}{233}} +\newlabel{py:servo-pot}{{9.{4}}{233}{Python Code}{pymass.9.4}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash pot.py}{233}{lstlisting.9.-176}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.7}Controlling servomotor through Julia}{234}{section.9.7}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.1}Controlling the servomotor}{234}{subsection.9.7.1}\protected@file@percent } +\newlabel{sec:servo-julia}{{9.7.1}{234}{Controlling the servomotor}{subsection.9.7.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash init.jl}{235}{lstlisting.9.-177}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash init.jl}{235}{lstlisting.9.-178}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash reverse.jl}{235}{lstlisting.9.-179}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash pot.jl}{235}{lstlisting.9.-180}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.2}Julia Code}{236}{subsection.9.7.2}\protected@file@percent } -\newlabel{sec:servo-julia-code}{{9.7.2}{236}{Julia Code}{subsection.9.7.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash pot.jl}{236}{lstlisting.9.-180}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.2}Julia Code}{237}{subsection.9.7.2}\protected@file@percent } +\newlabel{sec:servo-julia-code}{{9.7.2}{237}{Julia Code}{subsection.9.7.2}{}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{236}{juliamass.9.1}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{236}{juliamass.9.1}\protected@file@percent } -\newlabel{114@xvr}{{}{236}} -\newlabel{114@vr}{{}{236}} -\newlabel{julia:servo-init}{{9.{1}}{236}{Julia Code}{juliamass.9.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash init.jl}{236}{lstlisting.9.-181}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{236}{juliamass.9.2}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{236}{juliamass.9.2}\protected@file@percent } -\newlabel{115@xvr}{{}{236}} -\newlabel{115@vr}{{}{236}} -\newlabel{julia:servo-reverse}{{9.{2}}{236}{Julia Code}{juliamass.9.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash reverse.jl}{236}{lstlisting.9.-182}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{3}}{}}{236}{juliamass.9.3}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{236}{juliamass.9.3}\protected@file@percent } -\newlabel{116@xvr}{{}{236}} -\newlabel{116@vr}{{}{236}} -\newlabel{julia:servo-loop}{{9.{3}}{236}{Julia Code}{juliamass.9.3}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash loop.jl}{236}{lstlisting.9.-183}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{4}}{}}{237}{juliamass.9.4}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{237}{juliamass.9.4}\protected@file@percent } -\newlabel{117@xvr}{{}{237}} -\newlabel{117@vr}{{}{237}} -\newlabel{julia:servo-pot}{{9.{4}}{237}{Julia Code}{juliamass.9.4}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash pot.jl}{237}{lstlisting.9.-184}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.8}Controlling the servomotor through OpenModelica}{237}{section.9.8}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.1}Controlling the servomotor}{237}{subsection.9.8.1}\protected@file@percent } -\newlabel{sec:servo-OpenModelica}{{9.8.1}{237}{Controlling the servomotor}{subsection.9.8.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash init.mo}{238}{lstlisting.9.-185}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash init.mo}{238}{lstlisting.9.-186}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash reverse.mo}{238}{lstlisting.9.-187}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash pot.mo}{239}{lstlisting.9.-188}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{240}{subsection.9.8.2}\protected@file@percent } -\newlabel{sec:servo-OpenModelica-code}{{9.8.2}{240}{OpenModelica Code}{subsection.9.8.2}{}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{237}{juliamass.9.1}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{237}{juliamass.9.1}\protected@file@percent } +\newlabel{114@xvr}{{}{237}} +\newlabel{114@vr}{{}{237}} +\newlabel{julia:servo-init}{{9.{1}}{237}{Julia Code}{juliamass.9.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash init.jl}{237}{lstlisting.9.-181}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{237}{juliamass.9.2}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{237}{juliamass.9.2}\protected@file@percent } +\newlabel{115@xvr}{{}{237}} +\newlabel{115@vr}{{}{237}} +\newlabel{julia:servo-reverse}{{9.{2}}{237}{Julia Code}{juliamass.9.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash reverse.jl}{237}{lstlisting.9.-182}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{3}}{}}{237}{juliamass.9.3}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{237}{juliamass.9.3}\protected@file@percent } +\newlabel{116@xvr}{{}{237}} +\newlabel{116@vr}{{}{237}} +\newlabel{julia:servo-loop}{{9.{3}}{237}{Julia Code}{juliamass.9.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash loop.jl}{237}{lstlisting.9.-183}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{4}}{}}{238}{juliamass.9.4}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{238}{juliamass.9.4}\protected@file@percent } +\newlabel{117@xvr}{{}{238}} +\newlabel{117@vr}{{}{238}} +\newlabel{julia:servo-pot}{{9.{4}}{238}{Julia Code}{juliamass.9.4}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash pot.jl}{238}{lstlisting.9.-184}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.8}Controlling servomotor through OpenModelica}{238}{section.9.8}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.1}Controlling the servomotor}{238}{subsection.9.8.1}\protected@file@percent } +\newlabel{sec:servo-OpenModelica}{{9.8.1}{238}{Controlling the servomotor}{subsection.9.8.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash init.mo}{239}{lstlisting.9.-185}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash init.mo}{239}{lstlisting.9.-186}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash reverse.mo}{239}{lstlisting.9.-187}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash pot.mo}{240}{lstlisting.9.-188}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{241}{subsection.9.8.2}\protected@file@percent } +\newlabel{sec:servo-OpenModelica-code}{{9.8.2}{241}{OpenModelica Code}{subsection.9.8.2}{}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{240}{OpenModelicamass.9.1}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{240}{OpenModelicamass.9.1}\protected@file@percent } -\newlabel{OpenModelica:servo-init}{{9.{1}}{240}{OpenModelica Code}{OpenModelicamass.9.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash init.mo}{240}{lstlisting.9.-189}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{241}{OpenModelicamass.9.1}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{241}{OpenModelicamass.9.1}\protected@file@percent } +\newlabel{OpenModelica:servo-init}{{9.{1}}{241}{OpenModelica Code}{OpenModelicamass.9.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash init.mo}{241}{lstlisting.9.-189}\protected@file@percent } \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{241}{OpenModelicamass.9.2}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{241}{OpenModelicamass.9.2}\protected@file@percent } \newlabel{OpenModelica:servo-reverse}{{9.{2}}{241}{OpenModelica Code}{OpenModelicamass.9.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash reverse.mo}{241}{lstlisting.9.-190}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash reverse.mo}{242}{lstlisting.9.-190}\protected@file@percent } \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{3}}{}}{242}{OpenModelicamass.9.3}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{242}{OpenModelicamass.9.3}\protected@file@percent } \newlabel{OpenModelica:servo-loop}{{9.{3}}{242}{OpenModelica Code}{OpenModelicamass.9.3}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash loop.mo}{242}{lstlisting.9.-191}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{4}}{}}{242}{OpenModelicamass.9.4}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{242}{OpenModelicamass.9.4}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{4}}{}}{243}{OpenModelicamass.9.4}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{243}{OpenModelicamass.9.4}\protected@file@percent } \newlabel{OpenModelica:servo-pot}{{9.{4}}{243}{OpenModelica Code}{OpenModelicamass.9.4}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash pot.mo}{243}{lstlisting.9.-192}\protected@file@percent } \@writefile{toc}{\contentsline {chapter}{\numberline {10}Interfacing a DC Motor}{245}{chapter.10}\protected@file@percent } @@ -1295,7 +1295,7 @@ \newlabel{fig:dcm-schematic}{{10.3}{248}{A schematic of DC motor connections\relax }{figure.caption.142}{}} \@writefile{lof}{\contentsline {figure}{\numberline {10.4}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{248}{figure.caption.143}\protected@file@percent } \newlabel{fig:dcmotorconn}{{10.4}{248}{How to connect the DC motor to the \arduino \ board\relax }{figure.caption.143}{}} -\@writefile{toc}{\contentsline {section}{\numberline {10.2}Controlling the DC motor from Arduino}{249}{section.10.2}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.2}Controlling DC motor from Arduino IDE}{249}{section.10.2}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {10.2.1}Controlling the DC motor}{249}{subsection.10.2.1}\protected@file@percent } \newlabel{sec:dcm-ard}{{10.2.1}{249}{Controlling the DC motor}{subsection.10.2.1}{}} \@writefile{toc}{\contentsline {paragraph}{Note:}{249}{section*.144}\protected@file@percent } @@ -1326,8 +1326,8 @@ \newlabel{120@vr}{{}{252}} \newlabel{ard:dcmotor-loop}{{10.{3}}{252}{Arduino Code}{ardmass.10.3}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor\textendash loop/dcmotor\textendash loop.ino}{252}{lstlisting.10.-200}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.3}Controlling the DC motor from Scilab}{253}{section.10.3}\protected@file@percent } -\newlabel{sec:dcm-sci}{{10.3}{253}{Controlling the DC motor from Scilab}{section.10.3}{}} +\@writefile{toc}{\contentsline {section}{\numberline {10.3}Controlling DC motor from Scilab}{253}{section.10.3}\protected@file@percent } +\newlabel{sec:dcm-sci}{{10.3}{253}{Controlling DC motor from Scilab}{section.10.3}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {10.3.1}Controlling the DC motor}{253}{subsection.10.3.1}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{Note:}{253}{section*.145}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{254}{lstlisting.10.-202}\protected@file@percent } @@ -1363,7 +1363,7 @@ \newlabel{125@xvr}{{}{258}} \newlabel{125@vr}{{}{258}} \newlabel{fig:dcmotor-clock}{{10.5}{258}{Control of DC motor for a specified time from Xcos}{figure.caption.147}{}} -\@writefile{toc}{\contentsline {section}{\numberline {10.4}Controlling the DC motor from Xcos}{258}{section.10.4}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.4}Controlling DC motor from Xcos}{258}{section.10.4}\protected@file@percent } \@writefile{lot}{\contentsline {table}{\numberline {10.2}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{259}{table.caption.148}\protected@file@percent } \newlabel{tab:dcmotor-clock}{{10.2}{259}{Xcos parameters to drive the DC motor for a specified time\relax }{table.caption.148}{}} \newlabel{126@xvr}{{}{259}} @@ -1372,106 +1372,106 @@ \newlabel{128@xvr}{{}{260}} \newlabel{128@vr}{{}{260}} \newlabel{fig:dcmotor-both}{{10.6}{260}{Xcos control of the DC motor in forward and reverse directions}{figure.caption.149}{}} -\@writefile{lot}{\contentsline {table}{\numberline {10.3}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{260}{table.caption.150}\protected@file@percent } -\newlabel{tab:dcmotor-both}{{10.3}{260}{Xcos parameters to drive the DC motor in forward and reverse directions\relax }{table.caption.150}{}} -\newlabel{129@xvr}{{}{260}} -\newlabel{129@vr}{{}{260}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.7}{\ignorespaces Xcos control of the DC motor in both directions in a loop}}{261}{figure.caption.151}\protected@file@percent } -\newlabel{131@xvr}{{}{261}} -\newlabel{131@vr}{{}{261}} -\newlabel{fig:dcmotor-loop}{{10.7}{261}{Xcos control of the DC motor in both directions in a loop}{figure.caption.151}{}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{3}}{}}{261}{egmass.10.3}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {10.4}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{262}{table.caption.152}\protected@file@percent } -\newlabel{tab:dcmotor-loop}{{10.4}{262}{Xcos parameters to drive the DC motor in a loop\relax }{table.caption.152}{}} -\newlabel{132@xvr}{{}{262}} -\newlabel{132@vr}{{}{262}} -\@writefile{toc}{\contentsline {section}{\numberline {10.5}Controlling the DC motor from Python}{262}{section.10.5}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{3}}{}}{260}{egmass.10.3}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {10.3}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{261}{table.caption.150}\protected@file@percent } +\newlabel{tab:dcmotor-both}{{10.3}{261}{Xcos parameters to drive the DC motor in forward and reverse directions\relax }{table.caption.150}{}} +\newlabel{129@xvr}{{}{261}} +\newlabel{129@vr}{{}{261}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.7}{\ignorespaces Xcos control of the DC motor in both directions in a loop}}{262}{figure.caption.151}\protected@file@percent } +\newlabel{131@xvr}{{}{262}} +\newlabel{131@vr}{{}{262}} +\newlabel{fig:dcmotor-loop}{{10.7}{262}{Xcos control of the DC motor in both directions in a loop}{figure.caption.151}{}} +\@writefile{toc}{\contentsline {section}{\numberline {10.5}Controlling DC motor from Python}{262}{section.10.5}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {10.5.1}Controlling the DC motor}{262}{subsection.10.5.1}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{Note:}{262}{section*.153}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash clock.py}{263}{lstlisting.10.-213}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {10.4}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{263}{table.caption.152}\protected@file@percent } +\newlabel{tab:dcmotor-loop}{{10.4}{263}{Xcos parameters to drive the DC motor in a loop\relax }{table.caption.152}{}} +\newlabel{132@xvr}{{}{263}} +\newlabel{132@vr}{{}{263}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash clock.py}{264}{lstlisting.10.-213}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash clock.py}{264}{lstlisting.10.-215}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash clock.py}{264}{lstlisting.10.-216}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash clock.py}{264}{lstlisting.10.-217}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{264}{section*.154}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash both.py}{265}{lstlisting.10.-218}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash both.py}{265}{lstlisting.10.-219}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.2}Python Code}{265}{subsection.10.5.2}\protected@file@percent } -\newlabel{sec:dcmotor-python-code}{{10.5.2}{265}{Python Code}{subsection.10.5.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash clock.py}{265}{lstlisting.10.-216}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash clock.py}{265}{lstlisting.10.-217}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{265}{section*.154}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash both.py}{266}{lstlisting.10.-218}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash both.py}{266}{lstlisting.10.-219}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.2}Python Code}{266}{subsection.10.5.2}\protected@file@percent } +\newlabel{sec:dcmotor-python-code}{{10.5.2}{266}{Python Code}{subsection.10.5.2}{}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{1}}{}}{265}{pymass.10.1}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{265}{pymass.10.1}\protected@file@percent } -\newlabel{133@xvr}{{}{265}} -\newlabel{133@vr}{{}{265}} -\newlabel{py:dcmotor-clock}{{10.{1}}{265}{Python Code}{pymass.10.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash clock.py}{265}{lstlisting.10.-220}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{2}}{}}{266}{pymass.10.2}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{266}{pymass.10.2}\protected@file@percent } -\newlabel{134@xvr}{{}{266}} -\newlabel{134@vr}{{}{266}} -\newlabel{py:dcmotor-both}{{10.{2}}{266}{Python Code}{pymass.10.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash both.py}{266}{lstlisting.10.-221}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{3}}{}}{267}{pymass.10.3}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{267}{pymass.10.3}\protected@file@percent } -\newlabel{135@xvr}{{}{267}} -\newlabel{135@vr}{{}{267}} -\newlabel{py:dcmotor-loop}{{10.{3}}{267}{Python Code}{pymass.10.3}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash loop.py}{267}{lstlisting.10.-222}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.6}Controlling the DC motor from Julia}{269}{section.10.6}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{1}}{}}{266}{pymass.10.1}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{266}{pymass.10.1}\protected@file@percent } +\newlabel{133@xvr}{{}{266}} +\newlabel{133@vr}{{}{266}} +\newlabel{py:dcmotor-clock}{{10.{1}}{266}{Python Code}{pymass.10.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash clock.py}{266}{lstlisting.10.-220}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{2}}{}}{267}{pymass.10.2}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{267}{pymass.10.2}\protected@file@percent } +\newlabel{134@xvr}{{}{267}} +\newlabel{134@vr}{{}{267}} +\newlabel{py:dcmotor-both}{{10.{2}}{267}{Python Code}{pymass.10.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash both.py}{267}{lstlisting.10.-221}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{3}}{}}{268}{pymass.10.3}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{268}{pymass.10.3}\protected@file@percent } +\newlabel{135@xvr}{{}{268}} +\newlabel{135@vr}{{}{268}} +\newlabel{py:dcmotor-loop}{{10.{3}}{268}{Python Code}{pymass.10.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash loop.py}{268}{lstlisting.10.-222}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.6}Controlling DC motor from Julia}{269}{section.10.6}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {10.6.1}Controlling the DC motor}{269}{subsection.10.6.1}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{269}{section*.155}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{270}{section*.155}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{270}{lstlisting.10.-224}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{270}{lstlisting.10.-226}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{270}{lstlisting.10.-227}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{270}{lstlisting.10.-228}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{271}{lstlisting.10.-226}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{271}{lstlisting.10.-227}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{271}{lstlisting.10.-228}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{Note:}{271}{section*.156}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash both.jl}{271}{lstlisting.10.-229}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash both.jl}{271}{lstlisting.10.-230}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash both.jl}{272}{lstlisting.10.-229}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash both.jl}{272}{lstlisting.10.-230}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {10.6.2}Julia Code}{272}{subsection.10.6.2}\protected@file@percent } \newlabel{sec:dcmotor-julia-code}{{10.6.2}{272}{Julia Code}{subsection.10.6.2}{}} \@writefile{juliad}{\addvspace {10pt}} \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{272}{juliamass.10.1}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{272}{juliamass.10.1}\protected@file@percent } -\newlabel{136@xvr}{{}{272}} -\newlabel{136@vr}{{}{272}} -\newlabel{julia:dcmotor-clock}{{10.{1}}{272}{Julia Code}{juliamass.10.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{272}{lstlisting.10.-231}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{272}{juliamass.10.2}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{272}{juliamass.10.2}\protected@file@percent } -\newlabel{137@xvr}{{}{272}} -\newlabel{137@vr}{{}{272}} -\newlabel{julia:dcmotor-both}{{10.{2}}{272}{Julia Code}{juliamass.10.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash both.jl}{272}{lstlisting.10.-232}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{272}{juliamass.10.3}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{272}{juliamass.10.3}\protected@file@percent } -\newlabel{138@xvr}{{}{272}} -\newlabel{138@vr}{{}{272}} -\newlabel{julia:dcmotor-loop}{{10.{3}}{272}{Julia Code}{juliamass.10.3}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash loop.jl}{272}{lstlisting.10.-233}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.7}Controlling the DC motor from OpenModelica}{273}{section.10.7}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.1}Controlling the DC motor}{273}{subsection.10.7.1}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{273}{section*.157}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{274}{lstlisting.10.-235}\protected@file@percent } +\newlabel{136@xvr}{{}{273}} +\newlabel{136@vr}{{}{273}} +\newlabel{julia:dcmotor-clock}{{10.{1}}{273}{Julia Code}{juliamass.10.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{273}{lstlisting.10.-231}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{273}{juliamass.10.2}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{273}{juliamass.10.2}\protected@file@percent } +\newlabel{137@xvr}{{}{273}} +\newlabel{137@vr}{{}{273}} +\newlabel{julia:dcmotor-both}{{10.{2}}{273}{Julia Code}{juliamass.10.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash both.jl}{273}{lstlisting.10.-232}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{273}{juliamass.10.3}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{273}{juliamass.10.3}\protected@file@percent } +\newlabel{138@xvr}{{}{273}} +\newlabel{138@vr}{{}{273}} +\newlabel{julia:dcmotor-loop}{{10.{3}}{273}{Julia Code}{juliamass.10.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash loop.jl}{273}{lstlisting.10.-233}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.7}Controlling DC motor from OpenModelica}{274}{section.10.7}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.1}Controlling the DC motor}{274}{subsection.10.7.1}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{274}{section*.157}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{275}{lstlisting.10.-235}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{275}{lstlisting.10.-237}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{275}{lstlisting.10.-238}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{275}{lstlisting.10.-239}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{275}{section*.158}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{276}{lstlisting.10.-239}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{276}{section*.158}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{276}{lstlisting.10.-240}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{276}{lstlisting.10.-241}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{276}{subsection.10.7.2}\protected@file@percent } -\newlabel{sec:dcmotor-OpenModelica-code}{{10.7.2}{276}{OpenModelica Code}{subsection.10.7.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{277}{lstlisting.10.-241}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{277}{subsection.10.7.2}\protected@file@percent } +\newlabel{sec:dcmotor-OpenModelica-code}{{10.7.2}{277}{OpenModelica Code}{subsection.10.7.2}{}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{276}{OpenModelicamass.10.1}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{276}{OpenModelicamass.10.1}\protected@file@percent } -\newlabel{OpenModelica:dcmotor-clock}{{10.{1}}{276}{OpenModelica Code}{OpenModelicamass.10.1}{}} +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{277}{OpenModelicamass.10.1}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{277}{OpenModelicamass.10.1}\protected@file@percent } +\newlabel{OpenModelica:dcmotor-clock}{{10.{1}}{277}{OpenModelica Code}{OpenModelicamass.10.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{277}{lstlisting.10.-242}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{277}{OpenModelicamass.10.2}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{277}{OpenModelicamass.10.2}\protected@file@percent } -\newlabel{OpenModelica:dcmotor-both}{{10.{2}}{277}{OpenModelica Code}{OpenModelicamass.10.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{277}{lstlisting.10.-243}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{278}{OpenModelicamass.10.3}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{278}{OpenModelicamass.10.3}\protected@file@percent } -\newlabel{OpenModelica:dcmotor-loop}{{10.{3}}{278}{OpenModelica Code}{OpenModelicamass.10.3}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash loop.mo}{278}{lstlisting.10.-244}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{278}{OpenModelicamass.10.2}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{278}{OpenModelicamass.10.2}\protected@file@percent } +\newlabel{OpenModelica:dcmotor-both}{{10.{2}}{278}{OpenModelica Code}{OpenModelicamass.10.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{278}{lstlisting.10.-243}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{279}{OpenModelicamass.10.3}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{279}{OpenModelicamass.10.3}\protected@file@percent } +\newlabel{OpenModelica:dcmotor-loop}{{10.{3}}{279}{OpenModelica Code}{OpenModelicamass.10.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash loop.mo}{279}{lstlisting.10.-244}\protected@file@percent } \citation{modbus} \citation{modbus-paper} \citation{simplymodbus} @@ -1496,11 +1496,11 @@ \@writefile{lot}{\contentsline {table}{\numberline {11.3}{\ignorespaces Individual parameter address in EM6400\relax }}{285}{table.caption.164}\protected@file@percent } \newlabel{tab:params-addr}{{11.3}{285}{Individual parameter address in EM6400\relax }{table.caption.164}{}} \citation{online-crc} -\@writefile{lot}{\contentsline {table}{\numberline {11.4}{\ignorespaces A request packet to access V1 in EM6400\relax }}{286}{table.caption.166}\protected@file@percent } -\newlabel{tab:params-rq}{{11.4}{286}{A request packet to access V1 in EM6400\relax }{table.caption.166}{}} \@writefile{toc}{\contentsline {paragraph}{Note:}{286}{section*.165}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {11.5}{\ignorespaces A response packet to access V1 in EM6400\relax }}{287}{table.caption.167}\protected@file@percent } -\newlabel{tab:params-rp}{{11.5}{287}{A response packet to access V1 in EM6400\relax }{table.caption.167}{}} +\@writefile{lot}{\contentsline {table}{\numberline {11.4}{\ignorespaces A request packet to access V1 in EM6400\relax }}{287}{table.caption.166}\protected@file@percent } +\newlabel{tab:params-rq}{{11.4}{287}{A request packet to access V1 in EM6400\relax }{table.caption.166}{}} +\@writefile{lot}{\contentsline {table}{\numberline {11.5}{\ignorespaces A response packet to access V1 in EM6400\relax }}{288}{table.caption.167}\protected@file@percent } +\newlabel{tab:params-rp}{{11.5}{288}{A response packet to access V1 in EM6400\relax }{table.caption.167}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {11.1.2}Endianness}{288}{subsection.11.1.2}\protected@file@percent } \citation{ieee-754-conv} \@writefile{lot}{\contentsline {table}{\numberline {11.6}{\ignorespaces Memory storage of a four-byte integer in little-endian and big-endian\relax }}{289}{table.caption.168}\protected@file@percent } @@ -1524,14 +1524,14 @@ \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/arduino/send\textunderscore packet.ino}{293}{lstlisting.11.-245}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {11.7}{\ignorespaces Flowchart of the steps happening in the FLOSS code\relax }}{294}{figure.caption.172}\protected@file@percent } \newlabel{fig:flow-chart}{{11.7}{294}{Flowchart of the steps happening in the FLOSS code\relax }{figure.caption.172}{}} -\@writefile{toc}{\contentsline {section}{\numberline {11.4}Manifestation of Modbus protocol through Scilab}{294}{section.11.4}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {11.5}Reading the electrical parameters from Scilab}{295}{section.11.5}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.4}Implementing Modbus protocol using Scilab}{294}{section.11.4}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.5}Reading electrical parameters from Scilab}{295}{section.11.5}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {11.5.1}Reading the electrical parameters}{295}{subsection.11.5.1}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.5.2}Scilab Code}{295}{subsection.11.5.2}\protected@file@percent } -\newlabel{sec:modbus-scilab-code}{{11.5.2}{295}{Scilab Code}{subsection.11.5.2}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {11.5.2}Scilab Code}{296}{subsection.11.5.2}\protected@file@percent } +\newlabel{sec:modbus-scilab-code}{{11.5.2}{296}{Scilab Code}{subsection.11.5.2}{}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{295}{codemass.11.1}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{295}{codemass.11.1}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{296}{codemass.11.1}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{296}{codemass.11.1}\protected@file@percent } \newlabel{140@xvr}{{}{296}} \newlabel{140@vr}{{}{296}} \newlabel{sci:val-modbus}{{11.{1}}{296}{Scilab Code}{codemass.11.1}{}} @@ -1555,29 +1555,29 @@ \newlabel{sci:modbus-power}{{11.{4}}{297}{Scilab Code}{codemass.11.4}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read\textunderscore active\textunderscore power.sci}{297}{lstlisting.11.-249}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{Note: }{297}{section*.173}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.5.3}Output in the Scilab Console}{297}{subsection.11.5.3}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {11.8}{\ignorespaces Single phase current output on Scilab Console\relax }}{298}{figure.caption.174}\protected@file@percent } \newlabel{fig:current-console}{{11.8}{298}{Single phase current output on Scilab Console\relax }{figure.caption.174}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.9}{\ignorespaces Single phase current output in energy meter\relax }}{298}{figure.caption.175}\protected@file@percent } -\newlabel{fig:current-meter}{{11.9}{298}{Single phase current output in energy meter\relax }{figure.caption.175}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {11.5.3}Output in the Scilab Console}{298}{subsection.11.5.3}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.9}{\ignorespaces Single phase current output in energy meter\relax }}{299}{figure.caption.175}\protected@file@percent } +\newlabel{fig:current-meter}{{11.9}{299}{Single phase current output in energy meter\relax }{figure.caption.175}{}} \@writefile{lof}{\contentsline {figure}{\numberline {11.10}{\ignorespaces Single phase voltage output on Scilab Console\relax }}{299}{figure.caption.176}\protected@file@percent } \newlabel{fig:voltage-console}{{11.10}{299}{Single phase voltage output on Scilab Console\relax }{figure.caption.176}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.11}{\ignorespaces Single phase voltage output in energy meter\relax }}{299}{figure.caption.177}\protected@file@percent } -\newlabel{fig:voltage-meter}{{11.11}{299}{Single phase voltage output in energy meter\relax }{figure.caption.177}{}} +\@writefile{toc}{\contentsline {section}{\numberline {11.6}Reading electrical parameters from Xcos}{299}{section.11.6}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.11}{\ignorespaces Single phase voltage output in energy meter\relax }}{300}{figure.caption.177}\protected@file@percent } +\newlabel{fig:voltage-meter}{{11.11}{300}{Single phase voltage output in energy meter\relax }{figure.caption.177}{}} \@writefile{lof}{\contentsline {figure}{\numberline {11.12}{\ignorespaces Single phase active power output on Scilab Console\relax }}{300}{figure.caption.178}\protected@file@percent } \newlabel{fig:power-console}{{11.12}{300}{Single phase active power output on Scilab Console\relax }{figure.caption.178}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.13}{\ignorespaces Single phase active power output in energy meter\relax }}{300}{figure.caption.179}\protected@file@percent } -\newlabel{fig:power-meter}{{11.13}{300}{Single phase active power output in energy meter\relax }{figure.caption.179}{}} -\@writefile{toc}{\contentsline {section}{\numberline {11.6}Reading the electrical parameters from Xcos}{300}{section.11.6}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.13}{\ignorespaces Single phase active power output in energy meter\relax }}{301}{figure.caption.179}\protected@file@percent } +\newlabel{fig:power-meter}{{11.13}{301}{Single phase active power output in energy meter\relax }{figure.caption.179}{}} \@writefile{lof}{\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read energy meter values}}{301}{figure.caption.180}\protected@file@percent } \newlabel{145@xvr}{{}{301}} \newlabel{145@vr}{{}{301}} \newlabel{fig:mod-read}{{11.14}{301}{Xcos diagram to read energy meter values}{figure.caption.180}{}} -\@writefile{lot}{\contentsline {table}{\numberline {11.7}{\ignorespaces Xcos parameters to read energy meter values\relax }}{301}{table.caption.181}\protected@file@percent } -\newlabel{tab:mod-xcos-read}{{11.7}{301}{Xcos parameters to read energy meter values\relax }{table.caption.181}{}} -\@writefile{toc}{\contentsline {section}{\numberline {11.7}Manifestation of Modbus protocol through Python}{302}{section.11.7}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note: }{302}{section*.182}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {11.8}Reading the electrical parameters from Python}{303}{section.11.8}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.7}Implementing Modbus protocol using Python}{301}{section.11.7}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {11.7}{\ignorespaces Xcos parameters to read energy meter values\relax }}{302}{table.caption.181}\protected@file@percent } +\newlabel{tab:mod-xcos-read}{{11.7}{302}{Xcos parameters to read energy meter values\relax }{table.caption.181}{}} +\@writefile{toc}{\contentsline {paragraph}{Note: }{303}{section*.182}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.8}Reading electrical parameters from Python}{303}{section.11.8}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {11.8.1}Reading the electrical parameters}{303}{subsection.11.8.1}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {11.8.2}Python Code}{303}{subsection.11.8.2}\protected@file@percent } \newlabel{sec:modbus-python-code}{{11.8.2}{303}{Python Code}{subsection.11.8.2}{}} @@ -1587,62 +1587,62 @@ \newlabel{146@xvr}{{}{303}} \newlabel{146@vr}{{}{303}} \newlabel{py:current-modbus}{{11.{1}}{303}{Python Code}{pymass.11.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/python/read\textunderscore current.py}{303}{lstlisting.11.-250}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{2}}{}}{303}{pymass.11.2}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{303}{pymass.11.2}\protected@file@percent } -\newlabel{147@xvr}{{}{303}} -\newlabel{147@vr}{{}{303}} -\newlabel{py:voltage-modbus}{{11.{2}}{303}{Python Code}{pymass.11.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/python/read\textunderscore voltage.py}{303}{lstlisting.11.-251}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/python/read\textunderscore current.py}{304}{lstlisting.11.-250}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{2}}{}}{304}{pymass.11.2}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{304}{pymass.11.2}\protected@file@percent } +\newlabel{147@xvr}{{}{304}} +\newlabel{147@vr}{{}{304}} +\newlabel{py:voltage-modbus}{{11.{2}}{304}{Python Code}{pymass.11.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/python/read\textunderscore voltage.py}{304}{lstlisting.11.-251}\protected@file@percent } \@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{3}}{}}{304}{pymass.11.3}\protected@file@percent } \@writefile{pyd}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{304}{pymass.11.3}\protected@file@percent } \newlabel{148@xvr}{{}{304}} \newlabel{148@vr}{{}{304}} \newlabel{py:modbus-power}{{11.{3}}{304}{Python Code}{pymass.11.3}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/python/read\textunderscore active\textunderscore power.py}{304}{lstlisting.11.-252}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {11.9}Manifestation of Modbus protocol through Julia}{304}{section.11.9}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.9}Implementing Modbus protocol using Julia}{305}{section.11.9}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{Note: }{305}{section*.183}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {11.10}Reading the electrical parameters from Julia}{305}{section.11.10}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.10.1}Reading the electrical parameters}{305}{subsection.11.10.1}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.10.2}Julia Code}{305}{subsection.11.10.2}\protected@file@percent } -\newlabel{sec:modbus-julia-code}{{11.10.2}{305}{Julia Code}{subsection.11.10.2}{}} +\@writefile{toc}{\contentsline {section}{\numberline {11.10}Reading electrical parameters from Julia}{306}{section.11.10}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.10.1}Reading the electrical parameters}{306}{subsection.11.10.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.10.2}Julia Code}{306}{subsection.11.10.2}\protected@file@percent } +\newlabel{sec:modbus-julia-code}{{11.10.2}{306}{Julia Code}{subsection.11.10.2}{}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{305}{juliamass.11.1}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{305}{juliamass.11.1}\protected@file@percent } -\newlabel{149@xvr}{{}{305}} -\newlabel{149@vr}{{}{305}} -\newlabel{julia:current-modbus}{{11.{1}}{305}{Julia Code}{juliamass.11.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readCurrent.jl}{305}{lstlisting.11.-253}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{306}{juliamass.11.1}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{306}{juliamass.11.1}\protected@file@percent } +\newlabel{149@xvr}{{}{306}} +\newlabel{149@vr}{{}{306}} +\newlabel{julia:current-modbus}{{11.{1}}{306}{Julia Code}{juliamass.11.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readCurrent.jl}{306}{lstlisting.11.-253}\protected@file@percent } \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{306}{juliamass.11.2}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{306}{juliamass.11.2}\protected@file@percent } \newlabel{150@xvr}{{}{306}} \newlabel{150@vr}{{}{306}} \newlabel{julia:voltage-modbus}{{11.{2}}{306}{Julia Code}{juliamass.11.2}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readVoltage.jl}{306}{lstlisting.11.-254}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{306}{juliamass.11.3}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{306}{juliamass.11.3}\protected@file@percent } -\newlabel{151@xvr}{{}{306}} -\newlabel{151@vr}{{}{306}} -\newlabel{julia:modbus-power}{{11.{3}}{306}{Julia Code}{juliamass.11.3}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readPower.jl}{306}{lstlisting.11.-255}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {11.11}Manifestation of Modbus protocol through OpenModelica}{307}{section.11.11}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note: }{307}{section*.184}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {11.12}Reading the electrical parameters from OpenModelica}{308}{section.11.12}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{307}{juliamass.11.3}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{307}{juliamass.11.3}\protected@file@percent } +\newlabel{151@xvr}{{}{307}} +\newlabel{151@vr}{{}{307}} +\newlabel{julia:modbus-power}{{11.{3}}{307}{Julia Code}{juliamass.11.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readPower.jl}{307}{lstlisting.11.-255}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.11}Implementing Modbus protocol using OpenModelica}{307}{section.11.11}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note: }{308}{section*.184}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.12}Reading electrical parameters from OpenModelica}{308}{section.11.12}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {11.12.1}Reading the electrical parameters}{308}{subsection.11.12.1}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {11.12.2}OpenModelica Code}{308}{subsection.11.12.2}\protected@file@percent } \newlabel{sec:modbus-OpenModelica-code}{{11.12.2}{308}{OpenModelica Code}{subsection.11.12.2}{}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{308}{OpenModelicamass.11.1}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{308}{OpenModelicamass.11.1}\protected@file@percent } -\newlabel{152@xvr}{{}{308}} -\newlabel{152@vr}{{}{308}} -\newlabel{OpenModelica:current-modbus}{{11.{1}}{308}{OpenModelica Code}{OpenModelicamass.11.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/OpenModelica/readCurrent.mo}{308}{lstlisting.11.-256}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{308}{OpenModelicamass.11.2}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{308}{OpenModelicamass.11.2}\protected@file@percent } -\newlabel{153@xvr}{{}{308}} -\newlabel{153@vr}{{}{308}} -\newlabel{OpenModelica:voltage-modbus}{{11.{2}}{308}{OpenModelica Code}{OpenModelicamass.11.2}{}} +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{309}{OpenModelicamass.11.1}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{309}{OpenModelicamass.11.1}\protected@file@percent } +\newlabel{152@xvr}{{}{309}} +\newlabel{152@vr}{{}{309}} +\newlabel{OpenModelica:current-modbus}{{11.{1}}{309}{OpenModelica Code}{OpenModelicamass.11.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/OpenModelica/readCurrent.mo}{309}{lstlisting.11.-256}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{309}{OpenModelicamass.11.2}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{309}{OpenModelicamass.11.2}\protected@file@percent } +\newlabel{153@xvr}{{}{309}} +\newlabel{153@vr}{{}{309}} +\newlabel{OpenModelica:voltage-modbus}{{11.{2}}{309}{OpenModelica Code}{OpenModelicamass.11.2}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/OpenModelica/readVoltage.mo}{309}{lstlisting.11.-257}\protected@file@percent } \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{309}{OpenModelicamass.11.3}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{309}{OpenModelicamass.11.3}\protected@file@percent } diff --git a/floss-arduino.bbl b/floss-arduino.bbl index 7b55331..6c5a760 100644 --- a/floss-arduino.bbl +++ b/floss-arduino.bbl @@ -4,121 +4,122 @@ T.~Martin. \newblock Use of {Scilab} for space mission analysis. \newblock - https://www.scilab.org/community/scilabtec/2009/Use-of-Scilab-for-space-mission-analysis. + \url{https://www.scilab.org/community/scilabtec/2009/Use-of-Scilab-for-space-mission-analysis}. \newblock Seen on 28 June 2015. \bibitem{scilab-arduino} B.~Jofret. \newblock Scilab-{Arduino} {Toolbox}. -\newblock http://atoms.scilab.org/. +\newblock \url{http://atoms.scilab.org/}. \newblock Seen on 28 June 2015. \bibitem{oshw-ref} oshwa.org. -\newblock http://www.oshwa.org/definition. +\newblock \url{http://www.oshwa.org/definition}. \newblock Seen on 28 June 2015. \bibitem{OSHW-logo-ref} Mateo Zlatar. \newblock Open source hardware logo. -\newblock http://www.oshwa.org/open-source-hardware-logo. +\newblock \url{http://www.oshwa.org/open-source-hardware-logo}. \newblock Seen on 28 June 2015. \bibitem{uno-ref} Arduino {Uno}. -\newblock https://www.arduino.cc/en/uploads/Main/ArduinoUnoFront240.jpg. +\newblock \url{https://www.arduino.cc/en/uploads/Main/ArduinoUnoFront240.jpg}. \newblock Seen on 28 June 2015. \bibitem{mega-ref} Arduino {Mega}. -\newblock https://www.arduino.cc/en/uploads/Main/ArduinoMega2560\_R3 - \_Fronte.jpg. +\newblock + \url{https://www.arduino.cc/en/uploads/Main/ArduinoMega2560_R3_Fronte.jpg}. \newblock Seen on 28 June 2015. \bibitem{lily-ref} Lilypod {Arduino}. -\newblock https://www.arduino.cc/en/uploads/Main/LilyPad\_5.jpg. +\newblock \url{https://www.arduino.cc/en/uploads/Main/LilyPad_5.jpg}. \newblock Seen on 28 June 2015. \bibitem{phone-ref} Arduino phone. -\newblock http://www.instructables.com/id/ArduinoPhone/. +\newblock \url{https://www.instructables.com/ArduinoPhone/}. \newblock Seen on 28 June 2015. \bibitem{candy-ref} Candy sorting machine. -\newblock http://beta.ivc.no/wiki/index.php/Skittles\_M\%26M\%27s - \_Sorting\_Machine. +\newblock + \url{https://beta.ivc.no/wiki/index.php/Skittles_M&M's_Sorting_Machine}. \newblock Seen on 28 June 2015. \bibitem{3d-printer-ref} 3d printer. -\newblock http://www.instructables.com/id/Arduino-Controlled-CNC-3D-Printer/. +\newblock + \url{http://www.instructables.com/id/Arduino-Controlled-CNC-3D-Printer/}. \newblock Seen on 28 June 2015. \bibitem{shield-ref} Shield. -\newblock http://codeshield.diyode.com/about/schematics/. +\newblock \url{http://codeshield.diyode.com/about/schematics/}. \newblock Seen on 28 June 2015. \bibitem{scilab-ref} scilab.org. -\newblock http://www.scilab.org/scilab/about. -\newblock Seen on 28 June 2015. +\newblock \url{https://www.scilab.org/about/scilab-open-source-software}. +\newblock Seen on 17 November 2023. \bibitem{scilab-interop} scilab.org. -\newblock http://www.scilab.org/scilab/interoperability. +\newblock \url{http://www.scilab.org/scilab/interoperability}. \newblock Seen on 28 June 2015. \bibitem{xcos-ref} scilab.org. -\newblock http://www.scilab.org/scilab/features/xcos. -\newblock Seen on 28 June 2015. +\newblock \url{https://www.scilab.org/software/xcos}. +\newblock Seen on 17 November 2023. \bibitem{python-ref} python.org. -\newblock https://www.python.org/doc/essays/blurb/. +\newblock \url{https://www.python.org/doc/essays/blurb/}. \newblock Seen on 24 February 2021. \bibitem{pySerial} pyserial - pypi. -\newblock https://pypi.org/project/pyserial/. +\newblock \url{https://pypi.org/project/pyserial/}. \newblock Seen on 21 April 2021. \bibitem{julia-ref} julialang.org/. -\newblock https://julialang.org/. +\newblock \url{https://julialang.org/}. \newblock Seen on 12 April 2021. \bibitem{julia-serial-ports} Juliaio/serialports.jl: Serialport io streams in julia backed by pyserial. -\newblock https://github.com/JuliaIO/SerialPorts.jl. +\newblock \url{https://github.com/JuliaIO/SerialPorts.jl}. \newblock Seen on 15 April 2021. \bibitem{om-ref} {OpenModelica}. -\newblock https://www.openmodelica.org/. +\newblock \url{https://www.openmodelica.org/}. \newblock Seen on 2 April 2021. \bibitem{therm-wiki} Thermistor - wikipedia. -\newblock https://en.wikipedia.org/wiki/Thermistor. +\newblock \url{https://en.wikipedia.org/wiki/Thermistor}. \newblock Seen on 2 May 2021. \bibitem{arduino-pwm} Secrets of {Arduino} {PWM}. -\newblock https://www.arduino.cc/en/Tutorial/SecretsOfArduinoPWM. +\newblock \url{https://www.arduino.cc/en/Tutorial/SecretsOfArduinoPWM}. \newblock Seen on 5 May 2021. \bibitem{servo-lib} Servo. -\newblock https://www.arduino.cc/reference/en/libraries/servo/. +\newblock \url{https://www.arduino.cc/reference/en/libraries/servo/}. \newblock Seen on 6 May 2021. \bibitem{modbus} {Modbus}. -\newblock https://modbus.org/. +\newblock \url{https://modbus.org/}. \newblock Seen on 6 May 2021. \bibitem{modbus-paper} @@ -131,22 +132,22 @@ Paavni Shukla, Sonal Singh, Tanmayee Joshi, Sudhakar Kumar, Samrudha Kelkar, \bibitem{simplymodbus} Simply {Modbus}. -\newblock https://simplymodbus.ca/. +\newblock \url{https://simplymodbus.ca/}. \newblock Seen on 6 May 2021. \bibitem{online-crc} Online {CRC}. -\newblock https://www.lammertbies.nl/comm/info/crc-calculation. +\newblock \url{https://www.lammertbies.nl/comm/info/crc-calculation}. \newblock Seen on 2 May 2021. \bibitem{ieee-754-conv} Floating point converter. -\newblock https://www.h-schmidt.net/FloatConverter/IEEE754.html. +\newblock \url{https://www.h-schmidt.net/FloatConverter/IEEE754.html}. \newblock Seen on 6 May 2021. \bibitem{amazon-shield} Ecolight® sensor shield v-1.2 compatible with {Arduino} {Uno} r3. -\newblock https://www.amazon.in/dp/B09G8BWDDD/. +\newblock \url{https://www.amazon.in/dp/B09G8BWDDD/}. \newblock Seen on 8 Jan 2022. \bibitem{flipkart-shield} diff --git a/floss-arduino.blg b/floss-arduino.blg index 76b5fc2..2270d9a 100644 --- a/floss-arduino.blg +++ b/floss-arduino.blg @@ -5,7 +5,7 @@ The style file: unsrt.bst Database file #1: bibliography.bib You've used 29 entries, 1791 wiz_defined-function locations, - 549 strings with 6393 characters, + 550 strings with 6580 characters, and the built_in function-call counts, 3562 in all, are: = -- 319 > -- 60 diff --git a/floss-arduino.cod b/floss-arduino.cod index a735af4..dc25acb 100644 --- a/floss-arduino.cod +++ b/floss-arduino.cod @@ -28,7 +28,7 @@ \contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{257}{codemass.10.2}% \contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{257}{codemass.10.3}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{295}{codemass.11.1}% +\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{296}{codemass.11.1}% \contentsline {section}{\numberline {11.{2}}First 10 lines of the code for single phase current output}{296}{codemass.11.2}% \contentsline {section}{\numberline {11.{3}}First 10 lines of the code for single phase voltage output}{296}{codemass.11.3}% \contentsline {section}{\numberline {11.{4}}First 10 lines of the code for single phase active power output}{297}{codemass.11.4}% diff --git a/floss-arduino.juliad b/floss-arduino.juliad index f667e3a..4b68c70 100644 --- a/floss-arduino.juliad +++ b/floss-arduino.juliad @@ -1,30 +1,30 @@ \contentsline {section}{\numberline {3.{1}}A Julia source file to check whether the firmware is properly installed or not}{66}{juliamass.3.1}% \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{104}{juliamass.4.1}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{104}{juliamass.4.2}% +\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{105}{juliamass.4.1}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{105}{juliamass.4.2}% \contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{105}{juliamass.4.3}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{105}{juliamass.4.4}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{106}{juliamass.4.4}% \addvspace {10pt} \contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and display it on Command Prompt or the Terminal.}{130}{juliamass.5.1}% \contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{131}{juliamass.5.2}% \addvspace {10pt} \contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{156}{juliamass.6.1}% -\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{156}{juliamass.6.2}% +\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{157}{juliamass.6.2}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{174}{juliamass.7.1}% +\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{173}{juliamass.7.1}% \addvspace {10pt} \contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{203}{juliamass.8.1}% \contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{203}{juliamass.8.2}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{236}{juliamass.9.1}% -\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{236}{juliamass.9.2}% -\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{236}{juliamass.9.3}% -\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{237}{juliamass.9.4}% +\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{237}{juliamass.9.1}% +\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{237}{juliamass.9.2}% +\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{237}{juliamass.9.3}% +\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{238}{juliamass.9.4}% \addvspace {10pt} \contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{272}{juliamass.10.1}% -\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{272}{juliamass.10.2}% -\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{272}{juliamass.10.3}% +\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{273}{juliamass.10.2}% +\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{273}{juliamass.10.3}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{305}{juliamass.11.1}% +\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{306}{juliamass.11.1}% \contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{306}{juliamass.11.2}% -\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{306}{juliamass.11.3}% +\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{307}{juliamass.11.3}% diff --git a/floss-arduino.lof b/floss-arduino.lof index 276b452..2907f0c 100644 --- a/floss-arduino.lof +++ b/floss-arduino.lof @@ -50,9 +50,9 @@ \contentsline {figure}{\numberline {3.35}{\ignorespaces Allowing Microsoft Defender to run the executable file\relax }}{68}{figure.caption.64}% \contentsline {figure}{\numberline {3.36}{\ignorespaces Setup of Modelica Standard Library version\relax }}{69}{figure.caption.65}% \contentsline {figure}{\numberline {3.37}{\ignorespaces User Interface of OMEdit\relax }}{71}{figure.caption.66}% -\contentsline {figure}{\numberline {3.38}{\ignorespaces Opening a model in OMEdit\relax }}{72}{figure.caption.67}% +\contentsline {figure}{\numberline {3.38}{\ignorespaces Opening a model in OMEdit\relax }}{71}{figure.caption.67}% \contentsline {figure}{\numberline {3.39}{\ignorespaces Opening a model in diagram view in OMEdit\relax }}{72}{figure.caption.68}% -\contentsline {figure}{\numberline {3.40}{\ignorespaces Different views of a model in OMEdit\relax }}{73}{figure.caption.69}% +\contentsline {figure}{\numberline {3.40}{\ignorespaces Different views of a model in OMEdit\relax }}{72}{figure.caption.69}% \contentsline {figure}{\numberline {3.41}{\ignorespaces Opening a model in text view in OMEdit\relax }}{73}{figure.caption.70}% \contentsline {figure}{\numberline {3.42}{\ignorespaces Simulating a model in OMEdit\relax }}{74}{figure.caption.71}% \contentsline {figure}{\numberline {3.43}{\ignorespaces Output window of OMEdit\relax }}{74}{figure.caption.72}% @@ -64,9 +64,9 @@ \contentsline {figure}{\numberline {4.4}{\ignorespaces An RGB LED with Arduino Uno\ using a breadboard\relax }}{82}{figure.caption.77}% \contentsline {figure}{\numberline {4.5}{\ignorespaces LED experiments directly on Arduino Uno\ board, without the Shield\relax }}{85}{figure.caption.79}% \contentsline {figure}{\numberline {4.6}{\ignorespaces Turning the blue LED on through Xcos}}{92}{figure.caption.81}% -\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{92}{figure.caption.83}% +\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{93}{figure.caption.83}% \contentsline {figure}{\numberline {4.8}{\ignorespaces Turning the blue and red LEDs on through Xcos and turning them off one by one}}{94}{figure.caption.85}% -\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{95}{figure.caption.87}% +\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{94}{figure.caption.87}% \addvspace {10\p@ } \contentsline {figure}{\numberline {5.1}{\ignorespaces Internal connection diagram for the pushbutton on the Shield\relax }}{114}{figure.caption.89}% \contentsline {figure}{\numberline {5.2}{\ignorespaces A pushbutton to read its status with Arduino Uno using a breadboard\relax }}{114}{figure.caption.90}% @@ -84,7 +84,7 @@ \contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read LDR values}}{147}{figure.caption.101}% \contentsline {figure}{\numberline {6.6}{\ignorespaces Plot window in Xcos to read LDR values\relax }}{147}{figure.caption.102}% \contentsline {figure}{\numberline {6.7}{\ignorespaces Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}}{149}{figure.caption.104}% -\contentsline {figure}{\numberline {6.8}{\ignorespaces Plot window in Xcos to read LDR values and the state of LED\relax }}{149}{figure.caption.105}% +\contentsline {figure}{\numberline {6.8}{\ignorespaces Plot window in Xcos to read LDR values and the state of LED\relax }}{150}{figure.caption.105}% \addvspace {10\p@ } \contentsline {figure}{\numberline {7.1}{\ignorespaces Potentiometer's schematic on the Shield\relax }}{162}{figure.caption.107}% \contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{162}{subfigure.1.1}% @@ -110,7 +110,7 @@ \contentsline {figure}{\numberline {9.3}{\ignorespaces A servomotor and a potentiometer with Arduino Uno\ using a breadboard\relax }}{212}{figure.caption.130}% \contentsline {figure}{\numberline {9.4}{\ignorespaces Rotating the servomotor by a fixed angle}}{223}{figure.caption.131}% \contentsline {figure}{\numberline {9.5}{\ignorespaces Rotating the servomotor forward and then reverse}}{224}{figure.caption.133}% -\contentsline {figure}{\numberline {9.6}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{225}{figure.caption.135}% +\contentsline {figure}{\numberline {9.6}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{226}{figure.caption.135}% \contentsline {figure}{\numberline {9.7}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{226}{figure.caption.137}% \addvspace {10\p@ } \contentsline {figure}{\numberline {10.1}{\ignorespaces L293D motor driver board\relax }}{246}{figure.caption.139}% @@ -119,7 +119,7 @@ \contentsline {figure}{\numberline {10.4}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{248}{figure.caption.143}% \contentsline {figure}{\numberline {10.5}{\ignorespaces Control of DC motor for a specified time from Xcos}}{258}{figure.caption.147}% \contentsline {figure}{\numberline {10.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{260}{figure.caption.149}% -\contentsline {figure}{\numberline {10.7}{\ignorespaces Xcos control of the DC motor in both directions in a loop}}{261}{figure.caption.151}% +\contentsline {figure}{\numberline {10.7}{\ignorespaces Xcos control of the DC motor in both directions in a loop}}{262}{figure.caption.151}% \addvspace {10\p@ } \contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{282}{figure.caption.159}% \contentsline {figure}{\numberline {11.2}{\ignorespaces Cycle of query-response between master and slave\relax }}{283}{figure.caption.160}% @@ -129,10 +129,10 @@ \contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{292}{figure.caption.171}% \contentsline {figure}{\numberline {11.7}{\ignorespaces Flowchart of the steps happening in the FLOSS code\relax }}{294}{figure.caption.172}% \contentsline {figure}{\numberline {11.8}{\ignorespaces Single phase current output on Scilab Console\relax }}{298}{figure.caption.174}% -\contentsline {figure}{\numberline {11.9}{\ignorespaces Single phase current output in energy meter\relax }}{298}{figure.caption.175}% +\contentsline {figure}{\numberline {11.9}{\ignorespaces Single phase current output in energy meter\relax }}{299}{figure.caption.175}% \contentsline {figure}{\numberline {11.10}{\ignorespaces Single phase voltage output on Scilab Console\relax }}{299}{figure.caption.176}% -\contentsline {figure}{\numberline {11.11}{\ignorespaces Single phase voltage output in energy meter\relax }}{299}{figure.caption.177}% +\contentsline {figure}{\numberline {11.11}{\ignorespaces Single phase voltage output in energy meter\relax }}{300}{figure.caption.177}% \contentsline {figure}{\numberline {11.12}{\ignorespaces Single phase active power output on Scilab Console\relax }}{300}{figure.caption.178}% -\contentsline {figure}{\numberline {11.13}{\ignorespaces Single phase active power output in energy meter\relax }}{300}{figure.caption.179}% +\contentsline {figure}{\numberline {11.13}{\ignorespaces Single phase active power output in energy meter\relax }}{301}{figure.caption.179}% \contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read energy meter values}}{301}{figure.caption.180}% \addvspace {10\p@ } diff --git a/floss-arduino.log b/floss-arduino.log index 389496b..aa5f33a 100644 --- a/floss-arduino.log +++ b/floss-arduino.log @@ -1,4 +1,4 @@ -This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/Debian) (preloaded format=pdflatex 2023.6.1) 19 SEP 2023 12:15 +This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/Debian) (preloaded format=pdflatex 2023.6.1) 17 NOV 2023 10:26 entering extended mode restricted \write18 enabled. %&-line parsing enabled. @@ -606,17 +606,17 @@ Package caption Info: End \AtBeginDocument code. <suppl/fossee_logo_hi.png, id=868, 753.2943pt x 277.9986pt> File: suppl/fossee_logo_hi.png Graphic file (type png) <use suppl/fossee_logo_hi.png> -Package pdftex.def Info: suppl/fossee_logo_hi.png used on input line 13. +Package pdftex.def Info: suppl/fossee_logo_hi.png used on input line 14. (pdftex.def) Requested size: 86.72487pt x 32.00522pt. <suppl/IITB-logo-HighRes.png, id=870, 716.91461pt x 687.03922pt> File: suppl/IITB-logo-HighRes.png Graphic file (type png) <use suppl/IITB-logo-HighRes.png> -Package pdftex.def Info: suppl/IITB-logo-HighRes.png used on input line 14. +Package pdftex.def Info: suppl/IITB-logo-HighRes.png used on input line 15. (pdftex.def) Requested size: 57.81511pt x 55.40456pt. <suppl/by-nc-nd.png, id=871, 97.0827pt x 33.9669pt> File: suppl/by-nc-nd.png Graphic file (type png) <use suppl/by-nc-nd.png> -Package pdftex.def Info: suppl/by-nc-nd.png used on input line 17. +Package pdftex.def Info: suppl/by-nc-nd.png used on input line 18. (pdftex.def) Requested size: 43.36023pt x 15.17041pt. [1 @@ -720,56 +720,38 @@ Overfull \hbox (16.76085pt too wide) in paragraph at lines 57--57 [][] [][]\T1/cmr/m/n/10.95 Downloading and in-stalling on GNU/Linux [] -[5] -Overfull \hbox (2.0837pt too wide) in paragraph at lines 98--98 - [][] [][]\T1/cmr/m/n/10.95 Reading the push-but-ton sta-tus from Open-Mod- +[5] [6] [7] [8] +Overfull \hbox (42.2769pt too wide) detected at line 241 +\T1/cmr/bx/n/10.95 References [] -[6] [7] -Overfull \hbox (5.14914pt too wide) in paragraph at lines 167--167 - [][] [][]\T1/cmr/m/n/10.95 Controlling the ser-vo-mo-tor through the Ar-duino +) +\tf@toc=\write6 +\openout6 = `floss-arduino.toc'. - [] + (./suppl/preface.tex [9] [10 -[8] -Overfull \hbox (4.54208pt too wide) in paragraph at lines 218--218 - [][] [][]\T1/cmr/m/n/10.95 Manifestation of Mod-bus pro-to-col through Scilab[ -] [][] +] +Underfull \hbox (badness 10000) in paragraph at lines 14--16 +[]\T1/cmr/m/n/10.95 Microcontroller pro-gram-ming [] -Overfull \hbox (11.03856pt too wide) in paragraph at lines 225--225 - [][] [][]\T1/cmr/m/n/10.95 Manifestation of Mod-bus pro-to-col through Python[ -] [][] +Underfull \hbox (badness 10000) in paragraph at lines 16--17 +[]\T1/cmr/m/n/10.95 Microcontroller pro-gram-ming [] -Overfull \hbox (10.3445pt too wide) in paragraph at lines 235--235 - [][] [][]\T1/cmr/m/n/10.95 Manifestation of Mod-bus pro-to-col through Open- +Underfull \hbox (badness 10000) in paragraph at lines 17--19 +[]\T1/cmr/m/n/10.95 Microcontroller pro-gram-ming [] -[9] -Overfull \hbox (42.2769pt too wide) detected at line 241 -\T1/cmr/bx/n/10.95 References - [] -) -\tf@toc=\write6 -\openout6 = `floss-arduino.toc'. - - (./suppl/preface.tex [10] -Underfull \hbox (badness 5403) in paragraph at lines 16--17 -[]\T1/cmr/m/n/10.95 Microcontroller pro-gram-ming with Ar-duino and - [] - - -Overfull \hbox (87.43892pt too wide) in paragraph at lines 13--21 - [] +Underfull \hbox (badness 10000) in paragraph at lines 19--20 +[]\T1/cmr/m/n/10.95 Microcontroller pro-gram-ming [] -[11 - -] +[11] LaTeX Font Info: Trying to load font information for T1+fvm on input line 39 . LaTeX Font Info: No file T1fvm.fd. on input line 39. @@ -882,26 +864,21 @@ Overfull \hbox (11.78917pt too wide) in paragraph at lines 1--1 \openout13 = `floss-arduino.OpenModelicad'. (./suppl/acr.tex [30] -Overfull \hbox (66.59381pt too wide) in paragraph at lines 3--32 -[] - [] - - Underfull \vbox (badness 10000) has occurred while \output is active [] [31 ] -Overfull \vbox (6.24634pt too high) has occurred while \output is active [] +Overfull \vbox (19.84633pt too high) has occurred while \output is active [] [32]) -Overfull \hbox (13.77153pt too wide) in paragraph at lines 33--165 +Overfull \hbox (13.77153pt too wide) in paragraph at lines 34--165 [][] [] -Underfull \hbox (badness 10000) in paragraph at lines 33--165 +Underfull \hbox (badness 10000) in paragraph at lines 34--165 [] @@ -935,7 +912,7 @@ ower [5] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/miccontblk. -png, id=1937, 419.6478pt x 413.3844pt> +png, id=1925, 419.6478pt x 413.3844pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/miccon tblk.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/miccont @@ -956,7 +933,7 @@ RT [] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/resolution. -png, id=1952, 207.77625pt x 330.23375pt> +png, id=1940, 207.77625pt x 330.23375pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/resolu tion.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/resolut @@ -971,7 +948,7 @@ Overfull \hbox (0.15323pt too wide) in paragraph at lines 161--162 [] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/OSHW-138px. -png, id=1972, 138.5175pt x 145.54375pt> +png, id=1959, 138.5175pt x 145.54375pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/OSHW-1 38px.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/OSHW-13 @@ -987,7 +964,7 @@ el-op-ment Kit (ADK)\T1/fvm/m/n/10.95 , [] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino.png -, id=2001, 585.18625pt x 221.82875pt> +, id=1989, 585.18625pt x 221.82875pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduin o.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino @@ -996,12 +973,12 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw -env/figures/arduino.png used on input line 254. (pdftex.def) Requested size: 260.17021pt x 98.62715pt. -Overfull \hbox (111.81061pt too wide) in paragraph at lines 261--281 - [] +Underfull \hbox (badness 3396) in paragraph at lines 272--273 +[]\T1/fvm/m/n/10.95 32 KB (AT-mega328), [] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/mega.jpg, i -d=2004, 481.8pt x 316.7835pt> +d=1992, 481.8pt x 316.7835pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/mega.j pg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/mega.jp @@ -1010,7 +987,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw -env/figures/mega.jpg used on input line 293. (pdftex.def) Requested size: 187.90022pt x 123.54022pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/lily.jpg, i -d=2007, 321.2pt x 321.2pt> +d=1995, 321.2pt x 321.2pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/lily.j pg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/lily.jp @@ -1021,7 +998,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw [12] [13 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/ar duino.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino-pho -ne.jpg, id=2021, 230.15924pt x 153.5162pt> +ne.jpg, id=2009, 230.15924pt x 153.5162pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduin o-phone.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino @@ -1029,8 +1006,11 @@ o-phone.jpg Graphic file (type jpg) Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw -env/figures/arduino-phone.jpg used on input line 323. (pdftex.def) Requested size: 130.0851pt x 86.76726pt. + [14 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/mega.j +pg> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/lily.jp +g>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino-3d- -printer.jpg, id=2025, 770.88pt x 364.36125pt> +printer.jpg, id=2018, 770.88pt x 364.36125pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduin o-3d-printer.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino @@ -1038,13 +1018,11 @@ o-3d-printer.jpg Graphic file (type jpg) Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw -env/figures/arduino-3d-printer.jpg used on input line 337. (pdftex.def) Requested size: 130.0851pt x 61.4847pt. - [14 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/mega.j -pg> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/lily.jp -g>] [15 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/ard -uino-phone.jpg> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/fig -ures/arduino-3d-printer.jpg>] + [15 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduin +o-phone.jpg> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figure +s/arduino-3d-printer.jpg>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/pcb_board_V1p2.png, id= -2047, 608.2725pt x 534.99875pt> +2035, 608.2725pt x 534.99875pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/pcb_board_V1p2.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/pcb_board_V1p2.png> @@ -1052,8 +1030,8 @@ File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/pcb_board_V1p2.png Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield /pcb_board_V1p2.png used on input line 370. (pdftex.def) Requested size: 187.90022pt x 165.26013pt. -</home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.png, id=204 -9, 819.06pt x 599.23875pt> +</home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.png, id=203 +7, 819.06pt x 599.23875pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.png Gr aphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.png> @@ -1066,8 +1044,8 @@ Overfull \hbox (14.19746pt too wide) in paragraph at lines 363--385 ld/kicad- [] -</home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.jpg, id=205 -1, 494.59781pt x 376.40625pt> +</home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.jpg, id=203 +9, 494.59781pt x 376.40625pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.jpg Gr aphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.jpg> @@ -1075,7 +1053,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield /shield-V1p2.jpg used on input line 388. (pdftex.def) Requested size: 173.44975pt x 131.99687pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/shield-crop -.jpg, id=2057, 608.2725pt x 443.6575pt> +.jpg, id=2045, 608.2725pt x 443.6575pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/shield -crop.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/shield- @@ -1083,12 +1061,12 @@ crop.jpg> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw -env/figures/shield-crop.jpg used on input line 454. (pdftex.def) Requested size: 289.07999pt x 210.84781pt. - +[16 </home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/pcb_board_V1p2.png> +] Underfull \vbox (badness 10000) has occurred while \output is active [] - [16 </home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/pcb_board_V1p2.png ->] [17 </home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.png> - </home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.jpg>] + [17 </home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.png> < +/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.jpg>] LaTeX Warning: Text page 18 contains only floats. @@ -1096,13 +1074,13 @@ LaTeX Warning: Text page 18 contains only floats. Overfull \vbox (2.30966pt too high) has occurred while \output is active [] -[18] +[18] [19 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/sh +ield-crop.jpg>] Overfull \hbox (0.67674pt too wide) in paragraph at lines 482--482 []\T1/cmr/bx/n/14.4 Doing the Ex-per-i-ments with a Bread- [] -[19 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/shield- -crop.jpg>]) (./user-code/sw-env/sw-env-base.tex [20] +) (./user-code/sw-env/sw-env-base.tex [20] Chapter 3. Underfull \vbox (badness 2142) has occurred while \output is active [] @@ -1116,7 +1094,7 @@ Overfull \hbox (6.34355pt too wide) in paragraph at lines 81--85 [22] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/hw-device-m -anager.jpg, id=2113, 793.96625pt x 579.16376pt> +anager.jpg, id=2101, 793.96625pt x 579.16376pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/hw-dev ice-manager.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/hw-devi @@ -1125,7 +1103,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw -env/figures/hw-device-manager.jpg used on input line 110. (pdftex.def) Requested size: 289.07999pt x 210.87602pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/device-mana -ger-com.png, id=2114, 1175.39125pt x 863.225pt> +ger-com.png, id=2102, 1175.39125pt x 863.225pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/device -manager-com.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/device- @@ -1134,7 +1112,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/device-manager-com.png used on input line 117. (pdftex.def) Requested size: 289.07999pt x 212.30203pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/update-driv -er.png, id=2115, 635.37375pt x 423.5825pt> +er.png, id=2103, 635.37375pt x 423.5825pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/update -driver.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/update- @@ -1165,7 +1143,7 @@ Overfull \hbox (5.44286pt too wide) in paragraph at lines 147--150 [25 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/update- driver.png (PNG copy)>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/launch-ardu -ino-opt.png, id=2144, 751.80875pt x 313.17pt> +ino-opt.png, id=2132, 751.80875pt x 313.17pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/launch -arduino-opt.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/launch- @@ -1176,7 +1154,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw [26 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/launch -arduino-opt.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino-ide -.jpg, id=2156, 856.19875pt x 657.45625pt> +.jpg, id=2144, 856.19875pt x 657.45625pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduin o-ide.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino @@ -1213,19 +1191,14 @@ Overfull \hbox (2.23634pt too wide) in paragraph at lines 48--48 [32] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/linux-cd.pn -g, id=2235, 787.94376pt x 192.72pt> +g, id=2223, 787.94376pt x 192.72pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/linux- cd.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/linux-c d.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/linux-cd.png used on input line 75. -(pdftex.def) Requested size: 393.97092pt x 96.35976pt. - -Overfull \hbox (104.89093pt too wide) in paragraph at lines 75--76 - [][] - [] - +(pdftex.def) Requested size: 260.17021pt x 63.63307pt. Overfull \hbox (17.43907pt too wide) in paragraph at lines 66--79 []\T1/fvm/m/n/10.95 To launch Scilab, open a ter-mi-nal by press-ing the Alt+Ct @@ -1235,14 +1208,14 @@ rl+T [33 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/linux-c d.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/browse-dire -ctory.png, id=2247, 450.18187pt x 327.47343pt> +ctory.png, id=2235, 450.18187pt x 327.47343pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/browse -directory.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/browse- directory.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/browse-directory.png used on input line 120. -(pdftex.def) Requested size: 260.17021pt x 189.26015pt. +(pdftex.def) Requested size: 289.07999pt x 210.29184pt. Overfull \hbox (5.98477pt too wide) in paragraph at lines 114--124 \T1/fvm/m/n/10.95 tool-s/s-cil-ab/win-dows or Orig-in/-tool-s/s-cil-ab/linux, a @@ -1250,7 +1223,7 @@ s the [] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/builder.png -, id=2250, 600.74437pt x 421.575pt> +, id=2238, 600.74437pt x 421.575pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/builde r.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/builder @@ -1258,30 +1231,25 @@ r.png Graphic file (type png) Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/builder.png used on input line 136. (pdftex.def) Requested size: 289.07999pt x 202.8683pt. -[34] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/loader.png, - id=2262, 600.74437pt x 421.575pt> + id=2241, 600.74437pt x 421.575pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/loader .png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/loader. png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/loader.png used on input line 152. -(pdftex.def) Requested size: 300.37144pt x 210.78697pt. - -Overfull \hbox (11.29146pt too wide) in paragraph at lines 152--153 - [][] - [] - +(pdftex.def) Requested size: 289.07999pt x 202.8683pt. +[34] -Underfull \vbox (badness 1540) has occurred while \output is active [] +LaTeX Warning: Text page 35 contains only floats. - [35 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/browse --directory.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/fig -ures/builder.png>] [36 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw- -env/figures/loader.png>] +[35 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/browse- +directory.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figu +res/builder.png>] [36 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-e +nv/figures/loader.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/device-mana -ger.png, id=2274, 602.25pt x 451.6875pt> +ger.png, id=2262, 602.25pt x 451.6875pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/device -manager.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/device- @@ -1292,35 +1260,25 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw [37 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/device -manager.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/com-propert -ies.png, id=2282, 602.25pt x 451.6875pt> +ies.png, id=2270, 602.25pt x 451.6875pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/com-pr operties.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/com-pro perties.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/com-properties.png used on input line 201. -(pdftex.def) Requested size: 301.12425pt x 225.84319pt. - -Overfull \hbox (12.04427pt too wide) in paragraph at lines 201--202 - [][] - [] - -[38 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/com-pro -perties.png>] +(pdftex.def) Requested size: 289.07999pt x 216.81442pt. + [38 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/com-pr +operties.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/linux-port. -png, id=2289, 634.37pt x 246.9225pt> +png, id=2277, 634.37pt x 246.9225pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/linux- port.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/linux-p ort.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/linux-port.png used on input line 225. -(pdftex.def) Requested size: 317.18422pt x 123.46094pt. - -Overfull \hbox (28.10423pt too wide) in paragraph at lines 225--226 - [][] - [] - +(pdftex.def) Requested size: 260.17021pt x 101.26901pt. Overfull \hbox (16.39833pt too wide) in paragraph at lines 236--237 []\T1/fvm/m/n/10.95 Read into the Ar-duino IDE, the firmware Ar-duino Code []3. @@ -1333,22 +1291,16 @@ ort.png>] consecutive: ) </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/test-consol -e.png, id=2305, 600.74437pt x 421.575pt> +e.png, id=2292, 600.74437pt x 421.575pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/test-c onsole.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/test-co nsole.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/test-console.png used on input line 276. -(pdftex.def) Requested size: 300.37144pt x 210.78697pt. - -Overfull \hbox (11.29146pt too wide) in paragraph at lines 276--277 - [][] - [] - -[40] +(pdftex.def) Requested size: 289.07999pt x 202.8683pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/table_funct -ions_crop.pdf, id=2320, 1055.945pt x 543.02875pt> +ions_crop.pdf, id=2295, 1055.945pt x 543.02875pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/table_ functions_crop.pdf Graphic file (type pdf) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/table_f @@ -1356,8 +1308,8 @@ unctions_crop.pdf> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/table_functions_crop.pdf used on input line 301. (pdftex.def) Requested size: 289.07999pt x 148.65805pt. - -Underfull \vbox (badness 5741) has occurred while \output is active [] + [40] +Underfull \vbox (badness 10000) has occurred while \output is active [] [41 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/test-c onsole.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures @@ -1372,7 +1324,7 @@ Overfull \hbox (6.28635pt too wide) in paragraph at lines 315--321 (/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/scilab/test_firmware.sce) [42] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-blk.pn -g, id=2349, 376.40625pt x 376.40625pt> +g, id=2337, 376.40625pt x 376.40625pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-b lk.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-bl @@ -1383,7 +1335,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw [43 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-b lk.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/plot-blk.pn -g, id=2356, 310.15875pt x 109.1578pt> +g, id=2344, 310.15875pt x 109.1578pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/plot-b lk.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/plot-bl @@ -1392,7 +1344,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/plot-blk.png used on input line 403. (pdftex.def) Requested size: 260.17021pt x 91.56366pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/clock-blk.p -ng, id=2358, 307.90031pt x 108.405pt> +ng, id=2346, 307.90031pt x 108.405pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/clock- blk.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/clock-b @@ -1403,7 +1355,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw [44 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/plot-b lk.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-gen.pn -g, id=2364, 207.77625pt x 253.69781pt> +g, id=2352, 207.77625pt x 253.69781pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-g en.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-ge @@ -1412,7 +1364,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/sine-gen.png used on input line 438. (pdftex.def) Requested size: 130.0851pt x 158.84332pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-output -.png, id=2366, 383.18156pt x 184.43906pt> +.png, id=2354, 383.18156pt x 184.43906pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-o utput.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-ou @@ -1424,7 +1376,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw blk.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/si ne-gen.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/cscope-conf -ig.png, id=2373, 310.15875pt x 289.08pt> +ig.png, id=2361, 310.15875pt x 289.08pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/cscope -config.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/cscope- @@ -1436,7 +1388,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw utput.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/ cscope-config.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sim-setup.p -ng, id=2379, 333.49594pt x 225.84375pt> +ng, id=2367, 333.49594pt x 225.84375pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sim-se tup.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sim-set @@ -1453,7 +1405,7 @@ cks. [47 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sim-set up.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/arduino-pal -ette.png, id=2386, 292.84406pt x 107.65219pt> +ette.png, id=2374, 292.84406pt x 107.65219pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/arduin o-palette.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/arduino @@ -1462,7 +1414,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/arduino-palette.png used on input line 511. (pdftex.def) Requested size: 187.90022pt x 69.0762pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/xcos-help.p -ng, id=2387, 617.30624pt x 466.74374pt> +ng, id=2375, 617.30624pt x 466.74374pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/xcos-h elp.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/xcos-he @@ -1474,7 +1426,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw no-Book/user-code/sw-env/figures/arduino-palette.png> </home/sudhakak/Desktop/F LOSS-Arduino-Book/user-code/sw-env/figures/xcos-help.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/python-wind -ows-install.JPG, id=2394, 514.17094pt x 316.93407pt> +ows-install.JPG, id=2382, 514.17094pt x 316.93407pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/python -windows-install.JPG Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/python- @@ -1483,7 +1435,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/python-windows-install.JPG used on input line 36. (pdftex.def) Requested size: 187.90022pt x 115.82263pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/windows-cmd -.png, id=2397, 572.1375pt x 338.26375pt> +.png, id=2385, 572.1375pt x 338.26375pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/window s-cmd.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/windows @@ -1493,14 +1445,14 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw (pdftex.def) Requested size: 187.90022pt x 111.09058pt. [49] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/win-command --prompt.png, id=2405, 1353.055pt x 289.08pt> +-prompt.png, id=2393, 1353.055pt x 289.08pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/win-co mmand-prompt.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/win-com mand-prompt.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/win-command-prompt.png used on input line 65. -(pdftex.def) Requested size: 187.90022pt x 40.1445pt. +(pdftex.def) Requested size: 260.17021pt x 55.58301pt. [50 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/python- windows-install.JPG> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-en @@ -1540,7 +1492,7 @@ Underfull \vbox (badness 10000) has occurred while \output is active [] [55] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-downl -oad.png, id=2506, 670.00313pt x 277.035pt> +oad.png, id=2494, 670.00313pt x 277.035pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia- download.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-d @@ -1554,7 +1506,7 @@ Underfull \hbox (badness 1742) in paragraph at lines 37--37 [] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-windo -ws-install.png, id=2507, 756.8275pt x 632.3625pt> +ws-install.png, id=2495, 756.8275pt x 632.3625pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia- windows-install.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-w @@ -1575,7 +1527,7 @@ mmand-prompt.png Graphic file (type png) mand-prompt.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/win-command-prompt.png used on input line 57. -(pdftex.def) Requested size: 187.90022pt x 40.1445pt. +(pdftex.def) Requested size: 260.17021pt x 55.58301pt. [56] [57 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/ju lia-download.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/f igures/julia-windows-install.png>] @@ -1585,7 +1537,7 @@ Overfull \hbox (7.13272pt too wide) in paragraph at lines 79--85 [58] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-repl- -windows.png, id=2538, 1354.05875pt x 768.8725pt> +windows.png, id=2525, 1354.05875pt x 768.8725pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia- repl-windows.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-r @@ -1594,7 +1546,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/julia-repl-windows.png used on input line 104. (pdftex.def) Requested size: 289.07999pt x 164.14288pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-pkg-w -indows.png, id=2540, 1353.055pt x 768.8725pt> +indows.png, id=2527, 1353.055pt x 768.8725pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia- pkg-windows.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-p @@ -1627,7 +1579,7 @@ Overfull \hbox (7.13272pt too wide) in paragraph at lines 175--181 [62] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-termi -nal-repl.png, id=2577, 949.5475pt x 655.44875pt> +nal-repl.png, id=2565, 949.5475pt x 655.44875pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia- terminal-repl.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-t @@ -1643,7 +1595,7 @@ Overfull \hbox (1.0089pt too wide) in paragraph at lines 198--206 [63 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-t erminal-repl.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-pkg.p -ng, id=2589, 949.5475pt x 655.44875pt> +ng, id=2577, 949.5475pt x 655.44875pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia- pkg.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-p @@ -1659,7 +1611,7 @@ put line 264. (/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/julia/test_firmware.jl)) (./user-code/sw-env/sw-env-OM.tex [66] [67] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/openmodelic -a-run-anyway.png, id=2639, 812.03375pt x 749.80125pt> +a-run-anyway.png, id=2626, 812.03375pt x 749.80125pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/openmo delica-run-anyway.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/openmod @@ -1673,38 +1625,24 @@ Overfull \hbox (2.23634pt too wide) in paragraph at lines 54--54 [] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/OMEdit-libr -aries.png, id=2643, 664.4825pt x 546.04pt> +aries.png, id=2630, 664.4825pt x 546.04pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/OMEdit -libraries.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/OMEdit- libraries.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/OMEdit-libraries.png used on input line 65. -(pdftex.def) Requested size: 365.46649pt x 300.32292pt. +(pdftex.def) Requested size: 260.17021pt x 213.79626pt. -Overfull \hbox (76.3865pt too wide) in paragraph at lines 65--66 - [][] - [] - - -Overfull \hbox (84.09967pt too wide) in paragraph at lines 55--70 -\T1/fvm/m/n/10.95 The read-ers are ad-vised to visit https://openmodelica.org/d -ownload/download- +Overfull \hbox (3.21501pt too wide) in paragraph at lines 55--70 +\T1/fvm/m/n/10.95 visit https://openmodelica.org/download/download-linux and [] [68 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/openmod -elica-run-anyway.png>] -Underfull \vbox (badness 10000) has occurred while \output is active [] - - [69 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/OMEdit --libraries.png>] -Overfull \hbox (50.99083pt too wide) in paragraph at lines 79--81 -\T1/fvm/m/n/10.95 and the list of the lat-est news from https://www.openmodelic -a.org. - [] - +elica-run-anyway.png>] [69 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code +/sw-env/figures/OMEdit-libraries.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/OMEdit-UI.p -ng, id=2662, 996.1215pt x 597.9138pt> +ng, id=2650, 996.1215pt x 597.9138pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/OMEdit -UI.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/OMEdit- @@ -1712,9 +1650,8 @@ UI.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/OMEdit-UI.png used on input line 97. (pdftex.def) Requested size: 289.07999pt x 173.51828pt. -[70] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-open-mod -el.png, id=2672, 1087.06125pt x 792.9625pt> +el.png, id=2652, 1087.06125pt x 792.9625pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-ope n-model.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-open @@ -1723,7 +1660,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/om-open-model.png used on input line 111. (pdftex.def) Requested size: 289.07999pt x 210.87213pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-Modeling -.png, id=2673, 1368.11125pt x 791.95876pt> +.png, id=2653, 1368.11125pt x 791.95876pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-Mod eling.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-Mode @@ -1732,7 +1669,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/om-Modeling.png used on input line 118. (pdftex.def) Requested size: 289.07999pt x 167.33133pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-modeling --views.png, id=2674, 673.01437pt x 373.395pt> +-views.png, id=2654, 673.01437pt x 373.395pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-mod eling-views.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-mode @@ -1741,7 +1678,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/om-modeling-views.png used on input line 126. (pdftex.def) Requested size: 289.07999pt x 160.38579pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-text-vie -w.png, id=2675, 1370.11874pt x 796.9775pt> +w.png, id=2655, 1370.11874pt x 796.9775pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-tex t-view.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-text @@ -1755,15 +1692,13 @@ Overfull \hbox (11.82188pt too wide) in paragraph at lines 139--150 . []3.37[]. [] -[71 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/OMEdit- -UI.png>] -Underfull \vbox (badness 1694) has occurred while \output is active [] - - [72 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-ope -n-model.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figure -s/om-modeling.png>] +[70] [71 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/OM +Edit-UI.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figure +s/om-open-model.png>] [72 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ +sw-env/figures/om-modeling.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user +-code/sw-env/figures/om-modeling-views.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-simulate -.png, id=2694, 673.01437pt x 373.395pt> +.png, id=2683, 673.01437pt x 373.395pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-sim ulate.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-simu @@ -1771,11 +1706,8 @@ late.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/om-simulate.png used on input line 163. (pdftex.def) Requested size: 289.07999pt x 160.38579pt. - [73 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-mod -eling-views.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/fi -gures/om-text-view.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-sim-succ -ess.png, id=2701, 647.41875pt x 516.93124pt> +ess.png, id=2684, 647.41875pt x 516.93124pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-sim -success.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-sim- @@ -1784,7 +1716,11 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/om-sim-success.png used on input line 170. (pdftex.def) Requested size: 289.07999pt x 230.8185pt. -Underfull \vbox (badness 1028) has occurred while \output is active [] +Underfull \vbox (badness 2158) has occurred while \output is active [] + + [73 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-tex +t-view.png>] +Underfull \vbox (badness 2012) has occurred while \output is active [] [74 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-sim ulate.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/ @@ -1794,36 +1730,13 @@ Overfull \hbox (1.36676pt too wide) in paragraph at lines 195--199 [] -Overfull \hbox (8.50925pt too wide) in paragraph at lines 199--201 -[]\T1/fvm/m/n/10.95 Navigate to Orig-in/-tool-s/open-mod-el-i-ca/win-dows or Or -ig- - [] - - -Overfull \hbox (14.70244pt too wide) in paragraph at lines 199--201 -\T1/fvm/m/n/10.95 openmodelica/linux, as the case maybe. Se-lect Ar-duino.mo - [] - - -Overfull \hbox (28.4157pt too wide) in paragraph at lines 201--209 -\T1/fvm/m/n/10.95 look for three new li-braries: Ar-duino, Mod-el-ica_Synchrono -us, - [] - - -Overfull \hbox (19.02776pt too wide) in paragraph at lines 201--209 -\T1/fvm/m/n/10.95 Mod-el-ica_DeviceDrivers, and one model test_firmware.mo. - [] - - -Overfull \hbox (29.09576pt too wide) in paragraph at lines 201--209 -\T1/fvm/m/n/10.95 If you are able to view these files, it means that OpenModeli -ca- +Overfull \hbox (3.55258pt too wide) in paragraph at lines 199--201 +\T1/fvm/m/n/10.95 Se-lect both Ar-duino.mo and test_firmware.mo, and click [] [75] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-toolbox- -loaded.png, id=2725, 325.215pt x 735.74875pt> +loaded.png, id=2714, 325.215pt x 735.74875pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-too lbox-loaded.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-tool @@ -1850,16 +1763,16 @@ Overfull \hbox (20.54045pt too wide) in paragraph at lines 245--252 Sec. []3.6.3[]. [] -[76] + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/openmodelica/windows//test_fir -mware.mo [77 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figure -s/om-toolbox-loaded.png>])) (./user-code/led/led-base.tex [78] +mware.mo [76] [77 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/f +igures/om-toolbox-loaded.png>])) (./user-code/led/led-base.tex [78] Chapter 4. [79 ] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led.png, id=27 -75, 149.8097pt x 84.315pt> +64, 149.8097pt x 84.315pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led.png G raphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led.png> @@ -1867,7 +1780,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/le d/figures/led.png used on input line 52. (pdftex.def) Requested size: 57.81511pt x 32.5392pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/schematic.png, - id=2777, 415.5525pt x 456.70625pt> + id=2766, 415.5525pt x 456.70625pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/schematic .png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/schematic. @@ -1876,7 +1789,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/le d/figures/schematic.png used on input line 65. (pdftex.def) Requested size: 130.0851pt x 142.96425pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/arduino-new-sh -ield.jpeg, id=2778, 305.7021pt x 172.0026pt> +ield.jpeg, id=2767, 305.7021pt x 172.0026pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/arduino-n ew-shield.jpeg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/arduino-ne @@ -1887,8 +1800,12 @@ d/figures/arduino-new-shield.jpeg used on input line 79. [80 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/schematic.png> ] +Overfull \hbox (7.41284pt too wide) in paragraph at lines 90--90 +[]\T1/cmr/bx/n/14.4 Connecting an RGB LED us-ing bread- + [] + </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/rgb-led-bb.png -, id=2787, 451.286pt x 236.082pt> +, id=2776, 451.286pt x 236.082pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/rgb-led-b b.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/rgb-led-bb @@ -1896,12 +1813,6 @@ b.png Graphic file (type png) Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/le d/figures/rgb-led-bb.png used on input line 108. (pdftex.def) Requested size: 260.17021pt x 136.1027pt. - -Overfull \hbox (88.92053pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 4.2. Connecting an RGB LED with Arduino Uno using a breadboa -rd \T1/fvm/m/n/10.95 81 - [] - [81 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/arduino-ne w-shield.jpeg>] [82 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/fi gures/rgb-led-bb.png>] @@ -1922,7 +1833,7 @@ consecutive: consecutive: ) [83] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led_output.png -, id=2825, 3035.34pt x 1947.275pt> +, id=2814, 3035.34pt x 1947.275pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led_outpu t.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led_output @@ -1945,8 +1856,8 @@ Overfull \hbox (2.71124pt too wide) in paragraph at lines 230--233 (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led-blue/led-b -lue.ino [85 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/le -d_output.png>]) +lue.ino) [85 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/l +ed_output.png>] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led-blue-delay /led-blue-delay.ino) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led-blue-red/l @@ -1988,7 +1899,7 @@ e) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led-green-blink .sce [90]) </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue-com-2 -.png, id=2987, 766.865pt x 696.6025pt> +.png, id=2976, 766.865pt x 696.6025pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue- com-2.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue-c @@ -1997,12 +1908,42 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/le d/figures/led-blue-com-2.png used on input line 136. (pdftex.def) Requested size: 130.0851pt x 118.16576pt. -Overfull \hbox (113.18344pt too wide) in paragraph at lines 152--161 +Underfull \hbox (badness 10000) in paragraph at lines 153--153 +[]\T1/fvm/m/n/10.95 Parameter + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 154--154 +[]\T1/fvm/m/n/10.95 Identifier of + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 155--155 +[]\T1/fvm/m/n/10.95 2\T1/cmr/m/n/10 , see Foot- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 155--155 +\T1/cmr/m/n/10 note []4[][] on + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 157--157 +[]\T1/fvm/m/n/10.95 Sampling pe- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 159--159 +[]\T1/fvm/m/n/10.95 Arduino card + [] + + +Overfull \hbox (4.89998pt too wide) in paragraph at lines 152--161 [][] [] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue-delay --com-2.png, id=2993, 848.16875pt x 694.595pt> +-com-2.png, id=2982, 848.16875pt x 694.595pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue- delay-com-2.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue-d @@ -2011,19 +1952,39 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/le d/figures/led-blue-delay-com-2.png used on input line 171. (pdftex.def) Requested size: 130.0851pt x 106.52705pt. -Overfull \hbox (113.18344pt too wide) in paragraph at lines 186--198 - [][] +Underfull \hbox (badness 10000) in paragraph at lines 187--187 +[]\T1/fvm/m/n/10.95 Parameter [] -[91] -LaTeX Warning: Text page 92 contains only floats. +Underfull \hbox (badness 10000) in paragraph at lines 188--188 +[]\T1/fvm/m/n/10.95 Identifier of + [] + -[92 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue-c -om-2.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led- -blue-delay-com-2.png>] +Underfull \hbox (badness 3029) in paragraph at lines 189--189 +[]\T1/fvm/m/n/10.95 2\T1/cmr/m/n/10 , see Foot- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 189--189 +\T1/cmr/m/n/10 note []4[][] on + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 191--191 +[]\T1/fvm/m/n/10.95 Sampling pe- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 193--193 +[]\T1/fvm/m/n/10.95 Arduino card + [] + +[91] [92 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-b +lue-com-2.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue-red-c -om-2.png, id=3022, 829.0975pt x 805.0075pt> +om-2.png, id=3012, 829.0975pt x 805.0075pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue- red-com-2.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue-r @@ -2032,12 +1993,42 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/le d/figures/led-blue-red-com-2.png used on input line 209. (pdftex.def) Requested size: 130.0851pt x 126.29802pt. -Overfull \hbox (122.25792pt too wide) in paragraph at lines 225--242 - [][] +Underfull \hbox (badness 10000) in paragraph at lines 226--226 +[]\T1/fvm/m/n/10.95 Parameter + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 227--227 +[]\T1/fvm/m/n/10.95 Identifier of + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 228--228 +\T1/cmr/m/n/10 note []4[][] on [] + +Underfull \hbox (badness 10000) in paragraph at lines 230--230 +[]\T1/fvm/m/n/10.95 Sampling pe- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 232--232 +[]\T1/fvm/m/n/10.95 Arduino card + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 237--237 +[]\T1/fvm/m/n/10.95 Arduino card + [] + + +Underfull \vbox (badness 1946) has occurred while \output is active [] + + [93 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue- +delay-com-2.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-green-blin -k-com-2.png, id=3028, 869.2475pt x 678.535pt> +k-com-2.png, id=3025, 869.2475pt x 678.535pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-green -blink-com-2.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-green- @@ -2046,21 +2037,54 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/le d/figures/led-green-blink-com-2.png used on input line 252. (pdftex.def) Requested size: 130.0851pt x 101.53772pt. -Overfull \hbox (113.18344pt too wide) in paragraph at lines 267--280 - [][] +Underfull \hbox (badness 10000) in paragraph at lines 268--268 +[]\T1/fvm/m/n/10.95 Parameter + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 269--269 +[]\T1/fvm/m/n/10.95 Identifier of + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 270--270 +[]\T1/fvm/m/n/10.95 2\T1/cmr/m/n/10 , see Foot- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 270--270 +\T1/cmr/m/n/10 note []4[][] on + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 272--272 +[]\T1/fvm/m/n/10.95 Sampling pe- [] -[93] [94 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-b -lue-red-com-2.png>]) (./user-code/led/led-python.tex -Underfull \vbox (badness 10000) has occurred while \output is active [] - [95 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-green --blink-com-2.png>] +Underfull \hbox (badness 10000) in paragraph at lines 274--274 +[]\T1/fvm/m/n/10.95 Arduino card + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 277--277 +[]\T1/fvm/m/n/10.95 Phase de- + [] + + +Overfull \hbox (4.89998pt too wide) in paragraph at lines 267--280 + [][] + [] + +[94 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue-r +ed-com-2.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/ +led-green-blink-com-2.png>]) (./user-code/led/led-python.tex [95] Overfull \hbox (2.53152pt too wide) in paragraph at lines 12--15 \T1/fvm/m/n/10.95 the Shield. The code for this is given in Python Code []4.1[] . [] +[96] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue.py) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue.py consecutive: @@ -2071,11 +2095,11 @@ Overfull \hbox (0.12535pt too wide) in paragraph at lines 23--25 (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue.py consecutive: -) [96] -(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue.py -consecutive: ) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue.py consecutive: +) [97] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue.py +consecutive: ) Overfull \hbox (4.54054pt too wide) in paragraph at lines 73--75 \T1/fvm/m/n/10.95 LED_ON have been ini-tial-ized, we cre-ate a main method @@ -2094,7 +2118,7 @@ Overfull \hbox (5.90219pt too wide) in paragraph at lines 84--87 \T1/fvm/m/n/10.95 does. It does two more things than what Python Code []4.1[] [] -[97] + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue-delay. py consecutive: @@ -2108,18 +2132,17 @@ Overfull \hbox (33.52487pt too wide) in paragraph at lines 92--96 de []4.3[] [] +[98] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue.py -[98]) +[99]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue-delay. -py [99]) +py [100]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue-red.py -[100]) +[101]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-green-blink -.py [101])) (./user-code/led/led-julia.tex -Underfull \vbox (badness 10000) has occurred while \output is active [] - - [102] +.py [102])) (./user-code/led/led-julia.tex (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led-blue.jl) +[103] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led-blue.jl consecutive: ) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led-blue.jl @@ -2132,7 +2155,7 @@ Overfull \hbox (21.7341pt too wide) in paragraph at lines 31--35 e []4.2[] [] -[103] + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led-blue-delay.j l consecutive: @@ -2146,17 +2169,18 @@ Overfull \hbox (21.7341pt too wide) in paragraph at lines 40--45 e []4.3[] [] +[104] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led-blue.jl) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led-blue-delay.j -l [104]) -(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led-blue-red.jl) - +l) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led-blue-red.jl +[105]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led-green-blink. -jl)) (./user-code/led/led-OM.tex [105] +jl)) (./user-code/led/led-OM.tex (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue. mo consecutive: -) +[106]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue. mo consecutive: @@ -2164,7 +2188,7 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue. mo consecutive: -) [106] +) [107] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue. mo consecutive: @@ -2172,7 +2196,7 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue- delay.mo consecutive: -) [107] +) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue- delay.mo consecutive: @@ -2182,9 +2206,9 @@ Overfull \hbox (2.36667pt too wide) in paragraph at lines 77--83 ica- [] - +[108] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue. -mo [108]) +mo) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue- delay.mo [109]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue- @@ -2196,7 +2220,7 @@ Chapter 5. ] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/pushbutton-co -nn.png, id=3570, 415.5525pt x 438.63875pt> +nn.png, id=3562, 415.5525pt x 438.63875pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/pushbutt on-conn.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/pushbutto @@ -2205,7 +2229,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pu sh/figures/pushbutton-conn.png used on input line 63. (pdftex.def) Requested size: 130.0851pt x 137.30852pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/switch.png, i -d=3571, 453.695pt x 239.294pt> +d=3563, 453.695pt x 239.294pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/switch.p ng Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/switch.pn @@ -2214,13 +2238,18 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pu sh/figures/switch.png used on input line 72. (pdftex.def) Requested size: 289.07999pt x 152.47214pt. +Overfull \hbox (6.85889pt too wide) in paragraph at lines 78--78 +[]\T1/cmr/bx/n/14.4 Connecting a push-but-ton us-ing bread- + [] + + Underfull \vbox (badness 10000) has occurred while \output is active [] [114 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/pushbut ton-conn.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures /switch.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/switch-led-da -rk-color-wires.jpg, id=3580, 477.785pt x 278.641pt> +rk-color-wires.jpg, id=3573, 477.785pt x 278.641pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/switch-l ed-dark-color-wires.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/switch-le @@ -2228,14 +2257,8 @@ d-dark-color-wires.jpg> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pu sh/figures/switch-led-dark-color-wires.jpg used on input line 106. (pdftex.def) Requested size: 289.07999pt x 168.58894pt. - -Overfull \hbox (93.88005pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 5.2. Connecting a pushbutton with Arduino Uno using a breadb -oard \T1/fvm/m/n/10.95 115 - [] - -[115] [116 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/sw -itch-led-dark-color-wires.jpg>] + [115] [116 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/s +witch-led-dark-color-wires.jpg>] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/arduino/push-button-s tatus/push-button-status.ino consecutive: @@ -2258,17 +2281,16 @@ Overfull \hbox (7.91985pt too wide) in paragraph at lines 149--155 (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/arduino/led-push-butt on/led-push-button.ino consecutive: -) -Overfull \hbox (39.25587pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 5.3. Reading the pushbutton status from the Arduino IDE \T1/ -fvm/m/n/10.95 117 - [] - -[117] +) [117] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/arduino/push-button-s tatus/push-button-status.ino) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/arduino/led-push-butt on/led-push-button.ino [118])) (./user-code/push/push-scilab.tex +Overfull \hbox (14.5065pt too wide) in paragraph at lines 1--1 +[]\T1/cmr/bx/n/14.4 Reading push-but-ton Sta-tus from Scilab + [] + + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/push-button-st atus.sce consecutive: @@ -2278,7 +2300,7 @@ atus.sce consecutive: ) </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/sci-ard-meter -.png, id=3667, 428.60126pt x 442.65375pt> +.png, id=3660, 428.60126pt x 442.65375pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/sci-ard- meter.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/sci-ard-m @@ -2290,14 +2312,14 @@ sh/figures/sci-ard-meter.png used on input line 31. (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/led-push-butto n.sce consecutive: -[120 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/sci-ard- -meter.png>]) +) [120 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/sci-ar +d-meter.png>] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/push-button-st atus.sce) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/led-push-butto -n.sce [121]) +n.sce) [121] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/push-button-s -tatus.PNG, id=3707, 264.99pt x 268.00125pt> +tatus.PNG, id=3703, 264.99pt x 268.00125pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/push-but ton-status.PNG Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/push-butt @@ -2306,13 +2328,43 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pu sh/figures/push-button-status.PNG used on input line 95. (pdftex.def) Requested size: 130.0851pt x 131.56302pt. -Overfull \hbox (115.373pt too wide) in paragraph at lines 113--123 - [][] +Underfull \hbox (badness 10000) in paragraph at lines 114--114 +[]\T1/fvm/m/n/10.95 Parameter + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 115--115 +[]\T1/fvm/m/n/10.95 Identifier of + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 116--116 +[]\T1/fvm/m/n/10.95 2\T1/cmr/m/n/10 , see Foot- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 116--116 +\T1/cmr/m/n/10 note []4[][] on + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 118--118 +[]\T1/fvm/m/n/10.95 Sampling pe- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 120--120 +[]\T1/fvm/m/n/10.95 Arduino card + [] + + +Underfull \hbox (badness 2073) in paragraph at lines 121--121 +[]\T1/fvm/m/n/10.95 Block in-her-its [] [122] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/led-push-butt -on.PNG, id=3724, 298.86656pt x 264.99pt> +on.PNG, id=3717, 298.86656pt x 264.99pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/led-push -button.PNG Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/led-push- @@ -2321,19 +2373,52 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pu sh/figures/led-push-button.PNG used on input line 138. (pdftex.def) Requested size: 130.0851pt x 115.33846pt. -Overfull \hbox (113.18344pt too wide) in paragraph at lines 155--166 - [][] +Underfull \vbox (badness 3364) has occurred while \output is active [] + + [123 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/push-bu +tton-status.PNG>] +Underfull \hbox (badness 10000) in paragraph at lines 156--156 +[]\T1/fvm/m/n/10.95 Parameter + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 157--157 +[]\T1/fvm/m/n/10.95 Identifier of + [] + + +Underfull \hbox (badness 3029) in paragraph at lines 158--158 +[]\T1/fvm/m/n/10.95 2\T1/cmr/m/n/10 , see Foot- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 158--158 +\T1/cmr/m/n/10 note []4[][] on + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 160--160 +[]\T1/fvm/m/n/10.95 Sampling pe- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 162--162 +[]\T1/fvm/m/n/10.95 Arduino card [] -[123 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/push-but -ton-status.PNG>] [124 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push -/figures/led-push-button.PNG>]) (./user-code/push/push-python.tex +) (./user-code/push/push-python.tex +Overfull \hbox (21.45174pt too wide) in paragraph at lines 2--2 +[]\T1/cmr/bx/n/14.4 Reading push-but-ton sta-tus from Python + [] + +[124 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/led-push +-button.PNG>] Overfull \hbox (25.87888pt too wide) in paragraph at lines 13--19 \T1/fvm/m/n/10.95 tus. The code for this ex-per-i-ment is given in Python Code []5.1[]. [] - +[125] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/push-button-st atus.py consecutive: @@ -2341,13 +2426,13 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/push-button-st atus.py consecutive: -[125]) +) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/led-push-butto n.py consecutive: ) [126] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/push-button-st -atus.py) [127] +atus.py [127]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/led-push-butto n.py [128])) (./user-code/push/push-julia.tex (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/push-button-sta @@ -2357,18 +2442,23 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/push-button-sta tus.jl consecutive: -) [129] +[129]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/led-push-button .jl consecutive: -) +) [130] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/push-button-sta -tus.jl [130]) +tus.jl) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/led-push-button .jl)) (./user-code/push/push-OM.tex -Overfull \hbox (27.63113pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 5.8. Reading the pushbutton status from OpenModelica \T1/fvm -/m/n/10.95 131 +Overfull \hbox (13.01154pt too wide) in paragraph at lines 1--1 +[]\T1/cmr/bx/n/14.4 Reading push-but-ton sta-tus from Open- + [] + + +Overfull \hbox (7.31668pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 5.8. Reading pushbutton status from OpenModelica \T1/fvm/m/n +/10.95 131 [] [131] @@ -2390,25 +2480,19 @@ ica- [] -Overfull \hbox (78.54819pt too wide) in paragraph at lines 62--66 -\T1/fvm/m/n/10.95 duino -> Se-ri-al-Com-mu-ni-ca-tion -> Ex-am-ples -> push -> -push_button_status. - [] - - (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/OpenModelica/push-but ton-status.mo -Overfull \hbox (27.63113pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 5.8. Reading the pushbutton status from OpenModelica \T1/fvm -/m/n/10.95 133 +Overfull \hbox (7.31668pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 5.8. Reading pushbutton status from OpenModelica \T1/fvm/m/n +/10.95 133 [] [133]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/OpenModelica/led-push -button.mo [134])) (./user-code/ldr/ldr-base.tex -Overfull \hbox (27.63113pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 5.8. Reading the pushbutton status from OpenModelica \T1/fvm -/m/n/10.95 135 +Overfull \hbox (7.31668pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 5.8. Reading pushbutton status from OpenModelica \T1/fvm/m/n +/10.95 135 [] [135] [136 @@ -2417,7 +2501,7 @@ Overfull \hbox (27.63113pt too wide) has occurred while \output is active Chapter 6. [137] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr.jpg, id=40 -62, 106.89937pt x 94.85437pt> +57, 106.89937pt x 94.85437pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr.jpg G raphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr.jpg> @@ -2425,7 +2509,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ld r/figures/ldr.jpg used on input line 62. (pdftex.def) Requested size: 130.0851pt x 115.43556pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr_sym.png, i -d=4063, 1009.52156pt x 741.52031pt> +d=4058, 1009.52156pt x 741.52031pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr_sym.p ng Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr_sym.pn @@ -2434,7 +2518,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ld r/figures/ldr_sym.png used on input line 65. (pdftex.def) Requested size: 130.0851pt x 95.5411pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-conn.png, -id=4064, 415.5525pt x 450.68375pt> +id=4059, 415.5525pt x 450.68375pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-conn. png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-conn.p @@ -2446,27 +2530,21 @@ r/figures/ldr-conn.png used on input line 71. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr_sym.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-conn.png>] -Overfull \hbox (9.95044pt too wide) in paragraph at lines 87--87 -[]\T1/cmr/bx/n/14.4 Connecting an LDR with Ar-duino Uno +Overfull \hbox (5.26228pt too wide) in paragraph at lines 87--87 +[]\T1/cmr/bx/n/14.4 Connecting an LDR us-ing bread-board [] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/LDR.png, id=40 -71, 455.301pt x 208.78pt> +66, 455.301pt x 208.78pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/LDR.png G raphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/LDR.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ld r/figures/LDR.png used on input line 102. (pdftex.def) Requested size: 289.07999pt x 132.56107pt. - -Overfull \hbox (65.00092pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 6.2. Connecting an LDR with Arduino Uno using a breadboard \ -T1/fvm/m/n/10.95 139 - [] - [139] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/LDR-led-dark-c -olor-wires.jpg, id=4084, 477.785pt x 269.005pt> +olor-wires.jpg, id=4078, 477.785pt x 269.005pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/LDR-led-d ark-color-wires.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/LDR-led-da @@ -2475,6 +2553,11 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ld r/figures/LDR-led-dark-color-wires.jpg used on input line 125. (pdftex.def) Requested size: 289.07999pt x 162.75877pt. +Overfull \hbox (9.63438pt too wide) in paragraph at lines 132--132 +[]\T1/cmr/bx/n/14.4 Interfacing LDR through Ar-duino IDE + [] + + Underfull \vbox (badness 10000) has occurred while \output is active [] [140 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/LDR.png> @@ -2510,7 +2593,7 @@ consecutive: [145] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/scilab/ldr-led.sce) </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-read-xcos. -PNG, id=4196, 257.46187pt x 304.13625pt> +PNG, id=4191, 257.46187pt x 304.13625pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-read- xcos.PNG Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-read-x @@ -2521,7 +2604,7 @@ r/figures/ldr-read-xcos.PNG used on input line 131. [146] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-read-plot. -PNG, id=4219, 1284.8pt x 571.13374pt> +PNG, id=4214, 1284.8pt x 571.13374pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-read- plot.PNG Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-read-p @@ -2530,15 +2613,45 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ld r/figures/ldr-read-plot.PNG used on input line 141. (pdftex.def) Requested size: 260.17021pt x 115.65395pt. -Overfull \hbox (108.34319pt too wide) in paragraph at lines 155--169 - [][] +Underfull \hbox (badness 10000) in paragraph at lines 156--156 +[]\T1/fvm/m/n/10.95 Parameter + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 157--157 +[]\T1/fvm/m/n/10.95 Identifier of + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 158--158 +[]\T1/fvm/m/n/10.95 2\T1/cmr/m/n/10 , see Foot- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 158--158 +\T1/cmr/m/n/10 note []4[][] on + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 160--160 +[]\T1/fvm/m/n/10.95 Sampling pe- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 162--162 +[]\T1/fvm/m/n/10.95 Arduino card + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 167--167 +[]\T1/fvm/m/n/10.95 Initialisation [] [147 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-read- xcos.PNG> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr- read-plot.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-led-2.png, - id=4231, 764.8575pt x 743.77875pt> + id=4226, 764.8575pt x 743.77875pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-led-2 .png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-led-2. @@ -2546,8 +2659,9 @@ png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ld r/figures/ldr-led-2.png used on input line 194. (pdftex.def) Requested size: 187.90022pt x 182.72107pt. + [148] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-led-read-p -lot.PNG, id=4236, 1284.8pt x 571.13374pt> +lot.PNG, id=4237, 1284.8pt x 571.13374pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-led-r ead-plot.PNG Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-led-re @@ -2556,17 +2670,47 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ld r/figures/ldr-led-read-plot.PNG used on input line 215. (pdftex.def) Requested size: 260.17021pt x 115.65395pt. -Overfull \hbox (113.18344pt too wide) in paragraph at lines 224--244 - [][] +Underfull \hbox (badness 10000) in paragraph at lines 225--225 +[]\T1/fvm/m/n/10.95 Parameter [] -) (./user-code/ldr/ldr-python.tex -Underfull \vbox (badness 3838) has occurred while \output is active [] - [148] -[149 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-led-2 -.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-led- -read-plot.png>] +Underfull \hbox (badness 10000) in paragraph at lines 226--226 +[]\T1/fvm/m/n/10.95 Identifier of + [] + + +Underfull \hbox (badness 3029) in paragraph at lines 227--227 +[]\T1/fvm/m/n/10.95 2\T1/cmr/m/n/10 , see Foot- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 227--227 +\T1/cmr/m/n/10 note []4[][] on + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 229--229 +[]\T1/fvm/m/n/10.95 Sampling pe- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 231--231 +[]\T1/fvm/m/n/10.95 Arduino card + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 236--236 +[]\T1/fvm/m/n/10.95 Initialisation + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 242--242 +[]\T1/fvm/m/n/10.95 Arduino card + [] + +) (./user-code/ldr/ldr-python.tex [149 </home/sudhakak/Desktop/FLOSS-Arduino-Bo +ok/user-code/ldr/figures/ldr-led-2.png>] Overfull \hbox (3.83743pt too wide) in paragraph at lines 12--18 \T1/fvm/m/n/10.95 The code for this ex-per-i-ment is given in Python Code []6.1 []. @@ -2574,25 +2718,26 @@ Overfull \hbox (3.83743pt too wide) in paragraph at lines 12--18 (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/python/ldr-read.py consecutive: -) [150] -(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/python/ldr-read.py +) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/python/ldr-read.py consecutive: -) [151] +) [150 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-led +-read-plot.png>] [151] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/python/ldr-read.py [152]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/python/ldr-led.py [153])) (./user-code/ldr/ldr-julia.tex +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [154] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/julia/ldr-read.jl consecutive: ) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/julia/ldr-read.jl consecutive: -) [154] [155] -(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/julia/ldr-read.jl) +) [155] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/julia/ldr-read.jl +[156]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/julia/ldr-led.jl)) -(./user-code/ldr/ldr-OM.tex -Underfull \vbox (badness 10000) has occurred while \output is active [] - - [156] +(./user-code/ldr/ldr-OM.tex [157] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr-read. mo consecutive: @@ -2600,23 +2745,23 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr-read. mo consecutive: -) [157] +) Overfull \hbox (2.36667pt too wide) in paragraph at lines 42--45 \T1/fvm/m/n/10.95 ments us-ing Open-Mod-el-ica are avail-able in-side OpenModel ica- [] - +[158] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr-read. -mo [158]) +mo) [159] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr-led.m -o [159])) (./user-code/pot/pot-base.tex [160] +o)) (./user-code/pot/pot-base.tex [160] Chapter 7. [161 ] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/potmeter.png, -id=4529, 1576.38937pt x 1305.37688pt> +id=4526, 1576.38937pt x 1305.37688pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/potmeter. png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/potmeter.p @@ -2625,7 +2770,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/po t/figures/potmeter.png used on input line 65. (pdftex.def) Requested size: 130.0851pt x 107.71881pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/schematic.png, - id=4530, 415.5525pt x 417.56pt> + id=4527, 415.5525pt x 417.56pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/schematic .png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/schematic. @@ -2641,8 +2786,12 @@ Underfull \hbox (badness 4505) in paragraph at lines 68--68 [162 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/potmeter. png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/schematic .png>] +Overfull \hbox (25.56192pt too wide) in paragraph at lines 95--95 +[]\T1/cmr/bx/n/14.4 Connecting a po-ten-tiome-ter us-ing bread- + [] + </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/POT-led-bb-dar -k-color-wires.jpg, id=4542, 477.785pt x 277.838pt> +k-color-wires.jpg, id=4539, 477.785pt x 277.838pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/POT-led-b b-dark-color-wires.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/POT-led-bb @@ -2656,16 +2805,16 @@ Overfull \hbox (9.68646pt too wide) in paragraph at lines 112--114 [] -Underfull \vbox (badness 10000) has occurred while \output is active [] +Overfull \hbox (1.35582pt too wide) in paragraph at lines 124--124 +[]\T1/cmr/bx/n/14.4 Reading po-ten-tiome-ter from Ar-duino + [] -Overfull \hbox (108.7932pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 7.2. Connecting a potentiometer with Arduino Uno using a bre -adboard \T1/fvm/m/n/10.95 163 - [] +Underfull \vbox (badness 10000) has occurred while \output is active [] -[163] [164 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/POT --led-bb-dark-color-wires.jpg>] + [163] +[164 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/POT-led-b +b-dark-color-wires.jpg>] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/arduino/pot-threshold/ pot-threshold.ino consecutive: @@ -2675,18 +2824,7 @@ pot-threshold.ino consecutive: ) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/arduino/pot-threshold/ -pot-threshold.ino -Overfull \hbox (18.75746pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 7.3. Reading the potentiometer from the Arduino IDE \T1/fvm/ -m/n/10.95 165 - [] - -[165])) (./user-code/pot/pot-scilab.tex -Overfull \hbox (11.28899pt too wide) in paragraph at lines 1--1 -[]\T1/cmr/bx/n/14.4 Reading the po-ten-tiome-ter from Scilab - [] - -[166] +pot-threshold.ino [165])) (./user-code/pot/pot-scilab.tex [166] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/scilab/pot-threshold.s ce consecutive: @@ -2697,12 +2835,8 @@ consecutive: ) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/scilab/pot-threshold.s ce [167]) -Overfull \hbox (3.09676pt too wide) in paragraph at lines 46--46 -[]\T1/cmr/bx/n/14.4 Reading the po-ten-tiome-ter from Xcos - [] - </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/pot-threshold- -1.PNG, id=4630, 1008.76875pt x 719.68875pt> +1.PNG, id=4627, 1008.76875pt x 719.68875pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/pot-thres hold-1.PNG Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/pot-thresh @@ -2711,26 +2845,61 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/po t/figures/pot-threshold-1.PNG used on input line 60. (pdftex.def) Requested size: 260.17021pt x 185.61018pt. -Overfull \hbox (113.18344pt too wide) in paragraph at lines 78--107 - [][] +Underfull \hbox (badness 10000) in paragraph at lines 79--79 +[]\T1/fvm/m/n/10.95 Parameter + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 80--80 +[]\T1/fvm/m/n/10.95 Identifier of [] -[168]) (./user-code/pot/pot-python.tex -Overfull \hbox (20.78561pt too wide) in paragraph at lines 1--1 -[]\T1/cmr/bx/n/14.4 Reading the po-ten-tiome-ter from Python + +Underfull \hbox (badness 10000) in paragraph at lines 81--81 +[]\T1/fvm/m/n/10.95 2\T1/cmr/m/n/10 , see Foot- [] -[169 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/pot-thres -hold-1.png>] + +Underfull \hbox (badness 10000) in paragraph at lines 81--81 +\T1/cmr/m/n/10 note []4[][] on + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 83--83 +[]\T1/fvm/m/n/10.95 Sampling pe- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 84--84 +[]\T1/fvm/m/n/10.95 Constant + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 88--88 +[]\T1/fvm/m/n/10.95 Arduino card + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 90--90 +[]\T1/fvm/m/n/10.95 Arduino card + [] + + +Overfull \hbox (4.89998pt too wide) in paragraph at lines 78--107 + [][] + [] + + +LaTeX Warning: Float too large for page by 62.90974pt on input line 107. + +[168]) (./user-code/pot/pot-python.tex [169 </home/sudhakak/Desktop/FLOSS-Ardui +no-Book/user-code/pot/figures/pot-threshold-1.png>] Overfull \hbox (2.7749pt too wide) in paragraph at lines 10--20 []\T1/fvm/m/n/10.95 Based on the ac-quired po-ten-tiome-ter val-ues, we will ch ange [] -Underfull \vbox (badness 5908) has occurred while \output is active [] - - [170] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/python/pot-threshold.p y consecutive: @@ -2740,10 +2909,10 @@ y consecutive: ) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/python/pot-threshold.p -y [171] +y [170] Underfull \vbox (badness 10000) has occurred while \output is active [] - [172])) + [171])) (./user-code/pot/pot-julia.tex Overfull \hbox (2.7749pt too wide) in paragraph at lines 11--18 []\T1/fvm/m/n/10.95 Based on the ac-quired po-ten-tiome-ter val-ues, we will ch @@ -2756,17 +2925,12 @@ consecutive: ) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/julia/pot-threshold.jl consecutive: -) [173] +) [172] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/julia/pot-threshold.jl )) (./user-code/pot/pot-OM.tex -Overfull \hbox (12.34541pt too wide) in paragraph at lines 1--1 -[]\T1/cmr/bx/n/14.4 Reading the po-ten-tiome-ter from Open- - [] - - Underfull \vbox (badness 10000) has occurred while \output is active [] - [174] + [173] Overfull \hbox (2.7749pt too wide) in paragraph at lines 10--16 []\T1/fvm/m/n/10.95 Based on the ac-quired po-ten-tiome-ter val-ues, we will ch ange @@ -2786,21 +2950,10 @@ Overfull \hbox (2.36667pt too wide) in paragraph at lines 28--31 ica- [] - -Overfull \hbox (7.13272pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 7.8. Reading the potentiometer from OpenModelica \T1/fvm/m/n -/10.95 175 - [] - -[175] +[174] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/OpenModelica/pot-thres -hold.mo [176])) (./user-code/thermistor/thermistor-base.tex -Overfull \hbox (7.13272pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 7.8. Reading the potentiometer from OpenModelica \T1/fvm/m/n -/10.95 177 - [] - -[177] [178 +hold.mo [175])) (./user-code/thermistor/thermistor-base.tex [176] [177] +[178 ] Chapter 8. @@ -2812,7 +2965,7 @@ Overfull \hbox (2.1984pt too wide) in paragraph at lines 50--64 [179] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/NTC-bea -d.jpg, id=4873, 139.9629pt x 126.2316pt> +d.jpg, id=4871, 139.9629pt x 126.2316pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/NT C-bead.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/NTC @@ -2821,7 +2974,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/th ermistor/figures/NTC-bead.jpg used on input line 70. (pdftex.def) Requested size: 130.0851pt x 117.3306pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/therm-s -ym.png, id=4876, 1284.8pt x 913.4125pt> +ym.png, id=4874, 1284.8pt x 913.4125pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/th erm-sym.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/the @@ -2830,7 +2983,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/th ermistor/figures/therm-sym.png used on input line 73. (pdftex.def) Requested size: 86.72487pt x 61.6457pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/THERMIS -TOR-Diagram-crop.pdf, id=4877, 329.23pt x 422.57875pt> +TOR-Diagram-crop.pdf, id=4875, 329.23pt x 422.57875pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/TH ERMISTOR-Diagram-crop.pdf Graphic file (type pdf) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/THE @@ -2844,7 +2997,7 @@ Underfull \hbox (badness 1924) in paragraph at lines 83--83 [] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/BUZZER- -Diagram-crop.pdf, id=4878, 307.1475pt x 366.36874pt> +Diagram-crop.pdf, id=4876, 307.1475pt x 366.36874pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/BU ZZER-Diagram-crop.pdf Graphic file (type pdf) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/BUZ @@ -2853,15 +3006,15 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/th ermistor/figures/BUZZER-Diagram-crop.pdf used on input line 87. (pdftex.def) Requested size: 130.0851pt x 155.16518pt. -Overfull \hbox (8.26604pt too wide) in paragraph at lines 91--91 -[]\T1/cmr/bx/n/14.4 Connecting a ther-mis-tor with Ar-duino +Overfull \hbox (0.96024pt too wide) in paragraph at lines 91--91 +[]\T1/cmr/bx/n/14.4 Connecting a ther-mis-tor us-ing bread- [] [180 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/NT C-bead.jpg> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/fig ures/therm-sym.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/thermis -tor.png, id=4888, 453.695pt x 236.885pt> +tor.png, id=4886, 453.695pt x 236.885pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/th ermistor.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/the @@ -2870,7 +3023,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/th ermistor/figures/thermistor.png used on input line 110. (pdftex.def) Requested size: 289.07999pt x 150.93718pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/thermis -tor-buzzer-dark-color-wires.jpg, id=4892, 477.785pt x 233.673pt> +tor-buzzer-dark-color-wires.jpg, id=4890, 477.785pt x 233.673pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/th ermistor-buzzer-dark-color-wires.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/the @@ -2882,15 +3035,9 @@ ermistor/figures/thermistor-buzzer-dark-color-wires.jpg used on input line 124 Underfull \vbox (badness 10000) has occurred while \output is active [] - -Overfull \hbox (89.34428pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 8.2. Connecting a thermistor with Arduino Uno using a breadb -oard \T1/fvm/m/n/10.95 181 - [] - -[181 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/TH -ERMISTOR-Diagram-crop.pdf> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code -/thermistor/figures/BUZZER-Diagram-crop.pdf>] + [181 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/T +HERMISTOR-Diagram-crop.pdf> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-cod +e/thermistor/figures/BUZZER-Diagram-crop.pdf>] Underfull \vbox (badness 10000) has occurred while \output is active [] [182 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/t @@ -2907,13 +3054,7 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm-r ead/therm-read.ino consecutive: -) -Overfull \hbox (13.66321pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 8.3. Interfacing the thermistor from the Arduino IDE \T1/fvm -/m/n/10.95 183 - [] - -[183] +) [183] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm-b uzzer/therm-buzzer.ino consecutive: @@ -2931,20 +3072,9 @@ d, (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm-r -ead/therm-read.ino -Overfull \hbox (13.66321pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 8.3. Interfacing the thermistor from the Arduino IDE \T1/fvm -/m/n/10.95 185 - [] - -[185]) +ead/therm-read.ino [185]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm-b uzzer/therm-buzzer.ino [186])) (./user-code/thermistor/thermistor-scilab.tex -Overfull \hbox (4.77242pt too wide) in paragraph at lines 1--1 -[]\T1/cmr/bx/n/14.4 Interfacing the ther-mis-tor from Scilab - [] - - (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm-re ad.sce consecutive: @@ -2974,7 +3104,7 @@ ad.sce [190]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm-bu zzer.sce) [191] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/therm-r -ead-xcos.png, id=5095, 617.30624pt x 548.0475pt> +ead-xcos.png, id=5093, 617.30624pt x 548.0475pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/th erm-read-xcos.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/the @@ -2983,12 +3113,42 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/th ermistor/figures/therm-read-xcos.png used on input line 174. (pdftex.def) Requested size: 141.65077pt x 125.75558pt. -Overfull \hbox (108.34319pt too wide) in paragraph at lines 190--204 - [][] +Underfull \hbox (badness 10000) in paragraph at lines 191--191 +[]\T1/fvm/m/n/10.95 Parameter + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 192--192 +[]\T1/fvm/m/n/10.95 Identifier of + [] + + +Underfull \hbox (badness 3029) in paragraph at lines 193--193 +[]\T1/fvm/m/n/10.95 2\T1/cmr/m/n/10 , see Foot- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 193--193 +\T1/cmr/m/n/10 note []4[][] on + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 195--195 +[]\T1/fvm/m/n/10.95 Sampling pe- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 197--197 +[]\T1/fvm/m/n/10.95 Arduino card + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 202--202 +[]\T1/fvm/m/n/10.95 Initialisation [] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/therm-r -ead.png, id=5100, 632.3625pt x 529.98pt> +ead.png, id=5098, 632.3625pt x 529.98pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/th erm-read.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/the @@ -2998,8 +3158,12 @@ ermistor/figures/therm-read.png used on input line 207. (pdftex.def) Requested size: 141.65077pt x 118.7147pt. [192 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/th erm-read-xcos.png>] +Underfull \vbox (badness 2547) has occurred while \output is active [] + + [193 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/t +herm-read.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/therm-b -uzzer-xcos.png, id=5109, 627.34375pt x 530.98375pt> +uzzer-xcos.png, id=5114, 627.34375pt x 530.98375pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/th erm-buzzer-xcos.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/the @@ -3007,14 +3171,48 @@ rm-buzzer-xcos.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/th ermistor/figures/therm-buzzer-xcos.png used on input line 226. (pdftex.def) Requested size: 187.90022pt x 159.03708pt. - [193 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/t -herm-read.png>] -Overfull \hbox (113.18344pt too wide) in paragraph at lines 248--268 - [][] + +Underfull \hbox (badness 10000) in paragraph at lines 249--249 +[]\T1/fvm/m/n/10.95 Parameter + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 250--250 +[]\T1/fvm/m/n/10.95 Identifier of + [] + + +Underfull \hbox (badness 3029) in paragraph at lines 251--251 +[]\T1/fvm/m/n/10.95 2\T1/cmr/m/n/10 , see Foot- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 251--251 +\T1/cmr/m/n/10 note []4[][] on + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 253--253 +[]\T1/fvm/m/n/10.95 Sampling pe- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 255--255 +[]\T1/fvm/m/n/10.95 Arduino card + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 260--260 +[]\T1/fvm/m/n/10.95 Initialisation + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 266--266 +[]\T1/fvm/m/n/10.95 Arduino card [] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/therm-b -uzzer.png, id=5121, 612.2875pt x 589.20125pt> +uzzer.png, id=5120, 612.2875pt x 589.20125pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/th erm-buzzer.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/the @@ -3034,22 +3232,15 @@ Overfull \hbox (10.58241pt too wide) in paragraph at lines 284--289 d, [] -) (./user-code/thermistor/thermistor-python.tex -Overfull \hbox (14.26904pt too wide) in paragraph at lines 1--1 -[]\T1/cmr/bx/n/14.4 Interfacing the ther-mis-tor from Python - [] - - -Underfull \vbox (badness 1005) has occurred while \output is active [] - - [194 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/t -herm-buzzer-xcos.png>] +[194 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/th +erm-buzzer-xcos.png>] [195]) (./user-code/thermistor/thermistor-python.tex Overfull \hbox (26.48335pt too wide) in paragraph at lines 12--19 \T1/fvm/m/n/10.95 ues. The code for this ex-per-i-ment is given in Python Code []8.1[]. [] -[195] +[196 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/th +erm-buzzer.png>] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm-re ad.py consecutive: @@ -3057,12 +3248,11 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm-re ad.py consecutive: -) [196 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/ -therm-buzzer.png>] +) [197] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm-bu zzer.py consecutive: -) [197] +) Overfull \hbox (12.96667pt too wide) in paragraph at lines 79--83 []\T1/cmr/bx/n/10.95 Note:[] \T1/fvm/m/n/10.95 Once the ther-mis-tor value rea ches 550 (the thresh- @@ -3074,11 +3264,15 @@ Overfull \hbox (10.58241pt too wide) in paragraph at lines 79--83 d, [] - +[198] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm-re -ad.py [198]) +ad.py) [199] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm-bu -zzer.py [199])) (./user-code/thermistor/thermistor-julia.tex [200] +zzer.py +Underfull \vbox (badness 1460) has occurred while \output is active [] + + [200])) +(./user-code/thermistor/thermistor-julia.tex (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm-rea d.jl consecutive: @@ -3090,7 +3284,7 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm-buz zer.jl consecutive: -) +[202]) Overfull \hbox (12.96667pt too wide) in paragraph at lines 68--72 []\T1/cmr/bx/n/10.95 Note:[] \T1/fvm/m/n/10.95 Once the ther-mis-tor value rea ches 550 (the thresh- @@ -3107,43 +3301,34 @@ Overfull \hbox (11.05663pt too wide) in paragraph at lines 80--84 []\T1/fvm/m/n/10.95 Read and dis-play the ther-mis-tor val-ues. Avail- [] -[202] + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm-rea d.jl) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm-buz -zer.jl)) (./user-code/thermistor/thermistor-OM.tex -Overfull \hbox (5.82884pt too wide) in paragraph at lines 1--1 -[]\T1/cmr/bx/n/14.4 Interfacing the ther-mis-tor from Open- +zer.jl [203])) (./user-code/thermistor/thermistor-OM.tex +Overfull \hbox (12.3284pt too wide) in paragraph at lines 1--1 +[]\T1/cmr/bx/n/14.4 Interfacing ther-mis-tor from Open-Mod- [] -Underfull \vbox (badness 6741) has occurred while \output is active [] - - [203] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/th erm-read.mo consecutive: -) +) [204] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/th erm-read.mo consecutive: -) [204] +) Overfull \hbox (17.59506pt too wide) in paragraph at lines 38--49 []\T1/fvm/m/n/10.95 The pro-gram for this is avail-able at Open-Mod-el-ica Code []8.2[]. [] - +[205] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/th erm-buzzer.mo consecutive: ) -Overfull \hbox (2.03847pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 8.8. Interfacing the thermistor from OpenModelica \T1/fvm/m/ -n/10.95 205 - [] - -[205] Overfull \hbox (12.96667pt too wide) in paragraph at lines 62--66 []\T1/cmr/bx/n/10.95 Note:[] \T1/fvm/m/n/10.95 Once the ther-mis-tor value rea ches 550 (the thresh- @@ -3161,9 +3346,9 @@ Overfull \hbox (2.36667pt too wide) in paragraph at lines 70--73 ica- [] - +[206] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/th -erm-read.mo [206]) +erm-read.mo) Overfull \hbox (11.82712pt too wide) in paragraph at lines 88--93 \T1/fvm/m/n/10.95 al-Com-mu-ni-ca-tion -> Ex-am-ples -> ther-mis-tor -> therm_b uzzer. @@ -3171,13 +3356,7 @@ uzzer. (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/th -erm-buzzer.mo -Overfull \hbox (2.03847pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 8.8. Interfacing the thermistor from OpenModelica \T1/fvm/m/ -n/10.95 207 - [] - -[207])) (./user-code/servo/servo-base.tex [208] +erm-buzzer.mo [207])) (./user-code/servo/servo-base.tex [208] Chapter 9. [209 @@ -3192,8 +3371,8 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/se rvo/figures/servo-uno-shield.jpg used on input line 82. (pdftex.def) Requested size: 187.90022pt x 86.11894pt. -Overfull \hbox (12.66498pt too wide) in paragraph at lines 102--102 -[]\T1/cmr/bx/n/14.4 Connecting a ser-vo-mo-tor with Ar-duino +Overfull \hbox (5.35918pt too wide) in paragraph at lines 102--102 +[]\T1/cmr/bx/n/14.4 Connecting a ser-vo-mo-tor us-ing bread- [] @@ -3222,15 +3401,10 @@ rvo/figures/servo-pot-bb-dark-color-wires.jpg used on input line 133. Underfull \vbox (badness 10000) has occurred while \output is active [] - -Overfull \hbox (92.81834pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 9.2. Connecting a servomotor with Arduino Uno using a breadb -oard \T1/fvm/m/n/10.95 211 - [] - -[211] [212 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/s -ervo-bb-dark-color-wires.jpg> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-c -ode/servo/figures/servo-pot-bb-dark-color-wires.jpg>] + [211] +[212 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-b +b-dark-color-wires.jpg> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/se +rvo/figures/servo-pot-bb-dark-color-wires.jpg>] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo-init/s ervo-init.ino) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo-init/s @@ -3244,13 +3418,7 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo-init/s ervo-init.ino consecutive: -) -Overfull \hbox (37.4988pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 9.3. Controlling the servomotor through the Arduino IDE \T1/ -fvm/m/n/10.95 213 - [] - -[213] +) [213] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo-revers e/servo-reverse.ino consecutive: @@ -3258,13 +3426,7 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo-pot/se rvo-pot.ino consecutive: -) [214] -Overfull \hbox (37.4988pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 9.3. Controlling the servomotor through the Arduino IDE \T1/ -fvm/m/n/10.95 215 - [] - -[215] +) [214] [215] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo-init/s ervo-init.ino) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo-revers @@ -3272,13 +3434,12 @@ e/servo-reverse.ino) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo-loop/s ervo-loop.ino [216]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo-pot/se -rvo-pot.ino -Overfull \hbox (37.4988pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 9.3. Controlling the servomotor through the Arduino IDE \T1/ -fvm/m/n/10.95 217 +rvo-pot.ino [217])) (./user-code/servo/servo-scilab.tex +Overfull \hbox (9.17462pt too wide) in paragraph at lines 1--1 +[]\T1/cmr/bx/n/14.4 Controlling ser-vo-mo-tor through Scilab [] -[217])) (./user-code/servo/servo-scilab.tex + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo-init.sc e consecutive: @@ -3312,8 +3473,33 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/se rvo/figures/servo-init.png used on input line 170. (pdftex.def) Requested size: 130.0851pt x 151.45915pt. -Overfull \hbox (103.13338pt too wide) in paragraph at lines 186--196 - [][] +Underfull \hbox (badness 10000) in paragraph at lines 187--187 +[]\T1/fvm/m/n/10.95 Parameter + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 188--188 +[]\T1/fvm/m/n/10.95 Identifier of + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 189--189 +[]\T1/fvm/m/n/10.95 2\T1/cmr/m/n/10 , see Foot- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 189--189 +\T1/cmr/m/n/10 note []4[][] on + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 191--191 +[]\T1/fvm/m/n/10.95 Sampling pe- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 193--193 +[]\T1/fvm/m/n/10.95 Arduino card [] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-revers @@ -3326,12 +3512,39 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/se rvo/figures/servo-reverse.png used on input line 205. (pdftex.def) Requested size: 130.0851pt x 149.69864pt. [222] -Overfull \hbox (103.13338pt too wide) in paragraph at lines 222--234 - [][] +Underfull \hbox (badness 10000) in paragraph at lines 223--223 +[]\T1/fvm/m/n/10.95 Parameter [] + +Underfull \hbox (badness 10000) in paragraph at lines 224--224 +[]\T1/fvm/m/n/10.95 Identifier of + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 225--225 +[]\T1/fvm/m/n/10.95 2\T1/cmr/m/n/10 , see Foot- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 225--225 +\T1/cmr/m/n/10 note []4[][] on + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 227--227 +[]\T1/fvm/m/n/10.95 Sampling pe- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 229--229 +[]\T1/fvm/m/n/10.95 Arduino card + [] + +[223 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-i +nit.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-loop.p -ng, id=5712, 281.55188pt x 347.04657pt> +ng, id=5717, 281.55188pt x 347.04657pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-l oop.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-lo @@ -3339,16 +3552,48 @@ op.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/se rvo/figures/servo-loop.png used on input line 243. (pdftex.def) Requested size: 130.0851pt x 160.34766pt. -[223 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-i -nit.png>] -Overfull \hbox (103.13338pt too wide) in paragraph at lines 261--276 - [][] + +Underfull \hbox (badness 10000) in paragraph at lines 262--262 +[]\T1/fvm/m/n/10.95 Parameter + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 263--263 +[]\T1/fvm/m/n/10.95 Identifier of + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 264--264 +[]\T1/fvm/m/n/10.95 2\T1/cmr/m/n/10 , see Foot- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 264--264 +\T1/cmr/m/n/10 note []4[][] on + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 266--266 +[]\T1/fvm/m/n/10.95 Sampling pe- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 269--269 +[]\T1/fvm/m/n/10.95 Initialization + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 270--270 +[]\T1/fvm/m/n/10.95 Minimum + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 271--271 +[]\T1/fvm/m/n/10.95 Maximum [] -[224 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-r -everse.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-pot.pn -g, id=5727, 286.06876pt x 292.09125pt> +g, id=5723, 286.06876pt x 292.09125pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-p ot.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-po @@ -3356,45 +3601,90 @@ t.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/se rvo/figures/servo-pot.png used on input line 285. (pdftex.def) Requested size: 130.0851pt x 132.82594pt. - [225 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo- -loop.png>] -Overfull \hbox (126.01453pt too wide) in paragraph at lines 306--317 - [][] +[224 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-r +everse.png>] +Underfull \hbox (badness 10000) in paragraph at lines 307--307 +[]\T1/fvm/m/n/10.95 Parameter + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 308--308 +[]\T1/fvm/m/n/10.95 Identifier of + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 309--309 +[]\T1/fvm/m/n/10.95 2\T1/cmr/m/n/10 , see Foot- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 309--309 +\T1/cmr/m/n/10 note []4[][] on + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 310--310 +[]\T1/fvm/m/n/10.95 The du-ra-tion + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 310--310 +\T1/fvm/m/n/10.95 of ac-qui-si- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 311--311 +[]\T1/fvm/m/n/10.95 Sampling pe- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 314--314 +[]\T1/fvm/m/n/10.95 Arduino card [] -) (./user-code/servo/servo-python.tex [226 </home/sudhakak/Desktop/FLOSS-Arduin -o-Book/user-code/servo/figures/servo-pot.png>] +) (./user-code/servo/servo-python.tex +Overfull \hbox (18.67125pt too wide) in paragraph at lines 1--1 +[]\T1/cmr/bx/n/14.4 Controlling ser-vo-mo-tor through Python + [] + + +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [225] +[226 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-l +oop.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/ser +vo-pot.png>] Overfull \hbox (3.83743pt too wide) in paragraph at lines 20--24 \T1/fvm/m/n/10.95 The code for this ex-per-i-ment is given in Python Code []9.1 []. [] - +[227] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo-init.py consecutive: ) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo-init.py consecutive: -) [227] +) [228] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo-reverse .py consecutive: ) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo-pot.py consecutive: -[228]) +) [229] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo-init.py -[229]) +[230]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo-reverse -.py [230]) +.py [231]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo-loop.py -[231]) +[232]) Overfull \hbox (2.74231pt too wide) in paragraph at lines 164--167 []\T1/fvm/m/n/10.95 Rotating the ser-vo-mo-tor to a de-gree spec- [] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo-pot.py -[232])) (./user-code/servo/servo-julia.tex [233] +[233])) (./user-code/servo/servo-julia.tex [234] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-init.jl consecutive: ) @@ -3404,28 +3694,27 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-reverse. jl consecutive: -[234]) +) [235] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-pot.jl consecutive: -) [235] +) [236] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-init.jl) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-reverse. jl) -(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-loop.jl -[236]) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-loop.jl) +[237] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-pot.jl)) (./user-code/servo/servo-OM.tex -Overfull \hbox (25.87405pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 9.8. Controlling the servomotor through OpenModelica \T1/fvm -/m/n/10.95 237 +Overfull \hbox (10.23105pt too wide) in paragraph at lines 1--1 +[]\T1/cmr/bx/n/14.4 Controlling ser-vo-mo-tor through Open- [] -[237] + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-i nit.mo consecutive: -) +[238]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-i nit.mo consecutive: @@ -3433,55 +3722,55 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-r everse.mo consecutive: -[238]) -(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-p -ot.mo -consecutive: ) -Overfull \hbox (25.87405pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 9.8. Controlling the servomotor through OpenModelica \T1/fvm -/m/n/10.95 239 +Overfull \hbox (5.5596pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 9.8. Controlling servomotor through OpenModelica \T1/fvm/m/n +/10.95 239 [] [239] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-p +ot.mo +consecutive: +) Overfull \hbox (2.36667pt too wide) in paragraph at lines 85--88 \T1/fvm/m/n/10.95 ments us-ing Open-Mod-el-ica are avail-able in-side OpenModel ica- [] - +[240] Overfull \hbox (8.99416pt too wide) in paragraph at lines 92--96 []\T1/fvm/m/n/10.95 Rotating the ser-vo-mo-tor to a spec- [] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-i -nit.mo [240]) +nit.mo) Overfull \hbox (8.99416pt too wide) in paragraph at lines 101--105 []\T1/fvm/m/n/10.95 Rotating the ser-vo-mo-tor to a spec- [] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-r -everse.mo) -Overfull \hbox (25.87405pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 9.8. Controlling the servomotor through OpenModelica \T1/fvm -/m/n/10.95 241 +everse.mo +Overfull \hbox (5.5596pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 9.8. Controlling servomotor through OpenModelica \T1/fvm/m/n +/10.95 241 [] -[241] +[241]) Overfull \hbox (0.28236pt too wide) in paragraph at lines 109--113 []\T1/fvm/m/n/10.95 Rotating the ser-vo-mo-tor in steps [] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-l -oop.mo) [242] +oop.mo [242]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-p ot.mo -Overfull \hbox (25.87405pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 9.8. Controlling the servomotor through OpenModelica \T1/fvm -/m/n/10.95 243 +Overfull \hbox (5.5596pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 9.8. Controlling servomotor through OpenModelica \T1/fvm/m/n +/10.95 243 [] [243])) (./user-code/dcmotor/dcmotor-base.tex [244] @@ -3490,7 +3779,7 @@ Chapter 10. ] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmotor_bo -ard.png, id=6240, 247.92625pt x 232.87pt> +ard.png, id=6244, 247.92625pt x 232.87pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmot or_board.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmoto @@ -3501,7 +3790,7 @@ motor/figures/dcmotor_board.png used on input line 68. [246 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmo tor_board.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/uno-pwm.jp -g, id=6248, 426.8748pt x 319.9152pt> +g, id=6252, 426.8748pt x 319.9152pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/uno-p wm.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/uno-pw @@ -3512,7 +3801,7 @@ motor/figures/uno-pwm.jpg used on input line 106. [247 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/uno- pwm.jpg>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/schematic. -png, id=6258, 415.5525pt x 467.7475pt> +png, id=6262, 415.5525pt x 467.7475pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/schem atic.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/schema @@ -3521,7 +3810,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dc motor/figures/schematic.png used on input line 129. (pdftex.def) Requested size: 130.0851pt x 146.42053pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dc_motor_d -escription.jpg, id=6259, 2469.97781pt x 1973.12157pt> +escription.jpg, id=6263, 2469.97781pt x 1973.12157pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dc_mo tor_description.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dc_mot @@ -3530,6 +3819,11 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dc motor/figures/dc_motor_description.jpg used on input line 135. (pdftex.def) Requested size: 187.90022pt x 150.08525pt. +Overfull \hbox (1.7811pt too wide) in paragraph at lines 140--140 +[]\T1/cmr/bx/n/14.4 Controlling DC mo-tor from Ar-duino + [] + + Underfull \vbox (badness 10000) has occurred while \output is active [] [248 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/sche @@ -3567,11 +3861,6 @@ ock/dcmotor-clock.ino) th/dcmotor-both.ino [251]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor-lo op/dcmotor-loop.ino [252])) (./user-code/dcmotor/dcmotor-scilab.tex -Overfull \hbox (11.71426pt too wide) in paragraph at lines 1--1 -[]\T1/cmr/bx/n/14.4 Controlling the DC mo-tor from Scilab - [] - - Overfull \hbox (17.35983pt too wide) in paragraph at lines 11--15 []\T1/cmr/bx/n/10.95 Note:[] \T1/fvm/m/n/10.95 The read-ers are ad-vised to af -fix a small (very lightweight) @@ -3620,12 +3909,8 @@ ck.sce [256]) h.sce) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor-loo p.sce [257]) -Overfull \hbox (3.52203pt too wide) in paragraph at lines 273--273 -[]\T1/cmr/bx/n/14.4 Controlling the DC mo-tor from Xcos - [] - </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmotor-cl -ock.png, id=6463, 807.015pt x 738.76pt> +ock.png, id=6467, 807.015pt x 738.76pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmot or-clock.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmoto @@ -3634,14 +3919,44 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dc motor/figures/dcmotor-clock.png used on input line 294. (pdftex.def) Requested size: 130.0851pt x 119.08327pt. -Overfull \hbox (96.0228pt too wide) in paragraph at lines 315--329 - [][] +Underfull \hbox (badness 10000) in paragraph at lines 316--316 +[]\T1/fvm/m/n/10.95 Parameter + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 317--317 +[]\T1/fvm/m/n/10.95 Identifier of + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 318--318 +[]\T1/fvm/m/n/10.95 2\T1/cmr/m/n/10 , see Foot- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 318--318 +\T1/cmr/m/n/10 note []4[][] on + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 320--320 +[]\T1/fvm/m/n/10.95 Sampling pe- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 322--322 +[]\T1/fvm/m/n/10.95 Arduino card + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 323--323 +[]\T1/fvm/m/n/10.95 PWM pin [] [258 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmot or-clock.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmotor-bo -th.png, id=6480, 784.9325pt x 716.6775pt> +th.png, id=6484, 784.9325pt x 716.6775pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmot or-both.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmoto @@ -3649,14 +3964,48 @@ r-both.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dc motor/figures/dcmotor-both.png used on input line 348. (pdftex.def) Requested size: 130.0851pt x 118.77159pt. + [259] +Underfull \hbox (badness 10000) in paragraph at lines 367--367 +[]\T1/fvm/m/n/10.95 Parameter + [] -Overfull \hbox (96.0228pt too wide) in paragraph at lines 366--382 - [][] + +Underfull \hbox (badness 10000) in paragraph at lines 368--368 +[]\T1/fvm/m/n/10.95 Identifier of + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 369--369 +[]\T1/fvm/m/n/10.95 2\T1/cmr/m/n/10 , see Foot- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 369--369 +\T1/cmr/m/n/10 note []4[][] on + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 371--371 +[]\T1/fvm/m/n/10.95 Sampling pe- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 373--373 +[]\T1/fvm/m/n/10.95 Arduino card + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 374--374 +[]\T1/fvm/m/n/10.95 PWM pin + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 380--380 +[]\T1/fvm/m/n/10.95 Initialisation [] -[259] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmotor-lo -op.png, id=6492, 775.89874pt x 756.8275pt> +op.png, id=6496, 775.89874pt x 756.8275pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmot or-loop.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmoto @@ -3665,32 +4014,62 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dc motor/figures/dcmotor-loop.png used on input line 392. (pdftex.def) Requested size: 130.0851pt x 126.88054pt. -Overfull \hbox (103.43948pt too wide) in paragraph at lines 408--429 - [][] +Underfull \hbox (badness 10000) in paragraph at lines 409--409 +[]\T1/fvm/m/n/10.95 Parameter [] -[260 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmot -or-both.png>]) (./user-code/dcmotor/dcmotor-python.tex -Overfull \hbox (21.21089pt too wide) in paragraph at lines 1--1 -[]\T1/cmr/bx/n/14.4 Controlling the DC mo-tor from Python + +Underfull \hbox (badness 10000) in paragraph at lines 410--410 +[]\T1/fvm/m/n/10.95 Identifier of + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 411--411 +[]\T1/fvm/m/n/10.95 2\T1/cmr/m/n/10 , see Foot- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 411--411 +\T1/cmr/m/n/10 note []4[][] on + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 413--413 +[]\T1/fvm/m/n/10.95 Sampling pe- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 415--415 +[]\T1/fvm/m/n/10.95 Arduino card [] -[261 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmot -or-loop.png>] + +Underfull \hbox (badness 10000) in paragraph at lines 416--416 +[]\T1/fvm/m/n/10.95 PWM pin + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 427--427 +[]\T1/fvm/m/n/10.95 Inputs ports + [] + +[260 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmot +or-both.png>] [261]) (./user-code/dcmotor/dcmotor-python.tex Overfull \hbox (17.35983pt too wide) in paragraph at lines 10--14 []\T1/cmr/bx/n/10.95 Note:[] \T1/fvm/m/n/10.95 The read-ers are ad-vised to af -fix a small (very lightweight) [] -[262] +[262 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmot +or-loop.png>] [263] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor-clo ck.py consecutive: -) [263] +) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor-clo ck.py consecutive: -) +) [264] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor-clo ck.py consecutive: @@ -3704,11 +4083,11 @@ Overfull \hbox (28.41753pt too wide) in paragraph at lines 62--72 29 of Python Code []10.1[]) [] -[264] + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor-bot h.py consecutive: -) +) [265] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor-bot h.py consecutive: @@ -3726,24 +4105,21 @@ Overfull \hbox (0.5842pt too wide) in paragraph at lines 141--144 (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor-clo -ck.py [265]) +ck.py [266]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor-bot -h.py [266]) +h.py [267]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor-loo -p.py [267])) (./user-code/dcmotor/dcmotor-julia.tex -Underfull \vbox (badness 10000) has occurred while \output is active [] - - [268] +p.py [268])) (./user-code/dcmotor/dcmotor-julia.tex [269] Overfull \hbox (17.35983pt too wide) in paragraph at lines 9--13 []\T1/cmr/bx/n/10.95 Note:[] \T1/fvm/m/n/10.95 The read-ers are ad-vised to af -fix a small (very lightweight) [] -[269] + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor-cloc k.jl consecutive: -) +) [270] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor-cloc k.jl consecutive: @@ -3761,7 +4137,7 @@ Overfull \hbox (11.18282pt too wide) in paragraph at lines 61--71 7 of Ju-lia Code []10.1[]) [] -[270] +[271] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor-both .jl consecutive: @@ -3769,7 +4145,7 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor-both .jl consecutive: -) [271] +) [272] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor-cloc k.jl) Overfull \hbox (12.19356pt too wide) in paragraph at lines 114--117 @@ -3780,24 +4156,13 @@ Overfull \hbox (12.19356pt too wide) in paragraph at lines 114--117 (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor-both .jl) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor-loop -.jl [272])) (./user-code/dcmotor/dcmotor-OM.tex -Overfull \hbox (12.77069pt too wide) in paragraph at lines 1--1 -[]\T1/cmr/bx/n/14.4 Controlling the DC mo-tor from Open- - [] - - +.jl [273])) (./user-code/dcmotor/dcmotor-OM.tex Overfull \hbox (17.35983pt too wide) in paragraph at lines 12--16 []\T1/cmr/bx/n/10.95 Note:[] \T1/fvm/m/n/10.95 The read-ers are ad-vised to af -fix a small (very lightweight) [] - -Overfull \hbox (7.51912pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 10.7. Controlling the DC motor from OpenModelica \T1/fvm/m/n -/10.95 273 - [] - -[273] +[274] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot or-clock.mo consecutive: @@ -3805,25 +4170,19 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot or-clock.mo consecutive: -) [274] +) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot or-clock.mo consecutive: -) +) [275] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot or-clock.mo consecutive: ) -Overfull \hbox (7.51912pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 10.7. Controlling the DC motor from OpenModelica \T1/fvm/m/n -/10.95 275 - [] - -[275] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot or-both.mo consecutive: -) +) [276] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot or-both.mo consecutive: @@ -3835,29 +4194,17 @@ ica- (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot -or-clock.mo [276]) +or-clock.mo [277]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot -or-both.mo -Overfull \hbox (7.51912pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 10.7. Controlling the DC motor from OpenModelica \T1/fvm/m/n -/10.95 277 - [] - -[277]) +or-both.mo [278]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot -or-loop.mo [278])) (./user-code/modbus/modbus-base.tex -Overfull \hbox (7.51912pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 10.7. Controlling the DC motor from OpenModelica \T1/fvm/m/n -/10.95 279 - [] - -[279] [280 +or-loop.mo [279])) (./user-code/modbus/modbus-base.tex [280] +Chapter 11. +[281 ] -Chapter 11. -[281] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig1.png, i -d=6976, 672.5125pt x 224.84pt> +d=6983, 672.5125pt x 224.84pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig1.p ng Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig1.pn @@ -3866,7 +4213,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/fig1.png used on input line 66. (pdftex.def) Requested size: 260.17021pt x 86.9805pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig2.png, i -d=6977, 360.34625pt x 375.4025pt> +d=6984, 360.34625pt x 375.4025pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig2.p ng Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig2.pn @@ -3877,7 +4224,7 @@ dbus/figures/fig2.png used on input line 74. [282 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig1. png (PNG copy)>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig3.png, i -d=6986, 481.04718pt x 214.55156pt> +d=6993, 481.04718pt x 214.55156pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig3.p ng Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig3.pn @@ -3887,8 +4234,43 @@ dbus/figures/fig3.png used on input line 120. (pdftex.def) Requested size: 260.17021pt x 116.03944pt. [283 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig2. png (PNG copy)>] -Overfull \hbox (46.15457pt too wide) in paragraph at lines 153--165 - [][] +Underfull \hbox (badness 10000) in paragraph at lines 155--156 +[]\T1/fvm/m/n/10.95 Discrete Out-put + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 156--157 +[]\T1/fvm/m/n/10.95 Discrete Out-put + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 157--158 +[]\T1/fvm/m/n/10.95 Discrete Out-put + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 158--159 +[]\T1/fvm/m/n/10.95 Discrete In-put + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 159--160 +[]\T1/fvm/m/n/10.95 Analog In-put + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 160--161 +[]\T1/fvm/m/n/10.95 Analog Out-put + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 161--162 +[]\T1/fvm/m/n/10.95 Analog Out-put + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 162--163 +[]\T1/fvm/m/n/10.95 Analog Out-put [] @@ -3900,9 +4282,9 @@ Overfull \hbox (11.69957pt too wide) in paragraph at lines 293--303 [][] [] -[287] [288] +[287] [288] [289] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/block-diagr -am.PNG, id=7038, 398.23781pt x 255.95625pt> +am.PNG, id=7051, 398.23781pt x 255.95625pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/block- diagram.PNG Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/block-d @@ -3911,7 +4293,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/block-diagram.PNG used on input line 419. (pdftex.def) Requested size: 187.90022pt x 120.76811pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/Full-Set-Up -.png, id=7039, 722.7pt x 542.025pt> +.png, id=7052, 722.7pt x 542.025pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/Full-S et-Up.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/Full-Se @@ -3919,19 +4301,15 @@ t-Up.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/Full-Set-Up.png used on input line 426. (pdftex.def) Requested size: 187.90022pt x 140.92317pt. - -Underfull \vbox (badness 1052) has occurred while \output is active [] - - [289] -[290 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/block- -diagram.PNG> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figure -s/Full-Set-Up.png>] + [290 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/block +-diagram.PNG> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figur +es/Full-Set-Up.png>] Overfull \hbox (8.93475pt too wide) in paragraph at lines 455--455 []\T1/cmr/bx/n/14.4 Software re-quired for this ex-per-i-ment [] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/arduino_cod -e_flowchart.png, id=7058, 645.41125pt x 1114.1625pt> +e_flowchart.png, id=7065, 645.41125pt x 1114.1625pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/arduin o_code_flowchart.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/arduino @@ -3942,7 +4320,7 @@ dbus/figures/arduino_code_flowchart.png used on input line 465. [291] [292 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/ arduino_code_flowchart.png (PNG copy)>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/flowchart.p -ng, id=7079, 786.94pt x 800.9925pt> +ng, id=7083, 786.94pt x 800.9925pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/flowch art.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/flowcha @@ -3952,24 +4330,13 @@ dbus/figures/flowchart.png used on input line 491. (pdftex.def) Requested size: 260.17021pt x 264.80501pt. (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/arduino/send_packet -.ino) [293]) (./user-code/modbus/modbus-scilab.tex [294 </home/sudhakak/Desktop +.ino [293])) (./user-code/modbus/modbus-scilab.tex [294 </home/sudhakak/Desktop /FLOSS-Arduino-Book/user-code/modbus/figures/flowchart.png (PNG copy)>] Overfull \hbox (4.28653pt too wide) in paragraph at lines 15--20 \T1/fvm/m/n/10.95 ergy me-ter via an RS485 mod-ule which fa-cil-i-tates long-di stance [] - -Overfull \hbox (19.99492pt too wide) in paragraph at lines 72--72 -[]\T1/cmr/bx/n/14.4 Reading the elec-tri-cal pa-ram-e-ters from - [] - - -Overfull \hbox (2.46637pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 11.5. Reading the electrical parameters from Scilab \T1/fvm/ -m/n/10.95 295 - [] - [295] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read_val.sce ) @@ -3978,15 +4345,9 @@ m/n/10.95 295 (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read_voltage .sci [296]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read_active_ -power.sci) -Overfull \hbox (2.46637pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 11.5. Reading the electrical parameters from Scilab \T1/fvm/ -m/n/10.95 297 - [] - -[297] +power.sci) [297] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/current-out -put.png, id=7171, 490.83376pt x 170.13562pt> +put.png, id=7178, 490.83376pt x 170.13562pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/curren t-output.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/current @@ -3995,7 +4356,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/current-output.png used on input line 143. (pdftex.def) Requested size: 289.07999pt x 100.2052pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/current-out -put-setup.jpg, id=7172, 277.035pt x 248.127pt> +put-setup.jpg, id=7179, 277.035pt x 248.127pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/curren t-output-setup.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/current @@ -4003,11 +4364,8 @@ t-output-setup.jpg Graphic file (type jpg) Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/current-output-setup.jpg used on input line 150. (pdftex.def) Requested size: 187.90022pt x 168.2925pt. - [298 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/curre -nt-output.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figu -res/current-output-setup.jpg>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/voltage-out -put.png, id=7181, 487.8225pt x 155.07938pt> +put.png, id=7182, 487.8225pt x 155.07938pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/voltag e-output.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/voltage @@ -4016,7 +4374,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/voltage-output.png used on input line 162. (pdftex.def) Requested size: 289.07999pt x 91.8983pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/voltage-out -put-setup.jpg, id=7182, 261.1356pt x 269.808pt> +put-setup.jpg, id=7183, 261.1356pt x 269.808pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/voltag e-output-setup.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/voltage @@ -4025,7 +4383,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/voltage-output-setup.jpg used on input line 169. (pdftex.def) Requested size: 187.90022pt x 194.14633pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/active-powe -r-output.png, id=7185, 492.33937pt x 185.94469pt> +r-output.png, id=7186, 492.33937pt x 185.94469pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/active -power-output.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/active- @@ -4040,7 +4398,7 @@ Overfull \hbox (12.39664pt too wide) in paragraph at lines 174--183 [] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/active-powe -r-output-setup.jpg, id=7186, 306.9066pt x 264.99pt> +r-output-setup.jpg, id=7187, 306.9066pt x 264.99pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/active -power-output-setup.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/active- @@ -4049,24 +4407,12 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/active-power-output-setup.jpg used on input line 186. (pdftex.def) Requested size: 187.90022pt x 162.24208pt. -Overfull \hbox (19.99492pt too wide) in paragraph at lines 194--194 -[]\T1/cmr/bx/n/14.4 Reading the elec-tri-cal pa-ram-e-ters from - [] - - -Underfull \vbox (badness 10000) has occurred while \output is active [] - - -Overfull \hbox (2.46637pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 11.5. Reading the electrical parameters from Scilab \T1/fvm/ -m/n/10.95 299 - [] +Underfull \vbox (badness 4954) has occurred while \output is active [] -[299 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/voltag -e-output.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figur -es/voltage-output-setup.jpg>] + [298 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/curre +nt-output.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/read_value_ -xcos.png, id=7194, 635.37375pt x 455.7025pt> +xcos.png, id=7197, 635.37375pt x 455.7025pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/read_v alue_xcos.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/read_va @@ -4074,32 +4420,91 @@ lue_xcos.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/read_value_xcos.png used on input line 207. (pdftex.def) Requested size: 187.90022pt x 134.76483pt. - [300 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/activ -e-power-output.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus -/figures/active-power-output-setup.jpg>] -Overfull \hbox (125.10992pt too wide) in paragraph at lines 223--235 - [][] + [299 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/curre +nt-output-setup.jpg> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbu +s/figures/voltage-output.png>] +Underfull \hbox (badness 10000) in paragraph at lines 224--224 +[]\T1/fvm/m/n/10.95 Parameter [] -) (./user-code/modbus/modbus-python.tex -Underfull \vbox (badness 10000) has occurred while \output is active [] - [301 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/read_ -value_xcos.png>] -Overfull \hbox (4.28653pt too wide) in paragraph at lines 15--20 -\T1/fvm/m/n/10.95 ergy me-ter via an RS485 mod-ule which fa-cil-i-tates long-di -stance +Underfull \hbox (badness 10000) in paragraph at lines 225--225 +[]\T1/fvm/m/n/10.95 Address byte + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 226--226 +[]\T1/fvm/m/n/10.95 Address byte + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 227--227 +[]\T1/fvm/m/n/10.95 Address byte + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 229--229 +[]\T1/fvm/m/n/10.95 Scalar vec-tor + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 229--229 +\T1/fvm/m/n/10.95 ad-di-tion/- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 229--229 +\T1/fvm/m/n/10.95 sub-trac-tion + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 230--230 +[]\T1/fvm/m/n/10.95 Block for [] -Overfull \hbox (19.99492pt too wide) in paragraph at lines 68--68 -[]\T1/cmr/bx/n/14.4 Reading the elec-tri-cal pa-ram-e-ters from +Underfull \hbox (badness 10000) in paragraph at lines 230--230 +\T1/fvm/m/n/10.95 user-defined [] +Underfull \hbox (badness 10000) in paragraph at lines 231--231 +[]\T1/fvm/m/n/10.95 Block in-her- + [] + + +Underfull \hbox (badness 4595) in paragraph at lines 231--231 +\T1/fvm/m/n/10.95 its(1) or not + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 233--233 +[]\T1/fvm/m/n/10.95 Initialisation + [] + +) (./user-code/modbus/modbus-python.tex Underfull \vbox (badness 10000) has occurred while \output is active [] + [300 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/volta +ge-output-setup.jpg> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbu +s/figures/active-power-output.png>] +Overfull \hbox (2.7819pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 11.7. Implementing Modbus protocol using Python \T1/fvm/m/n/ +10.95 301 + [] + +[301 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/active +-power-output-setup.jpg> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/m +odbus/figures/read_value_xcos.png>] +Underfull \vbox (badness 7925) has occurred while \output is active [] + [302] +Overfull \hbox (4.28653pt too wide) in paragraph at lines 15--20 +\T1/fvm/m/n/10.95 ergy me-ter via an RS485 mod-ule which fa-cil-i-tates long-di +stance + [] + + Overfull \hbox (1.8544pt too wide) in paragraph at lines 91--95 \T1/fvm/m/n/10.95 Avail-able at O r i g i n / u s e r - c o d e / m o d b u s / p y t h o n, see Foot-note []2[][] @@ -4107,7 +4512,7 @@ Overfull \hbox (1.8544pt too wide) in paragraph at lines 91--95 (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/python/read_current -.py) +.py [303]) Overfull \hbox (1.8544pt too wide) in paragraph at lines 100--104 \T1/fvm/m/n/10.95 Avail-able at O r i g i n / u s e r - c o d e / m o d b u s / p y t h o n, see Foot-note []2[][] @@ -4116,12 +4521,6 @@ Overfull \hbox (1.8544pt too wide) in paragraph at lines 100--104 (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/python/read_voltage .py) -Overfull \hbox (10.13986pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 11.8. Reading the electrical parameters from Python \T1/fvm/ -m/n/10.95 303 - [] - -[303] Overfull \hbox (5.44896pt too wide) in paragraph at lines 109--114 []\T1/fvm/m/n/10.95 Code for Sin-gle Phase Ac-tive Power Out- [] @@ -4134,65 +4533,72 @@ u s / p y t h o n, see Foot- (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/python/read_active_ -power.py)) (./user-code/modbus/modbus-julia.tex +power.py)) (./user-code/modbus/modbus-julia.tex [304] Overfull \hbox (4.28653pt too wide) in paragraph at lines 16--21 \T1/fvm/m/n/10.95 ergy me-ter via an RS485 mod-ule which fa-cil-i-tates long-di stance [] -[304] -(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readCurrent.j -l -Overfull \hbox (2.67067pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 11.10. Reading the electrical parameters from Julia \T1/fvm/ -m/n/10.95 305 + +Overfull \hbox (2.23691pt too wide) in paragraph at lines 69--69 +[]\T1/cmr/bx/n/14.4 Reading elec-tri-cal pa-ram-e-ters from [] -[305]) + +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [305] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readCurrent.j +l) Overfull \hbox (13.25113pt too wide) in paragraph at lines 88--92 []\T1/fvm/m/n/10.95 Code for Sin-gle Phase Volt-age Out-put. Avail- [] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readVoltage.j -l) +l [306]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readPower.jl) -) (./user-code/modbus/modbus-OM.tex [306] +) (./user-code/modbus/modbus-OM.tex +Overfull \hbox (2.1955pt too wide) in paragraph at lines 2--2 +[]\T1/cmr/bx/n/14.4 Implementing Mod-bus pro-to-col us- + [] + + +Overfull \hbox (47.95605pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 11.11. Implementing Modbus protocol using OpenModelica \T1/f +vm/m/n/10.95 307 + [] + +[307] Overfull \hbox (4.28653pt too wide) in paragraph at lines 15--20 \T1/fvm/m/n/10.95 ergy me-ter via an RS485 mod-ule which fa-cil-i-tates long-di stance [] -Underfull \vbox (badness 10000) has occurred while \output is active [] - - -Overfull \hbox (75.40279pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 11.11. Manifestation of Modbus protocol through OpenModelica - \T1/fvm/m/n/10.95 307 +Overfull \hbox (2.23691pt too wide) in paragraph at lines 25--25 +[]\T1/cmr/bx/n/14.4 Reading elec-tri-cal pa-ram-e-ters from [] -[307] + Overfull \hbox (2.36667pt too wide) in paragraph at lines 30--31 \T1/fvm/m/n/10.95 ments us-ing Open-Mod-el-ica are avail-able in-side OpenModel ica- [] - +[308] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/OpenModelica/readCu rrent.mo) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/OpenModelica/readVo -ltage.mo [308]) +ltage.mo) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/OpenModelica/readPo -wer.mo)) (./suppl/appendix.tex -Overfull \hbox (55.31401pt too wide) has occurred while \output is active -\T1/cmr/bx/n/10.95 11.12. Reading the electrical parameters from OpenModelica \ -T1/fvm/m/n/10.95 309 +wer.mo +Overfull \hbox (34.99956pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 11.12. Reading electrical parameters from OpenModelica \T1/f +vm/m/n/10.95 309 [] -[309] [310 - -] +[309])) (./suppl/appendix.tex [310] Appendix A. Underfull \hbox (badness 1028) in paragraph at lines 23--23 @@ -4204,151 +4610,80 @@ Underfull \hbox (badness 5878) in paragraph at lines 25--26 []\T1/fvm/m/n/10.95 External ac-tu-a-tors (mo-tor, [] -) (./floss-arduino.bbl [311] [312] -Overfull \hbox (1.24474pt too wide) in paragraph at lines 4--9 -\T1/fvm/m/n/10.95 https://www.scilab.org/community/scilabtec/2009/Use- - [] - +) (./floss-arduino.bbl [311 -Underfull \hbox (badness 10000) in paragraph at lines 11--15 -[]\T1/fvm/m/n/10.95 B. Jofret. Scilab-Arduino Tool-box. +] [312] +Underfull \hbox (badness 1776) in paragraph at lines 28--31 +[]\T1/fvm/m/n/10.95 Arduino Uno. []$https : / / www . arduino . cc / en / uplo +ads / [] -Underfull \hbox (badness 10000) in paragraph at lines 22--26 -[]\T1/fvm/m/n/10.95 Mateo Zlatar. Open source hard-ware logo. +Underfull \hbox (badness 10000) in paragraph at lines 44--47 +[]\T1/fvm/m/n/10.95 Arduino phone. []$https : / / www . instructables . com / [] -Underfull \hbox (badness 10000) in paragraph at lines 22--26 -\T1/fvm/m/n/10.95 http://www.oshwa.org/open-source-hardware-logo. - [] - +Underfull \hbox (badness 10000) in paragraph at lines 55--59 +[]\T1/fvm/m/n/10.95 3d printer. []$http : / / www . instructables . com / id / -Overfull \hbox (129.62752pt too wide) in paragraph at lines 28--31 -[]\T1/fvm/m/n/10.95 Arduino Uno. https://www.arduino.cc/en/uploads/Main/Arduin -oUnoFront240.jpg. [] -Overfull \hbox (122.35892pt too wide) in paragraph at lines 33--37 -[]\T1/fvm/m/n/10.95 Arduino Mega. https://www.arduino.cc/en/uploads/Main/Ardui -noMega2560_R3 - [] - - -Overfull \hbox (96.97359pt too wide) in paragraph at lines 39--42 -[]\T1/fvm/m/n/10.95 Lilypod Ar-duino. https://www.arduino.cc/en/uploads/Main/L -ilyPad_5.jpg. - [] - - -Overfull \hbox (50.09685pt too wide) in paragraph at lines 44--47 -[]\T1/fvm/m/n/10.95 Arduino phone. http://www.instructables.com/id/ArduinoPhon -e/. - [] - - -Underfull \hbox (badness 10000) in paragraph at lines 49--53 -[]\T1/fvm/m/n/10.95 Candy sort-ing ma-chine. - [] - - -Overfull \hbox (10.18777pt too wide) in paragraph at lines 49--53 -\T1/fvm/m/n/10.95 http://beta.ivc.no/wiki/index.php/Skittles_M%26M%27s +Underfull \hbox (badness 2150) in paragraph at lines 55--59 +\T1/fvm/m/n/10.95 Arduino-[]Controlled-[]CNC-[]3D-[]Printer/$[]. Seen on 28 [] [313 ] -Overfull \hbox (5.26077pt too wide) in paragraph at lines 60--63 -[]\T1/fvm/m/n/10.95 Shield. http://codeshield.diyode.com/about/schematics/. +Underfull \hbox (badness 10000) in paragraph at lines 61--64 +[]\T1/fvm/m/n/10.95 Shield. []$http : / / codeshield . diyode . com / about / [] -Overfull \hbox (2.5521pt too wide) in paragraph at lines 70--73 -[]\T1/fvm/m/n/10.95 scilab.org. http://www.scilab.org/scilab/interoperability. - +Underfull \hbox (badness 10000) in paragraph at lines 66--69 +[]\T1/fvm/m/n/10.95 scilab.org. []$https : / / www . scilab . org / about / [] -Overfull \hbox (2.59352pt too wide) in paragraph at lines 80--83 -[]\T1/fvm/m/n/10.95 python.org. https://www.python.org/doc/essays/blurb/. +Underfull \hbox (badness 1286) in paragraph at lines 66--69 +\T1/fvm/m/n/10.95 scilab-[]open-[]source-[]software$[]. Seen on 17 Novem-ber [] -Underfull \hbox (badness 10000) in paragraph at lines 95--98 -[]\T1/fvm/m/n/10.95 Juliaio/serialports.jl: Se-ri-al-port io +Underfull \hbox (badness 10000) in paragraph at lines 71--74 +[]\T1/fvm/m/n/10.95 scilab.org. []$http : / / www . scilab . org / scilab / [] -Underfull \hbox (badness 10000) in paragraph at lines 95--98 -\T1/fvm/m/n/10.95 streams in ju-lia backed by py-se-rial. +Underfull \hbox (badness 10000) in paragraph at lines 81--84 +[]\T1/fvm/m/n/10.95 python.org. []$https : / / www . python . org / doc / essa +ys / [] -Underfull \hbox (badness 3128) in paragraph at lines 95--98 -\T1/fvm/m/n/10.95 https://github.com/JuliaIO/SerialPorts.jl. Seen on - [] - - -Underfull \hbox (badness 10000) in paragraph at lines 105--108 -[]\T1/fvm/m/n/10.95 Thermistor - wikipedia. - [] - - -Underfull \hbox (badness 2884) in paragraph at lines 105--108 -\T1/fvm/m/n/10.95 https://en.wikipedia.org/wiki/Thermistor. Seen on - [] - - -Underfull \hbox (badness 10000) in paragraph at lines 110--113 -[]\T1/fvm/m/n/10.95 Secrets of Ar-duino PWM. - [] - - -Overfull \hbox (28.78189pt too wide) in paragraph at lines 110--113 -\T1/fvm/m/n/10.95 https://www.arduino.cc/en/Tutorial/SecretsOfArduinoPWM. - [] - - -Overfull \hbox (24.9248pt too wide) in paragraph at lines 115--118 -[]\T1/fvm/m/n/10.95 Servo. https://www.arduino.cc/reference/en/libraries/servo -/. +Underfull \hbox (badness 3199) in paragraph at lines 96--99 +[]\T1/fvm/m/n/10.95 Juliaio/serialports.jl: Se-ri-al-port io streams in ju- [] [314] -Overfull \hbox (11.99152pt too wide) in paragraph at lines 138--141 -[]\T1/fvm/m/n/10.95 Online CRC. https://www.lammertbies.nl/comm/info/crc- - [] - - -Underfull \hbox (badness 10000) in paragraph at lines 143--146 -[]\T1/fvm/m/n/10.95 Floating point con-verter. https://www.h- - [] - - -Underfull \hbox (badness 10000) in paragraph at lines 143--146 -\T1/fvm/m/n/10.95 schmidt.net/FloatConverter/IEEE754.html. Seen - [] - - -Underfull \hbox (badness 3849) in paragraph at lines 153--158 +Underfull \hbox (badness 3849) in paragraph at lines 154--159 []\T1/fvm/m/n/10.95 Ecolight sen-sor shield v-1.2 com-pat-i-ble with Ar- [] -Underfull \hbox (badness 10000) in paragraph at lines 153--158 +Underfull \hbox (badness 10000) in paragraph at lines 154--159 \T1/fvm/m/n/10.95 duino Uno ed-u-ca-tional elec-tronic hobby kit. [] -Underfull \hbox (badness 10000) in paragraph at lines 153--158 +Underfull \hbox (badness 10000) in paragraph at lines 154--159 \T1/fvm/m/n/10.95 https://www.flipkart.com/ecolight-sensor-shield-v-1- [] -Underfull \hbox (badness 10000) in paragraph at lines 153--158 +Underfull \hbox (badness 10000) in paragraph at lines 154--159 \T1/fvm/m/n/10.95 2-compatible-arduino-uno-educational-electronic-hobby- [] @@ -4361,16 +4696,16 @@ Underfull \hbox (badness 10000) in paragraph at lines 153--158 LaTeX Font Warning: Some font shapes were not available, defaults substituted. Package rerunfilecheck Info: File `floss-arduino.out' has not changed. -(rerunfilecheck) Checksum: 2FBAB44F63C640F24AD1E63867AB79A3;16298. +(rerunfilecheck) Checksum: 5B77CBF584AA6D6D084B5FEE46ACB9A2;15988. ) Here is how much of TeX's memory you used: 17940 strings out of 481252 355418 string characters out of 5915889 - 967461 words of memory out of 5000000 + 966461 words of memory out of 5000000 29830 multiletter control sequences out of 15000+600000 425775 words of font info for 70 fonts, out of 8000000 for 9000 17 hyphenation exceptions out of 8191 - 71i,10n,79p,795b,2002s stack positions out of 5000i,500n,10000p,200000b,80000s + 71i,12n,79p,795b,2023s stack positions out of 5000i,500n,10000p,200000b,80000s </home/sudhakak/.texlive2020/texmf-var/fonts/pk/ljfour/jknappen/ec/ecsi1095. 600pk> </home/sudhakak/.texlive2020/texmf-var/fonts/pk/ljfour/jknappen/ec/ecrm1 000.600pk> </home/sudhakak/.texlive2020/texmf-var/fonts/pk/ljfour/jknappen/ec/e @@ -4399,10 +4734,10 @@ st/fonts/type1/public/amsfonts/cm/cmr9.pfb></usr/share/texlive/texmf-dist/fonts /type1/public/amsfonts/cm/cmsy10.pfb></usr/share/texlive/texmf-dist/fonts/type1 /public/amsfonts/cm/cmsy6.pfb></usr/share/texlive/texmf-dist/fonts/type1/public /amsfonts/cm/cmsy8.pfb></usr/share/texmf/fonts/type1/tfrupee/tfrupee.pfb> -Output written on floss-arduino.pdf (349 pages, 34544494 bytes). +Output written on floss-arduino.pdf (349 pages, 34547743 bytes). PDF statistics: - 8949 PDF objects out of 10688 (max. 8388607) - 7658 compressed objects within 77 object streams + 9002 PDF objects out of 10688 (max. 8388607) + 7711 compressed objects within 78 object streams 3940 named destinations out of 4296 (max. 500000) 2336 words of extra memory for PDF output out of 10000 (max. 10000000) diff --git a/floss-arduino.lot b/floss-arduino.lot index 43a589e..187137f 100644 --- a/floss-arduino.lot +++ b/floss-arduino.lot @@ -8,37 +8,37 @@ \addvspace {10\p@ } \contentsline {table}{\numberline {4.1}{\ignorespaces Parameters to light the blue LED in Xcos\relax }}{92}{table.caption.82}% \contentsline {table}{\numberline {4.2}{\ignorespaces Parameters to light the blue LED in Xcos for two seconds\relax }}{93}{table.caption.84}% -\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{94}{table.caption.86}% -\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{95}{table.caption.88}% +\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{95}{table.caption.86}% +\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{96}{table.caption.88}% \addvspace {10\p@ } \contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the pushbutton status on the display block\relax }}{123}{table.caption.94}% -\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{124}{table.caption.96}% +\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{125}{table.caption.96}% \addvspace {10\p@ } \contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{148}{table.caption.103}% -\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{150}{table.caption.106}% +\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{151}{table.caption.106}% \addvspace {10\p@ } -\contentsline {table}{\numberline {7.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{170}{table.caption.110}% +\contentsline {table}{\numberline {7.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{177}{table.caption.110}% \addvspace {10\p@ } \contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{193}{table.caption.118}% \contentsline {table}{\numberline {8.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{195}{table.caption.121}% \addvspace {10\p@ } \contentsline {table}{\numberline {9.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{211}{table.caption.128}% \contentsline {table}{\numberline {9.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{223}{table.caption.132}% -\contentsline {table}{\numberline {9.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{224}{table.caption.134}% -\contentsline {table}{\numberline {9.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{225}{table.caption.136}% -\contentsline {table}{\numberline {9.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{227}{table.caption.138}% +\contentsline {table}{\numberline {9.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{225}{table.caption.134}% +\contentsline {table}{\numberline {9.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{227}{table.caption.136}% +\contentsline {table}{\numberline {9.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{228}{table.caption.138}% \addvspace {10\p@ } \contentsline {table}{\numberline {10.1}{\ignorespaces Values to be passed for different H-Bridge circuits\relax }}{246}{table.caption.140}% \contentsline {table}{\numberline {10.2}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{259}{table.caption.148}% -\contentsline {table}{\numberline {10.3}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{260}{table.caption.150}% -\contentsline {table}{\numberline {10.4}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{262}{table.caption.152}% +\contentsline {table}{\numberline {10.3}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{261}{table.caption.150}% +\contentsline {table}{\numberline {10.4}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{263}{table.caption.152}% \addvspace {10\p@ } \contentsline {table}{\numberline {11.1}{\ignorespaces Pins available on RS485 and their usage\relax }}{283}{table.caption.161}% \contentsline {table}{\numberline {11.2}{\ignorespaces Operations supported by Modbus RTU\relax }}{285}{table.caption.163}% \contentsline {table}{\numberline {11.3}{\ignorespaces Individual parameter address in EM6400\relax }}{285}{table.caption.164}% -\contentsline {table}{\numberline {11.4}{\ignorespaces A request packet to access V1 in EM6400\relax }}{286}{table.caption.166}% -\contentsline {table}{\numberline {11.5}{\ignorespaces A response packet to access V1 in EM6400\relax }}{287}{table.caption.167}% +\contentsline {table}{\numberline {11.4}{\ignorespaces A request packet to access V1 in EM6400\relax }}{287}{table.caption.166}% +\contentsline {table}{\numberline {11.5}{\ignorespaces A response packet to access V1 in EM6400\relax }}{288}{table.caption.167}% \contentsline {table}{\numberline {11.6}{\ignorespaces Memory storage of a four-byte integer in little-endian and big-endian\relax }}{289}{table.caption.168}% -\contentsline {table}{\numberline {11.7}{\ignorespaces Xcos parameters to read energy meter values\relax }}{301}{table.caption.181}% +\contentsline {table}{\numberline {11.7}{\ignorespaces Xcos parameters to read energy meter values\relax }}{302}{table.caption.181}% \addvspace {10\p@ } \contentsline {table}{\numberline {A.1}{\ignorespaces Approximate cost of the components\relax }}{312}{table.caption.185}% diff --git a/floss-arduino.out b/floss-arduino.out index 1e42dd2..9801085 100644 --- a/floss-arduino.out +++ b/floss-arduino.out @@ -56,8 +56,8 @@ \BOOKMARK [2][-]{subsection.3.6.5}{Firmware}{section.3.6}% 56 \BOOKMARK [0][-]{chapter.4}{Interfacing a Light Emitting Diode}{}% 57 \BOOKMARK [1][-]{section.4.1}{Preliminaries}{chapter.4}% 58 -\BOOKMARK [1][-]{section.4.2}{Connecting an RGB LED with Arduino Uno using a breadboard}{chapter.4}% 59 -\BOOKMARK [1][-]{section.4.3}{Lighting the LED from the Arduino IDE}{chapter.4}% 60 +\BOOKMARK [1][-]{section.4.2}{Connecting an RGB LED using breadboard}{chapter.4}% 59 +\BOOKMARK [1][-]{section.4.3}{Lighting the LED from Arduino IDE}{chapter.4}% 60 \BOOKMARK [2][-]{subsection.4.3.1}{Lighting the LED}{section.4.3}% 61 \BOOKMARK [2][-]{subsection.4.3.2}{Arduino Code}{section.4.3}% 62 \BOOKMARK [1][-]{section.4.4}{Lighting the LED from Scilab}{chapter.4}% 63 @@ -75,115 +75,115 @@ \BOOKMARK [2][-]{subsection.4.8.2}{OpenModelica Code}{section.4.8}% 75 \BOOKMARK [0][-]{chapter.5}{Interfacing a Pushbutton}{}% 76 \BOOKMARK [1][-]{section.5.1}{Preliminaries}{chapter.5}% 77 -\BOOKMARK [1][-]{section.5.2}{Connecting a pushbutton with Arduino Uno using a breadboard}{chapter.5}% 78 -\BOOKMARK [1][-]{section.5.3}{Reading the pushbutton status from the Arduino IDE}{chapter.5}% 79 +\BOOKMARK [1][-]{section.5.2}{Connecting a pushbutton using breadboard}{chapter.5}% 78 +\BOOKMARK [1][-]{section.5.3}{Reading pushbutton status from Arduino IDE}{chapter.5}% 79 \BOOKMARK [2][-]{subsection.5.3.1}{Reading the pushbutton status}{section.5.3}% 80 \BOOKMARK [2][-]{subsection.5.3.2}{Arduino Code}{section.5.3}% 81 -\BOOKMARK [1][-]{section.5.4}{Reading the pushbutton Status from Scilab}{chapter.5}% 82 +\BOOKMARK [1][-]{section.5.4}{Reading pushbutton Status from Scilab}{chapter.5}% 82 \BOOKMARK [2][-]{subsection.5.4.1}{Reading the pushbutton Status}{section.5.4}% 83 \BOOKMARK [2][-]{subsection.5.4.2}{Scilab Code}{section.5.4}% 84 \BOOKMARK [1][-]{section.5.5}{Accessing the pushbutton from Xcos}{chapter.5}% 85 -\BOOKMARK [1][-]{section.5.6}{Reading the pushbutton status from Python}{chapter.5}% 86 +\BOOKMARK [1][-]{section.5.6}{Reading pushbutton status from Python}{chapter.5}% 86 \BOOKMARK [2][-]{subsection.5.6.1}{Reading the pushbutton status}{section.5.6}% 87 \BOOKMARK [2][-]{subsection.5.6.2}{Python Code}{section.5.6}% 88 -\BOOKMARK [1][-]{section.5.7}{Reading the pushbutton status from Julia}{chapter.5}% 89 +\BOOKMARK [1][-]{section.5.7}{Reading pushbutton status from Julia}{chapter.5}% 89 \BOOKMARK [2][-]{subsection.5.7.1}{Reading the pushbutton status}{section.5.7}% 90 \BOOKMARK [2][-]{subsection.5.7.2}{Julia Code}{section.5.7}% 91 -\BOOKMARK [1][-]{section.5.8}{Reading the pushbutton status from OpenModelica}{chapter.5}% 92 +\BOOKMARK [1][-]{section.5.8}{Reading pushbutton status from OpenModelica}{chapter.5}% 92 \BOOKMARK [2][-]{subsection.5.8.1}{Reading the pushbutton status}{section.5.8}% 93 \BOOKMARK [2][-]{subsection.5.8.2}{OpenModelica Code}{section.5.8}% 94 \BOOKMARK [0][-]{chapter.6}{Interfacing a Light Dependent Resistor}{}% 95 \BOOKMARK [1][-]{section.6.1}{Preliminaries}{chapter.6}% 96 -\BOOKMARK [1][-]{section.6.2}{Connecting an LDR with Arduino Uno using a breadboard}{chapter.6}% 97 -\BOOKMARK [1][-]{section.6.3}{Interfacing the LDR through the Arduino IDE}{chapter.6}% 98 +\BOOKMARK [1][-]{section.6.2}{Connecting an LDR using breadboard}{chapter.6}% 97 +\BOOKMARK [1][-]{section.6.3}{Interfacing LDR through Arduino IDE}{chapter.6}% 98 \BOOKMARK [2][-]{subsection.6.3.1}{Interfacing the LDR}{section.6.3}% 99 \BOOKMARK [2][-]{subsection.6.3.2}{Arduino Code}{section.6.3}% 100 \BOOKMARK [1][-]{section.6.4}{Interfacing the LDR through Scilab}{chapter.6}% 101 \BOOKMARK [2][-]{subsection.6.4.1}{Interfacing the LDR}{section.6.4}% 102 \BOOKMARK [2][-]{subsection.6.4.2}{Scilab Code}{section.6.4}% 103 \BOOKMARK [1][-]{section.6.5}{Interfacing the LDR through Xcos}{chapter.6}% 104 -\BOOKMARK [1][-]{section.6.6}{Interfacing the LDR through Python}{chapter.6}% 105 +\BOOKMARK [1][-]{section.6.6}{Interfacing LDR through Python}{chapter.6}% 105 \BOOKMARK [2][-]{subsection.6.6.1}{Interfacing the LDR}{section.6.6}% 106 \BOOKMARK [2][-]{subsection.6.6.2}{Python Code}{section.6.6}% 107 -\BOOKMARK [1][-]{section.6.7}{Interfacing the LDR through Julia}{chapter.6}% 108 +\BOOKMARK [1][-]{section.6.7}{Interfacing LDR through Julia}{chapter.6}% 108 \BOOKMARK [2][-]{subsection.6.7.1}{Interfacing the LDR}{section.6.7}% 109 \BOOKMARK [2][-]{subsection.6.7.2}{Julia Code}{section.6.7}% 110 -\BOOKMARK [1][-]{section.6.8}{Interfacing the LDR through OpenModelica}{chapter.6}% 111 +\BOOKMARK [1][-]{section.6.8}{Interfacing LDR through OpenModelica}{chapter.6}% 111 \BOOKMARK [2][-]{subsection.6.8.1}{Interfacing the LDR}{section.6.8}% 112 \BOOKMARK [2][-]{subsection.6.8.2}{OpenModelica Code}{section.6.8}% 113 \BOOKMARK [0][-]{chapter.7}{Interfacing a Potentiometer}{}% 114 \BOOKMARK [1][-]{section.7.1}{Preliminaries}{chapter.7}% 115 -\BOOKMARK [1][-]{section.7.2}{Connecting a potentiometer with Arduino Uno using a breadboard}{chapter.7}% 116 -\BOOKMARK [1][-]{section.7.3}{Reading the potentiometer from the Arduino IDE}{chapter.7}% 117 +\BOOKMARK [1][-]{section.7.2}{Connecting a potentiometer using breadboard}{chapter.7}% 116 +\BOOKMARK [1][-]{section.7.3}{Reading potentiometer from Arduino IDE}{chapter.7}% 117 \BOOKMARK [2][-]{subsection.7.3.1}{Reading the potentiometer}{section.7.3}% 118 \BOOKMARK [2][-]{subsection.7.3.2}{Arduino Code}{section.7.3}% 119 -\BOOKMARK [1][-]{section.7.4}{Reading the potentiometer from Scilab}{chapter.7}% 120 +\BOOKMARK [1][-]{section.7.4}{Reading potentiometer from Scilab}{chapter.7}% 120 \BOOKMARK [2][-]{subsection.7.4.1}{Reading the potentiometer}{section.7.4}% 121 \BOOKMARK [2][-]{subsection.7.4.2}{Scilab Code}{section.7.4}% 122 -\BOOKMARK [1][-]{section.7.5}{Reading the potentiometer from Xcos}{chapter.7}% 123 -\BOOKMARK [1][-]{section.7.6}{Reading the potentiometer from Python}{chapter.7}% 124 +\BOOKMARK [1][-]{section.7.5}{Reading potentiometer from Xcos}{chapter.7}% 123 +\BOOKMARK [1][-]{section.7.6}{Reading potentiometer from Python}{chapter.7}% 124 \BOOKMARK [2][-]{subsection.7.6.1}{Reading the potentiometer}{section.7.6}% 125 \BOOKMARK [2][-]{subsection.7.6.2}{Python Code}{section.7.6}% 126 -\BOOKMARK [1][-]{section.7.7}{Reading the potentiometer from Julia}{chapter.7}% 127 +\BOOKMARK [1][-]{section.7.7}{Reading potentiometer from Julia}{chapter.7}% 127 \BOOKMARK [2][-]{subsection.7.7.1}{Reading the potentiometer}{section.7.7}% 128 \BOOKMARK [2][-]{subsection.7.7.2}{Julia Code}{section.7.7}% 129 -\BOOKMARK [1][-]{section.7.8}{Reading the potentiometer from OpenModelica}{chapter.7}% 130 +\BOOKMARK [1][-]{section.7.8}{Reading potentiometer from OpenModelica}{chapter.7}% 130 \BOOKMARK [2][-]{subsection.7.8.1}{Reading the potentiometer}{section.7.8}% 131 \BOOKMARK [2][-]{subsection.7.8.2}{OpenModelica Code}{section.7.8}% 132 \BOOKMARK [0][-]{chapter.8}{Interfacing a Thermistor}{}% 133 \BOOKMARK [1][-]{section.8.1}{Preliminaries}{chapter.8}% 134 -\BOOKMARK [1][-]{section.8.2}{Connecting a thermistor with Arduino Uno using a breadboard}{chapter.8}% 135 -\BOOKMARK [1][-]{section.8.3}{Interfacing the thermistor from the Arduino IDE}{chapter.8}% 136 +\BOOKMARK [1][-]{section.8.2}{Connecting a thermistor using breadboard}{chapter.8}% 135 +\BOOKMARK [1][-]{section.8.3}{Interfacing thermistor from Arduino IDE}{chapter.8}% 136 \BOOKMARK [2][-]{subsection.8.3.1}{Interfacing the thermistor}{section.8.3}% 137 \BOOKMARK [2][-]{subsection.8.3.2}{Arduino Code}{section.8.3}% 138 -\BOOKMARK [1][-]{section.8.4}{Interfacing the thermistor from Scilab}{chapter.8}% 139 +\BOOKMARK [1][-]{section.8.4}{Interfacing thermistor from Scilab}{chapter.8}% 139 \BOOKMARK [2][-]{subsection.8.4.1}{Interfacing the thermistor}{section.8.4}% 140 \BOOKMARK [2][-]{subsection.8.4.2}{Scilab Code}{section.8.4}% 141 -\BOOKMARK [1][-]{section.8.5}{Interfacing the thermistor from Xcos}{chapter.8}% 142 -\BOOKMARK [1][-]{section.8.6}{Interfacing the thermistor from Python}{chapter.8}% 143 +\BOOKMARK [1][-]{section.8.5}{Interfacing thermistor from Xcos}{chapter.8}% 142 +\BOOKMARK [1][-]{section.8.6}{Interfacing thermistor from Python}{chapter.8}% 143 \BOOKMARK [2][-]{subsection.8.6.1}{Interfacing the thermistor}{section.8.6}% 144 \BOOKMARK [2][-]{subsection.8.6.2}{Python Code}{section.8.6}% 145 -\BOOKMARK [1][-]{section.8.7}{Interfacing the thermistor from Julia}{chapter.8}% 146 +\BOOKMARK [1][-]{section.8.7}{Interfacing thermistor from Julia}{chapter.8}% 146 \BOOKMARK [2][-]{subsection.8.7.1}{Interfacing the thermistor}{section.8.7}% 147 \BOOKMARK [2][-]{subsection.8.7.2}{Julia Code}{section.8.7}% 148 -\BOOKMARK [1][-]{section.8.8}{Interfacing the thermistor from OpenModelica}{chapter.8}% 149 +\BOOKMARK [1][-]{section.8.8}{Interfacing thermistor from OpenModelica}{chapter.8}% 149 \BOOKMARK [2][-]{subsection.8.8.1}{Interfacing the thermistor}{section.8.8}% 150 \BOOKMARK [2][-]{subsection.8.8.2}{OpenModelica Code}{section.8.8}% 151 \BOOKMARK [0][-]{chapter.9}{Interfacing a Servomotor}{}% 152 \BOOKMARK [1][-]{section.9.1}{Preliminaries}{chapter.9}% 153 -\BOOKMARK [1][-]{section.9.2}{Connecting a servomotor with Arduino Uno using a breadboard}{chapter.9}% 154 -\BOOKMARK [1][-]{section.9.3}{Controlling the servomotor through the Arduino IDE}{chapter.9}% 155 +\BOOKMARK [1][-]{section.9.2}{Connecting a servomotor using breadboard}{chapter.9}% 154 +\BOOKMARK [1][-]{section.9.3}{Controlling servomotor through Arduino IDE}{chapter.9}% 155 \BOOKMARK [2][-]{subsection.9.3.1}{Controlling the servomotor}{section.9.3}% 156 \BOOKMARK [2][-]{subsection.9.3.2}{Arduino Code}{section.9.3}% 157 -\BOOKMARK [1][-]{section.9.4}{Controlling the servomotor through Scilab}{chapter.9}% 158 +\BOOKMARK [1][-]{section.9.4}{Controlling servomotor through Scilab}{chapter.9}% 158 \BOOKMARK [2][-]{subsection.9.4.1}{Controlling the servomotor}{section.9.4}% 159 \BOOKMARK [2][-]{subsection.9.4.2}{Scilab Code}{section.9.4}% 160 -\BOOKMARK [1][-]{section.9.5}{Controling the servomotor through Xcos}{chapter.9}% 161 -\BOOKMARK [1][-]{section.9.6}{Controlling the servomotor through Python}{chapter.9}% 162 +\BOOKMARK [1][-]{section.9.5}{Controling servomotor through Xcos}{chapter.9}% 161 +\BOOKMARK [1][-]{section.9.6}{Controlling servomotor through Python}{chapter.9}% 162 \BOOKMARK [2][-]{subsection.9.6.1}{Controlling the servomotor}{section.9.6}% 163 \BOOKMARK [2][-]{subsection.9.6.2}{Python Code}{section.9.6}% 164 -\BOOKMARK [1][-]{section.9.7}{Controlling the servomotor through Julia}{chapter.9}% 165 +\BOOKMARK [1][-]{section.9.7}{Controlling servomotor through Julia}{chapter.9}% 165 \BOOKMARK [2][-]{subsection.9.7.1}{Controlling the servomotor}{section.9.7}% 166 \BOOKMARK [2][-]{subsection.9.7.2}{Julia Code}{section.9.7}% 167 -\BOOKMARK [1][-]{section.9.8}{Controlling the servomotor through OpenModelica}{chapter.9}% 168 +\BOOKMARK [1][-]{section.9.8}{Controlling servomotor through OpenModelica}{chapter.9}% 168 \BOOKMARK [2][-]{subsection.9.8.1}{Controlling the servomotor}{section.9.8}% 169 \BOOKMARK [2][-]{subsection.9.8.2}{OpenModelica Code}{section.9.8}% 170 \BOOKMARK [0][-]{chapter.10}{Interfacing a DC Motor}{}% 171 \BOOKMARK [1][-]{section.10.1}{Preliminaries}{chapter.10}% 172 -\BOOKMARK [1][-]{section.10.2}{Controlling the DC motor from Arduino}{chapter.10}% 173 +\BOOKMARK [1][-]{section.10.2}{Controlling DC motor from Arduino IDE}{chapter.10}% 173 \BOOKMARK [2][-]{subsection.10.2.1}{Controlling the DC motor}{section.10.2}% 174 \BOOKMARK [2][-]{subsection.10.2.2}{Arduino Code}{section.10.2}% 175 -\BOOKMARK [1][-]{section.10.3}{Controlling the DC motor from Scilab}{chapter.10}% 176 +\BOOKMARK [1][-]{section.10.3}{Controlling DC motor from Scilab}{chapter.10}% 176 \BOOKMARK [2][-]{subsection.10.3.1}{Controlling the DC motor}{section.10.3}% 177 \BOOKMARK [2][-]{subsection.10.3.2}{Scilab Code}{section.10.3}% 178 -\BOOKMARK [1][-]{section.10.4}{Controlling the DC motor from Xcos}{chapter.10}% 179 -\BOOKMARK [1][-]{section.10.5}{Controlling the DC motor from Python}{chapter.10}% 180 +\BOOKMARK [1][-]{section.10.4}{Controlling DC motor from Xcos}{chapter.10}% 179 +\BOOKMARK [1][-]{section.10.5}{Controlling DC motor from Python}{chapter.10}% 180 \BOOKMARK [2][-]{subsection.10.5.1}{Controlling the DC motor}{section.10.5}% 181 \BOOKMARK [2][-]{subsection.10.5.2}{Python Code}{section.10.5}% 182 -\BOOKMARK [1][-]{section.10.6}{Controlling the DC motor from Julia}{chapter.10}% 183 +\BOOKMARK [1][-]{section.10.6}{Controlling DC motor from Julia}{chapter.10}% 183 \BOOKMARK [2][-]{subsection.10.6.1}{Controlling the DC motor}{section.10.6}% 184 \BOOKMARK [2][-]{subsection.10.6.2}{Julia Code}{section.10.6}% 185 -\BOOKMARK [1][-]{section.10.7}{Controlling the DC motor from OpenModelica}{chapter.10}% 186 +\BOOKMARK [1][-]{section.10.7}{Controlling DC motor from OpenModelica}{chapter.10}% 186 \BOOKMARK [2][-]{subsection.10.7.1}{Controlling the DC motor}{section.10.7}% 187 \BOOKMARK [2][-]{subsection.10.7.2}{OpenModelica Code}{section.10.7}% 188 \BOOKMARK [0][-]{chapter.11}{Implementation of Modbus Protocol}{}% 189 @@ -193,22 +193,22 @@ \BOOKMARK [1][-]{section.11.2}{Setup for the experiment}{chapter.11}% 193 \BOOKMARK [1][-]{section.11.3}{Software required for this experiment}{chapter.11}% 194 \BOOKMARK [2][-]{subsection.11.3.1}{Arduino Firmware}{section.11.3}% 195 -\BOOKMARK [1][-]{section.11.4}{Manifestation of Modbus protocol through Scilab}{chapter.11}% 196 -\BOOKMARK [1][-]{section.11.5}{Reading the electrical parameters from Scilab}{chapter.11}% 197 +\BOOKMARK [1][-]{section.11.4}{Implementing Modbus protocol using Scilab}{chapter.11}% 196 +\BOOKMARK [1][-]{section.11.5}{Reading electrical parameters from Scilab}{chapter.11}% 197 \BOOKMARK [2][-]{subsection.11.5.1}{Reading the electrical parameters}{section.11.5}% 198 \BOOKMARK [2][-]{subsection.11.5.2}{Scilab Code}{section.11.5}% 199 \BOOKMARK [2][-]{subsection.11.5.3}{Output in the Scilab Console}{section.11.5}% 200 -\BOOKMARK [1][-]{section.11.6}{Reading the electrical parameters from Xcos}{chapter.11}% 201 -\BOOKMARK [1][-]{section.11.7}{Manifestation of Modbus protocol through Python}{chapter.11}% 202 -\BOOKMARK [1][-]{section.11.8}{Reading the electrical parameters from Python}{chapter.11}% 203 +\BOOKMARK [1][-]{section.11.6}{Reading electrical parameters from Xcos}{chapter.11}% 201 +\BOOKMARK [1][-]{section.11.7}{Implementing Modbus protocol using Python}{chapter.11}% 202 +\BOOKMARK [1][-]{section.11.8}{Reading electrical parameters from Python}{chapter.11}% 203 \BOOKMARK [2][-]{subsection.11.8.1}{Reading the electrical parameters}{section.11.8}% 204 \BOOKMARK [2][-]{subsection.11.8.2}{Python Code}{section.11.8}% 205 -\BOOKMARK [1][-]{section.11.9}{Manifestation of Modbus protocol through Julia}{chapter.11}% 206 -\BOOKMARK [1][-]{section.11.10}{Reading the electrical parameters from Julia}{chapter.11}% 207 +\BOOKMARK [1][-]{section.11.9}{Implementing Modbus protocol using Julia}{chapter.11}% 206 +\BOOKMARK [1][-]{section.11.10}{Reading electrical parameters from Julia}{chapter.11}% 207 \BOOKMARK [2][-]{subsection.11.10.1}{Reading the electrical parameters}{section.11.10}% 208 \BOOKMARK [2][-]{subsection.11.10.2}{Julia Code}{section.11.10}% 209 -\BOOKMARK [1][-]{section.11.11}{Manifestation of Modbus protocol through OpenModelica}{chapter.11}% 210 -\BOOKMARK [1][-]{section.11.12}{Reading the electrical parameters from OpenModelica}{chapter.11}% 211 +\BOOKMARK [1][-]{section.11.11}{Implementing Modbus protocol using OpenModelica}{chapter.11}% 210 +\BOOKMARK [1][-]{section.11.12}{Reading electrical parameters from OpenModelica}{chapter.11}% 211 \BOOKMARK [2][-]{subsection.11.12.1}{Reading the electrical parameters}{section.11.12}% 212 \BOOKMARK [2][-]{subsection.11.12.2}{OpenModelica Code}{section.11.12}% 213 \BOOKMARK [0][-]{appendix.A}{Procuring the Hardware}{}% 214 diff --git a/floss-arduino.pdf b/floss-arduino.pdf Binary files differindex 2871c22..707690f 100644 --- a/floss-arduino.pdf +++ b/floss-arduino.pdf diff --git a/floss-arduino.pyd b/floss-arduino.pyd index 1a3a9bd..5f2161a 100644 --- a/floss-arduino.pyd +++ b/floss-arduino.pyd @@ -1,10 +1,10 @@ \addvspace {10pt} \contentsline {section}{\numberline {3.{1}}A Python script to check whether the firmware is properly installed or not}{54}{pymass.3.1}% \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{98}{pymass.4.1}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{99}{pymass.4.2}% -\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{100}{pymass.4.3}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{101}{pymass.4.4}% +\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{99}{pymass.4.1}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{100}{pymass.4.2}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{101}{pymass.4.3}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{102}{pymass.4.4}% \addvspace {10pt} \contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and display it on the Command Prompt or the Terminal}{127}{pymass.5.1}% \contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{128}{pymass.5.2}% @@ -12,20 +12,20 @@ \contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{152}{pymass.6.1}% \contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{153}{pymass.6.2}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{171}{pymass.7.1}% +\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{170}{pymass.7.1}% \addvspace {10pt} \contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{198}{pymass.8.1}% \contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{199}{pymass.8.2}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{229}{pymass.9.1}% -\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{230}{pymass.9.2}% -\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{231}{pymass.9.3}% -\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{232}{pymass.9.4}% +\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{230}{pymass.9.1}% +\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{231}{pymass.9.2}% +\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{232}{pymass.9.3}% +\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{233}{pymass.9.4}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{265}{pymass.10.1}% -\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{266}{pymass.10.2}% -\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{267}{pymass.10.3}% +\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{266}{pymass.10.1}% +\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{267}{pymass.10.2}% +\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{268}{pymass.10.3}% \addvspace {10pt} \contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{303}{pymass.11.1}% -\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{303}{pymass.11.2}% +\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{304}{pymass.11.2}% \contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{304}{pymass.11.3}% diff --git a/floss-arduino.thm b/floss-arduino.thm index 9f7f321..f05f282 100644 --- a/floss-arduino.thm +++ b/floss-arduino.thm @@ -13,17 +13,17 @@ \contentsline {codemass}{{Scilab Code}{4.{2}}{}}{90}{codemass.4.2}% \contentsline {codemass}{{Scilab Code}{4.{3}}{}}{90}{codemass.4.3}% \contentsline {codemass}{{Scilab Code}{4.{4}}{}}{90}{codemass.4.4}% -\contentsline {egmass}{{Exercise}{4.{3}}{}}{93}{egmass.4.3}% -\contentsline {egmass}{{Exercise}{4.{4}}{}}{98}{egmass.4.4}% -\contentsline {pymass}{{Python Code}{4.{1}}{}}{98}{pymass.4.1}% -\contentsline {pymass}{{Python Code}{4.{2}}{}}{99}{pymass.4.2}% -\contentsline {pymass}{{Python Code}{4.{3}}{}}{100}{pymass.4.3}% -\contentsline {pymass}{{Python Code}{4.{4}}{}}{101}{pymass.4.4}% -\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{104}{juliamass.4.1}% -\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{104}{juliamass.4.2}% +\contentsline {egmass}{{Exercise}{4.{3}}{}}{95}{egmass.4.3}% +\contentsline {egmass}{{Exercise}{4.{4}}{}}{99}{egmass.4.4}% +\contentsline {pymass}{{Python Code}{4.{1}}{}}{99}{pymass.4.1}% +\contentsline {pymass}{{Python Code}{4.{2}}{}}{100}{pymass.4.2}% +\contentsline {pymass}{{Python Code}{4.{3}}{}}{101}{pymass.4.3}% +\contentsline {pymass}{{Python Code}{4.{4}}{}}{102}{pymass.4.4}% +\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{105}{juliamass.4.1}% +\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{105}{juliamass.4.2}% \contentsline {juliamass}{{Julia Code}{4.{3}}{}}{105}{juliamass.4.3}% -\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{105}{juliamass.4.4}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{108}{OpenModelicamass.4.1}% +\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{106}{juliamass.4.4}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{109}{OpenModelicamass.4.1}% \contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{109}{OpenModelicamass.4.2}% \contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{110}{OpenModelicamass.4.3}% \contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{111}{OpenModelicamass.4.4}% @@ -44,20 +44,20 @@ \contentsline {egmass}{{Exercise}{6.{2}}{}}{145}{egmass.6.2}% \contentsline {codemass}{{Scilab Code}{6.{1}}{}}{145}{codemass.6.1}% \contentsline {codemass}{{Scilab Code}{6.{2}}{}}{146}{codemass.6.2}% -\contentsline {egmass}{{Exercise}{6.{3}}{}}{151}{egmass.6.3}% +\contentsline {egmass}{{Exercise}{6.{3}}{}}{152}{egmass.6.3}% \contentsline {pymass}{{Python Code}{6.{1}}{}}{152}{pymass.6.1}% \contentsline {pymass}{{Python Code}{6.{2}}{}}{153}{pymass.6.2}% -\contentsline {egmass}{{Exercise}{6.{4}}{}}{155}{egmass.6.4}% +\contentsline {egmass}{{Exercise}{6.{4}}{}}{156}{egmass.6.4}% \contentsline {juliamass}{{Julia Code}{6.{1}}{}}{156}{juliamass.6.1}% -\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{156}{juliamass.6.2}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{158}{OpenModelicamass.6.1}% +\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{157}{juliamass.6.2}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{159}{OpenModelicamass.6.1}% \contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{159}{OpenModelicamass.6.2}% \contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{165}{ardmass.7.1}% \contentsline {codemass}{{Scilab Code}{7.{1}}{}}{167}{codemass.7.1}% \contentsline {egmass}{{Exercise}{7.{1}}{}}{169}{egmass.7.1}% -\contentsline {pymass}{{Python Code}{7.{1}}{}}{171}{pymass.7.1}% -\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{174}{juliamass.7.1}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{176}{OpenModelicamass.7.1}% +\contentsline {pymass}{{Python Code}{7.{1}}{}}{170}{pymass.7.1}% +\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{173}{juliamass.7.1}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{175}{OpenModelicamass.7.1}% \contentsline {egmass}{{Exercise}{8.{1}}{}}{185}{egmass.8.1}% \contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{185}{ardmass.8.1}% \contentsline {ardmass}{{Arduino Code}{8.{2}}{}}{186}{ardmass.8.2}% @@ -68,7 +68,7 @@ \contentsline {pymass}{{Python Code}{8.{2}}{}}{199}{pymass.8.2}% \contentsline {juliamass}{{Julia Code}{8.{1}}{}}{203}{juliamass.8.1}% \contentsline {juliamass}{{Julia Code}{8.{2}}{}}{203}{juliamass.8.2}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{206}{OpenModelicamass.8.1}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{207}{OpenModelicamass.8.1}% \contentsline {OpenModelicamass}{{OpenModelica Code}{8.{2}}{}}{207}{OpenModelicamass.8.2}% \contentsline {egmass}{{Exercise}{9.{1}}{}}{215}{egmass.9.1}% \contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{215}{ardmass.9.1}% @@ -79,18 +79,18 @@ \contentsline {codemass}{{Scilab Code}{9.{2}}{}}{221}{codemass.9.2}% \contentsline {codemass}{{Scilab Code}{9.{3}}{}}{221}{codemass.9.3}% \contentsline {codemass}{{Scilab Code}{9.{4}}{}}{221}{codemass.9.4}% -\contentsline {pymass}{{Python Code}{9.{1}}{}}{229}{pymass.9.1}% -\contentsline {pymass}{{Python Code}{9.{2}}{}}{230}{pymass.9.2}% -\contentsline {pymass}{{Python Code}{9.{3}}{}}{231}{pymass.9.3}% -\contentsline {pymass}{{Python Code}{9.{4}}{}}{232}{pymass.9.4}% -\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{236}{juliamass.9.1}% -\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{236}{juliamass.9.2}% -\contentsline {juliamass}{{Julia Code}{9.{3}}{}}{236}{juliamass.9.3}% -\contentsline {juliamass}{{Julia Code}{9.{4}}{}}{237}{juliamass.9.4}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{240}{OpenModelicamass.9.1}% +\contentsline {pymass}{{Python Code}{9.{1}}{}}{230}{pymass.9.1}% +\contentsline {pymass}{{Python Code}{9.{2}}{}}{231}{pymass.9.2}% +\contentsline {pymass}{{Python Code}{9.{3}}{}}{232}{pymass.9.3}% +\contentsline {pymass}{{Python Code}{9.{4}}{}}{233}{pymass.9.4}% +\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{237}{juliamass.9.1}% +\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{237}{juliamass.9.2}% +\contentsline {juliamass}{{Julia Code}{9.{3}}{}}{237}{juliamass.9.3}% +\contentsline {juliamass}{{Julia Code}{9.{4}}{}}{238}{juliamass.9.4}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{241}{OpenModelicamass.9.1}% \contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{241}{OpenModelicamass.9.2}% \contentsline {OpenModelicamass}{{OpenModelica Code}{9.{3}}{}}{242}{OpenModelicamass.9.3}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{4}}{}}{242}{OpenModelicamass.9.4}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{4}}{}}{243}{OpenModelicamass.9.4}% \contentsline {egmass}{{Exercise}{10.{1}}{}}{251}{egmass.10.1}% \contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{251}{ardmass.10.1}% \contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{252}{ardmass.10.2}% @@ -99,27 +99,27 @@ \contentsline {codemass}{{Scilab Code}{10.{1}}{}}{256}{codemass.10.1}% \contentsline {codemass}{{Scilab Code}{10.{2}}{}}{257}{codemass.10.2}% \contentsline {codemass}{{Scilab Code}{10.{3}}{}}{257}{codemass.10.3}% -\contentsline {egmass}{{Exercise}{10.{3}}{}}{261}{egmass.10.3}% -\contentsline {pymass}{{Python Code}{10.{1}}{}}{265}{pymass.10.1}% -\contentsline {pymass}{{Python Code}{10.{2}}{}}{266}{pymass.10.2}% -\contentsline {pymass}{{Python Code}{10.{3}}{}}{267}{pymass.10.3}% +\contentsline {egmass}{{Exercise}{10.{3}}{}}{260}{egmass.10.3}% +\contentsline {pymass}{{Python Code}{10.{1}}{}}{266}{pymass.10.1}% +\contentsline {pymass}{{Python Code}{10.{2}}{}}{267}{pymass.10.2}% +\contentsline {pymass}{{Python Code}{10.{3}}{}}{268}{pymass.10.3}% \contentsline {juliamass}{{Julia Code}{10.{1}}{}}{272}{juliamass.10.1}% -\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{272}{juliamass.10.2}% -\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{272}{juliamass.10.3}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{276}{OpenModelicamass.10.1}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{277}{OpenModelicamass.10.2}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{278}{OpenModelicamass.10.3}% +\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{273}{juliamass.10.2}% +\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{273}{juliamass.10.3}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{277}{OpenModelicamass.10.1}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{278}{OpenModelicamass.10.2}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{279}{OpenModelicamass.10.3}% \contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{293}{ardmass.11.1}% -\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{295}{codemass.11.1}% +\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{296}{codemass.11.1}% \contentsline {codemass}{{Scilab Code}{11.{2}}{}}{296}{codemass.11.2}% \contentsline {codemass}{{Scilab Code}{11.{3}}{}}{296}{codemass.11.3}% \contentsline {codemass}{{Scilab Code}{11.{4}}{}}{297}{codemass.11.4}% \contentsline {pymass}{{Python Code}{11.{1}}{}}{303}{pymass.11.1}% -\contentsline {pymass}{{Python Code}{11.{2}}{}}{303}{pymass.11.2}% +\contentsline {pymass}{{Python Code}{11.{2}}{}}{304}{pymass.11.2}% \contentsline {pymass}{{Python Code}{11.{3}}{}}{304}{pymass.11.3}% -\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{305}{juliamass.11.1}% +\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{306}{juliamass.11.1}% \contentsline {juliamass}{{Julia Code}{11.{2}}{}}{306}{juliamass.11.2}% -\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{306}{juliamass.11.3}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{308}{OpenModelicamass.11.1}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{308}{OpenModelicamass.11.2}% +\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{307}{juliamass.11.3}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{309}{OpenModelicamass.11.1}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{309}{OpenModelicamass.11.2}% \contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{309}{OpenModelicamass.11.3}% diff --git a/floss-arduino.toc b/floss-arduino.toc index f0b5bcb..f9ba614 100644 --- a/floss-arduino.toc +++ b/floss-arduino.toc @@ -19,10 +19,10 @@ \contentsline {subsection}{\numberline {2.3.2}Arduino Uno Board}{12}{subsection.2.3.2}% \contentsline {subsection}{\numberline {2.3.3}Popular Arduino Projects}{14}{subsection.2.3.3}% \contentsline {paragraph}{Arduino phone:}{14}{section*.18}% -\contentsline {paragraph}{Candy sorting machine:}{14}{section*.20}% +\contentsline {paragraph}{Candy sorting machine:}{15}{section*.20}% \contentsline {paragraph}{3D printers:}{15}{section*.21}% \contentsline {section}{\numberline {2.4}Shield}{15}{section.2.4}% -\contentsline {section}{\numberline {2.5}Experimental Test Bed}{17}{section.2.5}% +\contentsline {section}{\numberline {2.5}Experimental Test Bed}{19}{section.2.5}% \contentsline {section}{\numberline {2.6}Doing the Experiments with a Breadboard}{20}{section.2.6}% \contentsline {chapter}{\numberline {3}Communication between Software and Arduino}{21}{chapter.3}% \contentsline {section}{\numberline {3.1}Arduino IDE}{22}{section.3.1}% @@ -55,13 +55,13 @@ \contentsline {section}{\numberline {3.6}OpenModelica}{66}{section.3.6}% \contentsline {subsection}{\numberline {3.6.1}Downloading and installing on Windows}{67}{subsection.3.6.1}% \contentsline {subsection}{\numberline {3.6.2}Downloading and installing on GNU/Linux Ubuntu}{68}{subsection.3.6.2}% -\contentsline {subsection}{\numberline {3.6.3}Simulating models in OpenModelica}{70}{subsection.3.6.3}% +\contentsline {subsection}{\numberline {3.6.3}Simulating models in OpenModelica}{69}{subsection.3.6.3}% \contentsline {subsection}{\numberline {3.6.4}OpenModelica-Arduino toolbox}{75}{subsection.3.6.4}% \contentsline {subsection}{\numberline {3.6.5}Firmware}{76}{subsection.3.6.5}% \contentsline {chapter}{\numberline {4}Interfacing a Light Emitting Diode}{79}{chapter.4}% \contentsline {section}{\numberline {4.1}Preliminaries}{79}{section.4.1}% -\contentsline {section}{\numberline {4.2}Connecting an RGB LED with Arduino Uno\ using a breadboard}{81}{section.4.2}% -\contentsline {section}{\numberline {4.3}Lighting the LED from the Arduino IDE}{82}{section.4.3}% +\contentsline {section}{\numberline {4.2}Connecting an RGB LED using breadboard}{81}{section.4.2}% +\contentsline {section}{\numberline {4.3}Lighting the LED from Arduino IDE}{82}{section.4.3}% \contentsline {subsection}{\numberline {4.3.1}Lighting the LED}{82}{subsection.4.3.1}% \contentsline {paragraph}{Note:}{84}{section*.78}% \contentsline {paragraph}{Note:}{84}{section*.80}% @@ -72,141 +72,141 @@ \contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{91}{section.4.5}% \contentsline {section}{\numberline {4.6}Lighting the LED from Python}{96}{section.4.6}% \contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{96}{subsection.4.6.1}% -\contentsline {subsection}{\numberline {4.6.2}Python Code}{98}{subsection.4.6.2}% +\contentsline {subsection}{\numberline {4.6.2}Python Code}{99}{subsection.4.6.2}% \contentsline {section}{\numberline {4.7}Lighting the LED from Julia}{103}{section.4.7}% \contentsline {subsection}{\numberline {4.7.1}Lighting the LED}{103}{subsection.4.7.1}% -\contentsline {subsection}{\numberline {4.7.2}Julia Code}{104}{subsection.4.7.2}% +\contentsline {subsection}{\numberline {4.7.2}Julia Code}{105}{subsection.4.7.2}% \contentsline {section}{\numberline {4.8}Lighting the LED from OpenModelica}{106}{section.4.8}% \contentsline {subsection}{\numberline {4.8.1}Lighting the LED}{106}{subsection.4.8.1}% -\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{108}{subsection.4.8.2}% +\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{109}{subsection.4.8.2}% \contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{113}{chapter.5}% \contentsline {section}{\numberline {5.1}Preliminaries}{113}{section.5.1}% -\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{115}{section.5.2}% -\contentsline {section}{\numberline {5.3}Reading the pushbutton status from the Arduino IDE}{116}{section.5.3}% +\contentsline {section}{\numberline {5.2}Connecting a pushbutton using breadboard}{115}{section.5.2}% +\contentsline {section}{\numberline {5.3}Reading pushbutton status from Arduino IDE}{116}{section.5.3}% \contentsline {subsection}{\numberline {5.3.1}Reading the pushbutton status}{116}{subsection.5.3.1}% \contentsline {subsection}{\numberline {5.3.2}Arduino Code}{118}{subsection.5.3.2}% -\contentsline {section}{\numberline {5.4}Reading the pushbutton Status from Scilab}{119}{section.5.4}% +\contentsline {section}{\numberline {5.4}Reading pushbutton Status from Scilab}{119}{section.5.4}% \contentsline {subsection}{\numberline {5.4.1}Reading the pushbutton Status}{119}{subsection.5.4.1}% \contentsline {subsection}{\numberline {5.4.2}Scilab Code}{121}{subsection.5.4.2}% \contentsline {section}{\numberline {5.5}Accessing the pushbutton from Xcos}{122}{section.5.5}% -\contentsline {section}{\numberline {5.6}Reading the pushbutton status from Python}{125}{section.5.6}% +\contentsline {section}{\numberline {5.6}Reading pushbutton status from Python}{125}{section.5.6}% \contentsline {subsection}{\numberline {5.6.1}Reading the pushbutton status}{125}{subsection.5.6.1}% \contentsline {subsection}{\numberline {5.6.2}Python Code}{127}{subsection.5.6.2}% -\contentsline {section}{\numberline {5.7}Reading the pushbutton status from Julia}{129}{section.5.7}% +\contentsline {section}{\numberline {5.7}Reading pushbutton status from Julia}{129}{section.5.7}% \contentsline {subsection}{\numberline {5.7.1}Reading the pushbutton status}{129}{subsection.5.7.1}% \contentsline {subsection}{\numberline {5.7.2}Julia Code}{130}{subsection.5.7.2}% -\contentsline {section}{\numberline {5.8}Reading the pushbutton status from OpenModelica}{131}{section.5.8}% +\contentsline {section}{\numberline {5.8}Reading pushbutton status from OpenModelica}{131}{section.5.8}% \contentsline {subsection}{\numberline {5.8.1}Reading the pushbutton status}{131}{subsection.5.8.1}% \contentsline {subsection}{\numberline {5.8.2}OpenModelica Code}{133}{subsection.5.8.2}% \contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{137}{chapter.6}% \contentsline {section}{\numberline {6.1}Preliminaries}{137}{section.6.1}% -\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{139}{section.6.2}% -\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{141}{section.6.3}% +\contentsline {section}{\numberline {6.2}Connecting an LDR using breadboard}{139}{section.6.2}% +\contentsline {section}{\numberline {6.3}Interfacing LDR through Arduino IDE}{141}{section.6.3}% \contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{141}{subsection.6.3.1}% \contentsline {subsection}{\numberline {6.3.2}Arduino Code}{142}{subsection.6.3.2}% \contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{143}{section.6.4}% \contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{143}{subsection.6.4.1}% \contentsline {subsection}{\numberline {6.4.2}Scilab Code}{145}{subsection.6.4.2}% \contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{146}{section.6.5}% -\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{149}{section.6.6}% +\contentsline {section}{\numberline {6.6}Interfacing LDR through Python}{149}{section.6.6}% \contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{149}{subsection.6.6.1}% \contentsline {subsection}{\numberline {6.6.2}Python Code}{152}{subsection.6.6.2}% -\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{154}{section.6.7}% -\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{154}{subsection.6.7.1}% +\contentsline {section}{\numberline {6.7}Interfacing LDR through Julia}{155}{section.6.7}% +\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{155}{subsection.6.7.1}% \contentsline {subsection}{\numberline {6.7.2}Julia Code}{156}{subsection.6.7.2}% -\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{157}{section.6.8}% +\contentsline {section}{\numberline {6.8}Interfacing LDR through OpenModelica}{157}{section.6.8}% \contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{157}{subsection.6.8.1}% -\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{158}{subsection.6.8.2}% +\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{159}{subsection.6.8.2}% \contentsline {chapter}{\numberline {7}Interfacing a Potentiometer}{161}{chapter.7}% \contentsline {section}{\numberline {7.1}Preliminaries}{161}{section.7.1}% -\contentsline {section}{\numberline {7.2}Connecting a potentiometer with Arduino Uno\ using a breadboard}{163}{section.7.2}% -\contentsline {section}{\numberline {7.3}Reading the potentiometer from the Arduino IDE}{164}{section.7.3}% +\contentsline {section}{\numberline {7.2}Connecting a potentiometer using breadboard}{163}{section.7.2}% +\contentsline {section}{\numberline {7.3}Reading potentiometer from Arduino IDE}{164}{section.7.3}% \contentsline {subsection}{\numberline {7.3.1}Reading the potentiometer}{164}{subsection.7.3.1}% \contentsline {subsection}{\numberline {7.3.2}Arduino Code}{165}{subsection.7.3.2}% -\contentsline {section}{\numberline {7.4}Reading the potentiometer from Scilab}{166}{section.7.4}% +\contentsline {section}{\numberline {7.4}Reading potentiometer from Scilab}{166}{section.7.4}% \contentsline {subsection}{\numberline {7.4.1}Reading the potentiometer}{166}{subsection.7.4.1}% \contentsline {subsection}{\numberline {7.4.2}Scilab Code}{167}{subsection.7.4.2}% -\contentsline {section}{\numberline {7.5}Reading the potentiometer from Xcos}{168}{section.7.5}% -\contentsline {section}{\numberline {7.6}Reading the potentiometer from Python}{169}{section.7.6}% +\contentsline {section}{\numberline {7.5}Reading potentiometer from Xcos}{168}{section.7.5}% +\contentsline {section}{\numberline {7.6}Reading potentiometer from Python}{169}{section.7.6}% \contentsline {subsection}{\numberline {7.6.1}Reading the potentiometer}{169}{subsection.7.6.1}% -\contentsline {subsection}{\numberline {7.6.2}Python Code}{171}{subsection.7.6.2}% -\contentsline {section}{\numberline {7.7}Reading the potentiometer from Julia}{173}{section.7.7}% -\contentsline {subsection}{\numberline {7.7.1}Reading the potentiometer}{173}{subsection.7.7.1}% -\contentsline {subsection}{\numberline {7.7.2}Julia Code}{174}{subsection.7.7.2}% -\contentsline {section}{\numberline {7.8}Reading the potentiometer from OpenModelica}{175}{section.7.8}% -\contentsline {subsection}{\numberline {7.8.1}Reading the potentiometer}{175}{subsection.7.8.1}% -\contentsline {subsection}{\numberline {7.8.2}OpenModelica Code}{176}{subsection.7.8.2}% +\contentsline {subsection}{\numberline {7.6.2}Python Code}{170}{subsection.7.6.2}% +\contentsline {section}{\numberline {7.7}Reading potentiometer from Julia}{172}{section.7.7}% +\contentsline {subsection}{\numberline {7.7.1}Reading the potentiometer}{172}{subsection.7.7.1}% +\contentsline {subsection}{\numberline {7.7.2}Julia Code}{173}{subsection.7.7.2}% +\contentsline {section}{\numberline {7.8}Reading potentiometer from OpenModelica}{174}{section.7.8}% +\contentsline {subsection}{\numberline {7.8.1}Reading the potentiometer}{174}{subsection.7.8.1}% +\contentsline {subsection}{\numberline {7.8.2}OpenModelica Code}{175}{subsection.7.8.2}% \contentsline {chapter}{\numberline {8}Interfacing a Thermistor}{179}{chapter.8}% \contentsline {section}{\numberline {8.1}Preliminaries}{179}{section.8.1}% -\contentsline {section}{\numberline {8.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{180}{section.8.2}% -\contentsline {section}{\numberline {8.3}Interfacing the thermistor from the Arduino IDE}{183}{section.8.3}% +\contentsline {section}{\numberline {8.2}Connecting a thermistor using breadboard}{180}{section.8.2}% +\contentsline {section}{\numberline {8.3}Interfacing thermistor from Arduino IDE}{183}{section.8.3}% \contentsline {subsection}{\numberline {8.3.1}Interfacing the thermistor}{183}{subsection.8.3.1}% \contentsline {paragraph}{Note:}{185}{section*.115}% \contentsline {subsection}{\numberline {8.3.2}Arduino Code}{185}{subsection.8.3.2}% -\contentsline {section}{\numberline {8.4}Interfacing the thermistor from Scilab}{187}{section.8.4}% +\contentsline {section}{\numberline {8.4}Interfacing thermistor from Scilab}{187}{section.8.4}% \contentsline {subsection}{\numberline {8.4.1}Interfacing the thermistor}{187}{subsection.8.4.1}% \contentsline {paragraph}{Note:}{189}{section*.116}% \contentsline {subsection}{\numberline {8.4.2}Scilab Code}{190}{subsection.8.4.2}% -\contentsline {section}{\numberline {8.5}Interfacing the thermistor from Xcos}{191}{section.8.5}% -\contentsline {paragraph}{Note:}{194}{section*.123}% -\contentsline {section}{\numberline {8.6}Interfacing the thermistor from Python}{195}{section.8.6}% -\contentsline {subsection}{\numberline {8.6.1}Interfacing the thermistor}{195}{subsection.8.6.1}% +\contentsline {section}{\numberline {8.5}Interfacing thermistor from Xcos}{191}{section.8.5}% +\contentsline {paragraph}{Note:}{195}{section*.123}% +\contentsline {section}{\numberline {8.6}Interfacing thermistor from Python}{196}{section.8.6}% +\contentsline {subsection}{\numberline {8.6.1}Interfacing the thermistor}{196}{subsection.8.6.1}% \contentsline {paragraph}{Note:}{198}{section*.124}% \contentsline {subsection}{\numberline {8.6.2}Python Code}{198}{subsection.8.6.2}% -\contentsline {section}{\numberline {8.7}Interfacing the thermistor from Julia}{200}{section.8.7}% -\contentsline {subsection}{\numberline {8.7.1}Interfacing the thermistor}{200}{subsection.8.7.1}% -\contentsline {paragraph}{Note:}{202}{section*.125}% +\contentsline {section}{\numberline {8.7}Interfacing thermistor from Julia}{201}{section.8.7}% +\contentsline {subsection}{\numberline {8.7.1}Interfacing the thermistor}{201}{subsection.8.7.1}% +\contentsline {paragraph}{Note:}{203}{section*.125}% \contentsline {subsection}{\numberline {8.7.2}Julia Code}{203}{subsection.8.7.2}% -\contentsline {section}{\numberline {8.8}Interfacing the thermistor from OpenModelica}{204}{section.8.8}% +\contentsline {section}{\numberline {8.8}Interfacing thermistor from OpenModelica}{204}{section.8.8}% \contentsline {subsection}{\numberline {8.8.1}Interfacing the thermistor}{204}{subsection.8.8.1}% \contentsline {paragraph}{Note:}{206}{section*.126}% \contentsline {subsection}{\numberline {8.8.2}OpenModelica Code}{206}{subsection.8.8.2}% \contentsline {chapter}{\numberline {9}Interfacing a Servomotor}{209}{chapter.9}% \contentsline {section}{\numberline {9.1}Preliminaries}{209}{section.9.1}% -\contentsline {section}{\numberline {9.2}Connecting a servomotor with Arduino Uno\ using a breadboard}{211}{section.9.2}% -\contentsline {section}{\numberline {9.3}Controlling the servomotor through the Arduino IDE}{212}{section.9.3}% +\contentsline {section}{\numberline {9.2}Connecting a servomotor using breadboard}{211}{section.9.2}% +\contentsline {section}{\numberline {9.3}Controlling servomotor through Arduino IDE}{212}{section.9.3}% \contentsline {subsection}{\numberline {9.3.1}Controlling the servomotor}{212}{subsection.9.3.1}% \contentsline {subsection}{\numberline {9.3.2}Arduino Code}{215}{subsection.9.3.2}% -\contentsline {section}{\numberline {9.4}Controlling the servomotor through Scilab}{218}{section.9.4}% +\contentsline {section}{\numberline {9.4}Controlling servomotor through Scilab}{218}{section.9.4}% \contentsline {subsection}{\numberline {9.4.1}Controlling the servomotor}{218}{subsection.9.4.1}% \contentsline {subsection}{\numberline {9.4.2}Scilab Code}{220}{subsection.9.4.2}% -\contentsline {section}{\numberline {9.5}Controling the servomotor through Xcos}{222}{section.9.5}% -\contentsline {section}{\numberline {9.6}Controlling the servomotor through Python}{226}{section.9.6}% +\contentsline {section}{\numberline {9.5}Controling servomotor through Xcos}{222}{section.9.5}% +\contentsline {section}{\numberline {9.6}Controlling servomotor through Python}{226}{section.9.6}% \contentsline {subsection}{\numberline {9.6.1}Controlling the servomotor}{226}{subsection.9.6.1}% -\contentsline {subsection}{\numberline {9.6.2}Python Code}{229}{subsection.9.6.2}% -\contentsline {section}{\numberline {9.7}Controlling the servomotor through Julia}{233}{section.9.7}% -\contentsline {subsection}{\numberline {9.7.1}Controlling the servomotor}{233}{subsection.9.7.1}% -\contentsline {subsection}{\numberline {9.7.2}Julia Code}{236}{subsection.9.7.2}% -\contentsline {section}{\numberline {9.8}Controlling the servomotor through OpenModelica}{237}{section.9.8}% -\contentsline {subsection}{\numberline {9.8.1}Controlling the servomotor}{237}{subsection.9.8.1}% -\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{240}{subsection.9.8.2}% +\contentsline {subsection}{\numberline {9.6.2}Python Code}{230}{subsection.9.6.2}% +\contentsline {section}{\numberline {9.7}Controlling servomotor through Julia}{234}{section.9.7}% +\contentsline {subsection}{\numberline {9.7.1}Controlling the servomotor}{234}{subsection.9.7.1}% +\contentsline {subsection}{\numberline {9.7.2}Julia Code}{237}{subsection.9.7.2}% +\contentsline {section}{\numberline {9.8}Controlling servomotor through OpenModelica}{238}{section.9.8}% +\contentsline {subsection}{\numberline {9.8.1}Controlling the servomotor}{238}{subsection.9.8.1}% +\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{241}{subsection.9.8.2}% \contentsline {chapter}{\numberline {10}Interfacing a DC Motor}{245}{chapter.10}% \contentsline {section}{\numberline {10.1}Preliminaries}{245}{section.10.1}% -\contentsline {section}{\numberline {10.2}Controlling the DC motor from Arduino}{249}{section.10.2}% +\contentsline {section}{\numberline {10.2}Controlling DC motor from Arduino IDE}{249}{section.10.2}% \contentsline {subsection}{\numberline {10.2.1}Controlling the DC motor}{249}{subsection.10.2.1}% \contentsline {paragraph}{Note:}{249}{section*.144}% \contentsline {subsection}{\numberline {10.2.2}Arduino Code}{251}{subsection.10.2.2}% -\contentsline {section}{\numberline {10.3}Controlling the DC motor from Scilab}{253}{section.10.3}% +\contentsline {section}{\numberline {10.3}Controlling DC motor from Scilab}{253}{section.10.3}% \contentsline {subsection}{\numberline {10.3.1}Controlling the DC motor}{253}{subsection.10.3.1}% \contentsline {paragraph}{Note:}{253}{section*.145}% \contentsline {paragraph}{Note:}{255}{section*.146}% \contentsline {subsection}{\numberline {10.3.2}Scilab Code}{256}{subsection.10.3.2}% -\contentsline {section}{\numberline {10.4}Controlling the DC motor from Xcos}{258}{section.10.4}% -\contentsline {section}{\numberline {10.5}Controlling the DC motor from Python}{262}{section.10.5}% +\contentsline {section}{\numberline {10.4}Controlling DC motor from Xcos}{258}{section.10.4}% +\contentsline {section}{\numberline {10.5}Controlling DC motor from Python}{262}{section.10.5}% \contentsline {subsection}{\numberline {10.5.1}Controlling the DC motor}{262}{subsection.10.5.1}% \contentsline {paragraph}{Note:}{262}{section*.153}% -\contentsline {paragraph}{Note:}{264}{section*.154}% -\contentsline {subsection}{\numberline {10.5.2}Python Code}{265}{subsection.10.5.2}% -\contentsline {section}{\numberline {10.6}Controlling the DC motor from Julia}{269}{section.10.6}% +\contentsline {paragraph}{Note:}{265}{section*.154}% +\contentsline {subsection}{\numberline {10.5.2}Python Code}{266}{subsection.10.5.2}% +\contentsline {section}{\numberline {10.6}Controlling DC motor from Julia}{269}{section.10.6}% \contentsline {subsection}{\numberline {10.6.1}Controlling the DC motor}{269}{subsection.10.6.1}% -\contentsline {paragraph}{Note:}{269}{section*.155}% +\contentsline {paragraph}{Note:}{270}{section*.155}% \contentsline {paragraph}{Note:}{271}{section*.156}% \contentsline {subsection}{\numberline {10.6.2}Julia Code}{272}{subsection.10.6.2}% -\contentsline {section}{\numberline {10.7}Controlling the DC motor from OpenModelica}{273}{section.10.7}% -\contentsline {subsection}{\numberline {10.7.1}Controlling the DC motor}{273}{subsection.10.7.1}% -\contentsline {paragraph}{Note:}{273}{section*.157}% -\contentsline {paragraph}{Note:}{275}{section*.158}% -\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{276}{subsection.10.7.2}% +\contentsline {section}{\numberline {10.7}Controlling DC motor from OpenModelica}{274}{section.10.7}% +\contentsline {subsection}{\numberline {10.7.1}Controlling the DC motor}{274}{subsection.10.7.1}% +\contentsline {paragraph}{Note:}{274}{section*.157}% +\contentsline {paragraph}{Note:}{276}{section*.158}% +\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{277}{subsection.10.7.2}% \contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{281}{chapter.11}% \contentsline {section}{\numberline {11.1}Preliminaries}{281}{section.11.1}% \contentsline {subsection}{\numberline {11.1.1}Energy meter}{283}{subsection.11.1.1}% @@ -215,26 +215,26 @@ \contentsline {section}{\numberline {11.2}Setup for the experiment}{290}{section.11.2}% \contentsline {section}{\numberline {11.3}Software required for this experiment}{291}{section.11.3}% \contentsline {subsection}{\numberline {11.3.1}Arduino Firmware}{293}{subsection.11.3.1}% -\contentsline {section}{\numberline {11.4}Manifestation of Modbus protocol through Scilab}{294}{section.11.4}% -\contentsline {section}{\numberline {11.5}Reading the electrical parameters from Scilab}{295}{section.11.5}% +\contentsline {section}{\numberline {11.4}Implementing Modbus protocol using Scilab}{294}{section.11.4}% +\contentsline {section}{\numberline {11.5}Reading electrical parameters from Scilab}{295}{section.11.5}% \contentsline {subsection}{\numberline {11.5.1}Reading the electrical parameters}{295}{subsection.11.5.1}% -\contentsline {subsection}{\numberline {11.5.2}Scilab Code}{295}{subsection.11.5.2}% +\contentsline {subsection}{\numberline {11.5.2}Scilab Code}{296}{subsection.11.5.2}% \contentsline {paragraph}{Note: }{297}{section*.173}% -\contentsline {subsection}{\numberline {11.5.3}Output in the Scilab Console}{297}{subsection.11.5.3}% -\contentsline {section}{\numberline {11.6}Reading the electrical parameters from Xcos}{300}{section.11.6}% -\contentsline {section}{\numberline {11.7}Manifestation of Modbus protocol through Python}{302}{section.11.7}% -\contentsline {paragraph}{Note: }{302}{section*.182}% -\contentsline {section}{\numberline {11.8}Reading the electrical parameters from Python}{303}{section.11.8}% +\contentsline {subsection}{\numberline {11.5.3}Output in the Scilab Console}{298}{subsection.11.5.3}% +\contentsline {section}{\numberline {11.6}Reading electrical parameters from Xcos}{299}{section.11.6}% +\contentsline {section}{\numberline {11.7}Implementing Modbus protocol using Python}{301}{section.11.7}% +\contentsline {paragraph}{Note: }{303}{section*.182}% +\contentsline {section}{\numberline {11.8}Reading electrical parameters from Python}{303}{section.11.8}% \contentsline {subsection}{\numberline {11.8.1}Reading the electrical parameters}{303}{subsection.11.8.1}% \contentsline {subsection}{\numberline {11.8.2}Python Code}{303}{subsection.11.8.2}% -\contentsline {section}{\numberline {11.9}Manifestation of Modbus protocol through Julia}{304}{section.11.9}% +\contentsline {section}{\numberline {11.9}Implementing Modbus protocol using Julia}{305}{section.11.9}% \contentsline {paragraph}{Note: }{305}{section*.183}% -\contentsline {section}{\numberline {11.10}Reading the electrical parameters from Julia}{305}{section.11.10}% -\contentsline {subsection}{\numberline {11.10.1}Reading the electrical parameters}{305}{subsection.11.10.1}% -\contentsline {subsection}{\numberline {11.10.2}Julia Code}{305}{subsection.11.10.2}% -\contentsline {section}{\numberline {11.11}Manifestation of Modbus protocol through OpenModelica}{307}{section.11.11}% -\contentsline {paragraph}{Note: }{307}{section*.184}% -\contentsline {section}{\numberline {11.12}Reading the electrical parameters from OpenModelica}{308}{section.11.12}% +\contentsline {section}{\numberline {11.10}Reading electrical parameters from Julia}{306}{section.11.10}% +\contentsline {subsection}{\numberline {11.10.1}Reading the electrical parameters}{306}{subsection.11.10.1}% +\contentsline {subsection}{\numberline {11.10.2}Julia Code}{306}{subsection.11.10.2}% +\contentsline {section}{\numberline {11.11}Implementing Modbus protocol using OpenModelica}{307}{section.11.11}% +\contentsline {paragraph}{Note: }{308}{section*.184}% +\contentsline {section}{\numberline {11.12}Reading electrical parameters from OpenModelica}{308}{section.11.12}% \contentsline {subsection}{\numberline {11.12.1}Reading the electrical parameters}{308}{subsection.11.12.1}% \contentsline {subsection}{\numberline {11.12.2}OpenModelica Code}{308}{subsection.11.12.2}% \contentsline {chapter}{\numberline {A}Procuring the Hardware}{311}{appendix.A}% Binary files differdiff --git a/openmodelica.pdf b/openmodelica.pdf Binary files differBinary files differBinary files differindex 0fd76cb..b8f565c 100644 --- a/openmodelica.pdf +++ b/openmodelica.pdf diff --git a/suppl/acr.tex b/suppl/acr.tex index 37b15bd..8f5d590 100644 --- a/suppl/acr.tex +++ b/suppl/acr.tex @@ -15,7 +15,8 @@ DAC & Digital to Analog Converter \\ DC & Direct Current \\
DIY & Do It Yourself \\
DVD & Digital Versatile Disc \\
-EEPROM & Electronically Erasable Programmable Read-Only Memory \\
+EEPROM & Electronically Erasable Programmable \\
+ & Read-Only Memory \\
FPGA & Field-programmable Gate Array \\
GNU & GNU's Not Unix \\
GPS & Global Positioning System \\
diff --git a/suppl/preface.tex b/suppl/preface.tex index 3a1894b..7f61e2e 100644 --- a/suppl/preface.tex +++ b/suppl/preface.tex @@ -10,7 +10,7 @@ using high level programming languages. We have explained Arduino programming with the following high level languages through separate
books.
\begin{center}
-\begin{tabular}{llp{9cm}}
+\begin{tabular}{llp{5.5cm}}
1 & Scilab and Xcos: & Microcontroller programming with Arduino,
Scilab, and Xcos \\
2 & Python: & Microcontroller programming with Arduino and Python \\
diff --git a/suppl/title-all.tex b/suppl/title-all.tex index 93882a9..137ca1d 100644 --- a/suppl/title-all.tex +++ b/suppl/title-all.tex @@ -6,8 +6,9 @@ Sudhakar Kumar, Manas Ranjan Das \\ Rajesh Kushalkar, Nirmala Venkat, Inderpreet Arora \\ Samrudh Kelkar, Srikant Patnaik, Rupak Rokade \\ - Tanmayee Joshi, Kiranmayee Madhusudan, Paavni Shukla \\ - Sonal Singh, Chandrashekhar Gourshete, Chandrashekhar Dhulipala \\ + Tanmayee Joshi, Kiranmayee Madhusudan \\ + Paavni Shukla, Sonal Singh \\ + Chandrashekhar Gourshete, Chandrashekhar Dhulipala \\ Kannan M. Moudgalya \\ \vfill \includegraphics[width=0.3\linewidth]{suppl/fossee_logo_hi.png} \quad diff --git a/suppl/title-julia.tex b/suppl/title-julia.tex index 774f15e..299d1d2 100644 --- a/suppl/title-julia.tex +++ b/suppl/title-julia.tex @@ -3,7 +3,8 @@ \vfill % Sudhakar Kumar, Manas Ranjan Das \\ - Rajesh Kushalkar, Nirmala Venkat, Chandrashekhar Dhulipala \\ + Rajesh Kushalkar, Nirmala Venkat \\ + Chandrashekhar Dhulipala \\ Kannan M. Moudgalya \\ \vfill \includegraphics[width=0.3\linewidth]{suppl/fossee_logo_hi.png} \quad diff --git a/suppl/title-python.tex b/suppl/title-python.tex index 92f87c0..6aa95d3 100644 --- a/suppl/title-python.tex +++ b/suppl/title-python.tex @@ -3,7 +3,8 @@ \vfill % Sudhakar Kumar, Manas Ranjan Das \\ - Rajesh Kushalkar, Nirmala Venkat, Chandrashekhar Gourshete \\ + Rajesh Kushalkar, Nirmala Venkat \\ + Chandrashekhar Gourshete \\ Kannan M. Moudgalya \\ \vfill \includegraphics[width=0.3\linewidth]{suppl/fossee_logo_hi.png} \quad diff --git a/user-code/dcmotor/dcmotor-OM.tex b/user-code/dcmotor/dcmotor-OM.tex index 1815c57..64c0aab 100644 --- a/user-code/dcmotor/dcmotor-OM.tex +++ b/user-code/dcmotor/dcmotor-OM.tex @@ -1,4 +1,4 @@ -\section{Controlling the DC motor from OpenModelica} +\section{Controlling DC motor from OpenModelica} \subsection{Controlling the DC motor} In this section, we discuss how to carry out the experiments of the previous section from OpenModelica. We will list the same three experiments, diff --git a/user-code/dcmotor/dcmotor-base.tex b/user-code/dcmotor/dcmotor-base.tex index 01812ef..e582cf7 100644 --- a/user-code/dcmotor/dcmotor-base.tex +++ b/user-code/dcmotor/dcmotor-base.tex @@ -137,7 +137,7 @@ A schematic of these connections is given in \label{fig:dcmotorconn}
\end{figure}
-\section{Controlling the DC motor from Arduino}
+\section{Controlling DC motor from Arduino IDE}
\subsection{Controlling the DC motor}
\label{sec:dcm-ard}
In this section, we will describe some experiments that will help
diff --git a/user-code/dcmotor/dcmotor-julia.tex b/user-code/dcmotor/dcmotor-julia.tex index fafa7fb..4172020 100644 --- a/user-code/dcmotor/dcmotor-julia.tex +++ b/user-code/dcmotor/dcmotor-julia.tex @@ -1,4 +1,4 @@ -\section{Controlling the DC motor from Julia} +\section{Controlling DC motor from Julia} \subsection{Controlling the DC motor} In this section, we discuss how to carry out the experiments of the previous section from Julia. We will list the same three experiments, diff --git a/user-code/dcmotor/dcmotor-python.tex b/user-code/dcmotor/dcmotor-python.tex index e6d57a7..7f454bb 100644 --- a/user-code/dcmotor/dcmotor-python.tex +++ b/user-code/dcmotor/dcmotor-python.tex @@ -1,4 +1,4 @@ -\section{Controlling the DC motor from Python} +\section{Controlling DC motor from Python} \subsection{Controlling the DC motor} In this section, we discuss how to carry out the experiments of the previous section from Python. We will list the same three experiments, diff --git a/user-code/dcmotor/dcmotor-scilab.tex b/user-code/dcmotor/dcmotor-scilab.tex index b2be27d..63df34a 100644 --- a/user-code/dcmotor/dcmotor-scilab.tex +++ b/user-code/dcmotor/dcmotor-scilab.tex @@ -1,4 +1,4 @@ -\section{Controlling the DC motor from Scilab} +\section{Controlling DC motor from Scilab} \label{sec:dcm-sci} \subsection{Controlling the DC motor} In this section, we discuss how to carry out the experiments of the @@ -270,7 +270,7 @@ of the DC motor while running the experiments. \lstinputlisting{\LocDCMscicode/dcmotor-loop.sce} \end{scicode} -\section{Controlling the DC motor from Xcos} +\section{Controlling DC motor from Xcos} In this section, we will see how to drive the DC motor from Scilab Xcos. We will carry out the same three experiments as in the previous sections. For each experiment, we will give the location of the zcos file and the @@ -312,7 +312,7 @@ given in \secref{sec:xcos-start} before getting started. \centering \caption{Xcos parameters to drive the DC motor for a specified time} \label{tab:dcmotor-clock} - \begin{tabular}{llc} \hline + \begin{tabular}{lp{2.5cm}p{2.5cm}} \hline Name of the block & Parameter name & Value \\ \hline ARDUINO\_SETUP & Identifier of Arduino Card & 1 \\ & Serial com port number & 2\portcmd \\ \hline @@ -363,7 +363,7 @@ given in \secref{sec:xcos-start} before getting started. \caption{Xcos parameters to drive the DC motor in forward and reverse directions} \label{tab:dcmotor-both} - \begin{tabular}{llc} \hline + \begin{tabular}{lp{2.5cm}p{2.5cm}} \hline Name of the block & Parameter name & Value \\ \hline ARDUINO\_SETUP & Identifier of Arduino Card & 1 \\ & Serial com port number & 2\portcmd \\ \hline @@ -405,7 +405,7 @@ given in \secref{sec:xcos-start} before getting started. \centering \caption{Xcos parameters to drive the DC motor in a loop} \label{tab:dcmotor-loop} - \begin{tabular}{llc} \hline + \begin{tabular}{lp{2.5cm}p{2.5cm}} \hline Name of the block & Parameter name & Value \\ \hline ARDUINO\_SETUP & Identifier of Arduino Card & 1 \\ & Serial com port number & 2\portcmd \\ \hline diff --git a/user-code/hw-env/hw-env.tex b/user-code/hw-env/hw-env.tex index 2b03732..56b95ac 100644 --- a/user-code/hw-env/hw-env.tex +++ b/user-code/hw-env/hw-env.tex @@ -258,7 +258,7 @@ to a PC using a USB cable. \figref{arduino} has a picture of this board \begin{table} \begin{center} - \begin{tabular}{lc} + \begin{tabular}{lp{4cm}} \hline Parameter & Value \\ \hline Microcontroller & ATmega328P \\ diff --git a/user-code/ldr/ldr-OM.tex b/user-code/ldr/ldr-OM.tex index 5fbfb4d..cae387e 100644 --- a/user-code/ldr/ldr-OM.tex +++ b/user-code/ldr/ldr-OM.tex @@ -1,4 +1,4 @@ -\section{Interfacing the LDR through OpenModelica} +\section{Interfacing LDR through OpenModelica} \subsection{Interfacing the LDR} In this section, we discuss how to carry out the experiments of the previous section from OpenModelica. We will list the same two experiments, diff --git a/user-code/ldr/ldr-base.tex b/user-code/ldr/ldr-base.tex index 8915272..f10132d 100644 --- a/user-code/ldr/ldr-base.tex +++ b/user-code/ldr/ldr-base.tex @@ -84,7 +84,7 @@ Rs. 100. There are multiple manufacturers which provide commercial LDRs. Some examples are VT90N1 and VT935G from EXCELITAS TECH, and
N5AC501A085 and NSL19M51 from ADVANCED PHOTONIX.
-\section{Connecting an LDR with \arduino\ using a breadboard}
+\section{Connecting an LDR using breadboard}
This section is useful for those who either don't have a Shield or don't want to use the Shield
for performing the experiments given in this chapter.
@@ -129,7 +129,7 @@ are same as that in \figref{fig:ard-ldr}. \end{figure}
-\section{Interfacing the LDR through the Arduino IDE}
+\section{Interfacing LDR through Arduino IDE}
\subsection{Interfacing the LDR}
In this section, we shall describe an experiment that will help
to read the voltage values from an LDR connected to the analog pin 5
diff --git a/user-code/ldr/ldr-julia.tex b/user-code/ldr/ldr-julia.tex index dae3453..b6f6e4f 100644 --- a/user-code/ldr/ldr-julia.tex +++ b/user-code/ldr/ldr-julia.tex @@ -1,4 +1,4 @@ -\section{Interfacing the LDR through Julia} +\section{Interfacing LDR through Julia} \subsection{Interfacing the LDR} In this section, we discuss how to carry out the experiments of the previous section from Julia. We will list the same two experiments, diff --git a/user-code/ldr/ldr-python.tex b/user-code/ldr/ldr-python.tex index d589663..4cb9d81 100644 --- a/user-code/ldr/ldr-python.tex +++ b/user-code/ldr/ldr-python.tex @@ -1,4 +1,4 @@ -\section{Interfacing the LDR through Python} +\section{Interfacing LDR through Python} \subsection{Interfacing the LDR} In this section, we discuss how to carry out the experiments of the previous section from Python. We will list the same two experiments, diff --git a/user-code/ldr/ldr-scilab.tex b/user-code/ldr/ldr-scilab.tex index a8c469c..c9684a7 100644 --- a/user-code/ldr/ldr-scilab.tex +++ b/user-code/ldr/ldr-scilab.tex @@ -152,7 +152,7 @@ getting started. \centering \caption{Xcos parameters to read LDR} \label{tab:ldr-read} - \begin{tabular}{llc} \hline + \begin{tabular}{lp{2.5cm}p{2.5cm}} \hline Name of the block & Parameter name & Value \\ \hline ARDUINO\_SETUP & Identifier of Arduino Card & 1 \\ & Serial com port number & 2\portcmd \\ \hline @@ -221,7 +221,7 @@ getting started. \centering \caption{Xcos parameters to read LDR and regulate blue LED} \label{tab:ldr-led} - \begin{tabular}{llc} \hline + \begin{tabular}{lp{2.5cm}p{2.2cm}} \hline Name of the block & Parameter name & Value \\ \hline ARDUINO\_SETUP & Identifier of Arduino Card & 1 \\ & Serial com port number & 2\portcmd \\ \hline diff --git a/user-code/led/led-base.tex b/user-code/led/led-base.tex index 46e54f0..66d93c3 100644 --- a/user-code/led/led-base.tex +++ b/user-code/led/led-base.tex @@ -87,7 +87,7 @@ chapter assume that the Shield is connected to the \arduino\ board. It is also possible to do some of the experiments without the Shield,
which is pointed out in the next section.
-\section{Connecting an RGB LED with \arduino\ using a breadboard}
+\section{Connecting an RGB LED using breadboard}
\label{sec:led-bread}
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.
@@ -116,7 +116,7 @@ The third and fourth legs represent the anode (+) pins for the green LED and blu The anode pins of red, green, and blue are connected to digital pins 11, 10, and 9 of Arduino Uno, respectively.
Common cathode is connected to the ground (GND) terminal of Arduino Uno.
-\section{Lighting the LED from the Arduino IDE}
+\section{Lighting the LED from Arduino IDE}
\subsection{Lighting the LED}
\label{sec:light-ard}
diff --git a/user-code/led/led-scilab.tex b/user-code/led/led-scilab.tex index 3ad18b4..e16e2af 100644 --- a/user-code/led/led-scilab.tex +++ b/user-code/led/led-scilab.tex @@ -149,7 +149,7 @@ getting started. \centering \caption{Parameters to light the blue LED in Xcos} \label{tab:led-blue} - \begin{tabular}{llc} \hline + \begin{tabular}{lp{2.5cm}p{2.5cm}} \hline Name of the block & Parameter name & Value \\ \hline ARDUINO\_SETUP & Identifier of Arduino Card & 1 \\ & Serial com port number & 2\portcmd \\ \hline @@ -183,7 +183,7 @@ getting started. \centering \caption{Parameters to light the blue LED in Xcos for two seconds} \label{tab:led-blue-delay} - \begin{tabular}{llc} \hline + \begin{tabular}{lp{2.5cm}p{2.2cm}} \hline Name of the block & Parameter name & Value \\ \hline ARDUINO\_SETUP & Identifier of Arduino Card & 1 \\ & Serial com port number & 2\portcmd \\ \hline @@ -222,7 +222,7 @@ getting started. \caption{Parameters to turn the blue and red LEDs on and then turn them off one by one} \label{tab:led-blue-red} - \begin{tabular}{llc} \hline + \begin{tabular}{lp{2.5cm}p{2cm}} \hline Name of the block & Parameter name & Value \\ \hline ARDUINO\_SETUP & Identifier of Arduino Card & 1 \\ & Serial com port number & 2\portcmd \\ \hline @@ -264,7 +264,7 @@ getting started. \centering \caption{Parameters to make the green LED blink every second} \label{tab:led-green-blink} - \begin{tabular}{llc} \hline + \begin{tabular}{lp{2.5cm}p{2.5cm}} \hline Name of the block & Parameter name & Value \\ \hline ARDUINO\_SETUP & Identifier of Arduino Card & 1 \\ & Serial com port number & 2\portcmd \\ \hline diff --git a/user-code/modbus/modbus-OM.tex b/user-code/modbus/modbus-OM.tex index 087bafb..cbafac1 100644 --- a/user-code/modbus/modbus-OM.tex +++ b/user-code/modbus/modbus-OM.tex @@ -1,5 +1,5 @@ -\section{Manifestation of Modbus protocol through OpenModelica} +\section{Implementing Modbus protocol using OpenModelica} The objective of this experiment is to make the user acquainted with the demonstration of Modbus protocol through OpenModelica-Arduino toolbox. It gives an insight into how to acquire readings from the energy meter and interpret them accordingly. As explained in \secref{sec:energy-meter}, @@ -22,7 +22,7 @@ is in the form of another packet called RP. In this packet, the data is stored i the newer versions. We invite the experts to contribute the revised version of the code. -\section{Reading the electrical parameters from OpenModelica} +\section{Reading electrical parameters from OpenModelica} \subsection{Reading the electrical parameters} In this section, we will show how to access the three parameters (voltage, current, and active power) in the energy meter. As discussed above, we will send an RQ from OpenModelica to \arduino. Subsequently, \arduino\ will provide us with an RP, which can be decoded to extract the desired parameter. The reader should go through the instructions given in \secref{sec:OpenModelica-start} before getting started. diff --git a/user-code/modbus/modbus-base.tex b/user-code/modbus/modbus-base.tex index 2ed6163..6ef4dfe 100644 --- a/user-code/modbus/modbus-base.tex +++ b/user-code/modbus/modbus-base.tex @@ -150,7 +150,7 @@ for three individual parameters, which will be accessed in this chapter. \centering \caption{Operations supported by Modbus RTU} \label{tab:modbus-fun-codes} - \begin{tabular}{llc}\hline + \begin{tabular}{llp{3cm}}\hline Function Code & Action & Table Name \\ \hline 01 (01 hex) & Read & Discrete Output Coils \\ 05 (05 hex) & Write single & Discrete Output Coil \\ diff --git a/user-code/modbus/modbus-julia.tex b/user-code/modbus/modbus-julia.tex index c0f2862..e74bd0f 100644 --- a/user-code/modbus/modbus-julia.tex +++ b/user-code/modbus/modbus-julia.tex @@ -1,5 +1,5 @@ -\section{Manifestation of Modbus protocol through Julia} +\section{Implementing Modbus protocol using Julia} The objective of this experiment is to make the user acquainted with the demonstration of Modbus protocol through Julia-Arduino toolbox. It gives an insight into how to acquire readings from the energy meter and interpret them accordingly. As explained in \secref{sec:energy-meter}, @@ -66,7 +66,7 @@ the newer versions. We invite the experts to contribute the revised version of t % \end{enumerate} -\section{Reading the electrical parameters from Julia} +\section{Reading electrical parameters from Julia} \subsection{Reading the electrical parameters} In this section, we will show how to access the three parameters (voltage, current, and active power) in the energy meter. As discussed above, we will send an RQ from Julia to \arduino. Subsequently, \arduino\ will provide us with an RP, which can be decoded to extract the desired parameter. The reader should go through the instructions given in \secref{sec:julia-start} before getting started. diff --git a/user-code/modbus/modbus-python.tex b/user-code/modbus/modbus-python.tex index ea48120..ff7c129 100644 --- a/user-code/modbus/modbus-python.tex +++ b/user-code/modbus/modbus-python.tex @@ -1,5 +1,5 @@ -\section{Manifestation of Modbus protocol through Python} +\section{Implementing Modbus protocol using Python} The objective of this experiment is to make the user acquainted with the demonstration of Modbus protocol through Python-Arduino toolbox. It gives an insight into how to acquire readings from the energy meter and interpret them accordingly. As explained in \secref{sec:energy-meter}, @@ -65,7 +65,7 @@ the newer versions. We invite the experts to contribute the revised version of t % \end{enumerate} -\section{Reading the electrical parameters from Python} +\section{Reading electrical parameters from Python} \subsection{Reading the electrical parameters} In this section, we will show how to access the three parameters (voltage, current, and active power) in the energy meter. As discussed above, we will send an RQ from Python to \arduino. Subsequently, \arduino\ will provide us with an RP, which can be decoded to extract the desired parameter. The reader should go through the instructions given in \secref{sec:python-start} before getting started. diff --git a/user-code/modbus/modbus-scilab.tex b/user-code/modbus/modbus-scilab.tex index c34ca96..dacf28d 100644 --- a/user-code/modbus/modbus-scilab.tex +++ b/user-code/modbus/modbus-scilab.tex @@ -1,5 +1,5 @@ -\section{Manifestation of Modbus protocol through \scilab} +\section{Implementing Modbus protocol using \scilab} The objective of this experiment is to make the user acquainted with the demonstration of Modbus protocol through the Scilab-Arduino toolbox. It gives an insight into how to acquire readings from the energy meter and interpret them accordingly. As explained in \secref{sec:energy-meter}, @@ -69,7 +69,7 @@ is in the form of another packet called RP. In this packet, the data is stored i % Meter display screen. -\section{Reading the electrical parameters from Scilab} +\section{Reading electrical parameters from Scilab} \subsection{Reading the electrical parameters} In this section, we will show how to access the three parameters (voltage, current, and active power) in the energy meter. As discussed above, we will send an RQ from Scilab to \arduino. Subsequently, \arduino\ will provide us with an RP, which can be decoded to extract the desired parameter. The reader should go through the instructions given in \secref{sec:sci-start} before getting started. @@ -191,7 +191,7 @@ In this section, we present the results. In this experiment, the three parameter \end{enumerate} -\section{Reading the electrical parameters from Xcos} +\section{Reading electrical parameters from Xcos} In this section we will carry out the same experiments discussed in the previous sections but through Xcos. One should go through \secref{sec:xcos-start} before continuing. @@ -220,7 +220,7 @@ the previous sections but through Xcos. One should go through \centering \caption{Xcos parameters to read energy meter values} \label{tab:mod-xcos-read} - \begin{tabular}{llc} \hline + \begin{tabular}{lp{2.5cm}p{2.7cm}} \hline Name of the block & Parameter name & Value \\ \hline CONST\_m & Address byte for voltage & 86 \\ & Address byte for current & 88 \\ diff --git a/user-code/pot/pot-OM.tex b/user-code/pot/pot-OM.tex index 23d584c..aa5d46c 100644 --- a/user-code/pot/pot-OM.tex +++ b/user-code/pot/pot-OM.tex @@ -1,4 +1,4 @@ -\section{Reading the potentiometer from OpenModelica} +\section{Reading potentiometer from OpenModelica} \subsection{Reading the potentiometer} In this section, we will use a OpenModelica model to read the potentiometer values. The Shield has to be attached to the \arduino\ board diff --git a/user-code/pot/pot-base.tex b/user-code/pot/pot-base.tex index c277227..bdb1beb 100644 --- a/user-code/pot/pot-base.tex +++ b/user-code/pot/pot-base.tex @@ -92,7 +92,7 @@ digital I/O pins 9, 10, and 11 of Arduino. In order to switch on a particular LED, we need to provide HIGH (5V) voltage to the
corresponding pin of the \arduino\ board.
-\section{Connecting a potentiometer with \arduino\ using a breadboard}
+\section{Connecting a potentiometer using breadboard}
This section is useful for those who either don't have a Shield or don't want to use the Shield
for performing the experiments given in this chapter.
@@ -121,7 +121,7 @@ there is an RGB LED, and its four legs are connected to three different digital \chapref{led}.
-\section{Reading the potentiometer from the Arduino IDE}
+\section{Reading potentiometer from Arduino IDE}
\subsection{Reading the potentiometer}
In this section, we shall learn how to read the potentiometer
input through Arduino IDE. Depending on the acquired potentiometer
diff --git a/user-code/pot/pot-julia.tex b/user-code/pot/pot-julia.tex index 5bcdffd..2471e3d 100644 --- a/user-code/pot/pot-julia.tex +++ b/user-code/pot/pot-julia.tex @@ -1,4 +1,4 @@ -\section{Reading the potentiometer from Julia} +\section{Reading potentiometer from Julia} \subsection{Reading the potentiometer} In this section, we will use a Julia source file to read the potentiometer values. The Shield has to be attached to the \arduino\ board diff --git a/user-code/pot/pot-python.tex b/user-code/pot/pot-python.tex index 1b0d9d5..d00dcf4 100644 --- a/user-code/pot/pot-python.tex +++ b/user-code/pot/pot-python.tex @@ -1,4 +1,4 @@ -\section{Reading the potentiometer from Python} +\section{Reading potentiometer from Python} \subsection{Reading the potentiometer} In this section, we will use a Python script to read the potentiometer values. The Shield has to be attached to the \arduino\ board diff --git a/user-code/pot/pot-scilab.tex b/user-code/pot/pot-scilab.tex index 89215b7..61c7e42 100644 --- a/user-code/pot/pot-scilab.tex +++ b/user-code/pot/pot-scilab.tex @@ -1,4 +1,4 @@ -\section{Reading the potentiometer from Scilab} +\section{Reading potentiometer from Scilab} \subsection{Reading the potentiometer} In this section, we will use a Scilab script to read the potentiometer values. Based on the acquired potentiometer values, we will change @@ -43,7 +43,7 @@ the change in the color of the RGB LED. \lstinputlisting{\LocPotscicode/pot-threshold.sce} \end{scicode} -\section{Reading the potentiometer from Xcos} +\section{Reading potentiometer from Xcos} In this section, we discuss how to read the potentiometer values using Xcos blocks. When the file required for this experiment is invoked, one gets the GUI as in \figref{fig:pot-threshold}. In the caption of this @@ -75,7 +75,7 @@ be left unchanged. \caption{Xcos parameters to turn on different LEDs depending on the potentiometer value} \label{tab:pot-threshold} - \begin{tabular}{llc} \hline + \begin{tabular}{lp{2.5cm}p{2.5cm}} \hline Name of the block & Parameter name & Value \\ \hline ARDUINO\_SETUP & Identifier of Arduino Card & 1 \\ & Serial com port number & 2\portcmd \\ \hline diff --git a/user-code/push/push-OM.tex b/user-code/push/push-OM.tex index ab36438..e5e66b8 100644 --- a/user-code/push/push-OM.tex +++ b/user-code/push/push-OM.tex @@ -1,4 +1,4 @@ -\section{Reading the pushbutton status from OpenModelica} +\section{Reading pushbutton status from OpenModelica} \subsection{Reading the pushbutton status} In this section, we discuss how to carry out the experiments of the previous section from OpenModelica. We will list the same two experiments, @@ -61,7 +61,7 @@ Please refer to \figref{om-examples-toolbox} to know how to locate the experimen \mcaption{Read the status of the pushbutton and display it on the output window}{Read the status of the pushbutton and display it on the output window. Available at Arduino -> SerialCommunication -> - Examples -> push -> push\_button\_status. } + Examples -> push -> \\ push\_button\_status. } \label{OpenModelica:push-100} \lstinputlisting{\LocPushOpenModelicacode/push-button-status.mo} \end{OpenModelicacode} diff --git a/user-code/push/push-base.tex b/user-code/push/push-base.tex index 43ebe4c..60d9100 100644 --- a/user-code/push/push-base.tex +++ b/user-code/push/push-base.tex @@ -75,7 +75,7 @@ is usually provided by the manufacturer in the datasheet. \label{fig:switch-bread}
\end{figure}
-\section{Connecting a pushbutton with \arduino\ using a breadboard}
+\section{Connecting a pushbutton using breadboard}
This section is useful for those who either don't have a Shield or don't want to use the Shield
for performing the experiments given in this chapter.
@@ -113,7 +113,7 @@ depending on the status of the pushbutton. As shown in \figref{fig:switch-led}, 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}
+\section{Reading pushbutton status from Arduino IDE}
\subsection{Reading the pushbutton status}
In this section, we shall describe an experiment that will help
to read the status of a pushbutton through Arduino IDE.
diff --git a/user-code/push/push-julia.tex b/user-code/push/push-julia.tex index 842e9e1..4978399 100644 --- a/user-code/push/push-julia.tex +++ b/user-code/push/push-julia.tex @@ -1,4 +1,4 @@ -\section{Reading the pushbutton status from Julia} +\section{Reading pushbutton status from Julia} \subsection{Reading the pushbutton status} In this section, we discuss how to carry out the experiments of the previous section from Julia. We will list the same two experiments, diff --git a/user-code/push/push-python.tex b/user-code/push/push-python.tex index 3d07dbe..7c80660 100644 --- a/user-code/push/push-python.tex +++ b/user-code/push/push-python.tex @@ -1,5 +1,5 @@ %%%%%%%%%%%%python description starts -\section{Reading the pushbutton status from Python} +\section{Reading pushbutton status from Python} \subsection{Reading the pushbutton status} In this section, we discuss how to carry out the experiments of the previous section from Python. We will list the same two experiments, diff --git a/user-code/push/push-scilab.tex b/user-code/push/push-scilab.tex index 164b6e5..ca482e6 100644 --- a/user-code/push/push-scilab.tex +++ b/user-code/push/push-scilab.tex @@ -1,4 +1,4 @@ -\section{Reading the pushbutton Status from Scilab} +\section{Reading pushbutton Status from Scilab} \subsection{Reading the pushbutton Status} In this section, we discuss how to carry out the experiments of the previous section from Scilab. We will list the same two experiments, @@ -110,7 +110,7 @@ given in \secref{sec:xcos-start} before getting started. \caption{Parameters to print the pushbutton status on the display block} \label{tab:push-button-status} - \begin{tabular}{llc} \hline + \begin{tabular}{lp{2.5cm}p{2.5cm}} \hline Name of the block & Parameter name & Value \\ \hline ARDUINO\_SETUP & Identifier of Arduino Card & 1 \\ & Serial com port number & 2\portcmd \\ \hline @@ -152,7 +152,7 @@ given in \secref{sec:xcos-start} before getting started. \centering \caption{Xcos parameters to turn the LED on through the pushbutton} \label{tab:led-push-button} - \begin{tabular}{llc} \hline + \begin{tabular}{lp{2.5cm}p{2.2cm}} \hline Name of the block & Parameter name & Value \\ \hline ARDUINO\_SETUP & Identifier of Arduino Card & 1 \\ & Serial com port number & 2\portcmd \\ \hline diff --git a/user-code/servo/servo-OM.tex b/user-code/servo/servo-OM.tex index 945471a..35aa766 100644 --- a/user-code/servo/servo-OM.tex +++ b/user-code/servo/servo-OM.tex @@ -1,4 +1,4 @@ -\section{Controlling the servomotor through OpenModelica} +\section{Controlling servomotor through OpenModelica} \subsection{Controlling the servomotor} \label{sec:servo-OpenModelica} In this section, we discuss how to carry out the experiments of the diff --git a/user-code/servo/servo-base.tex b/user-code/servo/servo-base.tex index ba7252d..7fffa35 100644 --- a/user-code/servo/servo-base.tex +++ b/user-code/servo/servo-base.tex @@ -99,7 +99,7 @@ before running the experiments given in this chapter. \end{table}
-\section{Connecting a servomotor with \arduino\ using a breadboard}
+\section{Connecting a servomotor using breadboard}
This section is useful for those who either don't have a Shield or don't want to use the Shield
for performing the experiments given in this chapter.
@@ -135,7 +135,7 @@ potentiometer. Rest of the connections are same as that in \figref{fig:servo-bre \label{fig:servo-pot-bread}
\end{figure}
-\section{Controlling the servomotor through the Arduino IDE}
+\section{Controlling servomotor through Arduino IDE}
\subsection{Controlling the servomotor}
\label{sec:servo-ard}
In this section, we will describe some experiments that will help
diff --git a/user-code/servo/servo-julia.tex b/user-code/servo/servo-julia.tex index 9be7e34..24d4aec 100644 --- a/user-code/servo/servo-julia.tex +++ b/user-code/servo/servo-julia.tex @@ -1,4 +1,4 @@ -\section{Controlling the servomotor through Julia} +\section{Controlling servomotor through Julia} \subsection{Controlling the servomotor} \label{sec:servo-julia} In this section, we discuss how to carry out the experiments of the diff --git a/user-code/servo/servo-python.tex b/user-code/servo/servo-python.tex index 6f7bf48..b29cdeb 100644 --- a/user-code/servo/servo-python.tex +++ b/user-code/servo/servo-python.tex @@ -1,4 +1,4 @@ -\section{Controlling the servomotor through Python} +\section{Controlling servomotor through Python} \subsection{Controlling the servomotor} \label{sec:servo-py} In this section, we discuss how to carry out the experiments of the diff --git a/user-code/servo/servo-scilab.tex b/user-code/servo/servo-scilab.tex index 353c35e..368d057 100644 --- a/user-code/servo/servo-scilab.tex +++ b/user-code/servo/servo-scilab.tex @@ -1,4 +1,4 @@ -\section{Controlling the servomotor through Scilab} +\section{Controlling servomotor through Scilab} \subsection{Controlling the servomotor} \label{sec:servo-sci} In this section, we discuss how to carry out the experiments of the @@ -152,7 +152,7 @@ The reader should go through the instructions given in \end{scicode} -\section{Controling the servomotor through Xcos} +\section{Controling servomotor through Xcos} \label{sec:servo-xcos} In this section, we will see how to rotate the servomotor from Scilab Xcos. We will carry out experiments similar to the ones in earlier @@ -183,7 +183,7 @@ given in \secref{sec:xcos-start} before getting started. \centering \caption{Parameters to rotate the servomotor by $30^\circ$} \label{tab:servo-init} - \begin{tabular}{llc} \hline + \begin{tabular}{lp{2.5cm}p{2.5cm}} \hline Name of the block & Parameter name & Value \\ \hline ARDUINO\_SETUP & Identifier of Arduino Card & 1 \\ & Serial com port number & 2\portcmd \\ \hline @@ -219,7 +219,7 @@ given in \secref{sec:xcos-start} before getting started. \centering \caption{Parameters to rotate the servomotor forward and reverse} \label{tab:servo-reverse} - \begin{tabular}{llc} \hline + \begin{tabular}{lp{2.5cm}p{2.5cm}} \hline Name of the block & Parameter name & Value \\ \hline ARDUINO\_SETUP & Identifier of Arduino Card & 1 \\ & Serial com port number & 2\portcmd \\ \hline @@ -258,7 +258,7 @@ given in \secref{sec:xcos-start} before getting started. \caption{Parameters to make the servomotor to sweep the entire range in increments} \label{tab:servo-loop} - \begin{tabular}{llc} \hline + \begin{tabular}{lp{2.5cm}p{2.5cm}} \hline Name of the block & Parameter name & Value \\ \hline ARDUINO\_SETUP & Identifier of Arduino Card & 1 \\ & Serial com port number & 2\portcmd \\ \hline @@ -303,7 +303,7 @@ given in \secref{sec:xcos-start} before getting started. \caption{Parameters to rotate the servomotor based on the input from the potentiometer} \label{tab:servo-pot} - \begin{tabular}{llc} \hline + \begin{tabular}{lp{2.5cm}p{2.5cm}} \hline Name of the block & Parameter name & Value \\ \hline ARDUINO\_SETUP & Identifier of Arduino Card & 1 \\ & Serial com port number & 2\portcmd \\ \hline diff --git a/user-code/sw-env/sw-env-OM.tex b/user-code/sw-env/sw-env-OM.tex index bcebd62..7959766 100644 --- a/user-code/sw-env/sw-env-OM.tex +++ b/user-code/sw-env/sw-env-OM.tex @@ -52,7 +52,7 @@ in OMEdit, the readers are advised to refer to \secref{OpenModelica-code-executi \subsection{Downloading and installing on GNU/Linux Ubuntu} \label{openmodelica-install-linux} -On Linux, we can install OpenModelica from the terminal. The readers are advised to visit +On Linux, we can install OpenModelica from the terminal. The readers are advised to explore the official website and visit {\tt https://openmodelica.org/download/download-linux} and follow the instructions for installing OpenModelica. We recommend the readers should install the latest stable version of OpenModelica. Once OpenModelica has been installed successfully, OpenModelica Connection Editor (OMEdit) can be launched @@ -62,7 +62,7 @@ Modelica Standard Library version, as shown in \figref{om-help}. Here, you should choose the option "Load MSL v3.2.3" and click OK. \begin{figure} \centering - \includegraphics[scale=0.55]{\LocSWfig/OMEdit-libraries.png} + \includegraphics[width=\hgfig]{\LocSWfig/OMEdit-libraries.png} \caption{Setup of Modelica Standard Library version} \label{om-help} \end{figure} @@ -77,7 +77,7 @@ By default, OMEdit gets launched in the Welcome Perspective. We now briefly desc of these Perspectives, as given below: \begin{enumerate} \item Welcome Perspective: It shows the list of recent files and the list of the - latest news from {\tt https://www.openmodelica.org}. + latest news from the official website {\tt https://www.openmodelica.org}. \item Modeling Perpective: It provides the interface where users can create and design their models. \item Plotting Perspective: It shows the simulation results of the models. @@ -180,9 +180,9 @@ we would not have received this message. \subsection{OpenModelica-Arduino toolbox}\label{sec:load-om-toolbox} OpenModelica, by default, does not have the capability to connect to Arduino. All such add-on functionalities are added to OpenModelica using toolboxes. -OpenModelica-Arduino toolbox can be found inside {\tt Origin/tools/\\openmodelica/windows} or {\tt Origin/tools/openmodelica/linux} directory, +OpenModelica-Arduino toolbox can be found in {\tt Origin/tools/openmodelica/windows} or {\tt Origin/tools/openmodelica/linux} directory, see \fnrefp{fn:file-loc}. Use the one depending upon -which operating system you are using. The OpenModelica codes for various +which operating system you are using. OpenModelica codes for various experiments mentioned throughout this book can be found in {\tt Origin/user-code} directory. The {\tt user-code} directory will have many sub-directories as per the experiments. @@ -196,12 +196,12 @@ Let us now see how to load OpenModelica-Arduino toolbox. toolbox. To do so, go to the menu bar of OMEdit. Click on {\tt File} and then click on the {\tt Open Model/Library File(s)} option as shown in \figref{om-model-open}. - \item Navigate to {\tt Origin/tools/openmodelica/windows} or {\tt Origin/tools/\\openmodelica/linux}, as the case maybe. - Select {\tt Arduino.mo} and \\{\tt test\_firmware.mo}, and click Open. The toolbox should now be loaded and available for use. + \item Navigate to either {\tt Origin/tools/openmodelica/windows} or {\tt Origin/tools/openmodelica/linux}, as the case maybe. + Select both {\tt Arduino.mo} and {\tt test\_firmware.mo}, and click Open. The toolbox should now be loaded and available for use. \item \label{itm:library} We will check whether the toolbox has been loaded successfully or not. In OMEdit, under Libraries Browser, look for three new libraries: Arduino, - Modelica\_Synchronous, Modelica\_DeviceDrivers, and one model test\_firmware.mo. - If you are able to view these files, it means that OpenModelica-Arduino toolbox has been loaded successfully. + Modelica\_Synch-\\ronous, Modelica\_DeviceDrivers, and one model named test\_firmware.mo. + If you are able to view these files, it means that the toolbox has been loaded successfully. Please note that each time you launch OMEdit, you need to load this toolbox for performing the experiments. % \item The {\tt test\_firmware.mo} in the step \ref{itm:library} is the same file which has been mentioned in \secref{om-firmware}. diff --git a/user-code/sw-env/sw-env-julia.tex b/user-code/sw-env/sw-env-julia.tex index 6bea1da..c3ada52 100644 --- a/user-code/sw-env/sw-env-julia.tex +++ b/user-code/sw-env/sw-env-julia.tex @@ -54,7 +54,7 @@ up Julia 1.6.0 on Windows OS: \begin{figure} \centering - \includegraphics[width=\lgfig]{\LocSWfig/win-command-prompt.png} + \includegraphics[width=\hgfig]{\LocSWfig/win-command-prompt.png} \caption{Command Prompt on Windows} \label{windows-cmd-julia} \end{figure} diff --git a/user-code/sw-env/sw-env-python.tex b/user-code/sw-env/sw-env-python.tex index 701ca2c..80987f0 100644 --- a/user-code/sw-env/sw-env-python.tex +++ b/user-code/sw-env/sw-env-python.tex @@ -62,7 +62,7 @@ the Command Prompt: the installation was successful. \begin{figure} \centering - \includegraphics[width=\lgfig]{\LocSWfig/win-command-prompt.png} + \includegraphics[width=\hgfig]{\LocSWfig/win-command-prompt.png} \caption{Command Prompt on Windows} \label{windows-cmd} \end{figure} diff --git a/user-code/sw-env/sw-env-scilab.tex b/user-code/sw-env/sw-env-scilab.tex index 506d173..4f5d195 100644 --- a/user-code/sw-env/sw-env-scilab.tex +++ b/user-code/sw-env/sw-env-scilab.tex @@ -72,7 +72,7 @@ communicate with \arduino. This process is illustrated in \figref{linux-cd}. \begin{figure} \centering - \includegraphics[scale=0.5]{\LocSWfig/linux-cd.png} + \includegraphics[width=\hgfig]{\LocSWfig/linux-cd.png} \caption{Linux terminal to launch Scilab} \label{linux-cd} \end{figure} @@ -117,7 +117,7 @@ Let us now see how to load Scilab-Arduino toolbox. Open}, as shown in \figref{scilab-browse}. \begin{figure} \centering - \includegraphics[width=\hgfig]{\LocSWfig/browse-directory.png} + \includegraphics[width=\linewidth]{\LocSWfig/browse-directory.png} \caption{Browsing toolbox directory} \label{scilab-browse} \end{figure} @@ -149,7 +149,7 @@ Let us now see how to load Scilab-Arduino toolbox. toolbox and you will have to execute the loader.sce file again.}. \begin{figure} \centering - \includegraphics[scale=0.5]{\LocSWfig/loader.png} + \includegraphics[width=\linewidth]{\LocSWfig/loader.png} \caption{Output of loader.sce} \label{loader} \end{figure} @@ -198,7 +198,7 @@ Settings'' tab and then click on ``Advanced'' button as shown in \begin{figure} \centering - \includegraphics[scale=0.5]{\LocSWfig/com-properties.png} + \includegraphics[width=\linewidth]{\LocSWfig/com-properties.png} \caption{COM port properties window} \label{com} \end{figure} @@ -222,7 +222,7 @@ number such as 1 or 2 in your case, for the port number. \begin{figure} \centering - \includegraphics[scale=0.5]{\LocSWfig/linux-port.png} + \includegraphics[width=\hgfig]{\LocSWfig/linux-port.png} \caption{Port number on Linux terminal} \label{linux-port} \end{figure} @@ -273,7 +273,7 @@ Now let us test the functioning of the toolbox. will appear on the Console as shown in \figref{test-console}. \begin{figure} \centering - \includegraphics[scale=0.5]{\LocSWfig/test-console.png} + \includegraphics[width=\linewidth]{\LocSWfig/test-console.png} \caption{Scilab test code output} \label{test-console} \end{figure} diff --git a/user-code/thermistor/thermistor-OM.tex b/user-code/thermistor/thermistor-OM.tex index 9def0a5..e2a0174 100644 --- a/user-code/thermistor/thermistor-OM.tex +++ b/user-code/thermistor/thermistor-OM.tex @@ -1,4 +1,4 @@ -\section{Interfacing the thermistor from OpenModelica} +\section{Interfacing thermistor from OpenModelica} \subsection{Interfacing the thermistor} In this section, we discuss how to carry out the experiments of the previous section from OpenModelica. We will list the same two experiments, diff --git a/user-code/thermistor/thermistor-base.tex b/user-code/thermistor/thermistor-base.tex index bb7bc0e..49673e5 100644 --- a/user-code/thermistor/thermistor-base.tex +++ b/user-code/thermistor/thermistor-base.tex @@ -88,7 +88,7 @@ connect any wire or component explicitly. \caption{Internal connection diagrams for thermistor and buzzer on the Shield} \end{figure} -\section{Connecting a thermistor with \arduino\ using a breadboard} +\section{Connecting a thermistor using breadboard} This section is useful for those who either don't have a Shield or don't want to use the Shield for performing the experiments given in this chapter. @@ -132,7 +132,7 @@ digital pin 3 on \arduino\ is connected to the one of the legs of the buzzer. An leg of the buzzer is connected to GND of \arduino. -\section{Interfacing the thermistor from the Arduino IDE} +\section{Interfacing thermistor from Arduino IDE} \subsection{Interfacing the thermistor} In this section we will learn how to read values from the thermistor connected at pin 4 of the \arduino\ board. We shall also see how to diff --git a/user-code/thermistor/thermistor-julia.tex b/user-code/thermistor/thermistor-julia.tex index 9549aa1..75f4067 100644 --- a/user-code/thermistor/thermistor-julia.tex +++ b/user-code/thermistor/thermistor-julia.tex @@ -1,4 +1,4 @@ -\section{Interfacing the thermistor from Julia} +\section{Interfacing thermistor from Julia} \subsection{Interfacing the thermistor} In this section, we discuss how to carry out the experiments of the previous section from Julia. We will list the same two experiments, diff --git a/user-code/thermistor/thermistor-python.tex b/user-code/thermistor/thermistor-python.tex index 91c9aed..9f95bbd 100644 --- a/user-code/thermistor/thermistor-python.tex +++ b/user-code/thermistor/thermistor-python.tex @@ -1,4 +1,4 @@ -\section{Interfacing the thermistor from Python} +\section{Interfacing thermistor from Python} \subsection{Interfacing the thermistor} In this section, we discuss how to carry out the experiments of the previous section from Python. We will list the same two experiments, diff --git a/user-code/thermistor/thermistor-scilab.tex b/user-code/thermistor/thermistor-scilab.tex index 820dc94..6975bbf 100644 --- a/user-code/thermistor/thermistor-scilab.tex +++ b/user-code/thermistor/thermistor-scilab.tex @@ -1,4 +1,4 @@ -\section{Interfacing the thermistor from \scilab} +\section{Interfacing thermistor from \scilab} \subsection{Interfacing the thermistor} In this section we will explain a \scilab\ script to read the thermistor values. Based on the acquired values, we will change @@ -150,7 +150,7 @@ The reader should go through the instructions given in \lstinputlisting{\LocTHERMscicode/therm-buzzer.sce} \end{scicode} -\section{Interfacing the thermistor from Xcos} +\section{Interfacing thermistor from Xcos} In this section, we discuss how to read and use the thermistor values using Xcos blocks. The reader should go through the instructions given in \secref{sec:xcos-start} before @@ -187,7 +187,7 @@ getting started. \centering \caption{Xcos parameters to read thermistor} \label{tab:therm-read} - \begin{tabular}{llc} \hline + \begin{tabular}{lp{2.5cm}p{2.2cm}} \hline Name of the block & Parameter name & Value \\ \hline ARDUINO\_SETUP & Identifier of Arduino Card & 1 \\ & Serial com port number & 2\portcmd \\ \hline @@ -245,7 +245,7 @@ getting started. \centering \caption{Xcos parameters to read thermistor and switch the buzzer} \label{tab:therm-buzzer} - \begin{tabular}{llc} \hline + \begin{tabular}{lp{2.5cm}p{2.2cm}} \hline Name of the block & Parameter name & Value \\ \hline ARDUINO\_SETUP & Identifier of Arduino Card & 1 \\ & Serial com port number & 2\portcmd \\ \hline |