\relax \providecommand\hyper@newdestlabel[2]{} \providecommand\HyperFirstAtBeginDocument{\AtBeginDocument} \HyperFirstAtBeginDocument{\ifx\hyper@anchor\@undefined \global\let\oldcontentsline\contentsline \gdef\contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}} \global\let\oldnewlabel\newlabel \gdef\newlabel#1#2{\newlabelxx{#1}#2} \gdef\newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}} \AtEndDocument{\ifx\hyper@anchor\@undefined \let\contentsline\oldcontentsline \let\newlabel\oldnewlabel \fi} \fi} \global\let\hyper@last\relax \gdef\HyperFirstAtBeginDocument#1{#1} \providecommand\HyField@AuxAddToFields[1]{} \providecommand\HyField@AuxAddToCoFields[2]{} \bibstyle{unsrt} \@writefile{toc}{\contentsline {chapter}{\numberline {Preface}}{xi}{chapter*.2}\protected@file@percent } \@writefile{toc}{\contentsline {chapter}{\numberline {List of Figures}}{xiii}{chapter*.3}\protected@file@percent } \@writefile{toc}{\contentsline {chapter}{\numberline {List of Tables}}{xix}{chapter*.4}\protected@file@percent } \@writefile{toc}{\contentsline {chapter}{\numberline {List of Arduino \ Code}}{xxi}{chapter*.5}\protected@file@percent } \@writefile{toc}{\contentsline {chapter}{\numberline {List of Scilab Code}}{xxiii}{chapter*.6}\protected@file@percent } \@writefile{toc}{\contentsline {chapter}{\numberline {List of Python \ Code}}{xxv}{chapter*.7}\protected@file@percent } \@writefile{toc}{\contentsline {chapter}{\numberline {List of Julia\ Code}}{xxvii}{chapter*.8}\protected@file@percent } \@writefile{toc}{\contentsline {chapter}{\numberline {List of OpenModelica\ Code}}{xxix}{chapter*.9}\protected@file@percent } \@writefile{toc}{\thispagestyle {empty}} \@writefile{toc}{\contentsline {chapter}{\numberline {List of Acronyms}}{xxxii}{chapter*.10}\protected@file@percent } \citation{CNES-Scilab} \@writefile{toc}{\contentsline {chapter}{\numberline {1}Introduction}{1}{chapter.1}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} \newlabel{sec:intro}{{1}{1}{Introduction}{chapter.1}{}} \citation{scilab-arduino} \newlabel{fn:file-loc}{{2}{3}{}{Hfootnote.2}{}} \@writefile{toc}{\contentsline {chapter}{\numberline {2}Hardware Environment}{5}{chapter.2}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} \newlabel{sec:hw-env}{{2}{5}{Hardware Environment}{chapter.2}{}} \@writefile{toc}{\contentsline {section}{\numberline {2.1}Microcontroller}{5}{section.2.1}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {2.1}{\ignorespaces Functional block diagram of a microcontroller\relax }}{6}{figure.caption.11}\protected@file@percent } \providecommand*\caption@xref[2]{\@setref\relax\@undefined{#1}} \newlabel{micro-arch}{{2.1}{6}{Functional block diagram of a microcontroller\relax }{figure.caption.11}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {2.1.1}Organization of a Microcontroller}{6}{subsection.2.1.1}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {2.1.2}Microcontroller Peripherals}{7}{subsection.2.1.2}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {2.2}{\ignorespaces ADC resolution\relax }}{9}{figure.caption.12}\protected@file@percent } \newlabel{resolution}{{2.2}{9}{ADC resolution\relax }{figure.caption.12}{}} \citation{oshw-ref} \citation{oshw-ref} \citation{OSHW-logo-ref} \@writefile{lof}{\contentsline {figure}{\numberline {2.3}{\ignorespaces The logo of Open Source Hardware\relax }}{10}{figure.caption.13}\protected@file@percent } \newlabel{fig:OSHW-logo}{{2.3}{10}{The logo of Open Source Hardware\relax }{figure.caption.13}{}} \@writefile{toc}{\contentsline {section}{\numberline {2.2}Open Source Hardware (OSHW)}{10}{section.2.2}\protected@file@percent } \newlabel{sec:oshw}{{2.2}{10}{Open Source Hardware (OSHW)}{section.2.2}{}} \@writefile{toc}{\contentsline {section}{\numberline {2.3}Arduino}{11}{section.2.3}\protected@file@percent } \citation{uno-ref} \citation{mega-ref} \citation{lily-ref} \@writefile{toc}{\contentsline {subsection}{\numberline {2.3.1}Brief History}{12}{subsection.2.3.1}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {2.3.2}Arduino Uno Board}{12}{subsection.2.3.2}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {2.4}{\ignorespaces Arduino Uno Board\relax }}{13}{figure.caption.14}\protected@file@percent } \newlabel{arduino}{{2.4}{13}{Arduino Uno Board\relax }{figure.caption.14}{}} \@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} \@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 } \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}{}} \citation{shield-ref} \@writefile{lof}{\contentsline {figure}{\numberline {2.9}{\ignorespaces PCB image of the Shield}}{16}{figure.caption.23}\protected@file@percent } \newlabel{fig:PCB-image}{{2.9}{16}{PCB image of the Shield}{figure.caption.23}{}} \newlabel{1@xvr}{{}{16}} \newlabel{1@vr}{{}{16}} \newlabel{2@xvr}{{}{16}} \newlabel{2@vr}{{}{16}} \@writefile{lof}{\contentsline {figure}{\numberline {2.10}{\ignorespaces Pictorial representation of the schematic of the Shield\relax }}{17}{figure.caption.24}\protected@file@percent } \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{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 } \newlabel{sec:hw-bread}{{2.6}{20}{Doing the Experiments with a Breadboard}{section.2.6}{}} \@writefile{toc}{\contentsline {chapter}{\numberline {3}Communication between Software and Arduino}{21}{chapter.3}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} \newlabel{sec:sw-env}{{3}{21}{Communication between Software and Arduino}{chapter.3}{}} \@writefile{toc}{\contentsline {section}{\numberline {3.1}Arduino IDE}{22}{section.3.1}\protected@file@percent } \newlabel{arduino-ide}{{3.1}{22}{Arduino IDE}{section.3.1}{}} \newlabel{sec:ard-start}{{3.1}{22}{Arduino IDE}{section.3.1}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.1.1}Downloading and installing on Windows}{22}{subsection.3.1.1}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {3.1.2}Downloading and installing on GNU/Linux Ubuntu}{23}{subsection.3.1.2}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {3.1}{\ignorespaces Windows device manager\relax }}{24}{figure.caption.30}\protected@file@percent } \newlabel{win-device-manager}{{3.1}{24}{Windows device manager\relax }{figure.caption.30}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.2}{\ignorespaces Windows device manager\relax }}{24}{figure.caption.31}\protected@file@percent } \newlabel{win-device-manager-com}{{3.2}{24}{Windows device manager\relax }{figure.caption.31}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.3}{\ignorespaces Windows update driver option\relax }}{25}{figure.caption.32}\protected@file@percent } \newlabel{win-dri-update}{{3.3}{25}{Windows update driver option\relax }{figure.caption.32}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.4}{\ignorespaces Linux terminal to launch Arduino IDE\relax }}{26}{figure.caption.33}\protected@file@percent } \newlabel{arduino-opt}{{3.4}{26}{Linux terminal to launch Arduino IDE\relax }{figure.caption.33}{}} \newlabel{itm:port-check}{{9}{26}{Downloading and installing on GNU/Linux Ubuntu}{Item.47}{}} \newlabel{itm:port-access}{{10}{26}{Downloading and installing on GNU/Linux Ubuntu}{Item.48}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.1.3}Arduino Development Environment}{26}{subsection.3.1.3}\protected@file@percent } \newlabel{sec:Arduino-IDE}{{3.1.3}{26}{Arduino Development Environment}{subsection.3.1.3}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.5}{\ignorespaces Arduino IDE\relax }}{27}{figure.caption.34}\protected@file@percent } \newlabel{ard-ide}{{3.5}{27}{Arduino IDE\relax }{figure.caption.34}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.1.4}Testing Arduino with a sample program}{29}{subsection.3.1.4}\protected@file@percent } \newlabel{sec:testing-arduino}{{3.1.4}{29}{Testing Arduino with a sample program}{subsection.3.1.4}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.1.5}FLOSS Firmware}{30}{subsection.3.1.5}\protected@file@percent } \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{3.{1}}{}}{30}{ardmass.3.1}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {3.{1}}First 10 lines of the FLOSS firmware}{30}{ardmass.3.1}\protected@file@percent } \newlabel{3@xvr}{{}{30}} \newlabel{3@vr}{{}{30}} \citation{scilab-ref} \citation{scilab-interop} \newlabel{ard:firmware}{{3.{1}}{31}{FLOSS Firmware}{ardmass.3.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/floss-firmware/floss\textendash firmware.ino}{31}{lstlisting.3.-1}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {3.2}Scilab}{31}{section.3.2}\protected@file@percent } \newlabel{sec:sci-start}{{3.2}{31}{Scilab}{section.3.2}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.2.1}Downloading and installing on Windows}{32}{subsection.3.2.1}\protected@file@percent } \newlabel{scilab-installation-windows}{{3.2.1}{32}{Downloading and installing on Windows}{subsection.3.2.1}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.2.2}Downloading and installing on GNU/Linux Ubuntu}{32}{subsection.3.2.2}\protected@file@percent } \newlabel{scilab-installation-linux}{{3.2.2}{32}{Downloading and installing on GNU/Linux Ubuntu}{subsection.3.2.2}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.6}{\ignorespaces Linux terminal to launch Scilab\relax }}{33}{figure.caption.35}\protected@file@percent } \newlabel{linux-cd}{{3.6}{33}{Linux terminal to launch Scilab\relax }{figure.caption.35}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.2.3}Scilab-Arduino toolbox}{33}{subsection.3.2.3}\protected@file@percent } \newlabel{sec:sci-ard-toolbox}{{3.2.3}{33}{Scilab-Arduino toolbox}{subsection.3.2.3}{}} \newlabel{4@xvr}{{}{34}} \newlabel{4@vr}{{}{34}} \@writefile{lof}{\contentsline {figure}{\numberline {3.7}{\ignorespaces Browsing toolbox directory\relax }}{35}{figure.caption.36}\protected@file@percent } \newlabel{scilab-browse}{{3.7}{35}{Browsing toolbox directory\relax }{figure.caption.36}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.8}{\ignorespaces Output of builder.sce\relax }}{35}{figure.caption.37}\protected@file@percent } \newlabel{builder}{{3.8}{35}{Output of builder.sce\relax }{figure.caption.37}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.9}{\ignorespaces Output of loader.sce\relax }}{36}{figure.caption.38}\protected@file@percent } \newlabel{loader}{{3.9}{36}{Output of loader.sce\relax }{figure.caption.38}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.2.4}Identifying Arduino communication port number}{36}{subsection.3.2.4}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {3.10}{\ignorespaces Device Manager in windows\relax }}{37}{figure.caption.39}\protected@file@percent } \newlabel{dev-mgr}{{3.10}{37}{Device Manager in windows\relax }{figure.caption.39}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.11}{\ignorespaces COM port properties window\relax }}{38}{figure.caption.40}\protected@file@percent } \newlabel{com}{{3.11}{38}{COM port properties window\relax }{figure.caption.40}{}} \newlabel{fn:port}{{4}{38}{}{Hfootnote.4}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.12}{\ignorespaces Port number on Linux terminal\relax }}{39}{figure.caption.41}\protected@file@percent } \newlabel{linux-port}{{3.12}{39}{Port number on Linux terminal\relax }{figure.caption.41}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.2.5}Testing Scilab-Arduino toolbox}{39}{subsection.3.2.5}\protected@file@percent } \newlabel{sec:testing-scilab-arduino}{{3.2.5}{39}{Testing Scilab-Arduino toolbox}{subsection.3.2.5}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/scilab/test\textunderscore firmware.sce}{40}{lstlisting.3.-2}\protected@file@percent } \newlabel{fn:firmware}{{5}{40}{}{Hfootnote.5}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.13}{\ignorespaces Scilab test code output\relax }}{41}{figure.caption.42}\protected@file@percent } \newlabel{test-console}{{3.13}{41}{Scilab test code output\relax }{figure.caption.42}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.14}{\ignorespaces Arduino toolbox functions used in this book\relax }}{41}{figure.caption.43}\protected@file@percent } \newlabel{func}{{3.14}{41}{Arduino toolbox functions used in this book\relax }{figure.caption.43}{}} \citation{xcos-ref} \@writefile{toc}{\contentsline {subsection}{\numberline {3.2.6}Firmware}{42}{subsection.3.2.6}\protected@file@percent } \newlabel{sec:test-firmware-scilab}{{3.2.6}{42}{Firmware}{subsection.3.2.6}{}} \@writefile{cod}{\addvspace {10pt}} \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{3.{1}}{}}{42}{codemass.3.1}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {3.{1}}A Scilab code to check whether the firmware is properly installed or not}{42}{codemass.3.1}\protected@file@percent } \newlabel{5@xvr}{{}{42}} \newlabel{5@vr}{{}{42}} \newlabel{sci:test-firmware}{{3.{1}}{42}{Firmware}{codemass.3.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/scilab/test\textunderscore firmware.sce}{42}{lstlisting.3.-4}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {3.3}Xcos}{42}{section.3.3}\protected@file@percent } \newlabel{sec:xcos-start}{{3.3}{42}{Xcos}{section.3.3}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.3.1}Downloading, installing and testing}{42}{subsection.3.3.1}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {3.15}{\ignorespaces Sine generator in palette browser\relax }}{43}{figure.caption.44}\protected@file@percent } \newlabel{sine-blk}{{3.15}{43}{Sine generator in palette browser\relax }{figure.caption.44}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.16}{\ignorespaces CSCOPE block in xcos\relax }}{44}{figure.caption.45}\protected@file@percent } \newlabel{plot-blk}{{3.16}{44}{CSCOPE block in xcos\relax }{figure.caption.45}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.3.2}Use case}{44}{subsection.3.3.2}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {3.17}{\ignorespaces CLOCK\_c block in xcos\relax }}{45}{figure.caption.46}\protected@file@percent } \newlabel{clk-blk}{{3.17}{45}{CLOCK\_c block in xcos\relax }{figure.caption.46}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.18}{\ignorespaces Sine generator in Xcos\relax }}{45}{figure.caption.47}\protected@file@percent } \newlabel{sine-gen}{{3.18}{45}{Sine generator in Xcos\relax }{figure.caption.47}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.19}{\ignorespaces Sine generator Xcos output\relax }}{46}{figure.caption.48}\protected@file@percent } \newlabel{sine-output}{{3.19}{46}{Sine generator Xcos output\relax }{figure.caption.48}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.20}{\ignorespaces CSCOPE configuration window\relax }}{46}{figure.caption.49}\protected@file@percent } \newlabel{cscope-config}{{3.20}{46}{CSCOPE configuration window\relax }{figure.caption.49}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.21}{\ignorespaces Simulation setup window\relax }}{47}{figure.caption.50}\protected@file@percent } \newlabel{sim-setup}{{3.21}{47}{Simulation setup window\relax }{figure.caption.50}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.3.3}Xcos-Arduino}{47}{subsection.3.3.3}\protected@file@percent } \citation{python-ref} \@writefile{lof}{\contentsline {figure}{\numberline {3.22}{\ignorespaces Palette browser showing Arduino blocks\relax }}{48}{figure.caption.51}\protected@file@percent } \newlabel{arduino-palette}{{3.22}{48}{Palette browser showing Arduino blocks\relax }{figure.caption.51}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.23}{\ignorespaces Xcos block help\relax }}{48}{figure.caption.52}\protected@file@percent } \newlabel{blk-help}{{3.23}{48}{Xcos block help\relax }{figure.caption.52}{}} \@writefile{toc}{\contentsline {section}{\numberline {3.4}Python}{48}{section.3.4}\protected@file@percent } \newlabel{sec:python-start}{{3.4}{48}{Python}{section.3.4}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.4.1}Downloading and installing on Windows}{49}{subsection.3.4.1}\protected@file@percent } \newlabel{py-windows}{{3.4.1}{49}{Downloading and installing on Windows}{subsection.3.4.1}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.24}{\ignorespaces Installing Python 3 on Windows\relax }}{50}{figure.caption.53}\protected@file@percent } \newlabel{python-windows}{{3.24}{50}{Installing Python 3 on Windows\relax }{figure.caption.53}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.25}{\ignorespaces Launching the Command Prompt on Windows\relax }}{50}{figure.caption.54}\protected@file@percent } \newlabel{windows-run}{{3.25}{50}{Launching the Command Prompt on Windows\relax }{figure.caption.54}{}} \citation{pySerial} \@writefile{lof}{\contentsline {figure}{\numberline {3.26}{\ignorespaces Command Prompt on Windows\relax }}{51}{figure.caption.55}\protected@file@percent } \newlabel{windows-cmd}{{3.26}{51}{Command Prompt on Windows\relax }{figure.caption.55}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.4.2}Downloading and installing on GNU/Linux Ubuntu}{52}{subsection.3.4.2}\protected@file@percent } \newlabel{py-linux}{{3.4.2}{52}{Downloading and installing on GNU/Linux Ubuntu}{subsection.3.4.2}{}} \citation{pySerial} \@writefile{toc}{\contentsline {subsection}{\numberline {3.4.3}Python-Arduino toolbox}{53}{subsection.3.4.3}\protected@file@percent } \newlabel{sec:python-toolbox}{{3.4.3}{53}{Python-Arduino toolbox}{subsection.3.4.3}{}} \newlabel{6@xvr}{{}{53}} \newlabel{6@vr}{{}{53}} \citation{pySerial} \@writefile{toc}{\contentsline {subsection}{\numberline {3.4.4}Firmware}{54}{subsection.3.4.4}\protected@file@percent } \newlabel{sec:test-firmware-python}{{3.4.4}{54}{Firmware}{subsection.3.4.4}{}} \@writefile{pyd}{\addvspace {10pt}} \@writefile{thm}{\contentsline {pymass}{{Python Code}{3.{1}}{}}{54}{pymass.3.1}\protected@file@percent } \@writefile{pyd}{\contentsline {section}{\numberline {3.{1}}A Python script to check whether the firmware is properly installed or not}{54}{pymass.3.1}\protected@file@percent } \citation{julia-ref} \newlabel{7@xvr}{{}{55}} \newlabel{7@vr}{{}{55}} \newlabel{py:test-firmware}{{3.{1}}{55}{Firmware}{pymass.3.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/python/test\textunderscore firmware.py}{55}{lstlisting.3.-5}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {3.5}Julia}{56}{section.3.5}\protected@file@percent } \newlabel{sec:julia-start}{{3.5}{56}{Julia}{section.3.5}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.5.1}Downloading and installing on Windows}{56}{subsection.3.5.1}\protected@file@percent } \newlabel{julia-install-windows}{{3.5.1}{56}{Downloading and installing on Windows}{subsection.3.5.1}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.27}{\ignorespaces Julia's website to download 64-bit Windows/Linux binaries\relax }}{57}{figure.caption.56}\protected@file@percent } \newlabel{julia-download}{{3.27}{57}{Julia's website to download 64-bit Windows/Linux binaries\relax }{figure.caption.56}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.28}{\ignorespaces Installing Julia 1.6.0 on Windows\relax }}{57}{figure.caption.57}\protected@file@percent } \newlabel{julia-windows-install}{{3.28}{57}{Installing Julia 1.6.0 on Windows\relax }{figure.caption.57}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.29}{\ignorespaces Launching the Command Prompt on Windows\relax }}{58}{figure.caption.58}\protected@file@percent } \newlabel{windows-run-julia}{{3.29}{58}{Launching the Command Prompt on Windows\relax }{figure.caption.58}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.30}{\ignorespaces Command Prompt on Windows\relax }}{58}{figure.caption.59}\protected@file@percent } \newlabel{windows-cmd-julia}{{3.30}{58}{Command Prompt on Windows\relax }{figure.caption.59}{}} \citation{julia-serial-ports} \@writefile{lof}{\contentsline {figure}{\numberline {3.31}{\ignorespaces Windows command prompt to launch Julia REPL\relax }}{60}{figure.caption.60}\protected@file@percent } \newlabel{julia-repl-windows}{{3.31}{60}{Windows command prompt to launch Julia REPL\relax }{figure.caption.60}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.32}{\ignorespaces Windows command prompt to enter Pkg REPL in Julia\relax }}{60}{figure.caption.61}\protected@file@percent } \newlabel{julia-pkg-windows}{{3.32}{60}{Windows command prompt to enter Pkg REPL in Julia\relax }{figure.caption.61}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.5.2}Downloading and installing GNU/Linux Ubuntu}{61}{subsection.3.5.2}\protected@file@percent } \newlabel{julia-install-linux}{{3.5.2}{61}{Downloading and installing GNU/Linux Ubuntu}{subsection.3.5.2}{}} \citation{julia-serial-ports} \@writefile{lof}{\contentsline {figure}{\numberline {3.33}{\ignorespaces Linux terminal to launch Julia REPL\relax }}{63}{figure.caption.62}\protected@file@percent } \newlabel{julia-repl}{{3.33}{63}{Linux terminal to launch Julia REPL\relax }{figure.caption.62}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.34}{\ignorespaces Linux terminal to enter Pkg REPL in Julia\relax }}{64}{figure.caption.63}\protected@file@percent } \newlabel{julia-pkg}{{3.34}{64}{Linux terminal to enter Pkg REPL in Julia\relax }{figure.caption.63}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.5.3}Julia-Arduino toolbox}{65}{subsection.3.5.3}\protected@file@percent } \newlabel{sec:julia-toolbox}{{3.5.3}{65}{Julia-Arduino toolbox}{subsection.3.5.3}{}} \newlabel{8@xvr}{{}{65}} \newlabel{8@vr}{{}{65}} \citation{om-ref} \@writefile{toc}{\contentsline {subsection}{\numberline {3.5.4}Firmware}{66}{subsection.3.5.4}\protected@file@percent } \newlabel{sec:test-firmware-julia}{{3.5.4}{66}{Firmware}{subsection.3.5.4}{}} \@writefile{cod}{\addvspace {10pt}} \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{3.{1}}{}}{66}{juliamass.3.1}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {3.{1}}A Julia source file to check whether the firmware is properly installed or not}{66}{juliamass.3.1}\protected@file@percent } \newlabel{9@xvr}{{}{66}} \newlabel{9@vr}{{}{66}} \newlabel{julia:test-firmware}{{3.{1}}{66}{Firmware}{juliamass.3.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/julia/test\textunderscore firmware.jl}{66}{lstlisting.3.-6}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {3.6}OpenModelica}{66}{section.3.6}\protected@file@percent } \newlabel{sec:OpenModelica-start}{{3.6}{66}{OpenModelica}{section.3.6}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.6.1}Downloading and installing on Windows}{67}{subsection.3.6.1}\protected@file@percent } \newlabel{openmodelica-install-windows}{{3.6.1}{67}{Downloading and installing on Windows}{subsection.3.6.1}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.35}{\ignorespaces Allowing Microsoft Defender to run the executable file\relax }}{68}{figure.caption.64}\protected@file@percent } \newlabel{om-run-anyway}{{3.35}{68}{Allowing Microsoft Defender to run the executable file\relax }{figure.caption.64}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.6.2}Downloading and installing on GNU/Linux Ubuntu}{68}{subsection.3.6.2}\protected@file@percent } \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{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 }}{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 }}{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 } \newlabel{om-simulate}{{3.42}{74}{Simulating a model in OMEdit\relax }{figure.caption.71}{}} \@writefile{lof}{\contentsline {figure}{\numberline {3.43}{\ignorespaces Output window of OMEdit\relax }}{74}{figure.caption.72}\protected@file@percent } \newlabel{om-sim-success}{{3.43}{74}{Output window of OMEdit\relax }{figure.caption.72}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.6.4}OpenModelica-Arduino toolbox}{75}{subsection.3.6.4}\protected@file@percent } \newlabel{sec:load-om-toolbox}{{3.6.4}{75}{OpenModelica-Arduino toolbox}{subsection.3.6.4}{}} \newlabel{10@xvr}{{}{75}} \newlabel{10@vr}{{}{75}} \newlabel{itm:library}{{4}{75}{OpenModelica-Arduino toolbox}{Item.158}{}} \newlabel{itm:locate}{{5}{76}{OpenModelica-Arduino toolbox}{Item.159}{}} \newlabel{itm:simulate}{{6}{76}{OpenModelica-Arduino toolbox}{Item.160}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.6.5}Firmware}{76}{subsection.3.6.5}\protected@file@percent } \newlabel{om-firmware}{{3.6.5}{76}{Firmware}{subsection.3.6.5}{}} \newlabel{sec:test-firmware-OpenModelica}{{3.6.5}{76}{Firmware}{subsection.3.6.5}{}} \@writefile{cod}{\addvspace {10pt}} \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{3.{1}}{}}{76}{OpenModelicamass.3.1}\protected@file@percent } \@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}{}} \@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@ }} \newlabel{led}{{4}{79}{Interfacing a Light Emitting Diode}{chapter.4}{}} \@writefile{toc}{\contentsline {section}{\numberline {4.1}Preliminaries}{79}{section.4.1}\protected@file@percent } \newlabel{sec:led-pril}{{4.1}{79}{Preliminaries}{section.4.1}{}} \@writefile{lof}{\contentsline {figure}{\numberline {4.1}{\ignorespaces Light Emitting Diode\relax }}{80}{figure.caption.74}\protected@file@percent } \newlabel{fig:ledsym}{{4.1}{80}{Light Emitting Diode\relax }{figure.caption.74}{}} \@writefile{lof}{\contentsline {figure}{\numberline {4.2}{\ignorespaces Internal connection diagram for the RGB LED on the Shield\relax }}{80}{figure.caption.75}\protected@file@percent } \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 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 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 } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{83}{lstlisting.4.-9}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led\textendash blue\textendash delay/led\textendash blue\textendash delay.ino}{83}{lstlisting.4.-10}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led\textendash blue\textendash delay/led\textendash blue\textendash delay.ino}{83}{lstlisting.4.-11}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{Note:}{84}{section*.78}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{Note:}{84}{section*.80}\protected@file@percent } \@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{1}}{}}{84}{egmass.4.1}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {4.5}{\ignorespaces LED experiments directly on Arduino Uno\ board, without the Shield\relax }}{85}{figure.caption.79}\protected@file@percent } \newlabel{fig:led-uno}{{4.5}{85}{LED experiments directly on \arduino \ board, without the Shield\relax }{figure.caption.79}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {4.3.2}Arduino Code}{85}{subsection.4.3.2}\protected@file@percent } \newlabel{sec:led-arduino-code}{{4.3.2}{85}{Arduino Code}{subsection.4.3.2}{}} \@writefile{ard}{\addvspace {10pt}} \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{1}}{}}{85}{ardmass.4.1}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{85}{ardmass.4.1}\protected@file@percent } \newlabel{12@xvr}{{}{85}} \newlabel{12@vr}{{}{85}} \newlabel{ard:led-blue}{{4.{1}}{85}{Arduino Code}{ardmass.4.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{85}{lstlisting.4.-13}\protected@file@percent } \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{2}}{}}{86}{ardmass.4.2}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{86}{ardmass.4.2}\protected@file@percent } \newlabel{13@xvr}{{}{86}} \newlabel{13@vr}{{}{86}} \newlabel{ard:led-blue-delay}{{4.{2}}{86}{Arduino Code}{ardmass.4.2}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led\textendash blue\textendash delay/led\textendash blue\textendash delay.ino}{86}{lstlisting.4.-14}\protected@file@percent } \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{3}}{}}{86}{ardmass.4.3}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{86}{ardmass.4.3}\protected@file@percent } \newlabel{14@xvr}{{}{86}} \newlabel{14@vr}{{}{86}} \newlabel{ard:led-blue-red}{{4.{3}}{86}{Arduino Code}{ardmass.4.3}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led\textendash blue\textendash red/led\textendash blue\textendash red.ino}{86}{lstlisting.4.-15}\protected@file@percent } \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{4}}{}}{86}{ardmass.4.4}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{86}{ardmass.4.4}\protected@file@percent } \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}{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}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash blue.sce}{87}{lstlisting.4.-18}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash blue.sce}{88}{lstlisting.4.-20}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash blue.sce}{88}{lstlisting.4.-22}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash blue\textendash delay.sce}{89}{lstlisting.4.-23}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash blue\textendash delay.sce}{89}{lstlisting.4.-24}\protected@file@percent } \@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{2}}{}}{89}{egmass.4.2}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {4.4.2}Scilab Code}{89}{subsection.4.4.2}\protected@file@percent } \newlabel{sec:led-scilab-code}{{4.4.2}{89}{Scilab Code}{subsection.4.4.2}{}} \@writefile{cod}{\addvspace {10pt}} \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{89}{codemass.4.1}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{89}{codemass.4.1}\protected@file@percent } \newlabel{16@xvr}{{}{89}} \newlabel{16@vr}{{}{89}} \newlabel{sci:led-blue}{{4.{1}}{89}{Scilab Code}{codemass.4.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash blue.sce}{89}{lstlisting.4.-25}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{2}}{}}{90}{codemass.4.2}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{90}{codemass.4.2}\protected@file@percent } \newlabel{17@xvr}{{}{90}} \newlabel{17@vr}{{}{90}} \newlabel{sci:led-blue-delay}{{4.{2}}{90}{Scilab Code}{codemass.4.2}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash blue\textendash delay.sce}{90}{lstlisting.4.-26}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{3}}{}}{90}{codemass.4.3}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{90}{codemass.4.3}\protected@file@percent } \newlabel{18@xvr}{{}{90}} \newlabel{18@vr}{{}{90}} \newlabel{sci:led-blue-red}{{4.{3}}{90}{Scilab Code}{codemass.4.3}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash blue\textendash red.sce}{90}{lstlisting.4.-27}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{4}}{}}{90}{codemass.4.4}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{90}{codemass.4.4}\protected@file@percent } \newlabel{19@xvr}{{}{90}} \newlabel{19@vr}{{}{90}} \newlabel{sci:led-green-blink}{{4.{4}}{90}{Scilab Code}{codemass.4.4}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash green\textendash blink.sce}{91}{lstlisting.4.-28}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{91}{section.4.5}\protected@file@percent } \newlabel{sec:light-xcos}{{4.5}{91}{Lighting the LED from Scilab Xcos}{section.4.5}{}} \@writefile{lof}{\contentsline {figure}{\numberline {4.6}{\ignorespaces Turning the blue LED on through Xcos}}{92}{figure.caption.81}\protected@file@percent } \newlabel{21@xvr}{{}{92}} \newlabel{21@vr}{{}{92}} \newlabel{fig:led-blue}{{4.6}{92}{Turning the blue LED on through Xcos}{figure.caption.81}{}} \@writefile{lot}{\contentsline {table}{\numberline {4.1}{\ignorespaces Parameters to light the blue LED in Xcos\relax }}{92}{table.caption.82}\protected@file@percent } \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}}{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{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{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}{}} \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}{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}}{}}{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}}{}}{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}{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}{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}}{}}{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 } \newlabel{38@xvr}{{}{105}} \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}}{}}{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}{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}{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}}{}}{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}{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}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue\textendash red.mo}{110}{lstlisting.4.-62}\protected@file@percent } \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{111}{OpenModelicamass.4.4}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{111}{OpenModelicamass.4.4}\protected@file@percent } \newlabel{OpenModelica:led-green-blink}{{4.{4}}{111}{OpenModelica Code}{OpenModelicamass.4.4}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash green\textendash blink.mo}{111}{lstlisting.4.-63}\protected@file@percent } \@writefile{toc}{\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{113}{chapter.5}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} \newlabel{pushbutton}{{5}{113}{Interfacing a Pushbutton}{chapter.5}{}} \@writefile{toc}{\contentsline {section}{\numberline {5.1}Preliminaries}{113}{section.5.1}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {5.1}{\ignorespaces Internal connection diagram for the pushbutton on the Shield\relax }}{114}{figure.caption.89}\protected@file@percent } \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 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 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 } \@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}{117}{lstlisting.5.-66}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{118}{subsection.5.3.2}\protected@file@percent } \newlabel{sec:push-arduino-code}{{5.3.2}{118}{Arduino Code}{subsection.5.3.2}{}} \@writefile{ard}{\addvspace {10pt}} \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{118}{ardmass.5.1}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and display it on the Serial Monitor}{118}{ardmass.5.1}\protected@file@percent } \newlabel{40@xvr}{{}{118}} \newlabel{40@vr}{{}{118}} \newlabel{ard:push-100}{{5.{1}}{118}{Arduino Code}{ardmass.5.1}{}} \@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}{118}{lstlisting.5.-67}\protected@file@percent } \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{118}{ardmass.5.2}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{118}{ardmass.5.2}\protected@file@percent } \newlabel{41@xvr}{{}{118}} \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 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 } \newlabel{fig:ard-meter}{{5.4}{120}{GUI in Scilab to show the status of the pushbutton\relax }{figure.caption.92}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/push\textendash button\textendash status.sce}{120}{lstlisting.5.-70}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/led\textendash push\textendash button.sce}{120}{lstlisting.5.-71}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{121}{subsection.5.4.2}\protected@file@percent } \newlabel{sec:push-scilab-code}{{5.4.2}{121}{Scilab Code}{subsection.5.4.2}{}} \@writefile{cod}{\addvspace {10pt}} \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{121}{codemass.5.1}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and display it on the GUI}{121}{codemass.5.1}\protected@file@percent } \newlabel{42@xvr}{{}{121}} \newlabel{42@vr}{{}{121}} \newlabel{sci:push-100}{{5.{1}}{121}{Scilab Code}{codemass.5.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/push\textendash button\textendash status.sce}{121}{lstlisting.5.-72}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{121}{codemass.5.2}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{121}{codemass.5.2}\protected@file@percent } \newlabel{43@xvr}{{}{121}} \newlabel{43@vr}{{}{121}} \newlabel{sci:push-200}{{5.{2}}{121}{Scilab Code}{codemass.5.2}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/led\textendash push\textendash button.sce}{121}{lstlisting.5.-73}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {5.5}Accessing the pushbutton from Xcos}{122}{section.5.5}\protected@file@percent } \newlabel{sec:push-xcos}{{5.5}{122}{Accessing the pushbutton from Xcos}{section.5.5}{}} \@writefile{lof}{\contentsline {figure}{\numberline {5.5}{\ignorespaces Printing the pushbutton status on the display block}}{123}{figure.caption.93}\protected@file@percent } \newlabel{45@xvr}{{}{123}} \newlabel{45@vr}{{}{123}} \newlabel{fig:push-button-status}{{5.5}{123}{Printing the pushbutton status on the display block}{figure.caption.93}{}} \@writefile{lot}{\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the pushbutton status on the display block\relax }}{123}{table.caption.94}\protected@file@percent } \newlabel{tab:push-button-status}{{5.1}{123}{Parameters to print the pushbutton status on the display block\relax }{table.caption.94}{}} \newlabel{46@xvr}{{}{123}} \newlabel{46@vr}{{}{123}} \@writefile{lof}{\contentsline {figure}{\numberline {5.6}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{124}{figure.caption.95}\protected@file@percent } \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{thm}{\contentsline {egmass}{{Exercise}{5.{1}}{}}{124}{egmass.5.1}\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}{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 } \newlabel{sec:push-python-code}{{5.6.2}{127}{Python Code}{subsection.5.6.2}{}} \@writefile{pyd}{\addvspace {10pt}} \@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{1}}{}}{127}{pymass.5.1}\protected@file@percent } \@writefile{pyd}{\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}\protected@file@percent } \newlabel{50@xvr}{{}{127}} \newlabel{50@vr}{{}{127}} \newlabel{py:push-100}{{5.{1}}{127}{Python Code}{pymass.5.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/push\textendash button\textendash status.py}{127}{lstlisting.5.-77}\protected@file@percent } \@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{2}}{}}{128}{pymass.5.2}\protected@file@percent } \@writefile{pyd}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{128}{pymass.5.2}\protected@file@percent } \newlabel{51@xvr}{{}{128}} \newlabel{51@vr}{{}{128}} \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 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}{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}{{}{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 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 } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{133}{lstlisting.5.-86}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {5.8.2}OpenModelica Code}{133}{subsection.5.8.2}\protected@file@percent } \newlabel{sec:push-OpenModelica-code}{{5.8.2}{133}{OpenModelica Code}{subsection.5.8.2}{}} \@writefile{OpenModelicad}{\addvspace {10pt}} \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{133}{OpenModelicamass.5.1}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and display it on the output window}{133}{OpenModelicamass.5.1}\protected@file@percent } \newlabel{OpenModelica:push-100}{{5.{1}}{133}{OpenModelica Code}{OpenModelicamass.5.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{133}{lstlisting.5.-87}\protected@file@percent } \@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{134}{OpenModelicamass.5.2}\protected@file@percent } \@writefile{OpenModelicad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{134}{OpenModelicamass.5.2}\protected@file@percent } \newlabel{OpenModelica:push-200}{{5.{2}}{134}{OpenModelica Code}{OpenModelicamass.5.2}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{134}{lstlisting.5.-88}\protected@file@percent } \@writefile{toc}{\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{137}{chapter.6}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} \newlabel{ldr}{{6}{137}{Interfacing a Light Dependent Resistor}{chapter.6}{}} \@writefile{toc}{\contentsline {section}{\numberline {6.1}Preliminaries}{137}{section.6.1}\protected@file@percent } \newlabel{fig:ldr}{{6.1a}{138}{Subfigure 6 6.1a}{subfigure.6.1.1}{}} \newlabel{sub@fig:ldr}{{(a)}{a}{Subfigure 6 6.1a\relax }{subfigure.6.1.1}{}} \newlabel{fig:ldrsym}{{6.1b}{138}{Subfigure 6 6.1b}{subfigure.6.1.2}{}} \newlabel{sub@fig:ldrsym}{{(b)}{b}{Subfigure 6 6.1b\relax }{subfigure.6.1.2}{}} \@writefile{lof}{\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{138}{figure.caption.97}\protected@file@percent } \@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of an LDR}}}{138}{subfigure.1.1}\protected@file@percent } \@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 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 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 } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{141}{lstlisting.6.-91}\protected@file@percent } \@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{1}}{}}{142}{egmass.6.1}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{142}{subsection.6.3.2}\protected@file@percent } \newlabel{sec:ldr-arduino-code}{{6.3.2}{142}{Arduino Code}{subsection.6.3.2}{}} \@writefile{ard}{\addvspace {10pt}} \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{142}{ardmass.6.1}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{142}{ardmass.6.1}\protected@file@percent } \newlabel{54@xvr}{{}{142}} \newlabel{54@vr}{{}{142}} \newlabel{ard:ldr-read}{{6.{1}}{142}{Arduino Code}{ardmass.6.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{143}{lstlisting.6.-92}\protected@file@percent } \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{143}{ardmass.6.2}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{143}{ardmass.6.2}\protected@file@percent } \newlabel{55@xvr}{{}{143}} \newlabel{55@vr}{{}{143}} \newlabel{ard:ldr-led}{{6.{2}}{143}{Arduino Code}{ardmass.6.2}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/arduino/ldr\textendash led/ldr\textendash led.ino}{143}{lstlisting.6.-93}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{143}{section.6.4}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{143}{subsection.6.4.1}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/scilab/ldr\textendash read.sce}{144}{lstlisting.6.-94}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/scilab/ldr\textendash read.sce}{144}{lstlisting.6.-95}\protected@file@percent } \@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{2}}{}}{145}{egmass.6.2}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{145}{subsection.6.4.2}\protected@file@percent } \newlabel{sec:ldr-scilab-code}{{6.4.2}{145}{Scilab Code}{subsection.6.4.2}{}} \@writefile{cod}{\addvspace {10pt}} \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{145}{codemass.6.1}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{145}{codemass.6.1}\protected@file@percent } \newlabel{56@xvr}{{}{145}} \newlabel{56@vr}{{}{145}} \newlabel{sci:ldr-read}{{6.{1}}{145}{Scilab Code}{codemass.6.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/scilab/ldr\textendash read.sce}{145}{lstlisting.6.-96}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{146}{codemass.6.2}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{146}{codemass.6.2}\protected@file@percent } \newlabel{57@xvr}{{}{146}} \newlabel{57@vr}{{}{146}} \newlabel{sci:ldr-led}{{6.{2}}{146}{Scilab Code}{codemass.6.2}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/scilab/ldr\textendash led.sce}{146}{lstlisting.6.-97}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{146}{section.6.5}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read LDR values}}{147}{figure.caption.101}\protected@file@percent } \newlabel{59@xvr}{{}{147}} \newlabel{59@vr}{{}{147}} \newlabel{fig:ldr-read}{{6.5}{147}{Xcos diagram to read LDR values}{figure.caption.101}{}} \@writefile{lof}{\contentsline {figure}{\numberline {6.6}{\ignorespaces Plot window in Xcos to read LDR values\relax }}{147}{figure.caption.102}\protected@file@percent } \newlabel{fig:ldr-read-plot}{{6.6}{147}{Plot window in Xcos to read LDR values\relax }{figure.caption.102}{}} \@writefile{lot}{\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{148}{table.caption.103}\protected@file@percent } \newlabel{tab:ldr-read}{{6.1}{148}{Xcos parameters to read LDR\relax }{table.caption.103}{}} \newlabel{60@xvr}{{}{148}} \newlabel{60@vr}{{}{148}} \@writefile{lof}{\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}\protected@file@percent } \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{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{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}{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}} \@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{1}}{}}{152}{pymass.6.1}\protected@file@percent } \@writefile{pyd}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{152}{pymass.6.1}\protected@file@percent } \newlabel{64@xvr}{{}{152}} \newlabel{64@vr}{{}{152}} \newlabel{py:ldr-read}{{6.{1}}{152}{Python Code}{pymass.6.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/python/ldr\textendash read.py}{152}{lstlisting.6.-100}\protected@file@percent } \@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{2}}{}}{153}{pymass.6.2}\protected@file@percent } \@writefile{pyd}{\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{153}{pymass.6.2}\protected@file@percent } \newlabel{65@xvr}{{}{153}} \newlabel{65@vr}{{}{153}} \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 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}}{}}{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}} \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{156}{juliamass.6.1}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{156}{juliamass.6.1}\protected@file@percent } \newlabel{66@xvr}{{}{156}} \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}}{}}{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}{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}}{}}{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}}{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@ }} \newlabel{potmeter}{{7}{161}{Interfacing a Potentiometer}{chapter.7}{}} \@writefile{toc}{\contentsline {section}{\numberline {7.1}Preliminaries}{161}{section.7.1}\protected@file@percent } \newlabel{fig:pot}{{7.1a}{162}{Subfigure 7 7.1a}{subfigure.7.1.1}{}} \newlabel{sub@fig:pot}{{(a)}{a}{Subfigure 7 7.1a\relax }{subfigure.7.1.1}{}} \newlabel{fig:potsch}{{7.1b}{162}{Subfigure 7 7.1b}{subfigure.7.1.2}{}} \newlabel{sub@fig:potsch}{{(b)}{b}{Subfigure 7 7.1b\relax }{subfigure.7.1.2}{}} \@writefile{lof}{\contentsline {figure}{\numberline {7.1}{\ignorespaces Potentiometer's schematic on the Shield\relax }}{162}{figure.caption.107}\protected@file@percent } \newlabel{fig:potmeterconn}{{7.1}{162}{Potentiometer's schematic on the Shield\relax }{figure.caption.107}{}} \@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{162}{subfigure.1.1}\protected@file@percent } \@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 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 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 } \@writefile{toc}{\contentsline {subsection}{\numberline {7.3.2}Arduino Code}{165}{subsection.7.3.2}\protected@file@percent } \newlabel{sec:pot-arduino-code}{{7.3.2}{165}{Arduino Code}{subsection.7.3.2}{}} \@writefile{ard}{\addvspace {10pt}} \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{165}{ardmass.7.1}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{165}{ardmass.7.1}\protected@file@percent } \newlabel{69@xvr}{{}{165}} \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 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 } \@writefile{toc}{\contentsline {subsection}{\numberline {7.4.2}Scilab Code}{167}{subsection.7.4.2}\protected@file@percent } \newlabel{sec:pot-scilab-code}{{7.4.2}{167}{Scilab Code}{subsection.7.4.2}{}} \@writefile{cod}{\addvspace {10pt}} \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{167}{codemass.7.1}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{167}{codemass.7.1}\protected@file@percent } \newlabel{70@xvr}{{}{167}} \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 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 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{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}}{}}{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 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}}{}}{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}}{}}{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@ }} \newlabel{thermistor}{{8}{179}{Interfacing a Thermistor}{chapter.8}{}} \@writefile{toc}{\contentsline {section}{\numberline {8.1}Preliminaries}{179}{section.8.1}\protected@file@percent } \citation{therm-wiki} \citation{therm-wiki} \newlabel{fig:therm}{{8.1a}{180}{Subfigure 8 8.1a}{subfigure.8.1.1}{}} \newlabel{sub@fig:therm}{{(a)}{a}{Subfigure 8 8.1a\relax }{subfigure.8.1.1}{}} \newlabel{fig:thermsym}{{8.1b}{180}{Subfigure 8 8.1b}{subfigure.8.1.2}{}} \newlabel{sub@fig:thermsym}{{(b)}{b}{Subfigure 8 8.1b\relax }{subfigure.8.1.2}{}} \@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 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}{}} \newlabel{sub@fig:buzzer-conn}{{(b)}{b}{Subfigure 8 8.2b\relax }{subfigure.8.2.2}{}} \@writefile{lof}{\contentsline {figure}{\numberline {8.2}{\ignorespaces Internal connection diagrams for thermistor and buzzer on the Shield\relax }}{181}{figure.caption.112}\protected@file@percent } \@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Thermistor connection diagram}}}{181}{subfigure.2.1}\protected@file@percent } \@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Buzzer connection diagram}}}{181}{subfigure.2.2}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {8.3}{\ignorespaces A thermistor to read its values with Arduino Uno using a breadboard\relax }}{182}{figure.caption.113}\protected@file@percent } \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 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 } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{183}{lstlisting.8.-127}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm\textendash buzzer/therm\textendash buzzer.ino}{184}{lstlisting.8.-128}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{Note:}{185}{section*.115}\protected@file@percent } \@writefile{thm}{\contentsline {egmass}{{Exercise}{8.{1}}{}}{185}{egmass.8.1}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {8.3.2}Arduino Code}{185}{subsection.8.3.2}\protected@file@percent } \newlabel{sec:therm-arduino-code}{{8.3.2}{185}{Arduino Code}{subsection.8.3.2}{}} \@writefile{ard}{\addvspace {10pt}} \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{185}{ardmass.8.1}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{185}{ardmass.8.1}\protected@file@percent } \newlabel{76@xvr}{{}{185}} \newlabel{76@vr}{{}{185}} \newlabel{ard:therm-read}{{8.{1}}{185}{Arduino Code}{ardmass.8.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{185}{lstlisting.8.-129}\protected@file@percent } \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{8.{2}}{}}{186}{ardmass.8.2}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{186}{ardmass.8.2}\protected@file@percent } \newlabel{77@xvr}{{}{186}} \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 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 } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm\textendash buzzer.sce}{189}{lstlisting.8.-133}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{Note:}{189}{section*.116}\protected@file@percent } \@writefile{thm}{\contentsline {egmass}{{Exercise}{8.{2}}{}}{189}{egmass.8.2}\protected@file@percent } \newlabel{therm-abc}{{8.1}{189}{Interfacing the thermistor}{equation.8.4.1}{}} \newlabel{therm-beta}{{8.2}{190}{Interfacing the thermistor}{equation.8.4.2}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {8.4.2}Scilab Code}{190}{subsection.8.4.2}\protected@file@percent } \newlabel{sec:therm-scilab-code}{{8.4.2}{190}{Scilab Code}{subsection.8.4.2}{}} \@writefile{cod}{\addvspace {10pt}} \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{190}{codemass.8.1}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{190}{codemass.8.1}\protected@file@percent } \newlabel{78@xvr}{{}{190}} \newlabel{78@vr}{{}{190}} \newlabel{sci:therm-read}{{8.{1}}{190}{Scilab Code}{codemass.8.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm\textendash read.sce}{190}{lstlisting.8.-134}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{8.{2}}{}}{191}{codemass.8.2}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{191}{codemass.8.2}\protected@file@percent } \newlabel{79@xvr}{{}{191}} \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 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}} \newlabel{fig:therm-read}{{8.5}{192}{Xcos diagram to read thermistor values}{figure.caption.117}{}} \@writefile{lot}{\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{193}{table.caption.118}\protected@file@percent } \newlabel{tab:therm-read}{{8.1}{193}{Xcos parameters to read thermistor\relax }{table.caption.118}{}} \newlabel{82@xvr}{{}{193}} \newlabel{82@vr}{{}{193}} \@writefile{lof}{\contentsline {figure}{\numberline {8.6}{\ignorespaces Plot window in Xcos to read thermistor values\relax }}{193}{figure.caption.119}\protected@file@percent } \newlabel{fig:therm-read-output}{{8.6}{193}{Plot window in Xcos to read thermistor values\relax }{figure.caption.119}{}} \@writefile{lof}{\contentsline {figure}{\numberline {8.7}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on}}{194}{figure.caption.120}\protected@file@percent } \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{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 {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{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}{{}{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}{{}{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 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:}{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}} \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{203}{juliamass.8.1}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{203}{juliamass.8.1}\protected@file@percent } \newlabel{88@xvr}{{}{203}} \newlabel{88@vr}{{}{203}} \newlabel{julia:therm-read}{{8.{1}}{203}{Julia Code}{juliamass.8.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm\textendash read.jl}{203}{lstlisting.8.-144}\protected@file@percent } \@writefile{thm}{\contentsline {juliamass}{{Julia Code}{8.{2}}{}}{203}{juliamass.8.2}\protected@file@percent } \@writefile{juliad}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{203}{juliamass.8.2}\protected@file@percent } \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}{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}{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}}{}}{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}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/therm\textendash buzzer.mo}{207}{lstlisting.8.-150}\protected@file@percent } \@writefile{toc}{\contentsline {chapter}{\numberline {9}Interfacing a Servomotor}{209}{chapter.9}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} \newlabel{sec:servo}{{9}{209}{Interfacing a Servomotor}{chapter.9}{}} \@writefile{toc}{\contentsline {section}{\numberline {9.1}Preliminaries}{209}{section.9.1}\protected@file@percent } \newlabel{sec:servo-pril}{{9.1}{209}{Preliminaries}{section.9.1}{}} \citation{arduino-pwm} \@writefile{lof}{\contentsline {figure}{\numberline {9.1}{\ignorespaces Connecting servomotor to the Shield attached on Arduino Uno\relax }}{210}{figure.caption.127}\protected@file@percent } \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 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 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} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{213}{lstlisting.9.-151}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{213}{lstlisting.9.-152}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{213}{lstlisting.9.-153}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{213}{lstlisting.9.-154}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash reverse/servo\textendash reverse.ino}{214}{lstlisting.9.-155}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash pot/servo\textendash pot.ino}{214}{lstlisting.9.-156}\protected@file@percent } \@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{1}}{}}{215}{egmass.9.1}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{215}{subsection.9.3.2}\protected@file@percent } \newlabel{sec:servo-arduino-code}{{9.3.2}{215}{Arduino Code}{subsection.9.3.2}{}} \@writefile{ard}{\addvspace {10pt}} \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{215}{ardmass.9.1}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{215}{ardmass.9.1}\protected@file@percent } \newlabel{90@xvr}{{}{216}} \newlabel{90@vr}{{}{216}} \newlabel{ard:servo-init}{{9.{1}}{216}{Arduino Code}{ardmass.9.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{216}{lstlisting.9.-157}\protected@file@percent } \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{216}{ardmass.9.2}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{216}{ardmass.9.2}\protected@file@percent } \newlabel{91@xvr}{{}{216}} \newlabel{91@vr}{{}{216}} \newlabel{ard:servo-reverse}{{9.{2}}{216}{Arduino Code}{ardmass.9.2}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash reverse/servo\textendash reverse.ino}{216}{lstlisting.9.-158}\protected@file@percent } \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{3}}{}}{216}{ardmass.9.3}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in increments}{216}{ardmass.9.3}\protected@file@percent } \newlabel{92@xvr}{{}{216}} \newlabel{92@vr}{{}{216}} \newlabel{ard:servo-loop}{{9.{3}}{216}{Arduino Code}{ardmass.9.3}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash loop/servo\textendash loop.ino}{217}{lstlisting.9.-159}\protected@file@percent } \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{4}}{}}{217}{ardmass.9.4}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {9.{4}}Rotating the servomotor through the potentiometer}{217}{ardmass.9.4}\protected@file@percent } \newlabel{93@xvr}{{}{217}} \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 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 } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash init.sce}{218}{lstlisting.9.-162}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash reverse.sce}{219}{lstlisting.9.-163}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash pot.sce}{219}{lstlisting.9.-164}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{220}{subsection.9.4.2}\protected@file@percent } \newlabel{sec:servo-scilab-code}{{9.4.2}{220}{Scilab Code}{subsection.9.4.2}{}} \@writefile{cod}{\addvspace {10pt}} \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{220}{codemass.9.1}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{220}{codemass.9.1}\protected@file@percent } \newlabel{94@xvr}{{}{220}} \newlabel{94@vr}{{}{220}} \newlabel{sci:servo-init}{{9.{1}}{220}{Scilab Code}{codemass.9.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash init.sce}{220}{lstlisting.9.-165}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{221}{codemass.9.2}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{221}{codemass.9.2}\protected@file@percent } \newlabel{95@xvr}{{}{221}} \newlabel{95@vr}{{}{221}} \newlabel{sci:servo-reverse}{{9.{2}}{221}{Scilab Code}{codemass.9.2}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash reverse.sce}{221}{lstlisting.9.-166}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{3}}{}}{221}{codemass.9.3}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{221}{codemass.9.3}\protected@file@percent } \newlabel{96@xvr}{{}{221}} \newlabel{96@vr}{{}{221}} \newlabel{sci:servo-loop}{{9.{3}}{221}{Scilab Code}{codemass.9.3}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash loop.sce}{221}{lstlisting.9.-167}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{4}}{}}{221}{codemass.9.4}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{221}{codemass.9.4}\protected@file@percent } \newlabel{97@xvr}{{}{221}} \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 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}} \newlabel{fig:servo-init}{{9.4}{223}{Rotating the servomotor by a fixed angle}{figure.caption.131}{}} \@writefile{lot}{\contentsline {table}{\numberline {9.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{223}{table.caption.132}\protected@file@percent } \newlabel{tab:servo-init}{{9.2}{223}{Parameters to rotate the servomotor by $30^\circ $\relax }{table.caption.132}{}} \newlabel{100@xvr}{{}{223}} \newlabel{100@vr}{{}{223}} \@writefile{lof}{\contentsline {figure}{\numberline {9.5}{\ignorespaces Rotating the servomotor forward and then reverse}}{224}{figure.caption.133}\protected@file@percent } \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 }}{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 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.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}{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}{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}}{}}{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}{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}}{}}{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}}{}}{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}{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}}{}}{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 } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} \newlabel{dcmotor}{{10}{245}{Interfacing a DC Motor}{chapter.10}{}} \@writefile{toc}{\contentsline {section}{\numberline {10.1}Preliminaries}{245}{section.10.1}\protected@file@percent } \citation{arduino-pwm} \@writefile{lof}{\contentsline {figure}{\numberline {10.1}{\ignorespaces L293D motor driver board\relax }}{246}{figure.caption.139}\protected@file@percent } \newlabel{fig:motordriverboard}{{10.1}{246}{L293D motor driver board\relax }{figure.caption.139}{}} \@writefile{lot}{\contentsline {table}{\numberline {10.1}{\ignorespaces Values to be passed for different H-Bridge circuits\relax }}{246}{table.caption.140}\protected@file@percent } \newlabel{table:convention}{{10.1}{246}{Values to be passed for different H-Bridge circuits\relax }{table.caption.140}{}} \@writefile{lof}{\contentsline {figure}{\numberline {10.2}{\ignorespaces PWM pins on an Arduino Uno\ board\relax }}{247}{figure.caption.141}\protected@file@percent } \newlabel{fig:uno-pwm}{{10.2}{247}{PWM pins on an \arduino \ board\relax }{figure.caption.141}{}} \@writefile{lof}{\contentsline {figure}{\numberline {10.3}{\ignorespaces A schematic of DC motor connections\relax }}{248}{figure.caption.142}\protected@file@percent } \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 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 } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{249}{lstlisting.10.-193}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{249}{lstlisting.10.-194}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{250}{lstlisting.10.-195}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor\textendash both/dcmotor\textendash both.ino}{250}{lstlisting.10.-196}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor\textendash both/dcmotor\textendash both.ino}{250}{lstlisting.10.-197}\protected@file@percent } \@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{1}}{}}{251}{egmass.10.1}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{251}{subsection.10.2.2}\protected@file@percent } \newlabel{sec:dcmotor-arduino-code}{{10.2.2}{251}{Arduino Code}{subsection.10.2.2}{}} \@writefile{ard}{\addvspace {10pt}} \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{251}{ardmass.10.1}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{251}{ardmass.10.1}\protected@file@percent } \newlabel{118@xvr}{{}{251}} \newlabel{118@vr}{{}{251}} \newlabel{ard:dcmotor-clock}{{10.{1}}{251}{Arduino Code}{ardmass.10.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{251}{lstlisting.10.-198}\protected@file@percent } \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{252}{ardmass.10.2}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{252}{ardmass.10.2}\protected@file@percent } \newlabel{119@xvr}{{}{252}} \newlabel{119@vr}{{}{252}} \newlabel{ard:dcmotor-both}{{10.{2}}{252}{Arduino Code}{ardmass.10.2}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor\textendash both/dcmotor\textendash both.ino}{252}{lstlisting.10.-199}\protected@file@percent } \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{252}{ardmass.10.3}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{252}{ardmass.10.3}\protected@file@percent } \newlabel{120@xvr}{{}{252}} \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 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 } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{254}{lstlisting.10.-204}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{254}{lstlisting.10.-205}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{255}{lstlisting.10.-206}\protected@file@percent } \@writefile{toc}{\contentsline {paragraph}{Note:}{255}{section*.146}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{255}{lstlisting.10.-207}\protected@file@percent } \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{256}{lstlisting.10.-208}\protected@file@percent } \@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{2}}{}}{256}{egmass.10.2}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{256}{subsection.10.3.2}\protected@file@percent } \newlabel{sec:dcmotor-scilab-code}{{10.3.2}{256}{Scilab Code}{subsection.10.3.2}{}} \@writefile{cod}{\addvspace {10pt}} \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{256}{codemass.10.1}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{256}{codemass.10.1}\protected@file@percent } \newlabel{121@xvr}{{}{256}} \newlabel{121@vr}{{}{256}} \newlabel{sci:dcmotor-clock}{{10.{1}}{256}{Scilab Code}{codemass.10.1}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{257}{lstlisting.10.-209}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{257}{codemass.10.2}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{257}{codemass.10.2}\protected@file@percent } \newlabel{122@xvr}{{}{257}} \newlabel{122@vr}{{}{257}} \newlabel{sci:dcmotor-both}{{10.{2}}{257}{Scilab Code}{codemass.10.2}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{257}{lstlisting.10.-210}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{257}{codemass.10.3}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{257}{codemass.10.3}\protected@file@percent } \newlabel{123@xvr}{{}{257}} \newlabel{123@vr}{{}{257}} \newlabel{sci:dcmotor-loop}{{10.{3}}{257}{Scilab Code}{codemass.10.3}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash loop.sce}{257}{lstlisting.10.-211}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {10.5}{\ignorespaces Control of DC motor for a specified time from Xcos}}{258}{figure.caption.147}\protected@file@percent } \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 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}} \newlabel{126@vr}{{}{259}} \@writefile{lof}{\contentsline {figure}{\numberline {10.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{260}{figure.caption.149}\protected@file@percent } \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{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{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}{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}}{}}{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:}{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}{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}{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}{{}{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}{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}{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}}{}}{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}}{}}{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} \@writefile{toc}{\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{281}{chapter.11}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} \newlabel{modbus}{{11}{281}{Implementation of Modbus Protocol}{chapter.11}{}} \@writefile{toc}{\contentsline {section}{\numberline {11.1}Preliminaries}{281}{section.11.1}\protected@file@percent } \citation{simplymodbus} \@writefile{lof}{\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{282}{figure.caption.159}\protected@file@percent } \newlabel{mod-block}{{11.1}{282}{Block diagram representation of the Protocol\relax }{figure.caption.159}{}} \@writefile{lof}{\contentsline {figure}{\numberline {11.2}{\ignorespaces Cycle of query-response between master and slave\relax }}{283}{figure.caption.160}\protected@file@percent } \newlabel{mod-master-slave}{{11.2}{283}{Cycle of query-response between master and slave\relax }{figure.caption.160}{}} \@writefile{lot}{\contentsline {table}{\numberline {11.1}{\ignorespaces Pins available on RS485 and their usage\relax }}{283}{table.caption.161}\protected@file@percent } \newlabel{tab:rs-485-pins}{{11.1}{283}{Pins available on RS485 and their usage\relax }{table.caption.161}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {11.1.1}Energy meter}{283}{subsection.11.1.1}\protected@file@percent } \newlabel{sec:energy-meter}{{11.1.1}{283}{Energy meter}{subsection.11.1.1}{}} \@writefile{lof}{\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{284}{figure.caption.162}\protected@file@percent } \newlabel{rs-485}{{11.3}{284}{Pins in RS485 module\relax }{figure.caption.162}{}} \@writefile{lot}{\contentsline {table}{\numberline {11.2}{\ignorespaces Operations supported by Modbus RTU\relax }}{285}{table.caption.163}\protected@file@percent } \newlabel{tab:modbus-fun-codes}{{11.2}{285}{Operations supported by Modbus RTU\relax }{table.caption.163}{}} \@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{toc}{\contentsline {paragraph}{Note:}{286}{section*.165}\protected@file@percent } \@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 } \newlabel{tab:memory-storage}{{11.6}{289}{Memory storage of a four-byte integer in little-endian and big-endian\relax }{table.caption.168}{}} \@writefile{lof}{\contentsline {figure}{\numberline {11.4}{\ignorespaces Block diagram for reading the parameters in energy meter\relax }}{290}{figure.caption.169}\protected@file@percent } \newlabel{fig:block-diagram}{{11.4}{290}{Block diagram for reading the parameters in energy meter\relax }{figure.caption.169}{}} \@writefile{lof}{\contentsline {figure}{\numberline {11.5}{\ignorespaces Experimental set up for reading energy meter\relax }}{290}{figure.caption.170}\protected@file@percent } \newlabel{fig:full-set-up}{{11.5}{290}{Experimental set up for reading energy meter\relax }{figure.caption.170}{}} \@writefile{toc}{\contentsline {section}{\numberline {11.2}Setup for the experiment}{290}{section.11.2}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {11.3}Software required for this experiment}{291}{section.11.3}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{292}{figure.caption.171}\protected@file@percent } \newlabel{fig:modbus-firmware}{{11.6}{292}{Flowchart of Arduino firmware\relax }{figure.caption.171}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {11.3.1}Arduino Firmware}{293}{subsection.11.3.1}\protected@file@percent } \newlabel{sec:firmware-modbus}{{11.3.1}{293}{Arduino Firmware}{subsection.11.3.1}{}} \@writefile{ard}{\addvspace {10pt}} \@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{293}{ardmass.11.1}\protected@file@percent } \@writefile{ard}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{293}{ardmass.11.1}\protected@file@percent } \newlabel{139@xvr}{{}{293}} \newlabel{139@vr}{{}{293}} \newlabel{ard:firmware-modbus}{{11.{1}}{293}{Arduino Firmware}{ardmass.11.1}{}} \@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}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}{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}}{}}{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}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read\textunderscore val.sce}{296}{lstlisting.11.-246}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{296}{codemass.11.2}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for single phase current output}{296}{codemass.11.2}\protected@file@percent } \newlabel{141@xvr}{{}{296}} \newlabel{141@vr}{{}{296}} \newlabel{sci:current-modbus}{{11.{2}}{296}{Scilab Code}{codemass.11.2}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read\textunderscore current.sci}{296}{lstlisting.11.-247}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{296}{codemass.11.3}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for single phase voltage output}{296}{codemass.11.3}\protected@file@percent } \newlabel{142@xvr}{{}{296}} \newlabel{142@vr}{{}{296}} \newlabel{sci:voltage-modbus}{{11.{3}}{296}{Scilab Code}{codemass.11.3}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read\textunderscore voltage.sci}{296}{lstlisting.11.-248}\protected@file@percent } \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{297}{codemass.11.4}\protected@file@percent } \@writefile{cod}{\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for single phase active power output}{297}{codemass.11.4}\protected@file@percent } \newlabel{143@xvr}{{}{297}} \newlabel{143@vr}{{}{297}} \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{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{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{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 }}{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{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}{}} \@writefile{pyd}{\addvspace {10pt}} \@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{1}}{}}{303}{pymass.11.1}\protected@file@percent } \@writefile{pyd}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{303}{pymass.11.1}\protected@file@percent } \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}{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}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 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}}{}}{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}}{}}{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}}{}}{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 } \newlabel{154@xvr}{{}{309}} \newlabel{154@vr}{{}{309}} \newlabel{OpenModelica:modbus-power}{{11.{3}}{309}{OpenModelica Code}{OpenModelicamass.11.3}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/OpenModelica/readPower.mo}{309}{lstlisting.11.-258}\protected@file@percent } \citation{amazon-shield} \citation{flipkart-shield} \bibdata{bibliography.bib} \@writefile{toc}{\contentsline {chapter}{\numberline {A}Procuring the Hardware}{311}{appendix.A}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} \newlabel{shield-appendix}{{A}{311}{Procuring the Hardware}{appendix.A}{}} \@writefile{lot}{\contentsline {table}{\numberline {A.1}{\ignorespaces Approximate cost of the components\relax }}{312}{table.caption.185}\protected@file@percent } \newlabel{tab:cost}{{A.1}{312}{Approximate cost of the components\relax }{table.caption.185}{}} \bibcite{CNES-Scilab}{1} \bibcite{scilab-arduino}{2} \bibcite{oshw-ref}{3} \bibcite{OSHW-logo-ref}{4} \bibcite{uno-ref}{5} \bibcite{mega-ref}{6} \bibcite{lily-ref}{7} \bibcite{phone-ref}{8} \bibcite{candy-ref}{9} \bibcite{3d-printer-ref}{10} \@writefile{toc}{\contentsline {chapter}{\numberline {References}}{313}{appendix*.186}\protected@file@percent } \bibcite{shield-ref}{11} \bibcite{scilab-ref}{12} \bibcite{scilab-interop}{13} \bibcite{xcos-ref}{14} \bibcite{python-ref}{15} \bibcite{pySerial}{16} \bibcite{julia-ref}{17} \bibcite{julia-serial-ports}{18} \bibcite{om-ref}{19} \bibcite{therm-wiki}{20} \bibcite{arduino-pwm}{21} \bibcite{servo-lib}{22} \bibcite{modbus}{23} \bibcite{modbus-paper}{24} \bibcite{simplymodbus}{25} \bibcite{online-crc}{26} \bibcite{ieee-754-conv}{27} \bibcite{amazon-shield}{28} \bibcite{flipkart-shield}{29} \gdef \@abspage@last{349}