diff options
author | Sudhakar Kumar | 2023-07-14 23:46:17 +0530 |
---|---|---|
committer | Sudhakar Kumar | 2023-07-14 23:46:17 +0530 |
commit | ea231212d104ef634f44a4be7bc46eaac7787ccc (patch) | |
tree | e86f86c86c205e3831800e80d2810918dc60b242 | |
parent | 5e774c2276172c5be70a05f10d4e6f69218d5361 (diff) | |
download | FLOSS-Arduino-Book-ea231212d104ef634f44a4be7bc46eaac7787ccc.tar.gz FLOSS-Arduino-Book-ea231212d104ef634f44a4be7bc46eaac7787ccc.tar.bz2 FLOSS-Arduino-Book-ea231212d104ef634f44a4be7bc46eaac7787ccc.zip |
Regenerate the books
-rw-r--r-- | floss-arduino.ard | 38 | ||||
-rw-r--r-- | floss-arduino.aux | 2293 | ||||
-rw-r--r-- | floss-arduino.cod | 46 | ||||
-rw-r--r-- | floss-arduino.idx | 10 | ||||
-rw-r--r-- | floss-arduino.lof | 231 | ||||
-rw-r--r-- | floss-arduino.log | 1334 | ||||
-rw-r--r-- | floss-arduino.lot | 64 | ||||
-rw-r--r-- | floss-arduino.out | 324 | ||||
-rw-r--r-- | floss-arduino.pdf | bin | 31293102 -> 34496768 bytes | |||
-rw-r--r-- | floss-arduino.tex | 4 | ||||
-rw-r--r-- | floss-arduino.thm | 177 | ||||
-rw-r--r-- | floss-arduino.toc | 312 | ||||
-rw-r--r-- | julia.pdf | bin | 26861241 -> 26735437 bytes | |||
-rw-r--r-- | openmodelica.pdf | bin | 29269413 -> 29144455 bytes | |||
-rw-r--r-- | python.pdf | bin | 26737988 -> 26612457 bytes | |||
-rw-r--r-- | scilab.pdf | bin | 31427212 -> 31293102 bytes |
16 files changed, 3282 insertions, 1551 deletions
diff --git a/floss-arduino.ard b/floss-arduino.ard index f92fcf7..3436f35 100644 --- a/floss-arduino.ard +++ b/floss-arduino.ard @@ -1,28 +1,28 @@ \contentsline {section}{\numberline {3.{1}}First 10 lines of the FLOSS firmware}{27}{ardmass.3.1}% \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{50}{ardmass.4.1}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{50}{ardmass.4.2}% -\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{51}{ardmass.4.3}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{51}{ardmass.4.4}% +\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{74}{ardmass.4.1}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{74}{ardmass.4.2}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{75}{ardmass.4.3}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{75}{ardmass.4.4}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and display it on the Serial Monitor}{63}{ardmass.5.1}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{63}{ardmass.5.2}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and display it on the Serial Monitor}{101}{ardmass.5.1}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{101}{ardmass.5.2}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{74}{ardmass.6.1}% -\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{74}{ardmass.6.2}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{122}{ardmass.6.1}% +\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{122}{ardmass.6.2}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{84}{ardmass.7.1}% +\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{140}{ardmass.7.1}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{94}{ardmass.8.1}% -\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{95}{ardmass.8.2}% +\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{156}{ardmass.8.1}% +\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{157}{ardmass.8.2}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{110}{ardmass.9.1}% -\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{110}{ardmass.9.2}% -\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in increments}{111}{ardmass.9.3}% -\contentsline {section}{\numberline {9.{4}}Rotating the servomotor through the potentiometer}{111}{ardmass.9.4}% +\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{180}{ardmass.9.1}% +\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{180}{ardmass.9.2}% +\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in increments}{181}{ardmass.9.3}% +\contentsline {section}{\numberline {9.{4}}Rotating the servomotor through the potentiometer}{181}{ardmass.9.4}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{126}{ardmass.10.1}% -\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{126}{ardmass.10.2}% -\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{127}{ardmass.10.3}% +\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{208}{ardmass.10.1}% +\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{208}{ardmass.10.2}% +\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{209}{ardmass.10.3}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{147}{ardmass.11.1}% +\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{241}{ardmass.11.1}% diff --git a/floss-arduino.aux b/floss-arduino.aux index 1704577..38627d4 100644 --- a/floss-arduino.aux +++ b/floss-arduino.aux @@ -17,13 +17,16 @@ \providecommand\HyField@AuxAddToFields[1]{} \providecommand\HyField@AuxAddToCoFields[2]{} \bibstyle{unsrt} -\@writefile{toc}{\contentsline {chapter}{\numberline {Preface}}{vii}{chapter*.2}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {List of Figures}}{ix}{chapter*.3}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {List of Tables}}{xiii}{chapter*.4}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {List of Arduino \ Code}}{xv}{chapter*.5}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {List of Scilab Code}}{xvii}{chapter*.6}\protected@file@percent } +\@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}}{xvii}{chapter*.4}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {List of Arduino \ Code}}{xix}{chapter*.5}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {List of Scilab Code}}{xxi}{chapter*.6}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {List of Python \ Code}}{xxiii}{chapter*.7}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {List of Julia\ Code}}{xxv}{chapter*.8}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {List of OpenModelica\ Code}}{xxvii}{chapter*.9}\protected@file@percent } \@writefile{toc}{\thispagestyle {empty}} -\@writefile{toc}{\contentsline {chapter}{\numberline {List of Acronyms}}{xix}{chapter*.7}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {List of Acronyms}}{xxix}{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@ }} @@ -37,17 +40,17 @@ \newlabel{sec:hw-env}{{2}{3}{Hardware Environment}{chapter.2}{}} \@writefile{toc}{\contentsline {section}{\numberline {2.1}Microcontroller}{3}{section.2.1}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {2.1.1}Organization of a Microcontroller}{3}{subsection.2.1.1}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {2.1}{\ignorespaces Functional block diagram of a microcontroller\relax }}{4}{figure.caption.8}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {2.1}{\ignorespaces Functional block diagram of a microcontroller\relax }}{4}{figure.caption.11}\protected@file@percent } \providecommand*\caption@xref[2]{\@setref\relax\@undefined{#1}} -\newlabel{micro-arch}{{2.1}{4}{Functional block diagram of a microcontroller\relax }{figure.caption.8}{}} +\newlabel{micro-arch}{{2.1}{4}{Functional block diagram of a microcontroller\relax }{figure.caption.11}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {2.1.2}Microcontroller Peripherals}{5}{subsection.2.1.2}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {2.2}{\ignorespaces ADC resolution\relax }}{6}{figure.caption.9}\protected@file@percent } -\newlabel{resolution}{{2.2}{6}{ADC resolution\relax }{figure.caption.9}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {2.2}{\ignorespaces ADC resolution\relax }}{6}{figure.caption.12}\protected@file@percent } +\newlabel{resolution}{{2.2}{6}{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 }}{7}{figure.caption.10}\protected@file@percent } -\newlabel{fig:OSHW-logo}{{2.3}{7}{The logo of Open Source Hardware\relax }{figure.caption.10}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {2.3}{\ignorespaces The logo of Open Source Hardware\relax }}{7}{figure.caption.13}\protected@file@percent } +\newlabel{fig:OSHW-logo}{{2.3}{7}{The logo of Open Source Hardware\relax }{figure.caption.13}{}} \@writefile{toc}{\contentsline {section}{\numberline {2.2}Open Source Hardware (OSHW)}{7}{section.2.2}\protected@file@percent } \newlabel{sec:oshw}{{2.2}{7}{Open Source Hardware (OSHW)}{section.2.2}{}} \@writefile{toc}{\contentsline {section}{\numberline {2.3}Arduino}{8}{section.2.3}\protected@file@percent } @@ -55,51 +58,51 @@ \citation{uno-ref} \citation{mega-ref} \citation{lily-ref} -\@writefile{lof}{\contentsline {figure}{\numberline {2.4}{\ignorespaces Arduino Uno Board\relax }}{9}{figure.caption.11}\protected@file@percent } -\newlabel{arduino}{{2.4}{9}{Arduino Uno Board\relax }{figure.caption.11}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {2.4}{\ignorespaces Arduino Uno Board\relax }}{9}{figure.caption.14}\protected@file@percent } +\newlabel{arduino}{{2.4}{9}{Arduino Uno Board\relax }{figure.caption.14}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {2.3.2}Arduino Uno Board}{9}{subsection.2.3.2}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {2.3.3}Popular Arduino Projects}{9}{subsection.2.3.3}\protected@file@percent } \citation{phone-ref} \citation{candy-ref} -\@writefile{lot}{\contentsline {table}{\numberline {2.1}{\ignorespaces Arduino Uno hardware specifications\relax }}{10}{table.caption.12}\protected@file@percent } -\newlabel{micro-table}{{2.1}{10}{Arduino Uno hardware specifications\relax }{table.caption.12}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {2.5}{\ignorespaces Arduino Mega Board\relax }}{10}{figure.caption.13}\protected@file@percent } -\newlabel{mega}{{2.5}{10}{Arduino Mega Board\relax }{figure.caption.13}{}} -\@writefile{toc}{\contentsline {paragraph}{Arduino phone:}{10}{section*.15}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {2.1}{\ignorespaces Arduino Uno hardware specifications\relax }}{10}{table.caption.15}\protected@file@percent } +\newlabel{micro-table}{{2.1}{10}{Arduino Uno hardware specifications\relax }{table.caption.15}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {2.5}{\ignorespaces Arduino Mega Board\relax }}{10}{figure.caption.16}\protected@file@percent } +\newlabel{mega}{{2.5}{10}{Arduino Mega Board\relax }{figure.caption.16}{}} +\@writefile{toc}{\contentsline {paragraph}{Arduino phone:}{10}{section*.18}\protected@file@percent } \citation{3d-printer-ref} \citation{shield-ref} -\@writefile{lof}{\contentsline {figure}{\numberline {2.6}{\ignorespaces LilyPad Arduino Board\relax }}{11}{figure.caption.14}\protected@file@percent } -\newlabel{lily}{{2.6}{11}{LilyPad Arduino Board\relax }{figure.caption.14}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {2.7}{\ignorespaces Arduino Phone\relax }}{11}{figure.caption.16}\protected@file@percent } -\newlabel{arduino-phone}{{2.7}{11}{Arduino Phone\relax }{figure.caption.16}{}} -\@writefile{toc}{\contentsline {paragraph}{Candy sorting machine:}{11}{section*.17}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{3D printers:}{11}{section*.18}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {2.6}{\ignorespaces LilyPad Arduino Board\relax }}{11}{figure.caption.17}\protected@file@percent } +\newlabel{lily}{{2.6}{11}{LilyPad Arduino Board\relax }{figure.caption.17}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {2.7}{\ignorespaces Arduino Phone\relax }}{11}{figure.caption.19}\protected@file@percent } +\newlabel{arduino-phone}{{2.7}{11}{Arduino Phone\relax }{figure.caption.19}{}} +\@writefile{toc}{\contentsline {paragraph}{Candy sorting machine:}{11}{section*.20}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{3D printers:}{11}{section*.21}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {2.4}Shield}{11}{section.2.4}\protected@file@percent } \newlabel{shield-hw}{{2.4}{11}{Shield}{section.2.4}{}} \citation{shield-ref} -\@writefile{lof}{\contentsline {figure}{\numberline {2.8}{\ignorespaces 3D printer\relax }}{12}{figure.caption.19}\protected@file@percent } -\newlabel{3dprinter}{{2.8}{12}{3D printer\relax }{figure.caption.19}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {2.8}{\ignorespaces 3D printer\relax }}{12}{figure.caption.22}\protected@file@percent } +\newlabel{3dprinter}{{2.8}{12}{3D printer\relax }{figure.caption.22}{}} \newlabel{1@xvr}{{}{12}} \newlabel{1@vr}{{}{12}} \newlabel{2@xvr}{{}{12}} \newlabel{2@vr}{{}{12}} \@writefile{toc}{\contentsline {section}{\numberline {2.5}Experimental Test Bed}{12}{section.2.5}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {2.9}{\ignorespaces PCB image of the shield}}{13}{figure.caption.20}\protected@file@percent } -\newlabel{fig:PCB-image}{{2.9}{13}{PCB image of the shield}{figure.caption.20}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {2.9}{\ignorespaces PCB image of the shield}}{13}{figure.caption.23}\protected@file@percent } +\newlabel{fig:PCB-image}{{2.9}{13}{PCB image of the shield}{figure.caption.23}{}} \@writefile{toc}{\contentsline {section}{\numberline {2.6}Doing the Experiments with a Breadboard}{13}{section.2.6}\protected@file@percent } \newlabel{sec:hw-bread}{{2.6}{13}{Doing the Experiments with a Breadboard}{section.2.6}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {2.10}{\ignorespaces Pictorial representation of the schematic of the shield\relax }}{14}{figure.caption.21}\protected@file@percent } -\newlabel{fig:sch-shield}{{2.10}{14}{Pictorial representation of the schematic of the shield\relax }{figure.caption.21}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {2.11}{\ignorespaces PCB of the shield\relax }}{15}{figure.caption.22}\protected@file@percent } -\newlabel{fig:shield-photo}{{2.11}{15}{PCB of the shield\relax }{figure.caption.22}{}} -\@writefile{lot}{\contentsline {table}{\numberline {2.2}{\ignorespaces Values of components used in the shield\relax }}{15}{table.caption.23}\protected@file@percent } -\newlabel{tab:shield-values}{{2.2}{15}{Values of components used in the shield\relax }{table.caption.23}{}} -\@writefile{lot}{\contentsline {table}{\numberline {2.3}{\ignorespaces Information on sensors and pin numbers\relax }}{16}{table.caption.24}\protected@file@percent } -\newlabel{shield-table}{{2.3}{16}{Information on sensors and pin numbers\relax }{table.caption.24}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {2.12}{\ignorespaces Picture of the shield with all components\relax }}{16}{figure.caption.25}\protected@file@percent } -\newlabel{shield}{{2.12}{16}{Picture of the shield with all components\relax }{figure.caption.25}{}} -\@writefile{lot}{\contentsline {table}{\numberline {2.4}{\ignorespaces Lists of components to work with the breadboard\relax }}{17}{table.caption.26}\protected@file@percent } -\newlabel{tab:bread-comps}{{2.4}{17}{Lists of components to work with the breadboard\relax }{table.caption.26}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {2.10}{\ignorespaces Pictorial representation of the schematic of the shield\relax }}{14}{figure.caption.24}\protected@file@percent } +\newlabel{fig:sch-shield}{{2.10}{14}{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 }}{15}{figure.caption.25}\protected@file@percent } +\newlabel{fig:shield-photo}{{2.11}{15}{PCB of the shield\relax }{figure.caption.25}{}} +\@writefile{lot}{\contentsline {table}{\numberline {2.2}{\ignorespaces Values of components used in the shield\relax }}{15}{table.caption.26}\protected@file@percent } +\newlabel{tab:shield-values}{{2.2}{15}{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 }}{16}{table.caption.27}\protected@file@percent } +\newlabel{shield-table}{{2.3}{16}{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 }}{16}{figure.caption.28}\protected@file@percent } +\newlabel{shield}{{2.12}{16}{Picture of the shield with all components\relax }{figure.caption.28}{}} +\@writefile{lot}{\contentsline {table}{\numberline {2.4}{\ignorespaces Lists of components to work with the breadboard\relax }}{17}{table.caption.29}\protected@file@percent } +\newlabel{tab:bread-comps}{{2.4}{17}{Lists of components to work with the breadboard\relax }{table.caption.29}{}} \@writefile{toc}{\contentsline {chapter}{\numberline {3}Communication between Software and Arduino}{19}{chapter.3}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} @@ -108,21 +111,21 @@ \newlabel{arduino-ide}{{3.1}{19}{Arduino IDE}{section.3.1}{}} \newlabel{sec:ard-start}{{3.1}{19}{Arduino IDE}{section.3.1}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.1.1}Downloading and installing on Windows}{20}{subsection.3.1.1}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {3.1}{\ignorespaces Windows device manager\relax }}{21}{figure.caption.27}\protected@file@percent } -\newlabel{win-device-manager}{{3.1}{21}{Windows device manager\relax }{figure.caption.27}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.1}{\ignorespaces Windows device manager\relax }}{21}{figure.caption.30}\protected@file@percent } +\newlabel{win-device-manager}{{3.1}{21}{Windows device manager\relax }{figure.caption.30}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.1.2}Downloading and installing on GNU/Linux Ubuntu}{21}{subsection.3.1.2}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {3.2}{\ignorespaces Windows device manager\relax }}{22}{figure.caption.28}\protected@file@percent } -\newlabel{win-device-manager-com}{{3.2}{22}{Windows device manager\relax }{figure.caption.28}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.2}{\ignorespaces Windows device manager\relax }}{22}{figure.caption.31}\protected@file@percent } +\newlabel{win-device-manager-com}{{3.2}{22}{Windows device manager\relax }{figure.caption.31}{}} \newlabel{itm:port-check}{{9}{22}{Downloading and installing on GNU/Linux Ubuntu}{Item.47}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.3}{\ignorespaces Windows update driver option\relax }}{23}{figure.caption.29}\protected@file@percent } -\newlabel{win-dri-update}{{3.3}{23}{Windows update driver option\relax }{figure.caption.29}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.3}{\ignorespaces Windows update driver option\relax }}{23}{figure.caption.32}\protected@file@percent } +\newlabel{win-dri-update}{{3.3}{23}{Windows update driver option\relax }{figure.caption.32}{}} \newlabel{itm:port-access}{{10}{23}{Downloading and installing on GNU/Linux Ubuntu}{Item.48}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.1.3}Arduino Development Environment}{23}{subsection.3.1.3}\protected@file@percent } \newlabel{sec:Arduino-IDE}{{3.1.3}{23}{Arduino Development Environment}{subsection.3.1.3}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.4}{\ignorespaces Linux terminal to launch Arduino IDE\relax }}{24}{figure.caption.30}\protected@file@percent } -\newlabel{arduino-opt}{{3.4}{24}{Linux terminal to launch Arduino IDE\relax }{figure.caption.30}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.5}{\ignorespaces Arduino IDE\relax }}{24}{figure.caption.31}\protected@file@percent } -\newlabel{ard-ide}{{3.5}{24}{Arduino IDE\relax }{figure.caption.31}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.4}{\ignorespaces Linux terminal to launch Arduino IDE\relax }}{24}{figure.caption.33}\protected@file@percent } +\newlabel{arduino-opt}{{3.4}{24}{Linux terminal to launch Arduino IDE\relax }{figure.caption.33}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.5}{\ignorespaces Arduino IDE\relax }}{24}{figure.caption.34}\protected@file@percent } +\newlabel{ard-ide}{{3.5}{24}{Arduino IDE\relax }{figure.caption.34}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.1.4}Testing Arduino with a sample program}{26}{subsection.3.1.4}\protected@file@percent } \newlabel{sec:testing-arduino}{{3.1.4}{26}{Testing Arduino with a sample program}{subsection.3.1.4}{}} \citation{scilab-ref} @@ -140,37 +143,37 @@ \newlabel{scilab-installation-windows}{{3.2.1}{28}{Downloading and installing on Windows}{subsection.3.2.1}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.2.2}Downloading and installing on GNU/Linux Ubuntu}{28}{subsection.3.2.2}\protected@file@percent } \newlabel{scilab-installation-linux}{{3.2.2}{28}{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 }}{29}{figure.caption.32}\protected@file@percent } -\newlabel{linux-cd}{{3.6}{29}{Linux terminal to launch Scilab\relax }{figure.caption.32}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.6}{\ignorespaces Linux terminal to launch Scilab\relax }}{29}{figure.caption.35}\protected@file@percent } +\newlabel{linux-cd}{{3.6}{29}{Linux terminal to launch Scilab\relax }{figure.caption.35}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.2.3}Scilab-Arduino toolbox}{29}{subsection.3.2.3}\protected@file@percent } \newlabel{sec:sci-ard-toolbox}{{3.2.3}{29}{Scilab-Arduino toolbox}{subsection.3.2.3}{}} \newlabel{4@xvr}{{}{29}} \newlabel{4@vr}{{}{29}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.7}{\ignorespaces Browsing toolbox directory\relax }}{30}{figure.caption.33}\protected@file@percent } -\newlabel{scilab-browse}{{3.7}{30}{Browsing toolbox directory\relax }{figure.caption.33}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.8}{\ignorespaces Output of builder.sce\relax }}{31}{figure.caption.34}\protected@file@percent } -\newlabel{builder}{{3.8}{31}{Output of builder.sce\relax }{figure.caption.34}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.7}{\ignorespaces Browsing toolbox directory\relax }}{30}{figure.caption.36}\protected@file@percent } +\newlabel{scilab-browse}{{3.7}{30}{Browsing toolbox directory\relax }{figure.caption.36}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.8}{\ignorespaces Output of builder.sce\relax }}{31}{figure.caption.37}\protected@file@percent } +\newlabel{builder}{{3.8}{31}{Output of builder.sce\relax }{figure.caption.37}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.2.4}Identifying Arduino communication port number}{31}{subsection.3.2.4}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {3.9}{\ignorespaces Output of loader.sce\relax }}{32}{figure.caption.35}\protected@file@percent } -\newlabel{loader}{{3.9}{32}{Output of loader.sce\relax }{figure.caption.35}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.9}{\ignorespaces Output of loader.sce\relax }}{32}{figure.caption.38}\protected@file@percent } +\newlabel{loader}{{3.9}{32}{Output of loader.sce\relax }{figure.caption.38}{}} \newlabel{fn:port}{{4}{32}{}{Hfootnote.4}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.10}{\ignorespaces Device Manager in windows\relax }}{33}{figure.caption.36}\protected@file@percent } -\newlabel{dev-mgr}{{3.10}{33}{Device Manager in windows\relax }{figure.caption.36}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.10}{\ignorespaces Device Manager in windows\relax }}{33}{figure.caption.39}\protected@file@percent } +\newlabel{dev-mgr}{{3.10}{33}{Device Manager in windows\relax }{figure.caption.39}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.2.5}Testing Scilab-Arduino toolbox}{33}{subsection.3.2.5}\protected@file@percent } \newlabel{sec:testing-scilab-arduino}{{3.2.5}{33}{Testing Scilab-Arduino toolbox}{subsection.3.2.5}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.11}{\ignorespaces COM port properties window\relax }}{34}{figure.caption.37}\protected@file@percent } -\newlabel{com}{{3.11}{34}{COM port properties window\relax }{figure.caption.37}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.12}{\ignorespaces Port number on Linux terminal\relax }}{34}{figure.caption.38}\protected@file@percent } -\newlabel{linux-port}{{3.12}{34}{Port number on Linux terminal\relax }{figure.caption.38}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.11}{\ignorespaces COM port properties window\relax }}{34}{figure.caption.40}\protected@file@percent } +\newlabel{com}{{3.11}{34}{COM port properties window\relax }{figure.caption.40}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.12}{\ignorespaces Port number on Linux terminal\relax }}{34}{figure.caption.41}\protected@file@percent } +\newlabel{linux-port}{{3.12}{34}{Port number on Linux terminal\relax }{figure.caption.41}{}} \@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/scilab/test\textunderscore firmware.sce}{35}{lstlisting.3.-2}\protected@file@percent } \@writefile{toc}{\contentsline {subsection}{\numberline {3.2.6}Firmware}{35}{subsection.3.2.6}\protected@file@percent } \newlabel{sec:test-firmware-scilab}{{3.2.6}{35}{Firmware}{subsection.3.2.6}{}} \@writefile{cod}{\addvspace {10pt}} \newlabel{fn:firmware}{{5}{35}{}{Hfootnote.5}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.13}{\ignorespaces Scilab test code output\relax }}{36}{figure.caption.39}\protected@file@percent } -\newlabel{test-console}{{3.13}{36}{Scilab test code output\relax }{figure.caption.39}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.14}{\ignorespaces Arduino toolbox functions used in this book\relax }}{36}{figure.caption.40}\protected@file@percent } -\newlabel{func}{{3.14}{36}{Arduino toolbox functions used in this book\relax }{figure.caption.40}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.13}{\ignorespaces Scilab test code output\relax }}{36}{figure.caption.42}\protected@file@percent } +\newlabel{test-console}{{3.13}{36}{Scilab test code output\relax }{figure.caption.42}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.14}{\ignorespaces Arduino toolbox functions used in this book\relax }}{36}{figure.caption.43}\protected@file@percent } +\newlabel{func}{{3.14}{36}{Arduino toolbox functions used in this book\relax }{figure.caption.43}{}} \@writefile{thm}{\contentsline {codemass}{{Scilab Code}{3.{1}}{}}{36}{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}{36}{codemass.3.1}\protected@file@percent } \newlabel{5@xvr}{{}{36}} @@ -181,792 +184,1478 @@ \@writefile{toc}{\contentsline {section}{\numberline {3.3}Xcos}{37}{section.3.3}\protected@file@percent } \newlabel{sec:xcos-start}{{3.3}{37}{Xcos}{section.3.3}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.3.1}Downloading, installing and testing}{37}{subsection.3.3.1}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {3.15}{\ignorespaces Sine generator in palette browser\relax }}{38}{figure.caption.41}\protected@file@percent } -\newlabel{sine-blk}{{3.15}{38}{Sine generator in palette browser\relax }{figure.caption.41}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.15}{\ignorespaces Sine generator in palette browser\relax }}{38}{figure.caption.44}\protected@file@percent } +\newlabel{sine-blk}{{3.15}{38}{Sine generator in palette browser\relax }{figure.caption.44}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.3.2}Use case}{38}{subsection.3.3.2}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {3.16}{\ignorespaces CSCOPE block in xcos\relax }}{39}{figure.caption.42}\protected@file@percent } -\newlabel{plot-blk}{{3.16}{39}{CSCOPE block in xcos\relax }{figure.caption.42}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.17}{\ignorespaces CLOCK\_c block in xcos\relax }}{39}{figure.caption.43}\protected@file@percent } -\newlabel{clk-blk}{{3.17}{39}{CLOCK\_c block in xcos\relax }{figure.caption.43}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.18}{\ignorespaces Sine generator in Xcos\relax }}{40}{figure.caption.44}\protected@file@percent } -\newlabel{sine-gen}{{3.18}{40}{Sine generator in Xcos\relax }{figure.caption.44}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.19}{\ignorespaces Sine generator Xcos output\relax }}{40}{figure.caption.45}\protected@file@percent } -\newlabel{sine-output}{{3.19}{40}{Sine generator Xcos output\relax }{figure.caption.45}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.20}{\ignorespaces CSCOPE configuration window\relax }}{41}{figure.caption.46}\protected@file@percent } -\newlabel{cscope-config}{{3.20}{41}{CSCOPE configuration window\relax }{figure.caption.46}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.16}{\ignorespaces CSCOPE block in xcos\relax }}{39}{figure.caption.45}\protected@file@percent } +\newlabel{plot-blk}{{3.16}{39}{CSCOPE block in xcos\relax }{figure.caption.45}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.17}{\ignorespaces CLOCK\_c block in xcos\relax }}{39}{figure.caption.46}\protected@file@percent } +\newlabel{clk-blk}{{3.17}{39}{CLOCK\_c block in xcos\relax }{figure.caption.46}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.18}{\ignorespaces Sine generator in Xcos\relax }}{40}{figure.caption.47}\protected@file@percent } +\newlabel{sine-gen}{{3.18}{40}{Sine generator in Xcos\relax }{figure.caption.47}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.19}{\ignorespaces Sine generator Xcos output\relax }}{40}{figure.caption.48}\protected@file@percent } +\newlabel{sine-output}{{3.19}{40}{Sine generator Xcos output\relax }{figure.caption.48}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.20}{\ignorespaces CSCOPE configuration window\relax }}{41}{figure.caption.49}\protected@file@percent } +\newlabel{cscope-config}{{3.20}{41}{CSCOPE configuration window\relax }{figure.caption.49}{}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.3.3}Xcos-Arduino}{41}{subsection.3.3.3}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {3.21}{\ignorespaces Simulation setup window\relax }}{42}{figure.caption.47}\protected@file@percent } -\newlabel{sim-setup}{{3.21}{42}{Simulation setup window\relax }{figure.caption.47}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.22}{\ignorespaces Palette browser showing Arduino blocks\relax }}{42}{figure.caption.48}\protected@file@percent } -\newlabel{arduino-palette}{{3.22}{42}{Palette browser showing Arduino blocks\relax }{figure.caption.48}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {3.23}{\ignorespaces Xcos block help\relax }}{43}{figure.caption.49}\protected@file@percent } -\newlabel{blk-help}{{3.23}{43}{Xcos block help\relax }{figure.caption.49}{}} -\@writefile{toc}{\contentsline {chapter}{\numberline {4}Interfacing a Light Emitting Diode}{45}{chapter.4}\protected@file@percent } +\citation{python-ref} +\@writefile{lof}{\contentsline {figure}{\numberline {3.21}{\ignorespaces Simulation setup window\relax }}{42}{figure.caption.50}\protected@file@percent } +\newlabel{sim-setup}{{3.21}{42}{Simulation setup window\relax }{figure.caption.50}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.22}{\ignorespaces Palette browser showing Arduino blocks\relax }}{42}{figure.caption.51}\protected@file@percent } +\newlabel{arduino-palette}{{3.22}{42}{Palette browser showing Arduino blocks\relax }{figure.caption.51}{}} +\@writefile{toc}{\contentsline {section}{\numberline {3.4}Python}{42}{section.3.4}\protected@file@percent } +\newlabel{sec:python-start}{{3.4}{42}{Python}{section.3.4}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.23}{\ignorespaces Xcos block help\relax }}{43}{figure.caption.52}\protected@file@percent } +\newlabel{blk-help}{{3.23}{43}{Xcos block help\relax }{figure.caption.52}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.4.1}Downloading and installing on Windows}{43}{subsection.3.4.1}\protected@file@percent } +\newlabel{py-windows}{{3.4.1}{43}{Downloading and installing on Windows}{subsection.3.4.1}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.24}{\ignorespaces Installing Python 3 on Windows\relax }}{44}{figure.caption.53}\protected@file@percent } +\newlabel{python-windows}{{3.24}{44}{Installing Python 3 on Windows\relax }{figure.caption.53}{}} +\citation{pySerial} +\@writefile{lof}{\contentsline {figure}{\numberline {3.25}{\ignorespaces Launching the Command Prompt on Windows\relax }}{45}{figure.caption.54}\protected@file@percent } +\newlabel{windows-run}{{3.25}{45}{Launching the Command Prompt on Windows\relax }{figure.caption.54}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.26}{\ignorespaces Command Prompt on Windows\relax }}{45}{figure.caption.55}\protected@file@percent } +\newlabel{windows-cmd}{{3.26}{45}{Command Prompt on Windows\relax }{figure.caption.55}{}} +\citation{pySerial} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.4.2}Downloading and installing on GNU/Linux Ubuntu}{46}{subsection.3.4.2}\protected@file@percent } +\newlabel{py-linux}{{3.4.2}{46}{Downloading and installing on GNU/Linux Ubuntu}{subsection.3.4.2}{}} +\citation{pySerial} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.4.3}Python-Arduino toolbox}{47}{subsection.3.4.3}\protected@file@percent } +\newlabel{sec:python-toolbox}{{3.4.3}{47}{Python-Arduino toolbox}{subsection.3.4.3}{}} +\newlabel{6@xvr}{{}{47}} +\newlabel{6@vr}{{}{47}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.4.4}Firmware}{47}{subsection.3.4.4}\protected@file@percent } +\newlabel{sec:test-firmware-python}{{3.4.4}{47}{Firmware}{subsection.3.4.4}{}} +\@writefile{pyd}{\addvspace {10pt}} +\citation{julia-ref} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{3.{1}}{}}{48}{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}{48}{pymass.3.1}\protected@file@percent } +\newlabel{7@xvr}{{}{48}} +\newlabel{7@vr}{{}{48}} +\newlabel{py:test-firmware}{{3.{1}}{48}{Firmware}{pymass.3.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/python/test\textunderscore firmware.py}{48}{lstlisting.3.-5}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {3.5}Julia}{48}{section.3.5}\protected@file@percent } +\newlabel{sec:julia-start}{{3.5}{48}{Julia}{section.3.5}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.27}{\ignorespaces Julia's website to download 64-bit Windows/Linux binaries\relax }}{49}{figure.caption.56}\protected@file@percent } +\newlabel{julia-download}{{3.27}{49}{Julia's website to download 64-bit Windows/Linux binaries\relax }{figure.caption.56}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.1}Downloading and installing on Windows}{49}{subsection.3.5.1}\protected@file@percent } +\newlabel{julia-install-windows}{{3.5.1}{49}{Downloading and installing on Windows}{subsection.3.5.1}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.28}{\ignorespaces Installing Julia 1.6.0 on Windows\relax }}{50}{figure.caption.57}\protected@file@percent } +\newlabel{julia-windows-install}{{3.28}{50}{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 }}{50}{figure.caption.58}\protected@file@percent } +\newlabel{windows-run-julia}{{3.29}{50}{Launching the Command Prompt on Windows\relax }{figure.caption.58}{}} +\citation{julia-serial-ports} +\@writefile{lof}{\contentsline {figure}{\numberline {3.30}{\ignorespaces Command Prompt on Windows\relax }}{51}{figure.caption.59}\protected@file@percent } +\newlabel{windows-cmd-julia}{{3.30}{51}{Command Prompt on Windows\relax }{figure.caption.59}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.31}{\ignorespaces Windows command prompt to launch Julia REPL\relax }}{52}{figure.caption.60}\protected@file@percent } +\newlabel{julia-repl-windows}{{3.31}{52}{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 }}{53}{figure.caption.61}\protected@file@percent } +\newlabel{julia-pkg-windows}{{3.32}{53}{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}{53}{subsection.3.5.2}\protected@file@percent } +\newlabel{julia-install-linux}{{3.5.2}{53}{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 }}{55}{figure.caption.62}\protected@file@percent } +\newlabel{julia-repl}{{3.33}{55}{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 }}{56}{figure.caption.63}\protected@file@percent } +\newlabel{julia-pkg}{{3.34}{56}{Linux terminal to enter Pkg REPL in Julia\relax }{figure.caption.63}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.3}Julia-Arduino toolbox}{56}{subsection.3.5.3}\protected@file@percent } +\newlabel{sec:julia-toolbox}{{3.5.3}{56}{Julia-Arduino toolbox}{subsection.3.5.3}{}} +\newlabel{8@xvr}{{}{56}} +\newlabel{8@vr}{{}{56}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.4}Firmware}{57}{subsection.3.5.4}\protected@file@percent } +\newlabel{sec:test-firmware-julia}{{3.5.4}{57}{Firmware}{subsection.3.5.4}{}} +\@writefile{cod}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{3.{1}}{}}{57}{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}{57}{juliamass.3.1}\protected@file@percent } +\newlabel{9@xvr}{{}{57}} +\newlabel{9@vr}{{}{57}} +\newlabel{julia:test-firmware}{{3.{1}}{57}{Firmware}{juliamass.3.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/julia/test\textunderscore firmware.jl}{57}{lstlisting.3.-6}\protected@file@percent } +\citation{om-ref} +\@writefile{toc}{\contentsline {section}{\numberline {3.6}OpenModelica}{58}{section.3.6}\protected@file@percent } +\newlabel{sec:OpenModelica-start}{{3.6}{58}{OpenModelica}{section.3.6}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.1}Downloading and installing on Windows}{58}{subsection.3.6.1}\protected@file@percent } +\newlabel{openmodelica-install-windows}{{3.6.1}{58}{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 }}{59}{figure.caption.64}\protected@file@percent } +\newlabel{om-run-anyway}{{3.35}{59}{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}{59}{subsection.3.6.2}\protected@file@percent } +\newlabel{openmodelica-install-linux}{{3.6.2}{59}{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 }}{60}{figure.caption.65}\protected@file@percent } +\newlabel{om-help}{{3.36}{60}{Setup of Modelica Standard Library version\relax }{figure.caption.65}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.3}Simulating models in OpenModelica}{60}{subsection.3.6.3}\protected@file@percent } +\newlabel{OpenModelica-code-execution}{{3.6.3}{60}{Simulating models in OpenModelica}{subsection.3.6.3}{}} +\citation{om-ref} +\@writefile{lof}{\contentsline {figure}{\numberline {3.37}{\ignorespaces User Interface of OMEdit\relax }}{61}{figure.caption.66}\protected@file@percent } +\newlabel{om-ui}{{3.37}{61}{User Interface of OMEdit\relax }{figure.caption.66}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.38}{\ignorespaces Opening a model in OMEdit\relax }}{62}{figure.caption.67}\protected@file@percent } +\newlabel{om-model-open}{{3.38}{62}{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 }}{63}{figure.caption.68}\protected@file@percent } +\newlabel{om-modeling}{{3.39}{63}{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 }}{63}{figure.caption.69}\protected@file@percent } +\newlabel{om-views}{{3.40}{63}{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 }}{64}{figure.caption.70}\protected@file@percent } +\newlabel{om-text-view}{{3.41}{64}{Opening a model in text view in OMEdit\relax }{figure.caption.70}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.4}OpenModelica-Arduino toolbox}{64}{subsection.3.6.4}\protected@file@percent } +\newlabel{sec:load-om-toolbox}{{3.6.4}{64}{OpenModelica-Arduino toolbox}{subsection.3.6.4}{}} +\newlabel{10@xvr}{{}{64}} +\newlabel{10@vr}{{}{64}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.42}{\ignorespaces Simulating a model in OMEdit\relax }}{65}{figure.caption.71}\protected@file@percent } +\newlabel{om-simulate}{{3.42}{65}{Simulating a model in OMEdit\relax }{figure.caption.71}{}} +\newlabel{itm:library}{{4}{65}{OpenModelica-Arduino toolbox}{Item.158}{}} +\newlabel{itm:locate}{{5}{65}{OpenModelica-Arduino toolbox}{Item.159}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.43}{\ignorespaces Output window of OMEdit\relax }}{66}{figure.caption.72}\protected@file@percent } +\newlabel{om-sim-success}{{3.43}{66}{Output window of OMEdit\relax }{figure.caption.72}{}} +\newlabel{itm:simulate}{{6}{66}{OpenModelica-Arduino toolbox}{Item.160}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.44}{\ignorespaces Examples provided in the OpenModelica-Arduino toolbox\relax }}{67}{figure.caption.73}\protected@file@percent } +\newlabel{om-examples-toolbox}{{3.44}{67}{Examples provided in the OpenModelica-Arduino toolbox\relax }{figure.caption.73}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.5}Firmware}{67}{subsection.3.6.5}\protected@file@percent } +\newlabel{om-firmware}{{3.6.5}{67}{Firmware}{subsection.3.6.5}{}} +\newlabel{sec:test-firmware-OpenModelica}{{3.6.5}{67}{Firmware}{subsection.3.6.5}{}} +\@writefile{cod}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{3.{1}}{}}{67}{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}{67}{OpenModelicamass.3.1}\protected@file@percent } +\newlabel{11@xvr}{{}{68}} +\newlabel{11@vr}{{}{68}} +\newlabel{OpenModelica:test-firmware}{{3.{1}}{68}{Firmware}{OpenModelicamass.3.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/openmodelica/windows//test\textunderscore firmware.mo}{68}{lstlisting.3.-7}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {4}Interfacing a Light Emitting Diode}{69}{chapter.4}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{led}{{4}{45}{Interfacing a Light Emitting Diode}{chapter.4}{}} -\@writefile{toc}{\contentsline {section}{\numberline {4.1}Preliminaries}{45}{section.4.1}\protected@file@percent } -\newlabel{sec:led-pril}{{4.1}{45}{Preliminaries}{section.4.1}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.1}{\ignorespaces Light Emitting Diode\relax }}{45}{figure.caption.50}\protected@file@percent } -\newlabel{fig:ledsym}{{4.1}{45}{Light Emitting Diode\relax }{figure.caption.50}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.2}{\ignorespaces Internal connection diagram for the RGB LED on the shield\relax }}{46}{figure.caption.51}\protected@file@percent } -\newlabel{fig:ledblock}{{4.2}{46}{Internal connection diagram for the RGB LED on the shield\relax }{figure.caption.51}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.3}{\ignorespaces Connecting Arduino Uno\ and shield\relax }}{46}{figure.caption.52}\protected@file@percent } -\newlabel{fig:uno-shield-connect}{{4.3}{46}{Connecting \arduino \ and shield\relax }{figure.caption.52}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.4}{\ignorespaces An RGB LED with Arduino Uno\ using a breadboard\relax }}{47}{figure.caption.53}\protected@file@percent } -\newlabel{fig:ard-rgb-bread}{{4.4}{47}{An RGB LED with \arduino \ using a breadboard\relax }{figure.caption.53}{}} -\@writefile{toc}{\contentsline {section}{\numberline {4.2}Connecting an RGB LED with Arduino Uno\ using a breadboard}{47}{section.4.2}\protected@file@percent } -\newlabel{sec:led-bread}{{4.2}{47}{Connecting an RGB LED with \arduino \ using a breadboard}{section.4.2}{}} -\@writefile{toc}{\contentsline {section}{\numberline {4.3}Lighting the LED from the Arduino IDE}{48}{section.4.3}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.1}Lighting the LED}{48}{subsection.4.3.1}\protected@file@percent } -\newlabel{sec:light-ard}{{4.3.1}{48}{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}{48}{lstlisting.4.-5}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{48}{lstlisting.4.-6}\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}{48}{lstlisting.4.-7}\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}{48}{lstlisting.4.-8}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{49}{section*.54}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{49}{section*.56}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{1}}{}}{49}{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 }}{50}{figure.caption.55}\protected@file@percent } -\newlabel{fig:led-uno}{{4.5}{50}{LED experiments directly on \arduino \ board, without the shield\relax }{figure.caption.55}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.2}Arduino Code}{50}{subsection.4.3.2}\protected@file@percent } -\newlabel{sec:led-arduino-code}{{4.3.2}{50}{Arduino Code}{subsection.4.3.2}{}} +\newlabel{led}{{4}{69}{Interfacing a Light Emitting Diode}{chapter.4}{}} +\@writefile{toc}{\contentsline {section}{\numberline {4.1}Preliminaries}{69}{section.4.1}\protected@file@percent } +\newlabel{sec:led-pril}{{4.1}{69}{Preliminaries}{section.4.1}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.1}{\ignorespaces Light Emitting Diode\relax }}{69}{figure.caption.74}\protected@file@percent } +\newlabel{fig:ledsym}{{4.1}{69}{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 }}{70}{figure.caption.75}\protected@file@percent } +\newlabel{fig:ledblock}{{4.2}{70}{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 }}{70}{figure.caption.76}\protected@file@percent } +\newlabel{fig:uno-shield-connect}{{4.3}{70}{Connecting \arduino \ and shield\relax }{figure.caption.76}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.4}{\ignorespaces An RGB LED with Arduino Uno\ using a breadboard\relax }}{71}{figure.caption.77}\protected@file@percent } +\newlabel{fig:ard-rgb-bread}{{4.4}{71}{An RGB LED with \arduino \ using a breadboard\relax }{figure.caption.77}{}} +\@writefile{toc}{\contentsline {section}{\numberline {4.2}Connecting an RGB LED with Arduino Uno\ using a breadboard}{71}{section.4.2}\protected@file@percent } +\newlabel{sec:led-bread}{{4.2}{71}{Connecting an RGB LED with \arduino \ using a breadboard}{section.4.2}{}} +\@writefile{toc}{\contentsline {section}{\numberline {4.3}Lighting the LED from the Arduino IDE}{72}{section.4.3}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.1}Lighting the LED}{72}{subsection.4.3.1}\protected@file@percent } +\newlabel{sec:light-ard}{{4.3.1}{72}{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}{72}{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}{72}{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}{72}{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}{72}{lstlisting.4.-11}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{73}{section*.78}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{73}{section*.80}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{1}}{}}{73}{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 }}{74}{figure.caption.79}\protected@file@percent } +\newlabel{fig:led-uno}{{4.5}{74}{LED experiments directly on \arduino \ board, without the shield\relax }{figure.caption.79}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.2}Arduino Code}{74}{subsection.4.3.2}\protected@file@percent } +\newlabel{sec:led-arduino-code}{{4.3.2}{74}{Arduino Code}{subsection.4.3.2}{}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{1}}{}}{50}{ardmass.4.1}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{50}{ardmass.4.1}\protected@file@percent } -\newlabel{6@xvr}{{}{50}} -\newlabel{6@vr}{{}{50}} -\newlabel{ard:led-blue}{{4.{1}}{50}{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}{50}{lstlisting.4.-10}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{2}}{}}{50}{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}{50}{ardmass.4.2}\protected@file@percent } -\newlabel{7@xvr}{{}{50}} -\newlabel{7@vr}{{}{50}} -\newlabel{ard:led-blue-delay}{{4.{2}}{50}{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}{50}{lstlisting.4.-11}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{3}}{}}{51}{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}{51}{ardmass.4.3}\protected@file@percent } -\newlabel{8@xvr}{{}{51}} -\newlabel{8@vr}{{}{51}} -\newlabel{ard:led-blue-red}{{4.{3}}{51}{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}{51}{lstlisting.4.-12}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{4}}{}}{51}{ardmass.4.4}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{51}{ardmass.4.4}\protected@file@percent } -\newlabel{9@xvr}{{}{51}} -\newlabel{9@vr}{{}{51}} -\newlabel{ard:led-blink}{{4.{4}}{51}{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}{51}{lstlisting.4.-13}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {4.4}Lighting the LED from Scilab}{52}{section.4.4}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.4.1}Lighting the LED}{52}{subsection.4.4.1}\protected@file@percent } -\newlabel{sec:light-sci}{{4.4.1}{52}{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}{52}{lstlisting.4.-15}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash blue.sce}{52}{lstlisting.4.-17}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash blue.sce}{53}{lstlisting.4.-19}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash blue\textendash delay.sce}{53}{lstlisting.4.-20}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash blue\textendash delay.sce}{53}{lstlisting.4.-21}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{2}}{}}{53}{egmass.4.2}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.4.2}Scilab Code}{53}{subsection.4.4.2}\protected@file@percent } -\newlabel{sec:led-scilab-code}{{4.4.2}{53}{Scilab Code}{subsection.4.4.2}{}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{1}}{}}{74}{ardmass.4.1}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{74}{ardmass.4.1}\protected@file@percent } +\newlabel{12@xvr}{{}{74}} +\newlabel{12@vr}{{}{74}} +\newlabel{ard:led-blue}{{4.{1}}{74}{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}{74}{lstlisting.4.-13}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{2}}{}}{74}{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}{74}{ardmass.4.2}\protected@file@percent } +\newlabel{13@xvr}{{}{74}} +\newlabel{13@vr}{{}{74}} +\newlabel{ard:led-blue-delay}{{4.{2}}{74}{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}{74}{lstlisting.4.-14}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{3}}{}}{75}{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}{75}{ardmass.4.3}\protected@file@percent } +\newlabel{14@xvr}{{}{75}} +\newlabel{14@vr}{{}{75}} +\newlabel{ard:led-blue-red}{{4.{3}}{75}{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}{75}{lstlisting.4.-15}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{4}}{}}{75}{ardmass.4.4}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{75}{ardmass.4.4}\protected@file@percent } +\newlabel{15@xvr}{{}{75}} +\newlabel{15@vr}{{}{75}} +\newlabel{ard:led-blink}{{4.{4}}{75}{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}{75}{lstlisting.4.-16}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.4}Lighting the LED from Scilab}{76}{section.4.4}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.4.1}Lighting the LED}{76}{subsection.4.4.1}\protected@file@percent } +\newlabel{sec:light-sci}{{4.4.1}{76}{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}{76}{lstlisting.4.-18}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash blue.sce}{76}{lstlisting.4.-20}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash blue.sce}{77}{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}{77}{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}{77}{lstlisting.4.-24}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{2}}{}}{77}{egmass.4.2}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.4.2}Scilab Code}{77}{subsection.4.4.2}\protected@file@percent } +\newlabel{sec:led-scilab-code}{{4.4.2}{77}{Scilab Code}{subsection.4.4.2}{}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{53}{codemass.4.1}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{53}{codemass.4.1}\protected@file@percent } -\newlabel{10@xvr}{{}{53}} -\newlabel{10@vr}{{}{53}} -\newlabel{sci:led-blue}{{4.{1}}{53}{Scilab Code}{codemass.4.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash blue.sce}{53}{lstlisting.4.-22}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{2}}{}}{54}{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}{54}{codemass.4.2}\protected@file@percent } -\newlabel{11@xvr}{{}{54}} -\newlabel{11@vr}{{}{54}} -\newlabel{sci:led-blue-delay}{{4.{2}}{54}{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}{54}{lstlisting.4.-23}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{3}}{}}{54}{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}{54}{codemass.4.3}\protected@file@percent } -\newlabel{12@xvr}{{}{54}} -\newlabel{12@vr}{{}{54}} -\newlabel{sci:led-blue-red}{{4.{3}}{54}{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}{54}{lstlisting.4.-24}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{4}}{}}{54}{codemass.4.4}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{54}{codemass.4.4}\protected@file@percent } -\newlabel{13@xvr}{{}{54}} -\newlabel{13@vr}{{}{54}} -\newlabel{sci:led-green-blink}{{4.{4}}{54}{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}{54}{lstlisting.4.-25}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{54}{section.4.5}\protected@file@percent } -\newlabel{sec:light-xcos}{{4.5}{54}{Lighting the LED from Scilab Xcos}{section.4.5}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.6}{\ignorespaces Turning the blue LED on through Xcos}}{55}{figure.caption.57}\protected@file@percent } -\newlabel{15@xvr}{{}{55}} -\newlabel{15@vr}{{}{55}} -\newlabel{fig:led-blue}{{4.6}{55}{Turning the blue LED on through Xcos}{figure.caption.57}{}} -\@writefile{lot}{\contentsline {table}{\numberline {4.1}{\ignorespaces Parameters to light the blue LED in Xcos\relax }}{55}{table.caption.58}\protected@file@percent } -\newlabel{tab:led-blue}{{4.1}{55}{Parameters to light the blue LED in Xcos\relax }{table.caption.58}{}} -\newlabel{16@xvr}{{}{55}} -\newlabel{16@vr}{{}{55}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{56}{figure.caption.59}\protected@file@percent } -\newlabel{18@xvr}{{}{56}} -\newlabel{18@vr}{{}{56}} -\newlabel{fig:led-blue-delay}{{4.7}{56}{Turning the blue LED on through Xcos for two seconds}{figure.caption.59}{}} -\@writefile{lot}{\contentsline {table}{\numberline {4.2}{\ignorespaces Parameters to light the blue LED in Xcos for two seconds\relax }}{56}{table.caption.60}\protected@file@percent } -\newlabel{tab:led-blue-delay}{{4.2}{56}{Parameters to light the blue LED in Xcos for two seconds\relax }{table.caption.60}{}} -\newlabel{19@xvr}{{}{56}} -\newlabel{19@vr}{{}{56}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.8}{\ignorespaces Turning the blue and red LEDs on through Xcos and turning them off one by one}}{57}{figure.caption.61}\protected@file@percent } -\newlabel{21@xvr}{{}{57}} -\newlabel{21@vr}{{}{57}} -\newlabel{fig:led-blue-red}{{4.8}{57}{Turning the blue and red LEDs on through Xcos and turning them off one by one}{figure.caption.61}{}} -\@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 }}{57}{table.caption.62}\protected@file@percent } -\newlabel{tab:led-blue-red}{{4.3}{57}{Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }{table.caption.62}{}} -\newlabel{22@xvr}{{}{57}} -\newlabel{22@vr}{{}{57}} -\@writefile{lof}{\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{58}{figure.caption.63}\protected@file@percent } -\newlabel{24@xvr}{{}{58}} -\newlabel{24@vr}{{}{58}} -\newlabel{fig:led-green-blink}{{4.9}{58}{Blinking the green LED every second through Xcos}{figure.caption.63}{}} -\@writefile{lot}{\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{58}{table.caption.64}\protected@file@percent } -\newlabel{tab:led-green-blink}{{4.4}{58}{Parameters to make the green LED blink every second\relax }{table.caption.64}{}} -\newlabel{25@xvr}{{}{58}} -\newlabel{25@vr}{{}{58}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{3}}{}}{58}{egmass.4.3}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{59}{chapter.5}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{77}{codemass.4.1}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{77}{codemass.4.1}\protected@file@percent } +\newlabel{16@xvr}{{}{77}} +\newlabel{16@vr}{{}{77}} +\newlabel{sci:led-blue}{{4.{1}}{77}{Scilab Code}{codemass.4.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash blue.sce}{77}{lstlisting.4.-25}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{2}}{}}{78}{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}{78}{codemass.4.2}\protected@file@percent } +\newlabel{17@xvr}{{}{78}} +\newlabel{17@vr}{{}{78}} +\newlabel{sci:led-blue-delay}{{4.{2}}{78}{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}{78}{lstlisting.4.-26}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{3}}{}}{78}{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}{78}{codemass.4.3}\protected@file@percent } +\newlabel{18@xvr}{{}{78}} +\newlabel{18@vr}{{}{78}} +\newlabel{sci:led-blue-red}{{4.{3}}{78}{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}{78}{lstlisting.4.-27}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{4}}{}}{78}{codemass.4.4}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{78}{codemass.4.4}\protected@file@percent } +\newlabel{19@xvr}{{}{78}} +\newlabel{19@vr}{{}{78}} +\newlabel{sci:led-green-blink}{{4.{4}}{78}{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}{78}{lstlisting.4.-28}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{78}{section.4.5}\protected@file@percent } +\newlabel{sec:light-xcos}{{4.5}{78}{Lighting the LED from Scilab Xcos}{section.4.5}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.6}{\ignorespaces Turning the blue LED on through Xcos}}{79}{figure.caption.81}\protected@file@percent } +\newlabel{21@xvr}{{}{79}} +\newlabel{21@vr}{{}{79}} +\newlabel{fig:led-blue}{{4.6}{79}{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 }}{79}{table.caption.82}\protected@file@percent } +\newlabel{tab:led-blue}{{4.1}{79}{Parameters to light the blue LED in Xcos\relax }{table.caption.82}{}} +\newlabel{22@xvr}{{}{79}} +\newlabel{22@vr}{{}{79}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{80}{figure.caption.83}\protected@file@percent } +\newlabel{24@xvr}{{}{80}} +\newlabel{24@vr}{{}{80}} +\newlabel{fig:led-blue-delay}{{4.7}{80}{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 }}{80}{table.caption.84}\protected@file@percent } +\newlabel{tab:led-blue-delay}{{4.2}{80}{Parameters to light the blue LED in Xcos for two seconds\relax }{table.caption.84}{}} +\newlabel{25@xvr}{{}{80}} +\newlabel{25@vr}{{}{80}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.8}{\ignorespaces Turning the blue and red LEDs on through Xcos and turning them off one by one}}{81}{figure.caption.85}\protected@file@percent } +\newlabel{27@xvr}{{}{81}} +\newlabel{27@vr}{{}{81}} +\newlabel{fig:led-blue-red}{{4.8}{81}{Turning the blue and red LEDs on through Xcos and turning them off one by one}{figure.caption.85}{}} +\@writefile{lot}{\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{81}{table.caption.86}\protected@file@percent } +\newlabel{tab:led-blue-red}{{4.3}{81}{Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }{table.caption.86}{}} +\newlabel{28@xvr}{{}{81}} +\newlabel{28@vr}{{}{81}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{82}{figure.caption.87}\protected@file@percent } +\newlabel{30@xvr}{{}{82}} +\newlabel{30@vr}{{}{82}} +\newlabel{fig:led-green-blink}{{4.9}{82}{Blinking the green LED every second through Xcos}{figure.caption.87}{}} +\@writefile{lot}{\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{82}{table.caption.88}\protected@file@percent } +\newlabel{tab:led-green-blink}{{4.4}{82}{Parameters to make the green LED blink every second\relax }{table.caption.88}{}} +\newlabel{31@xvr}{{}{82}} +\newlabel{31@vr}{{}{82}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{3}}{}}{82}{egmass.4.3}\protected@file@percent } +\citation{pySerial} +\@writefile{toc}{\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{83}{section.4.6}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{83}{subsection.4.6.1}\protected@file@percent } +\newlabel{sec:light-py}{{4.6.1}{83}{Lighting the LED}{subsection.4.6.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{83}{lstlisting.4.-29}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{83}{lstlisting.4.-30}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{83}{lstlisting.4.-31}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{83}{lstlisting.4.-32}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{84}{lstlisting.4.-33}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{84}{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}{84}{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}{84}{lstlisting.4.-36}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{4}}{}}{84}{egmass.4.4}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.2}Python Code}{85}{subsection.4.6.2}\protected@file@percent } +\newlabel{sec:led-python-code}{{4.6.2}{85}{Python Code}{subsection.4.6.2}{}} +\@writefile{pyd}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{1}}{}}{85}{pymass.4.1}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{85}{pymass.4.1}\protected@file@percent } +\newlabel{32@xvr}{{}{85}} +\newlabel{32@vr}{{}{85}} +\newlabel{py:led-blue}{{4.{1}}{85}{Python Code}{pymass.4.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{85}{lstlisting.4.-37}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{2}}{}}{85}{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}{85}{pymass.4.2}\protected@file@percent } +\newlabel{33@xvr}{{}{85}} +\newlabel{33@vr}{{}{85}} +\newlabel{py:led-blue-delay}{{4.{2}}{85}{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}{85}{lstlisting.4.-38}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{3}}{}}{86}{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}{86}{pymass.4.3}\protected@file@percent } +\newlabel{34@xvr}{{}{86}} +\newlabel{34@vr}{{}{86}} +\newlabel{py:led-blue-red}{{4.{3}}{86}{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}{86}{lstlisting.4.-39}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{4}}{}}{87}{pymass.4.4}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{87}{pymass.4.4}\protected@file@percent } +\newlabel{35@xvr}{{}{87}} +\newlabel{35@vr}{{}{87}} +\newlabel{py:led-green-blink}{{4.{4}}{87}{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}{87}{lstlisting.4.-40}\protected@file@percent } +\citation{julia-serial-ports} +\@writefile{toc}{\contentsline {section}{\numberline {4.7}Lighting the LED from Julia}{88}{section.4.7}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.1}Lighting the LED}{88}{subsection.4.7.1}\protected@file@percent } +\newlabel{sec:light-julia}{{4.7.1}{88}{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}{88}{lstlisting.4.-41}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue.jl}{88}{lstlisting.4.-42}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue.jl}{89}{lstlisting.4.-43}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue.jl}{89}{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}{89}{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}{89}{lstlisting.4.-46}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.2}Julia Code}{89}{subsection.4.7.2}\protected@file@percent } +\newlabel{sec:led-julia-code}{{4.7.2}{89}{Julia Code}{subsection.4.7.2}{}} +\@writefile{juliad}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{89}{juliamass.4.1}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{89}{juliamass.4.1}\protected@file@percent } +\newlabel{36@xvr}{{}{89}} +\newlabel{36@vr}{{}{89}} +\newlabel{julia:led-blue}{{4.{1}}{89}{Julia Code}{juliamass.4.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue.jl}{89}{lstlisting.4.-47}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{90}{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}{90}{juliamass.4.2}\protected@file@percent } +\newlabel{37@xvr}{{}{90}} +\newlabel{37@vr}{{}{90}} +\newlabel{julia:led-blue-delay}{{4.{2}}{90}{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}{90}{lstlisting.4.-48}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{3}}{}}{90}{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}{90}{juliamass.4.3}\protected@file@percent } +\newlabel{38@xvr}{{}{90}} +\newlabel{38@vr}{{}{90}} +\newlabel{julia:led-blue-red}{{4.{3}}{90}{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}{90}{lstlisting.4.-49}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{90}{juliamass.4.4}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{90}{juliamass.4.4}\protected@file@percent } +\newlabel{39@xvr}{{}{90}} +\newlabel{39@vr}{{}{90}} +\newlabel{julia:led-green-blink}{{4.{4}}{90}{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}{90}{lstlisting.4.-50}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.8}Lighting the LED from OpenModelica}{91}{section.4.8}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.1}Lighting the LED}{91}{subsection.4.8.1}\protected@file@percent } +\newlabel{sec:light-OpenModelica}{{4.8.1}{91}{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}{91}{lstlisting.4.-51}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue.mo}{91}{lstlisting.4.-52}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue.mo}{91}{lstlisting.4.-54}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue.mo}{92}{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}{92}{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}{92}{lstlisting.4.-59}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{92}{subsection.4.8.2}\protected@file@percent } +\newlabel{sec:led-OpenModelica-code}{{4.8.2}{92}{OpenModelica Code}{subsection.4.8.2}{}} +\@writefile{OpenModelicad}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{93}{OpenModelicamass.4.1}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{93}{OpenModelicamass.4.1}\protected@file@percent } +\newlabel{OpenModelica:led-blue}{{4.{1}}{93}{OpenModelica Code}{OpenModelicamass.4.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue.mo}{93}{lstlisting.4.-60}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{93}{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}{93}{OpenModelicamass.4.2}\protected@file@percent } +\newlabel{OpenModelica:led-blue-delay}{{4.{2}}{93}{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}{93}{lstlisting.4.-61}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{94}{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}{94}{OpenModelicamass.4.3}\protected@file@percent } +\newlabel{OpenModelica:led-blue-red}{{4.{3}}{94}{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}{94}{lstlisting.4.-62}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{95}{OpenModelicamass.4.4}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{95}{OpenModelicamass.4.4}\protected@file@percent } +\newlabel{OpenModelica:led-green-blink}{{4.{4}}{95}{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}{95}{lstlisting.4.-63}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{97}{chapter.5}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{pushbutton}{{5}{59}{Interfacing a Pushbutton}{chapter.5}{}} -\@writefile{toc}{\contentsline {section}{\numberline {5.1}Preliminaries}{59}{section.5.1}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{59}{section.5.2}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {5.1}{\ignorespaces Internal connection diagram for the pushbutton on the shield\relax }}{60}{figure.caption.65}\protected@file@percent } -\newlabel{fig:pushbuttonconn}{{5.1}{60}{Internal connection diagram for the pushbutton on the shield\relax }{figure.caption.65}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {5.2}{\ignorespaces A pushbutton to read its status with Arduino Uno using a breadboard\relax }}{60}{figure.caption.66}\protected@file@percent } -\newlabel{fig:switch-bread}{{5.2}{60}{A pushbutton to read its status with Arduino Uno using a breadboard\relax }{figure.caption.66}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {5.3}{\ignorespaces A pushbutton to control an LED with Arduino Uno using a breadboard\relax }}{61}{figure.caption.67}\protected@file@percent } -\newlabel{fig:switch-led}{{5.3}{61}{A pushbutton to control an LED with Arduino Uno using a breadboard\relax }{figure.caption.67}{}} -\@writefile{toc}{\contentsline {section}{\numberline {5.3}Reading the pushbutton status from the Arduino IDE}{62}{section.5.3}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.1}Reading the pushbutton status}{62}{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}{62}{lstlisting.5.-26}\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}{62}{lstlisting.5.-27}\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}{63}{lstlisting.5.-28}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{63}{subsection.5.3.2}\protected@file@percent } -\newlabel{sec:push-arduino-code}{{5.3.2}{63}{Arduino Code}{subsection.5.3.2}{}} +\newlabel{pushbutton}{{5}{97}{Interfacing a Pushbutton}{chapter.5}{}} +\@writefile{toc}{\contentsline {section}{\numberline {5.1}Preliminaries}{97}{section.5.1}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{97}{section.5.2}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {5.1}{\ignorespaces Internal connection diagram for the pushbutton on the shield\relax }}{98}{figure.caption.89}\protected@file@percent } +\newlabel{fig:pushbuttonconn}{{5.1}{98}{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 }}{98}{figure.caption.90}\protected@file@percent } +\newlabel{fig:switch-bread}{{5.2}{98}{A pushbutton to read its status with Arduino Uno using a breadboard\relax }{figure.caption.90}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {5.3}{\ignorespaces A pushbutton to control an LED with Arduino Uno using a breadboard\relax }}{99}{figure.caption.91}\protected@file@percent } +\newlabel{fig:switch-led}{{5.3}{99}{A pushbutton to control an LED with Arduino Uno using a breadboard\relax }{figure.caption.91}{}} +\@writefile{toc}{\contentsline {section}{\numberline {5.3}Reading the pushbutton status from the Arduino IDE}{100}{section.5.3}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.1}Reading the pushbutton status}{100}{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}{100}{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}{100}{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}{101}{lstlisting.5.-66}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{101}{subsection.5.3.2}\protected@file@percent } +\newlabel{sec:push-arduino-code}{{5.3.2}{101}{Arduino Code}{subsection.5.3.2}{}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{63}{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}{63}{ardmass.5.1}\protected@file@percent } -\newlabel{26@xvr}{{}{63}} -\newlabel{26@vr}{{}{63}} -\newlabel{ard:push-100}{{5.{1}}{63}{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}{63}{lstlisting.5.-29}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{63}{ardmass.5.2}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{63}{ardmass.5.2}\protected@file@percent } -\newlabel{27@xvr}{{}{63}} -\newlabel{27@vr}{{}{63}} -\newlabel{ard:push-200}{{5.{2}}{63}{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}{63}{lstlisting.5.-30}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.4}Reading the pushbutton Status from Scilab}{64}{section.5.4}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.1}Reading the pushbutton Status}{64}{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}{64}{lstlisting.5.-31}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/push\textendash button\textendash status.sce}{64}{lstlisting.5.-32}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {5.4}{\ignorespaces GUI in Scilab to show the status of the pushbutton\relax }}{65}{figure.caption.68}\protected@file@percent } -\newlabel{fig:ard-meter}{{5.4}{65}{GUI in Scilab to show the status of the pushbutton\relax }{figure.caption.68}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/led\textendash push\textendash button.sce}{65}{lstlisting.5.-33}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{65}{subsection.5.4.2}\protected@file@percent } -\newlabel{sec:push-scilab-code}{{5.4.2}{65}{Scilab Code}{subsection.5.4.2}{}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{101}{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}{101}{ardmass.5.1}\protected@file@percent } +\newlabel{40@xvr}{{}{101}} +\newlabel{40@vr}{{}{101}} +\newlabel{ard:push-100}{{5.{1}}{101}{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}{101}{lstlisting.5.-67}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{101}{ardmass.5.2}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{101}{ardmass.5.2}\protected@file@percent } +\newlabel{41@xvr}{{}{101}} +\newlabel{41@vr}{{}{101}} +\newlabel{ard:push-200}{{5.{2}}{101}{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}{101}{lstlisting.5.-68}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.4}Reading the pushbutton Status from Scilab}{102}{section.5.4}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.1}Reading the pushbutton Status}{102}{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}{102}{lstlisting.5.-69}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/push\textendash button\textendash status.sce}{102}{lstlisting.5.-70}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {5.4}{\ignorespaces GUI in Scilab to show the status of the pushbutton\relax }}{103}{figure.caption.92}\protected@file@percent } +\newlabel{fig:ard-meter}{{5.4}{103}{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/led\textendash push\textendash button.sce}{103}{lstlisting.5.-71}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{103}{subsection.5.4.2}\protected@file@percent } +\newlabel{sec:push-scilab-code}{{5.4.2}{103}{Scilab Code}{subsection.5.4.2}{}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{65}{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}{65}{codemass.5.1}\protected@file@percent } -\newlabel{28@xvr}{{}{65}} -\newlabel{28@vr}{{}{65}} -\newlabel{sci:push-100}{{5.{1}}{65}{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}{65}{lstlisting.5.-34}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{66}{codemass.5.2}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{66}{codemass.5.2}\protected@file@percent } -\newlabel{29@xvr}{{}{66}} -\newlabel{29@vr}{{}{66}} -\newlabel{sci:push-200}{{5.{2}}{66}{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}{66}{lstlisting.5.-35}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5.5}Accessing the pushbutton from Xcos}{66}{section.5.5}\protected@file@percent } -\newlabel{sec:push-xcos}{{5.5}{66}{Accessing the pushbutton from Xcos}{section.5.5}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {5.5}{\ignorespaces Printing the push button status on the display block}}{67}{figure.caption.69}\protected@file@percent } -\newlabel{31@xvr}{{}{67}} -\newlabel{31@vr}{{}{67}} -\newlabel{fig:push-button-status}{{5.5}{67}{Printing the push button status on the display block}{figure.caption.69}{}} -\@writefile{lot}{\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the push button status on the display block\relax }}{67}{table.caption.70}\protected@file@percent } -\newlabel{tab:push-button-status}{{5.1}{67}{Parameters to print the push button status on the display block\relax }{table.caption.70}{}} -\newlabel{32@xvr}{{}{67}} -\newlabel{32@vr}{{}{67}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{5.{1}}{}}{67}{egmass.5.1}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {5.6}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{68}{figure.caption.71}\protected@file@percent } -\newlabel{34@xvr}{{}{68}} -\newlabel{34@vr}{{}{68}} -\newlabel{fig:led-push-button}{{5.6}{68}{Turning the LED on or off, depending on the pushbutton}{figure.caption.71}{}} -\@writefile{lot}{\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{68}{table.caption.72}\protected@file@percent } -\newlabel{tab:led-push-button}{{5.2}{68}{Xcos parameters to turn the LED on through the pushbutton\relax }{table.caption.72}{}} -\newlabel{35@xvr}{{}{68}} -\newlabel{35@vr}{{}{68}} -\@writefile{toc}{\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{69}{chapter.6}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{103}{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}{103}{codemass.5.1}\protected@file@percent } +\newlabel{42@xvr}{{}{103}} +\newlabel{42@vr}{{}{103}} +\newlabel{sci:push-100}{{5.{1}}{103}{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}{103}{lstlisting.5.-72}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{104}{codemass.5.2}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{104}{codemass.5.2}\protected@file@percent } +\newlabel{43@xvr}{{}{104}} +\newlabel{43@vr}{{}{104}} +\newlabel{sci:push-200}{{5.{2}}{104}{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}{104}{lstlisting.5.-73}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.5}Accessing the pushbutton from Xcos}{104}{section.5.5}\protected@file@percent } +\newlabel{sec:push-xcos}{{5.5}{104}{Accessing the pushbutton from Xcos}{section.5.5}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {5.5}{\ignorespaces Printing the push button status on the display block}}{105}{figure.caption.93}\protected@file@percent } +\newlabel{45@xvr}{{}{105}} +\newlabel{45@vr}{{}{105}} +\newlabel{fig:push-button-status}{{5.5}{105}{Printing the push button status on the display block}{figure.caption.93}{}} +\@writefile{lot}{\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the push button status on the display block\relax }}{105}{table.caption.94}\protected@file@percent } +\newlabel{tab:push-button-status}{{5.1}{105}{Parameters to print the push button status on the display block\relax }{table.caption.94}{}} +\newlabel{46@xvr}{{}{105}} +\newlabel{46@vr}{{}{105}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{5.{1}}{}}{105}{egmass.5.1}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {5.6}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{106}{figure.caption.95}\protected@file@percent } +\newlabel{48@xvr}{{}{106}} +\newlabel{48@vr}{{}{106}} +\newlabel{fig:led-push-button}{{5.6}{106}{Turning the LED on or off, depending on the pushbutton}{figure.caption.95}{}} +\@writefile{lot}{\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{106}{table.caption.96}\protected@file@percent } +\newlabel{tab:led-push-button}{{5.2}{106}{Xcos parameters to turn the LED on through the pushbutton\relax }{table.caption.96}{}} +\newlabel{49@xvr}{{}{106}} +\newlabel{49@vr}{{}{106}} +\@writefile{toc}{\contentsline {section}{\numberline {5.6}Reading the pushbutton status from Python}{107}{section.5.6}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.1}Reading the pushbutton status}{107}{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}{107}{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}{107}{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}{108}{lstlisting.5.-76}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.2}Python Code}{108}{subsection.5.6.2}\protected@file@percent } +\newlabel{sec:push-python-code}{{5.6.2}{108}{Python Code}{subsection.5.6.2}{}} +\@writefile{pyd}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{1}}{}}{108}{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}{108}{pymass.5.1}\protected@file@percent } +\newlabel{50@xvr}{{}{108}} +\newlabel{50@vr}{{}{108}} +\newlabel{py:push-100}{{5.{1}}{108}{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}{108}{lstlisting.5.-77}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{2}}{}}{109}{pymass.5.2}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{109}{pymass.5.2}\protected@file@percent } +\newlabel{51@xvr}{{}{109}} +\newlabel{51@vr}{{}{109}} +\newlabel{py:push-200}{{5.{2}}{109}{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}{109}{lstlisting.5.-78}\protected@file@percent } +\citation{julia-serial-ports} +\@writefile{toc}{\contentsline {section}{\numberline {5.7}Reading the pushbutton status from Julia}{110}{section.5.7}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.1}Reading the pushbutton status}{110}{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}{110}{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}{110}{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}{111}{lstlisting.5.-81}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.2}Julia Code}{111}{subsection.5.7.2}\protected@file@percent } +\newlabel{sec:push-julia-code}{{5.7.2}{111}{Julia Code}{subsection.5.7.2}{}} +\@writefile{juliad}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{1}}{}}{111}{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.}{111}{juliamass.5.1}\protected@file@percent } +\newlabel{52@xvr}{{}{111}} +\newlabel{52@vr}{{}{111}} +\newlabel{julia:push-100}{{5.{1}}{111}{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}{111}{lstlisting.5.-82}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{111}{juliamass.5.2}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{111}{juliamass.5.2}\protected@file@percent } +\newlabel{53@xvr}{{}{111}} +\newlabel{53@vr}{{}{111}} +\newlabel{julia:push-200}{{5.{2}}{111}{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}{111}{lstlisting.5.-83}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.8}Reading the pushbutton status from OpenModelica}{112}{section.5.8}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.1}Reading the pushbutton status}{112}{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}{112}{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}{112}{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}{113}{lstlisting.5.-86}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.2}OpenModelica Code}{113}{subsection.5.8.2}\protected@file@percent } +\newlabel{sec:push-OpenModelica-code}{{5.8.2}{113}{OpenModelica Code}{subsection.5.8.2}{}} +\@writefile{OpenModelicad}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{113}{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}{113}{OpenModelicamass.5.1}\protected@file@percent } +\newlabel{OpenModelica:push-100}{{5.{1}}{113}{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}{113}{lstlisting.5.-87}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{114}{OpenModelicamass.5.2}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{114}{OpenModelicamass.5.2}\protected@file@percent } +\newlabel{OpenModelica:push-200}{{5.{2}}{114}{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}{114}{lstlisting.5.-88}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{117}{chapter.6}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{ldr}{{6}{69}{Interfacing a Light Dependent Resistor}{chapter.6}{}} -\@writefile{toc}{\contentsline {section}{\numberline {6.1}Preliminaries}{69}{section.6.1}\protected@file@percent } -\newlabel{fig:ldr}{{6.1a}{70}{Subfigure 6 6.1a}{subfigure.6.1.1}{}} +\newlabel{ldr}{{6}{117}{Interfacing a Light Dependent Resistor}{chapter.6}{}} +\@writefile{toc}{\contentsline {section}{\numberline {6.1}Preliminaries}{117}{section.6.1}\protected@file@percent } +\newlabel{fig:ldr}{{6.1a}{118}{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}{70}{Subfigure 6 6.1b}{subfigure.6.1.2}{}} +\newlabel{fig:ldrsym}{{6.1b}{118}{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 }}{70}{figure.caption.73}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of an LDR}}}{70}{subfigure.1.1}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of an LDR}}}{70}{subfigure.1.2}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{70}{figure.caption.74}\protected@file@percent } -\newlabel{fig:ldrconn}{{6.2}{70}{Internal connection diagram for the LDR on the shield\relax }{figure.caption.74}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {6.3}{\ignorespaces An LDR to read its values with Arduino Uno\ using a breadboard\relax }}{71}{figure.caption.75}\protected@file@percent } -\newlabel{fig:ard-ldr}{{6.3}{71}{An LDR to read its values with \arduino \ using a breadboard\relax }{figure.caption.75}{}} -\@writefile{toc}{\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{71}{section.6.2}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {6.4}{\ignorespaces An LDR to control an LED with Arduino Uno using a breadboard\relax }}{72}{figure.caption.76}\protected@file@percent } -\newlabel{fig:ard-ldr-led}{{6.4}{72}{An LDR to control an LED with Arduino Uno using a breadboard\relax }{figure.caption.76}{}} -\@writefile{toc}{\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{72}{section.6.3}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{72}{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}{72}{lstlisting.6.-36}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{73}{lstlisting.6.-37}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{73}{lstlisting.6.-38}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{1}}{}}{73}{egmass.6.1}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{74}{subsection.6.3.2}\protected@file@percent } -\newlabel{sec:ldr-arduino-code}{{6.3.2}{74}{Arduino Code}{subsection.6.3.2}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{118}{figure.caption.97}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of an LDR}}}{118}{subfigure.1.1}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of an LDR}}}{118}{subfigure.1.2}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{118}{figure.caption.98}\protected@file@percent } +\newlabel{fig:ldrconn}{{6.2}{118}{Internal connection diagram for the LDR on the shield\relax }{figure.caption.98}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {6.3}{\ignorespaces An LDR to read its values with Arduino Uno\ using a breadboard\relax }}{119}{figure.caption.99}\protected@file@percent } +\newlabel{fig:ard-ldr}{{6.3}{119}{An LDR to read its values with \arduino \ using a breadboard\relax }{figure.caption.99}{}} +\@writefile{toc}{\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{119}{section.6.2}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {6.4}{\ignorespaces An LDR to control an LED with Arduino Uno using a breadboard\relax }}{120}{figure.caption.100}\protected@file@percent } +\newlabel{fig:ard-ldr-led}{{6.4}{120}{An LDR to control an LED with Arduino Uno using a breadboard\relax }{figure.caption.100}{}} +\@writefile{toc}{\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{120}{section.6.3}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{120}{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}{120}{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}{121}{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}{121}{lstlisting.6.-91}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{1}}{}}{121}{egmass.6.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{122}{subsection.6.3.2}\protected@file@percent } +\newlabel{sec:ldr-arduino-code}{{6.3.2}{122}{Arduino Code}{subsection.6.3.2}{}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{74}{ardmass.6.1}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{74}{ardmass.6.1}\protected@file@percent } -\newlabel{36@xvr}{{}{74}} -\newlabel{36@vr}{{}{74}} -\newlabel{ard:ldr-read}{{6.{1}}{74}{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}{74}{lstlisting.6.-39}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{74}{ardmass.6.2}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{74}{ardmass.6.2}\protected@file@percent } -\newlabel{37@xvr}{{}{74}} -\newlabel{37@vr}{{}{74}} -\newlabel{ard:ldr-led}{{6.{2}}{74}{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}{74}{lstlisting.6.-40}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{74}{section.6.4}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{74}{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}{75}{lstlisting.6.-41}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/scilab/ldr\textendash read.sce}{75}{lstlisting.6.-42}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{2}}{}}{75}{egmass.6.2}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{76}{subsection.6.4.2}\protected@file@percent } -\newlabel{sec:ldr-scilab-code}{{6.4.2}{76}{Scilab Code}{subsection.6.4.2}{}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{122}{ardmass.6.1}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{122}{ardmass.6.1}\protected@file@percent } +\newlabel{54@xvr}{{}{122}} +\newlabel{54@vr}{{}{122}} +\newlabel{ard:ldr-read}{{6.{1}}{122}{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}{122}{lstlisting.6.-92}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{122}{ardmass.6.2}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{122}{ardmass.6.2}\protected@file@percent } +\newlabel{55@xvr}{{}{122}} +\newlabel{55@vr}{{}{122}} +\newlabel{ard:ldr-led}{{6.{2}}{122}{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}{122}{lstlisting.6.-93}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{122}{section.6.4}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{122}{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}{123}{lstlisting.6.-94}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/scilab/ldr\textendash read.sce}{123}{lstlisting.6.-95}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{2}}{}}{123}{egmass.6.2}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{124}{subsection.6.4.2}\protected@file@percent } +\newlabel{sec:ldr-scilab-code}{{6.4.2}{124}{Scilab Code}{subsection.6.4.2}{}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{76}{codemass.6.1}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{76}{codemass.6.1}\protected@file@percent } -\newlabel{38@xvr}{{}{76}} -\newlabel{38@vr}{{}{76}} -\newlabel{sci:ldr-read}{{6.{1}}{76}{Scilab Code}{codemass.6.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/scilab/ldr\textendash read.sce}{76}{lstlisting.6.-43}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{76}{codemass.6.2}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{76}{codemass.6.2}\protected@file@percent } -\newlabel{39@xvr}{{}{76}} -\newlabel{39@vr}{{}{76}} -\newlabel{sci:ldr-led}{{6.{2}}{76}{Scilab Code}{codemass.6.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/scilab/ldr\textendash led.sce}{76}{lstlisting.6.-44}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{76}{section.6.5}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read LDR values}}{77}{figure.caption.77}\protected@file@percent } -\newlabel{41@xvr}{{}{77}} -\newlabel{41@vr}{{}{77}} -\newlabel{fig:ldr-read}{{6.5}{77}{Xcos diagram to read LDR values}{figure.caption.77}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {6.6}{\ignorespaces Plot window in Xcos to read LDR values\relax }}{77}{figure.caption.78}\protected@file@percent } -\newlabel{fig:ldr-read-plot}{{6.6}{77}{Plot window in Xcos to read LDR values\relax }{figure.caption.78}{}} -\@writefile{lot}{\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{78}{table.caption.79}\protected@file@percent } -\newlabel{tab:ldr-read}{{6.1}{78}{Xcos parameters to read LDR\relax }{table.caption.79}{}} -\newlabel{42@xvr}{{}{78}} -\newlabel{42@vr}{{}{78}} -\@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}}{79}{figure.caption.80}\protected@file@percent } -\newlabel{44@xvr}{{}{79}} -\newlabel{44@vr}{{}{79}} -\newlabel{fig:ldr-led}{{6.7}{79}{Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}{figure.caption.80}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {6.8}{\ignorespaces Plot window in Xcos to read LDR values and the state of LED\relax }}{79}{figure.caption.81}\protected@file@percent } -\newlabel{fig:ldr-led-read-plot}{{6.8}{79}{Plot window in Xcos to read LDR values and the state of LED\relax }{figure.caption.81}{}} -\@writefile{lot}{\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{80}{table.caption.82}\protected@file@percent } -\newlabel{tab:ldr-led}{{6.2}{80}{Xcos parameters to read LDR and regulate blue LED\relax }{table.caption.82}{}} -\newlabel{45@xvr}{{}{80}} -\newlabel{45@vr}{{}{80}} -\@writefile{toc}{\contentsline {chapter}{\numberline {7}Interfacing a Potentiometer}{81}{chapter.7}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{124}{codemass.6.1}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{124}{codemass.6.1}\protected@file@percent } +\newlabel{56@xvr}{{}{124}} +\newlabel{56@vr}{{}{124}} +\newlabel{sci:ldr-read}{{6.{1}}{124}{Scilab Code}{codemass.6.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/scilab/ldr\textendash read.sce}{124}{lstlisting.6.-96}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{124}{codemass.6.2}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{124}{codemass.6.2}\protected@file@percent } +\newlabel{57@xvr}{{}{124}} +\newlabel{57@vr}{{}{124}} +\newlabel{sci:ldr-led}{{6.{2}}{124}{Scilab Code}{codemass.6.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/scilab/ldr\textendash led.sce}{124}{lstlisting.6.-97}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{124}{section.6.5}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read LDR values}}{125}{figure.caption.101}\protected@file@percent } +\newlabel{59@xvr}{{}{125}} +\newlabel{59@vr}{{}{125}} +\newlabel{fig:ldr-read}{{6.5}{125}{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 }}{125}{figure.caption.102}\protected@file@percent } +\newlabel{fig:ldr-read-plot}{{6.6}{125}{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 }}{126}{table.caption.103}\protected@file@percent } +\newlabel{tab:ldr-read}{{6.1}{126}{Xcos parameters to read LDR\relax }{table.caption.103}{}} +\newlabel{60@xvr}{{}{126}} +\newlabel{60@vr}{{}{126}} +\@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}}{127}{figure.caption.104}\protected@file@percent } +\newlabel{62@xvr}{{}{127}} +\newlabel{62@vr}{{}{127}} +\newlabel{fig:ldr-led}{{6.7}{127}{Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}{figure.caption.104}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {6.8}{\ignorespaces Plot window in Xcos to read LDR values and the state of LED\relax }}{127}{figure.caption.105}\protected@file@percent } +\newlabel{fig:ldr-led-read-plot}{{6.8}{127}{Plot window in Xcos to read LDR values and the state of LED\relax }{figure.caption.105}{}} +\@writefile{lot}{\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{128}{table.caption.106}\protected@file@percent } +\newlabel{tab:ldr-led}{{6.2}{128}{Xcos parameters to read LDR and regulate blue LED\relax }{table.caption.106}{}} +\newlabel{63@xvr}{{}{128}} +\newlabel{63@vr}{{}{128}} +\@writefile{toc}{\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{128}{section.6.6}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{128}{subsection.6.6.1}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/python/ldr\textendash read.py}{128}{lstlisting.6.-98}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/python/ldr\textendash read.py}{129}{lstlisting.6.-99}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{3}}{}}{129}{egmass.6.3}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.2}Python Code}{129}{subsection.6.6.2}\protected@file@percent } +\newlabel{sec:ldr-python-code}{{6.6.2}{129}{Python Code}{subsection.6.6.2}{}} +\@writefile{pyd}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{1}}{}}{129}{pymass.6.1}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{129}{pymass.6.1}\protected@file@percent } +\newlabel{64@xvr}{{}{129}} +\newlabel{64@vr}{{}{129}} +\newlabel{py:ldr-read}{{6.{1}}{129}{Python Code}{pymass.6.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/python/ldr\textendash read.py}{129}{lstlisting.6.-100}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{2}}{}}{130}{pymass.6.2}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{130}{pymass.6.2}\protected@file@percent } +\newlabel{65@xvr}{{}{130}} +\newlabel{65@vr}{{}{130}} +\newlabel{py:ldr-led}{{6.{2}}{130}{Python Code}{pymass.6.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/python/ldr\textendash led.py}{130}{lstlisting.6.-101}\protected@file@percent } +\citation{julia-serial-ports} +\@writefile{toc}{\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{131}{section.6.7}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{131}{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}{132}{lstlisting.6.-102}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/julia/ldr\textendash read.jl}{132}{lstlisting.6.-103}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{4}}{}}{132}{egmass.6.4}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.2}Julia Code}{132}{subsection.6.7.2}\protected@file@percent } +\newlabel{sec:ldr-julia-code}{{6.7.2}{132}{Julia Code}{subsection.6.7.2}{}} +\@writefile{juliad}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{132}{juliamass.6.1}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{132}{juliamass.6.1}\protected@file@percent } +\newlabel{66@xvr}{{}{132}} +\newlabel{66@vr}{{}{132}} +\newlabel{julia:ldr-read}{{6.{1}}{132}{Julia Code}{juliamass.6.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/julia/ldr\textendash read.jl}{133}{lstlisting.6.-104}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{133}{juliamass.6.2}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{133}{juliamass.6.2}\protected@file@percent } +\newlabel{67@xvr}{{}{133}} +\newlabel{67@vr}{{}{133}} +\newlabel{julia:ldr-led}{{6.{2}}{133}{Julia Code}{juliamass.6.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/julia/ldr\textendash led.jl}{133}{lstlisting.6.-105}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{133}{section.6.8}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{133}{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}{134}{lstlisting.6.-106}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr\textendash read.mo}{134}{lstlisting.6.-107}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{134}{subsection.6.8.2}\protected@file@percent } +\newlabel{sec:ldr-OpenModelica-code}{{6.8.2}{134}{OpenModelica Code}{subsection.6.8.2}{}} +\@writefile{OpenModelicad}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{134}{OpenModelicamass.6.1}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{134}{OpenModelicamass.6.1}\protected@file@percent } +\newlabel{OpenModelica:ldr-read}{{6.{1}}{134}{OpenModelica Code}{OpenModelicamass.6.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr\textendash read.mo}{134}{lstlisting.6.-108}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{135}{OpenModelicamass.6.2}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{135}{OpenModelicamass.6.2}\protected@file@percent } +\newlabel{OpenModelica:ldr-led}{{6.{2}}{135}{OpenModelica Code}{OpenModelicamass.6.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr\textendash led.mo}{135}{lstlisting.6.-109}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {7}Interfacing a Potentiometer}{137}{chapter.7}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{potmeter}{{7}{81}{Interfacing a Potentiometer}{chapter.7}{}} -\@writefile{toc}{\contentsline {section}{\numberline {7.1}Preliminaries}{81}{section.7.1}\protected@file@percent } -\newlabel{46@xvr}{{}{81}} -\newlabel{46@vr}{{}{81}} -\newlabel{fig:pot}{{7.1a}{82}{Subfigure 7 7.1a}{subfigure.7.1.1}{}} +\newlabel{potmeter}{{7}{137}{Interfacing a Potentiometer}{chapter.7}{}} +\@writefile{toc}{\contentsline {section}{\numberline {7.1}Preliminaries}{137}{section.7.1}\protected@file@percent } +\newlabel{68@xvr}{{}{137}} +\newlabel{68@vr}{{}{137}} +\newlabel{fig:pot}{{7.1a}{138}{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}{82}{Subfigure 7 7.1b}{subfigure.7.1.2}{}} +\newlabel{fig:potsch}{{7.1b}{138}{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 }}{82}{figure.caption.83}\protected@file@percent } -\newlabel{fig:potmeterconn}{{7.1}{82}{Potentiometer's schematic on the shield\relax }{figure.caption.83}{}} -\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{82}{subfigure.1.1}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Internal connection diagram for the potentiometer on the shield}}}{82}{subfigure.1.2}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.2}Connecting a potentiometer with Arduino Uno\ using a breadboard}{82}{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 }}{83}{figure.caption.84}\protected@file@percent } -\newlabel{fig:pot-led}{{7.2}{83}{A potentiometer to control an LED with Arduino Uno using a breadboard\relax }{figure.caption.84}{}} -\@writefile{toc}{\contentsline {section}{\numberline {7.3}Reading the potentiometer from the Arduino IDE}{83}{section.7.3}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.1}Reading the potentiometer}{83}{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}{84}{lstlisting.7.-45}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{84}{lstlisting.7.-46}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.2}Arduino Code}{84}{subsection.7.3.2}\protected@file@percent } -\newlabel{sec:pot-arduino-code}{{7.3.2}{84}{Arduino Code}{subsection.7.3.2}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {7.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{138}{figure.caption.107}\protected@file@percent } +\newlabel{fig:potmeterconn}{{7.1}{138}{Potentiometer's schematic on the shield\relax }{figure.caption.107}{}} +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{138}{subfigure.1.1}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Internal connection diagram for the potentiometer on the shield}}}{138}{subfigure.1.2}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.2}Connecting a potentiometer with Arduino Uno\ using a breadboard}{138}{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 }}{139}{figure.caption.108}\protected@file@percent } +\newlabel{fig:pot-led}{{7.2}{139}{A potentiometer to control an LED with Arduino Uno using a breadboard\relax }{figure.caption.108}{}} +\@writefile{toc}{\contentsline {section}{\numberline {7.3}Reading the potentiometer from the Arduino IDE}{139}{section.7.3}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.1}Reading the potentiometer}{139}{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}{140}{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}{140}{lstlisting.7.-111}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.2}Arduino Code}{140}{subsection.7.3.2}\protected@file@percent } +\newlabel{sec:pot-arduino-code}{{7.3.2}{140}{Arduino Code}{subsection.7.3.2}{}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{84}{ardmass.7.1}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{84}{ardmass.7.1}\protected@file@percent } -\newlabel{47@xvr}{{}{84}} -\newlabel{47@vr}{{}{84}} -\newlabel{ard:pot-100}{{7.{1}}{84}{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}{84}{lstlisting.7.-47}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.4}Reading the potentiometer from Scilab}{85}{section.7.4}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.4.1}Reading the potentiometer}{85}{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}{86}{lstlisting.7.-48}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/scilab/pot\textendash threshold.sce}{86}{lstlisting.7.-49}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {7.4.2}Scilab Code}{86}{subsection.7.4.2}\protected@file@percent } -\newlabel{sec:pot-scilab-code}{{7.4.2}{86}{Scilab Code}{subsection.7.4.2}{}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{140}{ardmass.7.1}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{140}{ardmass.7.1}\protected@file@percent } +\newlabel{69@xvr}{{}{140}} +\newlabel{69@vr}{{}{140}} +\newlabel{ard:pot-100}{{7.{1}}{140}{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}{140}{lstlisting.7.-112}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.4}Reading the potentiometer from Scilab}{141}{section.7.4}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.4.1}Reading the potentiometer}{141}{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}{142}{lstlisting.7.-113}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/scilab/pot\textendash threshold.sce}{142}{lstlisting.7.-114}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.4.2}Scilab Code}{142}{subsection.7.4.2}\protected@file@percent } +\newlabel{sec:pot-scilab-code}{{7.4.2}{142}{Scilab Code}{subsection.7.4.2}{}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{86}{codemass.7.1}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{86}{codemass.7.1}\protected@file@percent } -\newlabel{48@xvr}{{}{86}} -\newlabel{48@vr}{{}{86}} -\newlabel{sci:pot-100}{{7.{1}}{86}{Scilab Code}{codemass.7.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/scilab/pot\textendash threshold.sce}{86}{lstlisting.7.-50}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7.5}Reading the potentiometer from Xcos}{86}{section.7.5}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {7.3}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{87}{figure.caption.85}\protected@file@percent } -\newlabel{50@xvr}{{}{87}} -\newlabel{50@vr}{{}{87}} -\newlabel{fig:pot-threshold}{{7.3}{87}{Turning LEDs on through Xcos depending on the potentiometer threshold}{figure.caption.85}{}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{1}}{}}{87}{egmass.7.1}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {7.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{88}{table.caption.86}\protected@file@percent } -\newlabel{tab:pot-threshold}{{7.1}{88}{Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }{table.caption.86}{}} -\newlabel{51@xvr}{{}{88}} -\newlabel{51@vr}{{}{88}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{142}{codemass.7.1}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{142}{codemass.7.1}\protected@file@percent } +\newlabel{70@xvr}{{}{142}} +\newlabel{70@vr}{{}{142}} +\newlabel{sci:pot-100}{{7.{1}}{142}{Scilab Code}{codemass.7.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/scilab/pot\textendash threshold.sce}{142}{lstlisting.7.-115}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.5}Reading the potentiometer from Xcos}{142}{section.7.5}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {7.3}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{143}{figure.caption.109}\protected@file@percent } +\newlabel{72@xvr}{{}{143}} +\newlabel{72@vr}{{}{143}} +\newlabel{fig:pot-threshold}{{7.3}{143}{Turning LEDs on through Xcos depending on the potentiometer threshold}{figure.caption.109}{}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{1}}{}}{143}{egmass.7.1}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {7.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{144}{table.caption.110}\protected@file@percent } +\newlabel{tab:pot-threshold}{{7.1}{144}{Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }{table.caption.110}{}} +\newlabel{73@xvr}{{}{144}} +\newlabel{73@vr}{{}{144}} +\@writefile{toc}{\contentsline {section}{\numberline {7.6}Reading the potentiometer from Python}{145}{section.7.6}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.1}Reading the potentiometer}{145}{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}{145}{lstlisting.7.-116}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/python/pot\textendash threshold.py}{145}{lstlisting.7.-117}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.2}Python Code}{145}{subsection.7.6.2}\protected@file@percent } +\newlabel{sec:pot-python-code}{{7.6.2}{145}{Python Code}{subsection.7.6.2}{}} +\@writefile{pyd}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{1}}{}}{145}{pymass.7.1}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{145}{pymass.7.1}\protected@file@percent } +\newlabel{74@xvr}{{}{145}} +\newlabel{74@vr}{{}{145}} +\newlabel{py:pot-100}{{7.{1}}{145}{Python Code}{pymass.7.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/python/pot\textendash threshold.py}{145}{lstlisting.7.-118}\protected@file@percent } +\citation{julia-serial-ports} +\@writefile{toc}{\contentsline {section}{\numberline {7.7}Reading the potentiometer from Julia}{147}{section.7.7}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.1}Reading the potentiometer}{147}{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}{147}{lstlisting.7.-119}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/julia/pot\textendash threshold.jl}{147}{lstlisting.7.-120}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.2}Julia Code}{147}{subsection.7.7.2}\protected@file@percent } +\newlabel{sec:pot-julia-code}{{7.7.2}{147}{Julia Code}{subsection.7.7.2}{}} +\@writefile{juliad}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{147}{juliamass.7.1}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{147}{juliamass.7.1}\protected@file@percent } +\newlabel{75@xvr}{{}{147}} +\newlabel{75@vr}{{}{147}} +\newlabel{julia:pot-100}{{7.{1}}{147}{Julia Code}{juliamass.7.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/julia/pot\textendash threshold.jl}{147}{lstlisting.7.-121}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.8}Reading the potentiometer from OpenModelica}{148}{section.7.8}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.8.1}Reading the potentiometer}{148}{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}{148}{lstlisting.7.-122}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/OpenModelica/pot\textendash threshold.mo}{148}{lstlisting.7.-123}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.8.2}OpenModelica Code}{149}{subsection.7.8.2}\protected@file@percent } +\newlabel{sec:pot-OpenModelica-code}{{7.8.2}{149}{OpenModelica Code}{subsection.7.8.2}{}} +\@writefile{OpenModelicad}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{149}{OpenModelicamass.7.1}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{149}{OpenModelicamass.7.1}\protected@file@percent } +\newlabel{OpenModelica:pot-100}{{7.{1}}{149}{OpenModelica Code}{OpenModelicamass.7.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/OpenModelica/pot\textendash threshold.mo}{149}{lstlisting.7.-124}\protected@file@percent } \citation{therm-wiki} \citation{therm-wiki} -\@writefile{toc}{\contentsline {chapter}{\numberline {8}Interfacing a Thermistor}{89}{chapter.8}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {8}Interfacing a Thermistor}{151}{chapter.8}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{thermistor}{{8}{89}{Interfacing a Thermistor}{chapter.8}{}} -\@writefile{toc}{\contentsline {section}{\numberline {8.1}Preliminaries}{89}{section.8.1}\protected@file@percent } -\newlabel{fig:therm}{{8.1a}{90}{Subfigure 8 8.1a}{subfigure.8.1.1}{}} +\newlabel{thermistor}{{8}{151}{Interfacing a Thermistor}{chapter.8}{}} +\@writefile{toc}{\contentsline {section}{\numberline {8.1}Preliminaries}{151}{section.8.1}\protected@file@percent } +\newlabel{fig:therm}{{8.1a}{152}{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}{90}{Subfigure 8 8.1b}{subfigure.8.1.2}{}} +\newlabel{fig:thermsym}{{8.1b}{152}{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 }}{90}{figure.caption.87}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{90}{subfigure.1.1}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{90}{subfigure.1.2}\protected@file@percent } -\newlabel{fig:therm-conn}{{8.2a}{90}{Subfigure 8 8.2a}{subfigure.8.2.1}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {8.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{152}{figure.caption.111}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{152}{subfigure.1.1}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{152}{subfigure.1.2}\protected@file@percent } +\newlabel{fig:therm-conn}{{8.2a}{152}{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}{90}{Subfigure 8 8.2b}{subfigure.8.2.2}{}} +\newlabel{fig:buzzer-conn}{{8.2b}{152}{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 }}{90}{figure.caption.88}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Thermistor connection diagram}}}{90}{subfigure.2.1}\protected@file@percent } -\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Buzzer connection diagram}}}{90}{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 }}{91}{figure.caption.89}\protected@file@percent } -\newlabel{fig:ard-therm-bread}{{8.3}{91}{A thermistor to read its values with Arduino Uno using a breadboard\relax }{figure.caption.89}{}} -\@writefile{toc}{\contentsline {section}{\numberline {8.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{91}{section.8.2}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {8.4}{\ignorespaces A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }}{92}{figure.caption.90}\protected@file@percent } -\newlabel{fig:ard-therm-buzzer}{{8.4}{92}{A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }{figure.caption.90}{}} -\@writefile{toc}{\contentsline {section}{\numberline {8.3}Interfacing the thermistor from the Arduino IDE}{92}{section.8.3}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.1}Interfacing the thermistor}{92}{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}{92}{lstlisting.8.-51}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{93}{lstlisting.8.-52}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{93}{lstlisting.8.-53}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm\textendash buzzer/therm\textendash buzzer.ino}{93}{lstlisting.8.-54}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{94}{section*.91}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{8.{1}}{}}{94}{egmass.8.1}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.2}Arduino Code}{94}{subsection.8.3.2}\protected@file@percent } -\newlabel{sec:therm-arduino-code}{{8.3.2}{94}{Arduino Code}{subsection.8.3.2}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {8.2}{\ignorespaces Internal connection diagrams for thermistor and buzzer on the shield\relax }}{152}{figure.caption.112}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Thermistor connection diagram}}}{152}{subfigure.2.1}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Buzzer connection diagram}}}{152}{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 }}{153}{figure.caption.113}\protected@file@percent } +\newlabel{fig:ard-therm-bread}{{8.3}{153}{A thermistor to read its values with Arduino Uno using a breadboard\relax }{figure.caption.113}{}} +\@writefile{toc}{\contentsline {section}{\numberline {8.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{153}{section.8.2}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {8.4}{\ignorespaces A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }}{154}{figure.caption.114}\protected@file@percent } +\newlabel{fig:ard-therm-buzzer}{{8.4}{154}{A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }{figure.caption.114}{}} +\@writefile{toc}{\contentsline {section}{\numberline {8.3}Interfacing the thermistor from the Arduino IDE}{154}{section.8.3}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.1}Interfacing the thermistor}{154}{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}{154}{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}{155}{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}{155}{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}{155}{lstlisting.8.-128}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{156}{section*.115}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{8.{1}}{}}{156}{egmass.8.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.2}Arduino Code}{156}{subsection.8.3.2}\protected@file@percent } +\newlabel{sec:therm-arduino-code}{{8.3.2}{156}{Arduino Code}{subsection.8.3.2}{}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{94}{ardmass.8.1}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{94}{ardmass.8.1}\protected@file@percent } -\newlabel{52@xvr}{{}{94}} -\newlabel{52@vr}{{}{94}} -\newlabel{ard:therm-read}{{8.{1}}{94}{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}{94}{lstlisting.8.-55}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{8.{2}}{}}{95}{ardmass.8.2}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{95}{ardmass.8.2}\protected@file@percent } -\newlabel{53@xvr}{{}{95}} -\newlabel{53@vr}{{}{95}} -\newlabel{ard:therm-buzzer}{{8.{2}}{95}{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}{95}{lstlisting.8.-56}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.4}Interfacing the thermistor from Scilab}{96}{section.8.4}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {8.4.1}Interfacing the thermistor}{96}{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}{96}{lstlisting.8.-57}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm\textendash read.sce}{96}{lstlisting.8.-58}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm\textendash buzzer.sce}{97}{lstlisting.8.-59}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{97}{section*.92}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{8.{2}}{}}{97}{egmass.8.2}\protected@file@percent } -\newlabel{therm-abc}{{8.1}{97}{Interfacing the thermistor}{equation.8.4.1}{}} -\newlabel{therm-beta}{{8.2}{98}{Interfacing the thermistor}{equation.8.4.2}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {8.4.2}Scilab Code}{98}{subsection.8.4.2}\protected@file@percent } -\newlabel{sec:therm-scilab-code}{{8.4.2}{98}{Scilab Code}{subsection.8.4.2}{}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{156}{ardmass.8.1}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{156}{ardmass.8.1}\protected@file@percent } +\newlabel{76@xvr}{{}{156}} +\newlabel{76@vr}{{}{156}} +\newlabel{ard:therm-read}{{8.{1}}{156}{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}{156}{lstlisting.8.-129}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{8.{2}}{}}{157}{ardmass.8.2}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{157}{ardmass.8.2}\protected@file@percent } +\newlabel{77@xvr}{{}{157}} +\newlabel{77@vr}{{}{157}} +\newlabel{ard:therm-buzzer}{{8.{2}}{157}{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}{157}{lstlisting.8.-130}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.4}Interfacing the thermistor from Scilab}{158}{section.8.4}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.4.1}Interfacing the thermistor}{158}{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}{158}{lstlisting.8.-131}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm\textendash read.sce}{158}{lstlisting.8.-132}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm\textendash buzzer.sce}{159}{lstlisting.8.-133}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{159}{section*.116}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{8.{2}}{}}{159}{egmass.8.2}\protected@file@percent } +\newlabel{therm-abc}{{8.1}{159}{Interfacing the thermistor}{equation.8.4.1}{}} +\newlabel{therm-beta}{{8.2}{160}{Interfacing the thermistor}{equation.8.4.2}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {8.4.2}Scilab Code}{160}{subsection.8.4.2}\protected@file@percent } +\newlabel{sec:therm-scilab-code}{{8.4.2}{160}{Scilab Code}{subsection.8.4.2}{}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{98}{codemass.8.1}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{98}{codemass.8.1}\protected@file@percent } -\newlabel{54@xvr}{{}{98}} -\newlabel{54@vr}{{}{98}} -\newlabel{sci:therm-read}{{8.{1}}{98}{Scilab Code}{codemass.8.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm\textendash read.sce}{98}{lstlisting.8.-60}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{8.{2}}{}}{98}{codemass.8.2}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{98}{codemass.8.2}\protected@file@percent } -\newlabel{55@xvr}{{}{98}} -\newlabel{55@vr}{{}{98}} -\newlabel{sci:therm-buzzer}{{8.{2}}{98}{Scilab Code}{codemass.8.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm\textendash buzzer.sce}{98}{lstlisting.8.-61}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {8.5}Interfacing the thermistor from Xcos}{99}{section.8.5}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {8.5}{\ignorespaces Xcos diagram to read thermistor values}}{100}{figure.caption.93}\protected@file@percent } -\newlabel{57@xvr}{{}{100}} -\newlabel{57@vr}{{}{100}} -\newlabel{fig:therm-read}{{8.5}{100}{Xcos diagram to read thermistor values}{figure.caption.93}{}} -\@writefile{lot}{\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{100}{table.caption.94}\protected@file@percent } -\newlabel{tab:therm-read}{{8.1}{100}{Xcos parameters to read thermistor\relax }{table.caption.94}{}} -\newlabel{58@xvr}{{}{100}} -\newlabel{58@vr}{{}{100}} -\@writefile{lof}{\contentsline {figure}{\numberline {8.6}{\ignorespaces Plot window in Xcos to read thermistor values\relax }}{101}{figure.caption.95}\protected@file@percent } -\newlabel{fig:therm-read-output}{{8.6}{101}{Plot window in Xcos to read thermistor values\relax }{figure.caption.95}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {8.7}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on}}{101}{figure.caption.96}\protected@file@percent } -\newlabel{60@xvr}{{}{101}} -\newlabel{60@vr}{{}{101}} -\newlabel{fig:therm-buzzer}{{8.7}{101}{Xcos diagram to read the value of thermistor, which is used to turn the buzzer on}{figure.caption.96}{}} -\@writefile{lot}{\contentsline {table}{\numberline {8.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{102}{table.caption.97}\protected@file@percent } -\newlabel{tab:therm-buzzer}{{8.2}{102}{Xcos parameters to read thermistor and switch the buzzer\relax }{table.caption.97}{}} -\newlabel{61@xvr}{{}{102}} -\newlabel{61@vr}{{}{102}} -\@writefile{toc}{\contentsline {paragraph}{Note:}{102}{section*.99}\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 }}{103}{figure.caption.98}\protected@file@percent } -\newlabel{fig:therm-buzzer-output}{{8.8}{103}{Plot window in Xcos to read thermistor values and the state of LED\relax }{figure.caption.98}{}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{160}{codemass.8.1}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{160}{codemass.8.1}\protected@file@percent } +\newlabel{78@xvr}{{}{160}} +\newlabel{78@vr}{{}{160}} +\newlabel{sci:therm-read}{{8.{1}}{160}{Scilab Code}{codemass.8.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm\textendash read.sce}{160}{lstlisting.8.-134}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{8.{2}}{}}{160}{codemass.8.2}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{160}{codemass.8.2}\protected@file@percent } +\newlabel{79@xvr}{{}{160}} +\newlabel{79@vr}{{}{160}} +\newlabel{sci:therm-buzzer}{{8.{2}}{160}{Scilab Code}{codemass.8.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm\textendash buzzer.sce}{160}{lstlisting.8.-135}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.5}Interfacing the thermistor from Xcos}{161}{section.8.5}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {8.5}{\ignorespaces Xcos diagram to read thermistor values}}{162}{figure.caption.117}\protected@file@percent } +\newlabel{81@xvr}{{}{162}} +\newlabel{81@vr}{{}{162}} +\newlabel{fig:therm-read}{{8.5}{162}{Xcos diagram to read thermistor values}{figure.caption.117}{}} +\@writefile{lot}{\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{162}{table.caption.118}\protected@file@percent } +\newlabel{tab:therm-read}{{8.1}{162}{Xcos parameters to read thermistor\relax }{table.caption.118}{}} +\newlabel{82@xvr}{{}{162}} +\newlabel{82@vr}{{}{162}} +\@writefile{lof}{\contentsline {figure}{\numberline {8.6}{\ignorespaces Plot window in Xcos to read thermistor values\relax }}{163}{figure.caption.119}\protected@file@percent } +\newlabel{fig:therm-read-output}{{8.6}{163}{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}}{163}{figure.caption.120}\protected@file@percent } +\newlabel{84@xvr}{{}{163}} +\newlabel{84@vr}{{}{163}} +\newlabel{fig:therm-buzzer}{{8.7}{163}{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 }}{164}{table.caption.121}\protected@file@percent } +\newlabel{tab:therm-buzzer}{{8.2}{164}{Xcos parameters to read thermistor and switch the buzzer\relax }{table.caption.121}{}} +\newlabel{85@xvr}{{}{164}} +\newlabel{85@vr}{{}{164}} +\@writefile{toc}{\contentsline {paragraph}{Note:}{164}{section*.123}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.6}Interfacing the thermistor from Python}{164}{section.8.6}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.1}Interfacing the thermistor}{164}{subsection.8.6.1}\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 }}{165}{figure.caption.122}\protected@file@percent } +\newlabel{fig:therm-buzzer-output}{{8.8}{165}{Plot window in Xcos to read thermistor values and the state of LED\relax }{figure.caption.122}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm\textendash read.py}{165}{lstlisting.8.-136}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm\textendash read.py}{165}{lstlisting.8.-137}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm\textendash buzzer.py}{166}{lstlisting.8.-138}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{166}{section*.124}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.2}Python Code}{166}{subsection.8.6.2}\protected@file@percent } +\newlabel{sec:therm-pyhton-code}{{8.6.2}{166}{Python Code}{subsection.8.6.2}{}} +\@writefile{pyd}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{8.{1}}{}}{166}{pymass.8.1}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{166}{pymass.8.1}\protected@file@percent } +\newlabel{86@xvr}{{}{167}} +\newlabel{86@vr}{{}{167}} +\newlabel{py:therm-read}{{8.{1}}{167}{Python Code}{pymass.8.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm\textendash read.py}{167}{lstlisting.8.-139}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{8.{2}}{}}{167}{pymass.8.2}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{167}{pymass.8.2}\protected@file@percent } +\newlabel{87@xvr}{{}{167}} +\newlabel{87@vr}{{}{167}} +\newlabel{py:therm-buzzer}{{8.{2}}{167}{Python Code}{pymass.8.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm\textendash buzzer.py}{167}{lstlisting.8.-140}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.7}Interfacing the thermistor from Julia}{168}{section.8.7}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.1}Interfacing the thermistor}{168}{subsection.8.7.1}\protected@file@percent } +\citation{julia-serial-ports} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm\textendash read.jl}{169}{lstlisting.8.-141}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm\textendash read.jl}{169}{lstlisting.8.-142}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm\textendash buzzer.jl}{170}{lstlisting.8.-143}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{170}{section*.125}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.2}Julia Code}{170}{subsection.8.7.2}\protected@file@percent } +\newlabel{sec:therm-julia-code}{{8.7.2}{170}{Julia Code}{subsection.8.7.2}{}} +\@writefile{juliad}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{170}{juliamass.8.1}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{170}{juliamass.8.1}\protected@file@percent } +\newlabel{88@xvr}{{}{170}} +\newlabel{88@vr}{{}{170}} +\newlabel{julia:therm-read}{{8.{1}}{170}{Julia Code}{juliamass.8.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm\textendash read.jl}{170}{lstlisting.8.-144}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{8.{2}}{}}{170}{juliamass.8.2}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{170}{juliamass.8.2}\protected@file@percent } +\newlabel{89@xvr}{{}{170}} +\newlabel{89@vr}{{}{170}} +\newlabel{julia:therm-buzzer}{{8.{2}}{170}{Julia Code}{juliamass.8.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm\textendash buzzer.jl}{171}{lstlisting.8.-145}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.8}Interfacing the thermistor from OpenModelica}{171}{section.8.8}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.8.1}Interfacing the thermistor}{171}{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}{171}{lstlisting.8.-146}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/therm\textendash read.mo}{171}{lstlisting.8.-147}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/therm\textendash buzzer.mo}{172}{lstlisting.8.-148}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{172}{section*.126}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.8.2}OpenModelica Code}{173}{subsection.8.8.2}\protected@file@percent } +\newlabel{sec:therm-OpenModelica-code}{{8.8.2}{173}{OpenModelica Code}{subsection.8.8.2}{}} +\@writefile{OpenModelicad}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{173}{OpenModelicamass.8.1}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{173}{OpenModelicamass.8.1}\protected@file@percent } +\newlabel{OpenModelica:therm-read}{{8.{1}}{173}{OpenModelica Code}{OpenModelicamass.8.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/therm\textendash read.mo}{173}{lstlisting.8.-149}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{2}}{}}{173}{OpenModelicamass.8.2}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{173}{OpenModelicamass.8.2}\protected@file@percent } +\newlabel{OpenModelica:therm-buzzer}{{8.{2}}{173}{OpenModelica Code}{OpenModelicamass.8.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/therm\textendash buzzer.mo}{173}{lstlisting.8.-150}\protected@file@percent } \citation{arduino-pwm} -\@writefile{toc}{\contentsline {chapter}{\numberline {9}Interfacing a Servomotor}{105}{chapter.9}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {9}Interfacing a Servomotor}{175}{chapter.9}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{sec:servo}{{9}{105}{Interfacing a Servomotor}{chapter.9}{}} -\@writefile{toc}{\contentsline {section}{\numberline {9.1}Preliminaries}{105}{section.9.1}\protected@file@percent } -\newlabel{sec:servo-pril}{{9.1}{105}{Preliminaries}{section.9.1}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.1}{\ignorespaces Connecting servomotor to the shield attached on Arduino Uno\relax }}{106}{figure.caption.100}\protected@file@percent } -\newlabel{fig:servo-shield}{{9.1}{106}{Connecting servomotor to the shield attached on \arduino \relax }{figure.caption.100}{}} -\@writefile{lot}{\contentsline {table}{\numberline {9.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{106}{table.caption.101}\protected@file@percent } -\newlabel{tab:servo-connect}{{9.1}{106}{Connecting a typical servomotor to \arduino \ board\relax }{table.caption.101}{}} -\@writefile{toc}{\contentsline {section}{\numberline {9.2}Connecting a servomotor with Arduino Uno\ using a breadboard}{106}{section.9.2}\protected@file@percent } +\newlabel{sec:servo}{{9}{175}{Interfacing a Servomotor}{chapter.9}{}} +\@writefile{toc}{\contentsline {section}{\numberline {9.1}Preliminaries}{175}{section.9.1}\protected@file@percent } +\newlabel{sec:servo-pril}{{9.1}{175}{Preliminaries}{section.9.1}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.1}{\ignorespaces Connecting servomotor to the shield attached on Arduino Uno\relax }}{176}{figure.caption.127}\protected@file@percent } +\newlabel{fig:servo-shield}{{9.1}{176}{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 }}{176}{table.caption.128}\protected@file@percent } +\newlabel{tab:servo-connect}{{9.1}{176}{Connecting a typical servomotor to \arduino \ board\relax }{table.caption.128}{}} +\@writefile{toc}{\contentsline {section}{\numberline {9.2}Connecting a servomotor with Arduino Uno\ using a breadboard}{176}{section.9.2}\protected@file@percent } \citation{servo-lib} -\@writefile{lof}{\contentsline {figure}{\numberline {9.2}{\ignorespaces A servomotor with Arduino Uno\ using a breadboard\relax }}{107}{figure.caption.102}\protected@file@percent } -\newlabel{fig:servo-bread}{{9.2}{107}{A servomotor with \arduino \ using a breadboard\relax }{figure.caption.102}{}} -\@writefile{toc}{\contentsline {section}{\numberline {9.3}Controlling the servomotor through the Arduino IDE}{107}{section.9.3}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.1}Controlling the servomotor}{107}{subsection.9.3.1}\protected@file@percent } -\newlabel{sec:servo-ard}{{9.3.1}{107}{Controlling the servomotor}{subsection.9.3.1}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.3}{\ignorespaces A servomotor and a potentiometer with Arduino Uno\ using a breadboard\relax }}{108}{figure.caption.103}\protected@file@percent } -\newlabel{fig:servo-pot-bread}{{9.3}{108}{A servomotor and a potentiometer with \arduino \ using a breadboard\relax }{figure.caption.103}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{108}{lstlisting.9.-62}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{108}{lstlisting.9.-63}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{108}{lstlisting.9.-64}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{108}{lstlisting.9.-65}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash reverse/servo\textendash reverse.ino}{109}{lstlisting.9.-66}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash pot/servo\textendash pot.ino}{109}{lstlisting.9.-67}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{1}}{}}{110}{egmass.9.1}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{110}{subsection.9.3.2}\protected@file@percent } -\newlabel{sec:servo-arduino-code}{{9.3.2}{110}{Arduino Code}{subsection.9.3.2}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.2}{\ignorespaces A servomotor with Arduino Uno\ using a breadboard\relax }}{177}{figure.caption.129}\protected@file@percent } +\newlabel{fig:servo-bread}{{9.2}{177}{A servomotor with \arduino \ using a breadboard\relax }{figure.caption.129}{}} +\@writefile{toc}{\contentsline {section}{\numberline {9.3}Controlling the servomotor through the Arduino IDE}{177}{section.9.3}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.1}Controlling the servomotor}{177}{subsection.9.3.1}\protected@file@percent } +\newlabel{sec:servo-ard}{{9.3.1}{177}{Controlling the servomotor}{subsection.9.3.1}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.3}{\ignorespaces A servomotor and a potentiometer with Arduino Uno\ using a breadboard\relax }}{178}{figure.caption.130}\protected@file@percent } +\newlabel{fig:servo-pot-bread}{{9.3}{178}{A servomotor and a potentiometer with \arduino \ using a breadboard\relax }{figure.caption.130}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{178}{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}{178}{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}{178}{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}{178}{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}{179}{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}{179}{lstlisting.9.-156}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{1}}{}}{180}{egmass.9.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{180}{subsection.9.3.2}\protected@file@percent } +\newlabel{sec:servo-arduino-code}{{9.3.2}{180}{Arduino Code}{subsection.9.3.2}{}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{110}{ardmass.9.1}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{110}{ardmass.9.1}\protected@file@percent } -\newlabel{62@xvr}{{}{110}} -\newlabel{62@vr}{{}{110}} -\newlabel{ard:servo-init}{{9.{1}}{110}{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}{110}{lstlisting.9.-68}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{110}{ardmass.9.2}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{110}{ardmass.9.2}\protected@file@percent } -\newlabel{63@xvr}{{}{110}} -\newlabel{63@vr}{{}{110}} -\newlabel{ard:servo-reverse}{{9.{2}}{110}{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}{110}{lstlisting.9.-69}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{3}}{}}{111}{ardmass.9.3}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in increments}{111}{ardmass.9.3}\protected@file@percent } -\newlabel{64@xvr}{{}{111}} -\newlabel{64@vr}{{}{111}} -\newlabel{ard:servo-loop}{{9.{3}}{111}{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}{111}{lstlisting.9.-70}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{4}}{}}{111}{ardmass.9.4}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {9.{4}}Rotating the servomotor through the potentiometer}{111}{ardmass.9.4}\protected@file@percent } -\newlabel{65@xvr}{{}{111}} -\newlabel{65@vr}{{}{111}} -\newlabel{ard:servo-pot}{{9.{4}}{111}{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}{111}{lstlisting.9.-71}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {9.4}Controlling the servomotor through Scilab}{112}{section.9.4}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.1}Controlling the servomotor}{112}{subsection.9.4.1}\protected@file@percent } -\newlabel{sec:servo-sci}{{9.4.1}{112}{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}{112}{lstlisting.9.-72}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash init.sce}{112}{lstlisting.9.-73}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash reverse.sce}{113}{lstlisting.9.-74}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash pot.sce}{113}{lstlisting.9.-75}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{113}{subsection.9.4.2}\protected@file@percent } -\newlabel{sec:servo-scilab-code}{{9.4.2}{113}{Scilab Code}{subsection.9.4.2}{}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{180}{ardmass.9.1}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{180}{ardmass.9.1}\protected@file@percent } +\newlabel{90@xvr}{{}{180}} +\newlabel{90@vr}{{}{180}} +\newlabel{ard:servo-init}{{9.{1}}{180}{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}{180}{lstlisting.9.-157}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{180}{ardmass.9.2}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{180}{ardmass.9.2}\protected@file@percent } +\newlabel{91@xvr}{{}{180}} +\newlabel{91@vr}{{}{180}} +\newlabel{ard:servo-reverse}{{9.{2}}{180}{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}{180}{lstlisting.9.-158}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{3}}{}}{181}{ardmass.9.3}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in increments}{181}{ardmass.9.3}\protected@file@percent } +\newlabel{92@xvr}{{}{181}} +\newlabel{92@vr}{{}{181}} +\newlabel{ard:servo-loop}{{9.{3}}{181}{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}{181}{lstlisting.9.-159}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{4}}{}}{181}{ardmass.9.4}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {9.{4}}Rotating the servomotor through the potentiometer}{181}{ardmass.9.4}\protected@file@percent } +\newlabel{93@xvr}{{}{181}} +\newlabel{93@vr}{{}{181}} +\newlabel{ard:servo-pot}{{9.{4}}{181}{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}{181}{lstlisting.9.-160}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.4}Controlling the servomotor through Scilab}{182}{section.9.4}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.1}Controlling the servomotor}{182}{subsection.9.4.1}\protected@file@percent } +\newlabel{sec:servo-sci}{{9.4.1}{182}{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}{182}{lstlisting.9.-161}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash init.sce}{182}{lstlisting.9.-162}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash reverse.sce}{183}{lstlisting.9.-163}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash pot.sce}{183}{lstlisting.9.-164}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{183}{subsection.9.4.2}\protected@file@percent } +\newlabel{sec:servo-scilab-code}{{9.4.2}{183}{Scilab Code}{subsection.9.4.2}{}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{113}{codemass.9.1}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{113}{codemass.9.1}\protected@file@percent } -\newlabel{66@xvr}{{}{113}} -\newlabel{66@vr}{{}{113}} -\newlabel{sci:servo-init}{{9.{1}}{113}{Scilab Code}{codemass.9.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash init.sce}{113}{lstlisting.9.-76}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{114}{codemass.9.2}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{114}{codemass.9.2}\protected@file@percent } -\newlabel{67@xvr}{{}{114}} -\newlabel{67@vr}{{}{114}} -\newlabel{sci:servo-reverse}{{9.{2}}{114}{Scilab Code}{codemass.9.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash reverse.sce}{114}{lstlisting.9.-77}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{3}}{}}{114}{codemass.9.3}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{114}{codemass.9.3}\protected@file@percent } -\newlabel{68@xvr}{{}{114}} -\newlabel{68@vr}{{}{114}} -\newlabel{sci:servo-loop}{{9.{3}}{114}{Scilab Code}{codemass.9.3}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash loop.sce}{114}{lstlisting.9.-78}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{4}}{}}{114}{codemass.9.4}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{114}{codemass.9.4}\protected@file@percent } -\newlabel{69@xvr}{{}{114}} -\newlabel{69@vr}{{}{114}} -\newlabel{sci:servo-pot}{{9.{4}}{114}{Scilab Code}{codemass.9.4}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash pot.sce}{114}{lstlisting.9.-79}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {9.4}{\ignorespaces Rotating the servomotor by a fixed angle}}{115}{figure.caption.104}\protected@file@percent } -\newlabel{71@xvr}{{}{115}} -\newlabel{71@vr}{{}{115}} -\newlabel{fig:servo-init}{{9.4}{115}{Rotating the servomotor by a fixed angle}{figure.caption.104}{}} -\@writefile{toc}{\contentsline {section}{\numberline {9.5}Controling the servomotor through Xcos}{115}{section.9.5}\protected@file@percent } -\newlabel{sec:servo-xcos}{{9.5}{115}{Controling the servomotor through Xcos}{section.9.5}{}} -\@writefile{lot}{\contentsline {table}{\numberline {9.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{116}{table.caption.105}\protected@file@percent } -\newlabel{tab:servo-init}{{9.2}{116}{Parameters to rotate the servomotor by $30^\circ $\relax }{table.caption.105}{}} -\newlabel{72@xvr}{{}{116}} -\newlabel{72@vr}{{}{116}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.5}{\ignorespaces Rotating the servomotor forward and then reverse}}{116}{figure.caption.106}\protected@file@percent } -\newlabel{74@xvr}{{}{116}} -\newlabel{74@vr}{{}{116}} -\newlabel{fig:servo-reverse}{{9.5}{116}{Rotating the servomotor forward and then reverse}{figure.caption.106}{}} -\@writefile{lot}{\contentsline {table}{\numberline {9.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{117}{table.caption.107}\protected@file@percent } -\newlabel{tab:servo-reverse}{{9.3}{117}{Parameters to rotate the servomotor forward and reverse\relax }{table.caption.107}{}} -\newlabel{75@xvr}{{}{117}} -\newlabel{75@vr}{{}{117}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.6}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{117}{figure.caption.108}\protected@file@percent } -\newlabel{77@xvr}{{}{117}} -\newlabel{77@vr}{{}{117}} -\newlabel{fig:servo-loop}{{9.6}{117}{Rotating the servomotor in increments of $20^\circ $}{figure.caption.108}{}} -\@writefile{lot}{\contentsline {table}{\numberline {9.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{118}{table.caption.109}\protected@file@percent } -\newlabel{tab:servo-loop}{{9.4}{118}{Parameters to make the servomotor to sweep the entire range in increments\relax }{table.caption.109}{}} -\newlabel{78@xvr}{{}{118}} -\newlabel{78@vr}{{}{118}} -\@writefile{lof}{\contentsline {figure}{\numberline {9.7}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{118}{figure.caption.110}\protected@file@percent } -\newlabel{80@xvr}{{}{118}} -\newlabel{80@vr}{{}{118}} -\newlabel{fig:servo-pot}{{9.7}{118}{Rotating the servomotor as suggested by the potentiometer}{figure.caption.110}{}} -\@writefile{lot}{\contentsline {table}{\numberline {9.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{119}{table.caption.111}\protected@file@percent } -\newlabel{tab:servo-pot}{{9.5}{119}{Parameters to rotate the servomotor based on the input from the potentiometer\relax }{table.caption.111}{}} -\newlabel{81@xvr}{{}{119}} -\newlabel{81@vr}{{}{119}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{183}{codemass.9.1}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{183}{codemass.9.1}\protected@file@percent } +\newlabel{94@xvr}{{}{183}} +\newlabel{94@vr}{{}{183}} +\newlabel{sci:servo-init}{{9.{1}}{183}{Scilab Code}{codemass.9.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash init.sce}{183}{lstlisting.9.-165}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{184}{codemass.9.2}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{184}{codemass.9.2}\protected@file@percent } +\newlabel{95@xvr}{{}{184}} +\newlabel{95@vr}{{}{184}} +\newlabel{sci:servo-reverse}{{9.{2}}{184}{Scilab Code}{codemass.9.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash reverse.sce}{184}{lstlisting.9.-166}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{3}}{}}{184}{codemass.9.3}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{184}{codemass.9.3}\protected@file@percent } +\newlabel{96@xvr}{{}{184}} +\newlabel{96@vr}{{}{184}} +\newlabel{sci:servo-loop}{{9.{3}}{184}{Scilab Code}{codemass.9.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash loop.sce}{184}{lstlisting.9.-167}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{4}}{}}{184}{codemass.9.4}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{184}{codemass.9.4}\protected@file@percent } +\newlabel{97@xvr}{{}{184}} +\newlabel{97@vr}{{}{184}} +\newlabel{sci:servo-pot}{{9.{4}}{184}{Scilab Code}{codemass.9.4}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash pot.sce}{184}{lstlisting.9.-168}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {9.4}{\ignorespaces Rotating the servomotor by a fixed angle}}{185}{figure.caption.131}\protected@file@percent } +\newlabel{99@xvr}{{}{185}} +\newlabel{99@vr}{{}{185}} +\newlabel{fig:servo-init}{{9.4}{185}{Rotating the servomotor by a fixed angle}{figure.caption.131}{}} +\@writefile{toc}{\contentsline {section}{\numberline {9.5}Controling the servomotor through Xcos}{185}{section.9.5}\protected@file@percent } +\newlabel{sec:servo-xcos}{{9.5}{185}{Controling the servomotor through Xcos}{section.9.5}{}} +\@writefile{lot}{\contentsline {table}{\numberline {9.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{186}{table.caption.132}\protected@file@percent } +\newlabel{tab:servo-init}{{9.2}{186}{Parameters to rotate the servomotor by $30^\circ $\relax }{table.caption.132}{}} +\newlabel{100@xvr}{{}{186}} +\newlabel{100@vr}{{}{186}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.5}{\ignorespaces Rotating the servomotor forward and then reverse}}{186}{figure.caption.133}\protected@file@percent } +\newlabel{102@xvr}{{}{186}} +\newlabel{102@vr}{{}{186}} +\newlabel{fig:servo-reverse}{{9.5}{186}{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 }}{187}{table.caption.134}\protected@file@percent } +\newlabel{tab:servo-reverse}{{9.3}{187}{Parameters to rotate the servomotor forward and reverse\relax }{table.caption.134}{}} +\newlabel{103@xvr}{{}{187}} +\newlabel{103@vr}{{}{187}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.6}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{187}{figure.caption.135}\protected@file@percent } +\newlabel{105@xvr}{{}{187}} +\newlabel{105@vr}{{}{187}} +\newlabel{fig:servo-loop}{{9.6}{187}{Rotating the servomotor in increments of $20^\circ $}{figure.caption.135}{}} +\@writefile{lot}{\contentsline {table}{\numberline {9.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{188}{table.caption.136}\protected@file@percent } +\newlabel{tab:servo-loop}{{9.4}{188}{Parameters to make the servomotor to sweep the entire range in increments\relax }{table.caption.136}{}} +\newlabel{106@xvr}{{}{188}} +\newlabel{106@vr}{{}{188}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.7}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{188}{figure.caption.137}\protected@file@percent } +\newlabel{108@xvr}{{}{188}} +\newlabel{108@vr}{{}{188}} +\newlabel{fig:servo-pot}{{9.7}{188}{Rotating the servomotor as suggested by the potentiometer}{figure.caption.137}{}} +\@writefile{lot}{\contentsline {table}{\numberline {9.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{189}{table.caption.138}\protected@file@percent } +\newlabel{tab:servo-pot}{{9.5}{189}{Parameters to rotate the servomotor based on the input from the potentiometer\relax }{table.caption.138}{}} +\newlabel{109@xvr}{{}{189}} +\newlabel{109@vr}{{}{189}} +\@writefile{toc}{\contentsline {section}{\numberline {9.6}Controlling the servomotor through Python}{189}{section.9.6}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.1}Controlling the servomotor}{189}{subsection.9.6.1}\protected@file@percent } +\newlabel{sec:servo-py}{{9.6.1}{189}{Controlling the servomotor}{subsection.9.6.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash init.py}{189}{lstlisting.9.-169}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash init.py}{190}{lstlisting.9.-170}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash reverse.py}{190}{lstlisting.9.-171}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash pot.py}{190}{lstlisting.9.-172}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.2}Python Code}{191}{subsection.9.6.2}\protected@file@percent } +\newlabel{sec:servo-python-code}{{9.6.2}{191}{Python Code}{subsection.9.6.2}{}} +\@writefile{pyd}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{1}}{}}{191}{pymass.9.1}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{191}{pymass.9.1}\protected@file@percent } +\newlabel{110@xvr}{{}{191}} +\newlabel{110@vr}{{}{191}} +\newlabel{py:servo-init}{{9.{1}}{191}{Python Code}{pymass.9.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash init.py}{191}{lstlisting.9.-173}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{2}}{}}{192}{pymass.9.2}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{192}{pymass.9.2}\protected@file@percent } +\newlabel{111@xvr}{{}{192}} +\newlabel{111@vr}{{}{192}} +\newlabel{py:servo-reverse}{{9.{2}}{192}{Python Code}{pymass.9.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash reverse.py}{192}{lstlisting.9.-174}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{3}}{}}{193}{pymass.9.3}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{193}{pymass.9.3}\protected@file@percent } +\newlabel{112@xvr}{{}{193}} +\newlabel{112@vr}{{}{193}} +\newlabel{py:servo-loop}{{9.{3}}{193}{Python Code}{pymass.9.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash loop.py}{193}{lstlisting.9.-175}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{4}}{}}{193}{pymass.9.4}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{193}{pymass.9.4}\protected@file@percent } +\newlabel{113@xvr}{{}{193}} +\newlabel{113@vr}{{}{193}} +\newlabel{py:servo-pot}{{9.{4}}{193}{Python Code}{pymass.9.4}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash pot.py}{194}{lstlisting.9.-176}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.7}Controlling the servomotor through Julia}{194}{section.9.7}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.1}Controlling the servomotor}{194}{subsection.9.7.1}\protected@file@percent } +\newlabel{sec:servo-julia}{{9.7.1}{194}{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}{195}{lstlisting.9.-177}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash init.jl}{195}{lstlisting.9.-178}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash reverse.jl}{195}{lstlisting.9.-179}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash pot.jl}{196}{lstlisting.9.-180}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.2}Julia Code}{196}{subsection.9.7.2}\protected@file@percent } +\newlabel{sec:servo-julia-code}{{9.7.2}{196}{Julia Code}{subsection.9.7.2}{}} +\@writefile{juliad}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{196}{juliamass.9.1}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{196}{juliamass.9.1}\protected@file@percent } +\newlabel{114@xvr}{{}{196}} +\newlabel{114@vr}{{}{196}} +\newlabel{julia:servo-init}{{9.{1}}{196}{Julia Code}{juliamass.9.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash init.jl}{196}{lstlisting.9.-181}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{196}{juliamass.9.2}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{196}{juliamass.9.2}\protected@file@percent } +\newlabel{115@xvr}{{}{196}} +\newlabel{115@vr}{{}{196}} +\newlabel{julia:servo-reverse}{{9.{2}}{196}{Julia Code}{juliamass.9.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash reverse.jl}{196}{lstlisting.9.-182}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{3}}{}}{197}{juliamass.9.3}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{197}{juliamass.9.3}\protected@file@percent } +\newlabel{116@xvr}{{}{197}} +\newlabel{116@vr}{{}{197}} +\newlabel{julia:servo-loop}{{9.{3}}{197}{Julia Code}{juliamass.9.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash loop.jl}{197}{lstlisting.9.-183}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{4}}{}}{197}{juliamass.9.4}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{197}{juliamass.9.4}\protected@file@percent } +\newlabel{117@xvr}{{}{197}} +\newlabel{117@vr}{{}{197}} +\newlabel{julia:servo-pot}{{9.{4}}{197}{Julia Code}{juliamass.9.4}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash pot.jl}{197}{lstlisting.9.-184}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.8}Controlling the servomotor through OpenModelica}{198}{section.9.8}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.1}Controlling the servomotor}{198}{subsection.9.8.1}\protected@file@percent } +\newlabel{sec:servo-OpenModelica}{{9.8.1}{198}{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}{198}{lstlisting.9.-185}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash init.mo}{198}{lstlisting.9.-186}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash reverse.mo}{199}{lstlisting.9.-187}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash pot.mo}{199}{lstlisting.9.-188}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{199}{subsection.9.8.2}\protected@file@percent } +\newlabel{sec:servo-OpenModelica-code}{{9.8.2}{199}{OpenModelica Code}{subsection.9.8.2}{}} +\@writefile{OpenModelicad}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{200}{OpenModelicamass.9.1}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{200}{OpenModelicamass.9.1}\protected@file@percent } +\newlabel{OpenModelica:servo-init}{{9.{1}}{200}{OpenModelica Code}{OpenModelicamass.9.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash init.mo}{200}{lstlisting.9.-189}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{200}{OpenModelicamass.9.2}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{200}{OpenModelicamass.9.2}\protected@file@percent } +\newlabel{OpenModelica:servo-reverse}{{9.{2}}{200}{OpenModelica Code}{OpenModelicamass.9.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash reverse.mo}{200}{lstlisting.9.-190}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{3}}{}}{201}{OpenModelicamass.9.3}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{201}{OpenModelicamass.9.3}\protected@file@percent } +\newlabel{OpenModelica:servo-loop}{{9.{3}}{201}{OpenModelica Code}{OpenModelicamass.9.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash loop.mo}{201}{lstlisting.9.-191}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{4}}{}}{202}{OpenModelicamass.9.4}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{202}{OpenModelicamass.9.4}\protected@file@percent } +\newlabel{OpenModelica:servo-pot}{{9.{4}}{202}{OpenModelica Code}{OpenModelicamass.9.4}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash pot.mo}{202}{lstlisting.9.-192}\protected@file@percent } \citation{arduino-pwm} -\@writefile{toc}{\contentsline {chapter}{\numberline {10}Interfacing a DC Motor}{121}{chapter.10}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {10}Interfacing a DC Motor}{203}{chapter.10}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{dcmotor}{{10}{121}{Interfacing a DC Motor}{chapter.10}{}} -\@writefile{toc}{\contentsline {section}{\numberline {10.1}Preliminaries}{121}{section.10.1}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {10.1}{\ignorespaces L293D motor driver board\relax }}{122}{figure.caption.112}\protected@file@percent } -\newlabel{fig:motordriverboard}{{10.1}{122}{L293D motor driver board\relax }{figure.caption.112}{}} -\@writefile{lot}{\contentsline {table}{\numberline {10.1}{\ignorespaces Values to be passed for different H-Bridge circuits\relax }}{122}{table.caption.113}\protected@file@percent } -\newlabel{table:convention}{{10.1}{122}{Values to be passed for different H-Bridge circuits\relax }{table.caption.113}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.2}{\ignorespaces PWM pins on an Arduino Uno\ board\relax }}{123}{figure.caption.114}\protected@file@percent } -\newlabel{fig:uno-pwm}{{10.2}{123}{PWM pins on an \arduino \ board\relax }{figure.caption.114}{}} -\@writefile{toc}{\contentsline {section}{\numberline {10.2}Controlling the DC motor from Arduino}{123}{section.10.2}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.1}Controlling the DC motor}{123}{subsection.10.2.1}\protected@file@percent } -\newlabel{sec:dcm-ard}{{10.2.1}{123}{Controlling the DC motor}{subsection.10.2.1}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.3}{\ignorespaces A schematic of DC motor connections\relax }}{124}{figure.caption.115}\protected@file@percent } -\newlabel{fig:dcm-schematic}{{10.3}{124}{A schematic of DC motor connections\relax }{figure.caption.115}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.4}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{124}{figure.caption.116}\protected@file@percent } -\newlabel{fig:dcmotorconn}{{10.4}{124}{How to connect the DC motor to the \arduino \ board\relax }{figure.caption.116}{}} -\@writefile{toc}{\contentsline {paragraph}{Note:}{124}{section*.117}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{125}{lstlisting.10.-80}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{125}{lstlisting.10.-81}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{125}{lstlisting.10.-82}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor\textendash both/dcmotor\textendash both.ino}{125}{lstlisting.10.-83}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor\textendash both/dcmotor\textendash both.ino}{125}{lstlisting.10.-84}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{1}}{}}{126}{egmass.10.1}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{126}{subsection.10.2.2}\protected@file@percent } -\newlabel{sec:dcmotor-arduino-code}{{10.2.2}{126}{Arduino Code}{subsection.10.2.2}{}} +\newlabel{dcmotor}{{10}{203}{Interfacing a DC Motor}{chapter.10}{}} +\@writefile{toc}{\contentsline {section}{\numberline {10.1}Preliminaries}{203}{section.10.1}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {10.1}{\ignorespaces L293D motor driver board\relax }}{204}{figure.caption.139}\protected@file@percent } +\newlabel{fig:motordriverboard}{{10.1}{204}{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 }}{204}{table.caption.140}\protected@file@percent } +\newlabel{table:convention}{{10.1}{204}{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 }}{205}{figure.caption.141}\protected@file@percent } +\newlabel{fig:uno-pwm}{{10.2}{205}{PWM pins on an \arduino \ board\relax }{figure.caption.141}{}} +\@writefile{toc}{\contentsline {section}{\numberline {10.2}Controlling the DC motor from Arduino}{205}{section.10.2}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.1}Controlling the DC motor}{205}{subsection.10.2.1}\protected@file@percent } +\newlabel{sec:dcm-ard}{{10.2.1}{205}{Controlling the DC motor}{subsection.10.2.1}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.3}{\ignorespaces A schematic of DC motor connections\relax }}{206}{figure.caption.142}\protected@file@percent } +\newlabel{fig:dcm-schematic}{{10.3}{206}{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 }}{206}{figure.caption.143}\protected@file@percent } +\newlabel{fig:dcmotorconn}{{10.4}{206}{How to connect the DC motor to the \arduino \ board\relax }{figure.caption.143}{}} +\@writefile{toc}{\contentsline {paragraph}{Note:}{206}{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}{207}{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}{207}{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}{207}{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}{207}{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}{207}{lstlisting.10.-197}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{1}}{}}{208}{egmass.10.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{208}{subsection.10.2.2}\protected@file@percent } +\newlabel{sec:dcmotor-arduino-code}{{10.2.2}{208}{Arduino Code}{subsection.10.2.2}{}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{126}{ardmass.10.1}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{126}{ardmass.10.1}\protected@file@percent } -\newlabel{82@xvr}{{}{126}} -\newlabel{82@vr}{{}{126}} -\newlabel{ard:dcmotor-clock}{{10.{1}}{126}{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}{126}{lstlisting.10.-85}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{126}{ardmass.10.2}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{126}{ardmass.10.2}\protected@file@percent } -\newlabel{83@xvr}{{}{126}} -\newlabel{83@vr}{{}{126}} -\newlabel{ard:dcmotor-both}{{10.{2}}{126}{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}{126}{lstlisting.10.-86}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{127}{ardmass.10.3}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{127}{ardmass.10.3}\protected@file@percent } -\newlabel{84@xvr}{{}{127}} -\newlabel{84@vr}{{}{127}} -\newlabel{ard:dcmotor-loop}{{10.{3}}{127}{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}{127}{lstlisting.10.-87}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.3}Controlling the DC motor from Scilab}{127}{section.10.3}\protected@file@percent } -\newlabel{sec:dcm-sci}{{10.3}{127}{Controlling the DC motor from Scilab}{section.10.3}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.1}Controlling the DC motor}{127}{subsection.10.3.1}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{128}{section*.118}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{128}{lstlisting.10.-89}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{129}{lstlisting.10.-91}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{129}{lstlisting.10.-92}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{129}{lstlisting.10.-93}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{129}{section*.119}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{129}{lstlisting.10.-94}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{129}{lstlisting.10.-95}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{2}}{}}{130}{egmass.10.2}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{130}{subsection.10.3.2}\protected@file@percent } -\newlabel{sec:dcmotor-scilab-code}{{10.3.2}{130}{Scilab Code}{subsection.10.3.2}{}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{208}{ardmass.10.1}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{208}{ardmass.10.1}\protected@file@percent } +\newlabel{118@xvr}{{}{208}} +\newlabel{118@vr}{{}{208}} +\newlabel{ard:dcmotor-clock}{{10.{1}}{208}{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}{208}{lstlisting.10.-198}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{208}{ardmass.10.2}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{208}{ardmass.10.2}\protected@file@percent } +\newlabel{119@xvr}{{}{208}} +\newlabel{119@vr}{{}{208}} +\newlabel{ard:dcmotor-both}{{10.{2}}{208}{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}{208}{lstlisting.10.-199}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{209}{ardmass.10.3}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{209}{ardmass.10.3}\protected@file@percent } +\newlabel{120@xvr}{{}{209}} +\newlabel{120@vr}{{}{209}} +\newlabel{ard:dcmotor-loop}{{10.{3}}{209}{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}{209}{lstlisting.10.-200}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.3}Controlling the DC motor from Scilab}{209}{section.10.3}\protected@file@percent } +\newlabel{sec:dcm-sci}{{10.3}{209}{Controlling the DC motor from Scilab}{section.10.3}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.1}Controlling the DC motor}{209}{subsection.10.3.1}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{210}{section*.145}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{210}{lstlisting.10.-202}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{211}{lstlisting.10.-204}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{211}{lstlisting.10.-205}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{211}{lstlisting.10.-206}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{211}{section*.146}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{211}{lstlisting.10.-207}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{211}{lstlisting.10.-208}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{2}}{}}{212}{egmass.10.2}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{212}{subsection.10.3.2}\protected@file@percent } +\newlabel{sec:dcmotor-scilab-code}{{10.3.2}{212}{Scilab Code}{subsection.10.3.2}{}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{130}{codemass.10.1}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{130}{codemass.10.1}\protected@file@percent } -\newlabel{85@xvr}{{}{130}} -\newlabel{85@vr}{{}{130}} -\newlabel{sci:dcmotor-clock}{{10.{1}}{130}{Scilab Code}{codemass.10.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{130}{lstlisting.10.-96}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{130}{codemass.10.2}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{130}{codemass.10.2}\protected@file@percent } -\newlabel{86@xvr}{{}{130}} -\newlabel{86@vr}{{}{130}} -\newlabel{sci:dcmotor-both}{{10.{2}}{130}{Scilab Code}{codemass.10.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{130}{lstlisting.10.-97}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{131}{codemass.10.3}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{131}{codemass.10.3}\protected@file@percent } -\newlabel{87@xvr}{{}{131}} -\newlabel{87@vr}{{}{131}} -\newlabel{sci:dcmotor-loop}{{10.{3}}{131}{Scilab Code}{codemass.10.3}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash loop.sce}{131}{lstlisting.10.-98}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.4}Controlling the DC motor from Xcos}{131}{section.10.4}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {10.5}{\ignorespaces Control of DC motor for a specified time from Xcos}}{132}{figure.caption.120}\protected@file@percent } -\newlabel{89@xvr}{{}{132}} -\newlabel{89@vr}{{}{132}} -\newlabel{fig:dcmotor-clock}{{10.5}{132}{Control of DC motor for a specified time from Xcos}{figure.caption.120}{}} -\@writefile{lot}{\contentsline {table}{\numberline {10.2}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{132}{table.caption.121}\protected@file@percent } -\newlabel{tab:dcmotor-clock}{{10.2}{132}{Xcos parameters to drive the DC motor for a specified time\relax }{table.caption.121}{}} -\newlabel{90@xvr}{{}{132}} -\newlabel{90@vr}{{}{132}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{133}{figure.caption.122}\protected@file@percent } -\newlabel{92@xvr}{{}{133}} -\newlabel{92@vr}{{}{133}} -\newlabel{fig:dcmotor-both}{{10.6}{133}{Xcos control of the DC motor in forward and reverse directions}{figure.caption.122}{}} -\@writefile{lot}{\contentsline {table}{\numberline {10.3}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{133}{table.caption.123}\protected@file@percent } -\newlabel{tab:dcmotor-both}{{10.3}{133}{Xcos parameters to drive the DC motor in forward and reverse directions\relax }{table.caption.123}{}} -\newlabel{93@xvr}{{}{133}} -\newlabel{93@vr}{{}{133}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{3}}{}}{133}{egmass.10.3}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {10.7}{\ignorespaces Xcos control of the DC motor in both directions in a loop}}{134}{figure.caption.124}\protected@file@percent } -\newlabel{95@xvr}{{}{134}} -\newlabel{95@vr}{{}{134}} -\newlabel{fig:dcmotor-loop}{{10.7}{134}{Xcos control of the DC motor in both directions in a loop}{figure.caption.124}{}} -\@writefile{lot}{\contentsline {table}{\numberline {10.4}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{135}{table.caption.125}\protected@file@percent } -\newlabel{tab:dcmotor-loop}{{10.4}{135}{Xcos parameters to drive the DC motor in a loop\relax }{table.caption.125}{}} -\newlabel{96@xvr}{{}{135}} -\newlabel{96@vr}{{}{135}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{212}{codemass.10.1}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{212}{codemass.10.1}\protected@file@percent } +\newlabel{121@xvr}{{}{212}} +\newlabel{121@vr}{{}{212}} +\newlabel{sci:dcmotor-clock}{{10.{1}}{212}{Scilab Code}{codemass.10.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{212}{lstlisting.10.-209}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{212}{codemass.10.2}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{212}{codemass.10.2}\protected@file@percent } +\newlabel{122@xvr}{{}{212}} +\newlabel{122@vr}{{}{212}} +\newlabel{sci:dcmotor-both}{{10.{2}}{212}{Scilab Code}{codemass.10.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{212}{lstlisting.10.-210}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{213}{codemass.10.3}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{213}{codemass.10.3}\protected@file@percent } +\newlabel{123@xvr}{{}{213}} +\newlabel{123@vr}{{}{213}} +\newlabel{sci:dcmotor-loop}{{10.{3}}{213}{Scilab Code}{codemass.10.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash loop.sce}{213}{lstlisting.10.-211}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.4}Controlling the DC motor from Xcos}{213}{section.10.4}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {10.5}{\ignorespaces Control of DC motor for a specified time from Xcos}}{214}{figure.caption.147}\protected@file@percent } +\newlabel{125@xvr}{{}{214}} +\newlabel{125@vr}{{}{214}} +\newlabel{fig:dcmotor-clock}{{10.5}{214}{Control of DC motor for a specified time from Xcos}{figure.caption.147}{}} +\@writefile{lot}{\contentsline {table}{\numberline {10.2}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{214}{table.caption.148}\protected@file@percent } +\newlabel{tab:dcmotor-clock}{{10.2}{214}{Xcos parameters to drive the DC motor for a specified time\relax }{table.caption.148}{}} +\newlabel{126@xvr}{{}{214}} +\newlabel{126@vr}{{}{214}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{215}{figure.caption.149}\protected@file@percent } +\newlabel{128@xvr}{{}{215}} +\newlabel{128@vr}{{}{215}} +\newlabel{fig:dcmotor-both}{{10.6}{215}{Xcos control of the DC motor in forward and reverse directions}{figure.caption.149}{}} +\@writefile{lot}{\contentsline {table}{\numberline {10.3}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{215}{table.caption.150}\protected@file@percent } +\newlabel{tab:dcmotor-both}{{10.3}{215}{Xcos parameters to drive the DC motor in forward and reverse directions\relax }{table.caption.150}{}} +\newlabel{129@xvr}{{}{215}} +\newlabel{129@vr}{{}{215}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{3}}{}}{215}{egmass.10.3}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {10.7}{\ignorespaces Xcos control of the DC motor in both directions in a loop}}{216}{figure.caption.151}\protected@file@percent } +\newlabel{131@xvr}{{}{216}} +\newlabel{131@vr}{{}{216}} +\newlabel{fig:dcmotor-loop}{{10.7}{216}{Xcos control of the DC motor in both directions in a loop}{figure.caption.151}{}} +\@writefile{toc}{\contentsline {section}{\numberline {10.5}Controlling the DC motor from Python}{216}{section.10.5}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.1}Controlling the DC motor}{216}{subsection.10.5.1}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {10.4}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{217}{table.caption.152}\protected@file@percent } +\newlabel{tab:dcmotor-loop}{{10.4}{217}{Xcos parameters to drive the DC motor in a loop\relax }{table.caption.152}{}} +\newlabel{132@xvr}{{}{217}} +\newlabel{132@vr}{{}{217}} +\@writefile{toc}{\contentsline {paragraph}{Note:}{217}{section*.153}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash clock.py}{218}{lstlisting.10.-213}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash clock.py}{218}{lstlisting.10.-215}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash clock.py}{218}{lstlisting.10.-216}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash clock.py}{218}{lstlisting.10.-217}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{218}{section*.154}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash both.py}{219}{lstlisting.10.-218}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash both.py}{219}{lstlisting.10.-219}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.2}Python Code}{219}{subsection.10.5.2}\protected@file@percent } +\newlabel{sec:dcmotor-python-code}{{10.5.2}{219}{Python Code}{subsection.10.5.2}{}} +\@writefile{pyd}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{1}}{}}{219}{pymass.10.1}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{219}{pymass.10.1}\protected@file@percent } +\newlabel{133@xvr}{{}{219}} +\newlabel{133@vr}{{}{219}} +\newlabel{py:dcmotor-clock}{{10.{1}}{219}{Python Code}{pymass.10.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash clock.py}{219}{lstlisting.10.-220}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{2}}{}}{220}{pymass.10.2}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{220}{pymass.10.2}\protected@file@percent } +\newlabel{134@xvr}{{}{220}} +\newlabel{134@vr}{{}{220}} +\newlabel{py:dcmotor-both}{{10.{2}}{220}{Python Code}{pymass.10.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash both.py}{220}{lstlisting.10.-221}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{3}}{}}{221}{pymass.10.3}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{221}{pymass.10.3}\protected@file@percent } +\newlabel{135@xvr}{{}{221}} +\newlabel{135@vr}{{}{221}} +\newlabel{py:dcmotor-loop}{{10.{3}}{221}{Python Code}{pymass.10.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash loop.py}{221}{lstlisting.10.-222}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.6}Controlling the DC motor from Julia}{222}{section.10.6}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.1}Controlling the DC motor}{222}{subsection.10.6.1}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{222}{section*.155}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{223}{lstlisting.10.-224}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{223}{lstlisting.10.-226}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{223}{lstlisting.10.-227}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{223}{lstlisting.10.-228}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{224}{section*.156}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash both.jl}{224}{lstlisting.10.-229}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash both.jl}{224}{lstlisting.10.-230}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.2}Julia Code}{224}{subsection.10.6.2}\protected@file@percent } +\newlabel{sec:dcmotor-julia-code}{{10.6.2}{224}{Julia Code}{subsection.10.6.2}{}} +\@writefile{juliad}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{224}{juliamass.10.1}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{224}{juliamass.10.1}\protected@file@percent } +\newlabel{136@xvr}{{}{224}} +\newlabel{136@vr}{{}{224}} +\newlabel{julia:dcmotor-clock}{{10.{1}}{224}{Julia Code}{juliamass.10.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{224}{lstlisting.10.-231}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{225}{juliamass.10.2}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{225}{juliamass.10.2}\protected@file@percent } +\newlabel{137@xvr}{{}{225}} +\newlabel{137@vr}{{}{225}} +\newlabel{julia:dcmotor-both}{{10.{2}}{225}{Julia Code}{juliamass.10.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash both.jl}{225}{lstlisting.10.-232}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{225}{juliamass.10.3}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{225}{juliamass.10.3}\protected@file@percent } +\newlabel{138@xvr}{{}{225}} +\newlabel{138@vr}{{}{225}} +\newlabel{julia:dcmotor-loop}{{10.{3}}{225}{Julia Code}{juliamass.10.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash loop.jl}{225}{lstlisting.10.-233}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.7}Controlling the DC motor from OpenModelica}{225}{section.10.7}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.1}Controlling the DC motor}{225}{subsection.10.7.1}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{226}{section*.157}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{226}{lstlisting.10.-235}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{227}{lstlisting.10.-237}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{227}{lstlisting.10.-238}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{227}{lstlisting.10.-239}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{227}{section*.158}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{227}{lstlisting.10.-240}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{227}{lstlisting.10.-241}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{228}{subsection.10.7.2}\protected@file@percent } +\newlabel{sec:dcmotor-OpenModelica-code}{{10.7.2}{228}{OpenModelica Code}{subsection.10.7.2}{}} +\@writefile{OpenModelicad}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{228}{OpenModelicamass.10.1}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{228}{OpenModelicamass.10.1}\protected@file@percent } +\newlabel{OpenModelica:dcmotor-clock}{{10.{1}}{228}{OpenModelica Code}{OpenModelicamass.10.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{228}{lstlisting.10.-242}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{229}{OpenModelicamass.10.2}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{229}{OpenModelicamass.10.2}\protected@file@percent } +\newlabel{OpenModelica:dcmotor-both}{{10.{2}}{229}{OpenModelica Code}{OpenModelicamass.10.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{229}{lstlisting.10.-243}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{229}{OpenModelicamass.10.3}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{229}{OpenModelicamass.10.3}\protected@file@percent } +\newlabel{OpenModelica:dcmotor-loop}{{10.{3}}{229}{OpenModelica Code}{OpenModelicamass.10.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash loop.mo}{229}{lstlisting.10.-244}\protected@file@percent } \citation{modbus} \citation{modbus-paper} \citation{simplymodbus} -\@writefile{toc}{\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{137}{chapter.11}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{231}{chapter.11}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{modbus}{{11}{137}{Implementation of Modbus Protocol}{chapter.11}{}} -\@writefile{toc}{\contentsline {section}{\numberline {11.1}Preliminaries}{137}{section.11.1}\protected@file@percent } +\newlabel{modbus}{{11}{231}{Implementation of Modbus Protocol}{chapter.11}{}} +\@writefile{toc}{\contentsline {section}{\numberline {11.1}Preliminaries}{231}{section.11.1}\protected@file@percent } \citation{simplymodbus} -\@writefile{lof}{\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{138}{figure.caption.126}\protected@file@percent } -\newlabel{mod-block}{{11.1}{138}{Block diagram representation of the Protocol\relax }{figure.caption.126}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.2}{\ignorespaces Cycle of query-response between master and slave\relax }}{138}{figure.caption.127}\protected@file@percent } -\newlabel{mod-master-slave}{{11.2}{138}{Cycle of query-response between master and slave\relax }{figure.caption.127}{}} -\@writefile{lot}{\contentsline {table}{\numberline {11.1}{\ignorespaces Pins available on RS485 and their usage\relax }}{139}{table.caption.128}\protected@file@percent } -\newlabel{tab:rs-485-pins}{{11.1}{139}{Pins available on RS485 and their usage\relax }{table.caption.128}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{139}{figure.caption.129}\protected@file@percent } -\newlabel{rs-485}{{11.3}{139}{Pins in RS485 module\relax }{figure.caption.129}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {11.1.1}Energy meter}{139}{subsection.11.1.1}\protected@file@percent } -\newlabel{sec:energy-meter}{{11.1.1}{139}{Energy meter}{subsection.11.1.1}{}} -\@writefile{lot}{\contentsline {table}{\numberline {11.2}{\ignorespaces Operations supported by Modbus RTU\relax }}{140}{table.caption.130}\protected@file@percent } -\newlabel{tab:modbus-fun-codes}{{11.2}{140}{Operations supported by Modbus RTU\relax }{table.caption.130}{}} -\@writefile{lot}{\contentsline {table}{\numberline {11.3}{\ignorespaces Individual parameter address in EM6400\relax }}{140}{table.caption.131}\protected@file@percent } -\newlabel{tab:params-addr}{{11.3}{140}{Individual parameter address in EM6400\relax }{table.caption.131}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{232}{figure.caption.159}\protected@file@percent } +\newlabel{mod-block}{{11.1}{232}{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 }}{232}{figure.caption.160}\protected@file@percent } +\newlabel{mod-master-slave}{{11.2}{232}{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 }}{233}{table.caption.161}\protected@file@percent } +\newlabel{tab:rs-485-pins}{{11.1}{233}{Pins available on RS485 and their usage\relax }{table.caption.161}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{233}{figure.caption.162}\protected@file@percent } +\newlabel{rs-485}{{11.3}{233}{Pins in RS485 module\relax }{figure.caption.162}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {11.1.1}Energy meter}{233}{subsection.11.1.1}\protected@file@percent } +\newlabel{sec:energy-meter}{{11.1.1}{233}{Energy meter}{subsection.11.1.1}{}} +\@writefile{lot}{\contentsline {table}{\numberline {11.2}{\ignorespaces Operations supported by Modbus RTU\relax }}{234}{table.caption.163}\protected@file@percent } +\newlabel{tab:modbus-fun-codes}{{11.2}{234}{Operations supported by Modbus RTU\relax }{table.caption.163}{}} +\@writefile{lot}{\contentsline {table}{\numberline {11.3}{\ignorespaces Individual parameter address in EM6400\relax }}{234}{table.caption.164}\protected@file@percent } +\newlabel{tab:params-addr}{{11.3}{234}{Individual parameter address in EM6400\relax }{table.caption.164}{}} \citation{online-crc} -\@writefile{lot}{\contentsline {table}{\numberline {11.4}{\ignorespaces A request packet to access V1 in EM6400\relax }}{141}{table.caption.133}\protected@file@percent } -\newlabel{tab:params-rq}{{11.4}{141}{A request packet to access V1 in EM6400\relax }{table.caption.133}{}} -\@writefile{toc}{\contentsline {paragraph}{Note:}{141}{section*.132}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {11.5}{\ignorespaces A response packet to access V1 in EM6400\relax }}{142}{table.caption.134}\protected@file@percent } -\newlabel{tab:params-rp}{{11.5}{142}{A response packet to access V1 in EM6400\relax }{table.caption.134}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {11.1.2}Endianness}{142}{subsection.11.1.2}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {11.6}{\ignorespaces Memory storage of a four-byte integer in little-endian and big-endian\relax }}{143}{table.caption.135}\protected@file@percent } -\newlabel{tab:memory-storage}{{11.6}{143}{Memory storage of a four-byte integer in little-endian and big-endian\relax }{table.caption.135}{}} +\@writefile{lot}{\contentsline {table}{\numberline {11.4}{\ignorespaces A request packet to access V1 in EM6400\relax }}{235}{table.caption.166}\protected@file@percent } +\newlabel{tab:params-rq}{{11.4}{235}{A request packet to access V1 in EM6400\relax }{table.caption.166}{}} +\@writefile{toc}{\contentsline {paragraph}{Note:}{235}{section*.165}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {11.5}{\ignorespaces A response packet to access V1 in EM6400\relax }}{236}{table.caption.167}\protected@file@percent } +\newlabel{tab:params-rp}{{11.5}{236}{A response packet to access V1 in EM6400\relax }{table.caption.167}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {11.1.2}Endianness}{236}{subsection.11.1.2}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {11.6}{\ignorespaces Memory storage of a four-byte integer in little-endian and big-endian\relax }}{237}{table.caption.168}\protected@file@percent } +\newlabel{tab:memory-storage}{{11.6}{237}{Memory storage of a four-byte integer in little-endian and big-endian\relax }{table.caption.168}{}} \citation{ieee-754-conv} -\@writefile{lof}{\contentsline {figure}{\numberline {11.4}{\ignorespaces Block diagram for reading the parameters in energy meter\relax }}{144}{figure.caption.136}\protected@file@percent } -\newlabel{fig:block-diagram}{{11.4}{144}{Block diagram for reading the parameters in energy meter\relax }{figure.caption.136}{}} -\@writefile{toc}{\contentsline {section}{\numberline {11.2}Setup for the experiment}{144}{section.11.2}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.5}{\ignorespaces Experimental set up for reading energy meter\relax }}{145}{figure.caption.137}\protected@file@percent } -\newlabel{fig:full-set-up}{{11.5}{145}{Experimental set up for reading energy meter\relax }{figure.caption.137}{}} -\@writefile{toc}{\contentsline {section}{\numberline {11.3}Software required for this experiment}{145}{section.11.3}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{146}{figure.caption.138}\protected@file@percent } -\newlabel{fig:modbus-firmware}{{11.6}{146}{Flowchart of Arduino firmware\relax }{figure.caption.138}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {11.3.1}Arduino Firmware}{147}{subsection.11.3.1}\protected@file@percent } -\newlabel{sec:firmware-modbus}{{11.3.1}{147}{Arduino Firmware}{subsection.11.3.1}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.4}{\ignorespaces Block diagram for reading the parameters in energy meter\relax }}{238}{figure.caption.169}\protected@file@percent } +\newlabel{fig:block-diagram}{{11.4}{238}{Block diagram for reading the parameters in energy meter\relax }{figure.caption.169}{}} +\@writefile{toc}{\contentsline {section}{\numberline {11.2}Setup for the experiment}{238}{section.11.2}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.5}{\ignorespaces Experimental set up for reading energy meter\relax }}{239}{figure.caption.170}\protected@file@percent } +\newlabel{fig:full-set-up}{{11.5}{239}{Experimental set up for reading energy meter\relax }{figure.caption.170}{}} +\@writefile{toc}{\contentsline {section}{\numberline {11.3}Software required for this experiment}{239}{section.11.3}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{240}{figure.caption.171}\protected@file@percent } +\newlabel{fig:modbus-firmware}{{11.6}{240}{Flowchart of Arduino firmware\relax }{figure.caption.171}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {11.3.1}Arduino Firmware}{241}{subsection.11.3.1}\protected@file@percent } +\newlabel{sec:firmware-modbus}{{11.3.1}{241}{Arduino Firmware}{subsection.11.3.1}{}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{147}{ardmass.11.1}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{147}{ardmass.11.1}\protected@file@percent } -\newlabel{97@xvr}{{}{147}} -\newlabel{97@vr}{{}{147}} -\newlabel{ard:firmware-modbus}{{11.{1}}{147}{Arduino Firmware}{ardmass.11.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/arduino/send\textunderscore packet.ino}{147}{lstlisting.11.-99}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {11.4}Manifestation of Modbus protocol through Scilab}{147}{section.11.4}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.7}{\ignorespaces Flowchart of the steps happening in the FLOSS code\relax }}{148}{figure.caption.139}\protected@file@percent } -\newlabel{fig:flow-chart}{{11.7}{148}{Flowchart of the steps happening in the FLOSS code\relax }{figure.caption.139}{}} -\@writefile{toc}{\contentsline {section}{\numberline {11.5}Reading the electrical parameters from Scilab}{149}{section.11.5}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.5.1}Reading the electrical parameters}{149}{subsection.11.5.1}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.5.2}Scilab Code}{149}{subsection.11.5.2}\protected@file@percent } -\newlabel{sec:modbus-scilab-code}{{11.5.2}{149}{Scilab Code}{subsection.11.5.2}{}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{241}{ardmass.11.1}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{241}{ardmass.11.1}\protected@file@percent } +\newlabel{139@xvr}{{}{241}} +\newlabel{139@vr}{{}{241}} +\newlabel{ard:firmware-modbus}{{11.{1}}{241}{Arduino Firmware}{ardmass.11.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/arduino/send\textunderscore packet.ino}{241}{lstlisting.11.-245}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.4}Manifestation of Modbus protocol through Scilab}{241}{section.11.4}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.7}{\ignorespaces Flowchart of the steps happening in the FLOSS code\relax }}{242}{figure.caption.172}\protected@file@percent } +\newlabel{fig:flow-chart}{{11.7}{242}{Flowchart of the steps happening in the FLOSS code\relax }{figure.caption.172}{}} +\@writefile{toc}{\contentsline {section}{\numberline {11.5}Reading the electrical parameters from Scilab}{243}{section.11.5}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.5.1}Reading the electrical parameters}{243}{subsection.11.5.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.5.2}Scilab Code}{243}{subsection.11.5.2}\protected@file@percent } +\newlabel{sec:modbus-scilab-code}{{11.5.2}{243}{Scilab Code}{subsection.11.5.2}{}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{149}{codemass.11.1}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{149}{codemass.11.1}\protected@file@percent } -\newlabel{98@xvr}{{}{149}} -\newlabel{98@vr}{{}{149}} -\newlabel{sci:val-modbus}{{11.{1}}{149}{Scilab Code}{codemass.11.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read\textunderscore val.sce}{149}{lstlisting.11.-100}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{149}{codemass.11.2}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for single phase current output}{149}{codemass.11.2}\protected@file@percent } -\newlabel{99@xvr}{{}{149}} -\newlabel{99@vr}{{}{149}} -\newlabel{sci:current-modbus}{{11.{2}}{149}{Scilab Code}{codemass.11.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read\textunderscore current.sci}{149}{lstlisting.11.-101}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{150}{codemass.11.3}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for single phase voltage output}{150}{codemass.11.3}\protected@file@percent } -\newlabel{100@xvr}{{}{150}} -\newlabel{100@vr}{{}{150}} -\newlabel{sci:voltage-modbus}{{11.{3}}{150}{Scilab Code}{codemass.11.3}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read\textunderscore voltage.sci}{150}{lstlisting.11.-102}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{150}{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}{150}{codemass.11.4}\protected@file@percent } -\newlabel{101@xvr}{{}{150}} -\newlabel{101@vr}{{}{150}} -\newlabel{sci:modbus-power}{{11.{4}}{150}{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}{150}{lstlisting.11.-103}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note: }{150}{section*.140}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.8}{\ignorespaces Single phase current output on Scilab Console\relax }}{151}{figure.caption.141}\protected@file@percent } -\newlabel{fig:current-console}{{11.8}{151}{Single phase current output on Scilab Console\relax }{figure.caption.141}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {11.5.3}Output in the Scilab Console}{151}{subsection.11.5.3}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.9}{\ignorespaces Single phase current output in energy meter\relax }}{152}{figure.caption.142}\protected@file@percent } -\newlabel{fig:current-meter}{{11.9}{152}{Single phase current output in energy meter\relax }{figure.caption.142}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.10}{\ignorespaces Single phase voltage output on Scilab Console\relax }}{152}{figure.caption.143}\protected@file@percent } -\newlabel{fig:voltage-console}{{11.10}{152}{Single phase voltage output on Scilab Console\relax }{figure.caption.143}{}} -\@writefile{toc}{\contentsline {section}{\numberline {11.6}Reading the electrical parameters from Xcos}{152}{section.11.6}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.11}{\ignorespaces Single phase voltage output in energy meter\relax }}{153}{figure.caption.144}\protected@file@percent } -\newlabel{fig:voltage-meter}{{11.11}{153}{Single phase voltage output in energy meter\relax }{figure.caption.144}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.12}{\ignorespaces Single phase active power output on Scilab Console\relax }}{153}{figure.caption.145}\protected@file@percent } -\newlabel{fig:power-console}{{11.12}{153}{Single phase active power output on Scilab Console\relax }{figure.caption.145}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.13}{\ignorespaces Single phase active power output in energy meter\relax }}{154}{figure.caption.146}\protected@file@percent } -\newlabel{fig:power-meter}{{11.13}{154}{Single phase active power output in energy meter\relax }{figure.caption.146}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read energy meter values}}{154}{figure.caption.147}\protected@file@percent } -\newlabel{103@xvr}{{}{154}} -\newlabel{103@vr}{{}{154}} -\newlabel{fig:mod-read}{{11.14}{154}{Xcos diagram to read energy meter values}{figure.caption.147}{}} -\@writefile{lot}{\contentsline {table}{\numberline {11.7}{\ignorespaces Xcos parameters to read energy meter values\relax }}{155}{table.caption.148}\protected@file@percent } -\newlabel{tab:mod-xcos-read}{{11.7}{155}{Xcos parameters to read energy meter values\relax }{table.caption.148}{}} -\@writefile{toc}{\contentsline {chapter}{\numberline {A}Procuring the Hardware}{157}{appendix.A}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{243}{codemass.11.1}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{243}{codemass.11.1}\protected@file@percent } +\newlabel{140@xvr}{{}{243}} +\newlabel{140@vr}{{}{243}} +\newlabel{sci:val-modbus}{{11.{1}}{243}{Scilab Code}{codemass.11.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read\textunderscore val.sce}{243}{lstlisting.11.-246}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{243}{codemass.11.2}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for single phase current output}{243}{codemass.11.2}\protected@file@percent } +\newlabel{141@xvr}{{}{243}} +\newlabel{141@vr}{{}{243}} +\newlabel{sci:current-modbus}{{11.{2}}{243}{Scilab Code}{codemass.11.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read\textunderscore current.sci}{243}{lstlisting.11.-247}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{244}{codemass.11.3}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for single phase voltage output}{244}{codemass.11.3}\protected@file@percent } +\newlabel{142@xvr}{{}{244}} +\newlabel{142@vr}{{}{244}} +\newlabel{sci:voltage-modbus}{{11.{3}}{244}{Scilab Code}{codemass.11.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read\textunderscore voltage.sci}{244}{lstlisting.11.-248}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{244}{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}{244}{codemass.11.4}\protected@file@percent } +\newlabel{143@xvr}{{}{244}} +\newlabel{143@vr}{{}{244}} +\newlabel{sci:modbus-power}{{11.{4}}{244}{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}{244}{lstlisting.11.-249}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note: }{244}{section*.173}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.8}{\ignorespaces Single phase current output on Scilab Console\relax }}{245}{figure.caption.174}\protected@file@percent } +\newlabel{fig:current-console}{{11.8}{245}{Single phase current output on Scilab Console\relax }{figure.caption.174}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {11.5.3}Output in the Scilab Console}{245}{subsection.11.5.3}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.9}{\ignorespaces Single phase current output in energy meter\relax }}{246}{figure.caption.175}\protected@file@percent } +\newlabel{fig:current-meter}{{11.9}{246}{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 }}{246}{figure.caption.176}\protected@file@percent } +\newlabel{fig:voltage-console}{{11.10}{246}{Single phase voltage output on Scilab Console\relax }{figure.caption.176}{}} +\@writefile{toc}{\contentsline {section}{\numberline {11.6}Reading the electrical parameters from Xcos}{246}{section.11.6}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.11}{\ignorespaces Single phase voltage output in energy meter\relax }}{247}{figure.caption.177}\protected@file@percent } +\newlabel{fig:voltage-meter}{{11.11}{247}{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 }}{247}{figure.caption.178}\protected@file@percent } +\newlabel{fig:power-console}{{11.12}{247}{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 }}{248}{figure.caption.179}\protected@file@percent } +\newlabel{fig:power-meter}{{11.13}{248}{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}}{248}{figure.caption.180}\protected@file@percent } +\newlabel{145@xvr}{{}{248}} +\newlabel{145@vr}{{}{248}} +\newlabel{fig:mod-read}{{11.14}{248}{Xcos diagram to read energy meter values}{figure.caption.180}{}} +\@writefile{lot}{\contentsline {table}{\numberline {11.7}{\ignorespaces Xcos parameters to read energy meter values\relax }}{249}{table.caption.181}\protected@file@percent } +\newlabel{tab:mod-xcos-read}{{11.7}{249}{Xcos parameters to read energy meter values\relax }{table.caption.181}{}} +\@writefile{toc}{\contentsline {section}{\numberline {11.7}Manifestation of Modbus protocol through Python}{249}{section.11.7}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note: }{249}{section*.182}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.8}Reading the electrical parameters from Python}{250}{section.11.8}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.8.1}Reading the electrical parameters}{250}{subsection.11.8.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.8.2}Python Code}{250}{subsection.11.8.2}\protected@file@percent } +\newlabel{sec:modbus-python-code}{{11.8.2}{250}{Python Code}{subsection.11.8.2}{}} +\@writefile{pyd}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{1}}{}}{250}{pymass.11.1}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{250}{pymass.11.1}\protected@file@percent } +\newlabel{146@xvr}{{}{250}} +\newlabel{146@vr}{{}{250}} +\newlabel{py:current-modbus}{{11.{1}}{250}{Python Code}{pymass.11.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/python/read\textunderscore current.py}{250}{lstlisting.11.-250}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{2}}{}}{250}{pymass.11.2}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{250}{pymass.11.2}\protected@file@percent } +\newlabel{147@xvr}{{}{250}} +\newlabel{147@vr}{{}{250}} +\newlabel{py:voltage-modbus}{{11.{2}}{250}{Python Code}{pymass.11.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/python/read\textunderscore voltage.py}{250}{lstlisting.11.-251}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{3}}{}}{250}{pymass.11.3}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{250}{pymass.11.3}\protected@file@percent } +\newlabel{148@xvr}{{}{250}} +\newlabel{148@vr}{{}{250}} +\newlabel{py:modbus-power}{{11.{3}}{250}{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}{250}{lstlisting.11.-252}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.9}Manifestation of Modbus protocol through Julia}{251}{section.11.9}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note: }{251}{section*.183}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.10}Reading the electrical parameters from Julia}{251}{section.11.10}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.10.1}Reading the electrical parameters}{251}{subsection.11.10.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.10.2}Julia Code}{252}{subsection.11.10.2}\protected@file@percent } +\newlabel{sec:modbus-julia-code}{{11.10.2}{252}{Julia Code}{subsection.11.10.2}{}} +\@writefile{juliad}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{252}{juliamass.11.1}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{252}{juliamass.11.1}\protected@file@percent } +\newlabel{149@xvr}{{}{252}} +\newlabel{149@vr}{{}{252}} +\newlabel{julia:current-modbus}{{11.{1}}{252}{Julia Code}{juliamass.11.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readCurrent.jl}{252}{lstlisting.11.-253}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{252}{juliamass.11.2}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{252}{juliamass.11.2}\protected@file@percent } +\newlabel{150@xvr}{{}{252}} +\newlabel{150@vr}{{}{252}} +\newlabel{julia:voltage-modbus}{{11.{2}}{252}{Julia Code}{juliamass.11.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readVoltage.jl}{252}{lstlisting.11.-254}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{252}{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}{252}{juliamass.11.3}\protected@file@percent } +\newlabel{151@xvr}{{}{252}} +\newlabel{151@vr}{{}{252}} +\newlabel{julia:modbus-power}{{11.{3}}{252}{Julia Code}{juliamass.11.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readPower.jl}{252}{lstlisting.11.-255}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.11}Manifestation of Modbus protocol through OpenModelica}{253}{section.11.11}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note: }{253}{section*.184}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.12}Reading the electrical parameters from OpenModelica}{254}{section.11.12}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.12.1}Reading the electrical parameters}{254}{subsection.11.12.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.12.2}OpenModelica Code}{254}{subsection.11.12.2}\protected@file@percent } +\newlabel{sec:modbus-OpenModelica-code}{{11.12.2}{254}{OpenModelica Code}{subsection.11.12.2}{}} +\@writefile{OpenModelicad}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{254}{OpenModelicamass.11.1}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{254}{OpenModelicamass.11.1}\protected@file@percent } +\newlabel{152@xvr}{{}{254}} +\newlabel{152@vr}{{}{254}} +\newlabel{OpenModelica:current-modbus}{{11.{1}}{254}{OpenModelica Code}{OpenModelicamass.11.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/OpenModelica/readCurrent.mo}{254}{lstlisting.11.-256}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{254}{OpenModelicamass.11.2}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{254}{OpenModelicamass.11.2}\protected@file@percent } +\newlabel{153@xvr}{{}{254}} +\newlabel{153@vr}{{}{254}} +\newlabel{OpenModelica:voltage-modbus}{{11.{2}}{254}{OpenModelica Code}{OpenModelicamass.11.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/OpenModelica/readVoltage.mo}{254}{lstlisting.11.-257}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{255}{OpenModelicamass.11.3}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{255}{OpenModelicamass.11.3}\protected@file@percent } +\newlabel{154@xvr}{{}{255}} +\newlabel{154@vr}{{}{255}} +\newlabel{OpenModelica:modbus-power}{{11.{3}}{255}{OpenModelica Code}{OpenModelicamass.11.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/OpenModelica/readPower.mo}{255}{lstlisting.11.-258}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {A}Procuring the Hardware}{257}{appendix.A}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{shield-appendix}{{A}{157}{Procuring the Hardware}{appendix.A}{}} -\@writefile{lot}{\contentsline {table}{\numberline {A.1}{\ignorespaces Approximate cost of the components\relax }}{157}{table.caption.149}\protected@file@percent } -\newlabel{tab:cost}{{A.1}{157}{Approximate cost of the components\relax }{table.caption.149}{}} +\newlabel{shield-appendix}{{A}{257}{Procuring the Hardware}{appendix.A}{}} +\@writefile{lot}{\contentsline {table}{\numberline {A.1}{\ignorespaces Approximate cost of the components\relax }}{257}{table.caption.185}\protected@file@percent } +\newlabel{tab:cost}{{A.1}{257}{Approximate cost of the components\relax }{table.caption.185}{}} \citation{amazon-shield} \citation{flipkart-shield} \bibdata{bibliography.bib} @@ -984,7 +1673,7 @@ \bibcite{scilab-ref}{12} \bibcite{scilab-interop}{13} \bibcite{xcos-ref}{14} -\@writefile{toc}{\contentsline {chapter}{\numberline {References}}{159}{appendix*.150}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {References}}{259}{appendix*.186}\protected@file@percent } \bibcite{python-ref}{15} \bibcite{pySerial}{16} \bibcite{julia-ref}{17} @@ -1000,4 +1689,4 @@ \bibcite{ieee-754-conv}{27} \bibcite{amazon-shield}{28} \bibcite{flipkart-shield}{29} -\gdef \@abspage@last{181} +\gdef \@abspage@last{291} diff --git a/floss-arduino.cod b/floss-arduino.cod index fe22e18..10a374b 100644 --- a/floss-arduino.cod +++ b/floss-arduino.cod @@ -1,32 +1,34 @@ \addvspace {10pt} \contentsline {section}{\numberline {3.{1}}A Scilab code to check whether the firmware is properly installed or not}{36}{codemass.3.1}% \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{53}{codemass.4.1}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{54}{codemass.4.2}% -\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{54}{codemass.4.3}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{54}{codemass.4.4}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and display it on the GUI}{65}{codemass.5.1}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{66}{codemass.5.2}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{76}{codemass.6.1}% -\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{76}{codemass.6.2}% +\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{77}{codemass.4.1}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{78}{codemass.4.2}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{78}{codemass.4.3}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{78}{codemass.4.4}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{86}{codemass.7.1}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and display it on the GUI}{103}{codemass.5.1}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{104}{codemass.5.2}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{98}{codemass.8.1}% -\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{98}{codemass.8.2}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{124}{codemass.6.1}% +\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{124}{codemass.6.2}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{113}{codemass.9.1}% -\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{114}{codemass.9.2}% -\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{114}{codemass.9.3}% -\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{114}{codemass.9.4}% +\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{142}{codemass.7.1}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{130}{codemass.10.1}% -\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{130}{codemass.10.2}% -\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{131}{codemass.10.3}% +\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{160}{codemass.8.1}% +\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{160}{codemass.8.2}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{149}{codemass.11.1}% -\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for single phase current output}{149}{codemass.11.2}% -\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for single phase voltage output}{150}{codemass.11.3}% -\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for single phase active power output}{150}{codemass.11.4}% +\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{183}{codemass.9.1}% +\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{184}{codemass.9.2}% +\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{184}{codemass.9.3}% +\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{184}{codemass.9.4}% +\addvspace {10pt} +\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{212}{codemass.10.1}% +\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{212}{codemass.10.2}% +\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{213}{codemass.10.3}% +\addvspace {10pt} +\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{243}{codemass.11.1}% +\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for single phase current output}{243}{codemass.11.2}% +\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for single phase voltage output}{244}{codemass.11.3}% +\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for single phase active power output}{244}{codemass.11.4}% diff --git a/floss-arduino.idx b/floss-arduino.idx index cb69bed..92a94ab 100644 --- a/floss-arduino.idx +++ b/floss-arduino.idx @@ -1,5 +1,5 @@ -\indexentry{H-Bridge circuit DC motor|hyperpage}{121} -\indexentry{H-Bridge|hyperpage}{121} -\indexentry{L293D,L298|hyperpage}{121} -\indexentry{PCB breakout board|hyperpage}{121} -\indexentry{pulse width modulation, PWM|hyperpage}{121} +\indexentry{H-Bridge circuit DC motor|hyperpage}{203} +\indexentry{H-Bridge|hyperpage}{203} +\indexentry{L293D,L298|hyperpage}{203} +\indexentry{PCB breakout board|hyperpage}{203} +\indexentry{pulse width modulation, PWM|hyperpage}{203} diff --git a/floss-arduino.lof b/floss-arduino.lof index 4f8058e..deb3be0 100644 --- a/floss-arduino.lof +++ b/floss-arduino.lof @@ -1,117 +1,138 @@ \addvspace {10\p@ } \addvspace {10\p@ } -\contentsline {figure}{\numberline {2.1}{\ignorespaces Functional block diagram of a microcontroller\relax }}{4}{figure.caption.8}% -\contentsline {figure}{\numberline {2.2}{\ignorespaces ADC resolution\relax }}{6}{figure.caption.9}% -\contentsline {figure}{\numberline {2.3}{\ignorespaces The logo of Open Source Hardware\relax }}{7}{figure.caption.10}% -\contentsline {figure}{\numberline {2.4}{\ignorespaces Arduino Uno Board\relax }}{9}{figure.caption.11}% -\contentsline {figure}{\numberline {2.5}{\ignorespaces Arduino Mega Board\relax }}{10}{figure.caption.13}% -\contentsline {figure}{\numberline {2.6}{\ignorespaces LilyPad Arduino Board\relax }}{11}{figure.caption.14}% -\contentsline {figure}{\numberline {2.7}{\ignorespaces Arduino Phone\relax }}{11}{figure.caption.16}% -\contentsline {figure}{\numberline {2.8}{\ignorespaces 3D printer\relax }}{12}{figure.caption.19}% -\contentsline {figure}{\numberline {2.9}{\ignorespaces PCB image of the shield}}{13}{figure.caption.20}% -\contentsline {figure}{\numberline {2.10}{\ignorespaces Pictorial representation of the schematic of the shield\relax }}{14}{figure.caption.21}% -\contentsline {figure}{\numberline {2.11}{\ignorespaces PCB of the shield\relax }}{15}{figure.caption.22}% -\contentsline {figure}{\numberline {2.12}{\ignorespaces Picture of the shield with all components\relax }}{16}{figure.caption.25}% +\contentsline {figure}{\numberline {2.1}{\ignorespaces Functional block diagram of a microcontroller\relax }}{4}{figure.caption.11}% +\contentsline {figure}{\numberline {2.2}{\ignorespaces ADC resolution\relax }}{6}{figure.caption.12}% +\contentsline {figure}{\numberline {2.3}{\ignorespaces The logo of Open Source Hardware\relax }}{7}{figure.caption.13}% +\contentsline {figure}{\numberline {2.4}{\ignorespaces Arduino Uno Board\relax }}{9}{figure.caption.14}% +\contentsline {figure}{\numberline {2.5}{\ignorespaces Arduino Mega Board\relax }}{10}{figure.caption.16}% +\contentsline {figure}{\numberline {2.6}{\ignorespaces LilyPad Arduino Board\relax }}{11}{figure.caption.17}% +\contentsline {figure}{\numberline {2.7}{\ignorespaces Arduino Phone\relax }}{11}{figure.caption.19}% +\contentsline {figure}{\numberline {2.8}{\ignorespaces 3D printer\relax }}{12}{figure.caption.22}% +\contentsline {figure}{\numberline {2.9}{\ignorespaces PCB image of the shield}}{13}{figure.caption.23}% +\contentsline {figure}{\numberline {2.10}{\ignorespaces Pictorial representation of the schematic of the shield\relax }}{14}{figure.caption.24}% +\contentsline {figure}{\numberline {2.11}{\ignorespaces PCB of the shield\relax }}{15}{figure.caption.25}% +\contentsline {figure}{\numberline {2.12}{\ignorespaces Picture of the shield with all components\relax }}{16}{figure.caption.28}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {3.1}{\ignorespaces Windows device manager\relax }}{21}{figure.caption.27}% -\contentsline {figure}{\numberline {3.2}{\ignorespaces Windows device manager\relax }}{22}{figure.caption.28}% -\contentsline {figure}{\numberline {3.3}{\ignorespaces Windows update driver option\relax }}{23}{figure.caption.29}% -\contentsline {figure}{\numberline {3.4}{\ignorespaces Linux terminal to launch Arduino IDE\relax }}{24}{figure.caption.30}% -\contentsline {figure}{\numberline {3.5}{\ignorespaces Arduino IDE\relax }}{24}{figure.caption.31}% -\contentsline {figure}{\numberline {3.6}{\ignorespaces Linux terminal to launch Scilab\relax }}{29}{figure.caption.32}% -\contentsline {figure}{\numberline {3.7}{\ignorespaces Browsing toolbox directory\relax }}{30}{figure.caption.33}% -\contentsline {figure}{\numberline {3.8}{\ignorespaces Output of builder.sce\relax }}{31}{figure.caption.34}% -\contentsline {figure}{\numberline {3.9}{\ignorespaces Output of loader.sce\relax }}{32}{figure.caption.35}% -\contentsline {figure}{\numberline {3.10}{\ignorespaces Device Manager in windows\relax }}{33}{figure.caption.36}% -\contentsline {figure}{\numberline {3.11}{\ignorespaces COM port properties window\relax }}{34}{figure.caption.37}% -\contentsline {figure}{\numberline {3.12}{\ignorespaces Port number on Linux terminal\relax }}{34}{figure.caption.38}% -\contentsline {figure}{\numberline {3.13}{\ignorespaces Scilab test code output\relax }}{36}{figure.caption.39}% -\contentsline {figure}{\numberline {3.14}{\ignorespaces Arduino toolbox functions used in this book\relax }}{36}{figure.caption.40}% -\contentsline {figure}{\numberline {3.15}{\ignorespaces Sine generator in palette browser\relax }}{38}{figure.caption.41}% -\contentsline {figure}{\numberline {3.16}{\ignorespaces CSCOPE block in xcos\relax }}{39}{figure.caption.42}% -\contentsline {figure}{\numberline {3.17}{\ignorespaces CLOCK\_c block in xcos\relax }}{39}{figure.caption.43}% -\contentsline {figure}{\numberline {3.18}{\ignorespaces Sine generator in Xcos\relax }}{40}{figure.caption.44}% -\contentsline {figure}{\numberline {3.19}{\ignorespaces Sine generator Xcos output\relax }}{40}{figure.caption.45}% -\contentsline {figure}{\numberline {3.20}{\ignorespaces CSCOPE configuration window\relax }}{41}{figure.caption.46}% -\contentsline {figure}{\numberline {3.21}{\ignorespaces Simulation setup window\relax }}{42}{figure.caption.47}% -\contentsline {figure}{\numberline {3.22}{\ignorespaces Palette browser showing Arduino blocks\relax }}{42}{figure.caption.48}% -\contentsline {figure}{\numberline {3.23}{\ignorespaces Xcos block help\relax }}{43}{figure.caption.49}% +\contentsline {figure}{\numberline {3.1}{\ignorespaces Windows device manager\relax }}{21}{figure.caption.30}% +\contentsline {figure}{\numberline {3.2}{\ignorespaces Windows device manager\relax }}{22}{figure.caption.31}% +\contentsline {figure}{\numberline {3.3}{\ignorespaces Windows update driver option\relax }}{23}{figure.caption.32}% +\contentsline {figure}{\numberline {3.4}{\ignorespaces Linux terminal to launch Arduino IDE\relax }}{24}{figure.caption.33}% +\contentsline {figure}{\numberline {3.5}{\ignorespaces Arduino IDE\relax }}{24}{figure.caption.34}% +\contentsline {figure}{\numberline {3.6}{\ignorespaces Linux terminal to launch Scilab\relax }}{29}{figure.caption.35}% +\contentsline {figure}{\numberline {3.7}{\ignorespaces Browsing toolbox directory\relax }}{30}{figure.caption.36}% +\contentsline {figure}{\numberline {3.8}{\ignorespaces Output of builder.sce\relax }}{31}{figure.caption.37}% +\contentsline {figure}{\numberline {3.9}{\ignorespaces Output of loader.sce\relax }}{32}{figure.caption.38}% +\contentsline {figure}{\numberline {3.10}{\ignorespaces Device Manager in windows\relax }}{33}{figure.caption.39}% +\contentsline {figure}{\numberline {3.11}{\ignorespaces COM port properties window\relax }}{34}{figure.caption.40}% +\contentsline {figure}{\numberline {3.12}{\ignorespaces Port number on Linux terminal\relax }}{34}{figure.caption.41}% +\contentsline {figure}{\numberline {3.13}{\ignorespaces Scilab test code output\relax }}{36}{figure.caption.42}% +\contentsline {figure}{\numberline {3.14}{\ignorespaces Arduino toolbox functions used in this book\relax }}{36}{figure.caption.43}% +\contentsline {figure}{\numberline {3.15}{\ignorespaces Sine generator in palette browser\relax }}{38}{figure.caption.44}% +\contentsline {figure}{\numberline {3.16}{\ignorespaces CSCOPE block in xcos\relax }}{39}{figure.caption.45}% +\contentsline {figure}{\numberline {3.17}{\ignorespaces CLOCK\_c block in xcos\relax }}{39}{figure.caption.46}% +\contentsline {figure}{\numberline {3.18}{\ignorespaces Sine generator in Xcos\relax }}{40}{figure.caption.47}% +\contentsline {figure}{\numberline {3.19}{\ignorespaces Sine generator Xcos output\relax }}{40}{figure.caption.48}% +\contentsline {figure}{\numberline {3.20}{\ignorespaces CSCOPE configuration window\relax }}{41}{figure.caption.49}% +\contentsline {figure}{\numberline {3.21}{\ignorespaces Simulation setup window\relax }}{42}{figure.caption.50}% +\contentsline {figure}{\numberline {3.22}{\ignorespaces Palette browser showing Arduino blocks\relax }}{42}{figure.caption.51}% +\contentsline {figure}{\numberline {3.23}{\ignorespaces Xcos block help\relax }}{43}{figure.caption.52}% +\contentsline {figure}{\numberline {3.24}{\ignorespaces Installing Python 3 on Windows\relax }}{44}{figure.caption.53}% +\contentsline {figure}{\numberline {3.25}{\ignorespaces Launching the Command Prompt on Windows\relax }}{45}{figure.caption.54}% +\contentsline {figure}{\numberline {3.26}{\ignorespaces Command Prompt on Windows\relax }}{45}{figure.caption.55}% +\contentsline {figure}{\numberline {3.27}{\ignorespaces Julia's website to download 64-bit Windows/Linux binaries\relax }}{49}{figure.caption.56}% +\contentsline {figure}{\numberline {3.28}{\ignorespaces Installing Julia 1.6.0 on Windows\relax }}{50}{figure.caption.57}% +\contentsline {figure}{\numberline {3.29}{\ignorespaces Launching the Command Prompt on Windows\relax }}{50}{figure.caption.58}% +\contentsline {figure}{\numberline {3.30}{\ignorespaces Command Prompt on Windows\relax }}{51}{figure.caption.59}% +\contentsline {figure}{\numberline {3.31}{\ignorespaces Windows command prompt to launch Julia REPL\relax }}{52}{figure.caption.60}% +\contentsline {figure}{\numberline {3.32}{\ignorespaces Windows command prompt to enter Pkg REPL in Julia\relax }}{53}{figure.caption.61}% +\contentsline {figure}{\numberline {3.33}{\ignorespaces Linux terminal to launch Julia REPL\relax }}{55}{figure.caption.62}% +\contentsline {figure}{\numberline {3.34}{\ignorespaces Linux terminal to enter Pkg REPL in Julia\relax }}{56}{figure.caption.63}% +\contentsline {figure}{\numberline {3.35}{\ignorespaces Allowing Microsoft Defender to run the executable file\relax }}{59}{figure.caption.64}% +\contentsline {figure}{\numberline {3.36}{\ignorespaces Setup of Modelica Standard Library version\relax }}{60}{figure.caption.65}% +\contentsline {figure}{\numberline {3.37}{\ignorespaces User Interface of OMEdit\relax }}{61}{figure.caption.66}% +\contentsline {figure}{\numberline {3.38}{\ignorespaces Opening a model in OMEdit\relax }}{62}{figure.caption.67}% +\contentsline {figure}{\numberline {3.39}{\ignorespaces Opening a model in diagram view in OMEdit\relax }}{63}{figure.caption.68}% +\contentsline {figure}{\numberline {3.40}{\ignorespaces Different views of a model in OMEdit\relax }}{63}{figure.caption.69}% +\contentsline {figure}{\numberline {3.41}{\ignorespaces Opening a model in text view in OMEdit\relax }}{64}{figure.caption.70}% +\contentsline {figure}{\numberline {3.42}{\ignorespaces Simulating a model in OMEdit\relax }}{65}{figure.caption.71}% +\contentsline {figure}{\numberline {3.43}{\ignorespaces Output window of OMEdit\relax }}{66}{figure.caption.72}% +\contentsline {figure}{\numberline {3.44}{\ignorespaces Examples provided in the OpenModelica-Arduino toolbox\relax }}{67}{figure.caption.73}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {4.1}{\ignorespaces Light Emitting Diode\relax }}{45}{figure.caption.50}% -\contentsline {figure}{\numberline {4.2}{\ignorespaces Internal connection diagram for the RGB LED on the shield\relax }}{46}{figure.caption.51}% -\contentsline {figure}{\numberline {4.3}{\ignorespaces Connecting Arduino Uno\ and shield\relax }}{46}{figure.caption.52}% -\contentsline {figure}{\numberline {4.4}{\ignorespaces An RGB LED with Arduino Uno\ using a breadboard\relax }}{47}{figure.caption.53}% -\contentsline {figure}{\numberline {4.5}{\ignorespaces LED experiments directly on Arduino Uno\ board, without the shield\relax }}{50}{figure.caption.55}% -\contentsline {figure}{\numberline {4.6}{\ignorespaces Turning the blue LED on through Xcos}}{55}{figure.caption.57}% -\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{56}{figure.caption.59}% -\contentsline {figure}{\numberline {4.8}{\ignorespaces Turning the blue and red LEDs on through Xcos and turning them off one by one}}{57}{figure.caption.61}% -\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{58}{figure.caption.63}% +\contentsline {figure}{\numberline {4.1}{\ignorespaces Light Emitting Diode\relax }}{69}{figure.caption.74}% +\contentsline {figure}{\numberline {4.2}{\ignorespaces Internal connection diagram for the RGB LED on the shield\relax }}{70}{figure.caption.75}% +\contentsline {figure}{\numberline {4.3}{\ignorespaces Connecting Arduino Uno\ and shield\relax }}{70}{figure.caption.76}% +\contentsline {figure}{\numberline {4.4}{\ignorespaces An RGB LED with Arduino Uno\ using a breadboard\relax }}{71}{figure.caption.77}% +\contentsline {figure}{\numberline {4.5}{\ignorespaces LED experiments directly on Arduino Uno\ board, without the shield\relax }}{74}{figure.caption.79}% +\contentsline {figure}{\numberline {4.6}{\ignorespaces Turning the blue LED on through Xcos}}{79}{figure.caption.81}% +\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{80}{figure.caption.83}% +\contentsline {figure}{\numberline {4.8}{\ignorespaces Turning the blue and red LEDs on through Xcos and turning them off one by one}}{81}{figure.caption.85}% +\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{82}{figure.caption.87}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {5.1}{\ignorespaces Internal connection diagram for the pushbutton on the shield\relax }}{60}{figure.caption.65}% -\contentsline {figure}{\numberline {5.2}{\ignorespaces A pushbutton to read its status with Arduino Uno using a breadboard\relax }}{60}{figure.caption.66}% -\contentsline {figure}{\numberline {5.3}{\ignorespaces A pushbutton to control an LED with Arduino Uno using a breadboard\relax }}{61}{figure.caption.67}% -\contentsline {figure}{\numberline {5.4}{\ignorespaces GUI in Scilab to show the status of the pushbutton\relax }}{65}{figure.caption.68}% -\contentsline {figure}{\numberline {5.5}{\ignorespaces Printing the push button status on the display block}}{67}{figure.caption.69}% -\contentsline {figure}{\numberline {5.6}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{68}{figure.caption.71}% +\contentsline {figure}{\numberline {5.1}{\ignorespaces Internal connection diagram for the pushbutton on the shield\relax }}{98}{figure.caption.89}% +\contentsline {figure}{\numberline {5.2}{\ignorespaces A pushbutton to read its status with Arduino Uno using a breadboard\relax }}{98}{figure.caption.90}% +\contentsline {figure}{\numberline {5.3}{\ignorespaces A pushbutton to control an LED with Arduino Uno using a breadboard\relax }}{99}{figure.caption.91}% +\contentsline {figure}{\numberline {5.4}{\ignorespaces GUI in Scilab to show the status of the pushbutton\relax }}{103}{figure.caption.92}% +\contentsline {figure}{\numberline {5.5}{\ignorespaces Printing the push button status on the display block}}{105}{figure.caption.93}% +\contentsline {figure}{\numberline {5.6}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{106}{figure.caption.95}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{70}{figure.caption.73}% -\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of an LDR}}}{70}{subfigure.1.1}% -\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of an LDR}}}{70}{subfigure.1.2}% -\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{70}{figure.caption.74}% -\contentsline {figure}{\numberline {6.3}{\ignorespaces An LDR to read its values with Arduino Uno\ using a breadboard\relax }}{71}{figure.caption.75}% -\contentsline {figure}{\numberline {6.4}{\ignorespaces An LDR to control an LED with Arduino Uno using a breadboard\relax }}{72}{figure.caption.76}% -\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read LDR values}}{77}{figure.caption.77}% -\contentsline {figure}{\numberline {6.6}{\ignorespaces Plot window in Xcos to read LDR values\relax }}{77}{figure.caption.78}% -\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}}{79}{figure.caption.80}% -\contentsline {figure}{\numberline {6.8}{\ignorespaces Plot window in Xcos to read LDR values and the state of LED\relax }}{79}{figure.caption.81}% +\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{118}{figure.caption.97}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of an LDR}}}{118}{subfigure.1.1}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of an LDR}}}{118}{subfigure.1.2}% +\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{118}{figure.caption.98}% +\contentsline {figure}{\numberline {6.3}{\ignorespaces An LDR to read its values with Arduino Uno\ using a breadboard\relax }}{119}{figure.caption.99}% +\contentsline {figure}{\numberline {6.4}{\ignorespaces An LDR to control an LED with Arduino Uno using a breadboard\relax }}{120}{figure.caption.100}% +\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read LDR values}}{125}{figure.caption.101}% +\contentsline {figure}{\numberline {6.6}{\ignorespaces Plot window in Xcos to read LDR values\relax }}{125}{figure.caption.102}% +\contentsline {figure}{\numberline {6.7}{\ignorespaces Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}}{127}{figure.caption.104}% +\contentsline {figure}{\numberline {6.8}{\ignorespaces Plot window in Xcos to read LDR values and the state of LED\relax }}{127}{figure.caption.105}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {7.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{82}{figure.caption.83}% -\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{82}{subfigure.1.1}% -\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Internal connection diagram for the potentiometer on the shield}}}{82}{subfigure.1.2}% -\contentsline {figure}{\numberline {7.2}{\ignorespaces A potentiometer to control an LED with Arduino Uno using a breadboard\relax }}{83}{figure.caption.84}% -\contentsline {figure}{\numberline {7.3}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{87}{figure.caption.85}% +\contentsline {figure}{\numberline {7.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{138}{figure.caption.107}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{138}{subfigure.1.1}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Internal connection diagram for the potentiometer on the shield}}}{138}{subfigure.1.2}% +\contentsline {figure}{\numberline {7.2}{\ignorespaces A potentiometer to control an LED with Arduino Uno using a breadboard\relax }}{139}{figure.caption.108}% +\contentsline {figure}{\numberline {7.3}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{143}{figure.caption.109}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {8.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{90}{figure.caption.87}% -\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{90}{subfigure.1.1}% -\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{90}{subfigure.1.2}% -\contentsline {figure}{\numberline {8.2}{\ignorespaces Internal connection diagrams for thermistor and buzzer on the shield\relax }}{90}{figure.caption.88}% -\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Thermistor connection diagram}}}{90}{subfigure.2.1}% -\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Buzzer connection diagram}}}{90}{subfigure.2.2}% -\contentsline {figure}{\numberline {8.3}{\ignorespaces A thermistor to read its values with Arduino Uno using a breadboard\relax }}{91}{figure.caption.89}% -\contentsline {figure}{\numberline {8.4}{\ignorespaces A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }}{92}{figure.caption.90}% -\contentsline {figure}{\numberline {8.5}{\ignorespaces Xcos diagram to read thermistor values}}{100}{figure.caption.93}% -\contentsline {figure}{\numberline {8.6}{\ignorespaces Plot window in Xcos to read thermistor values\relax }}{101}{figure.caption.95}% -\contentsline {figure}{\numberline {8.7}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on}}{101}{figure.caption.96}% -\contentsline {figure}{\numberline {8.8}{\ignorespaces Plot window in Xcos to read thermistor values and the state of LED\relax }}{103}{figure.caption.98}% +\contentsline {figure}{\numberline {8.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{152}{figure.caption.111}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{152}{subfigure.1.1}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{152}{subfigure.1.2}% +\contentsline {figure}{\numberline {8.2}{\ignorespaces Internal connection diagrams for thermistor and buzzer on the shield\relax }}{152}{figure.caption.112}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Thermistor connection diagram}}}{152}{subfigure.2.1}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Buzzer connection diagram}}}{152}{subfigure.2.2}% +\contentsline {figure}{\numberline {8.3}{\ignorespaces A thermistor to read its values with Arduino Uno using a breadboard\relax }}{153}{figure.caption.113}% +\contentsline {figure}{\numberline {8.4}{\ignorespaces A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }}{154}{figure.caption.114}% +\contentsline {figure}{\numberline {8.5}{\ignorespaces Xcos diagram to read thermistor values}}{162}{figure.caption.117}% +\contentsline {figure}{\numberline {8.6}{\ignorespaces Plot window in Xcos to read thermistor values\relax }}{163}{figure.caption.119}% +\contentsline {figure}{\numberline {8.7}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on}}{163}{figure.caption.120}% +\contentsline {figure}{\numberline {8.8}{\ignorespaces Plot window in Xcos to read thermistor values and the state of LED\relax }}{165}{figure.caption.122}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {9.1}{\ignorespaces Connecting servomotor to the shield attached on Arduino Uno\relax }}{106}{figure.caption.100}% -\contentsline {figure}{\numberline {9.2}{\ignorespaces A servomotor with Arduino Uno\ using a breadboard\relax }}{107}{figure.caption.102}% -\contentsline {figure}{\numberline {9.3}{\ignorespaces A servomotor and a potentiometer with Arduino Uno\ using a breadboard\relax }}{108}{figure.caption.103}% -\contentsline {figure}{\numberline {9.4}{\ignorespaces Rotating the servomotor by a fixed angle}}{115}{figure.caption.104}% -\contentsline {figure}{\numberline {9.5}{\ignorespaces Rotating the servomotor forward and then reverse}}{116}{figure.caption.106}% -\contentsline {figure}{\numberline {9.6}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{117}{figure.caption.108}% -\contentsline {figure}{\numberline {9.7}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{118}{figure.caption.110}% +\contentsline {figure}{\numberline {9.1}{\ignorespaces Connecting servomotor to the shield attached on Arduino Uno\relax }}{176}{figure.caption.127}% +\contentsline {figure}{\numberline {9.2}{\ignorespaces A servomotor with Arduino Uno\ using a breadboard\relax }}{177}{figure.caption.129}% +\contentsline {figure}{\numberline {9.3}{\ignorespaces A servomotor and a potentiometer with Arduino Uno\ using a breadboard\relax }}{178}{figure.caption.130}% +\contentsline {figure}{\numberline {9.4}{\ignorespaces Rotating the servomotor by a fixed angle}}{185}{figure.caption.131}% +\contentsline {figure}{\numberline {9.5}{\ignorespaces Rotating the servomotor forward and then reverse}}{186}{figure.caption.133}% +\contentsline {figure}{\numberline {9.6}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{187}{figure.caption.135}% +\contentsline {figure}{\numberline {9.7}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{188}{figure.caption.137}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {10.1}{\ignorespaces L293D motor driver board\relax }}{122}{figure.caption.112}% -\contentsline {figure}{\numberline {10.2}{\ignorespaces PWM pins on an Arduino Uno\ board\relax }}{123}{figure.caption.114}% -\contentsline {figure}{\numberline {10.3}{\ignorespaces A schematic of DC motor connections\relax }}{124}{figure.caption.115}% -\contentsline {figure}{\numberline {10.4}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{124}{figure.caption.116}% -\contentsline {figure}{\numberline {10.5}{\ignorespaces Control of DC motor for a specified time from Xcos}}{132}{figure.caption.120}% -\contentsline {figure}{\numberline {10.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{133}{figure.caption.122}% -\contentsline {figure}{\numberline {10.7}{\ignorespaces Xcos control of the DC motor in both directions in a loop}}{134}{figure.caption.124}% +\contentsline {figure}{\numberline {10.1}{\ignorespaces L293D motor driver board\relax }}{204}{figure.caption.139}% +\contentsline {figure}{\numberline {10.2}{\ignorespaces PWM pins on an Arduino Uno\ board\relax }}{205}{figure.caption.141}% +\contentsline {figure}{\numberline {10.3}{\ignorespaces A schematic of DC motor connections\relax }}{206}{figure.caption.142}% +\contentsline {figure}{\numberline {10.4}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{206}{figure.caption.143}% +\contentsline {figure}{\numberline {10.5}{\ignorespaces Control of DC motor for a specified time from Xcos}}{214}{figure.caption.147}% +\contentsline {figure}{\numberline {10.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{215}{figure.caption.149}% +\contentsline {figure}{\numberline {10.7}{\ignorespaces Xcos control of the DC motor in both directions in a loop}}{216}{figure.caption.151}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{138}{figure.caption.126}% -\contentsline {figure}{\numberline {11.2}{\ignorespaces Cycle of query-response between master and slave\relax }}{138}{figure.caption.127}% -\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{139}{figure.caption.129}% -\contentsline {figure}{\numberline {11.4}{\ignorespaces Block diagram for reading the parameters in energy meter\relax }}{144}{figure.caption.136}% -\contentsline {figure}{\numberline {11.5}{\ignorespaces Experimental set up for reading energy meter\relax }}{145}{figure.caption.137}% -\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{146}{figure.caption.138}% -\contentsline {figure}{\numberline {11.7}{\ignorespaces Flowchart of the steps happening in the FLOSS code\relax }}{148}{figure.caption.139}% -\contentsline {figure}{\numberline {11.8}{\ignorespaces Single phase current output on Scilab Console\relax }}{151}{figure.caption.141}% -\contentsline {figure}{\numberline {11.9}{\ignorespaces Single phase current output in energy meter\relax }}{152}{figure.caption.142}% -\contentsline {figure}{\numberline {11.10}{\ignorespaces Single phase voltage output on Scilab Console\relax }}{152}{figure.caption.143}% -\contentsline {figure}{\numberline {11.11}{\ignorespaces Single phase voltage output in energy meter\relax }}{153}{figure.caption.144}% -\contentsline {figure}{\numberline {11.12}{\ignorespaces Single phase active power output on Scilab Console\relax }}{153}{figure.caption.145}% -\contentsline {figure}{\numberline {11.13}{\ignorespaces Single phase active power output in energy meter\relax }}{154}{figure.caption.146}% -\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read energy meter values}}{154}{figure.caption.147}% +\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{232}{figure.caption.159}% +\contentsline {figure}{\numberline {11.2}{\ignorespaces Cycle of query-response between master and slave\relax }}{232}{figure.caption.160}% +\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{233}{figure.caption.162}% +\contentsline {figure}{\numberline {11.4}{\ignorespaces Block diagram for reading the parameters in energy meter\relax }}{238}{figure.caption.169}% +\contentsline {figure}{\numberline {11.5}{\ignorespaces Experimental set up for reading energy meter\relax }}{239}{figure.caption.170}% +\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{240}{figure.caption.171}% +\contentsline {figure}{\numberline {11.7}{\ignorespaces Flowchart of the steps happening in the FLOSS code\relax }}{242}{figure.caption.172}% +\contentsline {figure}{\numberline {11.8}{\ignorespaces Single phase current output on Scilab Console\relax }}{245}{figure.caption.174}% +\contentsline {figure}{\numberline {11.9}{\ignorespaces Single phase current output in energy meter\relax }}{246}{figure.caption.175}% +\contentsline {figure}{\numberline {11.10}{\ignorespaces Single phase voltage output on Scilab Console\relax }}{246}{figure.caption.176}% +\contentsline {figure}{\numberline {11.11}{\ignorespaces Single phase voltage output in energy meter\relax }}{247}{figure.caption.177}% +\contentsline {figure}{\numberline {11.12}{\ignorespaces Single phase active power output on Scilab Console\relax }}{247}{figure.caption.178}% +\contentsline {figure}{\numberline {11.13}{\ignorespaces Single phase active power output in energy meter\relax }}{248}{figure.caption.179}% +\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read energy meter values}}{248}{figure.caption.180}% \addvspace {10\p@ } diff --git a/floss-arduino.log b/floss-arduino.log index ecc3890..678ede1 100644 --- a/floss-arduino.log +++ b/floss-arduino.log @@ -1,4 +1,4 @@ -This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/Debian) (preloaded format=pdflatex 2023.6.1) 14 JUL 2023 22:43 +This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/Debian) (preloaded format=pdflatex 2023.6.1) 14 JUL 2023 23:45 entering extended mode restricted \write18 enabled. %&-line parsing enabled. @@ -602,21 +602,21 @@ Package caption Info: subfig package v1.3 is loaded. Package caption Info: listings package is loaded. Package caption Info: End \AtBeginDocument code. \c@lstlisting=\count356 - (./suppl/title-scilab.tex -<suppl/fossee_logo_hi.png, id=490, 753.2943pt x 277.9986pt> + (./suppl/title-all.tex +<suppl/fossee_logo_hi.png, id=868, 753.2943pt x 277.9986pt> File: suppl/fossee_logo_hi.png Graphic file (type png) <use suppl/fossee_logo_hi.png> -Package pdftex.def Info: suppl/fossee_logo_hi.png used on input line 12. +Package pdftex.def Info: suppl/fossee_logo_hi.png used on input line 13. (pdftex.def) Requested size: 119.2467pt x 44.00558pt. -<suppl/IITB-logo-HighRes.png, id=492, 716.91461pt x 687.03922pt> +<suppl/IITB-logo-HighRes.png, id=870, 716.91461pt x 687.03922pt> File: suppl/IITB-logo-HighRes.png Graphic file (type png) <use suppl/IITB-logo-HighRes.png> -Package pdftex.def Info: suppl/IITB-logo-HighRes.png used on input line 13. +Package pdftex.def Info: suppl/IITB-logo-HighRes.png used on input line 14. (pdftex.def) Requested size: 79.49577pt x 76.18257pt. -<suppl/by-nc-nd.png, id=493, 97.0827pt x 33.9669pt> +<suppl/by-nc-nd.png, id=871, 97.0827pt x 33.9669pt> File: suppl/by-nc-nd.png Graphic file (type png) <use suppl/by-nc-nd.png> -Package pdftex.def Info: suppl/by-nc-nd.png used on input line 16. +Package pdftex.def Info: suppl/by-nc-nd.png used on input line 17. (pdftex.def) Requested size: 59.62032pt x 20.85971pt. [1 @@ -657,15 +657,30 @@ Overfull \hbox (83.67537pt too wide) detected at line 5 [] -Overfull \hbox (74.6947pt too wide) detected at line 7 +Overfull \hbox (94.12968pt too wide) detected at line 6 +\T1/cmr/bx/n/10.95 List of Python Code + [] + + +Overfull \hbox (77.6248pt too wide) detected at line 7 +\T1/cmr/bx/n/10.95 List of Julia Code + [] + + +Overfull \hbox (130.26814pt too wide) detected at line 8 +\T1/cmr/bx/n/10.95 List of OpenModelica Code + [] + + +Overfull \hbox (74.6947pt too wide) detected at line 10 \T1/cmr/bx/n/10.95 List of Acronyms [] [3 -] [4] [5] -Overfull \hbox (42.2769pt too wide) detected at line 135 +] [4] [5] [6] [7] [8] +Overfull \hbox (42.2769pt too wide) detected at line 241 \T1/cmr/bx/n/10.95 References [] @@ -673,7 +688,9 @@ Overfull \hbox (42.2769pt too wide) detected at line 135 \tf@toc=\write6 \openout6 = `floss-arduino.toc'. - (./suppl/preface.tex [6] + (./suppl/preface.tex [9] [10 + +] Underfull \hbox (badness 5403) in paragraph at lines 16--17 []\T1/cmr/m/n/10.95 Microcontroller pro-gram-ming with Ar-duino and [] @@ -685,51 +702,69 @@ LaTeX Font Info: No file T1fvm.fd. on input line 39. LaTeX Font Warning: Font shape `T1/fvm/m/n' undefined (Font) using `T1/cmr/m/n' instead on input line 39. -[7 - -] +[11] Underfull \hbox (badness 10000) in paragraph at lines 52--57 [] -) [8] (./floss-arduino.lof [9 +) [12] (./floss-arduino.lof [13 -] -Overfull \hbox (4.98741pt too wide) in paragraph at lines 72--72 +] [14] +Overfull \hbox (4.98741pt too wide) in paragraph at lines 93--93 [][] [][]\T1/fvm/m/n/10.95 Turning LEDs on through Xcos de-pend-ing on the po- ten-tiome-ter thresh- [] -[10]) +[15]) \tf@lof=\write7 \openout7 = `floss-arduino.lof'. - [11] [12] (./floss-arduino.lot [13 + [16] (./floss-arduino.lot [17 ]) \tf@lot=\write8 \openout8 = `floss-arduino.lot'. - [14] (./floss-arduino.ard) + [18] (./floss-arduino.ard) \tf@ard=\write9 \openout9 = `floss-arduino.ard'. - [15 + [19 -] -[16 +] [20 -] (./floss-arduino.cod [17]) +] +(./floss-arduino.cod [21]) \tf@cod=\write10 \openout10 = `floss-arduino.cod'. - (./suppl/acr.tex [18]) + [22] (./floss-arduino.pyd [23 + +]) +\tf@pyd=\write11 +\openout11 = `floss-arduino.pyd'. + + [24] +(./floss-arduino.juliad) +\tf@juliad=\write12 +\openout12 = `floss-arduino.juliad'. + + [25 + +] [26] (./floss-arduino.OpenModelicad) +\tf@OpenModelicad=\write13 +\openout13 = `floss-arduino.OpenModelicad'. + + +(./suppl/acr.tex [27 + +] [28]) Underfull \vbox (badness 10000) has occurred while \output is active [] - [19 + [29 ] -[20] (./suppl/intro.tex +[30] (./suppl/intro.tex Chapter 1. Overfull \hbox (16.66084pt too wide) in paragraph at lines 33--39 @@ -746,7 +781,7 @@ Chapter 2. ] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/miccontblk. -png, id=1103, 419.6478pt x 413.3844pt> +png, id=1802, 419.6478pt x 413.3844pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/miccon tblk.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/miccont @@ -757,7 +792,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw [4 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/miccont blk.png>] [5] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/resolution. -png, id=1118, 207.77625pt x 330.23375pt> +png, id=1816, 207.77625pt x 330.23375pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/resolu tion.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/resolut @@ -768,7 +803,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw [6 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/resolut ion.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/OSHW-138px. -png, id=1132, 138.5175pt x 145.54375pt> +png, id=1830, 138.5175pt x 145.54375pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/OSHW-1 38px.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/OSHW-13 @@ -779,7 +814,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw [7 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/OSHW-13 8px.png>] [8] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino.png -, id=1161, 585.18625pt x 221.82875pt> +, id=1861, 585.18625pt x 221.82875pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduin o.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino @@ -793,7 +828,7 @@ Overfull \hbox (3.40561pt too wide) in paragraph at lines 261--281 [] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/mega.jpg, i -d=1164, 481.8pt x 316.7835pt> +d=1864, 481.8pt x 316.7835pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/mega.j pg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/mega.jp @@ -802,7 +837,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw -env/figures/mega.jpg used on input line 293. (pdftex.def) Requested size: 258.36281pt x 169.87627pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/lily.jpg, i -d=1167, 321.2pt x 321.2pt> +d=1867, 321.2pt x 321.2pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/lily.j pg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/lily.jp @@ -813,7 +848,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw [9 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino. png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino-pho -ne.jpg, id=1178, 230.15924pt x 153.5162pt> +ne.jpg, id=1877, 230.15924pt x 153.5162pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduin o-phone.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino @@ -824,7 +859,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw [10 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/mega.j pg>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino-3d- -printer.jpg, id=1188, 770.88pt x 364.36125pt> +printer.jpg, id=1887, 770.88pt x 364.36125pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduin o-3d-printer.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino @@ -836,7 +871,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw pg> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino -phone.jpg>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/pcb_board_V1p2.png, id= -1204, 608.2725pt x 534.99875pt> +1902, 608.2725pt x 534.99875pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/pcb_board_V1p2.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/pcb_board_V1p2.png> @@ -844,16 +879,16 @@ File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/pcb_board_V1p2.png Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield /pcb_board_V1p2.png used on input line 370. (pdftex.def) Requested size: 258.36281pt x 227.24492pt. -</home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.png, id=120 -6, 819.06pt x 599.23875pt> +</home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.png, id=190 +4, 819.06pt x 599.23875pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.png Gr aphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield /shield-V1p2.png used on input line 379. (pdftex.def) Requested size: 397.48499pt x 290.81331pt. -</home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.jpg, id=120 -8, 494.59781pt x 376.40625pt> +</home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.jpg, id=190 +6, 494.59781pt x 376.40625pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.jpg Gr aphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.jpg> @@ -861,7 +896,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield /shield-V1p2.jpg used on input line 388. (pdftex.def) Requested size: 238.49341pt x 181.5pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/shield-crop -.jpg, id=1214, 608.2725pt x 443.6575pt> +.jpg, id=1912, 608.2725pt x 443.6575pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/shield -crop.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/shield- @@ -881,7 +916,7 @@ crop.jpg>] [17] [18 Chapter 3. [19] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/hw-device-m -anager.jpg, id=1269, 793.96625pt x 579.16376pt> +anager.jpg, id=1968, 793.96625pt x 579.16376pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/hw-dev ice-manager.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/hw-devi @@ -890,7 +925,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw -env/figures/hw-device-manager.jpg used on input line 110. (pdftex.def) Requested size: 397.48499pt x 289.95233pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/device-mana -ger-com.png, id=1270, 1175.39125pt x 863.225pt> +ger-com.png, id=1969, 1175.39125pt x 863.225pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/device -manager-com.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/device- @@ -899,7 +934,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/device-manager-com.png used on input line 117. (pdftex.def) Requested size: 397.48499pt x 291.912pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/update-driv -er.png, id=1271, 635.37375pt x 423.5825pt> +er.png, id=1970, 635.37375pt x 423.5825pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/update -driver.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/update- @@ -911,7 +946,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw w-device-manager.jpg>] [22 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code /sw-env/figures/device-manager-com.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/launch-ardu -ino-opt.png, id=1307, 751.80875pt x 313.17pt> +ino-opt.png, id=2006, 751.80875pt x 313.17pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/launch -arduino-opt.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/launch- @@ -922,7 +957,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw [23 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/update -driver.png (PNG copy)>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino-ide -.jpg, id=1318, 856.19875pt x 657.45625pt> +.jpg, id=2016, 856.19875pt x 657.45625pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduin o-ide.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino @@ -944,7 +979,7 @@ nput line 350. (/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/floss-firmware/floss-firmware. ino)) (./user-code/sw-env/sw-env-scilab.tex [27] [28] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/linux-cd.pn -g, id=1393, 787.94376pt x 192.72pt> +g, id=2092, 787.94376pt x 192.72pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/linux- cd.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/linux-c @@ -955,7 +990,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw [29 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/linux- cd.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/browse-dire -ctory.png, id=1407, 450.18187pt x 327.47343pt> +ctory.png, id=2105, 450.18187pt x 327.47343pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/browse -directory.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/browse- @@ -964,7 +999,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/browse-directory.png used on input line 120. (pdftex.def) Requested size: 357.73405pt x 260.23521pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/builder.png -, id=1410, 600.74437pt x 421.575pt> +, id=2108, 600.74437pt x 421.575pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/builde r.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/builder @@ -975,7 +1010,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw [30 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/browse -directory.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/loader.png, - id=1421, 600.74437pt x 421.575pt> + id=2119, 600.74437pt x 421.575pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/loader .png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/loader. @@ -987,7 +1022,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw [31 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/builder .png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/device-mana -ger.png, id=1429, 602.25pt x 451.6875pt> +ger.png, id=2128, 602.25pt x 451.6875pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/device -manager.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/device- @@ -996,7 +1031,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/device-manager.png used on input line 180. (pdftex.def) Requested size: 397.48499pt x 298.12845pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/com-propert -ies.png, id=1433, 602.25pt x 451.6875pt> +ies.png, id=2132, 602.25pt x 451.6875pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/com-pr operties.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/com-pro @@ -1007,7 +1042,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw [32 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/loader .png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/linux-port. -png, id=1440, 634.37pt x 246.9225pt> +png, id=2139, 634.37pt x 246.9225pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/linux- port.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/linux-p @@ -1023,7 +1058,7 @@ e/sw-env/figures/linux-port.png>] consecutive: ) </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/test-consol -e.png, id=1458, 600.74437pt x 421.575pt> +e.png, id=2157, 600.74437pt x 421.575pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/test-c onsole.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/test-co @@ -1032,7 +1067,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/test-console.png used on input line 276. (pdftex.def) Requested size: 300.37144pt x 210.78697pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/table_funct -ions_crop.pdf, id=1461, 1055.945pt x 543.02875pt> +ions_crop.pdf, id=2160, 1055.945pt x 543.02875pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/table_ functions_crop.pdf Graphic file (type pdf) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/table_f @@ -1048,7 +1083,7 @@ ut line 314. nsole.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/ table_functions_crop.pdf>]) </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-blk.pn -g, id=1490, 376.40625pt x 376.40625pt> +g, id=2189, 376.40625pt x 376.40625pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-b lk.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-bl @@ -1058,7 +1093,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw (pdftex.def) Requested size: 357.73405pt x 357.76195pt. [37] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/plot-blk.pn -g, id=1507, 310.15875pt x 109.1578pt> +g, id=2206, 310.15875pt x 109.1578pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/plot-b lk.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/plot-bl @@ -1069,7 +1104,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw [38 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-b lk.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/clock-blk.p -ng, id=1513, 307.90031pt x 108.405pt> +ng, id=2212, 307.90031pt x 108.405pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/clock- blk.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/clock-b @@ -1078,7 +1113,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/clock-blk.png used on input line 417. (pdftex.def) Requested size: 357.73405pt x 125.95995pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-gen.pn -g, id=1515, 207.77625pt x 253.69781pt> +g, id=2214, 207.77625pt x 253.69781pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-g en.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-ge @@ -1090,7 +1125,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw lk.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/clo ck-blk.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-output -.png, id=1521, 383.18156pt x 184.43906pt> +.png, id=2220, 383.18156pt x 184.43906pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-o utput.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-ou @@ -1099,7 +1134,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/sine-output.png used on input line 449. (pdftex.def) Requested size: 258.36281pt x 124.36716pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/cscope-conf -ig.png, id=1523, 310.15875pt x 289.08pt> +ig.png, id=2222, 310.15875pt x 289.08pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/cscope -config.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/cscope- @@ -1111,7 +1146,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw en.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sin e-output.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sim-setup.p -ng, id=1529, 333.49594pt x 225.84375pt> +ng, id=2228, 333.49594pt x 225.84375pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sim-se tup.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sim-set @@ -1122,7 +1157,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw [41 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/cscope -config.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/arduino-pal -ette.png, id=1537, 292.84406pt x 107.65219pt> +ette.png, id=2235, 292.84406pt x 107.65219pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/arduin o-palette.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/arduino @@ -1131,7 +1166,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/arduino-palette.png used on input line 511. (pdftex.def) Requested size: 258.36281pt x 94.98553pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/xcos-help.p -ng, id=1538, 617.30624pt x 466.74374pt> +ng, id=2236, 617.30624pt x 466.74374pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/xcos-h elp.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/xcos-he @@ -1139,15 +1174,273 @@ lp.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/xcos-help.png used on input line 518. (pdftex.def) Requested size: 258.36281pt x 195.35445pt. -) (./user-code/led/led-base.tex [42 </home/sudhakak/Desktop/FLOSS-Arduino-Book/ -user-code/sw-env/figures/sim-setup.png> </home/sudhakak/Desktop/FLOSS-Arduino-B -ook/user-code/sw-env/figures/arduino-palette.png>] [43 </home/sudhakak/Desktop/ -FLOSS-Arduino-Book/user-code/sw-env/figures/xcos-help.png>] [44 +) (./user-code/sw-env/sw-env-python.tex [42 </home/sudhakak/Desktop/FLOSS-Ardui +no-Book/user-code/sw-env/figures/sim-setup.png> </home/sudhakak/Desktop/FLOSS-A +rduino-Book/user-code/sw-env/figures/arduino-palette.png>] +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/python-wind +ows-install.JPG, id=2243, 514.17094pt x 316.93407pt> +File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/python +-windows-install.JPG Graphic file (type jpg) +<use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/python- +windows-install.JPG> +Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw +-env/figures/python-windows-install.JPG used on input line 36. +(pdftex.def) Requested size: 258.36281pt x 159.25491pt. + [43 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/xcos-h +elp.png>] +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/windows-cmd +.png, id=2253, 572.1375pt x 338.26375pt> +File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/window +s-cmd.png Graphic file (type png) +<use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/windows +-cmd.png> +Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw +-env/figures/windows-cmd.png used on input line 55. +(pdftex.def) Requested size: 258.36281pt x 152.75406pt. +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/win-command +-prompt.png, id=2254, 1353.055pt x 289.08pt> +File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/win-co +mmand-prompt.png Graphic file (type png) +<use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/win-com +mand-prompt.png> +Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw +-env/figures/win-command-prompt.png used on input line 65. +(pdftex.def) Requested size: 258.36281pt x 55.19925pt. + [44 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/python +-windows-install.JPG>] [45 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code +/sw-env/figures/windows-cmd.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/use +r-code/sw-env/figures/win-command-prompt.png>] [46] +Package hyperref Info: bookmark level for unknown pymass defaults to 0 on input + line 207. + [47] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/python/test_firmware.py)) +(./user-code/sw-env/sw-env-julia.tex [48] +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-downl +oad.png, id=2354, 670.00313pt x 277.035pt> +File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia- +download.png Graphic file (type png) +<use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-d +ownload.png> +Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw +-env/figures/julia-download.png used on input line 36. +(pdftex.def) Requested size: 397.48499pt x 164.34962pt. +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-windo +ws-install.png, id=2355, 756.8275pt x 632.3625pt> +File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia- +windows-install.png Graphic file (type png) +<use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-w +indows-install.png> +Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw +-env/figures/julia-windows-install.png used on input line 43. +(pdftex.def) Requested size: 258.36281pt x 215.86882pt. +File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/window +s-cmd.png Graphic file (type png) +<use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/windows +-cmd.png> +Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw +-env/figures/windows-cmd.png used on input line 50. +(pdftex.def) Requested size: 258.36281pt x 152.75406pt. +File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/win-co +mmand-prompt.png Graphic file (type png) +<use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/win-com +mand-prompt.png> +Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw +-env/figures/win-command-prompt.png used on input line 57. +(pdftex.def) Requested size: 258.36281pt x 55.19925pt. + [49 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia- +download.png>] [50 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/ +figures/julia-windows-install.png>] +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-repl- +windows.png, id=2376, 1354.05875pt x 768.8725pt> +File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia- +repl-windows.png Graphic file (type png) +<use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-r +epl-windows.png> +Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw +-env/figures/julia-repl-windows.png used on input line 104. +(pdftex.def) Requested size: 397.48499pt x 225.70088pt. + +[51] +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-pkg-w +indows.png, id=2390, 1353.055pt x 768.8725pt> +File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia- +pkg-windows.png Graphic file (type png) +<use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-p +kg-windows.png> +Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw +-env/figures/julia-pkg-windows.png used on input line 113. +(pdftex.def) Requested size: 397.48499pt x 225.86513pt. + [52 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia- +repl-windows.png>] [53 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw- +env/figures/julia-pkg-windows.png>] +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-termi +nal-repl.png, id=2410, 949.5475pt x 655.44875pt> +File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia- +terminal-repl.png Graphic file (type png) +<use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-t +erminal-repl.png> +Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw +-env/figures/julia-terminal-repl.png used on input line 185. +(pdftex.def) Requested size: 397.48499pt x 274.37646pt. + [54] [55 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/j +ulia-terminal-repl.png>] +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-pkg.p +ng, id=2434, 949.5475pt x 655.44875pt> +File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia- +pkg.png Graphic file (type png) +<use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-p +kg.png> +Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw +-env/figures/julia-pkg.png used on input line 215. +(pdftex.def) Requested size: 397.48499pt x 274.37646pt. + [56 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia- +pkg.png>] +Package hyperref Info: bookmark level for unknown juliamass defaults to 0 on in +put line 264. + +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/julia/test_firmware.jl) +[57]) (./user-code/sw-env/sw-env-OM.tex +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/openmodelic +a-run-anyway.png, id=2468, 812.03375pt x 749.80125pt> +File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/openmo +delica-run-anyway.png Graphic file (type png) +<use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/openmod +elica-run-anyway.png> +Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw +-env/figures/openmodelica-run-anyway.png used on input line 41. +(pdftex.def) Requested size: 258.36281pt x 238.55693pt. -] +Overfull \hbox (13.35912pt too wide) in paragraph at lines 46--52 +[]\T1/fvm/m/n/10.95 Once Open-Mod-el-ica has been in-stalled, Open-Mod-el-ica C +on-nec-tion Ed-i-tor (OMEdit) + [] + +[58] +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/OMEdit-libr +aries.png, id=2482, 664.4825pt x 546.04pt> +File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/OMEdit +-libraries.png Graphic file (type png) +<use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/OMEdit- +libraries.png> +Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw +-env/figures/OMEdit-libraries.png used on input line 65. +(pdftex.def) Requested size: 365.46649pt x 300.32292pt. + [59 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/openmo +delica-run-anyway.png>] [60 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-cod +e/sw-env/figures/OMEdit-libraries.png>] +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/OMEdit-UI.p +ng, id=2503, 996.1215pt x 597.9138pt> +File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/OMEdit +-UI.png Graphic file (type png) +<use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/OMEdit- +UI.png> +Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw +-env/figures/OMEdit-UI.png used on input line 97. +(pdftex.def) Requested size: 397.48499pt x 238.5865pt. +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-open-mod +el.png, id=2505, 1087.06125pt x 792.9625pt> +File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-ope +n-model.png Graphic file (type png) +<use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-open +-model.png> +Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw +-env/figures/om-open-model.png used on input line 111. +(pdftex.def) Requested size: 397.48499pt x 289.94313pt. +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-Modeling +.png, id=2506, 1368.11125pt x 791.95876pt> +File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-Mod +eling.png Graphic file (type png) +<use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-Mode +ling.png> +Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw +-env/figures/om-Modeling.png used on input line 118. +(pdftex.def) Requested size: 397.48499pt x 230.08511pt. +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-modeling +-views.png, id=2507, 673.01437pt x 373.395pt> +File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-mod +eling-views.png Graphic file (type png) +<use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-mode +ling-views.png> +Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw +-env/figures/om-modeling-views.png used on input line 126. +(pdftex.def) Requested size: 397.48499pt x 220.52904pt. +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-text-vie +w.png, id=2508, 1370.11874pt x 796.9775pt> +File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-tex +t-view.png Graphic file (type png) +<use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-text +-view.png> +Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw +-env/figures/om-text-view.png used on input line 134. +(pdftex.def) Requested size: 397.48499pt x 231.20267pt. + [61 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/OMEdit +-UI.png>] +Underfull \vbox (badness 1314) has occurred while \output is active [] + + [62 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-ope +n-model.png>] + +LaTeX Warning: Text page 63 contains only floats. + +[63 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-mode +ling.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/o +m-modeling-views.png>] +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-simulate +.png, id=2535, 673.01437pt x 373.395pt> +File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-sim +ulate.png Graphic file (type png) +<use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-simu +late.png> +Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw +-env/figures/om-simulate.png used on input line 163. +(pdftex.def) Requested size: 397.48499pt x 220.52904pt. +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-sim-succ +ess.png, id=2536, 647.41875pt x 516.93124pt> +File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-sim +-success.png Graphic file (type png) +<use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-sim- +success.png> +Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw +-env/figures/om-sim-success.png used on input line 170. +(pdftex.def) Requested size: 397.48499pt x 317.37051pt. + +Overfull \hbox (1.43199pt too wide) in paragraph at lines 181--188 +\T1/fvm/m/n/10.95 openmodelica/windows or Orig-in/-tool-s/open-mod-el-i-ca/linu +x di-rec-tory, see Foot-note []2[][] + [] + +[64 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-text +-view.png>] +Overfull \hbox (5.89722pt too wide) in paragraph at lines 201--209 +\T1/fvm/m/n/10.95 el-ica_Synchronous, Mod-el-ica_DeviceDrivers, and one model t +est_firmware.mo. + [] + +[65 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-simu +late.png>] +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-toolbox- +loaded.png, id=2561, 325.215pt x 735.74875pt> +File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-too +lbox-loaded.png Graphic file (type png) +<use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-tool +box-loaded.png> +Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw +-env/figures/om-toolbox-loaded.png used on input line 226. +(pdftex.def) Requested size: 178.86702pt x 404.66306pt. + +Underfull \vbox (badness 1502) has occurred while \output is active [] + + [66 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-sim +-success.png>] +Package hyperref Info: bookmark level for unknown OpenModelicamass defaults to +0 on input line 244. + [67 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-too +lbox-loaded.png>] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/openmodelica/windows//test_fir +mware.mo)) (./user-code/led/led-base.tex [68] Chapter 4. -</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led.png, id=15 -52, 149.8097pt x 84.315pt> +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led.png, id=26 +07, 149.8097pt x 84.315pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led.png G raphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led.png> @@ -1155,7 +1448,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/le d/figures/led.png used on input line 52. (pdftex.def) Requested size: 79.49577pt x 44.74203pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/schematic.png, - id=1554, 415.5525pt x 456.70625pt> + id=2609, 415.5525pt x 456.70625pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/schematic .png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/schematic. @@ -1163,9 +1456,11 @@ png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/le d/figures/schematic.png used on input line 65. (pdftex.def) Requested size: 178.86702pt x 196.58194pt. -[45 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led.png>] +[69 + + </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/arduino-new-sh -ield.jpeg, id=1560, 305.7021pt x 172.0026pt> +ield.jpeg, id=2615, 305.7021pt x 172.0026pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/arduino-n ew-shield.jpeg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/arduino-ne @@ -1174,11 +1469,11 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/le d/figures/arduino-new-shield.jpeg used on input line 79. (pdftex.def) Requested size: 258.36281pt x 145.37354pt. -[46 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/schematic. +[70 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/schematic. png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/arduino-n ew-shield.jpeg>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/rgb-led-bb.png -, id=1568, 451.286pt x 236.082pt> +, id=2623, 451.286pt x 236.082pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/rgb-led-b b.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/rgb-led-bb @@ -1186,7 +1481,7 @@ b.png Graphic file (type png) Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/le d/figures/rgb-led-bb.png used on input line 108. (pdftex.def) Requested size: 357.73405pt x 187.14034pt. - [47 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/rgb-led-b + [71 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/rgb-led-b b.png>] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led-blue/led-b lue.ino @@ -1203,9 +1498,9 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led-blue-delay /led-blue-delay.ino consecutive: -) [48] +) [72] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led_output.png -, id=1598, 3035.34pt x 1947.275pt> +, id=2653, 3035.34pt x 1947.275pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led_outpu t.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led_output @@ -1220,20 +1515,20 @@ File: t1cmss.fd 2019/12/16 v2.5j Standard LaTeX font definitions ) Package hyperref Info: bookmark level for unknown egmass defaults to 0 on input line 211. - [49] + [73] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led-blue/led-b lue.ino) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led-blue-delay -/led-blue-delay.ino [50 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/le +/led-blue-delay.ino [74 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/le d/figures/led_output.png>]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led-blue-red/l ed-blue-red.ino) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led-green-blin -k/led-green-blink.ino)) (./user-code/led/led-scilab.tex [51] +k/led-green-blink.ino)) (./user-code/led/led-scilab.tex [75] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led-blue.sce) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led-blue.sce consecutive: -) [52] +) [76] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led-blue.sce consecutive: ) @@ -1254,13 +1549,13 @@ Overfull \hbox (1.20615pt too wide) in paragraph at lines 95--99 (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led-blue-delay. -sce [53]) +sce [77]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led-blue-red.sc e) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led-green-blink .sce) </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue-com-2 -.png, id=1735, 766.865pt x 696.6025pt> +.png, id=2789, 766.865pt x 696.6025pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue- com-2.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue-c @@ -1268,13 +1563,13 @@ om-2.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/le d/figures/led-blue-com-2.png used on input line 136. (pdftex.def) Requested size: 178.86702pt x 162.47923pt. - [54] + [78] Overfull \hbox (4.77844pt too wide) in paragraph at lines 152--161 [][] [] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue-delay --com-2.png, id=1772, 848.16875pt x 694.595pt> +-com-2.png, id=2826, 848.16875pt x 694.595pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue- delay-com-2.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue-d @@ -1287,10 +1582,10 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 186--198 [][] [] -[55 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue-c +[79 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue-c om-2.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue-red-c -om-2.png, id=1786, 829.0975pt x 805.0075pt> +om-2.png, id=2842, 829.0975pt x 805.0075pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue- red-com-2.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue-r @@ -1304,7 +1599,7 @@ Overfull \hbox (13.85292pt too wide) in paragraph at lines 225--242 [] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-green-blin -k-com-2.png, id=1792, 869.2475pt x 678.535pt> +k-com-2.png, id=2848, 869.2475pt x 678.535pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-green -blink-com-2.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-green- @@ -1312,18 +1607,103 @@ blink-com-2.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/le d/figures/led-green-blink-com-2.png used on input line 252. (pdftex.def) Requested size: 178.86702pt x 139.61826pt. -[56 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue-d +[80 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue-d elay-com-2.png>] Overfull \hbox (4.77844pt too wide) in paragraph at lines 267--280 [][] [] -[57 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue-r -ed-com-2.png>]) (./user-code/push/push-base.tex [58 </home/sudhakak/Desktop/FLO +[81 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue-r +ed-com-2.png>]) (./user-code/led/led-python.tex [82 </home/sudhakak/Desktop/FLO SS-Arduino-Book/user-code/led/figures/led-green-blink-com-2.png>] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue.py) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue.py +consecutive: +) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue.py +consecutive: +) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue.py +consecutive: +) [83] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue.py +consecutive: +) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue.py +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue-delay. +py +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue-delay. +py +consecutive: +) [84] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue.py) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue-delay. +py [85]) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue-red.py +[86]) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-green-blink +.py [87])) (./user-code/led/led-julia.tex +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led-blue.jl) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led-blue.jl +consecutive: +) [88] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led-blue.jl +consecutive: +) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led-blue.jl +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led-blue-delay.j +l +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led-blue-delay.j +l +consecutive: +) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led-blue.jl) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led-blue-delay.j +l [89]) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led-blue-red.jl) + +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led-green-blink. +jl)) (./user-code/led/led-OM.tex [90] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue. +mo +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue. +mo +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue. +mo +consecutive: +) [91] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue. +mo +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue- +delay.mo +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue- +delay.mo +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue. +mo [92]) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue- +delay.mo [93]) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue- +red.mo [94]) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-green +-blink.mo)) (./user-code/push/push-base.tex [95] [96 + +] Chapter 5. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/pushbutton-co -nn.png, id=1820, 415.5525pt x 438.63875pt> +nn.png, id=3369, 415.5525pt x 438.63875pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/pushbutt on-conn.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/pushbutto @@ -1332,7 +1712,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pu sh/figures/pushbutton-conn.png used on input line 63. (pdftex.def) Requested size: 178.86702pt x 188.80507pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/switch.png, i -d=1821, 453.695pt x 239.294pt> +d=3370, 453.695pt x 239.294pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/switch.p ng Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/switch.pn @@ -1340,16 +1720,14 @@ g> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pu sh/figures/switch.png used on input line 72. (pdftex.def) Requested size: 397.48499pt x 209.64827pt. -[59 - -] +[97] Underfull \vbox (badness 3098) has occurred while \output is active [] - [60 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/pushbutt + [98 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/pushbutt on-conn.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/ switch.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/switch-led-da -rk-color-wires.jpg, id=1835, 477.785pt x 278.641pt> +rk-color-wires.jpg, id=3384, 477.785pt x 278.641pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/switch-l ed-dark-color-wires.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/switch-le @@ -1360,7 +1738,7 @@ sh/figures/switch-led-dark-color-wires.jpg used on input line 106. Underfull \vbox (badness 1975) has occurred while \output is active [] - [61 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/switch-l + [99 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/switch-l ed-dark-color-wires.jpg>] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/arduino/push-button-s tatus/push-button-status.ino @@ -1373,7 +1751,7 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/arduino/led-push-butt on/led-push-button.ino consecutive: -[62]) +[100]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/arduino/push-button-s tatus/push-button-status.ino) Overfull \hbox (0.16989pt too wide) in paragraph at lines 181--184 @@ -1383,7 +1761,7 @@ Avail- (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/arduino/led-push-butt -on/led-push-button.ino [63])) (./user-code/push/push-scilab.tex +on/led-push-button.ino [101])) (./user-code/push/push-scilab.tex (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/push-button-st atus.sce consecutive: @@ -1393,7 +1771,7 @@ atus.sce consecutive: ) </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/sci-ard-meter -.png, id=1897, 428.60126pt x 442.65375pt> +.png, id=3447, 428.60126pt x 442.65375pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/sci-ard- meter.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/sci-ard-m @@ -1401,18 +1779,18 @@ eter.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pu sh/figures/sci-ard-meter.png used on input line 31. (pdftex.def) Requested size: 178.86702pt x 184.73128pt. - [64] + [102] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/led-push-butto n.sce consecutive: ) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/push-button-st -atus.sce [65 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/ -sci-ard-meter.png>]) +atus.sce [103 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures +/sci-ard-meter.png>]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/led-push-butto n.sce) </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/push-button-s -tatus.PNG, id=1942, 264.99pt x 268.00125pt> +tatus.PNG, id=3491, 264.99pt x 268.00125pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/push-but ton-status.PNG Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/push-butt @@ -1425,9 +1803,9 @@ Overfull \hbox (6.968pt too wide) in paragraph at lines 113--123 [][] [] -[66] +[104] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/led-push-butt -on.PNG, id=1971, 298.86656pt x 264.99pt> +on.PNG, id=3520, 298.86656pt x 264.99pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/led-push -button.PNG Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/led-push- @@ -1440,12 +1818,69 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 155--166 [][] [] -[67 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/push-butt -on-status.PNG>]) (./user-code/ldr/ldr-base.tex [68 </home/sudhakak/Desktop/FLOS -S-Arduino-Book/user-code/push/figures/led-push-button.PNG>] +[105 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/push-but +ton-status.PNG>]) (./user-code/push/push-python.tex [106 </home/sudhakak/Deskto +p/FLOSS-Arduino-Book/user-code/push/figures/led-push-button.PNG>] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/push-button-st +atus.py +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/push-button-st +atus.py +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/led-push-butto +n.py +consecutive: +[107]) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/push-button-st +atus.py [108]) +Overfull \hbox (0.28716pt too wide) in paragraph at lines 63--66 +\T1/fvm/m/n/10.95 able at O r i g i n / u s e r - c o d e / p u s h / p y t h o + n / l e d - p u s h - b u t t o n . p y, see Foot-note []2[][] on page 2[][][] +. + [] + + +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/led-push-butto +n.py) [109]) (./user-code/push/push-julia.tex +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/push-button-sta +tus.jl +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/push-button-sta +tus.jl +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/led-push-button +.jl +consecutive: +[110]) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/push-button-sta +tus.jl) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/led-push-button +.jl)) (./user-code/push/push-OM.tex [111] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/OpenModelica/push-but +ton-status.mo +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/OpenModelica/push-but +ton-status.mo +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/OpenModelica/led-push +-button.mo +consecutive: +[112]) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/OpenModelica/push-but +ton-status.mo [113]) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/OpenModelica/led-push +-button.mo [114])) (./user-code/ldr/ldr-base.tex [115] [116 + +] Chapter 6. -</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr.jpg, id=19 -95, 106.89937pt x 94.85437pt> +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr.jpg, id=38 +45, 106.89937pt x 94.85437pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr.jpg G raphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr.jpg> @@ -1453,7 +1888,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ld r/figures/ldr.jpg used on input line 62. (pdftex.def) Requested size: 178.86702pt x 158.72462pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr_sym.png, i -d=1996, 1009.52156pt x 741.52031pt> +d=3846, 1009.52156pt x 741.52031pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr_sym.p ng Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr_sym.pn @@ -1462,7 +1897,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ld r/figures/ldr_sym.png used on input line 65. (pdftex.def) Requested size: 178.86702pt x 131.37468pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-conn.png, -id=1997, 415.5525pt x 450.68375pt> +id=3847, 415.5525pt x 450.68375pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-conn. png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-conn.p @@ -1470,9 +1905,7 @@ ng> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ld r/figures/ldr-conn.png used on input line 71. (pdftex.def) Requested size: 178.86702pt x 193.98965pt. -[69 - -] +[117] Overfull \hbox (0.60098pt too wide) in paragraph at lines 87--87 []\T1/cmr/bx/n/14.4 Connecting an LDR with Ar-duino Uno us-ing a bread- [] @@ -1480,20 +1913,21 @@ Overfull \hbox (0.60098pt too wide) in paragraph at lines 87--87 Underfull \vbox (badness 3333) has occurred while \output is active [] - [70 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr.jpg> -</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr_sym.png> < -/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-conn.png>] -</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/LDR.png, id=20 -10, 455.301pt x 208.78pt> + [118 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr.jpg> + </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr_sym.png> +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-conn.png>] +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/LDR.png, id=38 +61, 455.301pt x 208.78pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/LDR.png G raphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/LDR.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ld r/figures/LDR.png used on input line 102. (pdftex.def) Requested size: 397.48499pt x 182.27425pt. - [71 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/LDR.png>] + [119 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/LDR.png> +] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/LDR-led-dark-c -olor-wires.jpg, id=2024, 477.785pt x 269.005pt> +olor-wires.jpg, id=3874, 477.785pt x 269.005pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/LDR-led-d ark-color-wires.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/LDR-led-da @@ -1505,8 +1939,8 @@ r/figures/LDR-led-dark-color-wires.jpg used on input line 125. (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/arduino/ldr-read/ldr-r ead.ino consecutive: -) [72 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/LDR-led- -dark-color-wires.jpg>] +) [120 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/LDR-led +-dark-color-wires.jpg>] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/arduino/ldr-read/ldr-r ead.ino consecutive: @@ -1516,19 +1950,19 @@ ead.ino consecutive: ) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/arduino/ldr-read/ldr-r -ead.ino [73]) +ead.ino [121]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/arduino/ldr-led/ldr-le -d.ino)) (./user-code/ldr/ldr-scilab.tex [74] +d.ino)) (./user-code/ldr/ldr-scilab.tex [122] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/scilab/ldr-read.sce consecutive: ) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/scilab/ldr-read.sce consecutive: -) [75] +) [123] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/scilab/ldr-read.sce) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/scilab/ldr-led.sce) -[76] +[124] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-read-xcos. -PNG, id=2146, 257.46187pt x 304.13625pt> +PNG, id=3996, 257.46187pt x 304.13625pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-read- xcos.PNG Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-read-x @@ -1537,7 +1971,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ld r/figures/ldr-read-xcos.PNG used on input line 131. (pdftex.def) Requested size: 178.86702pt x 211.2975pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-read-plot. -PNG, id=2149, 1284.8pt x 571.13374pt> +PNG, id=3999, 1284.8pt x 571.13374pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-read- plot.PNG Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-read-p @@ -1545,11 +1979,11 @@ lot.PNG> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ld r/figures/ldr-read-plot.PNG used on input line 141. (pdftex.def) Requested size: 357.73405pt x 159.01874pt. - [77 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-read- -xcos.PNG> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr- -read-plot.png>] + [125 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-read +-xcos.PNG> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr +-read-plot.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-led-2.png, - id=2161, 764.8575pt x 743.77875pt> + id=4010, 764.8575pt x 743.77875pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-led-2 .png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-led-2. @@ -1558,7 +1992,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ld r/figures/ldr-led-2.png used on input line 194. (pdftex.def) Requested size: 258.36281pt x 251.2358pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-led-read-p -lot.PNG, id=2166, 1284.8pt x 571.13374pt> +lot.PNG, id=4015, 1284.8pt x 571.13374pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-led-r ead-plot.PNG Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-led-re @@ -1571,12 +2005,48 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 224--244 [][] [] -) (./user-code/pot/pot-base.tex [78] [79 </home/sudhakak/Desktop/FLOSS-Arduino- -Book/user-code/ldr/figures/ldr-led-2.png> </home/sudhakak/Desktop/FLOSS-Arduino --Book/user-code/ldr/figures/ldr-led-read-plot.png>] [80] +) (./user-code/ldr/ldr-python.tex +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [126] +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [127 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-led- +2.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-led +-read-plot.png>] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/python/ldr-read.py +consecutive: +) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/python/ldr-read.py +consecutive: +[128]) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/python/ldr-read.py +[129]) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/python/ldr-led.py +[130])) (./user-code/ldr/ldr-julia.tex +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/julia/ldr-read.jl +consecutive: +[131]) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/julia/ldr-read.jl +consecutive: +) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/julia/ldr-read.jl +[132]) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/julia/ldr-led.jl)) +(./user-code/ldr/ldr-OM.tex [133] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr-read. +mo +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr-read. +mo +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr-read. +mo [134]) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr-led.m +o [135])) (./user-code/pot/pot-base.tex [136] Chapter 7. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/potmeter.png, -id=2183, 1576.38937pt x 1305.37688pt> +id=4294, 1576.38937pt x 1305.37688pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/potmeter. png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/potmeter.p @@ -1585,7 +2055,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/po t/figures/potmeter.png used on input line 65. (pdftex.def) Requested size: 178.86702pt x 148.11337pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/schematic.png, - id=2184, 415.5525pt x 417.56pt> + id=4295, 415.5525pt x 417.56pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/schematic .png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/schematic. @@ -1593,13 +2063,13 @@ png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/po t/figures/schematic.png used on input line 68. (pdftex.def) Requested size: 178.86702pt x 179.73206pt. -[81 +[137 -] [82 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/potmeter -.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/schemati -c.png>] +] [138 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/potmete +r.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/schemat +ic.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/POT-led-bb-dar -k-color-wires.jpg, id=2200, 477.785pt x 277.838pt> +k-color-wires.jpg, id=4311, 477.785pt x 277.838pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/POT-led-b b-dark-color-wires.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/POT-led-bb @@ -1612,8 +2082,8 @@ Overfull \hbox (9.68646pt too wide) in paragraph at lines 112--114 [] [] [] -[83 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/POT-led-bb --dark-color-wires.jpg>] +[139 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/POT-led-b +b-dark-color-wires.jpg>] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/arduino/pot-threshold/ pot-threshold.ino consecutive: @@ -1623,11 +2093,11 @@ pot-threshold.ino consecutive: ) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/arduino/pot-threshold/ -pot-threshold.ino [84])) (./user-code/pot/pot-scilab.tex +pot-threshold.ino [140])) (./user-code/pot/pot-scilab.tex (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/scilab/pot-threshold.s ce consecutive: -[85]) +[141]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/scilab/pot-threshold.s ce consecutive: @@ -1639,9 +2109,9 @@ old. Avail- (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/scilab/pot-threshold.s -ce) [86] +ce) [142] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/pot-threshold- -1.PNG, id=2302, 1008.76875pt x 719.68875pt> +1.PNG, id=4413, 1008.76875pt x 719.68875pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/pot-thres hold-1.PNG Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/pot-thresh @@ -1654,11 +2124,63 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 78--107 [][] [] -) (./user-code/thermistor/thermistor-base.tex [87 </home/sudhakak/Desktop/FLOSS --Arduino-Book/user-code/pot/figures/pot-threshold-1.png>] [88] +) (./user-code/pot/pot-python.tex [143 </home/sudhakak/Desktop/FLOSS-Arduino-Bo +ok/user-code/pot/figures/pot-threshold-1.png>] +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [144] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/python/pot-threshold.p +y +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/python/pot-threshold.p +y +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/python/pot-threshold.p +y [145])) (./user-code/pot/pot-julia.tex +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [146] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/julia/pot-threshold.jl +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/julia/pot-threshold.jl +consecutive: +) +Overfull \hbox (0.88127pt too wide) in paragraph at lines 36--40 +[]\T1/fvm/m/n/10.95 Turning on LEDs de-pend-ing on the po-ten-tiome-ter thresh- +old. Avail- + [] + + +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/julia/pot-threshold.jl +[147])) (./user-code/pot/pot-OM.tex +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/OpenModelica/pot-thres +hold.mo +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/OpenModelica/pot-thres +hold.mo +consecutive: +) [148] +Overfull \hbox (7.95369pt too wide) in paragraph at lines 36--40 +[]\T1/fvm/m/n/10.95 Turning on LEDs de-pend-ing on the po-ten-tiome-ter thresh- + + [] + + +Overfull \hbox (24.30972pt too wide) in paragraph at lines 36--40 +\T1/fvm/m/n/10.95 old. Avail-able at Ar-duino -> Se-ri-al-Com-mu-ni-ca-tion -> +Ex-am-ples -> pot -> pot_threshold. + [] + + +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/OpenModelica/pot-thres +hold.mo [149])) (./user-code/thermistor/thermistor-base.tex [150] Chapter 8. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/NTC-bea -d.jpg, id=2321, 139.9629pt x 126.2316pt> +d.jpg, id=4617, 139.9629pt x 126.2316pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/NT C-bead.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/NTC @@ -1667,7 +2189,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/th ermistor/figures/NTC-bead.jpg used on input line 70. (pdftex.def) Requested size: 178.86702pt x 161.32933pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/therm-s -ym.png, id=2324, 1284.8pt x 913.4125pt> +ym.png, id=4620, 1284.8pt x 913.4125pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/th erm-sym.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/the @@ -1676,7 +2198,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/th ermistor/figures/therm-sym.png used on input line 73. (pdftex.def) Requested size: 119.2467pt x 84.76808pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/THERMIS -TOR-Diagram-crop.pdf, id=2325, 329.23pt x 422.57875pt> +TOR-Diagram-crop.pdf, id=4621, 329.23pt x 422.57875pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/TH ERMISTOR-Diagram-crop.pdf Graphic file (type pdf) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/THE @@ -1685,7 +2207,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/th ermistor/figures/THERMISTOR-Diagram-crop.pdf used on input line 83. (pdftex.def) Requested size: 178.86702pt x 229.58835pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/BUZZER- -Diagram-crop.pdf, id=2326, 307.1475pt x 366.36874pt> +Diagram-crop.pdf, id=4622, 307.1475pt x 366.36874pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/BU ZZER-Diagram-crop.pdf Graphic file (type pdf) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/BUZ @@ -1693,18 +2215,18 @@ ZER-Diagram-crop.pdf> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/th ermistor/figures/BUZZER-Diagram-crop.pdf used on input line 87. (pdftex.def) Requested size: 178.86702pt x 213.35492pt. -[89 +[151 ] Underfull \vbox (badness 10000) has occurred while \output is active [] - [90 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/NT -C-bead.jpg> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/fig -ures/therm-sym.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermi -stor/figures/THERMISTOR-Diagram-crop.pdf> </home/sudhakak/Desktop/FLOSS-Arduino --Book/user-code/thermistor/figures/BUZZER-Diagram-crop.pdf>] + [152 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/N +TC-bead.jpg> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/fi +gures/therm-sym.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/therm +istor/figures/THERMISTOR-Diagram-crop.pdf> </home/sudhakak/Desktop/FLOSS-Arduin +o-Book/user-code/thermistor/figures/BUZZER-Diagram-crop.pdf>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/thermis -tor.png, id=2357, 453.695pt x 236.885pt> +tor.png, id=4652, 453.695pt x 236.885pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/th ermistor.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/the @@ -1713,7 +2235,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/th ermistor/figures/thermistor.png used on input line 110. (pdftex.def) Requested size: 397.48499pt x 207.53772pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/thermis -tor-buzzer-dark-color-wires.jpg, id=2361, 477.785pt x 233.673pt> +tor-buzzer-dark-color-wires.jpg, id=4656, 477.785pt x 233.673pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/th ermistor-buzzer-dark-color-wires.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/the @@ -1722,8 +2244,8 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/th ermistor/figures/thermistor-buzzer-dark-color-wires.jpg used on input line 124 . (pdftex.def) Requested size: 397.48499pt x 194.3978pt. - [91 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/th -ermistor.png>] + [153 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/t +hermistor.png>] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm-r ead/therm-read.ino consecutive: @@ -1731,8 +2253,8 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm-r ead/therm-read.ino consecutive: -) [92 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/t -hermistor-buzzer-dark-color-wires.jpg>] +) [154 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/ +thermistor-buzzer-dark-color-wires.jpg>] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm-r ead/therm-read.ino consecutive: @@ -1740,14 +2262,14 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm-b uzzer/therm-buzzer.ino consecutive: -[93]) +[155]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm-r -ead/therm-read.ino [94]) +ead/therm-read.ino [156]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm-b uzzer/therm-buzzer.ino)) (./user-code/thermistor/thermistor-scilab.tex Underfull \vbox (badness 10000) has occurred while \output is active [] - [95] + [157] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm-re ad.sce consecutive: @@ -1755,17 +2277,17 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm-re ad.sce consecutive: -) [96] +) [158] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm-bu zzer.sce consecutive: -) [97] +) [159] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm-re ad.sce) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm-bu -zzer.sce [98]) +zzer.sce [160]) </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/therm-r -ead-xcos.png, id=2527, 617.30624pt x 548.0475pt> +ead-xcos.png, id=4823, 617.30624pt x 548.0475pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/th erm-read-xcos.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/the @@ -1774,7 +2296,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/th ermistor/figures/therm-read-xcos.png used on input line 174. (pdftex.def) Requested size: 194.76982pt x 172.91183pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/therm-r -ead.png, id=2532, 632.3625pt x 529.98pt> +ead.png, id=4828, 632.3625pt x 529.98pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/th erm-read.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/the @@ -1783,7 +2305,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/th ermistor/figures/therm-read.png used on input line 207. (pdftex.def) Requested size: 194.76982pt x 163.23271pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/therm-b -uzzer-xcos.png, id=2535, 627.34375pt x 530.98375pt> +uzzer-xcos.png, id=4831, 627.34375pt x 530.98375pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/th erm-buzzer-xcos.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/the @@ -1791,13 +2313,13 @@ rm-buzzer-xcos.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/th ermistor/figures/therm-buzzer-xcos.png used on input line 226. (pdftex.def) Requested size: 258.36281pt x 218.68509pt. - [99] + [161] Overfull \hbox (4.77844pt too wide) in paragraph at lines 248--268 [][] [] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/therm-b -uzzer.png, id=2558, 612.2875pt x 589.20125pt> +uzzer.png, id=4854, 612.2875pt x 589.20125pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/th erm-buzzer.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/the @@ -1805,22 +2327,69 @@ rm-buzzer.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/th ermistor/figures/therm-buzzer.png used on input line 272. (pdftex.def) Requested size: 258.36281pt x 248.6226pt. -[100 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/th +[162 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/th erm-read-xcos.png>] Underfull \vbox (badness 5817) has occurred while \output is active [] - [101 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/t + [163 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/t herm-read.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/ -figures/therm-buzzer-xcos.png>]) (./user-code/servo/servo-base.tex [102] [103 < -/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/therm-bu -zzer.png>] -[104 +figures/therm-buzzer-xcos.png>]) (./user-code/thermistor/thermistor-python.tex +[164] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm-re +ad.py +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm-re +ad.py +consecutive: +) [165 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/ +therm-buzzer.png>] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm-bu +zzer.py +consecutive: +) [166] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm-re +ad.py) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm-bu +zzer.py [167])) (./user-code/thermistor/thermistor-julia.tex [168] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm-rea +d.jl +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm-rea +d.jl +consecutive: +) [169] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm-buz +zer.jl +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm-rea +d.jl) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm-buz +zer.jl [170])) (./user-code/thermistor/thermistor-OM.tex +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/th +erm-read.mo +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/th +erm-read.mo +consecutive: +) [171] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/th +erm-buzzer.mo +consecutive: +) [172] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/th +erm-read.mo) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/th +erm-buzzer.mo [173])) (./user-code/servo/servo-base.tex [174] +Chapter 9. +[175 ] -Chapter 9. -[105] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-uno-sh -ield.jpg, id=2599, 1110.0672pt x 508.7808pt> +ield.jpg, id=5185, 1110.0672pt x 508.7808pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-u no-shield.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-un @@ -1829,7 +2398,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/se rvo/figures/servo-uno-shield.jpg used on input line 82. (pdftex.def) Requested size: 258.36281pt x 118.41452pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-bb-dar -k-color-wires.jpg, id=2601, 477.785pt x 284.262pt> +k-color-wires.jpg, id=5187, 477.785pt x 284.262pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-b b-dark-color-wires.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-bb @@ -1837,10 +2406,10 @@ b-dark-color-wires.jpg Graphic file (type jpg) Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/se rvo/figures/servo-bb-dark-color-wires.jpg used on input line 119. (pdftex.def) Requested size: 357.73405pt x 212.83595pt. - [106 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo- + [176 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo- uno-shield.jpg>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-pot-bb --dark-color-wires.jpg, id=2611, 477.785pt x 278.641pt> +-dark-color-wires.jpg, id=5197, 477.785pt x 278.641pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-p ot-bb-dark-color-wires.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-po @@ -1848,7 +2417,7 @@ t-bb-dark-color-wires.jpg> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/se rvo/figures/servo-pot-bb-dark-color-wires.jpg used on input line 133. (pdftex.def) Requested size: 357.73405pt x 208.62733pt. - [107 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo- + [177 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo- bb-dark-color-wires.jpg>] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo-init/s ervo-init.ino) @@ -1863,7 +2432,7 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo-init/s ervo-init.ino consecutive: -) [108 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo +) [178 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo -pot-bb-dark-color-wires.jpg>] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo-revers e/servo-reverse.ino @@ -1872,15 +2441,15 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo-pot/se rvo-pot.ino consecutive: -) [109] +) [179] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo-init/s ervo-init.ino) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo-revers -e/servo-reverse.ino [110]) +e/servo-reverse.ino [180]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo-loop/s ervo-loop.ino) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo-pot/se -rvo-pot.ino) [111]) (./user-code/servo/servo-scilab.tex +rvo-pot.ino) [181]) (./user-code/servo/servo-scilab.tex (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo-init.sc e consecutive: @@ -1892,12 +2461,12 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo-reverse .sce consecutive: -[112]) +[182]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo-pot.sce consecutive: ) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo-init.sc -e [113]) +e [183]) Overfull \hbox (2.47322pt too wide) in paragraph at lines 131--135 []\T1/fvm/m/n/10.95 Rotating the ser-vo-mo-tor to a spec-i-fied de-gree and re- vers-ing. Avail- @@ -1909,9 +2478,9 @@ vers-ing. Avail- (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo-loop.sc e) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo-pot.sce -) [114] +) [184] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-init.p -ng, id=2825, 265.74281pt x 309.40594pt> +ng, id=5409, 265.74281pt x 309.40594pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-i nit.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-in @@ -1920,7 +2489,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/se rvo/figures/servo-init.png used on input line 170. (pdftex.def) Requested size: 178.86702pt x 208.2593pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-revers -e.png, id=2831, 244.66406pt x 281.55188pt> +e.png, id=5415, 244.66406pt x 281.55188pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-r everse.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-re @@ -1928,10 +2497,10 @@ verse.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/se rvo/figures/servo-reverse.png used on input line 205. (pdftex.def) Requested size: 178.86702pt x 205.84047pt. - [115 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo- + [185 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo- init.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-loop.p -ng, id=2846, 281.55188pt x 347.04657pt> +ng, id=5430, 281.55188pt x 347.04657pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-l oop.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-lo @@ -1939,10 +2508,10 @@ op.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/se rvo/figures/servo-loop.png used on input line 243. (pdftex.def) Requested size: 178.86702pt x 220.47803pt. - [116 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo- + [186 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo- reverse.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-pot.pn -g, id=2857, 286.06876pt x 292.09125pt> +g, id=5441, 286.06876pt x 292.09125pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-p ot.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-po @@ -1950,19 +2519,85 @@ t.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/se rvo/figures/servo-pot.png used on input line 285. (pdftex.def) Requested size: 178.86702pt x 182.63234pt. - [117 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo- + [187 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo- loop.png>] Overfull \hbox (17.60953pt too wide) in paragraph at lines 306--317 [][] [] -[118 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-p -ot.png>]) (./user-code/dcmotor/dcmotor-base.tex [119] [120 +[188 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-p +ot.png>]) (./user-code/servo/servo-python.tex +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo-init.py +consecutive: +) [189] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo-init.py +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo-reverse +.py +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo-pot.py +consecutive: +) [190] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo-init.py +[191]) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo-reverse +.py) [192] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo-loop.py +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo-pot.py +[193])) (./user-code/servo/servo-julia.tex [194] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-init.jl +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-init.jl +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-reverse. +jl +consecutive: +) [195] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-pot.jl +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-init.jl) -] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-reverse. +jl [196]) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-loop.jl) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-pot.jl)) +(./user-code/servo/servo-OM.tex +Underfull \vbox (badness 2351) has occurred while \output is active [] + + [197] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-i +nit.mo +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-i +nit.mo +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-r +everse.mo +consecutive: +) [198] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-p +ot.mo +consecutive: +) [199] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-i +nit.mo) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-r +everse.mo [200]) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-l +oop.mo [201]) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-p +ot.mo)) (./user-code/dcmotor/dcmotor-base.tex [202] Chapter 10. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmotor_bo -ard.png, id=2884, 247.92625pt x 232.87pt> +ard.png, id=5935, 247.92625pt x 232.87pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmot or_board.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmoto @@ -1970,9 +2605,11 @@ r_board.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dc motor/figures/dcmotor_board.png used on input line 68. (pdftex.def) Requested size: 258.36281pt x 242.69075pt. -[121] +[203 + +] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/uno-pwm.jp -g, id=2891, 426.8748pt x 319.9152pt> +g, id=5942, 426.8748pt x 319.9152pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/uno-p wm.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/uno-pw @@ -1980,10 +2617,10 @@ m.jpg> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dc motor/figures/uno-pwm.jpg used on input line 106. (pdftex.def) Requested size: 258.36281pt x 193.63959pt. - [122 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmo + [204 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmo tor_board.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/schematic. -png, id=2899, 415.5525pt x 467.7475pt> +png, id=5950, 415.5525pt x 467.7475pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/schem atic.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/schema @@ -1992,7 +2629,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dc motor/figures/schematic.png used on input line 129. (pdftex.def) Requested size: 178.86702pt x 201.33447pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dc_motor_d -escription.jpg, id=2900, 2469.97781pt x 1973.12157pt> +escription.jpg, id=5951, 2469.97781pt x 1973.12157pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dc_mo tor_description.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dc_mot @@ -2000,11 +2637,11 @@ or_description.jpg> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dc motor/figures/dc_motor_description.jpg used on input line 135. (pdftex.def) Requested size: 258.36281pt x 206.38603pt. - [123 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/uno- + [205 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/uno- pwm.jpg>] Underfull \vbox (badness 7540) has occurred while \output is active [] - [124 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/sche + [206 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/sche matic.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures /dc_motor_description.jpg>] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor-cl @@ -2026,13 +2663,13 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor-bo th/dcmotor-both.ino consecutive: -) [125] +) [207] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor-cl ock/dcmotor-clock.ino) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor-bo -th/dcmotor-both.ino [126]) +th/dcmotor-both.ino [208]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor-lo -op/dcmotor-loop.ino)) (./user-code/dcmotor/dcmotor-scilab.tex [127] +op/dcmotor-loop.ino)) (./user-code/dcmotor/dcmotor-scilab.tex [209] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor-clo ck.sce consecutive: @@ -2040,7 +2677,7 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor-clo ck.sce consecutive: -) [128] +) [210] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor-clo ck.sce consecutive: @@ -2056,15 +2693,15 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor-bot h.sce consecutive: -) [129] +) [211] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor-clo ck.sce) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor-bot -h.sce) [130] +h.sce) [212] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor-loo p.sce) </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmotor-cl -ock.png, id=3087, 807.015pt x 738.76pt> +ock.png, id=6139, 807.015pt x 738.76pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmot or-clock.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmoto @@ -2073,7 +2710,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dc motor/figures/dcmotor-clock.png used on input line 294. (pdftex.def) Requested size: 178.86702pt x 163.73386pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmotor-bo -th.png, id=3093, 784.9325pt x 716.6775pt> +th.png, id=6145, 784.9325pt x 716.6775pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmot or-both.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmoto @@ -2081,9 +2718,9 @@ r-both.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dc motor/figures/dcmotor-both.png used on input line 348. (pdftex.def) Requested size: 178.86702pt x 163.3123pt. - [131] + [213] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmotor-lo -op.png, id=3123, 775.89874pt x 756.8275pt> +op.png, id=6174, 775.89874pt x 756.8275pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmot or-loop.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmoto @@ -2091,17 +2728,107 @@ r-loop.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dc motor/figures/dcmotor-loop.png used on input line 392. (pdftex.def) Requested size: 178.86702pt x 174.47084pt. - [132 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmo -tor-clock.png>] [133 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmot -or/figures/dcmotor-both.png>]) (./user-code/modbus/modbus-base.tex -[134 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmot -or-loop.png>] [135] [136 + [214 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmo +tor-clock.png>] [215 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmot +or/figures/dcmotor-both.png>]) +(./user-code/dcmotor/dcmotor-python.tex [216 </home/sudhakak/Desktop/FLOSS-Ardu +ino-Book/user-code/dcmotor/figures/dcmotor-loop.png>] [217] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor-clo +ck.py +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor-clo +ck.py +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor-clo +ck.py +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor-clo +ck.py +consecutive: +) [218] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor-bot +h.py +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor-bot +h.py +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor-clo +ck.py [219]) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor-bot +h.py [220]) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor-loo +p.py [221])) (./user-code/dcmotor/dcmotor-julia.tex [222] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor-cloc +k.jl +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor-cloc +k.jl +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor-cloc +k.jl +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor-cloc +k.jl +consecutive: +) [223] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor-both +.jl +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor-both +.jl +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor-cloc +k.jl [224]) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor-both +.jl) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor-loop +.jl)) (./user-code/dcmotor/dcmotor-OM.tex [225] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot +or-clock.mo +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot +or-clock.mo +consecutive: +) [226] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot +or-clock.mo +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot +or-clock.mo +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot +or-both.mo +consecutive: +) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot +or-both.mo +consecutive: +) [227] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot +or-clock.mo) [228] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot +or-both.mo) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot +or-loop.mo [229])) (./user-code/modbus/modbus-base.tex [230] +Chapter 11. +[231 ] -Chapter 11. -[137] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig1.png, i -d=3173, 672.5125pt x 224.84pt> +d=6644, 672.5125pt x 224.84pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig1.p ng Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig1.pn @@ -2110,7 +2837,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/fig1.png used on input line 66. (pdftex.def) Requested size: 357.73405pt x 119.60033pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig2.png, i -d=3174, 360.34625pt x 375.4025pt> +d=6645, 360.34625pt x 375.4025pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig2.p ng Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig2.pn @@ -2118,11 +2845,11 @@ g> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/fig2.png used on input line 74. (pdftex.def) Requested size: 178.86702pt x 186.33748pt. - [138 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig1. + [232 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig1. png (PNG copy)> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/fig ures/fig2.png (PNG copy)>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig3.png, i -d=3182, 481.04718pt x 214.55156pt> +d=6653, 481.04718pt x 214.55156pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig3.p ng Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig3.pn @@ -2130,10 +2857,10 @@ g> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/fig3.png used on input line 120. (pdftex.def) Requested size: 357.73405pt x 159.55464pt. - [139 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig3. -png (PNG copy)>] [140] [141] [142] [143] + [233 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig3. +png (PNG copy)>] [234] [235] [236] [237] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/block-diagr -am.PNG, id=3233, 398.23781pt x 255.95625pt> +am.PNG, id=6704, 398.23781pt x 255.95625pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/block- diagram.PNG Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/block-d @@ -2142,7 +2869,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/block-diagram.PNG used on input line 419. (pdftex.def) Requested size: 258.36281pt x 166.06104pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/Full-Set-Up -.png, id=3234, 722.7pt x 542.025pt> +.png, id=6705, 722.7pt x 542.025pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/Full-S et-Up.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/Full-Se @@ -2151,10 +2878,10 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/Full-Set-Up.png used on input line 426. (pdftex.def) Requested size: 258.36281pt x 193.77246pt. -[144 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/block- +[238 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/block- diagram.PNG>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/arduino_cod -e_flowchart.png, id=3247, 645.41125pt x 1114.1625pt> +e_flowchart.png, id=6718, 645.41125pt x 1114.1625pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/arduin o_code_flowchart.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/arduino @@ -2162,14 +2889,14 @@ _code_flowchart.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/arduino_code_flowchart.png used on input line 465. (pdftex.def) Requested size: 258.36281pt x 445.99712pt. - [145 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/Full- + [239 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/Full- Set-Up.png>] Underfull \vbox (badness 10000) has occurred while \output is active [] - [146 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/ardui + [240 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/ardui no_code_flowchart.png (PNG copy)>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/flowchart.p -ng, id=3263, 786.94pt x 800.9925pt> +ng, id=6734, 786.94pt x 800.9925pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/flowch art.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/flowcha @@ -2179,18 +2906,18 @@ dbus/figures/flowchart.png used on input line 491. (pdftex.def) Requested size: 357.73405pt x 364.12216pt. (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/arduino/send_packet -.ino)) (./user-code/modbus/modbus-scilab.tex [147] [148 </home/sudhakak/Desktop +.ino)) (./user-code/modbus/modbus-scilab.tex [241] [242 </home/sudhakak/Desktop /FLOSS-Arduino-Book/user-code/modbus/figures/flowchart.png (PNG copy)>] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read_val.sce ) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read_current -.sci [149]) +.sci [243]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read_voltage .sci) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read_active_ -power.sci) [150] +power.sci) [244] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/current-out -put.png, id=3354, 490.83376pt x 170.13562pt> +put.png, id=6825, 490.83376pt x 170.13562pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/curren t-output.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/current @@ -2199,7 +2926,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/current-output.png used on input line 143. (pdftex.def) Requested size: 397.48499pt x 137.78313pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/current-out -put-setup.jpg, id=3355, 277.035pt x 248.127pt> +put-setup.jpg, id=6826, 277.035pt x 248.127pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/curren t-output-setup.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/current @@ -2208,7 +2935,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/current-output-setup.jpg used on input line 150. (pdftex.def) Requested size: 258.36281pt x 231.40312pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/voltage-out -put.png, id=3358, 487.8225pt x 155.07938pt> +put.png, id=6829, 487.8225pt x 155.07938pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/voltag e-output.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/voltage @@ -2217,7 +2944,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/voltage-output.png used on input line 162. (pdftex.def) Requested size: 397.48499pt x 126.36134pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/voltage-out -put-setup.jpg, id=3359, 261.1356pt x 269.808pt> +put-setup.jpg, id=6830, 261.1356pt x 269.808pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/voltag e-output-setup.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/voltage @@ -2226,7 +2953,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/voltage-output-setup.jpg used on input line 169. (pdftex.def) Requested size: 258.36281pt x 266.95018pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/active-powe -r-output.png, id=3362, 492.33937pt x 185.94469pt> +r-output.png, id=6833, 492.33937pt x 185.94469pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/active -power-output.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/active- @@ -2235,7 +2962,7 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/active-power-output.png used on input line 179. (pdftex.def) Requested size: 397.48499pt x 150.12634pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/active-powe -r-output-setup.jpg, id=3363, 306.9066pt x 264.99pt> +r-output-setup.jpg, id=6834, 306.9066pt x 264.99pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/active -power-output-setup.jpg Graphic file (type jpg) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/active- @@ -2246,10 +2973,10 @@ dbus/figures/active-power-output-setup.jpg used on input line 186. Underfull \vbox (badness 1642) has occurred while \output is active [] - [151 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/curre + [245 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/curre nt-output.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/read_value_ -xcos.png, id=3373, 635.37375pt x 455.7025pt> +xcos.png, id=6844, 635.37375pt x 455.7025pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/read_v alue_xcos.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/read_va @@ -2257,19 +2984,42 @@ lue_xcos.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/read_value_xcos.png used on input line 207. (pdftex.def) Requested size: 258.36281pt x 185.30946pt. - [152 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/curre + [246 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/curre nt-output-setup.jpg> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbu s/figures/voltage-output.png>] Overfull \hbox (16.70493pt too wide) in paragraph at lines 223--235 [][] [] -[153 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/voltag +[247 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/voltag e-output-setup.jpg> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus -/figures/active-power-output.png>]) (./suppl/appendix.tex [154 </home/sudhakak/ -Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/active-power-output-setup.j -pg> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/read_va -lue_xcos.png>] [155] [156 +/figures/active-power-output.png>]) (./user-code/modbus/modbus-python.tex +Underfull \vbox (badness 6658) has occurred while \output is active [] + + [248 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/activ +e-power-output-setup.jpg> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ +modbus/figures/read_value_xcos.png>] [249] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/python/read_current +.py) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/python/read_voltage +.py) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/python/read_active_ +power.py [250])) (./user-code/modbus/modbus-julia.tex [251] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readCurrent.j +l) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readVoltage.j +l) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readPower.jl +[252])) (./user-code/modbus/modbus-OM.tex +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [253] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/OpenModelica/readCu +rrent.mo) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/OpenModelica/readVo +ltage.mo) [254] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/OpenModelica/readPo +wer.mo)) (./suppl/appendix.tex [255] [256 ] Appendix A. @@ -2283,13 +3033,13 @@ Underfull \hbox (badness 5878) in paragraph at lines 25--26 []\T1/fvm/m/n/10.95 External ac-tu-a-tors (mo-tor, [] -[157] +[257] Overfull \hbox (6.27151pt too wide) in paragraph at lines 56--58 []\T1/fvm/m/n/10.95 Latest in-for-ma-tion on Procur-ing the Hard-ware is avail- able at []$https : / / ^^]oss-[]arduino . [] -) (./floss-arduino.bbl [158] +) (./floss-arduino.bbl [258] Underfull \hbox (badness 10000) in paragraph at lines 4--9 []\T1/fvm/m/n/10.95 T. Mar-tin. Use of scilab for space mis-sion anal-y-sis. [] @@ -2318,7 +3068,7 @@ Overfull \hbox (15.39987pt too wide) in paragraph at lines 49--53 /Skittles_M%26M%27s [] -[159 +[259 ] Underfull \hbox (badness 1577) in paragraph at lines 95--98 @@ -2343,30 +3093,30 @@ Underfull \hbox (badness 10000) in paragraph at lines 148--151 ld v-1.2 com-pat-i-ble with ar-duino uno r3. [] -[160]) -\tf@thm=\write11 -\openout11 = `floss-arduino.thm'. +[260]) +\tf@thm=\write14 +\openout14 = `floss-arduino.thm'. - [161] (./floss-arduino.aux) + [261] (./floss-arduino.aux) LaTeX Font Warning: Some font shapes were not available, defaults substituted. Package rerunfilecheck Info: File `floss-arduino.out' has not changed. -(rerunfilecheck) Checksum: 253A611565FBB2FF7852728C73A86C9C;8954. +(rerunfilecheck) Checksum: 2FBAB44F63C640F24AD1E63867AB79A3;16298. ) Here is how much of TeX's memory you used: - 14248 strings out of 481252 - 266140 string characters out of 5915889 - 1044461 words of memory out of 5000000 - 29006 multiletter control sequences out of 15000+600000 + 17882 strings out of 481252 + 354946 string characters out of 5915889 + 1045461 words of memory out of 5000000 + 29830 multiletter control sequences out of 15000+600000 425775 words of font info for 70 fonts, out of 8000000 for 9000 17 hyphenation exceptions out of 8191 71i,10n,79p,807b,1972s stack positions out of 5000i,500n,10000p,200000b,80000s </home/sudhakak/.texlive2020/texmf-var/fonts/pk/ljfour/jknappen/ec/ecsi1095. -600pk> </home/sudhakak/.texlive2020/texmf-var/fonts/pk/ljfour/jknappen/ec/tcrm0 -900.600pk> </home/sudhakak/.texlive2020/texmf-var/fonts/pk/ljfour/jknappen/ec/e -crm1000.600pk> </home/sudhakak/.texlive2020/texmf-var/fonts/pk/ljfour/jknappen/ -ec/ecss1095.600pk> </home/sudhakak/.texlive2020/texmf-var/fonts/pk/ljfour/jknap +600pk> </home/sudhakak/.texlive2020/texmf-var/fonts/pk/ljfour/jknappen/ec/ecrm1 +000.600pk> </home/sudhakak/.texlive2020/texmf-var/fonts/pk/ljfour/jknappen/ec/e +css1095.600pk> </home/sudhakak/.texlive2020/texmf-var/fonts/pk/ljfour/jknappen/ +ec/tcrm0900.600pk> </home/sudhakak/.texlive2020/texmf-var/fonts/pk/ljfour/jknap pen/ec/ecbx0900.600pk> </home/sudhakak/.texlive2020/texmf-var/fonts/pk/ljfour/j knappen/ec/ecrm1200.600pk> </home/sudhakak/.texlive2020/texmf-var/fonts/pk/ljfo ur/jknappen/ec/ecti1095.600pk> </home/sudhakak/.texlive2020/texmf-var/fonts/pk/ @@ -2390,10 +3140,10 @@ st/fonts/type1/public/amsfonts/cm/cmr9.pfb></usr/share/texlive/texmf-dist/fonts /type1/public/amsfonts/cm/cmsy10.pfb></usr/share/texlive/texmf-dist/fonts/type1 /public/amsfonts/cm/cmsy6.pfb></usr/share/texlive/texmf-dist/fonts/type1/public /amsfonts/cm/cmsy8.pfb></usr/share/texmf/fonts/type1/tfrupee/tfrupee.pfb> -Output written on floss-arduino.pdf (181 pages, 31293102 bytes). +Output written on floss-arduino.pdf (291 pages, 34496768 bytes). PDF statistics: - 4473 PDF objects out of 5155 (max. 8388607) - 3442 compressed objects within 35 object streams - 1507 named destinations out of 1728 (max. 500000) - 1489 words of extra memory for PDF output out of 10000 (max. 10000000) + 8584 PDF objects out of 8907 (max. 8388607) + 7351 compressed objects within 74 object streams + 3882 named destinations out of 4296 (max. 500000) + 2336 words of extra memory for PDF output out of 10000 (max. 10000000) diff --git a/floss-arduino.lot b/floss-arduino.lot index bb3bb09..9bf7afd 100644 --- a/floss-arduino.lot +++ b/floss-arduino.lot @@ -1,44 +1,44 @@ \addvspace {10\p@ } \addvspace {10\p@ } -\contentsline {table}{\numberline {2.1}{\ignorespaces Arduino Uno hardware specifications\relax }}{10}{table.caption.12}% -\contentsline {table}{\numberline {2.2}{\ignorespaces Values of components used in the shield\relax }}{15}{table.caption.23}% -\contentsline {table}{\numberline {2.3}{\ignorespaces Information on sensors and pin numbers\relax }}{16}{table.caption.24}% -\contentsline {table}{\numberline {2.4}{\ignorespaces Lists of components to work with the breadboard\relax }}{17}{table.caption.26}% +\contentsline {table}{\numberline {2.1}{\ignorespaces Arduino Uno hardware specifications\relax }}{10}{table.caption.15}% +\contentsline {table}{\numberline {2.2}{\ignorespaces Values of components used in the shield\relax }}{15}{table.caption.26}% +\contentsline {table}{\numberline {2.3}{\ignorespaces Information on sensors and pin numbers\relax }}{16}{table.caption.27}% +\contentsline {table}{\numberline {2.4}{\ignorespaces Lists of components to work with the breadboard\relax }}{17}{table.caption.29}% \addvspace {10\p@ } \addvspace {10\p@ } -\contentsline {table}{\numberline {4.1}{\ignorespaces Parameters to light the blue LED in Xcos\relax }}{55}{table.caption.58}% -\contentsline {table}{\numberline {4.2}{\ignorespaces Parameters to light the blue LED in Xcos for two seconds\relax }}{56}{table.caption.60}% -\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{57}{table.caption.62}% -\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{58}{table.caption.64}% +\contentsline {table}{\numberline {4.1}{\ignorespaces Parameters to light the blue LED in Xcos\relax }}{79}{table.caption.82}% +\contentsline {table}{\numberline {4.2}{\ignorespaces Parameters to light the blue LED in Xcos for two seconds\relax }}{80}{table.caption.84}% +\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{81}{table.caption.86}% +\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{82}{table.caption.88}% \addvspace {10\p@ } -\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the push button status on the display block\relax }}{67}{table.caption.70}% -\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{68}{table.caption.72}% +\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the push button status on the display block\relax }}{105}{table.caption.94}% +\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{106}{table.caption.96}% \addvspace {10\p@ } -\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{78}{table.caption.79}% -\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{80}{table.caption.82}% +\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{126}{table.caption.103}% +\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{128}{table.caption.106}% \addvspace {10\p@ } -\contentsline {table}{\numberline {7.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{88}{table.caption.86}% +\contentsline {table}{\numberline {7.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{144}{table.caption.110}% \addvspace {10\p@ } -\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{100}{table.caption.94}% -\contentsline {table}{\numberline {8.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{102}{table.caption.97}% +\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{162}{table.caption.118}% +\contentsline {table}{\numberline {8.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{164}{table.caption.121}% \addvspace {10\p@ } -\contentsline {table}{\numberline {9.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{106}{table.caption.101}% -\contentsline {table}{\numberline {9.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{116}{table.caption.105}% -\contentsline {table}{\numberline {9.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{117}{table.caption.107}% -\contentsline {table}{\numberline {9.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{118}{table.caption.109}% -\contentsline {table}{\numberline {9.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{119}{table.caption.111}% +\contentsline {table}{\numberline {9.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{176}{table.caption.128}% +\contentsline {table}{\numberline {9.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{186}{table.caption.132}% +\contentsline {table}{\numberline {9.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{187}{table.caption.134}% +\contentsline {table}{\numberline {9.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{188}{table.caption.136}% +\contentsline {table}{\numberline {9.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{189}{table.caption.138}% \addvspace {10\p@ } -\contentsline {table}{\numberline {10.1}{\ignorespaces Values to be passed for different H-Bridge circuits\relax }}{122}{table.caption.113}% -\contentsline {table}{\numberline {10.2}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{132}{table.caption.121}% -\contentsline {table}{\numberline {10.3}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{133}{table.caption.123}% -\contentsline {table}{\numberline {10.4}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{135}{table.caption.125}% +\contentsline {table}{\numberline {10.1}{\ignorespaces Values to be passed for different H-Bridge circuits\relax }}{204}{table.caption.140}% +\contentsline {table}{\numberline {10.2}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{214}{table.caption.148}% +\contentsline {table}{\numberline {10.3}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{215}{table.caption.150}% +\contentsline {table}{\numberline {10.4}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{217}{table.caption.152}% \addvspace {10\p@ } -\contentsline {table}{\numberline {11.1}{\ignorespaces Pins available on RS485 and their usage\relax }}{139}{table.caption.128}% -\contentsline {table}{\numberline {11.2}{\ignorespaces Operations supported by Modbus RTU\relax }}{140}{table.caption.130}% -\contentsline {table}{\numberline {11.3}{\ignorespaces Individual parameter address in EM6400\relax }}{140}{table.caption.131}% -\contentsline {table}{\numberline {11.4}{\ignorespaces A request packet to access V1 in EM6400\relax }}{141}{table.caption.133}% -\contentsline {table}{\numberline {11.5}{\ignorespaces A response packet to access V1 in EM6400\relax }}{142}{table.caption.134}% -\contentsline {table}{\numberline {11.6}{\ignorespaces Memory storage of a four-byte integer in little-endian and big-endian\relax }}{143}{table.caption.135}% -\contentsline {table}{\numberline {11.7}{\ignorespaces Xcos parameters to read energy meter values\relax }}{155}{table.caption.148}% +\contentsline {table}{\numberline {11.1}{\ignorespaces Pins available on RS485 and their usage\relax }}{233}{table.caption.161}% +\contentsline {table}{\numberline {11.2}{\ignorespaces Operations supported by Modbus RTU\relax }}{234}{table.caption.163}% +\contentsline {table}{\numberline {11.3}{\ignorespaces Individual parameter address in EM6400\relax }}{234}{table.caption.164}% +\contentsline {table}{\numberline {11.4}{\ignorespaces A request packet to access V1 in EM6400\relax }}{235}{table.caption.166}% +\contentsline {table}{\numberline {11.5}{\ignorespaces A response packet to access V1 in EM6400\relax }}{236}{table.caption.167}% +\contentsline {table}{\numberline {11.6}{\ignorespaces Memory storage of a four-byte integer in little-endian and big-endian\relax }}{237}{table.caption.168}% +\contentsline {table}{\numberline {11.7}{\ignorespaces Xcos parameters to read energy meter values\relax }}{249}{table.caption.181}% \addvspace {10\p@ } -\contentsline {table}{\numberline {A.1}{\ignorespaces Approximate cost of the components\relax }}{157}{table.caption.149}% +\contentsline {table}{\numberline {A.1}{\ignorespaces Approximate cost of the components\relax }}{257}{table.caption.185}% diff --git a/floss-arduino.out b/floss-arduino.out index 7c4464e..1e42dd2 100644 --- a/floss-arduino.out +++ b/floss-arduino.out @@ -4,118 +4,212 @@ \BOOKMARK [0][-]{chapter*.5}{}{}% 4 \BOOKMARK [0][-]{chapter*.6}{}{}% 5 \BOOKMARK [0][-]{chapter*.7}{}{}% 6 -\BOOKMARK [0][-]{chapter.1}{Introduction}{}% 7 -\BOOKMARK [0][-]{chapter.2}{Hardware Environment}{}% 8 -\BOOKMARK [1][-]{section.2.1}{Microcontroller}{chapter.2}% 9 -\BOOKMARK [2][-]{subsection.2.1.1}{Organization of a Microcontroller}{section.2.1}% 10 -\BOOKMARK [2][-]{subsection.2.1.2}{Microcontroller Peripherals}{section.2.1}% 11 -\BOOKMARK [1][-]{section.2.2}{Open Source Hardware \(OSHW\)}{chapter.2}% 12 -\BOOKMARK [1][-]{section.2.3}{Arduino}{chapter.2}% 13 -\BOOKMARK [2][-]{subsection.2.3.1}{Brief History}{section.2.3}% 14 -\BOOKMARK [2][-]{subsection.2.3.2}{Arduino Uno Board}{section.2.3}% 15 -\BOOKMARK [2][-]{subsection.2.3.3}{Popular Arduino Projects}{section.2.3}% 16 -\BOOKMARK [1][-]{section.2.4}{Shield}{chapter.2}% 17 -\BOOKMARK [1][-]{section.2.5}{Experimental Test Bed}{chapter.2}% 18 -\BOOKMARK [1][-]{section.2.6}{Doing the Experiments with a Breadboard}{chapter.2}% 19 -\BOOKMARK [0][-]{chapter.3}{Communication between Software and Arduino}{}% 20 -\BOOKMARK [1][-]{section.3.1}{Arduino IDE}{chapter.3}% 21 -\BOOKMARK [2][-]{subsection.3.1.1}{Downloading and installing on Windows}{section.3.1}% 22 -\BOOKMARK [2][-]{subsection.3.1.2}{Downloading and installing on GNU/Linux Ubuntu}{section.3.1}% 23 -\BOOKMARK [2][-]{subsection.3.1.3}{Arduino Development Environment}{section.3.1}% 24 -\BOOKMARK [2][-]{subsection.3.1.4}{Testing Arduino with a sample program}{section.3.1}% 25 -\BOOKMARK [2][-]{subsection.3.1.5}{FLOSS Firmware}{section.3.1}% 26 -\BOOKMARK [1][-]{section.3.2}{Scilab}{chapter.3}% 27 -\BOOKMARK [2][-]{subsection.3.2.1}{Downloading and installing on Windows}{section.3.2}% 28 -\BOOKMARK [2][-]{subsection.3.2.2}{Downloading and installing on GNU/Linux Ubuntu}{section.3.2}% 29 -\BOOKMARK [2][-]{subsection.3.2.3}{Scilab-Arduino toolbox}{section.3.2}% 30 -\BOOKMARK [2][-]{subsection.3.2.4}{Identifying Arduino communication port number}{section.3.2}% 31 -\BOOKMARK [2][-]{subsection.3.2.5}{Testing Scilab-Arduino toolbox}{section.3.2}% 32 -\BOOKMARK [2][-]{subsection.3.2.6}{Firmware}{section.3.2}% 33 -\BOOKMARK [1][-]{section.3.3}{Xcos}{chapter.3}% 34 -\BOOKMARK [2][-]{subsection.3.3.1}{Downloading, installing and testing}{section.3.3}% 35 -\BOOKMARK [2][-]{subsection.3.3.2}{Use case}{section.3.3}% 36 -\BOOKMARK [2][-]{subsection.3.3.3}{Xcos-Arduino}{section.3.3}% 37 -\BOOKMARK [0][-]{chapter.4}{Interfacing a Light Emitting Diode}{}% 38 -\BOOKMARK [1][-]{section.4.1}{Preliminaries}{chapter.4}% 39 -\BOOKMARK [1][-]{section.4.2}{Connecting an RGB LED with Arduino Uno using a breadboard}{chapter.4}% 40 -\BOOKMARK [1][-]{section.4.3}{Lighting the LED from the Arduino IDE}{chapter.4}% 41 -\BOOKMARK [2][-]{subsection.4.3.1}{Lighting the LED}{section.4.3}% 42 -\BOOKMARK [2][-]{subsection.4.3.2}{Arduino Code}{section.4.3}% 43 -\BOOKMARK [1][-]{section.4.4}{Lighting the LED from Scilab}{chapter.4}% 44 -\BOOKMARK [2][-]{subsection.4.4.1}{Lighting the LED}{section.4.4}% 45 -\BOOKMARK [2][-]{subsection.4.4.2}{Scilab Code}{section.4.4}% 46 -\BOOKMARK [1][-]{section.4.5}{Lighting the LED from Scilab Xcos}{chapter.4}% 47 -\BOOKMARK [0][-]{chapter.5}{Interfacing a Pushbutton}{}% 48 -\BOOKMARK [1][-]{section.5.1}{Preliminaries}{chapter.5}% 49 -\BOOKMARK [1][-]{section.5.2}{Connecting a pushbutton with Arduino Uno using a breadboard}{chapter.5}% 50 -\BOOKMARK [1][-]{section.5.3}{Reading the pushbutton status from the Arduino IDE}{chapter.5}% 51 -\BOOKMARK [2][-]{subsection.5.3.1}{Reading the pushbutton status}{section.5.3}% 52 -\BOOKMARK [2][-]{subsection.5.3.2}{Arduino Code}{section.5.3}% 53 -\BOOKMARK [1][-]{section.5.4}{Reading the pushbutton Status from Scilab}{chapter.5}% 54 -\BOOKMARK [2][-]{subsection.5.4.1}{Reading the pushbutton Status}{section.5.4}% 55 -\BOOKMARK [2][-]{subsection.5.4.2}{Scilab Code}{section.5.4}% 56 -\BOOKMARK [1][-]{section.5.5}{Accessing the pushbutton from Xcos}{chapter.5}% 57 -\BOOKMARK [0][-]{chapter.6}{Interfacing a Light Dependent Resistor}{}% 58 -\BOOKMARK [1][-]{section.6.1}{Preliminaries}{chapter.6}% 59 -\BOOKMARK [1][-]{section.6.2}{Connecting an LDR with Arduino Uno using a breadboard}{chapter.6}% 60 -\BOOKMARK [1][-]{section.6.3}{Interfacing the LDR through the Arduino IDE}{chapter.6}% 61 -\BOOKMARK [2][-]{subsection.6.3.1}{Interfacing the LDR}{section.6.3}% 62 -\BOOKMARK [2][-]{subsection.6.3.2}{Arduino Code}{section.6.3}% 63 -\BOOKMARK [1][-]{section.6.4}{Interfacing the LDR through Scilab}{chapter.6}% 64 -\BOOKMARK [2][-]{subsection.6.4.1}{Interfacing the LDR}{section.6.4}% 65 -\BOOKMARK [2][-]{subsection.6.4.2}{Scilab Code}{section.6.4}% 66 -\BOOKMARK [1][-]{section.6.5}{Interfacing the LDR through Xcos}{chapter.6}% 67 -\BOOKMARK [0][-]{chapter.7}{Interfacing a Potentiometer}{}% 68 -\BOOKMARK [1][-]{section.7.1}{Preliminaries}{chapter.7}% 69 -\BOOKMARK [1][-]{section.7.2}{Connecting a potentiometer with Arduino Uno using a breadboard}{chapter.7}% 70 -\BOOKMARK [1][-]{section.7.3}{Reading the potentiometer from the Arduino IDE}{chapter.7}% 71 -\BOOKMARK [2][-]{subsection.7.3.1}{Reading the potentiometer}{section.7.3}% 72 -\BOOKMARK [2][-]{subsection.7.3.2}{Arduino Code}{section.7.3}% 73 -\BOOKMARK [1][-]{section.7.4}{Reading the potentiometer from Scilab}{chapter.7}% 74 -\BOOKMARK [2][-]{subsection.7.4.1}{Reading the potentiometer}{section.7.4}% 75 -\BOOKMARK [2][-]{subsection.7.4.2}{Scilab Code}{section.7.4}% 76 -\BOOKMARK [1][-]{section.7.5}{Reading the potentiometer from Xcos}{chapter.7}% 77 -\BOOKMARK [0][-]{chapter.8}{Interfacing a Thermistor}{}% 78 -\BOOKMARK [1][-]{section.8.1}{Preliminaries}{chapter.8}% 79 -\BOOKMARK [1][-]{section.8.2}{Connecting a thermistor with Arduino Uno using a breadboard}{chapter.8}% 80 -\BOOKMARK [1][-]{section.8.3}{Interfacing the thermistor from the Arduino IDE}{chapter.8}% 81 -\BOOKMARK [2][-]{subsection.8.3.1}{Interfacing the thermistor}{section.8.3}% 82 -\BOOKMARK [2][-]{subsection.8.3.2}{Arduino Code}{section.8.3}% 83 -\BOOKMARK [1][-]{section.8.4}{Interfacing the thermistor from Scilab}{chapter.8}% 84 -\BOOKMARK [2][-]{subsection.8.4.1}{Interfacing the thermistor}{section.8.4}% 85 -\BOOKMARK [2][-]{subsection.8.4.2}{Scilab Code}{section.8.4}% 86 -\BOOKMARK [1][-]{section.8.5}{Interfacing the thermistor from Xcos}{chapter.8}% 87 -\BOOKMARK [0][-]{chapter.9}{Interfacing a Servomotor}{}% 88 -\BOOKMARK [1][-]{section.9.1}{Preliminaries}{chapter.9}% 89 -\BOOKMARK [1][-]{section.9.2}{Connecting a servomotor with Arduino Uno using a breadboard}{chapter.9}% 90 -\BOOKMARK [1][-]{section.9.3}{Controlling the servomotor through the Arduino IDE}{chapter.9}% 91 -\BOOKMARK [2][-]{subsection.9.3.1}{Controlling the servomotor}{section.9.3}% 92 -\BOOKMARK [2][-]{subsection.9.3.2}{Arduino Code}{section.9.3}% 93 -\BOOKMARK [1][-]{section.9.4}{Controlling the servomotor through Scilab}{chapter.9}% 94 -\BOOKMARK [2][-]{subsection.9.4.1}{Controlling the servomotor}{section.9.4}% 95 -\BOOKMARK [2][-]{subsection.9.4.2}{Scilab Code}{section.9.4}% 96 -\BOOKMARK [1][-]{section.9.5}{Controling the servomotor through Xcos}{chapter.9}% 97 -\BOOKMARK [0][-]{chapter.10}{Interfacing a DC Motor}{}% 98 -\BOOKMARK [1][-]{section.10.1}{Preliminaries}{chapter.10}% 99 -\BOOKMARK [1][-]{section.10.2}{Controlling the DC motor from Arduino}{chapter.10}% 100 -\BOOKMARK [2][-]{subsection.10.2.1}{Controlling the DC motor}{section.10.2}% 101 -\BOOKMARK [2][-]{subsection.10.2.2}{Arduino Code}{section.10.2}% 102 -\BOOKMARK [1][-]{section.10.3}{Controlling the DC motor from Scilab}{chapter.10}% 103 -\BOOKMARK [2][-]{subsection.10.3.1}{Controlling the DC motor}{section.10.3}% 104 -\BOOKMARK [2][-]{subsection.10.3.2}{Scilab Code}{section.10.3}% 105 -\BOOKMARK [1][-]{section.10.4}{Controlling the DC motor from Xcos}{chapter.10}% 106 -\BOOKMARK [0][-]{chapter.11}{Implementation of Modbus Protocol}{}% 107 -\BOOKMARK [1][-]{section.11.1}{Preliminaries}{chapter.11}% 108 -\BOOKMARK [2][-]{subsection.11.1.1}{Energy meter}{section.11.1}% 109 -\BOOKMARK [2][-]{subsection.11.1.2}{Endianness}{section.11.1}% 110 -\BOOKMARK [1][-]{section.11.2}{Setup for the experiment}{chapter.11}% 111 -\BOOKMARK [1][-]{section.11.3}{Software required for this experiment}{chapter.11}% 112 -\BOOKMARK [2][-]{subsection.11.3.1}{Arduino Firmware}{section.11.3}% 113 -\BOOKMARK [1][-]{section.11.4}{Manifestation of Modbus protocol through Scilab}{chapter.11}% 114 -\BOOKMARK [1][-]{section.11.5}{Reading the electrical parameters from Scilab}{chapter.11}% 115 -\BOOKMARK [2][-]{subsection.11.5.1}{Reading the electrical parameters}{section.11.5}% 116 -\BOOKMARK [2][-]{subsection.11.5.2}{Scilab Code}{section.11.5}% 117 -\BOOKMARK [2][-]{subsection.11.5.3}{Output in the Scilab Console}{section.11.5}% 118 -\BOOKMARK [1][-]{section.11.6}{Reading the electrical parameters from Xcos}{chapter.11}% 119 -\BOOKMARK [0][-]{appendix.A}{Procuring the Hardware}{}% 120 -\BOOKMARK [0][-]{appendix*.150}{}{}% 121 +\BOOKMARK [0][-]{chapter*.8}{}{}% 7 +\BOOKMARK [0][-]{chapter*.9}{}{}% 8 +\BOOKMARK [0][-]{chapter*.10}{}{}% 9 +\BOOKMARK [0][-]{chapter.1}{Introduction}{}% 10 +\BOOKMARK [0][-]{chapter.2}{Hardware Environment}{}% 11 +\BOOKMARK [1][-]{section.2.1}{Microcontroller}{chapter.2}% 12 +\BOOKMARK [2][-]{subsection.2.1.1}{Organization of a Microcontroller}{section.2.1}% 13 +\BOOKMARK [2][-]{subsection.2.1.2}{Microcontroller Peripherals}{section.2.1}% 14 +\BOOKMARK [1][-]{section.2.2}{Open Source Hardware \(OSHW\)}{chapter.2}% 15 +\BOOKMARK [1][-]{section.2.3}{Arduino}{chapter.2}% 16 +\BOOKMARK [2][-]{subsection.2.3.1}{Brief History}{section.2.3}% 17 +\BOOKMARK [2][-]{subsection.2.3.2}{Arduino Uno Board}{section.2.3}% 18 +\BOOKMARK [2][-]{subsection.2.3.3}{Popular Arduino Projects}{section.2.3}% 19 +\BOOKMARK [1][-]{section.2.4}{Shield}{chapter.2}% 20 +\BOOKMARK [1][-]{section.2.5}{Experimental Test Bed}{chapter.2}% 21 +\BOOKMARK [1][-]{section.2.6}{Doing the Experiments with a Breadboard}{chapter.2}% 22 +\BOOKMARK [0][-]{chapter.3}{Communication between Software and Arduino}{}% 23 +\BOOKMARK [1][-]{section.3.1}{Arduino IDE}{chapter.3}% 24 +\BOOKMARK [2][-]{subsection.3.1.1}{Downloading and installing on Windows}{section.3.1}% 25 +\BOOKMARK [2][-]{subsection.3.1.2}{Downloading and installing on GNU/Linux Ubuntu}{section.3.1}% 26 +\BOOKMARK [2][-]{subsection.3.1.3}{Arduino Development Environment}{section.3.1}% 27 +\BOOKMARK [2][-]{subsection.3.1.4}{Testing Arduino with a sample program}{section.3.1}% 28 +\BOOKMARK [2][-]{subsection.3.1.5}{FLOSS Firmware}{section.3.1}% 29 +\BOOKMARK [1][-]{section.3.2}{Scilab}{chapter.3}% 30 +\BOOKMARK [2][-]{subsection.3.2.1}{Downloading and installing on Windows}{section.3.2}% 31 +\BOOKMARK [2][-]{subsection.3.2.2}{Downloading and installing on GNU/Linux Ubuntu}{section.3.2}% 32 +\BOOKMARK [2][-]{subsection.3.2.3}{Scilab-Arduino toolbox}{section.3.2}% 33 +\BOOKMARK [2][-]{subsection.3.2.4}{Identifying Arduino communication port number}{section.3.2}% 34 +\BOOKMARK [2][-]{subsection.3.2.5}{Testing Scilab-Arduino toolbox}{section.3.2}% 35 +\BOOKMARK [2][-]{subsection.3.2.6}{Firmware}{section.3.2}% 36 +\BOOKMARK [1][-]{section.3.3}{Xcos}{chapter.3}% 37 +\BOOKMARK [2][-]{subsection.3.3.1}{Downloading, installing and testing}{section.3.3}% 38 +\BOOKMARK [2][-]{subsection.3.3.2}{Use case}{section.3.3}% 39 +\BOOKMARK [2][-]{subsection.3.3.3}{Xcos-Arduino}{section.3.3}% 40 +\BOOKMARK [1][-]{section.3.4}{Python}{chapter.3}% 41 +\BOOKMARK [2][-]{subsection.3.4.1}{Downloading and installing on Windows}{section.3.4}% 42 +\BOOKMARK [2][-]{subsection.3.4.2}{Downloading and installing on GNU/Linux Ubuntu}{section.3.4}% 43 +\BOOKMARK [2][-]{subsection.3.4.3}{Python-Arduino toolbox}{section.3.4}% 44 +\BOOKMARK [2][-]{subsection.3.4.4}{Firmware}{section.3.4}% 45 +\BOOKMARK [1][-]{section.3.5}{Julia}{chapter.3}% 46 +\BOOKMARK [2][-]{subsection.3.5.1}{Downloading and installing on Windows}{section.3.5}% 47 +\BOOKMARK [2][-]{subsection.3.5.2}{Downloading and installing GNU/Linux Ubuntu}{section.3.5}% 48 +\BOOKMARK [2][-]{subsection.3.5.3}{Julia-Arduino toolbox}{section.3.5}% 49 +\BOOKMARK [2][-]{subsection.3.5.4}{Firmware}{section.3.5}% 50 +\BOOKMARK [1][-]{section.3.6}{OpenModelica}{chapter.3}% 51 +\BOOKMARK [2][-]{subsection.3.6.1}{Downloading and installing on Windows}{section.3.6}% 52 +\BOOKMARK [2][-]{subsection.3.6.2}{Downloading and installing on GNU/Linux Ubuntu}{section.3.6}% 53 +\BOOKMARK [2][-]{subsection.3.6.3}{Simulating models in OpenModelica}{section.3.6}% 54 +\BOOKMARK [2][-]{subsection.3.6.4}{OpenModelica-Arduino toolbox}{section.3.6}% 55 +\BOOKMARK [2][-]{subsection.3.6.5}{Firmware}{section.3.6}% 56 +\BOOKMARK [0][-]{chapter.4}{Interfacing a Light Emitting Diode}{}% 57 +\BOOKMARK [1][-]{section.4.1}{Preliminaries}{chapter.4}% 58 +\BOOKMARK [1][-]{section.4.2}{Connecting an RGB LED with Arduino Uno using a breadboard}{chapter.4}% 59 +\BOOKMARK [1][-]{section.4.3}{Lighting the LED from the Arduino IDE}{chapter.4}% 60 +\BOOKMARK [2][-]{subsection.4.3.1}{Lighting the LED}{section.4.3}% 61 +\BOOKMARK [2][-]{subsection.4.3.2}{Arduino Code}{section.4.3}% 62 +\BOOKMARK [1][-]{section.4.4}{Lighting the LED from Scilab}{chapter.4}% 63 +\BOOKMARK [2][-]{subsection.4.4.1}{Lighting the LED}{section.4.4}% 64 +\BOOKMARK [2][-]{subsection.4.4.2}{Scilab Code}{section.4.4}% 65 +\BOOKMARK [1][-]{section.4.5}{Lighting the LED from Scilab Xcos}{chapter.4}% 66 +\BOOKMARK [1][-]{section.4.6}{Lighting the LED from Python}{chapter.4}% 67 +\BOOKMARK [2][-]{subsection.4.6.1}{Lighting the LED}{section.4.6}% 68 +\BOOKMARK [2][-]{subsection.4.6.2}{Python Code}{section.4.6}% 69 +\BOOKMARK [1][-]{section.4.7}{Lighting the LED from Julia}{chapter.4}% 70 +\BOOKMARK [2][-]{subsection.4.7.1}{Lighting the LED}{section.4.7}% 71 +\BOOKMARK [2][-]{subsection.4.7.2}{Julia Code}{section.4.7}% 72 +\BOOKMARK [1][-]{section.4.8}{Lighting the LED from OpenModelica}{chapter.4}% 73 +\BOOKMARK [2][-]{subsection.4.8.1}{Lighting the LED}{section.4.8}% 74 +\BOOKMARK [2][-]{subsection.4.8.2}{OpenModelica Code}{section.4.8}% 75 +\BOOKMARK [0][-]{chapter.5}{Interfacing a Pushbutton}{}% 76 +\BOOKMARK [1][-]{section.5.1}{Preliminaries}{chapter.5}% 77 +\BOOKMARK [1][-]{section.5.2}{Connecting a pushbutton with Arduino Uno using a breadboard}{chapter.5}% 78 +\BOOKMARK [1][-]{section.5.3}{Reading the pushbutton status from the Arduino IDE}{chapter.5}% 79 +\BOOKMARK [2][-]{subsection.5.3.1}{Reading the pushbutton status}{section.5.3}% 80 +\BOOKMARK [2][-]{subsection.5.3.2}{Arduino Code}{section.5.3}% 81 +\BOOKMARK [1][-]{section.5.4}{Reading the pushbutton Status from Scilab}{chapter.5}% 82 +\BOOKMARK [2][-]{subsection.5.4.1}{Reading the pushbutton Status}{section.5.4}% 83 +\BOOKMARK [2][-]{subsection.5.4.2}{Scilab Code}{section.5.4}% 84 +\BOOKMARK [1][-]{section.5.5}{Accessing the pushbutton from Xcos}{chapter.5}% 85 +\BOOKMARK [1][-]{section.5.6}{Reading the pushbutton status from Python}{chapter.5}% 86 +\BOOKMARK [2][-]{subsection.5.6.1}{Reading the pushbutton status}{section.5.6}% 87 +\BOOKMARK [2][-]{subsection.5.6.2}{Python Code}{section.5.6}% 88 +\BOOKMARK [1][-]{section.5.7}{Reading the pushbutton status from Julia}{chapter.5}% 89 +\BOOKMARK [2][-]{subsection.5.7.1}{Reading the pushbutton status}{section.5.7}% 90 +\BOOKMARK [2][-]{subsection.5.7.2}{Julia Code}{section.5.7}% 91 +\BOOKMARK [1][-]{section.5.8}{Reading the pushbutton status from OpenModelica}{chapter.5}% 92 +\BOOKMARK [2][-]{subsection.5.8.1}{Reading the pushbutton status}{section.5.8}% 93 +\BOOKMARK [2][-]{subsection.5.8.2}{OpenModelica Code}{section.5.8}% 94 +\BOOKMARK [0][-]{chapter.6}{Interfacing a Light Dependent Resistor}{}% 95 +\BOOKMARK [1][-]{section.6.1}{Preliminaries}{chapter.6}% 96 +\BOOKMARK [1][-]{section.6.2}{Connecting an LDR with Arduino Uno using a breadboard}{chapter.6}% 97 +\BOOKMARK [1][-]{section.6.3}{Interfacing the LDR through the Arduino IDE}{chapter.6}% 98 +\BOOKMARK [2][-]{subsection.6.3.1}{Interfacing the LDR}{section.6.3}% 99 +\BOOKMARK [2][-]{subsection.6.3.2}{Arduino Code}{section.6.3}% 100 +\BOOKMARK [1][-]{section.6.4}{Interfacing the LDR through Scilab}{chapter.6}% 101 +\BOOKMARK [2][-]{subsection.6.4.1}{Interfacing the LDR}{section.6.4}% 102 +\BOOKMARK [2][-]{subsection.6.4.2}{Scilab Code}{section.6.4}% 103 +\BOOKMARK [1][-]{section.6.5}{Interfacing the LDR through Xcos}{chapter.6}% 104 +\BOOKMARK [1][-]{section.6.6}{Interfacing the LDR through Python}{chapter.6}% 105 +\BOOKMARK [2][-]{subsection.6.6.1}{Interfacing the LDR}{section.6.6}% 106 +\BOOKMARK [2][-]{subsection.6.6.2}{Python Code}{section.6.6}% 107 +\BOOKMARK [1][-]{section.6.7}{Interfacing the LDR through Julia}{chapter.6}% 108 +\BOOKMARK [2][-]{subsection.6.7.1}{Interfacing the LDR}{section.6.7}% 109 +\BOOKMARK [2][-]{subsection.6.7.2}{Julia Code}{section.6.7}% 110 +\BOOKMARK [1][-]{section.6.8}{Interfacing the LDR through OpenModelica}{chapter.6}% 111 +\BOOKMARK [2][-]{subsection.6.8.1}{Interfacing the LDR}{section.6.8}% 112 +\BOOKMARK [2][-]{subsection.6.8.2}{OpenModelica Code}{section.6.8}% 113 +\BOOKMARK [0][-]{chapter.7}{Interfacing a Potentiometer}{}% 114 +\BOOKMARK [1][-]{section.7.1}{Preliminaries}{chapter.7}% 115 +\BOOKMARK [1][-]{section.7.2}{Connecting a potentiometer with Arduino Uno using a breadboard}{chapter.7}% 116 +\BOOKMARK [1][-]{section.7.3}{Reading the potentiometer from the Arduino IDE}{chapter.7}% 117 +\BOOKMARK [2][-]{subsection.7.3.1}{Reading the potentiometer}{section.7.3}% 118 +\BOOKMARK [2][-]{subsection.7.3.2}{Arduino Code}{section.7.3}% 119 +\BOOKMARK [1][-]{section.7.4}{Reading the potentiometer from Scilab}{chapter.7}% 120 +\BOOKMARK [2][-]{subsection.7.4.1}{Reading the potentiometer}{section.7.4}% 121 +\BOOKMARK [2][-]{subsection.7.4.2}{Scilab Code}{section.7.4}% 122 +\BOOKMARK [1][-]{section.7.5}{Reading the potentiometer from Xcos}{chapter.7}% 123 +\BOOKMARK [1][-]{section.7.6}{Reading the potentiometer from Python}{chapter.7}% 124 +\BOOKMARK [2][-]{subsection.7.6.1}{Reading the potentiometer}{section.7.6}% 125 +\BOOKMARK [2][-]{subsection.7.6.2}{Python Code}{section.7.6}% 126 +\BOOKMARK [1][-]{section.7.7}{Reading the potentiometer from Julia}{chapter.7}% 127 +\BOOKMARK [2][-]{subsection.7.7.1}{Reading the potentiometer}{section.7.7}% 128 +\BOOKMARK [2][-]{subsection.7.7.2}{Julia Code}{section.7.7}% 129 +\BOOKMARK [1][-]{section.7.8}{Reading the potentiometer from OpenModelica}{chapter.7}% 130 +\BOOKMARK [2][-]{subsection.7.8.1}{Reading the potentiometer}{section.7.8}% 131 +\BOOKMARK [2][-]{subsection.7.8.2}{OpenModelica Code}{section.7.8}% 132 +\BOOKMARK [0][-]{chapter.8}{Interfacing a Thermistor}{}% 133 +\BOOKMARK [1][-]{section.8.1}{Preliminaries}{chapter.8}% 134 +\BOOKMARK [1][-]{section.8.2}{Connecting a thermistor with Arduino Uno using a breadboard}{chapter.8}% 135 +\BOOKMARK [1][-]{section.8.3}{Interfacing the thermistor from the Arduino IDE}{chapter.8}% 136 +\BOOKMARK [2][-]{subsection.8.3.1}{Interfacing the thermistor}{section.8.3}% 137 +\BOOKMARK [2][-]{subsection.8.3.2}{Arduino Code}{section.8.3}% 138 +\BOOKMARK [1][-]{section.8.4}{Interfacing the thermistor from Scilab}{chapter.8}% 139 +\BOOKMARK [2][-]{subsection.8.4.1}{Interfacing the thermistor}{section.8.4}% 140 +\BOOKMARK [2][-]{subsection.8.4.2}{Scilab Code}{section.8.4}% 141 +\BOOKMARK [1][-]{section.8.5}{Interfacing the thermistor from Xcos}{chapter.8}% 142 +\BOOKMARK [1][-]{section.8.6}{Interfacing the thermistor from Python}{chapter.8}% 143 +\BOOKMARK [2][-]{subsection.8.6.1}{Interfacing the thermistor}{section.8.6}% 144 +\BOOKMARK [2][-]{subsection.8.6.2}{Python Code}{section.8.6}% 145 +\BOOKMARK [1][-]{section.8.7}{Interfacing the thermistor from Julia}{chapter.8}% 146 +\BOOKMARK [2][-]{subsection.8.7.1}{Interfacing the thermistor}{section.8.7}% 147 +\BOOKMARK [2][-]{subsection.8.7.2}{Julia Code}{section.8.7}% 148 +\BOOKMARK [1][-]{section.8.8}{Interfacing the thermistor from OpenModelica}{chapter.8}% 149 +\BOOKMARK [2][-]{subsection.8.8.1}{Interfacing the thermistor}{section.8.8}% 150 +\BOOKMARK [2][-]{subsection.8.8.2}{OpenModelica Code}{section.8.8}% 151 +\BOOKMARK [0][-]{chapter.9}{Interfacing a Servomotor}{}% 152 +\BOOKMARK [1][-]{section.9.1}{Preliminaries}{chapter.9}% 153 +\BOOKMARK [1][-]{section.9.2}{Connecting a servomotor with Arduino Uno using a breadboard}{chapter.9}% 154 +\BOOKMARK [1][-]{section.9.3}{Controlling the servomotor through the Arduino IDE}{chapter.9}% 155 +\BOOKMARK [2][-]{subsection.9.3.1}{Controlling the servomotor}{section.9.3}% 156 +\BOOKMARK [2][-]{subsection.9.3.2}{Arduino Code}{section.9.3}% 157 +\BOOKMARK [1][-]{section.9.4}{Controlling the servomotor through Scilab}{chapter.9}% 158 +\BOOKMARK [2][-]{subsection.9.4.1}{Controlling the servomotor}{section.9.4}% 159 +\BOOKMARK [2][-]{subsection.9.4.2}{Scilab Code}{section.9.4}% 160 +\BOOKMARK [1][-]{section.9.5}{Controling the servomotor through Xcos}{chapter.9}% 161 +\BOOKMARK [1][-]{section.9.6}{Controlling the servomotor through Python}{chapter.9}% 162 +\BOOKMARK [2][-]{subsection.9.6.1}{Controlling the servomotor}{section.9.6}% 163 +\BOOKMARK [2][-]{subsection.9.6.2}{Python Code}{section.9.6}% 164 +\BOOKMARK [1][-]{section.9.7}{Controlling the servomotor through Julia}{chapter.9}% 165 +\BOOKMARK [2][-]{subsection.9.7.1}{Controlling the servomotor}{section.9.7}% 166 +\BOOKMARK [2][-]{subsection.9.7.2}{Julia Code}{section.9.7}% 167 +\BOOKMARK [1][-]{section.9.8}{Controlling the servomotor through OpenModelica}{chapter.9}% 168 +\BOOKMARK [2][-]{subsection.9.8.1}{Controlling the servomotor}{section.9.8}% 169 +\BOOKMARK [2][-]{subsection.9.8.2}{OpenModelica Code}{section.9.8}% 170 +\BOOKMARK [0][-]{chapter.10}{Interfacing a DC Motor}{}% 171 +\BOOKMARK [1][-]{section.10.1}{Preliminaries}{chapter.10}% 172 +\BOOKMARK [1][-]{section.10.2}{Controlling the DC motor from Arduino}{chapter.10}% 173 +\BOOKMARK [2][-]{subsection.10.2.1}{Controlling the DC motor}{section.10.2}% 174 +\BOOKMARK [2][-]{subsection.10.2.2}{Arduino Code}{section.10.2}% 175 +\BOOKMARK [1][-]{section.10.3}{Controlling the DC motor from Scilab}{chapter.10}% 176 +\BOOKMARK [2][-]{subsection.10.3.1}{Controlling the DC motor}{section.10.3}% 177 +\BOOKMARK [2][-]{subsection.10.3.2}{Scilab Code}{section.10.3}% 178 +\BOOKMARK [1][-]{section.10.4}{Controlling the DC motor from Xcos}{chapter.10}% 179 +\BOOKMARK [1][-]{section.10.5}{Controlling the DC motor from Python}{chapter.10}% 180 +\BOOKMARK [2][-]{subsection.10.5.1}{Controlling the DC motor}{section.10.5}% 181 +\BOOKMARK [2][-]{subsection.10.5.2}{Python Code}{section.10.5}% 182 +\BOOKMARK [1][-]{section.10.6}{Controlling the DC motor from Julia}{chapter.10}% 183 +\BOOKMARK [2][-]{subsection.10.6.1}{Controlling the DC motor}{section.10.6}% 184 +\BOOKMARK [2][-]{subsection.10.6.2}{Julia Code}{section.10.6}% 185 +\BOOKMARK [1][-]{section.10.7}{Controlling the DC motor from OpenModelica}{chapter.10}% 186 +\BOOKMARK [2][-]{subsection.10.7.1}{Controlling the DC motor}{section.10.7}% 187 +\BOOKMARK [2][-]{subsection.10.7.2}{OpenModelica Code}{section.10.7}% 188 +\BOOKMARK [0][-]{chapter.11}{Implementation of Modbus Protocol}{}% 189 +\BOOKMARK [1][-]{section.11.1}{Preliminaries}{chapter.11}% 190 +\BOOKMARK [2][-]{subsection.11.1.1}{Energy meter}{section.11.1}% 191 +\BOOKMARK [2][-]{subsection.11.1.2}{Endianness}{section.11.1}% 192 +\BOOKMARK [1][-]{section.11.2}{Setup for the experiment}{chapter.11}% 193 +\BOOKMARK [1][-]{section.11.3}{Software required for this experiment}{chapter.11}% 194 +\BOOKMARK [2][-]{subsection.11.3.1}{Arduino Firmware}{section.11.3}% 195 +\BOOKMARK [1][-]{section.11.4}{Manifestation of Modbus protocol through Scilab}{chapter.11}% 196 +\BOOKMARK [1][-]{section.11.5}{Reading the electrical parameters from Scilab}{chapter.11}% 197 +\BOOKMARK [2][-]{subsection.11.5.1}{Reading the electrical parameters}{section.11.5}% 198 +\BOOKMARK [2][-]{subsection.11.5.2}{Scilab Code}{section.11.5}% 199 +\BOOKMARK [2][-]{subsection.11.5.3}{Output in the Scilab Console}{section.11.5}% 200 +\BOOKMARK [1][-]{section.11.6}{Reading the electrical parameters from Xcos}{chapter.11}% 201 +\BOOKMARK [1][-]{section.11.7}{Manifestation of Modbus protocol through Python}{chapter.11}% 202 +\BOOKMARK [1][-]{section.11.8}{Reading the electrical parameters from Python}{chapter.11}% 203 +\BOOKMARK [2][-]{subsection.11.8.1}{Reading the electrical parameters}{section.11.8}% 204 +\BOOKMARK [2][-]{subsection.11.8.2}{Python Code}{section.11.8}% 205 +\BOOKMARK [1][-]{section.11.9}{Manifestation of Modbus protocol through Julia}{chapter.11}% 206 +\BOOKMARK [1][-]{section.11.10}{Reading the electrical parameters from Julia}{chapter.11}% 207 +\BOOKMARK [2][-]{subsection.11.10.1}{Reading the electrical parameters}{section.11.10}% 208 +\BOOKMARK [2][-]{subsection.11.10.2}{Julia Code}{section.11.10}% 209 +\BOOKMARK [1][-]{section.11.11}{Manifestation of Modbus protocol through OpenModelica}{chapter.11}% 210 +\BOOKMARK [1][-]{section.11.12}{Reading the electrical parameters from OpenModelica}{chapter.11}% 211 +\BOOKMARK [2][-]{subsection.11.12.1}{Reading the electrical parameters}{section.11.12}% 212 +\BOOKMARK [2][-]{subsection.11.12.2}{OpenModelica Code}{section.11.12}% 213 +\BOOKMARK [0][-]{appendix.A}{Procuring the Hardware}{}% 214 +\BOOKMARK [0][-]{appendix*.186}{}{}% 215 diff --git a/floss-arduino.pdf b/floss-arduino.pdf Binary files differindex 68b091a..3b5404a 100644 --- a/floss-arduino.pdf +++ b/floss-arduino.pdf diff --git a/floss-arduino.tex b/floss-arduino.tex index 6f1f066..133717f 100644 --- a/floss-arduino.tex +++ b/floss-arduino.tex @@ -102,11 +102,11 @@ \makeindex % Comment one of the next two lines -% \def\EntireReport{} %% EntireReport is set to true +\def\EntireReport{} %% EntireReport is set to true % \let\EntireReport\undefined %% EntireReport is set to false % If the entire report is not prepared, choose one of scilab, python, % julia, or OM -\newcommand{\Software}{scilab} +% \newcommand{\Software}{OM} \newcommand{\sscilab}{scilab} diff --git a/floss-arduino.thm b/floss-arduino.thm index ab12690..93e49ae 100644 --- a/floss-arduino.thm +++ b/floss-arduino.thm @@ -1,56 +1,125 @@ \contentsline {ardmass}{{Arduino Code}{3.{1}}{}}{27}{ardmass.3.1}% \contentsline {codemass}{{Scilab Code}{3.{1}}{}}{36}{codemass.3.1}% -\contentsline {egmass}{{Exercise}{4.{1}}{}}{49}{egmass.4.1}% -\contentsline {ardmass}{{Arduino Code}{4.{1}}{}}{50}{ardmass.4.1}% -\contentsline {ardmass}{{Arduino Code}{4.{2}}{}}{50}{ardmass.4.2}% -\contentsline {ardmass}{{Arduino Code}{4.{3}}{}}{51}{ardmass.4.3}% -\contentsline {ardmass}{{Arduino Code}{4.{4}}{}}{51}{ardmass.4.4}% -\contentsline {egmass}{{Exercise}{4.{2}}{}}{53}{egmass.4.2}% -\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{53}{codemass.4.1}% -\contentsline {codemass}{{Scilab Code}{4.{2}}{}}{54}{codemass.4.2}% -\contentsline {codemass}{{Scilab Code}{4.{3}}{}}{54}{codemass.4.3}% -\contentsline {codemass}{{Scilab Code}{4.{4}}{}}{54}{codemass.4.4}% -\contentsline {egmass}{{Exercise}{4.{3}}{}}{58}{egmass.4.3}% -\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{63}{ardmass.5.1}% -\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{63}{ardmass.5.2}% -\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{65}{codemass.5.1}% -\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{66}{codemass.5.2}% -\contentsline {egmass}{{Exercise}{5.{1}}{}}{67}{egmass.5.1}% -\contentsline {egmass}{{Exercise}{6.{1}}{}}{73}{egmass.6.1}% -\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{74}{ardmass.6.1}% -\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{74}{ardmass.6.2}% -\contentsline {egmass}{{Exercise}{6.{2}}{}}{75}{egmass.6.2}% -\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{76}{codemass.6.1}% -\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{76}{codemass.6.2}% -\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{84}{ardmass.7.1}% -\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{86}{codemass.7.1}% -\contentsline {egmass}{{Exercise}{7.{1}}{}}{87}{egmass.7.1}% -\contentsline {egmass}{{Exercise}{8.{1}}{}}{94}{egmass.8.1}% -\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{94}{ardmass.8.1}% -\contentsline {ardmass}{{Arduino Code}{8.{2}}{}}{95}{ardmass.8.2}% -\contentsline {egmass}{{Exercise}{8.{2}}{}}{97}{egmass.8.2}% -\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{98}{codemass.8.1}% -\contentsline {codemass}{{Scilab Code}{8.{2}}{}}{98}{codemass.8.2}% -\contentsline {egmass}{{Exercise}{9.{1}}{}}{110}{egmass.9.1}% -\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{110}{ardmass.9.1}% -\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{110}{ardmass.9.2}% -\contentsline {ardmass}{{Arduino Code}{9.{3}}{}}{111}{ardmass.9.3}% -\contentsline {ardmass}{{Arduino Code}{9.{4}}{}}{111}{ardmass.9.4}% -\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{113}{codemass.9.1}% -\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{114}{codemass.9.2}% -\contentsline {codemass}{{Scilab Code}{9.{3}}{}}{114}{codemass.9.3}% -\contentsline {codemass}{{Scilab Code}{9.{4}}{}}{114}{codemass.9.4}% -\contentsline {egmass}{{Exercise}{10.{1}}{}}{126}{egmass.10.1}% -\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{126}{ardmass.10.1}% -\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{126}{ardmass.10.2}% -\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{127}{ardmass.10.3}% -\contentsline {egmass}{{Exercise}{10.{2}}{}}{130}{egmass.10.2}% -\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{130}{codemass.10.1}% -\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{130}{codemass.10.2}% -\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{131}{codemass.10.3}% -\contentsline {egmass}{{Exercise}{10.{3}}{}}{133}{egmass.10.3}% -\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{147}{ardmass.11.1}% -\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{149}{codemass.11.1}% -\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{149}{codemass.11.2}% -\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{150}{codemass.11.3}% -\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{150}{codemass.11.4}% +\contentsline {pymass}{{Python Code}{3.{1}}{}}{48}{pymass.3.1}% +\contentsline {juliamass}{{Julia Code}{3.{1}}{}}{57}{juliamass.3.1}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{3.{1}}{}}{67}{OpenModelicamass.3.1}% +\contentsline {egmass}{{Exercise}{4.{1}}{}}{73}{egmass.4.1}% +\contentsline {ardmass}{{Arduino Code}{4.{1}}{}}{74}{ardmass.4.1}% +\contentsline {ardmass}{{Arduino Code}{4.{2}}{}}{74}{ardmass.4.2}% +\contentsline {ardmass}{{Arduino Code}{4.{3}}{}}{75}{ardmass.4.3}% +\contentsline {ardmass}{{Arduino Code}{4.{4}}{}}{75}{ardmass.4.4}% +\contentsline {egmass}{{Exercise}{4.{2}}{}}{77}{egmass.4.2}% +\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{77}{codemass.4.1}% +\contentsline {codemass}{{Scilab Code}{4.{2}}{}}{78}{codemass.4.2}% +\contentsline {codemass}{{Scilab Code}{4.{3}}{}}{78}{codemass.4.3}% +\contentsline {codemass}{{Scilab Code}{4.{4}}{}}{78}{codemass.4.4}% +\contentsline {egmass}{{Exercise}{4.{3}}{}}{82}{egmass.4.3}% +\contentsline {egmass}{{Exercise}{4.{4}}{}}{84}{egmass.4.4}% +\contentsline {pymass}{{Python Code}{4.{1}}{}}{85}{pymass.4.1}% +\contentsline {pymass}{{Python Code}{4.{2}}{}}{85}{pymass.4.2}% +\contentsline {pymass}{{Python Code}{4.{3}}{}}{86}{pymass.4.3}% +\contentsline {pymass}{{Python Code}{4.{4}}{}}{87}{pymass.4.4}% +\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{89}{juliamass.4.1}% +\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{90}{juliamass.4.2}% +\contentsline {juliamass}{{Julia Code}{4.{3}}{}}{90}{juliamass.4.3}% +\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{90}{juliamass.4.4}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{93}{OpenModelicamass.4.1}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{93}{OpenModelicamass.4.2}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{94}{OpenModelicamass.4.3}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{95}{OpenModelicamass.4.4}% +\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{101}{ardmass.5.1}% +\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{101}{ardmass.5.2}% +\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{103}{codemass.5.1}% +\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{104}{codemass.5.2}% +\contentsline {egmass}{{Exercise}{5.{1}}{}}{105}{egmass.5.1}% +\contentsline {pymass}{{Python Code}{5.{1}}{}}{108}{pymass.5.1}% +\contentsline {pymass}{{Python Code}{5.{2}}{}}{109}{pymass.5.2}% +\contentsline {juliamass}{{Julia Code}{5.{1}}{}}{111}{juliamass.5.1}% +\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{111}{juliamass.5.2}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{113}{OpenModelicamass.5.1}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{114}{OpenModelicamass.5.2}% +\contentsline {egmass}{{Exercise}{6.{1}}{}}{121}{egmass.6.1}% +\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{122}{ardmass.6.1}% +\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{122}{ardmass.6.2}% +\contentsline {egmass}{{Exercise}{6.{2}}{}}{123}{egmass.6.2}% +\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{124}{codemass.6.1}% +\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{124}{codemass.6.2}% +\contentsline {egmass}{{Exercise}{6.{3}}{}}{129}{egmass.6.3}% +\contentsline {pymass}{{Python Code}{6.{1}}{}}{129}{pymass.6.1}% +\contentsline {pymass}{{Python Code}{6.{2}}{}}{130}{pymass.6.2}% +\contentsline {egmass}{{Exercise}{6.{4}}{}}{132}{egmass.6.4}% +\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{132}{juliamass.6.1}% +\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{133}{juliamass.6.2}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{134}{OpenModelicamass.6.1}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{135}{OpenModelicamass.6.2}% +\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{140}{ardmass.7.1}% +\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{142}{codemass.7.1}% +\contentsline {egmass}{{Exercise}{7.{1}}{}}{143}{egmass.7.1}% +\contentsline {pymass}{{Python Code}{7.{1}}{}}{145}{pymass.7.1}% +\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{147}{juliamass.7.1}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{149}{OpenModelicamass.7.1}% +\contentsline {egmass}{{Exercise}{8.{1}}{}}{156}{egmass.8.1}% +\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{156}{ardmass.8.1}% +\contentsline {ardmass}{{Arduino Code}{8.{2}}{}}{157}{ardmass.8.2}% +\contentsline {egmass}{{Exercise}{8.{2}}{}}{159}{egmass.8.2}% +\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{160}{codemass.8.1}% +\contentsline {codemass}{{Scilab Code}{8.{2}}{}}{160}{codemass.8.2}% +\contentsline {pymass}{{Python Code}{8.{1}}{}}{166}{pymass.8.1}% +\contentsline {pymass}{{Python Code}{8.{2}}{}}{167}{pymass.8.2}% +\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{170}{juliamass.8.1}% +\contentsline {juliamass}{{Julia Code}{8.{2}}{}}{170}{juliamass.8.2}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{173}{OpenModelicamass.8.1}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{2}}{}}{173}{OpenModelicamass.8.2}% +\contentsline {egmass}{{Exercise}{9.{1}}{}}{180}{egmass.9.1}% +\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{180}{ardmass.9.1}% +\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{180}{ardmass.9.2}% +\contentsline {ardmass}{{Arduino Code}{9.{3}}{}}{181}{ardmass.9.3}% +\contentsline {ardmass}{{Arduino Code}{9.{4}}{}}{181}{ardmass.9.4}% +\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{183}{codemass.9.1}% +\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{184}{codemass.9.2}% +\contentsline {codemass}{{Scilab Code}{9.{3}}{}}{184}{codemass.9.3}% +\contentsline {codemass}{{Scilab Code}{9.{4}}{}}{184}{codemass.9.4}% +\contentsline {pymass}{{Python Code}{9.{1}}{}}{191}{pymass.9.1}% +\contentsline {pymass}{{Python Code}{9.{2}}{}}{192}{pymass.9.2}% +\contentsline {pymass}{{Python Code}{9.{3}}{}}{193}{pymass.9.3}% +\contentsline {pymass}{{Python Code}{9.{4}}{}}{193}{pymass.9.4}% +\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{196}{juliamass.9.1}% +\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{196}{juliamass.9.2}% +\contentsline {juliamass}{{Julia Code}{9.{3}}{}}{197}{juliamass.9.3}% +\contentsline {juliamass}{{Julia Code}{9.{4}}{}}{197}{juliamass.9.4}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{200}{OpenModelicamass.9.1}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{200}{OpenModelicamass.9.2}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{3}}{}}{201}{OpenModelicamass.9.3}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{4}}{}}{202}{OpenModelicamass.9.4}% +\contentsline {egmass}{{Exercise}{10.{1}}{}}{208}{egmass.10.1}% +\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{208}{ardmass.10.1}% +\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{208}{ardmass.10.2}% +\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{209}{ardmass.10.3}% +\contentsline {egmass}{{Exercise}{10.{2}}{}}{212}{egmass.10.2}% +\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{212}{codemass.10.1}% +\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{212}{codemass.10.2}% +\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{213}{codemass.10.3}% +\contentsline {egmass}{{Exercise}{10.{3}}{}}{215}{egmass.10.3}% +\contentsline {pymass}{{Python Code}{10.{1}}{}}{219}{pymass.10.1}% +\contentsline {pymass}{{Python Code}{10.{2}}{}}{220}{pymass.10.2}% +\contentsline {pymass}{{Python Code}{10.{3}}{}}{221}{pymass.10.3}% +\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{224}{juliamass.10.1}% +\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{225}{juliamass.10.2}% +\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{225}{juliamass.10.3}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{228}{OpenModelicamass.10.1}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{229}{OpenModelicamass.10.2}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{229}{OpenModelicamass.10.3}% +\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{241}{ardmass.11.1}% +\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{243}{codemass.11.1}% +\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{243}{codemass.11.2}% +\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{244}{codemass.11.3}% +\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{244}{codemass.11.4}% +\contentsline {pymass}{{Python Code}{11.{1}}{}}{250}{pymass.11.1}% +\contentsline {pymass}{{Python Code}{11.{2}}{}}{250}{pymass.11.2}% +\contentsline {pymass}{{Python Code}{11.{3}}{}}{250}{pymass.11.3}% +\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{252}{juliamass.11.1}% +\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{252}{juliamass.11.2}% +\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{252}{juliamass.11.3}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{254}{OpenModelicamass.11.1}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{254}{OpenModelicamass.11.2}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{255}{OpenModelicamass.11.3}% diff --git a/floss-arduino.toc b/floss-arduino.toc index db154f7..3d42694 100644 --- a/floss-arduino.toc +++ b/floss-arduino.toc @@ -1,10 +1,13 @@ -\contentsline {chapter}{\numberline {Preface}}{vii}{chapter*.2}% -\contentsline {chapter}{\numberline {List of Figures}}{ix}{chapter*.3}% -\contentsline {chapter}{\numberline {List of Tables}}{xiii}{chapter*.4}% -\contentsline {chapter}{\numberline {List of Arduino \ Code}}{xv}{chapter*.5}% -\contentsline {chapter}{\numberline {List of Scilab Code}}{xvii}{chapter*.6}% +\contentsline {chapter}{\numberline {Preface}}{xi}{chapter*.2}% +\contentsline {chapter}{\numberline {List of Figures}}{xiii}{chapter*.3}% +\contentsline {chapter}{\numberline {List of Tables}}{xvii}{chapter*.4}% +\contentsline {chapter}{\numberline {List of Arduino \ Code}}{xix}{chapter*.5}% +\contentsline {chapter}{\numberline {List of Scilab Code}}{xxi}{chapter*.6}% +\contentsline {chapter}{\numberline {List of Python \ Code}}{xxiii}{chapter*.7}% +\contentsline {chapter}{\numberline {List of Julia\ Code}}{xxv}{chapter*.8}% +\contentsline {chapter}{\numberline {List of OpenModelica\ Code}}{xxvii}{chapter*.9}% \thispagestyle {empty} -\contentsline {chapter}{\numberline {List of Acronyms}}{xix}{chapter*.7}% +\contentsline {chapter}{\numberline {List of Acronyms}}{xxix}{chapter*.10}% \contentsline {chapter}{\numberline {1}Introduction}{1}{chapter.1}% \contentsline {chapter}{\numberline {2}Hardware Environment}{3}{chapter.2}% \contentsline {section}{\numberline {2.1}Microcontroller}{3}{section.2.1}% @@ -15,9 +18,9 @@ \contentsline {subsection}{\numberline {2.3.1}Brief History}{8}{subsection.2.3.1}% \contentsline {subsection}{\numberline {2.3.2}Arduino Uno Board}{9}{subsection.2.3.2}% \contentsline {subsection}{\numberline {2.3.3}Popular Arduino Projects}{9}{subsection.2.3.3}% -\contentsline {paragraph}{Arduino phone:}{10}{section*.15}% -\contentsline {paragraph}{Candy sorting machine:}{11}{section*.17}% -\contentsline {paragraph}{3D printers:}{11}{section*.18}% +\contentsline {paragraph}{Arduino phone:}{10}{section*.18}% +\contentsline {paragraph}{Candy sorting machine:}{11}{section*.20}% +\contentsline {paragraph}{3D printers:}{11}{section*.21}% \contentsline {section}{\numberline {2.4}Shield}{11}{section.2.4}% \contentsline {section}{\numberline {2.5}Experimental Test Bed}{12}{section.2.5}% \contentsline {section}{\numberline {2.6}Doing the Experiments with a Breadboard}{13}{section.2.6}% @@ -39,97 +42,200 @@ \contentsline {subsection}{\numberline {3.3.1}Downloading, installing and testing}{37}{subsection.3.3.1}% \contentsline {subsection}{\numberline {3.3.2}Use case}{38}{subsection.3.3.2}% \contentsline {subsection}{\numberline {3.3.3}Xcos-Arduino}{41}{subsection.3.3.3}% -\contentsline {chapter}{\numberline {4}Interfacing a Light Emitting Diode}{45}{chapter.4}% -\contentsline {section}{\numberline {4.1}Preliminaries}{45}{section.4.1}% -\contentsline {section}{\numberline {4.2}Connecting an RGB LED with Arduino Uno\ using a breadboard}{47}{section.4.2}% -\contentsline {section}{\numberline {4.3}Lighting the LED from the Arduino IDE}{48}{section.4.3}% -\contentsline {subsection}{\numberline {4.3.1}Lighting the LED}{48}{subsection.4.3.1}% -\contentsline {paragraph}{Note:}{49}{section*.54}% -\contentsline {paragraph}{Note:}{49}{section*.56}% -\contentsline {subsection}{\numberline {4.3.2}Arduino Code}{50}{subsection.4.3.2}% -\contentsline {section}{\numberline {4.4}Lighting the LED from Scilab}{52}{section.4.4}% -\contentsline {subsection}{\numberline {4.4.1}Lighting the LED}{52}{subsection.4.4.1}% -\contentsline {subsection}{\numberline {4.4.2}Scilab Code}{53}{subsection.4.4.2}% -\contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{54}{section.4.5}% -\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{59}{chapter.5}% -\contentsline {section}{\numberline {5.1}Preliminaries}{59}{section.5.1}% -\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{59}{section.5.2}% -\contentsline {section}{\numberline {5.3}Reading the pushbutton status from the Arduino IDE}{62}{section.5.3}% -\contentsline {subsection}{\numberline {5.3.1}Reading the pushbutton status}{62}{subsection.5.3.1}% -\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{63}{subsection.5.3.2}% -\contentsline {section}{\numberline {5.4}Reading the pushbutton Status from Scilab}{64}{section.5.4}% -\contentsline {subsection}{\numberline {5.4.1}Reading the pushbutton Status}{64}{subsection.5.4.1}% -\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{65}{subsection.5.4.2}% -\contentsline {section}{\numberline {5.5}Accessing the pushbutton from Xcos}{66}{section.5.5}% -\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{69}{chapter.6}% -\contentsline {section}{\numberline {6.1}Preliminaries}{69}{section.6.1}% -\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{71}{section.6.2}% -\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{72}{section.6.3}% -\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{72}{subsection.6.3.1}% -\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{74}{subsection.6.3.2}% -\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{74}{section.6.4}% -\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{74}{subsection.6.4.1}% -\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{76}{subsection.6.4.2}% -\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{76}{section.6.5}% -\contentsline {chapter}{\numberline {7}Interfacing a Potentiometer}{81}{chapter.7}% -\contentsline {section}{\numberline {7.1}Preliminaries}{81}{section.7.1}% -\contentsline {section}{\numberline {7.2}Connecting a potentiometer with Arduino Uno\ using a breadboard}{82}{section.7.2}% -\contentsline {section}{\numberline {7.3}Reading the potentiometer from the Arduino IDE}{83}{section.7.3}% -\contentsline {subsection}{\numberline {7.3.1}Reading the potentiometer}{83}{subsection.7.3.1}% -\contentsline {subsection}{\numberline {7.3.2}Arduino Code}{84}{subsection.7.3.2}% -\contentsline {section}{\numberline {7.4}Reading the potentiometer from Scilab}{85}{section.7.4}% -\contentsline {subsection}{\numberline {7.4.1}Reading the potentiometer}{85}{subsection.7.4.1}% -\contentsline {subsection}{\numberline {7.4.2}Scilab Code}{86}{subsection.7.4.2}% -\contentsline {section}{\numberline {7.5}Reading the potentiometer from Xcos}{86}{section.7.5}% -\contentsline {chapter}{\numberline {8}Interfacing a Thermistor}{89}{chapter.8}% -\contentsline {section}{\numberline {8.1}Preliminaries}{89}{section.8.1}% -\contentsline {section}{\numberline {8.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{91}{section.8.2}% -\contentsline {section}{\numberline {8.3}Interfacing the thermistor from the Arduino IDE}{92}{section.8.3}% -\contentsline {subsection}{\numberline {8.3.1}Interfacing the thermistor}{92}{subsection.8.3.1}% -\contentsline {paragraph}{Note:}{94}{section*.91}% -\contentsline {subsection}{\numberline {8.3.2}Arduino Code}{94}{subsection.8.3.2}% -\contentsline {section}{\numberline {8.4}Interfacing the thermistor from Scilab}{96}{section.8.4}% -\contentsline {subsection}{\numberline {8.4.1}Interfacing the thermistor}{96}{subsection.8.4.1}% -\contentsline {paragraph}{Note:}{97}{section*.92}% -\contentsline {subsection}{\numberline {8.4.2}Scilab Code}{98}{subsection.8.4.2}% -\contentsline {section}{\numberline {8.5}Interfacing the thermistor from Xcos}{99}{section.8.5}% -\contentsline {paragraph}{Note:}{102}{section*.99}% -\contentsline {chapter}{\numberline {9}Interfacing a Servomotor}{105}{chapter.9}% -\contentsline {section}{\numberline {9.1}Preliminaries}{105}{section.9.1}% -\contentsline {section}{\numberline {9.2}Connecting a servomotor with Arduino Uno\ using a breadboard}{106}{section.9.2}% -\contentsline {section}{\numberline {9.3}Controlling the servomotor through the Arduino IDE}{107}{section.9.3}% -\contentsline {subsection}{\numberline {9.3.1}Controlling the servomotor}{107}{subsection.9.3.1}% -\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{110}{subsection.9.3.2}% -\contentsline {section}{\numberline {9.4}Controlling the servomotor through Scilab}{112}{section.9.4}% -\contentsline {subsection}{\numberline {9.4.1}Controlling the servomotor}{112}{subsection.9.4.1}% -\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{113}{subsection.9.4.2}% -\contentsline {section}{\numberline {9.5}Controling the servomotor through Xcos}{115}{section.9.5}% -\contentsline {chapter}{\numberline {10}Interfacing a DC Motor}{121}{chapter.10}% -\contentsline {section}{\numberline {10.1}Preliminaries}{121}{section.10.1}% -\contentsline {section}{\numberline {10.2}Controlling the DC motor from Arduino}{123}{section.10.2}% -\contentsline {subsection}{\numberline {10.2.1}Controlling the DC motor}{123}{subsection.10.2.1}% -\contentsline {paragraph}{Note:}{124}{section*.117}% -\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{126}{subsection.10.2.2}% -\contentsline {section}{\numberline {10.3}Controlling the DC motor from Scilab}{127}{section.10.3}% -\contentsline {subsection}{\numberline {10.3.1}Controlling the DC motor}{127}{subsection.10.3.1}% -\contentsline {paragraph}{Note:}{128}{section*.118}% -\contentsline {paragraph}{Note:}{129}{section*.119}% -\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{130}{subsection.10.3.2}% -\contentsline {section}{\numberline {10.4}Controlling the DC motor from Xcos}{131}{section.10.4}% -\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{137}{chapter.11}% -\contentsline {section}{\numberline {11.1}Preliminaries}{137}{section.11.1}% -\contentsline {subsection}{\numberline {11.1.1}Energy meter}{139}{subsection.11.1.1}% -\contentsline {paragraph}{Note:}{141}{section*.132}% -\contentsline {subsection}{\numberline {11.1.2}Endianness}{142}{subsection.11.1.2}% -\contentsline {section}{\numberline {11.2}Setup for the experiment}{144}{section.11.2}% -\contentsline {section}{\numberline {11.3}Software required for this experiment}{145}{section.11.3}% -\contentsline {subsection}{\numberline {11.3.1}Arduino Firmware}{147}{subsection.11.3.1}% -\contentsline {section}{\numberline {11.4}Manifestation of Modbus protocol through Scilab}{147}{section.11.4}% -\contentsline {section}{\numberline {11.5}Reading the electrical parameters from Scilab}{149}{section.11.5}% -\contentsline {subsection}{\numberline {11.5.1}Reading the electrical parameters}{149}{subsection.11.5.1}% -\contentsline {subsection}{\numberline {11.5.2}Scilab Code}{149}{subsection.11.5.2}% -\contentsline {paragraph}{Note: }{150}{section*.140}% -\contentsline {subsection}{\numberline {11.5.3}Output in the Scilab Console}{151}{subsection.11.5.3}% -\contentsline {section}{\numberline {11.6}Reading the electrical parameters from Xcos}{152}{section.11.6}% -\contentsline {chapter}{\numberline {A}Procuring the Hardware}{157}{appendix.A}% -\contentsline {chapter}{\numberline {References}}{159}{appendix*.150}% +\contentsline {section}{\numberline {3.4}Python}{42}{section.3.4}% +\contentsline {subsection}{\numberline {3.4.1}Downloading and installing on Windows}{43}{subsection.3.4.1}% +\contentsline {subsection}{\numberline {3.4.2}Downloading and installing on GNU/Linux Ubuntu}{46}{subsection.3.4.2}% +\contentsline {subsection}{\numberline {3.4.3}Python-Arduino toolbox}{47}{subsection.3.4.3}% +\contentsline {subsection}{\numberline {3.4.4}Firmware}{47}{subsection.3.4.4}% +\contentsline {section}{\numberline {3.5}Julia}{48}{section.3.5}% +\contentsline {subsection}{\numberline {3.5.1}Downloading and installing on Windows}{49}{subsection.3.5.1}% +\contentsline {subsection}{\numberline {3.5.2}Downloading and installing GNU/Linux Ubuntu}{53}{subsection.3.5.2}% +\contentsline {subsection}{\numberline {3.5.3}Julia-Arduino toolbox}{56}{subsection.3.5.3}% +\contentsline {subsection}{\numberline {3.5.4}Firmware}{57}{subsection.3.5.4}% +\contentsline {section}{\numberline {3.6}OpenModelica}{58}{section.3.6}% +\contentsline {subsection}{\numberline {3.6.1}Downloading and installing on Windows}{58}{subsection.3.6.1}% +\contentsline {subsection}{\numberline {3.6.2}Downloading and installing on GNU/Linux Ubuntu}{59}{subsection.3.6.2}% +\contentsline {subsection}{\numberline {3.6.3}Simulating models in OpenModelica}{60}{subsection.3.6.3}% +\contentsline {subsection}{\numberline {3.6.4}OpenModelica-Arduino toolbox}{64}{subsection.3.6.4}% +\contentsline {subsection}{\numberline {3.6.5}Firmware}{67}{subsection.3.6.5}% +\contentsline {chapter}{\numberline {4}Interfacing a Light Emitting Diode}{69}{chapter.4}% +\contentsline {section}{\numberline {4.1}Preliminaries}{69}{section.4.1}% +\contentsline {section}{\numberline {4.2}Connecting an RGB LED with Arduino Uno\ using a breadboard}{71}{section.4.2}% +\contentsline {section}{\numberline {4.3}Lighting the LED from the Arduino IDE}{72}{section.4.3}% +\contentsline {subsection}{\numberline {4.3.1}Lighting the LED}{72}{subsection.4.3.1}% +\contentsline {paragraph}{Note:}{73}{section*.78}% +\contentsline {paragraph}{Note:}{73}{section*.80}% +\contentsline {subsection}{\numberline {4.3.2}Arduino Code}{74}{subsection.4.3.2}% +\contentsline {section}{\numberline {4.4}Lighting the LED from Scilab}{76}{section.4.4}% +\contentsline {subsection}{\numberline {4.4.1}Lighting the LED}{76}{subsection.4.4.1}% +\contentsline {subsection}{\numberline {4.4.2}Scilab Code}{77}{subsection.4.4.2}% +\contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{78}{section.4.5}% +\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{83}{section.4.6}% +\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{83}{subsection.4.6.1}% +\contentsline {subsection}{\numberline {4.6.2}Python Code}{85}{subsection.4.6.2}% +\contentsline {section}{\numberline {4.7}Lighting the LED from Julia}{88}{section.4.7}% +\contentsline {subsection}{\numberline {4.7.1}Lighting the LED}{88}{subsection.4.7.1}% +\contentsline {subsection}{\numberline {4.7.2}Julia Code}{89}{subsection.4.7.2}% +\contentsline {section}{\numberline {4.8}Lighting the LED from OpenModelica}{91}{section.4.8}% +\contentsline {subsection}{\numberline {4.8.1}Lighting the LED}{91}{subsection.4.8.1}% +\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{92}{subsection.4.8.2}% +\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{97}{chapter.5}% +\contentsline {section}{\numberline {5.1}Preliminaries}{97}{section.5.1}% +\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{97}{section.5.2}% +\contentsline {section}{\numberline {5.3}Reading the pushbutton status from the Arduino IDE}{100}{section.5.3}% +\contentsline {subsection}{\numberline {5.3.1}Reading the pushbutton status}{100}{subsection.5.3.1}% +\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{101}{subsection.5.3.2}% +\contentsline {section}{\numberline {5.4}Reading the pushbutton Status from Scilab}{102}{section.5.4}% +\contentsline {subsection}{\numberline {5.4.1}Reading the pushbutton Status}{102}{subsection.5.4.1}% +\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{103}{subsection.5.4.2}% +\contentsline {section}{\numberline {5.5}Accessing the pushbutton from Xcos}{104}{section.5.5}% +\contentsline {section}{\numberline {5.6}Reading the pushbutton status from Python}{107}{section.5.6}% +\contentsline {subsection}{\numberline {5.6.1}Reading the pushbutton status}{107}{subsection.5.6.1}% +\contentsline {subsection}{\numberline {5.6.2}Python Code}{108}{subsection.5.6.2}% +\contentsline {section}{\numberline {5.7}Reading the pushbutton status from Julia}{110}{section.5.7}% +\contentsline {subsection}{\numberline {5.7.1}Reading the pushbutton status}{110}{subsection.5.7.1}% +\contentsline {subsection}{\numberline {5.7.2}Julia Code}{111}{subsection.5.7.2}% +\contentsline {section}{\numberline {5.8}Reading the pushbutton status from OpenModelica}{112}{section.5.8}% +\contentsline {subsection}{\numberline {5.8.1}Reading the pushbutton status}{112}{subsection.5.8.1}% +\contentsline {subsection}{\numberline {5.8.2}OpenModelica Code}{113}{subsection.5.8.2}% +\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{117}{chapter.6}% +\contentsline {section}{\numberline {6.1}Preliminaries}{117}{section.6.1}% +\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{119}{section.6.2}% +\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{120}{section.6.3}% +\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{120}{subsection.6.3.1}% +\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{122}{subsection.6.3.2}% +\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{122}{section.6.4}% +\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{122}{subsection.6.4.1}% +\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{124}{subsection.6.4.2}% +\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{124}{section.6.5}% +\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{128}{section.6.6}% +\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{128}{subsection.6.6.1}% +\contentsline {subsection}{\numberline {6.6.2}Python Code}{129}{subsection.6.6.2}% +\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{131}{section.6.7}% +\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{131}{subsection.6.7.1}% +\contentsline {subsection}{\numberline {6.7.2}Julia Code}{132}{subsection.6.7.2}% +\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{133}{section.6.8}% +\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{133}{subsection.6.8.1}% +\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{134}{subsection.6.8.2}% +\contentsline {chapter}{\numberline {7}Interfacing a Potentiometer}{137}{chapter.7}% +\contentsline {section}{\numberline {7.1}Preliminaries}{137}{section.7.1}% +\contentsline {section}{\numberline {7.2}Connecting a potentiometer with Arduino Uno\ using a breadboard}{138}{section.7.2}% +\contentsline {section}{\numberline {7.3}Reading the potentiometer from the Arduino IDE}{139}{section.7.3}% +\contentsline {subsection}{\numberline {7.3.1}Reading the potentiometer}{139}{subsection.7.3.1}% +\contentsline {subsection}{\numberline {7.3.2}Arduino Code}{140}{subsection.7.3.2}% +\contentsline {section}{\numberline {7.4}Reading the potentiometer from Scilab}{141}{section.7.4}% +\contentsline {subsection}{\numberline {7.4.1}Reading the potentiometer}{141}{subsection.7.4.1}% +\contentsline {subsection}{\numberline {7.4.2}Scilab Code}{142}{subsection.7.4.2}% +\contentsline {section}{\numberline {7.5}Reading the potentiometer from Xcos}{142}{section.7.5}% +\contentsline {section}{\numberline {7.6}Reading the potentiometer from Python}{145}{section.7.6}% +\contentsline {subsection}{\numberline {7.6.1}Reading the potentiometer}{145}{subsection.7.6.1}% +\contentsline {subsection}{\numberline {7.6.2}Python Code}{145}{subsection.7.6.2}% +\contentsline {section}{\numberline {7.7}Reading the potentiometer from Julia}{147}{section.7.7}% +\contentsline {subsection}{\numberline {7.7.1}Reading the potentiometer}{147}{subsection.7.7.1}% +\contentsline {subsection}{\numberline {7.7.2}Julia Code}{147}{subsection.7.7.2}% +\contentsline {section}{\numberline {7.8}Reading the potentiometer from OpenModelica}{148}{section.7.8}% +\contentsline {subsection}{\numberline {7.8.1}Reading the potentiometer}{148}{subsection.7.8.1}% +\contentsline {subsection}{\numberline {7.8.2}OpenModelica Code}{149}{subsection.7.8.2}% +\contentsline {chapter}{\numberline {8}Interfacing a Thermistor}{151}{chapter.8}% +\contentsline {section}{\numberline {8.1}Preliminaries}{151}{section.8.1}% +\contentsline {section}{\numberline {8.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{153}{section.8.2}% +\contentsline {section}{\numberline {8.3}Interfacing the thermistor from the Arduino IDE}{154}{section.8.3}% +\contentsline {subsection}{\numberline {8.3.1}Interfacing the thermistor}{154}{subsection.8.3.1}% +\contentsline {paragraph}{Note:}{156}{section*.115}% +\contentsline {subsection}{\numberline {8.3.2}Arduino Code}{156}{subsection.8.3.2}% +\contentsline {section}{\numberline {8.4}Interfacing the thermistor from Scilab}{158}{section.8.4}% +\contentsline {subsection}{\numberline {8.4.1}Interfacing the thermistor}{158}{subsection.8.4.1}% +\contentsline {paragraph}{Note:}{159}{section*.116}% +\contentsline {subsection}{\numberline {8.4.2}Scilab Code}{160}{subsection.8.4.2}% +\contentsline {section}{\numberline {8.5}Interfacing the thermistor from Xcos}{161}{section.8.5}% +\contentsline {paragraph}{Note:}{164}{section*.123}% +\contentsline {section}{\numberline {8.6}Interfacing the thermistor from Python}{164}{section.8.6}% +\contentsline {subsection}{\numberline {8.6.1}Interfacing the thermistor}{164}{subsection.8.6.1}% +\contentsline {paragraph}{Note:}{166}{section*.124}% +\contentsline {subsection}{\numberline {8.6.2}Python Code}{166}{subsection.8.6.2}% +\contentsline {section}{\numberline {8.7}Interfacing the thermistor from Julia}{168}{section.8.7}% +\contentsline {subsection}{\numberline {8.7.1}Interfacing the thermistor}{168}{subsection.8.7.1}% +\contentsline {paragraph}{Note:}{170}{section*.125}% +\contentsline {subsection}{\numberline {8.7.2}Julia Code}{170}{subsection.8.7.2}% +\contentsline {section}{\numberline {8.8}Interfacing the thermistor from OpenModelica}{171}{section.8.8}% +\contentsline {subsection}{\numberline {8.8.1}Interfacing the thermistor}{171}{subsection.8.8.1}% +\contentsline {paragraph}{Note:}{172}{section*.126}% +\contentsline {subsection}{\numberline {8.8.2}OpenModelica Code}{173}{subsection.8.8.2}% +\contentsline {chapter}{\numberline {9}Interfacing a Servomotor}{175}{chapter.9}% +\contentsline {section}{\numberline {9.1}Preliminaries}{175}{section.9.1}% +\contentsline {section}{\numberline {9.2}Connecting a servomotor with Arduino Uno\ using a breadboard}{176}{section.9.2}% +\contentsline {section}{\numberline {9.3}Controlling the servomotor through the Arduino IDE}{177}{section.9.3}% +\contentsline {subsection}{\numberline {9.3.1}Controlling the servomotor}{177}{subsection.9.3.1}% +\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{180}{subsection.9.3.2}% +\contentsline {section}{\numberline {9.4}Controlling the servomotor through Scilab}{182}{section.9.4}% +\contentsline {subsection}{\numberline {9.4.1}Controlling the servomotor}{182}{subsection.9.4.1}% +\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{183}{subsection.9.4.2}% +\contentsline {section}{\numberline {9.5}Controling the servomotor through Xcos}{185}{section.9.5}% +\contentsline {section}{\numberline {9.6}Controlling the servomotor through Python}{189}{section.9.6}% +\contentsline {subsection}{\numberline {9.6.1}Controlling the servomotor}{189}{subsection.9.6.1}% +\contentsline {subsection}{\numberline {9.6.2}Python Code}{191}{subsection.9.6.2}% +\contentsline {section}{\numberline {9.7}Controlling the servomotor through Julia}{194}{section.9.7}% +\contentsline {subsection}{\numberline {9.7.1}Controlling the servomotor}{194}{subsection.9.7.1}% +\contentsline {subsection}{\numberline {9.7.2}Julia Code}{196}{subsection.9.7.2}% +\contentsline {section}{\numberline {9.8}Controlling the servomotor through OpenModelica}{198}{section.9.8}% +\contentsline {subsection}{\numberline {9.8.1}Controlling the servomotor}{198}{subsection.9.8.1}% +\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{199}{subsection.9.8.2}% +\contentsline {chapter}{\numberline {10}Interfacing a DC Motor}{203}{chapter.10}% +\contentsline {section}{\numberline {10.1}Preliminaries}{203}{section.10.1}% +\contentsline {section}{\numberline {10.2}Controlling the DC motor from Arduino}{205}{section.10.2}% +\contentsline {subsection}{\numberline {10.2.1}Controlling the DC motor}{205}{subsection.10.2.1}% +\contentsline {paragraph}{Note:}{206}{section*.144}% +\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{208}{subsection.10.2.2}% +\contentsline {section}{\numberline {10.3}Controlling the DC motor from Scilab}{209}{section.10.3}% +\contentsline {subsection}{\numberline {10.3.1}Controlling the DC motor}{209}{subsection.10.3.1}% +\contentsline {paragraph}{Note:}{210}{section*.145}% +\contentsline {paragraph}{Note:}{211}{section*.146}% +\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{212}{subsection.10.3.2}% +\contentsline {section}{\numberline {10.4}Controlling the DC motor from Xcos}{213}{section.10.4}% +\contentsline {section}{\numberline {10.5}Controlling the DC motor from Python}{216}{section.10.5}% +\contentsline {subsection}{\numberline {10.5.1}Controlling the DC motor}{216}{subsection.10.5.1}% +\contentsline {paragraph}{Note:}{217}{section*.153}% +\contentsline {paragraph}{Note:}{218}{section*.154}% +\contentsline {subsection}{\numberline {10.5.2}Python Code}{219}{subsection.10.5.2}% +\contentsline {section}{\numberline {10.6}Controlling the DC motor from Julia}{222}{section.10.6}% +\contentsline {subsection}{\numberline {10.6.1}Controlling the DC motor}{222}{subsection.10.6.1}% +\contentsline {paragraph}{Note:}{222}{section*.155}% +\contentsline {paragraph}{Note:}{224}{section*.156}% +\contentsline {subsection}{\numberline {10.6.2}Julia Code}{224}{subsection.10.6.2}% +\contentsline {section}{\numberline {10.7}Controlling the DC motor from OpenModelica}{225}{section.10.7}% +\contentsline {subsection}{\numberline {10.7.1}Controlling the DC motor}{225}{subsection.10.7.1}% +\contentsline {paragraph}{Note:}{226}{section*.157}% +\contentsline {paragraph}{Note:}{227}{section*.158}% +\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{228}{subsection.10.7.2}% +\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{231}{chapter.11}% +\contentsline {section}{\numberline {11.1}Preliminaries}{231}{section.11.1}% +\contentsline {subsection}{\numberline {11.1.1}Energy meter}{233}{subsection.11.1.1}% +\contentsline {paragraph}{Note:}{235}{section*.165}% +\contentsline {subsection}{\numberline {11.1.2}Endianness}{236}{subsection.11.1.2}% +\contentsline {section}{\numberline {11.2}Setup for the experiment}{238}{section.11.2}% +\contentsline {section}{\numberline {11.3}Software required for this experiment}{239}{section.11.3}% +\contentsline {subsection}{\numberline {11.3.1}Arduino Firmware}{241}{subsection.11.3.1}% +\contentsline {section}{\numberline {11.4}Manifestation of Modbus protocol through Scilab}{241}{section.11.4}% +\contentsline {section}{\numberline {11.5}Reading the electrical parameters from Scilab}{243}{section.11.5}% +\contentsline {subsection}{\numberline {11.5.1}Reading the electrical parameters}{243}{subsection.11.5.1}% +\contentsline {subsection}{\numberline {11.5.2}Scilab Code}{243}{subsection.11.5.2}% +\contentsline {paragraph}{Note: }{244}{section*.173}% +\contentsline {subsection}{\numberline {11.5.3}Output in the Scilab Console}{245}{subsection.11.5.3}% +\contentsline {section}{\numberline {11.6}Reading the electrical parameters from Xcos}{246}{section.11.6}% +\contentsline {section}{\numberline {11.7}Manifestation of Modbus protocol through Python}{249}{section.11.7}% +\contentsline {paragraph}{Note: }{249}{section*.182}% +\contentsline {section}{\numberline {11.8}Reading the electrical parameters from Python}{250}{section.11.8}% +\contentsline {subsection}{\numberline {11.8.1}Reading the electrical parameters}{250}{subsection.11.8.1}% +\contentsline {subsection}{\numberline {11.8.2}Python Code}{250}{subsection.11.8.2}% +\contentsline {section}{\numberline {11.9}Manifestation of Modbus protocol through Julia}{251}{section.11.9}% +\contentsline {paragraph}{Note: }{251}{section*.183}% +\contentsline {section}{\numberline {11.10}Reading the electrical parameters from Julia}{251}{section.11.10}% +\contentsline {subsection}{\numberline {11.10.1}Reading the electrical parameters}{251}{subsection.11.10.1}% +\contentsline {subsection}{\numberline {11.10.2}Julia Code}{252}{subsection.11.10.2}% +\contentsline {section}{\numberline {11.11}Manifestation of Modbus protocol through OpenModelica}{253}{section.11.11}% +\contentsline {paragraph}{Note: }{253}{section*.184}% +\contentsline {section}{\numberline {11.12}Reading the electrical parameters from OpenModelica}{254}{section.11.12}% +\contentsline {subsection}{\numberline {11.12.1}Reading the electrical parameters}{254}{subsection.11.12.1}% +\contentsline {subsection}{\numberline {11.12.2}OpenModelica Code}{254}{subsection.11.12.2}% +\contentsline {chapter}{\numberline {A}Procuring the Hardware}{257}{appendix.A}% +\contentsline {chapter}{\numberline {References}}{259}{appendix*.186}% Binary files differdiff --git a/openmodelica.pdf b/openmodelica.pdf Binary files differBinary files differBinary files differindex 3449782..7e4bc92 100644 --- a/openmodelica.pdf +++ b/openmodelica.pdf |