diff options
author | Sudhakar Kumar | 2023-09-18 23:19:02 +0530 |
---|---|---|
committer | Sudhakar Kumar | 2023-09-18 23:19:02 +0530 |
commit | d735fda9c4b5ee634900b29fe28423e03e4899e7 (patch) | |
tree | a0508cd044dc8d2385d8ab77480a8b16b6a02c24 | |
parent | 7b27886ce5e7bdf5000c4e93aa9815c5096bc92b (diff) | |
download | FLOSS-Arduino-Book-d735fda9c4b5ee634900b29fe28423e03e4899e7.tar.gz FLOSS-Arduino-Book-d735fda9c4b5ee634900b29fe28423e03e4899e7.tar.bz2 FLOSS-Arduino-Book-d735fda9c4b5ee634900b29fe28423e03e4899e7.zip |
Reduce text area
-rw-r--r-- | floss-arduino.OpenModelicad | 44 | ||||
-rw-r--r-- | floss-arduino.ard | 40 | ||||
-rw-r--r-- | floss-arduino.aux | 3050 | ||||
-rw-r--r-- | floss-arduino.cod | 46 | ||||
-rw-r--r-- | floss-arduino.idx | 10 | ||||
-rw-r--r-- | floss-arduino.juliad | 44 | ||||
-rw-r--r-- | floss-arduino.lof | 252 | ||||
-rw-r--r-- | floss-arduino.log | 2882 | ||||
-rw-r--r-- | floss-arduino.lot | 64 | ||||
-rw-r--r-- | floss-arduino.pdf | bin | 34497221 -> 34544480 bytes | |||
-rw-r--r-- | floss-arduino.pyd | 44 | ||||
-rw-r--r-- | floss-arduino.tex | 12 | ||||
-rw-r--r-- | floss-arduino.thm | 250 | ||||
-rw-r--r-- | floss-arduino.toc | 474 | ||||
-rw-r--r-- | julia.pdf | bin | 26734671 -> 26752106 bytes | |||
-rw-r--r-- | openmodelica.pdf | bin | 29143433 -> 29169119 bytes | |||
-rw-r--r-- | python.pdf | bin | 26611782 -> 26631436 bytes | |||
-rw-r--r-- | scilab.pdf | bin | 31292867 -> 31315811 bytes |
18 files changed, 4232 insertions, 2980 deletions
diff --git a/floss-arduino.OpenModelicad b/floss-arduino.OpenModelicad index ac246d6..5df9afc 100644 --- a/floss-arduino.OpenModelicad +++ b/floss-arduino.OpenModelicad @@ -1,30 +1,30 @@ -\contentsline {section}{\numberline {3.{1}}An OpenModelica code/model to check whether the firmware is properly installed or not}{67}{OpenModelicamass.3.1}% +\contentsline {section}{\numberline {3.{1}}An OpenModelica code/model to check whether the firmware is properly installed or not}{76}{OpenModelicamass.3.1}% \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{93}{OpenModelicamass.4.1}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{93}{OpenModelicamass.4.2}% -\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{94}{OpenModelicamass.4.3}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{95}{OpenModelicamass.4.4}% +\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{108}{OpenModelicamass.4.1}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{109}{OpenModelicamass.4.2}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{110}{OpenModelicamass.4.3}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{111}{OpenModelicamass.4.4}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and display it on the output window}{113}{OpenModelicamass.5.1}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{114}{OpenModelicamass.5.2}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and display it on the output window}{133}{OpenModelicamass.5.1}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{134}{OpenModelicamass.5.2}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{134}{OpenModelicamass.6.1}% -\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{135}{OpenModelicamass.6.2}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{158}{OpenModelicamass.6.1}% +\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{159}{OpenModelicamass.6.2}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{149}{OpenModelicamass.7.1}% +\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{176}{OpenModelicamass.7.1}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{173}{OpenModelicamass.8.1}% -\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{173}{OpenModelicamass.8.2}% +\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{206}{OpenModelicamass.8.1}% +\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{207}{OpenModelicamass.8.2}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{200}{OpenModelicamass.9.1}% -\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{200}{OpenModelicamass.9.2}% -\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{201}{OpenModelicamass.9.3}% -\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{202}{OpenModelicamass.9.4}% +\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{240}{OpenModelicamass.9.1}% +\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{241}{OpenModelicamass.9.2}% +\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{242}{OpenModelicamass.9.3}% +\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{242}{OpenModelicamass.9.4}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{230}{OpenModelicamass.10.1}% -\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{231}{OpenModelicamass.10.2}% -\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{231}{OpenModelicamass.10.3}% +\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{276}{OpenModelicamass.10.1}% +\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{277}{OpenModelicamass.10.2}% +\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{278}{OpenModelicamass.10.3}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{256}{OpenModelicamass.11.1}% -\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{256}{OpenModelicamass.11.2}% -\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{257}{OpenModelicamass.11.3}% +\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{308}{OpenModelicamass.11.1}% +\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{308}{OpenModelicamass.11.2}% +\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{309}{OpenModelicamass.11.3}% diff --git a/floss-arduino.ard b/floss-arduino.ard index dda3879..57cca70 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}% +\contentsline {section}{\numberline {3.{1}}First 10 lines of the FLOSS firmware}{30}{ardmass.3.1}% \addvspace {10pt} -\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}% +\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{85}{ardmass.4.1}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{86}{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}{86}{ardmass.4.3}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{86}{ardmass.4.4}% \addvspace {10pt} -\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}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and display it on the Serial Monitor}{118}{ardmass.5.1}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{118}{ardmass.5.2}% \addvspace {10pt} -\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}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{142}{ardmass.6.1}% +\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{143}{ardmass.6.2}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{140}{ardmass.7.1}% +\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{165}{ardmass.7.1}% \addvspace {10pt} -\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}% +\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{185}{ardmass.8.1}% +\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{186}{ardmass.8.2}% \addvspace {10pt} -\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}% +\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{215}{ardmass.9.1}% +\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{216}{ardmass.9.2}% +\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in increments}{216}{ardmass.9.3}% +\contentsline {section}{\numberline {9.{4}}Rotating the servomotor through the potentiometer}{217}{ardmass.9.4}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{210}{ardmass.10.1}% -\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{210}{ardmass.10.2}% -\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{211}{ardmass.10.3}% +\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{251}{ardmass.10.1}% +\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{252}{ardmass.10.2}% +\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{252}{ardmass.10.3}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{243}{ardmass.11.1}% +\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{293}{ardmass.11.1}% diff --git a/floss-arduino.aux b/floss-arduino.aux index 6f0953d..541ae2c 100644 --- a/floss-arduino.aux +++ b/floss-arduino.aux @@ -19,1646 +19,1646 @@ \bibstyle{unsrt} \@writefile{toc}{\contentsline {chapter}{\numberline {Preface}}{xi}{chapter*.2}\protected@file@percent } \@writefile{toc}{\contentsline {chapter}{\numberline {List of Figures}}{xiii}{chapter*.3}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {List of Tables}}{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}{\contentsline {chapter}{\numberline {List of Tables}}{xix}{chapter*.4}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {List of Arduino \ Code}}{xxi}{chapter*.5}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {List of Scilab Code}}{xxiii}{chapter*.6}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {List of Python \ Code}}{xxv}{chapter*.7}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {List of Julia\ Code}}{xxvii}{chapter*.8}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {List of OpenModelica\ Code}}{xxix}{chapter*.9}\protected@file@percent } \@writefile{toc}{\thispagestyle {empty}} -\@writefile{toc}{\contentsline {chapter}{\numberline {List of Acronyms}}{xxix}{chapter*.10}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {List of Acronyms}}{xxxii}{chapter*.10}\protected@file@percent } \citation{CNES-Scilab} \@writefile{toc}{\contentsline {chapter}{\numberline {1}Introduction}{1}{chapter.1}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} \newlabel{sec:intro}{{1}{1}{Introduction}{chapter.1}{}} \citation{scilab-arduino} -\newlabel{fn:file-loc}{{2}{2}{}{Hfootnote.2}{}} -\@writefile{toc}{\contentsline {chapter}{\numberline {2}Hardware Environment}{3}{chapter.2}\protected@file@percent } +\newlabel{fn:file-loc}{{2}{3}{}{Hfootnote.2}{}} +\@writefile{toc}{\contentsline {chapter}{\numberline {2}Hardware Environment}{5}{chapter.2}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{sec:hw-env}{{2}{3}{Hardware Environment}{chapter.2}{}} -\@writefile{toc}{\contentsline {section}{\numberline {2.1}Microcontroller}{3}{section.2.1}\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 } +\newlabel{sec:hw-env}{{2}{5}{Hardware Environment}{chapter.2}{}} +\@writefile{toc}{\contentsline {section}{\numberline {2.1}Microcontroller}{5}{section.2.1}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {2.1}{\ignorespaces Functional block diagram of a microcontroller\relax }}{6}{figure.caption.11}\protected@file@percent } \providecommand*\caption@xref[2]{\@setref\relax\@undefined{#1}} -\newlabel{micro-arch}{{2.1}{4}{Functional block diagram of a microcontroller\relax }{figure.caption.11}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {2.1.1}Organization of a Microcontroller}{4}{subsection.2.1.1}\protected@file@percent } -\@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.12}\protected@file@percent } -\newlabel{resolution}{{2.2}{6}{ADC resolution\relax }{figure.caption.12}{}} +\newlabel{micro-arch}{{2.1}{6}{Functional block diagram of a microcontroller\relax }{figure.caption.11}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {2.1.1}Organization of a Microcontroller}{6}{subsection.2.1.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {2.1.2}Microcontroller Peripherals}{7}{subsection.2.1.2}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {2.2}{\ignorespaces ADC resolution\relax }}{9}{figure.caption.12}\protected@file@percent } +\newlabel{resolution}{{2.2}{9}{ADC resolution\relax }{figure.caption.12}{}} \citation{oshw-ref} \citation{oshw-ref} \citation{OSHW-logo-ref} -\@writefile{lof}{\contentsline {figure}{\numberline {2.3}{\ignorespaces The logo of Open Source Hardware\relax }}{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 } -\@writefile{toc}{\contentsline {subsection}{\numberline {2.3.1}Brief History}{8}{subsection.2.3.1}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {2.3}{\ignorespaces The logo of Open Source Hardware\relax }}{10}{figure.caption.13}\protected@file@percent } +\newlabel{fig:OSHW-logo}{{2.3}{10}{The logo of Open Source Hardware\relax }{figure.caption.13}{}} +\@writefile{toc}{\contentsline {section}{\numberline {2.2}Open Source Hardware (OSHW)}{10}{section.2.2}\protected@file@percent } +\newlabel{sec:oshw}{{2.2}{10}{Open Source Hardware (OSHW)}{section.2.2}{}} +\@writefile{toc}{\contentsline {section}{\numberline {2.3}Arduino}{11}{section.2.3}\protected@file@percent } \citation{uno-ref} \citation{mega-ref} \citation{lily-ref} -\@writefile{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.1}Brief History}{12}{subsection.2.3.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {2.3.2}Arduino Uno Board}{12}{subsection.2.3.2}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {2.4}{\ignorespaces Arduino Uno Board\relax }}{13}{figure.caption.14}\protected@file@percent } +\newlabel{arduino}{{2.4}{13}{Arduino Uno Board\relax }{figure.caption.14}{}} +\@writefile{lot}{\contentsline {table}{\numberline {2.1}{\ignorespaces Arduino Uno hardware specifications\relax }}{13}{table.caption.15}\protected@file@percent } +\newlabel{micro-table}{{2.1}{13}{Arduino Uno hardware specifications\relax }{table.caption.15}{}} \citation{phone-ref} -\@writefile{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 {subsection}{\numberline {2.3.3}Popular Arduino Projects}{10}{subsection.2.3.3}\protected@file@percent } \citation{candy-ref} \citation{3d-printer-ref} +\@writefile{lof}{\contentsline {figure}{\numberline {2.5}{\ignorespaces Arduino Mega Board\relax }}{14}{figure.caption.16}\protected@file@percent } +\newlabel{mega}{{2.5}{14}{Arduino Mega Board\relax }{figure.caption.16}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {2.6}{\ignorespaces LilyPad Arduino Board\relax }}{14}{figure.caption.17}\protected@file@percent } +\newlabel{lily}{{2.6}{14}{LilyPad Arduino Board\relax }{figure.caption.17}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {2.3.3}Popular Arduino Projects}{14}{subsection.2.3.3}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Arduino phone:}{14}{section*.18}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Candy sorting machine:}{14}{section*.20}\protected@file@percent } \citation{shield-ref} -\@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}{Arduino phone:}{11}{section*.18}\protected@file@percent } -\@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{lof}{\contentsline {figure}{\numberline {2.7}{\ignorespaces Arduino Phone\relax }}{15}{figure.caption.19}\protected@file@percent } +\newlabel{arduino-phone}{{2.7}{15}{Arduino Phone\relax }{figure.caption.19}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {2.8}{\ignorespaces 3D printer\relax }}{15}{figure.caption.22}\protected@file@percent } +\newlabel{3dprinter}{{2.8}{15}{3D printer\relax }{figure.caption.22}{}} +\@writefile{toc}{\contentsline {paragraph}{3D printers:}{15}{section*.21}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {2.4}Shield}{15}{section.2.4}\protected@file@percent } +\newlabel{shield-hw}{{2.4}{15}{Shield}{section.2.4}{}} \citation{shield-ref} -\@writefile{lof}{\contentsline {figure}{\numberline {2.8}{\ignorespaces 3D printer\relax }}{12}{figure.caption.22}\protected@file@percent } -\newlabel{3dprinter}{{2.8}{12}{3D printer\relax }{figure.caption.22}{}} -\@writefile{toc}{\contentsline {section}{\numberline {2.4}Shield}{12}{section.2.4}\protected@file@percent } -\newlabel{shield-hw}{{2.4}{12}{Shield}{section.2.4}{}} -\newlabel{1@xvr}{{}{12}} -\newlabel{1@vr}{{}{12}} -\newlabel{2@xvr}{{}{12}} -\newlabel{2@vr}{{}{12}} -\@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.5}Experimental Test Bed}{13}{section.2.5}\protected@file@percent } -\@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{toc}{\contentsline {section}{\numberline {2.6}Doing the Experiments with a Breadboard}{14}{section.2.6}\protected@file@percent } -\newlabel{sec:hw-bread}{{2.6}{14}{Doing the Experiments with a Breadboard}{section.2.6}{}} -\@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}{\contentsline {figure}{\numberline {2.9}{\ignorespaces PCB image of the Shield}}{16}{figure.caption.23}\protected@file@percent } +\newlabel{fig:PCB-image}{{2.9}{16}{PCB image of the Shield}{figure.caption.23}{}} +\newlabel{1@xvr}{{}{16}} +\newlabel{1@vr}{{}{16}} +\newlabel{2@xvr}{{}{16}} +\newlabel{2@vr}{{}{16}} +\@writefile{lof}{\contentsline {figure}{\numberline {2.10}{\ignorespaces Pictorial representation of the schematic of the Shield\relax }}{17}{figure.caption.24}\protected@file@percent } +\newlabel{fig:sch-shield}{{2.10}{17}{Pictorial representation of the schematic of the Shield\relax }{figure.caption.24}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {2.11}{\ignorespaces PCB of the Shield\relax }}{17}{figure.caption.25}\protected@file@percent } +\newlabel{fig:shield-photo}{{2.11}{17}{PCB of the Shield\relax }{figure.caption.25}{}} +\@writefile{toc}{\contentsline {section}{\numberline {2.5}Experimental Test Bed}{17}{section.2.5}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {2.2}{\ignorespaces Values of components used in the Shield\relax }}{18}{table.caption.26}\protected@file@percent } +\newlabel{tab:shield-values}{{2.2}{18}{Values of components used in the Shield\relax }{table.caption.26}{}} +\@writefile{lot}{\contentsline {table}{\numberline {2.3}{\ignorespaces Information on sensors and pin numbers\relax }}{18}{table.caption.27}\protected@file@percent } +\newlabel{shield-table}{{2.3}{18}{Information on sensors and pin numbers\relax }{table.caption.27}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {2.12}{\ignorespaces Picture of the Shield with all components\relax }}{19}{figure.caption.28}\protected@file@percent } +\newlabel{shield}{{2.12}{19}{Picture of the Shield with all components\relax }{figure.caption.28}{}} +\@writefile{lot}{\contentsline {table}{\numberline {2.4}{\ignorespaces Lists of components to work with the breadboard\relax }}{20}{table.caption.29}\protected@file@percent } +\newlabel{tab:bread-comps}{{2.4}{20}{Lists of components to work with the breadboard\relax }{table.caption.29}{}} +\@writefile{toc}{\contentsline {section}{\numberline {2.6}Doing the Experiments with a Breadboard}{20}{section.2.6}\protected@file@percent } +\newlabel{sec:hw-bread}{{2.6}{20}{Doing the Experiments with a Breadboard}{section.2.6}{}} +\@writefile{toc}{\contentsline {chapter}{\numberline {3}Communication between Software and Arduino}{21}{chapter.3}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{sec:sw-env}{{3}{19}{Communication between Software and Arduino}{chapter.3}{}} -\@writefile{toc}{\contentsline {section}{\numberline {3.1}Arduino IDE}{19}{section.3.1}\protected@file@percent } -\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.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.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.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.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}{}} +\newlabel{sec:sw-env}{{3}{21}{Communication between Software and Arduino}{chapter.3}{}} +\@writefile{toc}{\contentsline {section}{\numberline {3.1}Arduino IDE}{22}{section.3.1}\protected@file@percent } +\newlabel{arduino-ide}{{3.1}{22}{Arduino IDE}{section.3.1}{}} +\newlabel{sec:ard-start}{{3.1}{22}{Arduino IDE}{section.3.1}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.1.1}Downloading and installing on Windows}{22}{subsection.3.1.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {3.1.2}Downloading and installing on GNU/Linux Ubuntu}{23}{subsection.3.1.2}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {3.1}{\ignorespaces Windows device manager\relax }}{24}{figure.caption.30}\protected@file@percent } +\newlabel{win-device-manager}{{3.1}{24}{Windows device manager\relax }{figure.caption.30}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.2}{\ignorespaces Windows device manager\relax }}{24}{figure.caption.31}\protected@file@percent } +\newlabel{win-device-manager-com}{{3.2}{24}{Windows device manager\relax }{figure.caption.31}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.3}{\ignorespaces Windows update driver option\relax }}{25}{figure.caption.32}\protected@file@percent } +\newlabel{win-dri-update}{{3.3}{25}{Windows update driver option\relax }{figure.caption.32}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.4}{\ignorespaces Linux terminal to launch Arduino IDE\relax }}{26}{figure.caption.33}\protected@file@percent } +\newlabel{arduino-opt}{{3.4}{26}{Linux terminal to launch Arduino IDE\relax }{figure.caption.33}{}} +\newlabel{itm:port-check}{{9}{26}{Downloading and installing on GNU/Linux Ubuntu}{Item.47}{}} +\newlabel{itm:port-access}{{10}{26}{Downloading and installing on GNU/Linux Ubuntu}{Item.48}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.1.3}Arduino Development Environment}{26}{subsection.3.1.3}\protected@file@percent } +\newlabel{sec:Arduino-IDE}{{3.1.3}{26}{Arduino Development Environment}{subsection.3.1.3}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.5}{\ignorespaces Arduino IDE\relax }}{27}{figure.caption.34}\protected@file@percent } +\newlabel{ard-ide}{{3.5}{27}{Arduino IDE\relax }{figure.caption.34}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.1.4}Testing Arduino with a sample program}{29}{subsection.3.1.4}\protected@file@percent } +\newlabel{sec:testing-arduino}{{3.1.4}{29}{Testing Arduino with a sample program}{subsection.3.1.4}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.1.5}FLOSS Firmware}{30}{subsection.3.1.5}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{3.{1}}{}}{30}{ardmass.3.1}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {3.{1}}First 10 lines of the FLOSS firmware}{30}{ardmass.3.1}\protected@file@percent } +\newlabel{3@xvr}{{}{30}} +\newlabel{3@vr}{{}{30}} \citation{scilab-ref} \citation{scilab-interop} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.1.5}FLOSS Firmware}{27}{subsection.3.1.5}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{3.{1}}{}}{27}{ardmass.3.1}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {3.{1}}First 10 lines of the FLOSS firmware}{27}{ardmass.3.1}\protected@file@percent } -\newlabel{3@xvr}{{}{27}} -\newlabel{3@vr}{{}{27}} -\newlabel{ard:firmware}{{3.{1}}{27}{FLOSS Firmware}{ardmass.3.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/floss-firmware/floss\textendash firmware.ino}{27}{lstlisting.3.-1}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {3.2}Scilab}{27}{section.3.2}\protected@file@percent } -\newlabel{sec:sci-start}{{3.2}{27}{Scilab}{section.3.2}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.1}Downloading and installing on Windows}{28}{subsection.3.2.1}\protected@file@percent } -\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.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.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.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.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.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.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}} -\newlabel{5@vr}{{}{36}} -\newlabel{sci:test-firmware}{{3.{1}}{36}{Firmware}{codemass.3.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/scilab/test\textunderscore firmware.sce}{36}{lstlisting.3.-4}\protected@file@percent } +\newlabel{ard:firmware}{{3.{1}}{31}{FLOSS Firmware}{ardmass.3.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/floss-firmware/floss\textendash firmware.ino}{31}{lstlisting.3.-1}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {3.2}Scilab}{31}{section.3.2}\protected@file@percent } +\newlabel{sec:sci-start}{{3.2}{31}{Scilab}{section.3.2}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.1}Downloading and installing on Windows}{32}{subsection.3.2.1}\protected@file@percent } +\newlabel{scilab-installation-windows}{{3.2.1}{32}{Downloading and installing on Windows}{subsection.3.2.1}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.2}Downloading and installing on GNU/Linux Ubuntu}{32}{subsection.3.2.2}\protected@file@percent } +\newlabel{scilab-installation-linux}{{3.2.2}{32}{Downloading and installing on GNU/Linux Ubuntu}{subsection.3.2.2}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.6}{\ignorespaces Linux terminal to launch Scilab\relax }}{33}{figure.caption.35}\protected@file@percent } +\newlabel{linux-cd}{{3.6}{33}{Linux terminal to launch Scilab\relax }{figure.caption.35}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.3}Scilab-Arduino toolbox}{33}{subsection.3.2.3}\protected@file@percent } +\newlabel{sec:sci-ard-toolbox}{{3.2.3}{33}{Scilab-Arduino toolbox}{subsection.3.2.3}{}} +\newlabel{4@xvr}{{}{34}} +\newlabel{4@vr}{{}{34}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.7}{\ignorespaces Browsing toolbox directory\relax }}{35}{figure.caption.36}\protected@file@percent } +\newlabel{scilab-browse}{{3.7}{35}{Browsing toolbox directory\relax }{figure.caption.36}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.8}{\ignorespaces Output of builder.sce\relax }}{35}{figure.caption.37}\protected@file@percent } +\newlabel{builder}{{3.8}{35}{Output of builder.sce\relax }{figure.caption.37}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.9}{\ignorespaces Output of loader.sce\relax }}{36}{figure.caption.38}\protected@file@percent } +\newlabel{loader}{{3.9}{36}{Output of loader.sce\relax }{figure.caption.38}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.4}Identifying Arduino communication port number}{36}{subsection.3.2.4}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {3.10}{\ignorespaces Device Manager in windows\relax }}{37}{figure.caption.39}\protected@file@percent } +\newlabel{dev-mgr}{{3.10}{37}{Device Manager in windows\relax }{figure.caption.39}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.11}{\ignorespaces COM port properties window\relax }}{38}{figure.caption.40}\protected@file@percent } +\newlabel{com}{{3.11}{38}{COM port properties window\relax }{figure.caption.40}{}} +\newlabel{fn:port}{{4}{38}{}{Hfootnote.4}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.12}{\ignorespaces Port number on Linux terminal\relax }}{39}{figure.caption.41}\protected@file@percent } +\newlabel{linux-port}{{3.12}{39}{Port number on Linux terminal\relax }{figure.caption.41}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.5}Testing Scilab-Arduino toolbox}{39}{subsection.3.2.5}\protected@file@percent } +\newlabel{sec:testing-scilab-arduino}{{3.2.5}{39}{Testing Scilab-Arduino toolbox}{subsection.3.2.5}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/scilab/test\textunderscore firmware.sce}{40}{lstlisting.3.-2}\protected@file@percent } +\newlabel{fn:firmware}{{5}{40}{}{Hfootnote.5}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.13}{\ignorespaces Scilab test code output\relax }}{41}{figure.caption.42}\protected@file@percent } +\newlabel{test-console}{{3.13}{41}{Scilab test code output\relax }{figure.caption.42}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.14}{\ignorespaces Arduino toolbox functions used in this book\relax }}{41}{figure.caption.43}\protected@file@percent } +\newlabel{func}{{3.14}{41}{Arduino toolbox functions used in this book\relax }{figure.caption.43}{}} \citation{xcos-ref} -\@writefile{toc}{\contentsline {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.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.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{toc}{\contentsline {subsection}{\numberline {3.2.6}Firmware}{42}{subsection.3.2.6}\protected@file@percent } +\newlabel{sec:test-firmware-scilab}{{3.2.6}{42}{Firmware}{subsection.3.2.6}{}} +\@writefile{cod}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{3.{1}}{}}{42}{codemass.3.1}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {3.{1}}A Scilab code to check whether the firmware is properly installed or not}{42}{codemass.3.1}\protected@file@percent } +\newlabel{5@xvr}{{}{42}} +\newlabel{5@vr}{{}{42}} +\newlabel{sci:test-firmware}{{3.{1}}{42}{Firmware}{codemass.3.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/scilab/test\textunderscore firmware.sce}{42}{lstlisting.3.-4}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {3.3}Xcos}{42}{section.3.3}\protected@file@percent } +\newlabel{sec:xcos-start}{{3.3}{42}{Xcos}{section.3.3}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.3.1}Downloading, installing and testing}{42}{subsection.3.3.1}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {3.15}{\ignorespaces Sine generator in palette browser\relax }}{43}{figure.caption.44}\protected@file@percent } +\newlabel{sine-blk}{{3.15}{43}{Sine generator in palette browser\relax }{figure.caption.44}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.16}{\ignorespaces CSCOPE block in xcos\relax }}{44}{figure.caption.45}\protected@file@percent } +\newlabel{plot-blk}{{3.16}{44}{CSCOPE block in xcos\relax }{figure.caption.45}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.3.2}Use case}{44}{subsection.3.3.2}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {3.17}{\ignorespaces CLOCK\_c block in xcos\relax }}{45}{figure.caption.46}\protected@file@percent } +\newlabel{clk-blk}{{3.17}{45}{CLOCK\_c block in xcos\relax }{figure.caption.46}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.18}{\ignorespaces Sine generator in Xcos\relax }}{45}{figure.caption.47}\protected@file@percent } +\newlabel{sine-gen}{{3.18}{45}{Sine generator in Xcos\relax }{figure.caption.47}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.19}{\ignorespaces Sine generator Xcos output\relax }}{46}{figure.caption.48}\protected@file@percent } +\newlabel{sine-output}{{3.19}{46}{Sine generator Xcos output\relax }{figure.caption.48}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.20}{\ignorespaces CSCOPE configuration window\relax }}{46}{figure.caption.49}\protected@file@percent } +\newlabel{cscope-config}{{3.20}{46}{CSCOPE configuration window\relax }{figure.caption.49}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.21}{\ignorespaces Simulation setup window\relax }}{47}{figure.caption.50}\protected@file@percent } +\newlabel{sim-setup}{{3.21}{47}{Simulation setup window\relax }{figure.caption.50}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.3.3}Xcos-Arduino}{47}{subsection.3.3.3}\protected@file@percent } \citation{python-ref} -\@writefile{lof}{\contentsline {figure}{\numberline {3.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}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.22}{\ignorespaces Palette browser showing Arduino blocks\relax }}{48}{figure.caption.51}\protected@file@percent } +\newlabel{arduino-palette}{{3.22}{48}{Palette browser showing Arduino blocks\relax }{figure.caption.51}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.23}{\ignorespaces Xcos block help\relax }}{48}{figure.caption.52}\protected@file@percent } +\newlabel{blk-help}{{3.23}{48}{Xcos block help\relax }{figure.caption.52}{}} +\@writefile{toc}{\contentsline {section}{\numberline {3.4}Python}{48}{section.3.4}\protected@file@percent } +\newlabel{sec:python-start}{{3.4}{48}{Python}{section.3.4}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.4.1}Downloading and installing on Windows}{49}{subsection.3.4.1}\protected@file@percent } +\newlabel{py-windows}{{3.4.1}{49}{Downloading and installing on Windows}{subsection.3.4.1}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.24}{\ignorespaces Installing Python 3 on Windows\relax }}{50}{figure.caption.53}\protected@file@percent } +\newlabel{python-windows}{{3.24}{50}{Installing Python 3 on Windows\relax }{figure.caption.53}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.25}{\ignorespaces Launching the Command Prompt on Windows\relax }}{50}{figure.caption.54}\protected@file@percent } +\newlabel{windows-run}{{3.25}{50}{Launching the Command Prompt on Windows\relax }{figure.caption.54}{}} \citation{pySerial} -\@writefile{lof}{\contentsline {figure}{\numberline {3.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}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.26}{\ignorespaces Command Prompt on Windows\relax }}{51}{figure.caption.55}\protected@file@percent } +\newlabel{windows-cmd}{{3.26}{51}{Command Prompt on Windows\relax }{figure.caption.55}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.4.2}Downloading and installing on GNU/Linux Ubuntu}{52}{subsection.3.4.2}\protected@file@percent } +\newlabel{py-linux}{{3.4.2}{52}{Downloading and installing on GNU/Linux Ubuntu}{subsection.3.4.2}{}} \citation{pySerial} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.4.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}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.4.3}Python-Arduino toolbox}{53}{subsection.3.4.3}\protected@file@percent } +\newlabel{sec:python-toolbox}{{3.4.3}{53}{Python-Arduino toolbox}{subsection.3.4.3}{}} +\newlabel{6@xvr}{{}{53}} +\newlabel{6@vr}{{}{53}} \citation{pySerial} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.4.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{toc}{\contentsline {subsection}{\numberline {3.4.4}Firmware}{54}{subsection.3.4.4}\protected@file@percent } +\newlabel{sec:test-firmware-python}{{3.4.4}{54}{Firmware}{subsection.3.4.4}{}} \@writefile{pyd}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{3.{1}}{}}{54}{pymass.3.1}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {3.{1}}A Python script to check whether the firmware is properly installed or not}{54}{pymass.3.1}\protected@file@percent } \citation{julia-ref} -\@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}{}} +\newlabel{7@xvr}{{}{55}} +\newlabel{7@vr}{{}{55}} +\newlabel{py:test-firmware}{{3.{1}}{55}{Firmware}{pymass.3.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/python/test\textunderscore firmware.py}{55}{lstlisting.3.-5}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {3.5}Julia}{56}{section.3.5}\protected@file@percent } +\newlabel{sec:julia-start}{{3.5}{56}{Julia}{section.3.5}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.1}Downloading and installing on Windows}{56}{subsection.3.5.1}\protected@file@percent } +\newlabel{julia-install-windows}{{3.5.1}{56}{Downloading and installing on Windows}{subsection.3.5.1}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.27}{\ignorespaces Julia's website to download 64-bit Windows/Linux binaries\relax }}{57}{figure.caption.56}\protected@file@percent } +\newlabel{julia-download}{{3.27}{57}{Julia's website to download 64-bit Windows/Linux binaries\relax }{figure.caption.56}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.28}{\ignorespaces Installing Julia 1.6.0 on Windows\relax }}{57}{figure.caption.57}\protected@file@percent } +\newlabel{julia-windows-install}{{3.28}{57}{Installing Julia 1.6.0 on Windows\relax }{figure.caption.57}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.29}{\ignorespaces Launching the Command Prompt on Windows\relax }}{58}{figure.caption.58}\protected@file@percent } +\newlabel{windows-run-julia}{{3.29}{58}{Launching the Command Prompt on Windows\relax }{figure.caption.58}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.30}{\ignorespaces Command Prompt on Windows\relax }}{58}{figure.caption.59}\protected@file@percent } +\newlabel{windows-cmd-julia}{{3.30}{58}{Command Prompt on Windows\relax }{figure.caption.59}{}} \citation{julia-serial-ports} -\@writefile{lof}{\contentsline {figure}{\numberline {3.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}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.31}{\ignorespaces Windows command prompt to launch Julia REPL\relax }}{60}{figure.caption.60}\protected@file@percent } +\newlabel{julia-repl-windows}{{3.31}{60}{Windows command prompt to launch Julia REPL\relax }{figure.caption.60}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.32}{\ignorespaces Windows command prompt to enter Pkg REPL in Julia\relax }}{60}{figure.caption.61}\protected@file@percent } +\newlabel{julia-pkg-windows}{{3.32}{60}{Windows command prompt to enter Pkg REPL in Julia\relax }{figure.caption.61}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.2}Downloading and installing GNU/Linux Ubuntu}{61}{subsection.3.5.2}\protected@file@percent } +\newlabel{julia-install-linux}{{3.5.2}{61}{Downloading and installing GNU/Linux Ubuntu}{subsection.3.5.2}{}} \citation{julia-serial-ports} -\@writefile{lof}{\contentsline {figure}{\numberline {3.33}{\ignorespaces Linux terminal to launch Julia REPL\relax }}{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 } +\@writefile{lof}{\contentsline {figure}{\numberline {3.33}{\ignorespaces Linux terminal to launch Julia REPL\relax }}{63}{figure.caption.62}\protected@file@percent } +\newlabel{julia-repl}{{3.33}{63}{Linux terminal to launch Julia REPL\relax }{figure.caption.62}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.34}{\ignorespaces Linux terminal to enter Pkg REPL in Julia\relax }}{64}{figure.caption.63}\protected@file@percent } +\newlabel{julia-pkg}{{3.34}{64}{Linux terminal to enter Pkg REPL in Julia\relax }{figure.caption.63}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.3}Julia-Arduino toolbox}{65}{subsection.3.5.3}\protected@file@percent } +\newlabel{sec:julia-toolbox}{{3.5.3}{65}{Julia-Arduino toolbox}{subsection.3.5.3}{}} +\newlabel{8@xvr}{{}{65}} +\newlabel{8@vr}{{}{65}} \citation{om-ref} -\@writefile{toc}{\contentsline {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}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.5.4}Firmware}{66}{subsection.3.5.4}\protected@file@percent } +\newlabel{sec:test-firmware-julia}{{3.5.4}{66}{Firmware}{subsection.3.5.4}{}} +\@writefile{cod}{\addvspace {10pt}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{3.{1}}{}}{66}{juliamass.3.1}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {3.{1}}A Julia source file to check whether the firmware is properly installed or not}{66}{juliamass.3.1}\protected@file@percent } +\newlabel{9@xvr}{{}{66}} +\newlabel{9@vr}{{}{66}} +\newlabel{julia:test-firmware}{{3.{1}}{66}{Firmware}{juliamass.3.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/julia/test\textunderscore firmware.jl}{66}{lstlisting.3.-6}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {3.6}OpenModelica}{66}{section.3.6}\protected@file@percent } +\newlabel{sec:OpenModelica-start}{{3.6}{66}{OpenModelica}{section.3.6}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.1}Downloading and installing on Windows}{67}{subsection.3.6.1}\protected@file@percent } +\newlabel{openmodelica-install-windows}{{3.6.1}{67}{Downloading and installing on Windows}{subsection.3.6.1}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.35}{\ignorespaces Allowing Microsoft Defender to run the executable file\relax }}{68}{figure.caption.64}\protected@file@percent } +\newlabel{om-run-anyway}{{3.35}{68}{Allowing Microsoft Defender to run the executable file\relax }{figure.caption.64}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.2}Downloading and installing on GNU/Linux Ubuntu}{68}{subsection.3.6.2}\protected@file@percent } +\newlabel{openmodelica-install-linux}{{3.6.2}{68}{Downloading and installing on GNU/Linux Ubuntu}{subsection.3.6.2}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.36}{\ignorespaces Setup of Modelica Standard Library version\relax }}{69}{figure.caption.65}\protected@file@percent } +\newlabel{om-help}{{3.36}{69}{Setup of Modelica Standard Library version\relax }{figure.caption.65}{}} \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 OpenModelica-Arduino toolbox\relax }}{67}{figure.caption.73}\protected@file@percent } -\newlabel{om-examples-toolbox}{{3.44}{67}{Examples provided in 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{toc}{\contentsline {subsection}{\numberline {3.6.3}Simulating models in OpenModelica}{70}{subsection.3.6.3}\protected@file@percent } +\newlabel{OpenModelica-code-execution}{{3.6.3}{70}{Simulating models in OpenModelica}{subsection.3.6.3}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.37}{\ignorespaces User Interface of OMEdit\relax }}{71}{figure.caption.66}\protected@file@percent } +\newlabel{om-ui}{{3.37}{71}{User Interface of OMEdit\relax }{figure.caption.66}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.38}{\ignorespaces Opening a model in OMEdit\relax }}{72}{figure.caption.67}\protected@file@percent } +\newlabel{om-model-open}{{3.38}{72}{Opening a model in OMEdit\relax }{figure.caption.67}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.39}{\ignorespaces Opening a model in diagram view in OMEdit\relax }}{72}{figure.caption.68}\protected@file@percent } +\newlabel{om-modeling}{{3.39}{72}{Opening a model in diagram view in OMEdit\relax }{figure.caption.68}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.40}{\ignorespaces Different views of a model in OMEdit\relax }}{73}{figure.caption.69}\protected@file@percent } +\newlabel{om-views}{{3.40}{73}{Different views of a model in OMEdit\relax }{figure.caption.69}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.41}{\ignorespaces Opening a model in text view in OMEdit\relax }}{73}{figure.caption.70}\protected@file@percent } +\newlabel{om-text-view}{{3.41}{73}{Opening a model in text view in OMEdit\relax }{figure.caption.70}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.42}{\ignorespaces Simulating a model in OMEdit\relax }}{74}{figure.caption.71}\protected@file@percent } +\newlabel{om-simulate}{{3.42}{74}{Simulating a model in OMEdit\relax }{figure.caption.71}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.43}{\ignorespaces Output window of OMEdit\relax }}{74}{figure.caption.72}\protected@file@percent } +\newlabel{om-sim-success}{{3.43}{74}{Output window of OMEdit\relax }{figure.caption.72}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.4}OpenModelica-Arduino toolbox}{75}{subsection.3.6.4}\protected@file@percent } +\newlabel{sec:load-om-toolbox}{{3.6.4}{75}{OpenModelica-Arduino toolbox}{subsection.3.6.4}{}} +\newlabel{10@xvr}{{}{75}} +\newlabel{10@vr}{{}{75}} +\newlabel{itm:library}{{4}{75}{OpenModelica-Arduino toolbox}{Item.158}{}} +\newlabel{itm:locate}{{5}{76}{OpenModelica-Arduino toolbox}{Item.159}{}} +\newlabel{itm:simulate}{{6}{76}{OpenModelica-Arduino toolbox}{Item.160}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.6.5}Firmware}{76}{subsection.3.6.5}\protected@file@percent } +\newlabel{om-firmware}{{3.6.5}{76}{Firmware}{subsection.3.6.5}{}} +\newlabel{sec:test-firmware-OpenModelica}{{3.6.5}{76}{Firmware}{subsection.3.6.5}{}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{3.{1}}{}}{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{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{3.{1}}{}}{76}{OpenModelicamass.3.1}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {3.{1}}An OpenModelica code/model to check whether the firmware is properly installed or not}{76}{OpenModelicamass.3.1}\protected@file@percent } +\newlabel{11@xvr}{{}{76}} +\newlabel{11@vr}{{}{76}} +\@writefile{lof}{\contentsline {figure}{\numberline {3.44}{\ignorespaces Examples provided in OpenModelica-Arduino toolbox\relax }}{77}{figure.caption.73}\protected@file@percent } +\newlabel{om-examples-toolbox}{{3.44}{77}{Examples provided in OpenModelica-Arduino toolbox\relax }{figure.caption.73}{}} +\newlabel{OpenModelica:test-firmware}{{3.{1}}{77}{Firmware}{OpenModelicamass.3.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/openmodelica/windows//test\textunderscore firmware.mo}{77}{lstlisting.3.-7}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {4}Interfacing a Light Emitting Diode}{79}{chapter.4}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\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}{}} +\newlabel{led}{{4}{79}{Interfacing a Light Emitting Diode}{chapter.4}{}} +\@writefile{toc}{\contentsline {section}{\numberline {4.1}Preliminaries}{79}{section.4.1}\protected@file@percent } +\newlabel{sec:led-pril}{{4.1}{79}{Preliminaries}{section.4.1}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.1}{\ignorespaces Light Emitting Diode\relax }}{80}{figure.caption.74}\protected@file@percent } +\newlabel{fig:ledsym}{{4.1}{80}{Light Emitting Diode\relax }{figure.caption.74}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.2}{\ignorespaces Internal connection diagram for the RGB LED on the Shield\relax }}{80}{figure.caption.75}\protected@file@percent } +\newlabel{fig:ledblock}{{4.2}{80}{Internal connection diagram for the RGB LED on the Shield\relax }{figure.caption.75}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.3}{\ignorespaces Connecting Arduino Uno\ and Shield\relax }}{81}{figure.caption.76}\protected@file@percent } +\newlabel{fig:uno-shield-connect}{{4.3}{81}{Connecting \arduino \ and Shield\relax }{figure.caption.76}{}} +\@writefile{toc}{\contentsline {section}{\numberline {4.2}Connecting an RGB LED with Arduino Uno\ using a breadboard}{81}{section.4.2}\protected@file@percent } +\newlabel{sec:led-bread}{{4.2}{81}{Connecting an RGB LED with \arduino \ using a breadboard}{section.4.2}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.4}{\ignorespaces An RGB LED with Arduino Uno\ using a breadboard\relax }}{82}{figure.caption.77}\protected@file@percent } +\newlabel{fig:ard-rgb-bread}{{4.4}{82}{An RGB LED with \arduino \ using a breadboard\relax }{figure.caption.77}{}} +\@writefile{toc}{\contentsline {section}{\numberline {4.3}Lighting the LED from the Arduino IDE}{82}{section.4.3}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.1}Lighting the LED}{82}{subsection.4.3.1}\protected@file@percent } +\newlabel{sec:light-ard}{{4.3.1}{82}{Lighting the LED}{subsection.4.3.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{83}{lstlisting.4.-8}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{83}{lstlisting.4.-9}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led\textendash blue\textendash delay/led\textendash blue\textendash delay.ino}{83}{lstlisting.4.-10}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led\textendash blue\textendash delay/led\textendash blue\textendash delay.ino}{83}{lstlisting.4.-11}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{84}{section*.78}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{84}{section*.80}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{1}}{}}{84}{egmass.4.1}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {4.5}{\ignorespaces LED experiments directly on Arduino Uno\ board, without the Shield\relax }}{85}{figure.caption.79}\protected@file@percent } +\newlabel{fig:led-uno}{{4.5}{85}{LED experiments directly on \arduino \ board, without the Shield\relax }{figure.caption.79}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.2}Arduino Code}{85}{subsection.4.3.2}\protected@file@percent } +\newlabel{sec:led-arduino-code}{{4.3.2}{85}{Arduino Code}{subsection.4.3.2}{}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{1}}{}}{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{thm}{\contentsline {ardmass}{{Arduino Code}{4.{1}}{}}{85}{ardmass.4.1}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{85}{ardmass.4.1}\protected@file@percent } +\newlabel{12@xvr}{{}{85}} +\newlabel{12@vr}{{}{85}} +\newlabel{ard:led-blue}{{4.{1}}{85}{Arduino Code}{ardmass.4.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led\textendash blue/led\textendash blue.ino}{85}{lstlisting.4.-13}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{2}}{}}{86}{ardmass.4.2}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{86}{ardmass.4.2}\protected@file@percent } +\newlabel{13@xvr}{{}{86}} +\newlabel{13@vr}{{}{86}} +\newlabel{ard:led-blue-delay}{{4.{2}}{86}{Arduino Code}{ardmass.4.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led\textendash blue\textendash delay/led\textendash blue\textendash delay.ino}{86}{lstlisting.4.-14}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{3}}{}}{86}{ardmass.4.3}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{86}{ardmass.4.3}\protected@file@percent } +\newlabel{14@xvr}{{}{86}} +\newlabel{14@vr}{{}{86}} +\newlabel{ard:led-blue-red}{{4.{3}}{86}{Arduino Code}{ardmass.4.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led\textendash blue\textendash red/led\textendash blue\textendash red.ino}{86}{lstlisting.4.-15}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{4.{4}}{}}{86}{ardmass.4.4}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{86}{ardmass.4.4}\protected@file@percent } +\newlabel{15@xvr}{{}{86}} +\newlabel{15@vr}{{}{86}} +\newlabel{ard:led-blink}{{4.{4}}{86}{Arduino Code}{ardmass.4.4}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led\textendash green\textendash blink/led\textendash green\textendash blink.ino}{87}{lstlisting.4.-16}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.4}Lighting the LED from Scilab}{87}{section.4.4}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.4.1}Lighting the LED}{87}{subsection.4.4.1}\protected@file@percent } +\newlabel{sec:light-sci}{{4.4.1}{87}{Lighting the LED}{subsection.4.4.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash blue.sce}{87}{lstlisting.4.-18}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash blue.sce}{88}{lstlisting.4.-20}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash blue.sce}{88}{lstlisting.4.-22}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash blue\textendash delay.sce}{89}{lstlisting.4.-23}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash blue\textendash delay.sce}{89}{lstlisting.4.-24}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{2}}{}}{89}{egmass.4.2}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.4.2}Scilab Code}{89}{subsection.4.4.2}\protected@file@percent } +\newlabel{sec:led-scilab-code}{{4.4.2}{89}{Scilab Code}{subsection.4.4.2}{}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{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 } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{89}{codemass.4.1}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{89}{codemass.4.1}\protected@file@percent } +\newlabel{16@xvr}{{}{89}} +\newlabel{16@vr}{{}{89}} +\newlabel{sci:led-blue}{{4.{1}}{89}{Scilab Code}{codemass.4.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash blue.sce}{89}{lstlisting.4.-25}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{2}}{}}{90}{codemass.4.2}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{90}{codemass.4.2}\protected@file@percent } +\newlabel{17@xvr}{{}{90}} +\newlabel{17@vr}{{}{90}} +\newlabel{sci:led-blue-delay}{{4.{2}}{90}{Scilab Code}{codemass.4.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash blue\textendash delay.sce}{90}{lstlisting.4.-26}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{3}}{}}{90}{codemass.4.3}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{90}{codemass.4.3}\protected@file@percent } +\newlabel{18@xvr}{{}{90}} +\newlabel{18@vr}{{}{90}} +\newlabel{sci:led-blue-red}{{4.{3}}{90}{Scilab Code}{codemass.4.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash blue\textendash red.sce}{90}{lstlisting.4.-27}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{4}}{}}{90}{codemass.4.4}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{90}{codemass.4.4}\protected@file@percent } +\newlabel{19@xvr}{{}{90}} +\newlabel{19@vr}{{}{90}} +\newlabel{sci:led-green-blink}{{4.{4}}{90}{Scilab Code}{codemass.4.4}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led\textendash green\textendash blink.sce}{91}{lstlisting.4.-28}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{91}{section.4.5}\protected@file@percent } +\newlabel{sec:light-xcos}{{4.5}{91}{Lighting the LED from Scilab Xcos}{section.4.5}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.6}{\ignorespaces Turning the blue LED on through Xcos}}{92}{figure.caption.81}\protected@file@percent } +\newlabel{21@xvr}{{}{92}} +\newlabel{21@vr}{{}{92}} +\newlabel{fig:led-blue}{{4.6}{92}{Turning the blue LED on through Xcos}{figure.caption.81}{}} +\@writefile{lot}{\contentsline {table}{\numberline {4.1}{\ignorespaces Parameters to light the blue LED in Xcos\relax }}{92}{table.caption.82}\protected@file@percent } +\newlabel{tab:led-blue}{{4.1}{92}{Parameters to light the blue LED in Xcos\relax }{table.caption.82}{}} +\newlabel{22@xvr}{{}{92}} +\newlabel{22@vr}{{}{92}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{92}{figure.caption.83}\protected@file@percent } +\newlabel{24@xvr}{{}{92}} +\newlabel{24@vr}{{}{92}} +\newlabel{fig:led-blue-delay}{{4.7}{92}{Turning the blue LED on through Xcos for two seconds}{figure.caption.83}{}} +\@writefile{lot}{\contentsline {table}{\numberline {4.2}{\ignorespaces Parameters to light the blue LED in Xcos for two seconds\relax }}{93}{table.caption.84}\protected@file@percent } +\newlabel{tab:led-blue-delay}{{4.2}{93}{Parameters to light the blue LED in Xcos for two seconds\relax }{table.caption.84}{}} +\newlabel{25@xvr}{{}{93}} +\newlabel{25@vr}{{}{93}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{3}}{}}{93}{egmass.4.3}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {4.8}{\ignorespaces Turning the blue and red LEDs on through Xcos and turning them off one by one}}{94}{figure.caption.85}\protected@file@percent } +\newlabel{27@xvr}{{}{94}} +\newlabel{27@vr}{{}{94}} +\newlabel{fig:led-blue-red}{{4.8}{94}{Turning the blue and red LEDs on through Xcos and turning them off one by one}{figure.caption.85}{}} +\@writefile{lot}{\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{94}{table.caption.86}\protected@file@percent } +\newlabel{tab:led-blue-red}{{4.3}{94}{Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }{table.caption.86}{}} +\newlabel{28@xvr}{{}{94}} +\newlabel{28@vr}{{}{94}} +\@writefile{lof}{\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{95}{figure.caption.87}\protected@file@percent } +\newlabel{30@xvr}{{}{95}} +\newlabel{30@vr}{{}{95}} +\newlabel{fig:led-green-blink}{{4.9}{95}{Blinking the green LED every second through Xcos}{figure.caption.87}{}} +\@writefile{lot}{\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{95}{table.caption.88}\protected@file@percent } +\newlabel{tab:led-green-blink}{{4.4}{95}{Parameters to make the green LED blink every second\relax }{table.caption.88}{}} +\newlabel{31@xvr}{{}{95}} +\newlabel{31@vr}{{}{95}} \citation{pySerial} -\@writefile{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{toc}{\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{96}{section.4.6}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{96}{subsection.4.6.1}\protected@file@percent } +\newlabel{sec:light-py}{{4.6.1}{96}{Lighting the LED}{subsection.4.6.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{96}{lstlisting.4.-29}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{96}{lstlisting.4.-30}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{96}{lstlisting.4.-31}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{97}{lstlisting.4.-32}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{97}{lstlisting.4.-33}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{97}{lstlisting.4.-34}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue\textendash delay.py}{98}{lstlisting.4.-35}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue\textendash delay.py}{98}{lstlisting.4.-36}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{4}}{}}{98}{egmass.4.4}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.2}Python Code}{98}{subsection.4.6.2}\protected@file@percent } +\newlabel{sec:led-python-code}{{4.6.2}{98}{Python Code}{subsection.4.6.2}{}} \@writefile{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 } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{1}}{}}{98}{pymass.4.1}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{98}{pymass.4.1}\protected@file@percent } +\newlabel{32@xvr}{{}{98}} +\newlabel{32@vr}{{}{98}} +\newlabel{py:led-blue}{{4.{1}}{98}{Python Code}{pymass.4.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue.py}{98}{lstlisting.4.-37}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{2}}{}}{99}{pymass.4.2}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{99}{pymass.4.2}\protected@file@percent } +\newlabel{33@xvr}{{}{99}} +\newlabel{33@vr}{{}{99}} +\newlabel{py:led-blue-delay}{{4.{2}}{99}{Python Code}{pymass.4.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue\textendash delay.py}{99}{lstlisting.4.-38}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{3}}{}}{100}{pymass.4.3}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{100}{pymass.4.3}\protected@file@percent } +\newlabel{34@xvr}{{}{100}} +\newlabel{34@vr}{{}{100}} +\newlabel{py:led-blue-red}{{4.{3}}{100}{Python Code}{pymass.4.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash blue\textendash red.py}{100}{lstlisting.4.-39}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{4}}{}}{101}{pymass.4.4}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{101}{pymass.4.4}\protected@file@percent } +\newlabel{35@xvr}{{}{101}} +\newlabel{35@vr}{{}{101}} +\newlabel{py:led-green-blink}{{4.{4}}{101}{Python Code}{pymass.4.4}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led\textendash green\textendash blink.py}{101}{lstlisting.4.-40}\protected@file@percent } \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{toc}{\contentsline {section}{\numberline {4.7}Lighting the LED from Julia}{103}{section.4.7}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.1}Lighting the LED}{103}{subsection.4.7.1}\protected@file@percent } +\newlabel{sec:light-julia}{{4.7.1}{103}{Lighting the LED}{subsection.4.7.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue.jl}{103}{lstlisting.4.-41}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue.jl}{103}{lstlisting.4.-42}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue.jl}{103}{lstlisting.4.-43}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue.jl}{103}{lstlisting.4.-44}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue\textendash delay.jl}{104}{lstlisting.4.-45}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue\textendash delay.jl}{104}{lstlisting.4.-46}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.2}Julia Code}{104}{subsection.4.7.2}\protected@file@percent } +\newlabel{sec:led-julia-code}{{4.7.2}{104}{Julia Code}{subsection.4.7.2}{}} \@writefile{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{thm}{\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{104}{juliamass.4.1}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{104}{juliamass.4.1}\protected@file@percent } +\newlabel{36@xvr}{{}{104}} +\newlabel{36@vr}{{}{104}} +\newlabel{julia:led-blue}{{4.{1}}{104}{Julia Code}{juliamass.4.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue.jl}{104}{lstlisting.4.-47}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{104}{juliamass.4.2}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{104}{juliamass.4.2}\protected@file@percent } +\newlabel{37@xvr}{{}{104}} +\newlabel{37@vr}{{}{104}} +\newlabel{julia:led-blue-delay}{{4.{2}}{104}{Julia Code}{juliamass.4.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue\textendash delay.jl}{105}{lstlisting.4.-48}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{3}}{}}{105}{juliamass.4.3}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{105}{juliamass.4.3}\protected@file@percent } +\newlabel{38@xvr}{{}{105}} +\newlabel{38@vr}{{}{105}} +\newlabel{julia:led-blue-red}{{4.{3}}{105}{Julia Code}{juliamass.4.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash blue\textendash red.jl}{105}{lstlisting.4.-49}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{105}{juliamass.4.4}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{105}{juliamass.4.4}\protected@file@percent } +\newlabel{39@xvr}{{}{105}} +\newlabel{39@vr}{{}{105}} +\newlabel{julia:led-green-blink}{{4.{4}}{105}{Julia Code}{juliamass.4.4}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led\textendash green\textendash blink.jl}{105}{lstlisting.4.-50}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4.8}Lighting the LED from OpenModelica}{106}{section.4.8}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.1}Lighting the LED}{106}{subsection.4.8.1}\protected@file@percent } +\newlabel{sec:light-OpenModelica}{{4.8.1}{106}{Lighting the LED}{subsection.4.8.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue.mo}{106}{lstlisting.4.-51}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue.mo}{106}{lstlisting.4.-52}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue.mo}{106}{lstlisting.4.-54}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue.mo}{107}{lstlisting.4.-57}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue\textendash delay.mo}{107}{lstlisting.4.-58}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue\textendash delay.mo}{108}{lstlisting.4.-59}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{108}{subsection.4.8.2}\protected@file@percent } +\newlabel{sec:led-OpenModelica-code}{{4.8.2}{108}{OpenModelica Code}{subsection.4.8.2}{}} \@writefile{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{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{108}{OpenModelicamass.4.1}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{108}{OpenModelicamass.4.1}\protected@file@percent } +\newlabel{OpenModelica:led-blue}{{4.{1}}{108}{OpenModelica Code}{OpenModelicamass.4.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue.mo}{108}{lstlisting.4.-60}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{109}{OpenModelicamass.4.2}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{109}{OpenModelicamass.4.2}\protected@file@percent } +\newlabel{OpenModelica:led-blue-delay}{{4.{2}}{109}{OpenModelica Code}{OpenModelicamass.4.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue\textendash delay.mo}{109}{lstlisting.4.-61}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{110}{OpenModelicamass.4.3}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{110}{OpenModelicamass.4.3}\protected@file@percent } +\newlabel{OpenModelica:led-blue-red}{{4.{3}}{110}{OpenModelica Code}{OpenModelicamass.4.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash blue\textendash red.mo}{110}{lstlisting.4.-62}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{111}{OpenModelicamass.4.4}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{111}{OpenModelicamass.4.4}\protected@file@percent } +\newlabel{OpenModelica:led-green-blink}{{4.{4}}{111}{OpenModelica Code}{OpenModelicamass.4.4}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led\textendash green\textendash blink.mo}{111}{lstlisting.4.-63}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{113}{chapter.5}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{pushbutton}{{5}{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}{}} +\newlabel{pushbutton}{{5}{113}{Interfacing a Pushbutton}{chapter.5}{}} +\@writefile{toc}{\contentsline {section}{\numberline {5.1}Preliminaries}{113}{section.5.1}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {5.1}{\ignorespaces Internal connection diagram for the pushbutton on the Shield\relax }}{114}{figure.caption.89}\protected@file@percent } +\newlabel{fig:pushbuttonconn}{{5.1}{114}{Internal connection diagram for the pushbutton on the Shield\relax }{figure.caption.89}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {5.2}{\ignorespaces A pushbutton to read its status with Arduino Uno using a breadboard\relax }}{114}{figure.caption.90}\protected@file@percent } +\newlabel{fig:switch-bread}{{5.2}{114}{A pushbutton to read its status with Arduino Uno using a breadboard\relax }{figure.caption.90}{}} +\@writefile{toc}{\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{115}{section.5.2}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {5.3}{\ignorespaces A pushbutton to control an LED with Arduino Uno using a breadboard\relax }}{116}{figure.caption.91}\protected@file@percent } +\newlabel{fig:switch-led}{{5.3}{116}{A pushbutton to control an LED with Arduino Uno using a breadboard\relax }{figure.caption.91}{}} +\@writefile{toc}{\contentsline {section}{\numberline {5.3}Reading the pushbutton status from the Arduino IDE}{116}{section.5.3}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.1}Reading the pushbutton status}{116}{subsection.5.3.1}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/arduino/push\textendash button\textendash status/push\textendash button\textendash status.ino}{117}{lstlisting.5.-64}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/arduino/push\textendash button\textendash status/push\textendash button\textendash status.ino}{117}{lstlisting.5.-65}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/arduino/led\textendash push\textendash button/led\textendash push\textendash button.ino}{117}{lstlisting.5.-66}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{118}{subsection.5.3.2}\protected@file@percent } +\newlabel{sec:push-arduino-code}{{5.3.2}{118}{Arduino Code}{subsection.5.3.2}{}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{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{thm}{\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{118}{ardmass.5.1}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and display it on the Serial Monitor}{118}{ardmass.5.1}\protected@file@percent } +\newlabel{40@xvr}{{}{118}} +\newlabel{40@vr}{{}{118}} +\newlabel{ard:push-100}{{5.{1}}{118}{Arduino Code}{ardmass.5.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/arduino/push\textendash button\textendash status/push\textendash button\textendash status.ino}{118}{lstlisting.5.-67}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{118}{ardmass.5.2}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{118}{ardmass.5.2}\protected@file@percent } +\newlabel{41@xvr}{{}{118}} +\newlabel{41@vr}{{}{118}} +\newlabel{ard:push-200}{{5.{2}}{118}{Arduino Code}{ardmass.5.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/arduino/led\textendash push\textendash button/led\textendash push\textendash button.ino}{118}{lstlisting.5.-68}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.4}Reading the pushbutton Status from Scilab}{119}{section.5.4}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.1}Reading the pushbutton Status}{119}{subsection.5.4.1}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/push\textendash button\textendash status.sce}{119}{lstlisting.5.-69}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {5.4}{\ignorespaces GUI in Scilab to show the status of the pushbutton\relax }}{120}{figure.caption.92}\protected@file@percent } +\newlabel{fig:ard-meter}{{5.4}{120}{GUI in Scilab to show the status of the pushbutton\relax }{figure.caption.92}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/push\textendash button\textendash status.sce}{120}{lstlisting.5.-70}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/led\textendash push\textendash button.sce}{120}{lstlisting.5.-71}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{121}{subsection.5.4.2}\protected@file@percent } +\newlabel{sec:push-scilab-code}{{5.4.2}{121}{Scilab Code}{subsection.5.4.2}{}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{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 pushbutton 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 pushbutton status on the display block}{figure.caption.93}{}} -\@writefile{lot}{\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the pushbutton status on the display block\relax }}{105}{table.caption.94}\protected@file@percent } -\newlabel{tab:push-button-status}{{5.1}{105}{Parameters to print the pushbutton 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{thm}{\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{121}{codemass.5.1}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and display it on the GUI}{121}{codemass.5.1}\protected@file@percent } +\newlabel{42@xvr}{{}{121}} +\newlabel{42@vr}{{}{121}} +\newlabel{sci:push-100}{{5.{1}}{121}{Scilab Code}{codemass.5.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/push\textendash button\textendash status.sce}{121}{lstlisting.5.-72}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{121}{codemass.5.2}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{121}{codemass.5.2}\protected@file@percent } +\newlabel{43@xvr}{{}{121}} +\newlabel{43@vr}{{}{121}} +\newlabel{sci:push-200}{{5.{2}}{121}{Scilab Code}{codemass.5.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/led\textendash push\textendash button.sce}{121}{lstlisting.5.-73}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.5}Accessing the pushbutton from Xcos}{122}{section.5.5}\protected@file@percent } +\newlabel{sec:push-xcos}{{5.5}{122}{Accessing the pushbutton from Xcos}{section.5.5}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {5.5}{\ignorespaces Printing the pushbutton status on the display block}}{123}{figure.caption.93}\protected@file@percent } +\newlabel{45@xvr}{{}{123}} +\newlabel{45@vr}{{}{123}} +\newlabel{fig:push-button-status}{{5.5}{123}{Printing the pushbutton status on the display block}{figure.caption.93}{}} +\@writefile{lot}{\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the pushbutton status on the display block\relax }}{123}{table.caption.94}\protected@file@percent } +\newlabel{tab:push-button-status}{{5.1}{123}{Parameters to print the pushbutton status on the display block\relax }{table.caption.94}{}} +\newlabel{46@xvr}{{}{123}} +\newlabel{46@vr}{{}{123}} +\@writefile{lof}{\contentsline {figure}{\numberline {5.6}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{124}{figure.caption.95}\protected@file@percent } +\newlabel{48@xvr}{{}{124}} +\newlabel{48@vr}{{}{124}} +\newlabel{fig:led-push-button}{{5.6}{124}{Turning the LED on or off, depending on the pushbutton}{figure.caption.95}{}} +\@writefile{lot}{\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{124}{table.caption.96}\protected@file@percent } +\newlabel{tab:led-push-button}{{5.2}{124}{Xcos parameters to turn the LED on through the pushbutton\relax }{table.caption.96}{}} +\newlabel{49@xvr}{{}{124}} +\newlabel{49@vr}{{}{124}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{5.{1}}{}}{124}{egmass.5.1}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.6}Reading the pushbutton status from Python}{125}{section.5.6}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.1}Reading the pushbutton status}{125}{subsection.5.6.1}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/push\textendash button\textendash status.py}{125}{lstlisting.5.-74}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/push\textendash button\textendash status.py}{126}{lstlisting.5.-75}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/led\textendash push\textendash button.py}{126}{lstlisting.5.-76}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.2}Python Code}{127}{subsection.5.6.2}\protected@file@percent } +\newlabel{sec:push-python-code}{{5.6.2}{127}{Python Code}{subsection.5.6.2}{}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{1}}{}}{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 } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{1}}{}}{127}{pymass.5.1}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and display it on the Command Prompt or the Terminal}{127}{pymass.5.1}\protected@file@percent } +\newlabel{50@xvr}{{}{127}} +\newlabel{50@vr}{{}{127}} +\newlabel{py:push-100}{{5.{1}}{127}{Python Code}{pymass.5.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/push\textendash button\textendash status.py}{127}{lstlisting.5.-77}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{5.{2}}{}}{128}{pymass.5.2}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{128}{pymass.5.2}\protected@file@percent } +\newlabel{51@xvr}{{}{128}} +\newlabel{51@vr}{{}{128}} +\newlabel{py:push-200}{{5.{2}}{128}{Python Code}{pymass.5.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/led\textendash push\textendash button.py}{128}{lstlisting.5.-78}\protected@file@percent } \citation{julia-serial-ports} -\@writefile{toc}{\contentsline {section}{\numberline {5.7}Reading 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{toc}{\contentsline {section}{\numberline {5.7}Reading the pushbutton status from Julia}{129}{section.5.7}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.1}Reading the pushbutton status}{129}{subsection.5.7.1}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/push\textendash button\textendash status.jl}{129}{lstlisting.5.-79}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/push\textendash button\textendash status.jl}{129}{lstlisting.5.-80}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/led\textendash push\textendash button.jl}{130}{lstlisting.5.-81}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.2}Julia Code}{130}{subsection.5.7.2}\protected@file@percent } +\newlabel{sec:push-julia-code}{{5.7.2}{130}{Julia Code}{subsection.5.7.2}{}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{1}}{}}{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{thm}{\contentsline {juliamass}{{Julia Code}{5.{1}}{}}{130}{juliamass.5.1}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and display it on Command Prompt or the Terminal.}{130}{juliamass.5.1}\protected@file@percent } +\newlabel{52@xvr}{{}{130}} +\newlabel{52@vr}{{}{130}} +\newlabel{julia:push-100}{{5.{1}}{130}{Julia Code}{juliamass.5.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/push\textendash button\textendash status.jl}{130}{lstlisting.5.-82}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{131}{juliamass.5.2}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{131}{juliamass.5.2}\protected@file@percent } +\newlabel{53@xvr}{{}{131}} +\newlabel{53@vr}{{}{131}} +\newlabel{julia:push-200}{{5.{2}}{131}{Julia Code}{juliamass.5.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/led\textendash push\textendash button.jl}{131}{lstlisting.5.-83}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5.8}Reading the pushbutton status from OpenModelica}{131}{section.5.8}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.1}Reading the pushbutton status}{131}{subsection.5.8.1}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{132}{lstlisting.5.-84}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{132}{lstlisting.5.-85}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{133}{lstlisting.5.-86}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.2}OpenModelica Code}{133}{subsection.5.8.2}\protected@file@percent } +\newlabel{sec:push-OpenModelica-code}{{5.8.2}{133}{OpenModelica Code}{subsection.5.8.2}{}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{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{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{133}{OpenModelicamass.5.1}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and display it on the output window}{133}{OpenModelicamass.5.1}\protected@file@percent } +\newlabel{OpenModelica:push-100}{{5.{1}}{133}{OpenModelica Code}{OpenModelicamass.5.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/OpenModelica/push\textendash button\textendash status.mo}{133}{lstlisting.5.-87}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{134}{OpenModelicamass.5.2}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{134}{OpenModelicamass.5.2}\protected@file@percent } +\newlabel{OpenModelica:push-200}{{5.{2}}{134}{OpenModelica Code}{OpenModelicamass.5.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{134}{lstlisting.5.-88}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{137}{chapter.6}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{ldr}{{6}{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{ldr}{{6}{137}{Interfacing a Light Dependent Resistor}{chapter.6}{}} +\@writefile{toc}{\contentsline {section}{\numberline {6.1}Preliminaries}{137}{section.6.1}\protected@file@percent } +\newlabel{fig:ldr}{{6.1a}{138}{Subfigure 6 6.1a}{subfigure.6.1.1}{}} \newlabel{sub@fig:ldr}{{(a)}{a}{Subfigure 6 6.1a\relax }{subfigure.6.1.1}{}} -\newlabel{fig:ldrsym}{{6.1b}{118}{Subfigure 6 6.1b}{subfigure.6.1.2}{}} +\newlabel{fig:ldrsym}{{6.1b}{138}{Subfigure 6 6.1b}{subfigure.6.1.2}{}} \newlabel{sub@fig:ldrsym}{{(b)}{b}{Subfigure 6 6.1b\relax }{subfigure.6.1.2}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{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{lof}{\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{138}{figure.caption.97}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of an LDR}}}{138}{subfigure.1.1}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of an LDR}}}{138}{subfigure.1.2}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the Shield\relax }}{138}{figure.caption.98}\protected@file@percent } +\newlabel{fig:ldrconn}{{6.2}{138}{Internal connection diagram for the LDR on the Shield\relax }{figure.caption.98}{}} +\@writefile{toc}{\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{139}{section.6.2}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {6.3}{\ignorespaces An LDR to read its values with Arduino Uno\ using a breadboard\relax }}{140}{figure.caption.99}\protected@file@percent } +\newlabel{fig:ard-ldr}{{6.3}{140}{An LDR to read its values with \arduino \ using a breadboard\relax }{figure.caption.99}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {6.4}{\ignorespaces An LDR to control an LED with Arduino Uno using a breadboard\relax }}{140}{figure.caption.100}\protected@file@percent } +\newlabel{fig:ard-ldr-led}{{6.4}{140}{An LDR to control an LED with Arduino Uno using a breadboard\relax }{figure.caption.100}{}} +\@writefile{toc}{\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{141}{section.6.3}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{141}{subsection.6.3.1}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{141}{lstlisting.6.-89}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{141}{lstlisting.6.-90}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{141}{lstlisting.6.-91}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{1}}{}}{142}{egmass.6.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{142}{subsection.6.3.2}\protected@file@percent } +\newlabel{sec:ldr-arduino-code}{{6.3.2}{142}{Arduino Code}{subsection.6.3.2}{}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{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{thm}{\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{142}{ardmass.6.1}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{142}{ardmass.6.1}\protected@file@percent } +\newlabel{54@xvr}{{}{142}} +\newlabel{54@vr}{{}{142}} +\newlabel{ard:ldr-read}{{6.{1}}{142}{Arduino Code}{ardmass.6.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{143}{lstlisting.6.-92}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{143}{ardmass.6.2}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{143}{ardmass.6.2}\protected@file@percent } +\newlabel{55@xvr}{{}{143}} +\newlabel{55@vr}{{}{143}} +\newlabel{ard:ldr-led}{{6.{2}}{143}{Arduino Code}{ardmass.6.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/arduino/ldr\textendash led/ldr\textendash led.ino}{143}{lstlisting.6.-93}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{143}{section.6.4}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{143}{subsection.6.4.1}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/scilab/ldr\textendash read.sce}{144}{lstlisting.6.-94}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/scilab/ldr\textendash read.sce}{144}{lstlisting.6.-95}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{2}}{}}{145}{egmass.6.2}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{145}{subsection.6.4.2}\protected@file@percent } +\newlabel{sec:ldr-scilab-code}{{6.4.2}{145}{Scilab Code}{subsection.6.4.2}{}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{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{thm}{\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{145}{codemass.6.1}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{145}{codemass.6.1}\protected@file@percent } +\newlabel{56@xvr}{{}{145}} +\newlabel{56@vr}{{}{145}} +\newlabel{sci:ldr-read}{{6.{1}}{145}{Scilab Code}{codemass.6.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/scilab/ldr\textendash read.sce}{145}{lstlisting.6.-96}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{146}{codemass.6.2}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{146}{codemass.6.2}\protected@file@percent } +\newlabel{57@xvr}{{}{146}} +\newlabel{57@vr}{{}{146}} +\newlabel{sci:ldr-led}{{6.{2}}{146}{Scilab Code}{codemass.6.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/scilab/ldr\textendash led.sce}{146}{lstlisting.6.-97}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{146}{section.6.5}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read LDR values}}{147}{figure.caption.101}\protected@file@percent } +\newlabel{59@xvr}{{}{147}} +\newlabel{59@vr}{{}{147}} +\newlabel{fig:ldr-read}{{6.5}{147}{Xcos diagram to read LDR values}{figure.caption.101}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {6.6}{\ignorespaces Plot window in Xcos to read LDR values\relax }}{147}{figure.caption.102}\protected@file@percent } +\newlabel{fig:ldr-read-plot}{{6.6}{147}{Plot window in Xcos to read LDR values\relax }{figure.caption.102}{}} +\@writefile{lot}{\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{148}{table.caption.103}\protected@file@percent } +\newlabel{tab:ldr-read}{{6.1}{148}{Xcos parameters to read LDR\relax }{table.caption.103}{}} +\newlabel{60@xvr}{{}{148}} +\newlabel{60@vr}{{}{148}} +\@writefile{lof}{\contentsline {figure}{\numberline {6.7}{\ignorespaces Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}}{149}{figure.caption.104}\protected@file@percent } +\newlabel{62@xvr}{{}{149}} +\newlabel{62@vr}{{}{149}} +\newlabel{fig:ldr-led}{{6.7}{149}{Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}{figure.caption.104}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {6.8}{\ignorespaces Plot window in Xcos to read LDR values and the state of LED\relax }}{149}{figure.caption.105}\protected@file@percent } +\newlabel{fig:ldr-led-read-plot}{{6.8}{149}{Plot window in Xcos to read LDR values and the state of LED\relax }{figure.caption.105}{}} +\@writefile{toc}{\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{149}{section.6.6}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{149}{subsection.6.6.1}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{150}{table.caption.106}\protected@file@percent } +\newlabel{tab:ldr-led}{{6.2}{150}{Xcos parameters to read LDR and regulate blue LED\relax }{table.caption.106}{}} +\newlabel{63@xvr}{{}{150}} +\newlabel{63@vr}{{}{150}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/python/ldr\textendash read.py}{150}{lstlisting.6.-98}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/python/ldr\textendash read.py}{151}{lstlisting.6.-99}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{3}}{}}{151}{egmass.6.3}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.2}Python Code}{152}{subsection.6.6.2}\protected@file@percent } +\newlabel{sec:ldr-python-code}{{6.6.2}{152}{Python Code}{subsection.6.6.2}{}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{1}}{}}{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 } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{1}}{}}{152}{pymass.6.1}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{152}{pymass.6.1}\protected@file@percent } +\newlabel{64@xvr}{{}{152}} +\newlabel{64@vr}{{}{152}} +\newlabel{py:ldr-read}{{6.{1}}{152}{Python Code}{pymass.6.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/python/ldr\textendash read.py}{152}{lstlisting.6.-100}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{2}}{}}{153}{pymass.6.2}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{153}{pymass.6.2}\protected@file@percent } +\newlabel{65@xvr}{{}{153}} +\newlabel{65@vr}{{}{153}} +\newlabel{py:ldr-led}{{6.{2}}{153}{Python Code}{pymass.6.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/python/ldr\textendash led.py}{153}{lstlisting.6.-101}\protected@file@percent } \citation{julia-serial-ports} -\@writefile{toc}{\contentsline {section}{\numberline {6.7}Interfacing 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{toc}{\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{154}{section.6.7}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{154}{subsection.6.7.1}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/julia/ldr\textendash read.jl}{154}{lstlisting.6.-102}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/julia/ldr\textendash read.jl}{155}{lstlisting.6.-103}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{4}}{}}{155}{egmass.6.4}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.2}Julia Code}{156}{subsection.6.7.2}\protected@file@percent } +\newlabel{sec:ldr-julia-code}{{6.7.2}{156}{Julia Code}{subsection.6.7.2}{}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{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{thm}{\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{156}{juliamass.6.1}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{156}{juliamass.6.1}\protected@file@percent } +\newlabel{66@xvr}{{}{156}} +\newlabel{66@vr}{{}{156}} +\newlabel{julia:ldr-read}{{6.{1}}{156}{Julia Code}{juliamass.6.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/julia/ldr\textendash read.jl}{156}{lstlisting.6.-104}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{156}{juliamass.6.2}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{156}{juliamass.6.2}\protected@file@percent } +\newlabel{67@xvr}{{}{156}} +\newlabel{67@vr}{{}{156}} +\newlabel{julia:ldr-led}{{6.{2}}{156}{Julia Code}{juliamass.6.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/julia/ldr\textendash led.jl}{156}{lstlisting.6.-105}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{157}{section.6.8}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{157}{subsection.6.8.1}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr\textendash read.mo}{157}{lstlisting.6.-106}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr\textendash read.mo}{157}{lstlisting.6.-107}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{158}{subsection.6.8.2}\protected@file@percent } +\newlabel{sec:ldr-OpenModelica-code}{{6.8.2}{158}{OpenModelica Code}{subsection.6.8.2}{}} \@writefile{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{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{158}{OpenModelicamass.6.1}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{158}{OpenModelicamass.6.1}\protected@file@percent } +\newlabel{OpenModelica:ldr-read}{{6.{1}}{158}{OpenModelica Code}{OpenModelicamass.6.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr\textendash read.mo}{158}{lstlisting.6.-108}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{159}{OpenModelicamass.6.2}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{159}{OpenModelicamass.6.2}\protected@file@percent } +\newlabel{OpenModelica:ldr-led}{{6.{2}}{159}{OpenModelica Code}{OpenModelicamass.6.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr\textendash led.mo}{159}{lstlisting.6.-109}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {7}Interfacing a Potentiometer}{161}{chapter.7}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{potmeter}{{7}{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{potmeter}{{7}{161}{Interfacing a Potentiometer}{chapter.7}{}} +\@writefile{toc}{\contentsline {section}{\numberline {7.1}Preliminaries}{161}{section.7.1}\protected@file@percent } +\newlabel{fig:pot}{{7.1a}{162}{Subfigure 7 7.1a}{subfigure.7.1.1}{}} \newlabel{sub@fig:pot}{{(a)}{a}{Subfigure 7 7.1a\relax }{subfigure.7.1.1}{}} -\newlabel{fig:potsch}{{7.1b}{138}{Subfigure 7 7.1b}{subfigure.7.1.2}{}} +\newlabel{fig:potsch}{{7.1b}{162}{Subfigure 7 7.1b}{subfigure.7.1.2}{}} \newlabel{sub@fig:potsch}{{(b)}{b}{Subfigure 7 7.1b\relax }{subfigure.7.1.2}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {7.1}{\ignorespaces Potentiometer's schematic on the Shield\relax }}{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{lof}{\contentsline {figure}{\numberline {7.1}{\ignorespaces Potentiometer's schematic on the Shield\relax }}{162}{figure.caption.107}\protected@file@percent } +\newlabel{fig:potmeterconn}{{7.1}{162}{Potentiometer's schematic on the Shield\relax }{figure.caption.107}{}} +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{162}{subfigure.1.1}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Internal connection diagram for the potentiometer on the Shield}}}{162}{subfigure.1.2}\protected@file@percent } +\newlabel{68@xvr}{{}{162}} +\newlabel{68@vr}{{}{162}} +\@writefile{toc}{\contentsline {section}{\numberline {7.2}Connecting a potentiometer with Arduino Uno\ using a breadboard}{163}{section.7.2}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {7.2}{\ignorespaces A potentiometer to control an LED with Arduino Uno using a breadboard\relax }}{164}{figure.caption.108}\protected@file@percent } +\newlabel{fig:pot-led}{{7.2}{164}{A potentiometer to control an LED with Arduino Uno using a breadboard\relax }{figure.caption.108}{}} +\@writefile{toc}{\contentsline {section}{\numberline {7.3}Reading the potentiometer from the Arduino IDE}{164}{section.7.3}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.1}Reading the potentiometer}{164}{subsection.7.3.1}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{165}{lstlisting.7.-110}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{165}{lstlisting.7.-111}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.2}Arduino Code}{165}{subsection.7.3.2}\protected@file@percent } +\newlabel{sec:pot-arduino-code}{{7.3.2}{165}{Arduino Code}{subsection.7.3.2}{}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{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{thm}{\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{165}{ardmass.7.1}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{165}{ardmass.7.1}\protected@file@percent } +\newlabel{69@xvr}{{}{165}} +\newlabel{69@vr}{{}{165}} +\newlabel{ard:pot-100}{{7.{1}}{165}{Arduino Code}{ardmass.7.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{166}{lstlisting.7.-112}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.4}Reading the potentiometer from Scilab}{166}{section.7.4}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.4.1}Reading the potentiometer}{166}{subsection.7.4.1}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/scilab/pot\textendash threshold.sce}{167}{lstlisting.7.-113}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/scilab/pot\textendash threshold.sce}{167}{lstlisting.7.-114}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.4.2}Scilab Code}{167}{subsection.7.4.2}\protected@file@percent } +\newlabel{sec:pot-scilab-code}{{7.4.2}{167}{Scilab Code}{subsection.7.4.2}{}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{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{thm}{\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{167}{codemass.7.1}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{167}{codemass.7.1}\protected@file@percent } +\newlabel{70@xvr}{{}{167}} +\newlabel{70@vr}{{}{167}} +\newlabel{sci:pot-100}{{7.{1}}{167}{Scilab Code}{codemass.7.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/scilab/pot\textendash threshold.sce}{167}{lstlisting.7.-115}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.5}Reading the potentiometer from Xcos}{168}{section.7.5}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {7.3}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{169}{figure.caption.109}\protected@file@percent } +\newlabel{72@xvr}{{}{169}} +\newlabel{72@vr}{{}{169}} +\newlabel{fig:pot-threshold}{{7.3}{169}{Turning LEDs on through Xcos depending on the potentiometer threshold}{figure.caption.109}{}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{1}}{}}{169}{egmass.7.1}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.6}Reading the potentiometer from Python}{169}{section.7.6}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.1}Reading the potentiometer}{169}{subsection.7.6.1}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {7.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{170}{table.caption.110}\protected@file@percent } +\newlabel{tab:pot-threshold}{{7.1}{170}{Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }{table.caption.110}{}} +\newlabel{73@xvr}{{}{170}} +\newlabel{73@vr}{{}{170}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/python/pot\textendash threshold.py}{171}{lstlisting.7.-116}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/python/pot\textendash threshold.py}{171}{lstlisting.7.-117}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.2}Python Code}{171}{subsection.7.6.2}\protected@file@percent } +\newlabel{sec:pot-python-code}{{7.6.2}{171}{Python Code}{subsection.7.6.2}{}} \@writefile{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 } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{1}}{}}{171}{pymass.7.1}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{171}{pymass.7.1}\protected@file@percent } +\newlabel{74@xvr}{{}{171}} +\newlabel{74@vr}{{}{171}} +\newlabel{py:pot-100}{{7.{1}}{171}{Python Code}{pymass.7.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/python/pot\textendash threshold.py}{171}{lstlisting.7.-118}\protected@file@percent } \citation{julia-serial-ports} -\@writefile{toc}{\contentsline {section}{\numberline {7.7}Reading the potentiometer from Julia}{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{toc}{\contentsline {section}{\numberline {7.7}Reading the potentiometer from Julia}{173}{section.7.7}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.1}Reading the potentiometer}{173}{subsection.7.7.1}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/julia/pot\textendash threshold.jl}{173}{lstlisting.7.-119}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/julia/pot\textendash threshold.jl}{173}{lstlisting.7.-120}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.2}Julia Code}{174}{subsection.7.7.2}\protected@file@percent } +\newlabel{sec:pot-julia-code}{{7.7.2}{174}{Julia Code}{subsection.7.7.2}{}} \@writefile{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{thm}{\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{174}{juliamass.7.1}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{174}{juliamass.7.1}\protected@file@percent } +\newlabel{75@xvr}{{}{174}} +\newlabel{75@vr}{{}{174}} +\newlabel{julia:pot-100}{{7.{1}}{174}{Julia Code}{juliamass.7.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/julia/pot\textendash threshold.jl}{174}{lstlisting.7.-121}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {7.8}Reading the potentiometer from OpenModelica}{175}{section.7.8}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.8.1}Reading the potentiometer}{175}{subsection.7.8.1}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/OpenModelica/pot\textendash threshold.mo}{175}{lstlisting.7.-122}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/OpenModelica/pot\textendash threshold.mo}{175}{lstlisting.7.-123}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {7.8.2}OpenModelica Code}{176}{subsection.7.8.2}\protected@file@percent } +\newlabel{sec:pot-OpenModelica-code}{{7.8.2}{176}{OpenModelica Code}{subsection.7.8.2}{}} \@writefile{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}{151}{chapter.8}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{176}{OpenModelicamass.7.1}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{176}{OpenModelicamass.7.1}\protected@file@percent } +\newlabel{OpenModelica:pot-100}{{7.{1}}{176}{OpenModelica Code}{OpenModelicamass.7.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/OpenModelica/pot\textendash threshold.mo}{176}{lstlisting.7.-124}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {8}Interfacing a Thermistor}{179}{chapter.8}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{thermistor}{{8}{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{thermistor}{{8}{179}{Interfacing a Thermistor}{chapter.8}{}} +\@writefile{toc}{\contentsline {section}{\numberline {8.1}Preliminaries}{179}{section.8.1}\protected@file@percent } +\citation{therm-wiki} +\citation{therm-wiki} +\newlabel{fig:therm}{{8.1a}{180}{Subfigure 8 8.1a}{subfigure.8.1.1}{}} \newlabel{sub@fig:therm}{{(a)}{a}{Subfigure 8 8.1a\relax }{subfigure.8.1.1}{}} -\newlabel{fig:thermsym}{{8.1b}{152}{Subfigure 8 8.1b}{subfigure.8.1.2}{}} +\newlabel{fig:thermsym}{{8.1b}{180}{Subfigure 8 8.1b}{subfigure.8.1.2}{}} \newlabel{sub@fig:thermsym}{{(b)}{b}{Subfigure 8 8.1b\relax }{subfigure.8.1.2}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {8.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{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}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {8.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{180}{figure.caption.111}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{180}{subfigure.1.1}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{180}{subfigure.1.2}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{180}{section.8.2}\protected@file@percent } +\newlabel{fig:therm-conn}{{8.2a}{181}{Subfigure 8 8.2a}{subfigure.8.2.1}{}} \newlabel{sub@fig:therm-conn}{{(a)}{a}{Subfigure 8 8.2a\relax }{subfigure.8.2.1}{}} -\newlabel{fig:buzzer-conn}{{8.2b}{152}{Subfigure 8 8.2b}{subfigure.8.2.2}{}} +\newlabel{fig:buzzer-conn}{{8.2b}{181}{Subfigure 8 8.2b}{subfigure.8.2.2}{}} \newlabel{sub@fig:buzzer-conn}{{(b)}{b}{Subfigure 8 8.2b\relax }{subfigure.8.2.2}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {8.2}{\ignorespaces Internal connection diagrams for thermistor and buzzer on the Shield\relax }}{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{lof}{\contentsline {figure}{\numberline {8.2}{\ignorespaces Internal connection diagrams for thermistor and buzzer on the Shield\relax }}{181}{figure.caption.112}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Thermistor connection diagram}}}{181}{subfigure.2.1}\protected@file@percent } +\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Buzzer connection diagram}}}{181}{subfigure.2.2}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {8.3}{\ignorespaces A thermistor to read its values with Arduino Uno using a breadboard\relax }}{182}{figure.caption.113}\protected@file@percent } +\newlabel{fig:ard-therm-bread}{{8.3}{182}{A thermistor to read its values with Arduino Uno using a breadboard\relax }{figure.caption.113}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {8.4}{\ignorespaces A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }}{182}{figure.caption.114}\protected@file@percent } +\newlabel{fig:ard-therm-buzzer}{{8.4}{182}{A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }{figure.caption.114}{}} +\@writefile{toc}{\contentsline {section}{\numberline {8.3}Interfacing the thermistor from the Arduino IDE}{183}{section.8.3}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.1}Interfacing the thermistor}{183}{subsection.8.3.1}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{183}{lstlisting.8.-125}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{183}{lstlisting.8.-126}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{183}{lstlisting.8.-127}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm\textendash buzzer/therm\textendash buzzer.ino}{184}{lstlisting.8.-128}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{185}{section*.115}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{8.{1}}{}}{185}{egmass.8.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.2}Arduino Code}{185}{subsection.8.3.2}\protected@file@percent } +\newlabel{sec:therm-arduino-code}{{8.3.2}{185}{Arduino Code}{subsection.8.3.2}{}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{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{thm}{\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{185}{ardmass.8.1}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{185}{ardmass.8.1}\protected@file@percent } +\newlabel{76@xvr}{{}{185}} +\newlabel{76@vr}{{}{185}} +\newlabel{ard:therm-read}{{8.{1}}{185}{Arduino Code}{ardmass.8.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{185}{lstlisting.8.-129}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{8.{2}}{}}{186}{ardmass.8.2}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{186}{ardmass.8.2}\protected@file@percent } +\newlabel{77@xvr}{{}{186}} +\newlabel{77@vr}{{}{186}} +\newlabel{ard:therm-buzzer}{{8.{2}}{186}{Arduino Code}{ardmass.8.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm\textendash buzzer/therm\textendash buzzer.ino}{186}{lstlisting.8.-130}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.4}Interfacing the thermistor from Scilab}{187}{section.8.4}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.4.1}Interfacing the thermistor}{187}{subsection.8.4.1}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm\textendash read.sce}{187}{lstlisting.8.-131}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm\textendash read.sce}{187}{lstlisting.8.-132}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm\textendash buzzer.sce}{189}{lstlisting.8.-133}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{189}{section*.116}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{8.{2}}{}}{189}{egmass.8.2}\protected@file@percent } +\newlabel{therm-abc}{{8.1}{189}{Interfacing the thermistor}{equation.8.4.1}{}} +\newlabel{therm-beta}{{8.2}{190}{Interfacing the thermistor}{equation.8.4.2}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {8.4.2}Scilab Code}{190}{subsection.8.4.2}\protected@file@percent } +\newlabel{sec:therm-scilab-code}{{8.4.2}{190}{Scilab Code}{subsection.8.4.2}{}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{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{thm}{\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{190}{codemass.8.1}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{190}{codemass.8.1}\protected@file@percent } +\newlabel{78@xvr}{{}{190}} +\newlabel{78@vr}{{}{190}} +\newlabel{sci:therm-read}{{8.{1}}{190}{Scilab Code}{codemass.8.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm\textendash read.sce}{190}{lstlisting.8.-134}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{8.{2}}{}}{191}{codemass.8.2}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{191}{codemass.8.2}\protected@file@percent } +\newlabel{79@xvr}{{}{191}} +\newlabel{79@vr}{{}{191}} +\newlabel{sci:therm-buzzer}{{8.{2}}{191}{Scilab Code}{codemass.8.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm\textendash buzzer.sce}{191}{lstlisting.8.-135}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.5}Interfacing the thermistor from Xcos}{191}{section.8.5}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {8.5}{\ignorespaces Xcos diagram to read thermistor values}}{192}{figure.caption.117}\protected@file@percent } +\newlabel{81@xvr}{{}{192}} +\newlabel{81@vr}{{}{192}} +\newlabel{fig:therm-read}{{8.5}{192}{Xcos diagram to read thermistor values}{figure.caption.117}{}} +\@writefile{lot}{\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{193}{table.caption.118}\protected@file@percent } +\newlabel{tab:therm-read}{{8.1}{193}{Xcos parameters to read thermistor\relax }{table.caption.118}{}} +\newlabel{82@xvr}{{}{193}} +\newlabel{82@vr}{{}{193}} +\@writefile{lof}{\contentsline {figure}{\numberline {8.6}{\ignorespaces Plot window in Xcos to read thermistor values\relax }}{193}{figure.caption.119}\protected@file@percent } +\newlabel{fig:therm-read-output}{{8.6}{193}{Plot window in Xcos to read thermistor values\relax }{figure.caption.119}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {8.7}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on}}{194}{figure.caption.120}\protected@file@percent } +\newlabel{84@xvr}{{}{194}} +\newlabel{84@vr}{{}{194}} +\newlabel{fig:therm-buzzer}{{8.7}{194}{Xcos diagram to read the value of thermistor, which is used to turn the buzzer on}{figure.caption.120}{}} +\@writefile{toc}{\contentsline {paragraph}{Note:}{194}{section*.123}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {8.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{195}{table.caption.121}\protected@file@percent } +\newlabel{tab:therm-buzzer}{{8.2}{195}{Xcos parameters to read thermistor and switch the buzzer\relax }{table.caption.121}{}} +\newlabel{85@xvr}{{}{195}} +\newlabel{85@vr}{{}{195}} +\@writefile{toc}{\contentsline {section}{\numberline {8.6}Interfacing the thermistor from Python}{195}{section.8.6}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.1}Interfacing the thermistor}{195}{subsection.8.6.1}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {8.8}{\ignorespaces Plot window in Xcos to read thermistor values and the state of LED\relax }}{196}{figure.caption.122}\protected@file@percent } +\newlabel{fig:therm-buzzer-output}{{8.8}{196}{Plot window in Xcos to read thermistor values and the state of LED\relax }{figure.caption.122}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm\textendash read.py}{196}{lstlisting.8.-136}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm\textendash read.py}{196}{lstlisting.8.-137}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm\textendash buzzer.py}{197}{lstlisting.8.-138}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{198}{section*.124}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.2}Python Code}{198}{subsection.8.6.2}\protected@file@percent } +\newlabel{sec:therm-pyhton-code}{{8.6.2}{198}{Python Code}{subsection.8.6.2}{}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{8.{1}}{}}{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 } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{8.{1}}{}}{198}{pymass.8.1}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{198}{pymass.8.1}\protected@file@percent } +\newlabel{86@xvr}{{}{198}} +\newlabel{86@vr}{{}{198}} +\newlabel{py:therm-read}{{8.{1}}{198}{Python Code}{pymass.8.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm\textendash read.py}{198}{lstlisting.8.-139}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{8.{2}}{}}{199}{pymass.8.2}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{199}{pymass.8.2}\protected@file@percent } +\newlabel{87@xvr}{{}{199}} +\newlabel{87@vr}{{}{199}} +\newlabel{py:therm-buzzer}{{8.{2}}{199}{Python Code}{pymass.8.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm\textendash buzzer.py}{199}{lstlisting.8.-140}\protected@file@percent } \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{toc}{\contentsline {section}{\numberline {8.7}Interfacing the thermistor from Julia}{200}{section.8.7}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.1}Interfacing the thermistor}{200}{subsection.8.7.1}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm\textendash read.jl}{201}{lstlisting.8.-141}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm\textendash read.jl}{201}{lstlisting.8.-142}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm\textendash buzzer.jl}{202}{lstlisting.8.-143}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{202}{section*.125}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.2}Julia Code}{203}{subsection.8.7.2}\protected@file@percent } +\newlabel{sec:therm-julia-code}{{8.7.2}{203}{Julia Code}{subsection.8.7.2}{}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{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{thm}{\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{203}{juliamass.8.1}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{203}{juliamass.8.1}\protected@file@percent } +\newlabel{88@xvr}{{}{203}} +\newlabel{88@vr}{{}{203}} +\newlabel{julia:therm-read}{{8.{1}}{203}{Julia Code}{juliamass.8.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm\textendash read.jl}{203}{lstlisting.8.-144}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{8.{2}}{}}{203}{juliamass.8.2}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{203}{juliamass.8.2}\protected@file@percent } +\newlabel{89@xvr}{{}{203}} +\newlabel{89@vr}{{}{203}} +\newlabel{julia:therm-buzzer}{{8.{2}}{203}{Julia Code}{juliamass.8.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm\textendash buzzer.jl}{203}{lstlisting.8.-145}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {8.8}Interfacing the thermistor from OpenModelica}{204}{section.8.8}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.8.1}Interfacing the thermistor}{204}{subsection.8.8.1}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/therm\textendash read.mo}{204}{lstlisting.8.-146}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/therm\textendash read.mo}{204}{lstlisting.8.-147}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/therm\textendash buzzer.mo}{205}{lstlisting.8.-148}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{206}{section*.126}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {8.8.2}OpenModelica Code}{206}{subsection.8.8.2}\protected@file@percent } +\newlabel{sec:therm-OpenModelica-code}{{8.8.2}{206}{OpenModelica Code}{subsection.8.8.2}{}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{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}{175}{chapter.9}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{206}{OpenModelicamass.8.1}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{206}{OpenModelicamass.8.1}\protected@file@percent } +\newlabel{OpenModelica:therm-read}{{8.{1}}{206}{OpenModelica Code}{OpenModelicamass.8.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/therm\textendash read.mo}{206}{lstlisting.8.-149}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{2}}{}}{207}{OpenModelicamass.8.2}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{207}{OpenModelicamass.8.2}\protected@file@percent } +\newlabel{OpenModelica:therm-buzzer}{{8.{2}}{207}{OpenModelica Code}{OpenModelicamass.8.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/therm\textendash buzzer.mo}{207}{lstlisting.8.-150}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {9}Interfacing a Servomotor}{209}{chapter.9}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{sec:servo}{{9}{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 } +\newlabel{sec:servo}{{9}{209}{Interfacing a Servomotor}{chapter.9}{}} +\@writefile{toc}{\contentsline {section}{\numberline {9.1}Preliminaries}{209}{section.9.1}\protected@file@percent } +\newlabel{sec:servo-pril}{{9.1}{209}{Preliminaries}{section.9.1}{}} +\citation{arduino-pwm} +\@writefile{lof}{\contentsline {figure}{\numberline {9.1}{\ignorespaces Connecting servomotor to the Shield attached on Arduino Uno\relax }}{210}{figure.caption.127}\protected@file@percent } +\newlabel{fig:servo-shield}{{9.1}{210}{Connecting servomotor to the Shield attached on \arduino \relax }{figure.caption.127}{}} +\@writefile{lot}{\contentsline {table}{\numberline {9.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{211}{table.caption.128}\protected@file@percent } +\newlabel{tab:servo-connect}{{9.1}{211}{Connecting a typical servomotor to \arduino \ board\relax }{table.caption.128}{}} +\@writefile{toc}{\contentsline {section}{\numberline {9.2}Connecting a servomotor with Arduino Uno\ using a breadboard}{211}{section.9.2}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {9.2}{\ignorespaces A servomotor with Arduino Uno\ using a breadboard\relax }}{212}{figure.caption.129}\protected@file@percent } +\newlabel{fig:servo-bread}{{9.2}{212}{A servomotor with \arduino \ using a breadboard\relax }{figure.caption.129}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.3}{\ignorespaces A servomotor and a potentiometer with Arduino Uno\ using a breadboard\relax }}{212}{figure.caption.130}\protected@file@percent } +\newlabel{fig:servo-pot-bread}{{9.3}{212}{A servomotor and a potentiometer with \arduino \ using a breadboard\relax }{figure.caption.130}{}} +\@writefile{toc}{\contentsline {section}{\numberline {9.3}Controlling the servomotor through the Arduino IDE}{212}{section.9.3}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.1}Controlling the servomotor}{212}{subsection.9.3.1}\protected@file@percent } +\newlabel{sec:servo-ard}{{9.3.1}{212}{Controlling the servomotor}{subsection.9.3.1}{}} \citation{servo-lib} -\@writefile{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{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{213}{lstlisting.9.-151}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{213}{lstlisting.9.-152}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{213}{lstlisting.9.-153}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{213}{lstlisting.9.-154}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash reverse/servo\textendash reverse.ino}{214}{lstlisting.9.-155}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash pot/servo\textendash pot.ino}{214}{lstlisting.9.-156}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{1}}{}}{215}{egmass.9.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{215}{subsection.9.3.2}\protected@file@percent } +\newlabel{sec:servo-arduino-code}{{9.3.2}{215}{Arduino Code}{subsection.9.3.2}{}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{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{thm}{\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{215}{ardmass.9.1}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{215}{ardmass.9.1}\protected@file@percent } +\newlabel{90@xvr}{{}{216}} +\newlabel{90@vr}{{}{216}} +\newlabel{ard:servo-init}{{9.{1}}{216}{Arduino Code}{ardmass.9.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{216}{lstlisting.9.-157}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{216}{ardmass.9.2}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{216}{ardmass.9.2}\protected@file@percent } +\newlabel{91@xvr}{{}{216}} +\newlabel{91@vr}{{}{216}} +\newlabel{ard:servo-reverse}{{9.{2}}{216}{Arduino Code}{ardmass.9.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash reverse/servo\textendash reverse.ino}{216}{lstlisting.9.-158}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{3}}{}}{216}{ardmass.9.3}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in increments}{216}{ardmass.9.3}\protected@file@percent } +\newlabel{92@xvr}{{}{216}} +\newlabel{92@vr}{{}{216}} +\newlabel{ard:servo-loop}{{9.{3}}{216}{Arduino Code}{ardmass.9.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash loop/servo\textendash loop.ino}{217}{lstlisting.9.-159}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{4}}{}}{217}{ardmass.9.4}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {9.{4}}Rotating the servomotor through the potentiometer}{217}{ardmass.9.4}\protected@file@percent } +\newlabel{93@xvr}{{}{217}} +\newlabel{93@vr}{{}{217}} +\newlabel{ard:servo-pot}{{9.{4}}{217}{Arduino Code}{ardmass.9.4}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo\textendash pot/servo\textendash pot.ino}{217}{lstlisting.9.-160}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.4}Controlling the servomotor through Scilab}{218}{section.9.4}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.1}Controlling the servomotor}{218}{subsection.9.4.1}\protected@file@percent } +\newlabel{sec:servo-sci}{{9.4.1}{218}{Controlling the servomotor}{subsection.9.4.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash init.sce}{218}{lstlisting.9.-161}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash init.sce}{218}{lstlisting.9.-162}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash reverse.sce}{219}{lstlisting.9.-163}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash pot.sce}{219}{lstlisting.9.-164}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{220}{subsection.9.4.2}\protected@file@percent } +\newlabel{sec:servo-scilab-code}{{9.4.2}{220}{Scilab Code}{subsection.9.4.2}{}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{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{thm}{\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{220}{codemass.9.1}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{220}{codemass.9.1}\protected@file@percent } +\newlabel{94@xvr}{{}{220}} +\newlabel{94@vr}{{}{220}} +\newlabel{sci:servo-init}{{9.{1}}{220}{Scilab Code}{codemass.9.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash init.sce}{220}{lstlisting.9.-165}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{221}{codemass.9.2}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{221}{codemass.9.2}\protected@file@percent } +\newlabel{95@xvr}{{}{221}} +\newlabel{95@vr}{{}{221}} +\newlabel{sci:servo-reverse}{{9.{2}}{221}{Scilab Code}{codemass.9.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash reverse.sce}{221}{lstlisting.9.-166}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{3}}{}}{221}{codemass.9.3}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{221}{codemass.9.3}\protected@file@percent } +\newlabel{96@xvr}{{}{221}} +\newlabel{96@vr}{{}{221}} +\newlabel{sci:servo-loop}{{9.{3}}{221}{Scilab Code}{codemass.9.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash loop.sce}{221}{lstlisting.9.-167}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{4}}{}}{221}{codemass.9.4}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{221}{codemass.9.4}\protected@file@percent } +\newlabel{97@xvr}{{}{221}} +\newlabel{97@vr}{{}{221}} +\newlabel{sci:servo-pot}{{9.{4}}{221}{Scilab Code}{codemass.9.4}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo\textendash pot.sce}{222}{lstlisting.9.-168}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.5}Controling the servomotor through Xcos}{222}{section.9.5}\protected@file@percent } +\newlabel{sec:servo-xcos}{{9.5}{222}{Controling the servomotor through Xcos}{section.9.5}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.4}{\ignorespaces Rotating the servomotor by a fixed angle}}{223}{figure.caption.131}\protected@file@percent } +\newlabel{99@xvr}{{}{223}} +\newlabel{99@vr}{{}{223}} +\newlabel{fig:servo-init}{{9.4}{223}{Rotating the servomotor by a fixed angle}{figure.caption.131}{}} +\@writefile{lot}{\contentsline {table}{\numberline {9.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{223}{table.caption.132}\protected@file@percent } +\newlabel{tab:servo-init}{{9.2}{223}{Parameters to rotate the servomotor by $30^\circ $\relax }{table.caption.132}{}} +\newlabel{100@xvr}{{}{223}} +\newlabel{100@vr}{{}{223}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.5}{\ignorespaces Rotating the servomotor forward and then reverse}}{224}{figure.caption.133}\protected@file@percent } +\newlabel{102@xvr}{{}{224}} +\newlabel{102@vr}{{}{224}} +\newlabel{fig:servo-reverse}{{9.5}{224}{Rotating the servomotor forward and then reverse}{figure.caption.133}{}} +\@writefile{lot}{\contentsline {table}{\numberline {9.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{224}{table.caption.134}\protected@file@percent } +\newlabel{tab:servo-reverse}{{9.3}{224}{Parameters to rotate the servomotor forward and reverse\relax }{table.caption.134}{}} +\newlabel{103@xvr}{{}{224}} +\newlabel{103@vr}{{}{224}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.6}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{225}{figure.caption.135}\protected@file@percent } +\newlabel{105@xvr}{{}{225}} +\newlabel{105@vr}{{}{225}} +\newlabel{fig:servo-loop}{{9.6}{225}{Rotating the servomotor in increments of $20^\circ $}{figure.caption.135}{}} +\@writefile{lot}{\contentsline {table}{\numberline {9.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{225}{table.caption.136}\protected@file@percent } +\newlabel{tab:servo-loop}{{9.4}{225}{Parameters to make the servomotor to sweep the entire range in increments\relax }{table.caption.136}{}} +\newlabel{106@xvr}{{}{225}} +\newlabel{106@vr}{{}{225}} +\@writefile{lof}{\contentsline {figure}{\numberline {9.7}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{226}{figure.caption.137}\protected@file@percent } +\newlabel{108@xvr}{{}{226}} +\newlabel{108@vr}{{}{226}} +\newlabel{fig:servo-pot}{{9.7}{226}{Rotating the servomotor as suggested by the potentiometer}{figure.caption.137}{}} +\@writefile{toc}{\contentsline {section}{\numberline {9.6}Controlling the servomotor through Python}{226}{section.9.6}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.1}Controlling the servomotor}{226}{subsection.9.6.1}\protected@file@percent } +\newlabel{sec:servo-py}{{9.6.1}{226}{Controlling the servomotor}{subsection.9.6.1}{}} +\@writefile{lot}{\contentsline {table}{\numberline {9.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{227}{table.caption.138}\protected@file@percent } +\newlabel{tab:servo-pot}{{9.5}{227}{Parameters to rotate the servomotor based on the input from the potentiometer\relax }{table.caption.138}{}} +\newlabel{109@xvr}{{}{227}} +\newlabel{109@vr}{{}{227}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash init.py}{227}{lstlisting.9.-169}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash init.py}{228}{lstlisting.9.-170}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash reverse.py}{228}{lstlisting.9.-171}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash pot.py}{229}{lstlisting.9.-172}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.2}Python Code}{229}{subsection.9.6.2}\protected@file@percent } +\newlabel{sec:servo-python-code}{{9.6.2}{229}{Python Code}{subsection.9.6.2}{}} \@writefile{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}{{}{194}} -\newlabel{113@vr}{{}{194}} -\newlabel{py:servo-pot}{{9.{4}}{194}{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}{195}{section.9.7}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.1}Controlling the servomotor}{195}{subsection.9.7.1}\protected@file@percent } -\newlabel{sec:servo-julia}{{9.7.1}{195}{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{thm}{\contentsline {pymass}{{Python Code}{9.{1}}{}}{229}{pymass.9.1}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{229}{pymass.9.1}\protected@file@percent } +\newlabel{110@xvr}{{}{229}} +\newlabel{110@vr}{{}{229}} +\newlabel{py:servo-init}{{9.{1}}{229}{Python Code}{pymass.9.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash init.py}{229}{lstlisting.9.-173}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{2}}{}}{230}{pymass.9.2}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{230}{pymass.9.2}\protected@file@percent } +\newlabel{111@xvr}{{}{230}} +\newlabel{111@vr}{{}{230}} +\newlabel{py:servo-reverse}{{9.{2}}{230}{Python Code}{pymass.9.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash reverse.py}{230}{lstlisting.9.-174}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{3}}{}}{231}{pymass.9.3}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{231}{pymass.9.3}\protected@file@percent } +\newlabel{112@xvr}{{}{231}} +\newlabel{112@vr}{{}{231}} +\newlabel{py:servo-loop}{{9.{3}}{231}{Python Code}{pymass.9.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash loop.py}{231}{lstlisting.9.-175}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{4}}{}}{232}{pymass.9.4}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{232}{pymass.9.4}\protected@file@percent } +\newlabel{113@xvr}{{}{232}} +\newlabel{113@vr}{{}{232}} +\newlabel{py:servo-pot}{{9.{4}}{232}{Python Code}{pymass.9.4}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo\textendash pot.py}{232}{lstlisting.9.-176}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.7}Controlling the servomotor through Julia}{233}{section.9.7}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.1}Controlling the servomotor}{233}{subsection.9.7.1}\protected@file@percent } +\newlabel{sec:servo-julia}{{9.7.1}{233}{Controlling the servomotor}{subsection.9.7.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash init.jl}{234}{lstlisting.9.-177}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash init.jl}{234}{lstlisting.9.-178}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash reverse.jl}{235}{lstlisting.9.-179}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash pot.jl}{235}{lstlisting.9.-180}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.2}Julia Code}{236}{subsection.9.7.2}\protected@file@percent } +\newlabel{sec:servo-julia-code}{{9.7.2}{236}{Julia Code}{subsection.9.7.2}{}} \@writefile{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}}{}}{197}{juliamass.9.2}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{197}{juliamass.9.2}\protected@file@percent } -\newlabel{115@xvr}{{}{197}} -\newlabel{115@vr}{{}{197}} -\newlabel{julia:servo-reverse}{{9.{2}}{197}{Julia Code}{juliamass.9.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash reverse.jl}{197}{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}{200}{subsection.9.8.2}\protected@file@percent } -\newlabel{sec:servo-OpenModelica-code}{{9.8.2}{200}{OpenModelica Code}{subsection.9.8.2}{}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{236}{juliamass.9.1}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{236}{juliamass.9.1}\protected@file@percent } +\newlabel{114@xvr}{{}{236}} +\newlabel{114@vr}{{}{236}} +\newlabel{julia:servo-init}{{9.{1}}{236}{Julia Code}{juliamass.9.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash init.jl}{236}{lstlisting.9.-181}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{236}{juliamass.9.2}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{236}{juliamass.9.2}\protected@file@percent } +\newlabel{115@xvr}{{}{236}} +\newlabel{115@vr}{{}{236}} +\newlabel{julia:servo-reverse}{{9.{2}}{236}{Julia Code}{juliamass.9.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash reverse.jl}{236}{lstlisting.9.-182}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{3}}{}}{236}{juliamass.9.3}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{236}{juliamass.9.3}\protected@file@percent } +\newlabel{116@xvr}{{}{236}} +\newlabel{116@vr}{{}{236}} +\newlabel{julia:servo-loop}{{9.{3}}{236}{Julia Code}{juliamass.9.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash loop.jl}{236}{lstlisting.9.-183}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{4}}{}}{237}{juliamass.9.4}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{237}{juliamass.9.4}\protected@file@percent } +\newlabel{117@xvr}{{}{237}} +\newlabel{117@vr}{{}{237}} +\newlabel{julia:servo-pot}{{9.{4}}{237}{Julia Code}{juliamass.9.4}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo\textendash pot.jl}{237}{lstlisting.9.-184}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {9.8}Controlling the servomotor through OpenModelica}{237}{section.9.8}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.1}Controlling the servomotor}{237}{subsection.9.8.1}\protected@file@percent } +\newlabel{sec:servo-OpenModelica}{{9.8.1}{237}{Controlling the servomotor}{subsection.9.8.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash init.mo}{238}{lstlisting.9.-185}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash init.mo}{238}{lstlisting.9.-186}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash reverse.mo}{238}{lstlisting.9.-187}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash pot.mo}{239}{lstlisting.9.-188}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{240}{subsection.9.8.2}\protected@file@percent } +\newlabel{sec:servo-OpenModelica-code}{{9.8.2}{240}{OpenModelica Code}{subsection.9.8.2}{}} \@writefile{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}{205}{chapter.10}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{240}{OpenModelicamass.9.1}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{240}{OpenModelicamass.9.1}\protected@file@percent } +\newlabel{OpenModelica:servo-init}{{9.{1}}{240}{OpenModelica Code}{OpenModelicamass.9.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash init.mo}{240}{lstlisting.9.-189}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{241}{OpenModelicamass.9.2}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{241}{OpenModelicamass.9.2}\protected@file@percent } +\newlabel{OpenModelica:servo-reverse}{{9.{2}}{241}{OpenModelica Code}{OpenModelicamass.9.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash reverse.mo}{241}{lstlisting.9.-190}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{3}}{}}{242}{OpenModelicamass.9.3}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{242}{OpenModelicamass.9.3}\protected@file@percent } +\newlabel{OpenModelica:servo-loop}{{9.{3}}{242}{OpenModelica Code}{OpenModelicamass.9.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash loop.mo}{242}{lstlisting.9.-191}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{4}}{}}{242}{OpenModelicamass.9.4}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{242}{OpenModelicamass.9.4}\protected@file@percent } +\newlabel{OpenModelica:servo-pot}{{9.{4}}{243}{OpenModelica Code}{OpenModelicamass.9.4}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo\textendash pot.mo}{243}{lstlisting.9.-192}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {10}Interfacing a DC Motor}{245}{chapter.10}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{dcmotor}{{10}{205}{Interfacing a DC Motor}{chapter.10}{}} -\@writefile{toc}{\contentsline {section}{\numberline {10.1}Preliminaries}{205}{section.10.1}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {10.1}{\ignorespaces L293D motor driver board\relax }}{206}{figure.caption.139}\protected@file@percent } -\newlabel{fig:motordriverboard}{{10.1}{206}{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 }}{206}{table.caption.140}\protected@file@percent } -\newlabel{table:convention}{{10.1}{206}{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 }}{207}{figure.caption.141}\protected@file@percent } -\newlabel{fig:uno-pwm}{{10.2}{207}{PWM pins on an \arduino \ board\relax }{figure.caption.141}{}} -\@writefile{toc}{\contentsline {section}{\numberline {10.2}Controlling the DC motor from Arduino}{207}{section.10.2}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.1}Controlling the DC motor}{207}{subsection.10.2.1}\protected@file@percent } -\newlabel{sec:dcm-ard}{{10.2.1}{207}{Controlling the DC motor}{subsection.10.2.1}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.3}{\ignorespaces A schematic of DC motor connections\relax }}{208}{figure.caption.142}\protected@file@percent } -\newlabel{fig:dcm-schematic}{{10.3}{208}{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 }}{208}{figure.caption.143}\protected@file@percent } -\newlabel{fig:dcmotorconn}{{10.4}{208}{How to connect the DC motor to the \arduino \ board\relax }{figure.caption.143}{}} -\@writefile{toc}{\contentsline {paragraph}{Note:}{208}{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}{209}{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}{209}{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}{209}{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}{209}{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}{209}{lstlisting.10.-197}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{1}}{}}{210}{egmass.10.1}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{210}{subsection.10.2.2}\protected@file@percent } -\newlabel{sec:dcmotor-arduino-code}{{10.2.2}{210}{Arduino Code}{subsection.10.2.2}{}} +\newlabel{dcmotor}{{10}{245}{Interfacing a DC Motor}{chapter.10}{}} +\@writefile{toc}{\contentsline {section}{\numberline {10.1}Preliminaries}{245}{section.10.1}\protected@file@percent } +\citation{arduino-pwm} +\@writefile{lof}{\contentsline {figure}{\numberline {10.1}{\ignorespaces L293D motor driver board\relax }}{246}{figure.caption.139}\protected@file@percent } +\newlabel{fig:motordriverboard}{{10.1}{246}{L293D motor driver board\relax }{figure.caption.139}{}} +\@writefile{lot}{\contentsline {table}{\numberline {10.1}{\ignorespaces Values to be passed for different H-Bridge circuits\relax }}{246}{table.caption.140}\protected@file@percent } +\newlabel{table:convention}{{10.1}{246}{Values to be passed for different H-Bridge circuits\relax }{table.caption.140}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.2}{\ignorespaces PWM pins on an Arduino Uno\ board\relax }}{247}{figure.caption.141}\protected@file@percent } +\newlabel{fig:uno-pwm}{{10.2}{247}{PWM pins on an \arduino \ board\relax }{figure.caption.141}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.3}{\ignorespaces A schematic of DC motor connections\relax }}{248}{figure.caption.142}\protected@file@percent } +\newlabel{fig:dcm-schematic}{{10.3}{248}{A schematic of DC motor connections\relax }{figure.caption.142}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.4}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{248}{figure.caption.143}\protected@file@percent } +\newlabel{fig:dcmotorconn}{{10.4}{248}{How to connect the DC motor to the \arduino \ board\relax }{figure.caption.143}{}} +\@writefile{toc}{\contentsline {section}{\numberline {10.2}Controlling the DC motor from Arduino}{249}{section.10.2}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.1}Controlling the DC motor}{249}{subsection.10.2.1}\protected@file@percent } +\newlabel{sec:dcm-ard}{{10.2.1}{249}{Controlling the DC motor}{subsection.10.2.1}{}} +\@writefile{toc}{\contentsline {paragraph}{Note:}{249}{section*.144}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{249}{lstlisting.10.-193}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{249}{lstlisting.10.-194}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{250}{lstlisting.10.-195}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor\textendash both/dcmotor\textendash both.ino}{250}{lstlisting.10.-196}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor\textendash both/dcmotor\textendash both.ino}{250}{lstlisting.10.-197}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{1}}{}}{251}{egmass.10.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{251}{subsection.10.2.2}\protected@file@percent } +\newlabel{sec:dcmotor-arduino-code}{{10.2.2}{251}{Arduino Code}{subsection.10.2.2}{}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{210}{ardmass.10.1}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{210}{ardmass.10.1}\protected@file@percent } -\newlabel{118@xvr}{{}{210}} -\newlabel{118@vr}{{}{210}} -\newlabel{ard:dcmotor-clock}{{10.{1}}{210}{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}{210}{lstlisting.10.-198}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{210}{ardmass.10.2}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{210}{ardmass.10.2}\protected@file@percent } -\newlabel{119@xvr}{{}{210}} -\newlabel{119@vr}{{}{210}} -\newlabel{ard:dcmotor-both}{{10.{2}}{210}{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}{210}{lstlisting.10.-199}\protected@file@percent } -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{211}{ardmass.10.3}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{211}{ardmass.10.3}\protected@file@percent } -\newlabel{120@xvr}{{}{211}} -\newlabel{120@vr}{{}{211}} -\newlabel{ard:dcmotor-loop}{{10.{3}}{211}{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}{211}{lstlisting.10.-200}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.3}Controlling the DC motor from Scilab}{211}{section.10.3}\protected@file@percent } -\newlabel{sec:dcm-sci}{{10.3}{211}{Controlling the DC motor from Scilab}{section.10.3}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.1}Controlling the DC motor}{211}{subsection.10.3.1}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{212}{section*.145}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{212}{lstlisting.10.-202}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{213}{lstlisting.10.-204}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{213}{lstlisting.10.-205}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{213}{lstlisting.10.-206}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{213}{section*.146}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{213}{lstlisting.10.-207}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{213}{lstlisting.10.-208}\protected@file@percent } -\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{2}}{}}{214}{egmass.10.2}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{214}{subsection.10.3.2}\protected@file@percent } -\newlabel{sec:dcmotor-scilab-code}{{10.3.2}{214}{Scilab Code}{subsection.10.3.2}{}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{251}{ardmass.10.1}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{251}{ardmass.10.1}\protected@file@percent } +\newlabel{118@xvr}{{}{251}} +\newlabel{118@vr}{{}{251}} +\newlabel{ard:dcmotor-clock}{{10.{1}}{251}{Arduino Code}{ardmass.10.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{251}{lstlisting.10.-198}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{252}{ardmass.10.2}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{252}{ardmass.10.2}\protected@file@percent } +\newlabel{119@xvr}{{}{252}} +\newlabel{119@vr}{{}{252}} +\newlabel{ard:dcmotor-both}{{10.{2}}{252}{Arduino Code}{ardmass.10.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor\textendash both/dcmotor\textendash both.ino}{252}{lstlisting.10.-199}\protected@file@percent } +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{252}{ardmass.10.3}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{252}{ardmass.10.3}\protected@file@percent } +\newlabel{120@xvr}{{}{252}} +\newlabel{120@vr}{{}{252}} +\newlabel{ard:dcmotor-loop}{{10.{3}}{252}{Arduino Code}{ardmass.10.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor\textendash loop/dcmotor\textendash loop.ino}{252}{lstlisting.10.-200}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.3}Controlling the DC motor from Scilab}{253}{section.10.3}\protected@file@percent } +\newlabel{sec:dcm-sci}{{10.3}{253}{Controlling the DC motor from Scilab}{section.10.3}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.1}Controlling the DC motor}{253}{subsection.10.3.1}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{253}{section*.145}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{254}{lstlisting.10.-202}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{254}{lstlisting.10.-204}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{254}{lstlisting.10.-205}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{255}{lstlisting.10.-206}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{255}{section*.146}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{255}{lstlisting.10.-207}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{256}{lstlisting.10.-208}\protected@file@percent } +\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{2}}{}}{256}{egmass.10.2}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{256}{subsection.10.3.2}\protected@file@percent } +\newlabel{sec:dcmotor-scilab-code}{{10.3.2}{256}{Scilab Code}{subsection.10.3.2}{}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{214}{codemass.10.1}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{214}{codemass.10.1}\protected@file@percent } -\newlabel{121@xvr}{{}{214}} -\newlabel{121@vr}{{}{214}} -\newlabel{sci:dcmotor-clock}{{10.{1}}{214}{Scilab Code}{codemass.10.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{214}{lstlisting.10.-209}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{214}{codemass.10.2}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{214}{codemass.10.2}\protected@file@percent } -\newlabel{122@xvr}{{}{214}} -\newlabel{122@vr}{{}{214}} -\newlabel{sci:dcmotor-both}{{10.{2}}{214}{Scilab Code}{codemass.10.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{214}{lstlisting.10.-210}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{215}{codemass.10.3}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{215}{codemass.10.3}\protected@file@percent } -\newlabel{123@xvr}{{}{215}} -\newlabel{123@vr}{{}{215}} -\newlabel{sci:dcmotor-loop}{{10.{3}}{215}{Scilab Code}{codemass.10.3}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash loop.sce}{215}{lstlisting.10.-211}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.4}Controlling the DC motor from Xcos}{215}{section.10.4}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {10.5}{\ignorespaces Control of DC motor for a specified time from Xcos}}{216}{figure.caption.147}\protected@file@percent } -\newlabel{125@xvr}{{}{216}} -\newlabel{125@vr}{{}{216}} -\newlabel{fig:dcmotor-clock}{{10.5}{216}{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 }}{216}{table.caption.148}\protected@file@percent } -\newlabel{tab:dcmotor-clock}{{10.2}{216}{Xcos parameters to drive the DC motor for a specified time\relax }{table.caption.148}{}} -\newlabel{126@xvr}{{}{216}} -\newlabel{126@vr}{{}{216}} -\@writefile{lof}{\contentsline {figure}{\numberline {10.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{217}{figure.caption.149}\protected@file@percent } -\newlabel{128@xvr}{{}{217}} -\newlabel{128@vr}{{}{217}} -\newlabel{fig:dcmotor-both}{{10.6}{217}{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 }}{217}{table.caption.150}\protected@file@percent } -\newlabel{tab:dcmotor-both}{{10.3}{217}{Xcos parameters to drive the DC motor in forward and reverse directions\relax }{table.caption.150}{}} -\newlabel{129@xvr}{{}{217}} -\newlabel{129@vr}{{}{217}} -\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{3}}{}}{217}{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}}{218}{figure.caption.151}\protected@file@percent } -\newlabel{131@xvr}{{}{218}} -\newlabel{131@vr}{{}{218}} -\newlabel{fig:dcmotor-loop}{{10.7}{218}{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}{218}{section.10.5}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.1}Controlling the DC motor}{218}{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 }}{219}{table.caption.152}\protected@file@percent } -\newlabel{tab:dcmotor-loop}{{10.4}{219}{Xcos parameters to drive the DC motor in a loop\relax }{table.caption.152}{}} -\newlabel{132@xvr}{{}{219}} -\newlabel{132@vr}{{}{219}} -\@writefile{toc}{\contentsline {paragraph}{Note:}{219}{section*.153}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash clock.py}{220}{lstlisting.10.-213}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash clock.py}{220}{lstlisting.10.-215}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash clock.py}{220}{lstlisting.10.-216}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash clock.py}{220}{lstlisting.10.-217}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{220}{section*.154}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash both.py}{221}{lstlisting.10.-218}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash both.py}{221}{lstlisting.10.-219}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.2}Python Code}{221}{subsection.10.5.2}\protected@file@percent } -\newlabel{sec:dcmotor-python-code}{{10.5.2}{221}{Python Code}{subsection.10.5.2}{}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{256}{codemass.10.1}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{256}{codemass.10.1}\protected@file@percent } +\newlabel{121@xvr}{{}{256}} +\newlabel{121@vr}{{}{256}} +\newlabel{sci:dcmotor-clock}{{10.{1}}{256}{Scilab Code}{codemass.10.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{257}{lstlisting.10.-209}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{257}{codemass.10.2}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{257}{codemass.10.2}\protected@file@percent } +\newlabel{122@xvr}{{}{257}} +\newlabel{122@vr}{{}{257}} +\newlabel{sci:dcmotor-both}{{10.{2}}{257}{Scilab Code}{codemass.10.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{257}{lstlisting.10.-210}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{257}{codemass.10.3}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{257}{codemass.10.3}\protected@file@percent } +\newlabel{123@xvr}{{}{257}} +\newlabel{123@vr}{{}{257}} +\newlabel{sci:dcmotor-loop}{{10.{3}}{257}{Scilab Code}{codemass.10.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor\textendash loop.sce}{257}{lstlisting.10.-211}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {10.5}{\ignorespaces Control of DC motor for a specified time from Xcos}}{258}{figure.caption.147}\protected@file@percent } +\newlabel{125@xvr}{{}{258}} +\newlabel{125@vr}{{}{258}} +\newlabel{fig:dcmotor-clock}{{10.5}{258}{Control of DC motor for a specified time from Xcos}{figure.caption.147}{}} +\@writefile{toc}{\contentsline {section}{\numberline {10.4}Controlling the DC motor from Xcos}{258}{section.10.4}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {10.2}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{259}{table.caption.148}\protected@file@percent } +\newlabel{tab:dcmotor-clock}{{10.2}{259}{Xcos parameters to drive the DC motor for a specified time\relax }{table.caption.148}{}} +\newlabel{126@xvr}{{}{259}} +\newlabel{126@vr}{{}{259}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{260}{figure.caption.149}\protected@file@percent } +\newlabel{128@xvr}{{}{260}} +\newlabel{128@vr}{{}{260}} +\newlabel{fig:dcmotor-both}{{10.6}{260}{Xcos control of the DC motor in forward and reverse directions}{figure.caption.149}{}} +\@writefile{lot}{\contentsline {table}{\numberline {10.3}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{260}{table.caption.150}\protected@file@percent } +\newlabel{tab:dcmotor-both}{{10.3}{260}{Xcos parameters to drive the DC motor in forward and reverse directions\relax }{table.caption.150}{}} +\newlabel{129@xvr}{{}{260}} +\newlabel{129@vr}{{}{260}} +\@writefile{lof}{\contentsline {figure}{\numberline {10.7}{\ignorespaces Xcos control of the DC motor in both directions in a loop}}{261}{figure.caption.151}\protected@file@percent } +\newlabel{131@xvr}{{}{261}} +\newlabel{131@vr}{{}{261}} +\newlabel{fig:dcmotor-loop}{{10.7}{261}{Xcos control of the DC motor in both directions in a loop}{figure.caption.151}{}} +\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{3}}{}}{261}{egmass.10.3}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {10.4}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{262}{table.caption.152}\protected@file@percent } +\newlabel{tab:dcmotor-loop}{{10.4}{262}{Xcos parameters to drive the DC motor in a loop\relax }{table.caption.152}{}} +\newlabel{132@xvr}{{}{262}} +\newlabel{132@vr}{{}{262}} +\@writefile{toc}{\contentsline {section}{\numberline {10.5}Controlling the DC motor from Python}{262}{section.10.5}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.1}Controlling the DC motor}{262}{subsection.10.5.1}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{262}{section*.153}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash clock.py}{263}{lstlisting.10.-213}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash clock.py}{264}{lstlisting.10.-215}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash clock.py}{264}{lstlisting.10.-216}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash clock.py}{264}{lstlisting.10.-217}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{264}{section*.154}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash both.py}{265}{lstlisting.10.-218}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash both.py}{265}{lstlisting.10.-219}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.2}Python Code}{265}{subsection.10.5.2}\protected@file@percent } +\newlabel{sec:dcmotor-python-code}{{10.5.2}{265}{Python Code}{subsection.10.5.2}{}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{1}}{}}{221}{pymass.10.1}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{221}{pymass.10.1}\protected@file@percent } -\newlabel{133@xvr}{{}{221}} -\newlabel{133@vr}{{}{221}} -\newlabel{py:dcmotor-clock}{{10.{1}}{221}{Python Code}{pymass.10.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash clock.py}{221}{lstlisting.10.-220}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{2}}{}}{222}{pymass.10.2}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{222}{pymass.10.2}\protected@file@percent } -\newlabel{134@xvr}{{}{222}} -\newlabel{134@vr}{{}{222}} -\newlabel{py:dcmotor-both}{{10.{2}}{222}{Python Code}{pymass.10.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash both.py}{222}{lstlisting.10.-221}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{3}}{}}{223}{pymass.10.3}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{223}{pymass.10.3}\protected@file@percent } -\newlabel{135@xvr}{{}{223}} -\newlabel{135@vr}{{}{223}} -\newlabel{py:dcmotor-loop}{{10.{3}}{223}{Python Code}{pymass.10.3}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash loop.py}{223}{lstlisting.10.-222}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.6}Controlling the DC motor from Julia}{224}{section.10.6}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.1}Controlling the DC motor}{224}{subsection.10.6.1}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{224}{section*.155}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{225}{lstlisting.10.-224}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{225}{lstlisting.10.-226}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{225}{lstlisting.10.-227}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{225}{lstlisting.10.-228}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{226}{section*.156}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash both.jl}{226}{lstlisting.10.-229}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash both.jl}{226}{lstlisting.10.-230}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.2}Julia Code}{226}{subsection.10.6.2}\protected@file@percent } -\newlabel{sec:dcmotor-julia-code}{{10.6.2}{226}{Julia Code}{subsection.10.6.2}{}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{1}}{}}{265}{pymass.10.1}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{265}{pymass.10.1}\protected@file@percent } +\newlabel{133@xvr}{{}{265}} +\newlabel{133@vr}{{}{265}} +\newlabel{py:dcmotor-clock}{{10.{1}}{265}{Python Code}{pymass.10.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash clock.py}{265}{lstlisting.10.-220}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{2}}{}}{266}{pymass.10.2}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{266}{pymass.10.2}\protected@file@percent } +\newlabel{134@xvr}{{}{266}} +\newlabel{134@vr}{{}{266}} +\newlabel{py:dcmotor-both}{{10.{2}}{266}{Python Code}{pymass.10.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash both.py}{266}{lstlisting.10.-221}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{3}}{}}{267}{pymass.10.3}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{267}{pymass.10.3}\protected@file@percent } +\newlabel{135@xvr}{{}{267}} +\newlabel{135@vr}{{}{267}} +\newlabel{py:dcmotor-loop}{{10.{3}}{267}{Python Code}{pymass.10.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor\textendash loop.py}{267}{lstlisting.10.-222}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.6}Controlling the DC motor from Julia}{269}{section.10.6}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.1}Controlling the DC motor}{269}{subsection.10.6.1}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{269}{section*.155}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{270}{lstlisting.10.-224}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{270}{lstlisting.10.-226}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{270}{lstlisting.10.-227}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{270}{lstlisting.10.-228}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{271}{section*.156}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash both.jl}{271}{lstlisting.10.-229}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash both.jl}{271}{lstlisting.10.-230}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.2}Julia Code}{272}{subsection.10.6.2}\protected@file@percent } +\newlabel{sec:dcmotor-julia-code}{{10.6.2}{272}{Julia Code}{subsection.10.6.2}{}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{226}{juliamass.10.1}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{226}{juliamass.10.1}\protected@file@percent } -\newlabel{136@xvr}{{}{226}} -\newlabel{136@vr}{{}{226}} -\newlabel{julia:dcmotor-clock}{{10.{1}}{226}{Julia Code}{juliamass.10.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{226}{lstlisting.10.-231}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{227}{juliamass.10.2}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{227}{juliamass.10.2}\protected@file@percent } -\newlabel{137@xvr}{{}{227}} -\newlabel{137@vr}{{}{227}} -\newlabel{julia:dcmotor-both}{{10.{2}}{227}{Julia Code}{juliamass.10.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash both.jl}{227}{lstlisting.10.-232}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{227}{juliamass.10.3}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{227}{juliamass.10.3}\protected@file@percent } -\newlabel{138@xvr}{{}{227}} -\newlabel{138@vr}{{}{227}} -\newlabel{julia:dcmotor-loop}{{10.{3}}{227}{Julia Code}{juliamass.10.3}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash loop.jl}{227}{lstlisting.10.-233}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {10.7}Controlling the DC motor from OpenModelica}{227}{section.10.7}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.1}Controlling the DC motor}{227}{subsection.10.7.1}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{228}{section*.157}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{228}{lstlisting.10.-235}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{229}{lstlisting.10.-237}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{229}{lstlisting.10.-238}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{229}{lstlisting.10.-239}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note:}{229}{section*.158}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{229}{lstlisting.10.-240}\protected@file@percent } -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{229}{lstlisting.10.-241}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{230}{subsection.10.7.2}\protected@file@percent } -\newlabel{sec:dcmotor-OpenModelica-code}{{10.7.2}{230}{OpenModelica Code}{subsection.10.7.2}{}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{272}{juliamass.10.1}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{272}{juliamass.10.1}\protected@file@percent } +\newlabel{136@xvr}{{}{272}} +\newlabel{136@vr}{{}{272}} +\newlabel{julia:dcmotor-clock}{{10.{1}}{272}{Julia Code}{juliamass.10.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{272}{lstlisting.10.-231}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{272}{juliamass.10.2}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{272}{juliamass.10.2}\protected@file@percent } +\newlabel{137@xvr}{{}{272}} +\newlabel{137@vr}{{}{272}} +\newlabel{julia:dcmotor-both}{{10.{2}}{272}{Julia Code}{juliamass.10.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash both.jl}{272}{lstlisting.10.-232}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{272}{juliamass.10.3}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{272}{juliamass.10.3}\protected@file@percent } +\newlabel{138@xvr}{{}{272}} +\newlabel{138@vr}{{}{272}} +\newlabel{julia:dcmotor-loop}{{10.{3}}{272}{Julia Code}{juliamass.10.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor\textendash loop.jl}{272}{lstlisting.10.-233}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {10.7}Controlling the DC motor from OpenModelica}{273}{section.10.7}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.1}Controlling the DC motor}{273}{subsection.10.7.1}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{273}{section*.157}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{274}{lstlisting.10.-235}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{275}{lstlisting.10.-237}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{275}{lstlisting.10.-238}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{275}{lstlisting.10.-239}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note:}{275}{section*.158}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{276}{lstlisting.10.-240}\protected@file@percent } +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{276}{lstlisting.10.-241}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{276}{subsection.10.7.2}\protected@file@percent } +\newlabel{sec:dcmotor-OpenModelica-code}{{10.7.2}{276}{OpenModelica Code}{subsection.10.7.2}{}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{230}{OpenModelicamass.10.1}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{230}{OpenModelicamass.10.1}\protected@file@percent } -\newlabel{OpenModelica:dcmotor-clock}{{10.{1}}{230}{OpenModelica Code}{OpenModelicamass.10.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{230}{lstlisting.10.-242}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{231}{OpenModelicamass.10.2}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{231}{OpenModelicamass.10.2}\protected@file@percent } -\newlabel{OpenModelica:dcmotor-both}{{10.{2}}{231}{OpenModelica Code}{OpenModelicamass.10.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{231}{lstlisting.10.-243}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{231}{OpenModelicamass.10.3}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{231}{OpenModelicamass.10.3}\protected@file@percent } -\newlabel{OpenModelica:dcmotor-loop}{{10.{3}}{231}{OpenModelica Code}{OpenModelicamass.10.3}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash loop.mo}{231}{lstlisting.10.-244}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{276}{OpenModelicamass.10.1}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{276}{OpenModelicamass.10.1}\protected@file@percent } +\newlabel{OpenModelica:dcmotor-clock}{{10.{1}}{276}{OpenModelica Code}{OpenModelicamass.10.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{277}{lstlisting.10.-242}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{277}{OpenModelicamass.10.2}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{277}{OpenModelicamass.10.2}\protected@file@percent } +\newlabel{OpenModelica:dcmotor-both}{{10.{2}}{277}{OpenModelica Code}{OpenModelicamass.10.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{277}{lstlisting.10.-243}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{278}{OpenModelicamass.10.3}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{278}{OpenModelicamass.10.3}\protected@file@percent } +\newlabel{OpenModelica:dcmotor-loop}{{10.{3}}{278}{OpenModelica Code}{OpenModelicamass.10.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmotor\textendash loop.mo}{278}{lstlisting.10.-244}\protected@file@percent } \citation{modbus} \citation{modbus-paper} \citation{simplymodbus} -\@writefile{toc}{\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{233}{chapter.11}\protected@file@percent } +\@writefile{toc}{\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{281}{chapter.11}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} -\newlabel{modbus}{{11}{233}{Implementation of Modbus Protocol}{chapter.11}{}} -\@writefile{toc}{\contentsline {section}{\numberline {11.1}Preliminaries}{233}{section.11.1}\protected@file@percent } +\newlabel{modbus}{{11}{281}{Implementation of Modbus Protocol}{chapter.11}{}} +\@writefile{toc}{\contentsline {section}{\numberline {11.1}Preliminaries}{281}{section.11.1}\protected@file@percent } \citation{simplymodbus} -\@writefile{lof}{\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{234}{figure.caption.159}\protected@file@percent } -\newlabel{mod-block}{{11.1}{234}{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 }}{234}{figure.caption.160}\protected@file@percent } -\newlabel{mod-master-slave}{{11.2}{234}{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 }}{235}{table.caption.161}\protected@file@percent } -\newlabel{tab:rs-485-pins}{{11.1}{235}{Pins available on RS485 and their usage\relax }{table.caption.161}{}} -\@writefile{lof}{\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{235}{figure.caption.162}\protected@file@percent } -\newlabel{rs-485}{{11.3}{235}{Pins in RS485 module\relax }{figure.caption.162}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {11.1.1}Energy meter}{235}{subsection.11.1.1}\protected@file@percent } -\newlabel{sec:energy-meter}{{11.1.1}{235}{Energy meter}{subsection.11.1.1}{}} -\@writefile{lot}{\contentsline {table}{\numberline {11.2}{\ignorespaces Operations supported by Modbus RTU\relax }}{236}{table.caption.163}\protected@file@percent } -\newlabel{tab:modbus-fun-codes}{{11.2}{236}{Operations supported by Modbus RTU\relax }{table.caption.163}{}} -\@writefile{lot}{\contentsline {table}{\numberline {11.3}{\ignorespaces Individual parameter address in EM6400\relax }}{236}{table.caption.164}\protected@file@percent } -\newlabel{tab:params-addr}{{11.3}{236}{Individual parameter address in EM6400\relax }{table.caption.164}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{282}{figure.caption.159}\protected@file@percent } +\newlabel{mod-block}{{11.1}{282}{Block diagram representation of the Protocol\relax }{figure.caption.159}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.2}{\ignorespaces Cycle of query-response between master and slave\relax }}{283}{figure.caption.160}\protected@file@percent } +\newlabel{mod-master-slave}{{11.2}{283}{Cycle of query-response between master and slave\relax }{figure.caption.160}{}} +\@writefile{lot}{\contentsline {table}{\numberline {11.1}{\ignorespaces Pins available on RS485 and their usage\relax }}{283}{table.caption.161}\protected@file@percent } +\newlabel{tab:rs-485-pins}{{11.1}{283}{Pins available on RS485 and their usage\relax }{table.caption.161}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {11.1.1}Energy meter}{283}{subsection.11.1.1}\protected@file@percent } +\newlabel{sec:energy-meter}{{11.1.1}{283}{Energy meter}{subsection.11.1.1}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{284}{figure.caption.162}\protected@file@percent } +\newlabel{rs-485}{{11.3}{284}{Pins in RS485 module\relax }{figure.caption.162}{}} +\@writefile{lot}{\contentsline {table}{\numberline {11.2}{\ignorespaces Operations supported by Modbus RTU\relax }}{285}{table.caption.163}\protected@file@percent } +\newlabel{tab:modbus-fun-codes}{{11.2}{285}{Operations supported by Modbus RTU\relax }{table.caption.163}{}} +\@writefile{lot}{\contentsline {table}{\numberline {11.3}{\ignorespaces Individual parameter address in EM6400\relax }}{285}{table.caption.164}\protected@file@percent } +\newlabel{tab:params-addr}{{11.3}{285}{Individual parameter address in EM6400\relax }{table.caption.164}{}} \citation{online-crc} -\@writefile{lot}{\contentsline {table}{\numberline {11.4}{\ignorespaces A request packet to access V1 in EM6400\relax }}{237}{table.caption.166}\protected@file@percent } -\newlabel{tab:params-rq}{{11.4}{237}{A request packet to access V1 in EM6400\relax }{table.caption.166}{}} -\@writefile{toc}{\contentsline {paragraph}{Note:}{237}{section*.165}\protected@file@percent } -\@writefile{lot}{\contentsline {table}{\numberline {11.5}{\ignorespaces A response packet to access V1 in EM6400\relax }}{238}{table.caption.167}\protected@file@percent } -\newlabel{tab:params-rp}{{11.5}{238}{A response packet to access V1 in EM6400\relax }{table.caption.167}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {11.1.2}Endianness}{238}{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 }}{239}{table.caption.168}\protected@file@percent } -\newlabel{tab:memory-storage}{{11.6}{239}{Memory storage of a four-byte integer in little-endian and big-endian\relax }{table.caption.168}{}} +\@writefile{lot}{\contentsline {table}{\numberline {11.4}{\ignorespaces A request packet to access V1 in EM6400\relax }}{286}{table.caption.166}\protected@file@percent } +\newlabel{tab:params-rq}{{11.4}{286}{A request packet to access V1 in EM6400\relax }{table.caption.166}{}} +\@writefile{toc}{\contentsline {paragraph}{Note:}{286}{section*.165}\protected@file@percent } +\@writefile{lot}{\contentsline {table}{\numberline {11.5}{\ignorespaces A response packet to access V1 in EM6400\relax }}{287}{table.caption.167}\protected@file@percent } +\newlabel{tab:params-rp}{{11.5}{287}{A response packet to access V1 in EM6400\relax }{table.caption.167}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {11.1.2}Endianness}{288}{subsection.11.1.2}\protected@file@percent } \citation{ieee-754-conv} -\@writefile{lof}{\contentsline {figure}{\numberline {11.4}{\ignorespaces Block diagram for reading the parameters in energy meter\relax }}{240}{figure.caption.169}\protected@file@percent } -\newlabel{fig:block-diagram}{{11.4}{240}{Block diagram for reading the parameters in energy meter\relax }{figure.caption.169}{}} -\@writefile{toc}{\contentsline {section}{\numberline {11.2}Setup for the experiment}{240}{section.11.2}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.5}{\ignorespaces Experimental set up for reading energy meter\relax }}{241}{figure.caption.170}\protected@file@percent } -\newlabel{fig:full-set-up}{{11.5}{241}{Experimental set up for reading energy meter\relax }{figure.caption.170}{}} -\@writefile{toc}{\contentsline {section}{\numberline {11.3}Software required for this experiment}{241}{section.11.3}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{242}{figure.caption.171}\protected@file@percent } -\newlabel{fig:modbus-firmware}{{11.6}{242}{Flowchart of Arduino firmware\relax }{figure.caption.171}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {11.3.1}Arduino Firmware}{243}{subsection.11.3.1}\protected@file@percent } -\newlabel{sec:firmware-modbus}{{11.3.1}{243}{Arduino Firmware}{subsection.11.3.1}{}} +\@writefile{lot}{\contentsline {table}{\numberline {11.6}{\ignorespaces Memory storage of a four-byte integer in little-endian and big-endian\relax }}{289}{table.caption.168}\protected@file@percent } +\newlabel{tab:memory-storage}{{11.6}{289}{Memory storage of a four-byte integer in little-endian and big-endian\relax }{table.caption.168}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.4}{\ignorespaces Block diagram for reading the parameters in energy meter\relax }}{290}{figure.caption.169}\protected@file@percent } +\newlabel{fig:block-diagram}{{11.4}{290}{Block diagram for reading the parameters in energy meter\relax }{figure.caption.169}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.5}{\ignorespaces Experimental set up for reading energy meter\relax }}{290}{figure.caption.170}\protected@file@percent } +\newlabel{fig:full-set-up}{{11.5}{290}{Experimental set up for reading energy meter\relax }{figure.caption.170}{}} +\@writefile{toc}{\contentsline {section}{\numberline {11.2}Setup for the experiment}{290}{section.11.2}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.3}Software required for this experiment}{291}{section.11.3}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{292}{figure.caption.171}\protected@file@percent } +\newlabel{fig:modbus-firmware}{{11.6}{292}{Flowchart of Arduino firmware\relax }{figure.caption.171}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {11.3.1}Arduino Firmware}{293}{subsection.11.3.1}\protected@file@percent } +\newlabel{sec:firmware-modbus}{{11.3.1}{293}{Arduino Firmware}{subsection.11.3.1}{}} \@writefile{ard}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{243}{ardmass.11.1}\protected@file@percent } -\@writefile{ard}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{243}{ardmass.11.1}\protected@file@percent } -\newlabel{139@xvr}{{}{243}} -\newlabel{139@vr}{{}{243}} -\newlabel{ard:firmware-modbus}{{11.{1}}{243}{Arduino Firmware}{ardmass.11.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/arduino/send\textunderscore packet.ino}{243}{lstlisting.11.-245}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {11.4}Manifestation of Modbus protocol through Scilab}{243}{section.11.4}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.7}{\ignorespaces Flowchart of the steps happening in the FLOSS code\relax }}{244}{figure.caption.172}\protected@file@percent } -\newlabel{fig:flow-chart}{{11.7}{244}{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}{245}{section.11.5}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.5.1}Reading the electrical parameters}{245}{subsection.11.5.1}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.5.2}Scilab Code}{245}{subsection.11.5.2}\protected@file@percent } -\newlabel{sec:modbus-scilab-code}{{11.5.2}{245}{Scilab Code}{subsection.11.5.2}{}} +\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{293}{ardmass.11.1}\protected@file@percent } +\@writefile{ard}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{293}{ardmass.11.1}\protected@file@percent } +\newlabel{139@xvr}{{}{293}} +\newlabel{139@vr}{{}{293}} +\newlabel{ard:firmware-modbus}{{11.{1}}{293}{Arduino Firmware}{ardmass.11.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/arduino/send\textunderscore packet.ino}{293}{lstlisting.11.-245}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.7}{\ignorespaces Flowchart of the steps happening in the FLOSS code\relax }}{294}{figure.caption.172}\protected@file@percent } +\newlabel{fig:flow-chart}{{11.7}{294}{Flowchart of the steps happening in the FLOSS code\relax }{figure.caption.172}{}} +\@writefile{toc}{\contentsline {section}{\numberline {11.4}Manifestation of Modbus protocol through Scilab}{294}{section.11.4}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.5}Reading the electrical parameters from Scilab}{295}{section.11.5}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.5.1}Reading the electrical parameters}{295}{subsection.11.5.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.5.2}Scilab Code}{295}{subsection.11.5.2}\protected@file@percent } +\newlabel{sec:modbus-scilab-code}{{11.5.2}{295}{Scilab Code}{subsection.11.5.2}{}} \@writefile{cod}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{245}{codemass.11.1}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{245}{codemass.11.1}\protected@file@percent } -\newlabel{140@xvr}{{}{245}} -\newlabel{140@vr}{{}{245}} -\newlabel{sci:val-modbus}{{11.{1}}{245}{Scilab Code}{codemass.11.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read\textunderscore val.sce}{245}{lstlisting.11.-246}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{245}{codemass.11.2}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for single phase current output}{245}{codemass.11.2}\protected@file@percent } -\newlabel{141@xvr}{{}{245}} -\newlabel{141@vr}{{}{245}} -\newlabel{sci:current-modbus}{{11.{2}}{245}{Scilab Code}{codemass.11.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read\textunderscore current.sci}{245}{lstlisting.11.-247}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{246}{codemass.11.3}\protected@file@percent } -\@writefile{cod}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for single phase voltage output}{246}{codemass.11.3}\protected@file@percent } -\newlabel{142@xvr}{{}{246}} -\newlabel{142@vr}{{}{246}} -\newlabel{sci:voltage-modbus}{{11.{3}}{246}{Scilab Code}{codemass.11.3}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read\textunderscore voltage.sci}{246}{lstlisting.11.-248}\protected@file@percent } -\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{246}{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}{246}{codemass.11.4}\protected@file@percent } -\newlabel{143@xvr}{{}{246}} -\newlabel{143@vr}{{}{246}} -\newlabel{sci:modbus-power}{{11.{4}}{246}{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}{246}{lstlisting.11.-249}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note: }{246}{section*.173}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.8}{\ignorespaces Single phase current output on Scilab Console\relax }}{247}{figure.caption.174}\protected@file@percent } -\newlabel{fig:current-console}{{11.8}{247}{Single phase current output on Scilab Console\relax }{figure.caption.174}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {11.5.3}Output in the Scilab Console}{247}{subsection.11.5.3}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.9}{\ignorespaces Single phase current output in energy meter\relax }}{248}{figure.caption.175}\protected@file@percent } -\newlabel{fig:current-meter}{{11.9}{248}{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 }}{248}{figure.caption.176}\protected@file@percent } -\newlabel{fig:voltage-console}{{11.10}{248}{Single phase voltage output on Scilab Console\relax }{figure.caption.176}{}} -\@writefile{toc}{\contentsline {section}{\numberline {11.6}Reading the electrical parameters from Xcos}{248}{section.11.6}\protected@file@percent } -\@writefile{lof}{\contentsline {figure}{\numberline {11.11}{\ignorespaces Single phase voltage output in energy meter\relax }}{249}{figure.caption.177}\protected@file@percent } -\newlabel{fig:voltage-meter}{{11.11}{249}{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 }}{249}{figure.caption.178}\protected@file@percent } -\newlabel{fig:power-console}{{11.12}{249}{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 }}{250}{figure.caption.179}\protected@file@percent } -\newlabel{fig:power-meter}{{11.13}{250}{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}}{250}{figure.caption.180}\protected@file@percent } -\newlabel{145@xvr}{{}{250}} -\newlabel{145@vr}{{}{250}} -\newlabel{fig:mod-read}{{11.14}{250}{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 }}{251}{table.caption.181}\protected@file@percent } -\newlabel{tab:mod-xcos-read}{{11.7}{251}{Xcos parameters to read energy meter values\relax }{table.caption.181}{}} -\@writefile{toc}{\contentsline {section}{\numberline {11.7}Manifestation of Modbus protocol through Python}{251}{section.11.7}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note: }{251}{section*.182}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {11.8}Reading the electrical parameters from Python}{252}{section.11.8}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.8.1}Reading the electrical parameters}{252}{subsection.11.8.1}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.8.2}Python Code}{252}{subsection.11.8.2}\protected@file@percent } -\newlabel{sec:modbus-python-code}{{11.8.2}{252}{Python Code}{subsection.11.8.2}{}} +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{295}{codemass.11.1}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{295}{codemass.11.1}\protected@file@percent } +\newlabel{140@xvr}{{}{296}} +\newlabel{140@vr}{{}{296}} +\newlabel{sci:val-modbus}{{11.{1}}{296}{Scilab Code}{codemass.11.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read\textunderscore val.sce}{296}{lstlisting.11.-246}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{296}{codemass.11.2}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for single phase current output}{296}{codemass.11.2}\protected@file@percent } +\newlabel{141@xvr}{{}{296}} +\newlabel{141@vr}{{}{296}} +\newlabel{sci:current-modbus}{{11.{2}}{296}{Scilab Code}{codemass.11.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read\textunderscore current.sci}{296}{lstlisting.11.-247}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{296}{codemass.11.3}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for single phase voltage output}{296}{codemass.11.3}\protected@file@percent } +\newlabel{142@xvr}{{}{296}} +\newlabel{142@vr}{{}{296}} +\newlabel{sci:voltage-modbus}{{11.{3}}{296}{Scilab Code}{codemass.11.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read\textunderscore voltage.sci}{296}{lstlisting.11.-248}\protected@file@percent } +\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{297}{codemass.11.4}\protected@file@percent } +\@writefile{cod}{\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for single phase active power output}{297}{codemass.11.4}\protected@file@percent } +\newlabel{143@xvr}{{}{297}} +\newlabel{143@vr}{{}{297}} +\newlabel{sci:modbus-power}{{11.{4}}{297}{Scilab Code}{codemass.11.4}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read\textunderscore active\textunderscore power.sci}{297}{lstlisting.11.-249}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note: }{297}{section*.173}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.5.3}Output in the Scilab Console}{297}{subsection.11.5.3}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.8}{\ignorespaces Single phase current output on Scilab Console\relax }}{298}{figure.caption.174}\protected@file@percent } +\newlabel{fig:current-console}{{11.8}{298}{Single phase current output on Scilab Console\relax }{figure.caption.174}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.9}{\ignorespaces Single phase current output in energy meter\relax }}{298}{figure.caption.175}\protected@file@percent } +\newlabel{fig:current-meter}{{11.9}{298}{Single phase current output in energy meter\relax }{figure.caption.175}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.10}{\ignorespaces Single phase voltage output on Scilab Console\relax }}{299}{figure.caption.176}\protected@file@percent } +\newlabel{fig:voltage-console}{{11.10}{299}{Single phase voltage output on Scilab Console\relax }{figure.caption.176}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.11}{\ignorespaces Single phase voltage output in energy meter\relax }}{299}{figure.caption.177}\protected@file@percent } +\newlabel{fig:voltage-meter}{{11.11}{299}{Single phase voltage output in energy meter\relax }{figure.caption.177}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.12}{\ignorespaces Single phase active power output on Scilab Console\relax }}{300}{figure.caption.178}\protected@file@percent } +\newlabel{fig:power-console}{{11.12}{300}{Single phase active power output on Scilab Console\relax }{figure.caption.178}{}} +\@writefile{lof}{\contentsline {figure}{\numberline {11.13}{\ignorespaces Single phase active power output in energy meter\relax }}{300}{figure.caption.179}\protected@file@percent } +\newlabel{fig:power-meter}{{11.13}{300}{Single phase active power output in energy meter\relax }{figure.caption.179}{}} +\@writefile{toc}{\contentsline {section}{\numberline {11.6}Reading the electrical parameters from Xcos}{300}{section.11.6}\protected@file@percent } +\@writefile{lof}{\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read energy meter values}}{301}{figure.caption.180}\protected@file@percent } +\newlabel{145@xvr}{{}{301}} +\newlabel{145@vr}{{}{301}} +\newlabel{fig:mod-read}{{11.14}{301}{Xcos diagram to read energy meter values}{figure.caption.180}{}} +\@writefile{lot}{\contentsline {table}{\numberline {11.7}{\ignorespaces Xcos parameters to read energy meter values\relax }}{301}{table.caption.181}\protected@file@percent } +\newlabel{tab:mod-xcos-read}{{11.7}{301}{Xcos parameters to read energy meter values\relax }{table.caption.181}{}} +\@writefile{toc}{\contentsline {section}{\numberline {11.7}Manifestation of Modbus protocol through Python}{302}{section.11.7}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note: }{302}{section*.182}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.8}Reading the electrical parameters from Python}{303}{section.11.8}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.8.1}Reading the electrical parameters}{303}{subsection.11.8.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.8.2}Python Code}{303}{subsection.11.8.2}\protected@file@percent } +\newlabel{sec:modbus-python-code}{{11.8.2}{303}{Python Code}{subsection.11.8.2}{}} \@writefile{pyd}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{1}}{}}{252}{pymass.11.1}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{252}{pymass.11.1}\protected@file@percent } -\newlabel{146@xvr}{{}{252}} -\newlabel{146@vr}{{}{252}} -\newlabel{py:current-modbus}{{11.{1}}{252}{Python Code}{pymass.11.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/python/read\textunderscore current.py}{252}{lstlisting.11.-250}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{2}}{}}{252}{pymass.11.2}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{252}{pymass.11.2}\protected@file@percent } -\newlabel{147@xvr}{{}{252}} -\newlabel{147@vr}{{}{252}} -\newlabel{py:voltage-modbus}{{11.{2}}{252}{Python Code}{pymass.11.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/python/read\textunderscore voltage.py}{252}{lstlisting.11.-251}\protected@file@percent } -\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{3}}{}}{252}{pymass.11.3}\protected@file@percent } -\@writefile{pyd}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{252}{pymass.11.3}\protected@file@percent } -\newlabel{148@xvr}{{}{252}} -\newlabel{148@vr}{{}{252}} -\newlabel{py:modbus-power}{{11.{3}}{252}{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}{252}{lstlisting.11.-252}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {11.9}Manifestation of Modbus protocol through Julia}{253}{section.11.9}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note: }{253}{section*.183}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {11.10}Reading the electrical parameters from Julia}{253}{section.11.10}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.10.1}Reading the electrical parameters}{253}{subsection.11.10.1}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.10.2}Julia Code}{254}{subsection.11.10.2}\protected@file@percent } -\newlabel{sec:modbus-julia-code}{{11.10.2}{254}{Julia Code}{subsection.11.10.2}{}} +\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{1}}{}}{303}{pymass.11.1}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{303}{pymass.11.1}\protected@file@percent } +\newlabel{146@xvr}{{}{303}} +\newlabel{146@vr}{{}{303}} +\newlabel{py:current-modbus}{{11.{1}}{303}{Python Code}{pymass.11.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/python/read\textunderscore current.py}{303}{lstlisting.11.-250}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{2}}{}}{303}{pymass.11.2}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{303}{pymass.11.2}\protected@file@percent } +\newlabel{147@xvr}{{}{303}} +\newlabel{147@vr}{{}{303}} +\newlabel{py:voltage-modbus}{{11.{2}}{303}{Python Code}{pymass.11.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/python/read\textunderscore voltage.py}{303}{lstlisting.11.-251}\protected@file@percent } +\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{3}}{}}{304}{pymass.11.3}\protected@file@percent } +\@writefile{pyd}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{304}{pymass.11.3}\protected@file@percent } +\newlabel{148@xvr}{{}{304}} +\newlabel{148@vr}{{}{304}} +\newlabel{py:modbus-power}{{11.{3}}{304}{Python Code}{pymass.11.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/python/read\textunderscore active\textunderscore power.py}{304}{lstlisting.11.-252}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.9}Manifestation of Modbus protocol through Julia}{304}{section.11.9}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note: }{305}{section*.183}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.10}Reading the electrical parameters from Julia}{305}{section.11.10}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.10.1}Reading the electrical parameters}{305}{subsection.11.10.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.10.2}Julia Code}{305}{subsection.11.10.2}\protected@file@percent } +\newlabel{sec:modbus-julia-code}{{11.10.2}{305}{Julia Code}{subsection.11.10.2}{}} \@writefile{juliad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{254}{juliamass.11.1}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{254}{juliamass.11.1}\protected@file@percent } -\newlabel{149@xvr}{{}{254}} -\newlabel{149@vr}{{}{254}} -\newlabel{julia:current-modbus}{{11.{1}}{254}{Julia Code}{juliamass.11.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readCurrent.jl}{254}{lstlisting.11.-253}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{254}{juliamass.11.2}\protected@file@percent } -\@writefile{juliad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{254}{juliamass.11.2}\protected@file@percent } -\newlabel{150@xvr}{{}{254}} -\newlabel{150@vr}{{}{254}} -\newlabel{julia:voltage-modbus}{{11.{2}}{254}{Julia Code}{juliamass.11.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readVoltage.jl}{254}{lstlisting.11.-254}\protected@file@percent } -\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{254}{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}{254}{juliamass.11.3}\protected@file@percent } -\newlabel{151@xvr}{{}{254}} -\newlabel{151@vr}{{}{254}} -\newlabel{julia:modbus-power}{{11.{3}}{254}{Julia Code}{juliamass.11.3}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readPower.jl}{254}{lstlisting.11.-255}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {11.11}Manifestation of Modbus protocol through OpenModelica}{255}{section.11.11}\protected@file@percent } -\@writefile{toc}{\contentsline {paragraph}{Note: }{255}{section*.184}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {11.12}Reading the electrical parameters from OpenModelica}{256}{section.11.12}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.12.1}Reading the electrical parameters}{256}{subsection.11.12.1}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {11.12.2}OpenModelica Code}{256}{subsection.11.12.2}\protected@file@percent } -\newlabel{sec:modbus-OpenModelica-code}{{11.12.2}{256}{OpenModelica Code}{subsection.11.12.2}{}} +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{305}{juliamass.11.1}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{305}{juliamass.11.1}\protected@file@percent } +\newlabel{149@xvr}{{}{305}} +\newlabel{149@vr}{{}{305}} +\newlabel{julia:current-modbus}{{11.{1}}{305}{Julia Code}{juliamass.11.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readCurrent.jl}{305}{lstlisting.11.-253}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{306}{juliamass.11.2}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{306}{juliamass.11.2}\protected@file@percent } +\newlabel{150@xvr}{{}{306}} +\newlabel{150@vr}{{}{306}} +\newlabel{julia:voltage-modbus}{{11.{2}}{306}{Julia Code}{juliamass.11.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readVoltage.jl}{306}{lstlisting.11.-254}\protected@file@percent } +\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{306}{juliamass.11.3}\protected@file@percent } +\@writefile{juliad}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{306}{juliamass.11.3}\protected@file@percent } +\newlabel{151@xvr}{{}{306}} +\newlabel{151@vr}{{}{306}} +\newlabel{julia:modbus-power}{{11.{3}}{306}{Julia Code}{juliamass.11.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readPower.jl}{306}{lstlisting.11.-255}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.11}Manifestation of Modbus protocol through OpenModelica}{307}{section.11.11}\protected@file@percent } +\@writefile{toc}{\contentsline {paragraph}{Note: }{307}{section*.184}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {11.12}Reading the electrical parameters from OpenModelica}{308}{section.11.12}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.12.1}Reading the electrical parameters}{308}{subsection.11.12.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {11.12.2}OpenModelica Code}{308}{subsection.11.12.2}\protected@file@percent } +\newlabel{sec:modbus-OpenModelica-code}{{11.12.2}{308}{OpenModelica Code}{subsection.11.12.2}{}} \@writefile{OpenModelicad}{\addvspace {10pt}} -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{256}{OpenModelicamass.11.1}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{256}{OpenModelicamass.11.1}\protected@file@percent } -\newlabel{152@xvr}{{}{256}} -\newlabel{152@vr}{{}{256}} -\newlabel{OpenModelica:current-modbus}{{11.{1}}{256}{OpenModelica Code}{OpenModelicamass.11.1}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/OpenModelica/readCurrent.mo}{256}{lstlisting.11.-256}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{256}{OpenModelicamass.11.2}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{256}{OpenModelicamass.11.2}\protected@file@percent } -\newlabel{153@xvr}{{}{256}} -\newlabel{153@vr}{{}{256}} -\newlabel{OpenModelica:voltage-modbus}{{11.{2}}{256}{OpenModelica Code}{OpenModelicamass.11.2}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/OpenModelica/readVoltage.mo}{256}{lstlisting.11.-257}\protected@file@percent } -\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{257}{OpenModelicamass.11.3}\protected@file@percent } -\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{257}{OpenModelicamass.11.3}\protected@file@percent } -\newlabel{154@xvr}{{}{257}} -\newlabel{154@vr}{{}{257}} -\newlabel{OpenModelica:modbus-power}{{11.{3}}{257}{OpenModelica Code}{OpenModelicamass.11.3}{}} -\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/OpenModelica/readPower.mo}{257}{lstlisting.11.-258}\protected@file@percent } -\@writefile{toc}{\contentsline {chapter}{\numberline {A}Procuring the Hardware}{259}{appendix.A}\protected@file@percent } -\@writefile{lof}{\addvspace {10\p@ }} -\@writefile{lot}{\addvspace {10\p@ }} -\newlabel{shield-appendix}{{A}{259}{Procuring the Hardware}{appendix.A}{}} -\@writefile{lot}{\contentsline {table}{\numberline {A.1}{\ignorespaces Approximate cost of the components\relax }}{259}{table.caption.185}\protected@file@percent } -\newlabel{tab:cost}{{A.1}{259}{Approximate cost of the components\relax }{table.caption.185}{}} +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{308}{OpenModelicamass.11.1}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{308}{OpenModelicamass.11.1}\protected@file@percent } +\newlabel{152@xvr}{{}{308}} +\newlabel{152@vr}{{}{308}} +\newlabel{OpenModelica:current-modbus}{{11.{1}}{308}{OpenModelica Code}{OpenModelicamass.11.1}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/OpenModelica/readCurrent.mo}{308}{lstlisting.11.-256}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{308}{OpenModelicamass.11.2}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{308}{OpenModelicamass.11.2}\protected@file@percent } +\newlabel{153@xvr}{{}{308}} +\newlabel{153@vr}{{}{308}} +\newlabel{OpenModelica:voltage-modbus}{{11.{2}}{308}{OpenModelica Code}{OpenModelicamass.11.2}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/OpenModelica/readVoltage.mo}{309}{lstlisting.11.-257}\protected@file@percent } +\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{309}{OpenModelicamass.11.3}\protected@file@percent } +\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{309}{OpenModelicamass.11.3}\protected@file@percent } +\newlabel{154@xvr}{{}{309}} +\newlabel{154@vr}{{}{309}} +\newlabel{OpenModelica:modbus-power}{{11.{3}}{309}{OpenModelica Code}{OpenModelicamass.11.3}{}} +\@writefile{lol}{\contentsline {lstlisting}{/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/OpenModelica/readPower.mo}{309}{lstlisting.11.-258}\protected@file@percent } \citation{amazon-shield} \citation{flipkart-shield} \bibdata{bibliography.bib} +\@writefile{toc}{\contentsline {chapter}{\numberline {A}Procuring the Hardware}{311}{appendix.A}\protected@file@percent } +\@writefile{lof}{\addvspace {10\p@ }} +\@writefile{lot}{\addvspace {10\p@ }} +\newlabel{shield-appendix}{{A}{311}{Procuring the Hardware}{appendix.A}{}} +\@writefile{lot}{\contentsline {table}{\numberline {A.1}{\ignorespaces Approximate cost of the components\relax }}{312}{table.caption.185}\protected@file@percent } +\newlabel{tab:cost}{{A.1}{312}{Approximate cost of the components\relax }{table.caption.185}{}} \bibcite{CNES-Scilab}{1} \bibcite{scilab-arduino}{2} \bibcite{oshw-ref}{3} @@ -1669,11 +1669,11 @@ \bibcite{phone-ref}{8} \bibcite{candy-ref}{9} \bibcite{3d-printer-ref}{10} +\@writefile{toc}{\contentsline {chapter}{\numberline {References}}{313}{appendix*.186}\protected@file@percent } \bibcite{shield-ref}{11} \bibcite{scilab-ref}{12} \bibcite{scilab-interop}{13} \bibcite{xcos-ref}{14} -\@writefile{toc}{\contentsline {chapter}{\numberline {References}}{261}{appendix*.186}\protected@file@percent } \bibcite{python-ref}{15} \bibcite{pySerial}{16} \bibcite{julia-ref}{17} @@ -1689,4 +1689,4 @@ \bibcite{ieee-754-conv}{27} \bibcite{amazon-shield}{28} \bibcite{flipkart-shield}{29} -\gdef \@abspage@last{293} +\gdef \@abspage@last{349} diff --git a/floss-arduino.cod b/floss-arduino.cod index 7419eb8..a735af4 100644 --- a/floss-arduino.cod +++ b/floss-arduino.cod @@ -1,34 +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}% +\contentsline {section}{\numberline {3.{1}}A Scilab code to check whether the firmware is properly installed or not}{42}{codemass.3.1}% \addvspace {10pt} \addvspace {10pt} \addvspace {10pt} -\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}% +\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{89}{codemass.4.1}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{90}{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}{90}{codemass.4.3}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{90}{codemass.4.4}% \addvspace {10pt} -\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}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and display it on the GUI}{121}{codemass.5.1}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{121}{codemass.5.2}% \addvspace {10pt} -\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}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{145}{codemass.6.1}% +\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{146}{codemass.6.2}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{142}{codemass.7.1}% +\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{167}{codemass.7.1}% \addvspace {10pt} -\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}% +\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{190}{codemass.8.1}% +\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{191}{codemass.8.2}% \addvspace {10pt} -\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}% +\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{220}{codemass.9.1}% +\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{221}{codemass.9.2}% +\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{221}{codemass.9.3}% +\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{221}{codemass.9.4}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{214}{codemass.10.1}% -\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{214}{codemass.10.2}% -\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{215}{codemass.10.3}% +\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{256}{codemass.10.1}% +\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{257}{codemass.10.2}% +\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{257}{codemass.10.3}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{245}{codemass.11.1}% -\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for single phase current output}{245}{codemass.11.2}% -\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for single phase voltage output}{246}{codemass.11.3}% -\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for single phase active power output}{246}{codemass.11.4}% +\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{295}{codemass.11.1}% +\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for single phase current output}{296}{codemass.11.2}% +\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for single phase voltage output}{296}{codemass.11.3}% +\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for single phase active power output}{297}{codemass.11.4}% diff --git a/floss-arduino.idx b/floss-arduino.idx index caaf400..ea681fa 100644 --- a/floss-arduino.idx +++ b/floss-arduino.idx @@ -1,5 +1,5 @@ -\indexentry{H-Bridge circuit DC motor|hyperpage}{205} -\indexentry{H-Bridge|hyperpage}{205} -\indexentry{L293D,L298|hyperpage}{205} -\indexentry{PCB breakout board|hyperpage}{205} -\indexentry{pulse width modulation, PWM|hyperpage}{205} +\indexentry{H-Bridge circuit DC motor|hyperpage}{245} +\indexentry{H-Bridge|hyperpage}{245} +\indexentry{L293D,L298|hyperpage}{246} +\indexentry{PCB breakout board|hyperpage}{246} +\indexentry{pulse width modulation, PWM|hyperpage}{246} diff --git a/floss-arduino.juliad b/floss-arduino.juliad index 1f49030..f667e3a 100644 --- a/floss-arduino.juliad +++ b/floss-arduino.juliad @@ -1,30 +1,30 @@ -\contentsline {section}{\numberline {3.{1}}A Julia source file to check whether the firmware is properly installed or not}{57}{juliamass.3.1}% +\contentsline {section}{\numberline {3.{1}}A Julia source file to check whether the firmware is properly installed or not}{66}{juliamass.3.1}% \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{89}{juliamass.4.1}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{90}{juliamass.4.2}% -\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{90}{juliamass.4.3}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{90}{juliamass.4.4}% +\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{104}{juliamass.4.1}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{104}{juliamass.4.2}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{105}{juliamass.4.3}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{105}{juliamass.4.4}% \addvspace {10pt} -\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and display it on Command Prompt or the Terminal.}{111}{juliamass.5.1}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{111}{juliamass.5.2}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and display it on Command Prompt or the Terminal.}{130}{juliamass.5.1}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{131}{juliamass.5.2}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{132}{juliamass.6.1}% -\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{133}{juliamass.6.2}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{156}{juliamass.6.1}% +\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{156}{juliamass.6.2}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{147}{juliamass.7.1}% +\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{174}{juliamass.7.1}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{170}{juliamass.8.1}% -\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{170}{juliamass.8.2}% +\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{203}{juliamass.8.1}% +\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{203}{juliamass.8.2}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{196}{juliamass.9.1}% -\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{197}{juliamass.9.2}% -\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{197}{juliamass.9.3}% -\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{197}{juliamass.9.4}% +\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{236}{juliamass.9.1}% +\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{236}{juliamass.9.2}% +\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{236}{juliamass.9.3}% +\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{237}{juliamass.9.4}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{226}{juliamass.10.1}% -\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{227}{juliamass.10.2}% -\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{227}{juliamass.10.3}% +\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{272}{juliamass.10.1}% +\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{272}{juliamass.10.2}% +\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{272}{juliamass.10.3}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{254}{juliamass.11.1}% -\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{254}{juliamass.11.2}% -\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{254}{juliamass.11.3}% +\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{305}{juliamass.11.1}% +\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{306}{juliamass.11.2}% +\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{306}{juliamass.11.3}% diff --git a/floss-arduino.lof b/floss-arduino.lof index 9442293..276b452 100644 --- a/floss-arduino.lof +++ b/floss-arduino.lof @@ -1,138 +1,138 @@ \addvspace {10\p@ } \addvspace {10\p@ } -\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}% +\contentsline {figure}{\numberline {2.1}{\ignorespaces Functional block diagram of a microcontroller\relax }}{6}{figure.caption.11}% +\contentsline {figure}{\numberline {2.2}{\ignorespaces ADC resolution\relax }}{9}{figure.caption.12}% +\contentsline {figure}{\numberline {2.3}{\ignorespaces The logo of Open Source Hardware\relax }}{10}{figure.caption.13}% +\contentsline {figure}{\numberline {2.4}{\ignorespaces Arduino Uno Board\relax }}{13}{figure.caption.14}% +\contentsline {figure}{\numberline {2.5}{\ignorespaces Arduino Mega Board\relax }}{14}{figure.caption.16}% +\contentsline {figure}{\numberline {2.6}{\ignorespaces LilyPad Arduino Board\relax }}{14}{figure.caption.17}% +\contentsline {figure}{\numberline {2.7}{\ignorespaces Arduino Phone\relax }}{15}{figure.caption.19}% +\contentsline {figure}{\numberline {2.8}{\ignorespaces 3D printer\relax }}{15}{figure.caption.22}% +\contentsline {figure}{\numberline {2.9}{\ignorespaces PCB image of the Shield}}{16}{figure.caption.23}% +\contentsline {figure}{\numberline {2.10}{\ignorespaces Pictorial representation of the schematic of the Shield\relax }}{17}{figure.caption.24}% +\contentsline {figure}{\numberline {2.11}{\ignorespaces PCB of the Shield\relax }}{17}{figure.caption.25}% +\contentsline {figure}{\numberline {2.12}{\ignorespaces Picture of the Shield with all components\relax }}{19}{figure.caption.28}% \addvspace {10\p@ } -\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 OpenModelica-Arduino toolbox\relax }}{67}{figure.caption.73}% +\contentsline {figure}{\numberline {3.1}{\ignorespaces Windows device manager\relax }}{24}{figure.caption.30}% +\contentsline {figure}{\numberline {3.2}{\ignorespaces Windows device manager\relax }}{24}{figure.caption.31}% +\contentsline {figure}{\numberline {3.3}{\ignorespaces Windows update driver option\relax }}{25}{figure.caption.32}% +\contentsline {figure}{\numberline {3.4}{\ignorespaces Linux terminal to launch Arduino IDE\relax }}{26}{figure.caption.33}% +\contentsline {figure}{\numberline {3.5}{\ignorespaces Arduino IDE\relax }}{27}{figure.caption.34}% +\contentsline {figure}{\numberline {3.6}{\ignorespaces Linux terminal to launch Scilab\relax }}{33}{figure.caption.35}% +\contentsline {figure}{\numberline {3.7}{\ignorespaces Browsing toolbox directory\relax }}{35}{figure.caption.36}% +\contentsline {figure}{\numberline {3.8}{\ignorespaces Output of builder.sce\relax }}{35}{figure.caption.37}% +\contentsline {figure}{\numberline {3.9}{\ignorespaces Output of loader.sce\relax }}{36}{figure.caption.38}% +\contentsline {figure}{\numberline {3.10}{\ignorespaces Device Manager in windows\relax }}{37}{figure.caption.39}% +\contentsline {figure}{\numberline {3.11}{\ignorespaces COM port properties window\relax }}{38}{figure.caption.40}% +\contentsline {figure}{\numberline {3.12}{\ignorespaces Port number on Linux terminal\relax }}{39}{figure.caption.41}% +\contentsline {figure}{\numberline {3.13}{\ignorespaces Scilab test code output\relax }}{41}{figure.caption.42}% +\contentsline {figure}{\numberline {3.14}{\ignorespaces Arduino toolbox functions used in this book\relax }}{41}{figure.caption.43}% +\contentsline {figure}{\numberline {3.15}{\ignorespaces Sine generator in palette browser\relax }}{43}{figure.caption.44}% +\contentsline {figure}{\numberline {3.16}{\ignorespaces CSCOPE block in xcos\relax }}{44}{figure.caption.45}% +\contentsline {figure}{\numberline {3.17}{\ignorespaces CLOCK\_c block in xcos\relax }}{45}{figure.caption.46}% +\contentsline {figure}{\numberline {3.18}{\ignorespaces Sine generator in Xcos\relax }}{45}{figure.caption.47}% +\contentsline {figure}{\numberline {3.19}{\ignorespaces Sine generator Xcos output\relax }}{46}{figure.caption.48}% +\contentsline {figure}{\numberline {3.20}{\ignorespaces CSCOPE configuration window\relax }}{46}{figure.caption.49}% +\contentsline {figure}{\numberline {3.21}{\ignorespaces Simulation setup window\relax }}{47}{figure.caption.50}% +\contentsline {figure}{\numberline {3.22}{\ignorespaces Palette browser showing Arduino blocks\relax }}{48}{figure.caption.51}% +\contentsline {figure}{\numberline {3.23}{\ignorespaces Xcos block help\relax }}{48}{figure.caption.52}% +\contentsline {figure}{\numberline {3.24}{\ignorespaces Installing Python 3 on Windows\relax }}{50}{figure.caption.53}% +\contentsline {figure}{\numberline {3.25}{\ignorespaces Launching the Command Prompt on Windows\relax }}{50}{figure.caption.54}% +\contentsline {figure}{\numberline {3.26}{\ignorespaces Command Prompt on Windows\relax }}{51}{figure.caption.55}% +\contentsline {figure}{\numberline {3.27}{\ignorespaces Julia's website to download 64-bit Windows/Linux binaries\relax }}{57}{figure.caption.56}% +\contentsline {figure}{\numberline {3.28}{\ignorespaces Installing Julia 1.6.0 on Windows\relax }}{57}{figure.caption.57}% +\contentsline {figure}{\numberline {3.29}{\ignorespaces Launching the Command Prompt on Windows\relax }}{58}{figure.caption.58}% +\contentsline {figure}{\numberline {3.30}{\ignorespaces Command Prompt on Windows\relax }}{58}{figure.caption.59}% +\contentsline {figure}{\numberline {3.31}{\ignorespaces Windows command prompt to launch Julia REPL\relax }}{60}{figure.caption.60}% +\contentsline {figure}{\numberline {3.32}{\ignorespaces Windows command prompt to enter Pkg REPL in Julia\relax }}{60}{figure.caption.61}% +\contentsline {figure}{\numberline {3.33}{\ignorespaces Linux terminal to launch Julia REPL\relax }}{63}{figure.caption.62}% +\contentsline {figure}{\numberline {3.34}{\ignorespaces Linux terminal to enter Pkg REPL in Julia\relax }}{64}{figure.caption.63}% +\contentsline {figure}{\numberline {3.35}{\ignorespaces Allowing Microsoft Defender to run the executable file\relax }}{68}{figure.caption.64}% +\contentsline {figure}{\numberline {3.36}{\ignorespaces Setup of Modelica Standard Library version\relax }}{69}{figure.caption.65}% +\contentsline {figure}{\numberline {3.37}{\ignorespaces User Interface of OMEdit\relax }}{71}{figure.caption.66}% +\contentsline {figure}{\numberline {3.38}{\ignorespaces Opening a model in OMEdit\relax }}{72}{figure.caption.67}% +\contentsline {figure}{\numberline {3.39}{\ignorespaces Opening a model in diagram view in OMEdit\relax }}{72}{figure.caption.68}% +\contentsline {figure}{\numberline {3.40}{\ignorespaces Different views of a model in OMEdit\relax }}{73}{figure.caption.69}% +\contentsline {figure}{\numberline {3.41}{\ignorespaces Opening a model in text view in OMEdit\relax }}{73}{figure.caption.70}% +\contentsline {figure}{\numberline {3.42}{\ignorespaces Simulating a model in OMEdit\relax }}{74}{figure.caption.71}% +\contentsline {figure}{\numberline {3.43}{\ignorespaces Output window of OMEdit\relax }}{74}{figure.caption.72}% +\contentsline {figure}{\numberline {3.44}{\ignorespaces Examples provided in OpenModelica-Arduino toolbox\relax }}{77}{figure.caption.73}% \addvspace {10\p@ } -\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}% +\contentsline {figure}{\numberline {4.1}{\ignorespaces Light Emitting Diode\relax }}{80}{figure.caption.74}% +\contentsline {figure}{\numberline {4.2}{\ignorespaces Internal connection diagram for the RGB LED on the Shield\relax }}{80}{figure.caption.75}% +\contentsline {figure}{\numberline {4.3}{\ignorespaces Connecting Arduino Uno\ and Shield\relax }}{81}{figure.caption.76}% +\contentsline {figure}{\numberline {4.4}{\ignorespaces An RGB LED with Arduino Uno\ using a breadboard\relax }}{82}{figure.caption.77}% +\contentsline {figure}{\numberline {4.5}{\ignorespaces LED experiments directly on Arduino Uno\ board, without the Shield\relax }}{85}{figure.caption.79}% +\contentsline {figure}{\numberline {4.6}{\ignorespaces Turning the blue LED on through Xcos}}{92}{figure.caption.81}% +\contentsline {figure}{\numberline {4.7}{\ignorespaces Turning the blue LED on through Xcos for two seconds}}{92}{figure.caption.83}% +\contentsline {figure}{\numberline {4.8}{\ignorespaces Turning the blue and red LEDs on through Xcos and turning them off one by one}}{94}{figure.caption.85}% +\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{95}{figure.caption.87}% \addvspace {10\p@ } -\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 pushbutton 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}% +\contentsline {figure}{\numberline {5.1}{\ignorespaces Internal connection diagram for the pushbutton on the Shield\relax }}{114}{figure.caption.89}% +\contentsline {figure}{\numberline {5.2}{\ignorespaces A pushbutton to read its status with Arduino Uno using a breadboard\relax }}{114}{figure.caption.90}% +\contentsline {figure}{\numberline {5.3}{\ignorespaces A pushbutton to control an LED with Arduino Uno using a breadboard\relax }}{116}{figure.caption.91}% +\contentsline {figure}{\numberline {5.4}{\ignorespaces GUI in Scilab to show the status of the pushbutton\relax }}{120}{figure.caption.92}% +\contentsline {figure}{\numberline {5.5}{\ignorespaces Printing the pushbutton status on the display block}}{123}{figure.caption.93}% +\contentsline {figure}{\numberline {5.6}{\ignorespaces Turning the LED on or off, depending on the pushbutton}}{124}{figure.caption.95}% \addvspace {10\p@ } -\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}% +\contentsline {figure}{\numberline {6.1}{\ignorespaces Light Dependent Resistor\relax }}{138}{figure.caption.97}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of an LDR}}}{138}{subfigure.1.1}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of an LDR}}}{138}{subfigure.1.2}% +\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the Shield\relax }}{138}{figure.caption.98}% +\contentsline {figure}{\numberline {6.3}{\ignorespaces An LDR to read its values with Arduino Uno\ using a breadboard\relax }}{140}{figure.caption.99}% +\contentsline {figure}{\numberline {6.4}{\ignorespaces An LDR to control an LED with Arduino Uno using a breadboard\relax }}{140}{figure.caption.100}% +\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read LDR values}}{147}{figure.caption.101}% +\contentsline {figure}{\numberline {6.6}{\ignorespaces Plot window in Xcos to read LDR values\relax }}{147}{figure.caption.102}% +\contentsline {figure}{\numberline {6.7}{\ignorespaces Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}}{149}{figure.caption.104}% +\contentsline {figure}{\numberline {6.8}{\ignorespaces Plot window in Xcos to read LDR values and the state of LED\relax }}{149}{figure.caption.105}% \addvspace {10\p@ } -\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}% +\contentsline {figure}{\numberline {7.1}{\ignorespaces Potentiometer's schematic on the Shield\relax }}{162}{figure.caption.107}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{162}{subfigure.1.1}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Internal connection diagram for the potentiometer on the Shield}}}{162}{subfigure.1.2}% +\contentsline {figure}{\numberline {7.2}{\ignorespaces A potentiometer to control an LED with Arduino Uno using a breadboard\relax }}{164}{figure.caption.108}% +\contentsline {figure}{\numberline {7.3}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{169}{figure.caption.109}% \addvspace {10\p@ } -\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}% +\contentsline {figure}{\numberline {8.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{180}{figure.caption.111}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{180}{subfigure.1.1}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{180}{subfigure.1.2}% +\contentsline {figure}{\numberline {8.2}{\ignorespaces Internal connection diagrams for thermistor and buzzer on the Shield\relax }}{181}{figure.caption.112}% +\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Thermistor connection diagram}}}{181}{subfigure.2.1}% +\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Buzzer connection diagram}}}{181}{subfigure.2.2}% +\contentsline {figure}{\numberline {8.3}{\ignorespaces A thermistor to read its values with Arduino Uno using a breadboard\relax }}{182}{figure.caption.113}% +\contentsline {figure}{\numberline {8.4}{\ignorespaces A thermistor to control a buzzer with Arduino Uno using a breadboard\relax }}{182}{figure.caption.114}% +\contentsline {figure}{\numberline {8.5}{\ignorespaces Xcos diagram to read thermistor values}}{192}{figure.caption.117}% +\contentsline {figure}{\numberline {8.6}{\ignorespaces Plot window in Xcos to read thermistor values\relax }}{193}{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}}{194}{figure.caption.120}% +\contentsline {figure}{\numberline {8.8}{\ignorespaces Plot window in Xcos to read thermistor values and the state of LED\relax }}{196}{figure.caption.122}% \addvspace {10\p@ } -\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}% +\contentsline {figure}{\numberline {9.1}{\ignorespaces Connecting servomotor to the Shield attached on Arduino Uno\relax }}{210}{figure.caption.127}% +\contentsline {figure}{\numberline {9.2}{\ignorespaces A servomotor with Arduino Uno\ using a breadboard\relax }}{212}{figure.caption.129}% +\contentsline {figure}{\numberline {9.3}{\ignorespaces A servomotor and a potentiometer with Arduino Uno\ using a breadboard\relax }}{212}{figure.caption.130}% +\contentsline {figure}{\numberline {9.4}{\ignorespaces Rotating the servomotor by a fixed angle}}{223}{figure.caption.131}% +\contentsline {figure}{\numberline {9.5}{\ignorespaces Rotating the servomotor forward and then reverse}}{224}{figure.caption.133}% +\contentsline {figure}{\numberline {9.6}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{225}{figure.caption.135}% +\contentsline {figure}{\numberline {9.7}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{226}{figure.caption.137}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {10.1}{\ignorespaces L293D motor driver board\relax }}{206}{figure.caption.139}% -\contentsline {figure}{\numberline {10.2}{\ignorespaces PWM pins on an Arduino Uno\ board\relax }}{207}{figure.caption.141}% -\contentsline {figure}{\numberline {10.3}{\ignorespaces A schematic of DC motor connections\relax }}{208}{figure.caption.142}% -\contentsline {figure}{\numberline {10.4}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{208}{figure.caption.143}% -\contentsline {figure}{\numberline {10.5}{\ignorespaces Control of DC motor for a specified time from Xcos}}{216}{figure.caption.147}% -\contentsline {figure}{\numberline {10.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{217}{figure.caption.149}% -\contentsline {figure}{\numberline {10.7}{\ignorespaces Xcos control of the DC motor in both directions in a loop}}{218}{figure.caption.151}% +\contentsline {figure}{\numberline {10.1}{\ignorespaces L293D motor driver board\relax }}{246}{figure.caption.139}% +\contentsline {figure}{\numberline {10.2}{\ignorespaces PWM pins on an Arduino Uno\ board\relax }}{247}{figure.caption.141}% +\contentsline {figure}{\numberline {10.3}{\ignorespaces A schematic of DC motor connections\relax }}{248}{figure.caption.142}% +\contentsline {figure}{\numberline {10.4}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{248}{figure.caption.143}% +\contentsline {figure}{\numberline {10.5}{\ignorespaces Control of DC motor for a specified time from Xcos}}{258}{figure.caption.147}% +\contentsline {figure}{\numberline {10.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{260}{figure.caption.149}% +\contentsline {figure}{\numberline {10.7}{\ignorespaces Xcos control of the DC motor in both directions in a loop}}{261}{figure.caption.151}% \addvspace {10\p@ } -\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{234}{figure.caption.159}% -\contentsline {figure}{\numberline {11.2}{\ignorespaces Cycle of query-response between master and slave\relax }}{234}{figure.caption.160}% -\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{235}{figure.caption.162}% -\contentsline {figure}{\numberline {11.4}{\ignorespaces Block diagram for reading the parameters in energy meter\relax }}{240}{figure.caption.169}% -\contentsline {figure}{\numberline {11.5}{\ignorespaces Experimental set up for reading energy meter\relax }}{241}{figure.caption.170}% -\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{242}{figure.caption.171}% -\contentsline {figure}{\numberline {11.7}{\ignorespaces Flowchart of the steps happening in the FLOSS code\relax }}{244}{figure.caption.172}% -\contentsline {figure}{\numberline {11.8}{\ignorespaces Single phase current output on Scilab Console\relax }}{247}{figure.caption.174}% -\contentsline {figure}{\numberline {11.9}{\ignorespaces Single phase current output in energy meter\relax }}{248}{figure.caption.175}% -\contentsline {figure}{\numberline {11.10}{\ignorespaces Single phase voltage output on Scilab Console\relax }}{248}{figure.caption.176}% -\contentsline {figure}{\numberline {11.11}{\ignorespaces Single phase voltage output in energy meter\relax }}{249}{figure.caption.177}% -\contentsline {figure}{\numberline {11.12}{\ignorespaces Single phase active power output on Scilab Console\relax }}{249}{figure.caption.178}% -\contentsline {figure}{\numberline {11.13}{\ignorespaces Single phase active power output in energy meter\relax }}{250}{figure.caption.179}% -\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read energy meter values}}{250}{figure.caption.180}% +\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{282}{figure.caption.159}% +\contentsline {figure}{\numberline {11.2}{\ignorespaces Cycle of query-response between master and slave\relax }}{283}{figure.caption.160}% +\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{284}{figure.caption.162}% +\contentsline {figure}{\numberline {11.4}{\ignorespaces Block diagram for reading the parameters in energy meter\relax }}{290}{figure.caption.169}% +\contentsline {figure}{\numberline {11.5}{\ignorespaces Experimental set up for reading energy meter\relax }}{290}{figure.caption.170}% +\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{292}{figure.caption.171}% +\contentsline {figure}{\numberline {11.7}{\ignorespaces Flowchart of the steps happening in the FLOSS code\relax }}{294}{figure.caption.172}% +\contentsline {figure}{\numberline {11.8}{\ignorespaces Single phase current output on Scilab Console\relax }}{298}{figure.caption.174}% +\contentsline {figure}{\numberline {11.9}{\ignorespaces Single phase current output in energy meter\relax }}{298}{figure.caption.175}% +\contentsline {figure}{\numberline {11.10}{\ignorespaces Single phase voltage output on Scilab Console\relax }}{299}{figure.caption.176}% +\contentsline {figure}{\numberline {11.11}{\ignorespaces Single phase voltage output in energy meter\relax }}{299}{figure.caption.177}% +\contentsline {figure}{\numberline {11.12}{\ignorespaces Single phase active power output on Scilab Console\relax }}{300}{figure.caption.178}% +\contentsline {figure}{\numberline {11.13}{\ignorespaces Single phase active power output in energy meter\relax }}{300}{figure.caption.179}% +\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read energy meter values}}{301}{figure.caption.180}% \addvspace {10\p@ } diff --git a/floss-arduino.log b/floss-arduino.log index 3eac4b2..4910535 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) 3 SEP 2023 18:38 +This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/Debian) (preloaded format=pdflatex 2023.6.1) 18 SEP 2023 23:17 entering extended mode restricted \write18 enabled. %&-line parsing enabled. @@ -529,22 +529,22 @@ File: l3backend-pdftex.def 2020-01-29 L3 backend support: PDF output (pdfTeX) (./floss-arduino.aux) \openout1 = `floss-arduino.aux'. -LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 117. -LaTeX Font Info: ... okay on input line 117. -LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 117. -LaTeX Font Info: ... okay on input line 117. -LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 117. -LaTeX Font Info: ... okay on input line 117. -LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 117. -LaTeX Font Info: ... okay on input line 117. -LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 117. -LaTeX Font Info: ... okay on input line 117. -LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 117. -LaTeX Font Info: ... okay on input line 117. -LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 117. -LaTeX Font Info: ... okay on input line 117. -LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 117. -LaTeX Font Info: ... okay on input line 117. +LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 125. +LaTeX Font Info: ... okay on input line 125. +LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 125. +LaTeX Font Info: ... okay on input line 125. +LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 125. +LaTeX Font Info: ... okay on input line 125. +LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 125. +LaTeX Font Info: ... okay on input line 125. +LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 125. +LaTeX Font Info: ... okay on input line 125. +LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 125. +LaTeX Font Info: ... okay on input line 125. +LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 125. +LaTeX Font Info: ... okay on input line 125. +LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 125. +LaTeX Font Info: ... okay on input line 125. (/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii [Loading MPS to PDF converter (version 2006.09.02).] @@ -569,13 +569,13 @@ File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv e )) -Package layouts Warning: Layout scale set to 0.5 on input line 117. +Package layouts Warning: Layout scale set to 0.5 on input line 125. Package hyperref Warning: Height of page (\stockheight) is invalid (0.0pt), (hyperref) using 11in. -Package hyperref Info: Link coloring OFF on input line 117. +Package hyperref Info: Link coloring OFF on input line 125. (/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty Package: nameref 2019/09/16 v2.46 Cross-referencing by name of section @@ -588,15 +588,15 @@ Package: gettitlestring 2019/12/15 v1.6 Cleanup title references (HO) \c@section@level=\count355 LaTeX Info: Redefining \Ref on input line 520. ) -LaTeX Info: Redefining \ref on input line 117. -LaTeX Info: Redefining \pageref on input line 117. -LaTeX Info: Redefining \nameref on input line 117. +LaTeX Info: Redefining \ref on input line 125. +LaTeX Info: Redefining \pageref on input line 125. +LaTeX Info: Redefining \nameref on input line 125. (./floss-arduino.out) (./floss-arduino.out) \@outlinefile=\write5 \openout5 = `floss-arduino.out'. -LaTeX Info: Redefining \Ref on input line 117. +LaTeX Info: Redefining \Ref on input line 125. Package caption Info: Begin \AtBeginDocument code. Package caption Info: subfig package v1.3 is loaded. Package caption Info: listings package is loaded. @@ -607,26 +607,31 @@ Package caption Info: End \AtBeginDocument code. File: suppl/fossee_logo_hi.png Graphic file (type png) <use suppl/fossee_logo_hi.png> Package pdftex.def Info: suppl/fossee_logo_hi.png used on input line 13. -(pdftex.def) Requested size: 119.2467pt x 44.00558pt. +(pdftex.def) Requested size: 86.72487pt x 32.00522pt. <suppl/IITB-logo-HighRes.png, id=870, 716.91461pt x 687.03922pt> File: suppl/IITB-logo-HighRes.png Graphic file (type png) <use suppl/IITB-logo-HighRes.png> Package pdftex.def Info: suppl/IITB-logo-HighRes.png used on input line 14. -(pdftex.def) Requested size: 79.49577pt x 76.18257pt. +(pdftex.def) Requested size: 57.81511pt x 55.40456pt. <suppl/by-nc-nd.png, id=871, 97.0827pt x 33.9669pt> File: suppl/by-nc-nd.png Graphic file (type png) <use suppl/by-nc-nd.png> Package pdftex.def Info: suppl/by-nc-nd.png used on input line 17. -(pdftex.def) Requested size: 59.62032pt x 20.85971pt. +(pdftex.def) Requested size: 43.36023pt x 15.17041pt. [1 {/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map} <./suppl/fossee_logo_hi.png > <./suppl/IITB-logo-HighRes.png> <./suppl/by-nc-nd.png>]) (./suppl/license.tex -Overfull \hbox (1.74817pt too wide) in paragraph at lines 3--7 -\T1/cmr/m/n/10.95 want to use this book for com-mer-cial pur-poses may con-tact - Prof. Kan-nan Moudgalya. +Overfull \hbox (7.57956pt too wide) in paragraph at lines 3--7 +\T1/cmr/m/n/10.95 Cre-ative Com-mons Attribution-NonCommercial-NoDerivatives + [] + + +Overfull \hbox (9.30634pt too wide) in paragraph at lines 3--7 +\T1/cmr/m/n/10.95 for com-mer-cial pur-poses may con-tact Prof. Kan-nan Moudgal +ya. [] [2 @@ -679,7 +684,71 @@ Overfull \hbox (74.6947pt too wide) detected at line 10 [3 -] [4] [5] [6] [7] [8] +] +Overfull \hbox (7.88533pt too wide) in paragraph at lines 27--27 + [] [][]\T1/cmr/bx/n/10.95 Communication be-tween Soft-ware and Ar-duino[] [] + + [] + + +Overfull \hbox (16.76085pt too wide) in paragraph at lines 30--30 + [][] [][]\T1/cmr/m/n/10.95 Downloading and in-stalling on GNU/Linux + [] + + +Overfull \hbox (16.76085pt too wide) in paragraph at lines 36--36 + [][] [][]\T1/cmr/m/n/10.95 Downloading and in-stalling on GNU/Linux + [] + + +Overfull \hbox (5.14003pt too wide) in paragraph at lines 38--38 + [][] [][]\T1/cmr/m/n/10.95 Identifying Ar-duino com-mu-ni-ca-tion port + [] + + +Overfull \hbox (16.76085pt too wide) in paragraph at lines 47--47 + [][] [][]\T1/cmr/m/n/10.95 Downloading and in-stalling on GNU/Linux + [] + + +Overfull \hbox (2.84691pt too wide) in paragraph at lines 52--52 + [][] [][]\T1/cmr/m/n/10.95 Downloading and in-stalling GNU/Linux + [] + +[4] +Overfull \hbox (16.76085pt too wide) in paragraph at lines 57--57 + [][] [][]\T1/cmr/m/n/10.95 Downloading and in-stalling on GNU/Linux + [] + +[5] +Overfull \hbox (2.0837pt too wide) in paragraph at lines 98--98 + [][] [][]\T1/cmr/m/n/10.95 Reading the push-but-ton sta-tus from Open-Mod- + [] + +[6] [7] +Overfull \hbox (5.14914pt too wide) in paragraph at lines 167--167 + [][] [][]\T1/cmr/m/n/10.95 Controlling the ser-vo-mo-tor through the Ar-duino + + [] + +[8] +Overfull \hbox (4.54208pt too wide) in paragraph at lines 218--218 + [][] [][]\T1/cmr/m/n/10.95 Manifestation of Mod-bus pro-to-col through Scilab[ +] [][] + [] + + +Overfull \hbox (11.03856pt too wide) in paragraph at lines 225--225 + [][] [][]\T1/cmr/m/n/10.95 Manifestation of Mod-bus pro-to-col through Python[ +] [][] + [] + + +Overfull \hbox (10.3445pt too wide) in paragraph at lines 235--235 + [][] [][]\T1/cmr/m/n/10.95 Manifestation of Mod-bus pro-to-col through Open- + [] + +[9] Overfull \hbox (42.2769pt too wide) detected at line 241 \T1/cmr/bx/n/10.95 References [] @@ -688,122 +757,221 @@ Overfull \hbox (42.2769pt too wide) detected at line 241 \tf@toc=\write6 \openout6 = `floss-arduino.toc'. - (./suppl/preface.tex [9] [10 - -] + (./suppl/preface.tex [10] Underfull \hbox (badness 5403) in paragraph at lines 16--17 []\T1/cmr/m/n/10.95 Microcontroller pro-gram-ming with Ar-duino and [] + +Overfull \hbox (87.43892pt too wide) in paragraph at lines 13--21 + [] + [] + +[11 + +] LaTeX Font Info: Trying to load font information for T1+fvm on input line 39 . LaTeX Font Info: No file T1fvm.fd. on input line 39. + LaTeX Font Warning: Font shape `T1/fvm/m/n' undefined (Font) using `T1/cmr/m/n' instead on input line 39. -[11] + Underfull \hbox (badness 10000) in paragraph at lines 52--57 [] ) [12] (./floss-arduino.lof [13 -] [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- +] +Overfull \hbox (16.45706pt too wide) in paragraph at lines 42--42 + [][] [][]\T1/fvm/m/n/10.95 Julia's web-site to down-load 64-bit Win-dows/Linux + + [] + + +Overfull \hbox (7.9376pt too wide) in paragraph at lines 46--46 + [][] [][]\T1/fvm/m/n/10.95 Windows com-mand prompt to launch Ju-lia REPL[] [][ +] + [] + + +Overfull \hbox (1.03885pt too wide) in paragraph at lines 47--47 + [][] [][]\T1/fvm/m/n/10.95 Windows com-mand prompt to en-ter Pkg REPL + [] + +[14] +Overfull \hbox (0.50832pt too wide) in paragraph at lines 64--64 + [][] [][]\T1/fvm/m/n/10.95 An RGB LED with Ar-duino Uno us-ing a bread- + [] + + +Overfull \hbox (11.03397pt too wide) in paragraph at lines 65--65 + [][] [][]\T1/fvm/m/n/10.95 LED ex-per-i-ments di-rectly on Ar-duino Uno board, + + [] + +[15] +Overfull \hbox (3.70221pt too wide) in paragraph at lines 98--98 + [][] [][]\T1/fvm/m/n/10.95 Internal con-nec-tion di-a-grams for ther-mis-tor a +nd + [] + +[16] +Overfull \hbox (3.04018pt too wide) in paragraph at lines 135--135 + [][] [][]\T1/fvm/m/n/10.95 Single phase ac-tive power out-put on Scilab Con- [] -[15]) +) \tf@lof=\write7 \openout7 = `floss-arduino.lof'. - [16] (./floss-arduino.lot [17 + [17] [18 -]) +] (./floss-arduino.lot [19]) \tf@lot=\write8 \openout8 = `floss-arduino.lot'. - [18] (./floss-arduino.ard) + [20] (./floss-arduino.ard [21 + +]) \tf@ard=\write9 \openout9 = `floss-arduino.ard'. - [19 + [22] +(./floss-arduino.cod [23 -] [20 - -] -(./floss-arduino.cod [21]) +]) \tf@cod=\write10 \openout10 = `floss-arduino.cod'. - [22] (./floss-arduino.pyd [23 + [24] (./floss-arduino.pyd +Overfull \hbox (4.15053pt too wide) in paragraph at lines 2--2 + [][] [][]\T1/fvm/m/n/10.95 A Python script to check whether the firmware + [] + +[25 ]) \tf@pyd=\write11 \openout11 = `floss-arduino.pyd'. - [24] -(./floss-arduino.juliad) + [26] (./floss-arduino.juliad +Overfull \hbox (11.72147pt too wide) in paragraph at lines 1--1 + [][] [][]\T1/fvm/m/n/10.95 A Ju-lia source file to check whether the firmware + + [] + +[27 + +]) \tf@juliad=\write12 \openout12 = `floss-arduino.juliad'. - [25 + [28] (./floss-arduino.OpenModelicad +Overfull \hbox (11.78917pt too wide) in paragraph at lines 1--1 + [][] [][]\T1/fvm/m/n/10.95 An Open-Mod-el-ica code/-model to check whether + [] + +[29 -] [26] (./floss-arduino.OpenModelicad) +]) \tf@OpenModelicad=\write13 \openout13 = `floss-arduino.OpenModelicad'. + (./suppl/acr.tex [30] +Overfull \hbox (66.59381pt too wide) in paragraph at lines 3--32 +[] + [] -(./suppl/acr.tex [27 -] [28]) Underfull \vbox (badness 10000) has occurred while \output is active [] - [29 + [31 ] -[30] (./suppl/intro.tex +Overfull \vbox (6.24634pt too high) has occurred while \output is active [] + + +[32]) +Overfull \hbox (13.77153pt too wide) in paragraph at lines 33--165 +[][] + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 33--165 + + [] + +[33] [34 + +] (./suppl/intro.tex Chapter 1. -Overfull \hbox (16.66084pt too wide) in paragraph at lines 33--39 -[]\T1/fvm/m/n/10.95 Xcos is a GUI based sys-tem build-ing tool for Scilab, some --what sim-i-lar to Simulink$[]$[][][]. +Overfull \hbox (16.10982pt too wide) in paragraph at lines 4--9 +\T1/fvm/m/n/10.95 Microcontrollers are the foun-da-tion for a mod-ern, manufact +uring- [] [1 +] [2]) (./user-code/hw-env/hw-env.tex [3] [4 -]) (./user-code/hw-env/hw-env.tex [2] +] Chapter 2. -[3 -] +Overfull \hbox (8.67784pt too wide) in paragraph at lines 24--30 +\T1/fvm/m/n/10.95 dig-i-tal cir-cuit that con-tains a pro-ces-sor, mem-ory and +in-put/out- + [] + + +Overfull \hbox (7.76726pt too wide) in paragraph at lines 30--32 +[]\T1/fvm/m/n/10.95 Automotive: Brak-ing, driver as-sist, fault di-ag-no-sis, p +ower + [] + +[5] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/miccontblk. -png, id=1801, 419.6478pt x 413.3844pt> +png, id=1937, 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 blk.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw -env/figures/miccontblk.png used on input line 50. -(pdftex.def) Requested size: 258.36281pt x 254.51689pt. - [4 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/miccont -blk.png>] [5] +(pdftex.def) Requested size: 187.90022pt x 185.09401pt. + [6 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/miccont +blk.png>] +Overfull \hbox (4.45892pt too wide) in paragraph at lines 76--80 +\T1/fvm/m/n/10.95 Mem-ory: EEP-ROM is an op-tional non-volatile stor- + [] + +[7] +Overfull \hbox (13.16347pt too wide) in paragraph at lines 111--116 +[]\T1/fvm/m/n/10.95 Universal Asyn-chronous Re-ceiver/-Trans-mit-ter (UART): UA +RT + [] + </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/resolution. -png, id=1816, 207.77625pt x 330.23375pt> +png, id=1952, 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 ion.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw -env/figures/resolution.png used on input line 127. -(pdftex.def) Requested size: 119.2467pt x 189.52515pt. - [6 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/resolut -ion.png>] +(pdftex.def) Requested size: 86.72487pt x 137.83556pt. +[8] [9 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/reso +lution.png>] +Overfull \hbox (0.15323pt too wide) in paragraph at lines 161--162 +[]\T1/fvm/m/n/10.95 Analog out-put de-vices: Bright-ness con-trol, speaker + [] + </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/OSHW-138px. -png, id=1830, 138.5175pt x 145.54375pt> +png, id=1972, 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 @@ -811,184 +979,241 @@ File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/OSHW-1 Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw -env/figures/OSHW-138px.png used on input line 182. (pdftex.def) Requested size: 72.26999pt x 75.93634pt. - [7 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/OSHW-13 -8px.png>] [8] +[10 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/OSHW-13 +8px.png>] [11] +Overfull \hbox (8.18529pt too wide) in paragraph at lines 228--232 +\T1/fvm/m/n/10.95 nounced \T1/cmr/m/it/10.95 The An-droid Open Ac-ces-sory De-v +el-op-ment Kit (ADK)\T1/fvm/m/n/10.95 , + [] + </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino.png -, id=1861, 585.18625pt x 221.82875pt> +, id=2001, 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 .png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw -env/figures/arduino.png used on input line 254. -(pdftex.def) Requested size: 357.73405pt x 135.61319pt. +(pdftex.def) Requested size: 260.17021pt x 98.62715pt. -Overfull \hbox (3.40561pt too wide) in paragraph at lines 261--281 +Overfull \hbox (111.81061pt too wide) in paragraph at lines 261--281 [] [] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/mega.jpg, i -d=1864, 481.8pt x 316.7835pt> +d=2004, 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 g> 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. +(pdftex.def) Requested size: 187.90022pt x 123.54022pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/lily.jpg, i -d=1867, 321.2pt x 321.2pt> +d=2007, 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 g> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw -env/figures/lily.jpg used on input line 304. -(pdftex.def) Requested size: 178.86702pt x 178.87094pt. - -Underfull \vbox (badness 1038) has occurred while \output is active [] - - [9 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino -.png>] +(pdftex.def) Requested size: 130.0851pt x 130.08528pt. +[12] [13 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/ar +duino.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino-pho -ne.jpg, id=1877, 230.15924pt x 153.5162pt> +ne.jpg, id=2021, 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 -phone.jpg> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw -env/figures/arduino-phone.jpg used on input line 323. -(pdftex.def) Requested size: 178.86702pt x 119.30411pt. - -[10 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/mega.jp -g>] +(pdftex.def) Requested size: 130.0851pt x 86.76726pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino-3d- -printer.jpg, id=1885, 770.88pt x 364.36125pt> +printer.jpg, id=2025, 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 -3d-printer.jpg> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw -env/figures/arduino-3d-printer.jpg used on input line 337. -(pdftex.def) Requested size: 178.86702pt x 84.54076pt. - -Underfull \vbox (badness 1931) has occurred while \output is active [] - - [11 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/lily.j -pg> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino --phone.jpg>] +(pdftex.def) Requested size: 130.0851pt x 61.4847pt. + [14 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/mega.j +pg> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/lily.jp +g>] [15 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/ard +uino-phone.jpg> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/fig +ures/arduino-3d-printer.jpg>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/pcb_board_V1p2.png, id= -1901, 608.2725pt x 534.99875pt> +2047, 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> 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=190 -3, 819.06pt x 599.23875pt> +(pdftex.def) Requested size: 187.90022pt x 165.26013pt. +</home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.png, id=204 +9, 819.06pt x 599.23875pt> 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=190 -5, 494.59781pt x 376.40625pt> +(pdftex.def) Requested size: 289.07999pt x 211.50142pt. + +Overfull \hbox (14.19746pt too wide) in paragraph at lines 363--385 +\T1/fvm/m/n/10.95 project files are avail-able in a folder at Origin/tools/shie +ld/kicad- + [] + +</home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.jpg, id=205 +1, 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> 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. +(pdftex.def) Requested size: 173.44975pt x 131.99687pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/shield-crop -.jpg, id=1911, 608.2725pt x 443.6575pt> +.jpg, id=2057, 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- crop.jpg> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw -env/figures/shield-crop.jpg used on input line 454. -(pdftex.def) Requested size: 397.48499pt x 289.9242pt. +(pdftex.def) Requested size: 289.07999pt x 210.84781pt. Underfull \vbox (badness 10000) has occurred while \output is active [] - [12 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduin -o-3d-printer.jpg>] [13 </home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/ -pcb_board_V1p2.png>]) (./user-code/sw-env/sw-env-base.tex [14 </home/sudhakak/D -esktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.png>] [15 </home/sudhakak/De -sktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.jpg>] [16 </home/sudhakak/Des -ktop/FLOSS-Arduino-Book/user-code/hw-env/figures/shield-crop.jpg>] [17] [18 + [16 </home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/pcb_board_V1p2.png +>] [17 </home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.png> + </home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/shield/shield-V1p2.jpg>] -] +LaTeX Warning: Text page 18 contains only floats. + + +Overfull \vbox (2.30966pt too high) has occurred while \output is active [] + + +[18] +Overfull \hbox (0.67674pt too wide) in paragraph at lines 482--482 +[]\T1/cmr/bx/n/14.4 Doing the Ex-per-i-ments with a Bread- + [] + +[19 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/shield- +crop.jpg>]) (./user-code/sw-env/sw-env-base.tex [20] Chapter 3. -[19] + +Underfull \vbox (badness 2142) has occurred while \output is active [] + + [21 + +] +Overfull \hbox (6.34355pt too wide) in paragraph at lines 81--85 +[]\T1/fvm/m/n/10.95 Visit the URL, https://www.arduino.cc/en/software. On + [] + +[22] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/hw-device-m -anager.jpg, id=1968, 793.96625pt x 579.16376pt> +anager.jpg, id=2113, 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 ce-manager.jpg> 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. +(pdftex.def) Requested size: 289.07999pt x 210.87602pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/device-mana -ger-com.png, id=1969, 1175.39125pt x 863.225pt> +ger-com.png, id=2114, 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- manager-com.png> 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. +(pdftex.def) Requested size: 289.07999pt x 212.30203pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/update-driv -er.png, id=1970, 635.37375pt x 423.5825pt> +er.png, id=2115, 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- driver.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw -env/figures/update-driver.png used on input line 124. -(pdftex.def) Requested size: 397.48499pt x 264.99695pt. - [20] [21 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/h -w-device-manager.jpg>] [22 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code -/sw-env/figures/device-manager-com.png>] +(pdftex.def) Requested size: 289.07999pt x 192.72388pt. + +Overfull \hbox (2.23634pt too wide) in paragraph at lines 130--130 +[]\T1/cmr/bx/n/12 Downloading and in-stalling on GNU/Linux + [] + +[23] + +LaTeX Warning: Text page 24 contains only floats. + + +Overfull \vbox (1.48804pt too high) has occurred while \output is active [] + + +[24 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/hw-devi +ce-manager.jpg> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/fig +ures/device-manager-com.png>] +Overfull \hbox (5.44286pt too wide) in paragraph at lines 147--150 +\T1/fvm/m/n/10.95 https://www.arduino.cc/en/software. As men-tioned ear- + [] + +[25 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/update- +driver.png (PNG copy)>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/launch-ardu -ino-opt.png, id=2006, 751.80875pt x 313.17pt> +ino-opt.png, id=2144, 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- arduino-opt.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/launch-arduino-opt.png used on input line 219. -(pdftex.def) Requested size: 258.36281pt x 107.62325pt. - [23 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/update --driver.png (PNG copy)>] +(pdftex.def) Requested size: 187.90022pt x 78.2684pt. + [26 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/launch +-arduino-opt.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino-ide -.jpg, id=2016, 856.19875pt x 657.45625pt> +.jpg, id=2156, 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 -ide.jpg> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw -env/figures/arduino-ide.jpg used on input line 236. -(pdftex.def) Requested size: 397.48499pt x 305.22243pt. +(pdftex.def) Requested size: 289.07999pt x 221.97722pt. -Underfull \vbox (badness 1303) has occurred while \output is active [] +Overfull \hbox (1.29857pt too wide) in paragraph at lines 249--251 +[]\T1/fvm/m/n/10.95 Open: Presents a menu of all the sketches in your sketch- + [] + +[27 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/figures/arduino +-ide.jpg>] [28] +Overfull \hbox (2.25005pt too wide) in paragraph at lines 296--299 +\T1/fvm/m/n/10.95 duino'' from Desk-top in Ubuntu. In MS Win-dows browse + [] + +[29] +Overfull \hbox (3.99739pt too wide) in paragraph at lines 336--338 +\T1/fvm/m/n/10.95 We have pro-vided a code to check whether the FLOSS firmware + [] - [24 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/launch --arduino-opt.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/hw-env/f -igures/arduino-ide.jpg>] [25] [26] Package hyperref Info: bookmark level for unknown ardmass defaults to 0 on inpu t line 340. Package hyperref Info: bookmark level for unknown lstlisting defaults to 0 on i 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] +ino [30])) (./user-code/sw-env/sw-env-scilab.tex [31] +Overfull \hbox (2.23634pt too wide) in paragraph at lines 48--48 +[]\T1/cmr/bx/n/12 Downloading and in-stalling on GNU/Linux + [] + +[32] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/linux-cd.pn -g, id=2092, 787.94376pt x 192.72pt> +g, id=2235, 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 @@ -996,30 +1221,46 @@ d.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/linux-cd.png used on input line 75. (pdftex.def) Requested size: 393.97092pt x 96.35976pt. - [29 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/linux- -cd.png>] + +Overfull \hbox (104.89093pt too wide) in paragraph at lines 75--76 + [][] + [] + + +Overfull \hbox (17.43907pt too wide) in paragraph at lines 66--79 +[]\T1/fvm/m/n/10.95 To launch Scilab, open a ter-mi-nal by press-ing the Alt+Ct +rl+T + [] + +[33 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/linux-c +d.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/browse-dire -ctory.png, id=2105, 450.18187pt x 327.47343pt> +ctory.png, id=2247, 450.18187pt x 327.47343pt> File: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/browse -directory.png Graphic file (type png) <use /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/browse- directory.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/browse-directory.png used on input line 120. -(pdftex.def) Requested size: 357.73405pt x 260.23521pt. +(pdftex.def) Requested size: 260.17021pt x 189.26015pt. + +Overfull \hbox (5.98477pt too wide) in paragraph at lines 114--124 +\T1/fvm/m/n/10.95 tool-s/s-cil-ab/win-dows or Orig-in/-tool-s/s-cil-ab/linux, a +s the + [] + </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/builder.png -, id=2108, 600.74437pt x 421.575pt> +, id=2250, 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 .png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/builder.png used on input line 136. -(pdftex.def) Requested size: 397.48499pt x 278.94795pt. - [30 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/browse --directory.png>] +(pdftex.def) Requested size: 289.07999pt x 202.8683pt. +[34] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/loader.png, - id=2119, 600.74437pt x 421.575pt> + id=2262, 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. @@ -1028,19 +1269,30 @@ Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/loader.png used on input line 152. (pdftex.def) Requested size: 300.37144pt x 210.78697pt. -[31 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/builder -.png>] +Overfull \hbox (11.29146pt too wide) in paragraph at lines 152--153 + [][] + [] + + +Underfull \vbox (badness 1540) has occurred while \output is active [] + + [35 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/browse +-directory.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/fig +ures/builder.png>] [36 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw- +env/figures/loader.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/device-mana -ger.png, id=2128, 602.25pt x 451.6875pt> +ger.png, id=2274, 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- manager.png> 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. +(pdftex.def) Requested size: 289.07999pt x 216.81442pt. + [37 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/device +-manager.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/com-propert -ies.png, id=2132, 602.25pt x 451.6875pt> +ies.png, id=2282, 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 @@ -1048,10 +1300,15 @@ perties.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/com-properties.png used on input line 201. (pdftex.def) Requested size: 301.12425pt x 225.84319pt. - [32 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/loader -.png>] + +Overfull \hbox (12.04427pt too wide) in paragraph at lines 201--202 + [][] + [] + +[38 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/com-pro +perties.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/linux-port. -png, id=2139, 634.37pt x 246.9225pt> +png, id=2289, 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 @@ -1059,15 +1316,24 @@ ort.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/linux-port.png used on input line 225. (pdftex.def) Requested size: 317.18422pt x 123.46094pt. - [33 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/device --manager.png>] [34 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/ -figures/com-properties.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-cod -e/sw-env/figures/linux-port.png>] + +Overfull \hbox (28.10423pt too wide) in paragraph at lines 225--226 + [][] + [] + + +Overfull \hbox (16.39833pt too wide) in paragraph at lines 236--237 +[]\T1/fvm/m/n/10.95 Read into the Ar-duino IDE, the firmware Ar-duino Code []3. +1[]. + [] + +[39 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/linux-p +ort.png>] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/scilab/test_firmware.sce consecutive: ) </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/test-consol -e.png, id=2157, 600.74437pt x 421.575pt> +e.png, id=2305, 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 @@ -1075,258 +1341,339 @@ nsole.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/test-console.png used on input line 276. (pdftex.def) Requested size: 300.37144pt x 210.78697pt. + +Overfull \hbox (11.29146pt too wide) in paragraph at lines 276--277 + [][] + [] + +[40] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/table_funct -ions_crop.pdf, id=2160, 1055.945pt x 543.02875pt> +ions_crop.pdf, id=2320, 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 unctions_crop.pdf> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/table_functions_crop.pdf used on input line 301. -(pdftex.def) Requested size: 397.48499pt x 204.40587pt. +(pdftex.def) Requested size: 289.07999pt x 148.65805pt. + +Underfull \vbox (badness 5741) has occurred while \output is active [] + + [41 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/test-c +onsole.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures +/table_functions_crop.pdf>] Package hyperref Info: bookmark level for unknown codemass defaults to 0 on inp ut line 314. - [35] -(/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/scilab/test_firmware.sce -[36 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/test-co -nsole.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/ -table_functions_crop.pdf>]) + +Overfull \hbox (6.28635pt too wide) in paragraph at lines 315--321 +[]\T1/fvm/m/n/10.95 A Scilab code to check whether the firmware + [] + +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/scilab/test_firmware.sce) +[42] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-blk.pn -g, id=2189, 376.40625pt x 376.40625pt> +g, id=2349, 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 k.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/sine-blk.png used on input line 351. -(pdftex.def) Requested size: 357.73405pt x 357.76195pt. - [37] +(pdftex.def) Requested size: 260.17021pt x 260.1858pt. + [43 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-b +lk.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/plot-blk.pn -g, id=2206, 310.15875pt x 109.1578pt> +g, id=2356, 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 k.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/plot-blk.png used on input line 403. -(pdftex.def) Requested size: 357.73405pt x 125.90192pt. - [38 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-b -lk.png>] +(pdftex.def) Requested size: 260.17021pt x 91.56366pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/clock-blk.p -ng, id=2212, 307.90031pt x 108.405pt> +ng, id=2358, 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 lk.png> 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. +(pdftex.def) Requested size: 260.17021pt x 91.60709pt. + [44 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/plot-b +lk.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-gen.pn -g, id=2214, 207.77625pt x 253.69781pt> +g, id=2364, 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 n.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/sine-gen.png used on input line 438. -(pdftex.def) Requested size: 178.86702pt x 218.40813pt. - [39 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/plot-b -lk.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/clo -ck-blk.png>] +(pdftex.def) Requested size: 130.0851pt x 158.84332pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-output -.png, id=2220, 383.18156pt x 184.43906pt> +.png, id=2366, 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 tput.png> 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. +(pdftex.def) Requested size: 187.90022pt x 90.44347pt. + [45 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/clock- +blk.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/si +ne-gen.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/cscope-conf -ig.png, id=2222, 310.15875pt x 289.08pt> +ig.png, id=2373, 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- config.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/cscope-config.png used on input line 463. -(pdftex.def) Requested size: 258.36281pt x 240.8053pt. - [40 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-g -en.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sin -e-output.png>] +(pdftex.def) Requested size: 187.90022pt x 175.12991pt. + [46 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sine-o +utput.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/ +cscope-config.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sim-setup.p -ng, id=2228, 333.49594pt x 225.84375pt> +ng, id=2379, 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 up.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw -env/figures/sim-setup.png used on input line 480. -(pdftex.def) Requested size: 258.36281pt x 174.97539pt. - [41 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/cscope --config.png>] +(pdftex.def) Requested size: 187.90022pt x 127.247pt. + +Overfull \hbox (0.75633pt too wide) in paragraph at lines 498--508 +\T1/fvm/m/n/10.95 in Scilab scripts but also pro-vides new Arduino-specific blo +cks. + [] + +[47 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/sim-set +up.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/arduino-pal -ette.png, id=2235, 292.84406pt x 107.65219pt> +ette.png, id=2386, 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 -palette.png> 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. +(pdftex.def) Requested size: 187.90022pt x 69.0762pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/xcos-help.p -ng, id=2236, 617.30624pt x 466.74374pt> +ng, id=2387, 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 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/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>] +(pdftex.def) Requested size: 187.90022pt x 142.06819pt. +) (./user-code/sw-env/sw-env-python.tex [48 </home/sudhakak/Desktop/FLOSS-Ardui +no-Book/user-code/sw-env/figures/arduino-palette.png> </home/sudhakak/Desktop/F +LOSS-Arduino-Book/user-code/sw-env/figures/xcos-help.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/python-wind -ows-install.JPG, id=2243, 514.17094pt x 316.93407pt> +ows-install.JPG, id=2394, 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>] +(pdftex.def) Requested size: 187.90022pt x 115.82263pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/windows-cmd -.png, id=2253, 572.1375pt x 338.26375pt> +.png, id=2397, 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. +(pdftex.def) Requested size: 187.90022pt x 111.09058pt. + [49] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/win-command --prompt.png, id=2254, 1353.055pt x 289.08pt> +-prompt.png, id=2405, 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] +(pdftex.def) Requested size: 187.90022pt x 40.1445pt. + +[50 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/python- +windows-install.JPG> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-en +v/figures/windows-cmd.png>] +Overfull \hbox (4.69966pt too wide) in paragraph at lines 76--82 +[]\T1/fvm/m/n/10.95 Suppose you have a Python script named FILE-NAME.py + [] + +[51 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/win-com +mand-prompt.png>] +Overfull \hbox (2.23634pt too wide) in paragraph at lines 103--103 +[]\T1/cmr/bx/n/12 Downloading and in-stalling on GNU/Linux + [] + +[52] +Overfull \hbox (7.72575pt too wide) in paragraph at lines 125--131 +[]\T1/fvm/m/n/10.95 Suppose you have a Python script named FILE-NAME.py. + [] + +[53] +Overfull \hbox (1.22383pt too wide) in paragraph at lines 182--188 +\T1/fvm/m/n/10.95 in Python 3. This pack-age is avail-able at Orig-in/-tool-s/p +ython. + [] + + +Overfull \hbox (4.45723pt too wide) in paragraph at lines 203--205 +\T1/fvm/m/n/10.95 We have pro-vided a Python code to check whether the firmware + + [] + 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] +[54] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/python/test_firmware.py)) +(./user-code/sw-env/sw-env-julia.tex +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [55] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-downl -oad.png, id=2353, 670.00313pt x 277.035pt> +oad.png, id=2506, 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. +(pdftex.def) Requested size: 289.07999pt x 119.52853pt. + +Underfull \hbox (badness 1742) in paragraph at lines 37--37 +[]\T1/fvm/m/n/10.95 Figure 3.27: |Ju-lia's web-site to down-load 64-bit Win- + [] + </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-windo -ws-install.png, id=2354, 756.8275pt x 632.3625pt> +ws-install.png, id=2507, 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. +(pdftex.def) Requested size: 187.90022pt x 156.9999pt. 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. +(pdftex.def) Requested size: 187.90022pt x 111.09058pt. 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>] +(pdftex.def) Requested size: 187.90022pt x 40.1445pt. +[56] [57 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/ju +lia-download.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/f +igures/julia-windows-install.png>] +Overfull \hbox (7.13272pt too wide) in paragraph at lines 79--85 +[]\T1/fvm/m/n/10.95 Suppose you have a Ju-lia source file named FILE-NAME.jl + [] + +[58] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-repl- -windows.png, id=2375, 1354.05875pt x 768.8725pt> +windows.png, id=2538, 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] +(pdftex.def) Requested size: 289.07999pt x 164.14288pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-pkg-w -indows.png, id=2389, 1353.055pt x 768.8725pt> +indows.png, id=2540, 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- +(pdftex.def) Requested size: 289.07999pt x 164.27194pt. + [59] [60 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/j +ulia-repl-windows.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw- env/figures/julia-pkg-windows.png>] +Overfull \hbox (33.22878pt too wide) in paragraph at lines 130--130 +[]\T1/cmr/bx/n/12 Downloading and in-stalling GNU/Linux Ubuntu + [] + + +Overfull \hbox (5.04599pt too wide) in paragraph at lines 131--137 +\T1/fvm/m/n/10.95 We will now ex-plain the in-stal-la-tion of Ju-lia on the GNU +/Linux + [] + +[61] +Overfull \hbox (1.0089pt too wide) in paragraph at lines 167--168 +[]\T1/fvm/m/n/10.95 Open a Ter-mi-nal by press-ing Ctrl+Alt+T keys to-gether. + [] + + +Overfull \hbox (7.13272pt too wide) in paragraph at lines 175--181 +[]\T1/fvm/m/n/10.95 Suppose you have a Ju-lia source file named FILE-NAME.jl + [] + +[62] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-termi -nal-repl.png, id=2409, 949.5475pt x 655.44875pt> +nal-repl.png, id=2577, 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>] +(pdftex.def) Requested size: 289.07999pt x 199.54652pt. + +Overfull \hbox (1.0089pt too wide) in paragraph at lines 198--206 +[]\T1/fvm/m/n/10.95 Open a Ter-mi-nal by press-ing Ctrl+Alt+T keys to-gether. + [] + +[63 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-t +erminal-repl.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia-pkg.p -ng, id=2433, 949.5475pt x 655.44875pt> +ng, id=2589, 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>] +(pdftex.def) Requested size: 289.07999pt x 199.54652pt. + [64 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/julia- +pkg.png>] [65] 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/tools/julia/test_firmware.jl)) +(./user-code/sw-env/sw-env-OM.tex [66] [67] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/openmodelic -a-run-anyway.png, id=2467, 812.03375pt x 749.80125pt> +a-run-anyway.png, id=2639, 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. +(pdftex.def) Requested size: 187.90022pt x 173.49179pt. -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) +Overfull \hbox (2.23634pt too wide) in paragraph at lines 54--54 +[]\T1/cmr/bx/n/12 Downloading and in-stalling on GNU/Linux [] -[58] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/OMEdit-libr -aries.png, id=2481, 664.4825pt x 546.04pt> +aries.png, id=2643, 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- @@ -1334,170 +1681,230 @@ 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>] + +Overfull \hbox (76.3865pt too wide) in paragraph at lines 65--66 + [][] + [] + + +Overfull \hbox (84.09967pt too wide) in paragraph at lines 55--70 +\T1/fvm/m/n/10.95 The read-ers are ad-vised to visit https://openmodelica.org/d +ownload/download- + [] + +[68 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/openmod +elica-run-anyway.png>] +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [69 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/OMEdit +-libraries.png>] +Overfull \hbox (50.99083pt too wide) in paragraph at lines 79--81 +\T1/fvm/m/n/10.95 and the list of the lat-est news from https://www.openmodelic +a.org. + [] + </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/OMEdit-UI.p -ng, id=2502, 996.1215pt x 597.9138pt> +ng, id=2662, 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. +(pdftex.def) Requested size: 289.07999pt x 173.51828pt. +[70] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-open-mod -el.png, id=2504, 1087.06125pt x 792.9625pt> +el.png, id=2672, 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. +(pdftex.def) Requested size: 289.07999pt x 210.87213pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-Modeling -.png, id=2505, 1368.11125pt x 791.95876pt> +.png, id=2673, 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. +(pdftex.def) Requested size: 289.07999pt x 167.33133pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-modeling --views.png, id=2506, 673.01437pt x 373.395pt> +-views.png, id=2674, 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. +(pdftex.def) Requested size: 289.07999pt x 160.38579pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-text-vie -w.png, id=2507, 1370.11874pt x 796.9775pt> +w.png, id=2675, 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 [] +(pdftex.def) Requested size: 289.07999pt x 168.1485pt. - [62 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-ope -n-model.png>] +Overfull \hbox (11.82188pt too wide) in paragraph at lines 139--150 +\T1/fvm/m/n/10.95 should ap-pear un-der the Li-braries browser, as shown in Fig +. []3.37[]. + [] -LaTeX Warning: Text page 63 contains only floats. +[71 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/OMEdit- +UI.png>] +Underfull \vbox (badness 1694) has occurred while \output is active [] -[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>] + [72 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-ope +n-model.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figure +s/om-modeling.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-simulate -.png, id=2534, 673.01437pt x 373.395pt> +.png, id=2694, 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. +(pdftex.def) Requested size: 289.07999pt x 160.38579pt. + [73 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-mod +eling-views.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/fi +gures/om-text-view.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-sim-succ -ess.png, id=2535, 647.41875pt x 516.93124pt> +ess.png, id=2701, 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. +(pdftex.def) Requested size: 289.07999pt x 230.8185pt. + +Underfull \vbox (badness 1028) has occurred while \output is active [] -Overfull \hbox (13.09471pt too wide) in paragraph at lines 181--188 -\T1/fvm/m/n/10.95 such add-on func-tion-al-i-ties are added to Open-Mod-el-ica -us-ing tool-boxes. OpenModelica- + [74 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-sim +ulate.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/ +om-sim-success.png>] +Overfull \hbox (1.36676pt too wide) in paragraph at lines 195--199 +[]\T1/fvm/m/n/10.95 After launch-ing, we have to load OpenModelica-Arduino [] -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[][] +Overfull \hbox (8.50925pt too wide) in paragraph at lines 199--201 +[]\T1/fvm/m/n/10.95 Navigate to Orig-in/-tool-s/open-mod-el-i-ca/win-dows or Or +ig- [] -[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. + +Overfull \hbox (14.70244pt too wide) in paragraph at lines 199--201 +\T1/fvm/m/n/10.95 openmodelica/linux, as the case maybe. Se-lect Ar-duino.mo [] -[65 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-simu -late.png>] + +Overfull \hbox (28.4157pt too wide) in paragraph at lines 201--209 +\T1/fvm/m/n/10.95 look for three new li-braries: Ar-duino, Mod-el-ica_Synchrono +us, + [] + + +Overfull \hbox (19.02776pt too wide) in paragraph at lines 201--209 +\T1/fvm/m/n/10.95 Mod-el-ica_DeviceDrivers, and one model test_firmware.mo. + [] + + +Overfull \hbox (29.09576pt too wide) in paragraph at lines 201--209 +\T1/fvm/m/n/10.95 If you are able to view these files, it means that OpenModeli +ca- + [] + +[75] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figures/om-toolbox- -loaded.png, id=2560, 325.215pt x 735.74875pt> +loaded.png, id=2725, 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. +(pdftex.def) Requested size: 130.0851pt x 294.30551pt. -Underfull \vbox (badness 1502) has occurred while \output is active [] +Overfull \hbox (1.61458pt too wide) in paragraph at lines 237--241 +\T1/fvm/m/n/10.95 whether the firmware has been prop-erly in-stalled. That code +/- + [] - [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>] + +Overfull \hbox (3.56088pt too wide) in paragraph at lines 245--252 +[]\T1/fvm/m/n/10.95 An Open-Mod-el-ica code/-model to + [] + + +Overfull \hbox (20.54045pt too wide) in paragraph at lines 245--252 +\T1/fvm/m/n/10.95 Sim-u-late this code/-model by fol-low-ing the steps given in + Sec. []3.6.3[]. + [] + +[76] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/tools/openmodelica/windows//test_fir -mware.mo)) (./user-code/led/led-base.tex [68] +mware.mo [77 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/sw-env/figure +s/om-toolbox-loaded.png>])) (./user-code/led/led-base.tex [78] Chapter 4. -</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led.png, id=26 -06, 149.8097pt x 84.315pt> +[79 + +] +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led.png, id=27 +75, 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> 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. +(pdftex.def) Requested size: 57.81511pt x 32.5392pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/schematic.png, - id=2608, 415.5525pt x 456.70625pt> + id=2777, 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. 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. -[69 - - </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led.png>] +(pdftex.def) Requested size: 130.0851pt x 142.96425pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/arduino-new-sh -ield.jpeg, id=2614, 305.7021pt x 172.0026pt> +ield.jpeg, id=2778, 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 w-shield.jpeg> 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. - -[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>] +(pdftex.def) Requested size: 187.90022pt x 105.72453pt. + [80 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led.png> +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/schematic.png> +] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/rgb-led-bb.png -, id=2622, 451.286pt x 236.082pt> +, id=2787, 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 .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. - [71 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/rgb-led-b -b.png>] +(pdftex.def) Requested size: 260.17021pt x 136.1027pt. + +Overfull \hbox (88.92053pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 4.2. Connecting an RGB LED with Arduino Uno using a breadboa +rd \T1/fvm/m/n/10.95 81 + [] + +[81 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/arduino-ne +w-shield.jpeg>] [82 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/fi +gures/rgb-led-bb.png>] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led-blue/led-b lue.ino consecutive: @@ -1513,16 +1920,16 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led-blue-delay /led-blue-delay.ino consecutive: -) [72] +) [83] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led_output.png -, id=2652, 3035.34pt x 1947.275pt> +, id=2825, 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 .png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/le d/figures/led_output.png used on input line 198. -(pdftex.def) Requested size: 357.73405pt x 229.47339pt. +(pdftex.def) Requested size: 260.17021pt x 166.89784pt. LaTeX Font Info: Trying to load font information for T1+cmss on input line 2 10. (/usr/share/texlive/texmf-dist/tex/latex/base/t1cmss.fd @@ -1530,23 +1937,35 @@ 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. - [73] + [84] +Overfull \hbox (2.71124pt too wide) in paragraph at lines 230--233 +\T1/fvm/m/n/10.95 O r i g i n / u s e r - c o d e / l e d / a r d u i n o / l e + d - b l u e / l e d - b l u e . i n o, see Foot- + [] + + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led-blue/led-b -lue.ino) +lue.ino [85 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/le +d_output.png>]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/arduino/led-blue-delay -/led-blue-delay.ino [74 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/le -d/figures/led_output.png>]) +/led-blue-delay.ino) (/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 [75] +k/led-green-blink.ino [86])) (./user-code/led/led-scilab.tex (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led-blue.sce) +[87] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led-blue.sce consecutive: -) [76] -(/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: ) +Overfull \hbox (27.0284pt too wide) in paragraph at lines 56--60 +[]\T1/fvm/m/n/10.95 Scilab Code []4.2[] does the same thing as what Ar-duino Co +de []4.2[] + [] + +[88] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led-blue-delay. sce consecutive: @@ -1554,96 +1973,128 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led-blue-delay. sce consecutive: -) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led-blue.sce) - -Overfull \hbox (1.20615pt too wide) in paragraph at lines 95--99 -\T1/fvm/m/n/10.95 Avail-able at O r i g i n / u s e r - c o d e / l e d / s c i - l a b / l e d - b l u e - d e l a y . s c e, see Foot-note []2[][] on page 2[] -[][]. +) +Overfull \hbox (27.0284pt too wide) in paragraph at lines 66--71 +[]\T1/fvm/m/n/10.95 Scilab Code []4.3[] does the same thing as what Ar-duino Co +de []4.3[] [] - +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led-blue.sce) +[89] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/scilab/led-blue-delay. -sce [77]) +sce) (/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) +.sce [90]) </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue-com-2 -.png, id=2788, 766.865pt x 696.6025pt> +.png, id=2987, 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 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. - [78] -Overfull \hbox (4.77844pt too wide) in paragraph at lines 152--161 +(pdftex.def) Requested size: 130.0851pt x 118.16576pt. + +Overfull \hbox (113.18344pt 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=2825, 848.16875pt x 694.595pt> +-com-2.png, id=2993, 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 elay-com-2.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/le d/figures/led-blue-delay-com-2.png used on input line 171. -(pdftex.def) Requested size: 178.86702pt x 146.47337pt. +(pdftex.def) Requested size: 130.0851pt x 106.52705pt. -Overfull \hbox (4.77844pt too wide) in paragraph at lines 186--198 +Overfull \hbox (113.18344pt too wide) in paragraph at lines 186--198 [][] [] -[79 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue-c -om-2.png>] +[91] + +LaTeX Warning: Text page 92 contains only floats. + +[92 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue-c +om-2.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led- +blue-delay-com-2.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-blue-red-c -om-2.png, id=2841, 829.0975pt x 805.0075pt> +om-2.png, id=3022, 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 ed-com-2.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/le d/figures/led-blue-red-com-2.png used on input line 209. -(pdftex.def) Requested size: 178.86702pt x 173.66284pt. +(pdftex.def) Requested size: 130.0851pt x 126.29802pt. -Overfull \hbox (13.85292pt too wide) in paragraph at lines 225--242 +Overfull \hbox (122.25792pt 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=2847, 869.2475pt x 678.535pt> +k-com-2.png, id=3028, 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- 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. -[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 +(pdftex.def) Requested size: 130.0851pt x 101.53772pt. + +Overfull \hbox (113.18344pt too wide) in paragraph at lines 267--280 [][] [] -[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>] +[93] [94 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-b +lue-red-com-2.png>]) (./user-code/led/led-python.tex +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [95 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/figures/led-green +-blink-com-2.png>] +Overfull \hbox (2.53152pt too wide) in paragraph at lines 12--15 +\T1/fvm/m/n/10.95 the Shield. The code for this is given in Python Code []4.1[] +. + [] + (/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 +) +Overfull \hbox (0.12535pt too wide) in paragraph at lines 23--25 +\T1/fvm/m/n/10.95 im-ports the Ar-duino mod-ule from Python-Arduino tool- + [] + +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue.py consecutive: -) [83] +) [96] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue.py consecutive: ) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue.py consecutive: ) +Overfull \hbox (4.54054pt too wide) in paragraph at lines 73--75 +\T1/fvm/m/n/10.95 LED_ON have been ini-tial-ized, we cre-ate a main method + [] + +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue.py +consecutive: +) +Overfull \hbox (33.52487pt too wide) in paragraph at lines 84--87 +[]\T1/fvm/m/n/10.95 Python Code []4.2[] does the same thing as what Ar-duino Co +de []4.2[] + [] + + +Overfull \hbox (5.90219pt too wide) in paragraph at lines 84--87 +\T1/fvm/m/n/10.95 does. It does two more things than what Python Code []4.1[] + [] + +[97] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue-delay. py consecutive: @@ -1651,23 +2102,37 @@ 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) +) +Overfull \hbox (33.52487pt too wide) in paragraph at lines 92--96 +[]\T1/fvm/m/n/10.95 Python Code []4.3[] does the same thing as what Ar-duino Co +de []4.3[] + [] + +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue.py +[98]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue-delay. -py [85]) +py [99]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-blue-red.py -[86]) +[100]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/python/led-green-blink -.py [87])) (./user-code/led/led-julia.tex +.py [101])) (./user-code/led/led-julia.tex +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [102] (/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 +) (/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: ) +Overfull \hbox (21.7341pt too wide) in paragraph at lines 31--35 +[]\T1/fvm/m/n/10.95 Julia Code []4.2[] does the same thing as what Ar-duino Cod +e []4.2[] + [] + +[103] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/julia/led-blue-delay.j l consecutive: @@ -1675,13 +2140,19 @@ 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) +) +Overfull \hbox (21.7341pt too wide) in paragraph at lines 40--45 +[]\T1/fvm/m/n/10.95 Julia Code []4.3[] does the same thing as what Ar-duino Cod +e []4.3[] + [] + +(/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]) +l [104]) (/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] +jl)) (./user-code/led/led-OM.tex [105] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue. mo consecutive: @@ -1693,7 +2164,7 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue. mo consecutive: -) [91] +) [106] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue. mo consecutive: @@ -1701,60 +2172,70 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue- delay.mo consecutive: -) +) [107] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue- delay.mo consecutive: ) +Overfull \hbox (2.36667pt too wide) in paragraph at lines 77--83 +\T1/fvm/m/n/10.95 ments us-ing Open-Mod-el-ica are avail-able in-side OpenModel +ica- + [] + + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue. -mo [92]) +mo [108]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue- -delay.mo [93]) +delay.mo [109]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-blue- -red.mo [94]) +red.mo [110]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/led/OpenModelica/led-green --blink.mo)) (./user-code/push/push-base.tex [95] [96 +-blink.mo [111])) (./user-code/push/push-base.tex [112] +Chapter 5. +[113 ] -Chapter 5. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/pushbutton-co -nn.png, id=3368, 415.5525pt x 438.63875pt> +nn.png, id=3570, 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 n-conn.png> 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. +(pdftex.def) Requested size: 130.0851pt x 137.30852pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/switch.png, i -d=3369, 453.695pt x 239.294pt> +d=3571, 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 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. -[97] -Underfull \vbox (badness 3098) has occurred while \output is active [] +(pdftex.def) Requested size: 289.07999pt x 152.47214pt. + +Underfull \vbox (badness 10000) has occurred while \output is active [] - [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>] + [114 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/pushbut +ton-conn.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures +/switch.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/switch-led-da -rk-color-wires.jpg, id=3383, 477.785pt x 278.641pt> +rk-color-wires.jpg, id=3580, 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 d-dark-color-wires.jpg> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pu sh/figures/switch-led-dark-color-wires.jpg used on input line 106. -(pdftex.def) Requested size: 397.48499pt x 231.80768pt. +(pdftex.def) Requested size: 289.07999pt x 168.58894pt. -Underfull \vbox (badness 1975) has occurred while \output is active [] +Overfull \hbox (93.88005pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 5.2. Connecting a pushbutton with Arduino Uno using a breadb +oard \T1/fvm/m/n/10.95 115 + [] - [99 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/switch-l -ed-dark-color-wires.jpg>] +[115] [116 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/sw +itch-led-dark-color-wires.jpg>] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/arduino/push-button-s tatus/push-button-status.ino consecutive: @@ -1763,79 +2244,96 @@ consecutive: tatus/push-button-status.ino consecutive: ) +Overfull \hbox (3.8057pt too wide) in paragraph at lines 143--148 +\T1/fvm/m/n/10.95 We re-peat this read and print pro-cess 50 times by putting + [] + + +Overfull \hbox (7.91985pt too wide) in paragraph at lines 149--155 +\T1/fvm/m/n/10.95 The code for this ex-per-i-ment is given in Ar-duino Code []5 +.2[]. + [] + + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/arduino/led-push-butt on/led-push-button.ino consecutive: -[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 -[]\T1/fvm/m/n/10.95 Turning the LED on or off de-pend-ing on the push-but-ton. -Avail- +) +Overfull \hbox (39.25587pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 5.3. Reading the pushbutton status from the Arduino IDE \T1/ +fvm/m/n/10.95 117 [] - +[117] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/arduino/push-button-s +tatus/push-button-status.ino) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/arduino/led-push-butt -on/led-push-button.ino [101])) (./user-code/push/push-scilab.tex +on/led-push-button.ino [118])) (./user-code/push/push-scilab.tex (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/push-button-st atus.sce consecutive: -) +) [119] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/push-button-st atus.sce consecutive: ) </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/sci-ard-meter -.png, id=3445, 428.60126pt x 442.65375pt> +.png, id=3667, 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 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. - [102] +(pdftex.def) Requested size: 130.0851pt x 134.35063pt. + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/led-push-butto n.sce consecutive: -) +[120 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/sci-ard- +meter.png>]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/push-button-st -atus.sce [103 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures -/sci-ard-meter.png>]) +atus.sce) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/scilab/led-push-butto -n.sce) +n.sce [121]) </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/push-button-s -tatus.PNG, id=3490, 264.99pt x 268.00125pt> +tatus.PNG, id=3707, 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 on-status.PNG> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pu sh/figures/push-button-status.PNG used on input line 95. -(pdftex.def) Requested size: 178.86702pt x 180.9012pt. +(pdftex.def) Requested size: 130.0851pt x 131.56302pt. -Overfull \hbox (6.968pt too wide) in paragraph at lines 113--123 +Overfull \hbox (115.373pt too wide) in paragraph at lines 113--123 [][] [] -[104] +[122] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/led-push-butt -on.PNG, id=3519, 298.86656pt x 264.99pt> +on.PNG, id=3724, 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- button.PNG> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pu sh/figures/led-push-button.PNG used on input line 138. -(pdftex.def) Requested size: 178.86702pt x 158.59492pt. +(pdftex.def) Requested size: 130.0851pt x 115.33846pt. -Overfull \hbox (4.77844pt too wide) in paragraph at lines 155--166 +Overfull \hbox (113.18344pt too wide) in paragraph at lines 155--166 [][] [] -[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>] +[123 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/figures/push-but +ton-status.PNG>] [124 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push +/figures/led-push-button.PNG>]) (./user-code/push/push-python.tex +Overfull \hbox (25.87888pt too wide) in paragraph at lines 13--19 +\T1/fvm/m/n/10.95 tus. The code for this ex-per-i-ment is given in Python Code +[]5.1[]. + [] + + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/push-button-st atus.py consecutive: @@ -1843,22 +2341,15 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/push-button-st atus.py consecutive: -) +[125]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/led-push-butto n.py consecutive: -[107]) +) [126] (/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[][][] -. - [] - - +atus.py) [127] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/python/led-push-butto -n.py) [109]) (./user-code/push/push-julia.tex +n.py [128])) (./user-code/push/push-julia.tex (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/push-button-sta tus.jl consecutive: @@ -1866,15 +2357,21 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/push-button-sta tus.jl consecutive: -) +) [129] (/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) +tus.jl [130]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/julia/led-push-button -.jl)) (./user-code/push/push-OM.tex [111] +.jl)) (./user-code/push/push-OM.tex +Overfull \hbox (27.63113pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 5.8. Reading the pushbutton status from OpenModelica \T1/fvm +/m/n/10.95 131 + [] + +[131] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/OpenModelica/push-but ton-status.mo consecutive: @@ -1882,80 +2379,111 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/OpenModelica/push-but ton-status.mo consecutive: -) +) [132] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/OpenModelica/led-push -button.mo consecutive: -[112]) +) +Overfull \hbox (2.36667pt too wide) in paragraph at lines 54--59 +\T1/fvm/m/n/10.95 ments us-ing Open-Mod-el-ica are avail-able in-side OpenModel +ica- + [] + + +Overfull \hbox (78.54819pt too wide) in paragraph at lines 62--66 +\T1/fvm/m/n/10.95 duino -> Se-ri-al-Com-mu-ni-ca-tion -> Ex-am-ples -> push -> +push_button_status. + [] + + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/OpenModelica/push-but -ton-status.mo [113]) +ton-status.mo +Overfull \hbox (27.63113pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 5.8. Reading the pushbutton status from OpenModelica \T1/fvm +/m/n/10.95 133 + [] + +[133]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/push/OpenModelica/led-push --button.mo [114])) (./user-code/ldr/ldr-base.tex [115] [116 +-button.mo [134])) (./user-code/ldr/ldr-base.tex +Overfull \hbox (27.63113pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 5.8. Reading the pushbutton status from OpenModelica \T1/fvm +/m/n/10.95 135 + [] + +[135] [136 ] Chapter 6. -</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr.jpg, id=38 -44, 106.89937pt x 94.85437pt> +[137] +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr.jpg, id=40 +62, 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> 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. +(pdftex.def) Requested size: 130.0851pt x 115.43556pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr_sym.png, i -d=3845, 1009.52156pt x 741.52031pt> +d=4063, 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 g> 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. +(pdftex.def) Requested size: 130.0851pt x 95.5411pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-conn.png, -id=3846, 415.5525pt x 450.68375pt> +id=4064, 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 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. -[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- - [] - - -Underfull \vbox (badness 3333) has occurred while \output is active [] - - [118 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr.jpg> +(pdftex.def) Requested size: 130.0851pt x 141.07901pt. + [138 </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 -60, 455.301pt x 208.78pt> + +Overfull \hbox (9.95044pt too wide) in paragraph at lines 87--87 +[]\T1/cmr/bx/n/14.4 Connecting an LDR with Ar-duino Uno + [] + +</home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/LDR.png, id=40 +71, 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. - [119 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/LDR.png> -] +(pdftex.def) Requested size: 289.07999pt x 132.56107pt. + +Overfull \hbox (65.00092pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 6.2. Connecting an LDR with Arduino Uno using a breadboard \ +T1/fvm/m/n/10.95 139 + [] + +[139] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/LDR-led-dark-c -olor-wires.jpg, id=3873, 477.785pt x 269.005pt> +olor-wires.jpg, id=4084, 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 rk-color-wires.jpg> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ld r/figures/LDR-led-dark-color-wires.jpg used on input line 125. -(pdftex.def) Requested size: 397.48499pt x 223.79128pt. +(pdftex.def) Requested size: 289.07999pt x 162.75877pt. +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [140 </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- +color-wires.jpg>] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/arduino/ldr-read/ldr-r ead.ino consecutive: -) [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: @@ -1963,90 +2491,108 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/arduino/ldr-read/ldr-r ead.ino consecutive: -) +) [141] +Overfull \hbox (3.22331pt too wide) in paragraph at lines 198--201 +[]\T1/fvm/m/n/10.95 Read and dis-play the LDR val-ues. Avail- + [] + + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/arduino/ldr-read/ldr-r -ead.ino [121]) +ead.ino [142]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/arduino/ldr-led/ldr-le -d.ino)) (./user-code/ldr/ldr-scilab.tex [122] +d.ino)) (./user-code/ldr/ldr-scilab.tex [143] (/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: -) [123] +) [144] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/scilab/ldr-read.sce) +[145] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/scilab/ldr-led.sce) -[124] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-read-xcos. -PNG, id=3995, 257.46187pt x 304.13625pt> +PNG, id=4196, 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 cos.PNG> 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. +(pdftex.def) Requested size: 130.0851pt x 153.6688pt. + +[146] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-read-plot. -PNG, id=3998, 1284.8pt x 571.13374pt> +PNG, id=4219, 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 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. - [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>] +(pdftex.def) Requested size: 260.17021pt x 115.65395pt. + +Overfull \hbox (108.34319pt too wide) in paragraph at lines 155--169 + [][] + [] + +[147 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-read- +xcos.PNG> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr- +read-plot.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-led-2.png, - id=4009, 764.8575pt x 743.77875pt> + id=4231, 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. png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ld r/figures/ldr-led-2.png used on input line 194. -(pdftex.def) Requested size: 258.36281pt x 251.2358pt. +(pdftex.def) Requested size: 187.90022pt x 182.72107pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-led-read-p -lot.PNG, id=4014, 1284.8pt x 571.13374pt> +lot.PNG, id=4236, 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 ad-plot.PNG> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ld r/figures/ldr-led-read-plot.PNG used on input line 215. -(pdftex.def) Requested size: 357.73405pt x 159.01874pt. +(pdftex.def) Requested size: 260.17021pt x 115.65395pt. -Overfull \hbox (4.77844pt too wide) in paragraph at lines 224--244 +Overfull \hbox (113.18344pt too wide) in paragraph at lines 224--244 [][] [] ) (./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 [] +Underfull \vbox (badness 3838) has occurred while \output is active [] + + [148] +[149 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-led-2 +.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/figures/ldr-led- +read-plot.png>] +Overfull \hbox (3.83743pt too wide) in paragraph at lines 12--18 +\T1/fvm/m/n/10.95 The code for this ex-per-i-ment is given in Python Code []6.1 +[]. + [] - [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 +) [150] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/python/ldr-read.py consecutive: -[128]) +) [151] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/python/ldr-read.py -[129]) +[152]) (/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]) +[153])) (./user-code/ldr/ldr-julia.tex (/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]) +consecutive: +) [154] [155] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/julia/ldr-read.jl) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/julia/ldr-led.jl)) -(./user-code/ldr/ldr-OM.tex [133] +(./user-code/ldr/ldr-OM.tex +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [156] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr-read. mo consecutive: @@ -2054,51 +2600,72 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr-read. mo consecutive: -) +) [157] +Overfull \hbox (2.36667pt too wide) in paragraph at lines 42--45 +\T1/fvm/m/n/10.95 ments us-ing Open-Mod-el-ica are avail-able in-side OpenModel +ica- + [] + + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr-read. -mo [134]) +mo [158]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/ldr/OpenModelica/ldr-led.m -o [135])) (./user-code/pot/pot-base.tex [136] +o [159])) (./user-code/pot/pot-base.tex [160] Chapter 7. +[161 + +] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/potmeter.png, -id=4293, 1576.38937pt x 1305.37688pt> +id=4529, 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 ng> 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. +(pdftex.def) Requested size: 130.0851pt x 107.71881pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/schematic.png, - id=4294, 415.5525pt x 417.56pt> + id=4530, 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. 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. -[137 +(pdftex.def) Requested size: 130.0851pt x 130.71017pt. + +Underfull \hbox (badness 4505) in paragraph at lines 68--68 +\T1/fvm/m/n/9 for the po-ten-tiome-ter on the + [] -] [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>] +[162 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/potmeter. +png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/schematic +.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/POT-led-bb-dar -k-color-wires.jpg, id=4311, 477.785pt x 277.838pt> +k-color-wires.jpg, id=4542, 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 -dark-color-wires.jpg> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/po t/figures/POT-led-bb-dark-color-wires.jpg used on input line 113. -(pdftex.def) Requested size: 397.48499pt x 231.13965pt. +(pdftex.def) Requested size: 289.07999pt x 168.1031pt. Overfull \hbox (9.68646pt too wide) in paragraph at lines 112--114 [] [] [] -[139 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/POT-led-b -b-dark-color-wires.jpg>] + +Underfull \vbox (badness 10000) has occurred while \output is active [] + + +Overfull \hbox (108.7932pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 7.2. Connecting a potentiometer with Arduino Uno using a bre +adboard \T1/fvm/m/n/10.95 163 + [] + +[163] [164 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/POT +-led-bb-dark-color-wires.jpg>] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/arduino/pot-threshold/ pot-threshold.ino consecutive: @@ -2108,42 +2675,62 @@ pot-threshold.ino consecutive: ) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/arduino/pot-threshold/ -pot-threshold.ino [140])) (./user-code/pot/pot-scilab.tex +pot-threshold.ino +Overfull \hbox (18.75746pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 7.3. Reading the potentiometer from the Arduino IDE \T1/fvm/ +m/n/10.95 165 + [] + +[165])) (./user-code/pot/pot-scilab.tex +Overfull \hbox (11.28899pt too wide) in paragraph at lines 1--1 +[]\T1/cmr/bx/n/14.4 Reading the po-ten-tiome-ter from Scilab + [] + +[166] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/scilab/pot-threshold.s ce consecutive: -[141]) +) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/scilab/pot-threshold.s ce consecutive: ) -Overfull \hbox (6.93184pt too wide) in paragraph at lines 39--43 -[]\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/scilab/pot-threshold.s +ce [167]) +Overfull \hbox (3.09676pt too wide) in paragraph at lines 46--46 +[]\T1/cmr/bx/n/14.4 Reading the po-ten-tiome-ter from Xcos [] - -(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/scilab/pot-threshold.s -ce) [142] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/pot-threshold- -1.PNG, id=4413, 1008.76875pt x 719.68875pt> +1.PNG, id=4630, 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 old-1.PNG> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/po t/figures/pot-threshold-1.PNG used on input line 60. -(pdftex.def) Requested size: 357.73405pt x 255.22224pt. +(pdftex.def) Requested size: 260.17021pt x 185.61018pt. -Overfull \hbox (4.77844pt too wide) in paragraph at lines 78--107 +Overfull \hbox (113.18344pt too wide) in paragraph at lines 78--107 [][] [] -) (./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 [] +[168]) (./user-code/pot/pot-python.tex +Overfull \hbox (20.78561pt too wide) in paragraph at lines 1--1 +[]\T1/cmr/bx/n/14.4 Reading the po-ten-tiome-ter from Python + [] + +[169 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/figures/pot-thres +hold-1.png>] +Overfull \hbox (2.7749pt too wide) in paragraph at lines 10--20 +[]\T1/fvm/m/n/10.95 Based on the ac-quired po-ten-tiome-ter val-ues, we will ch +ange + [] - [144] + +Underfull \vbox (badness 5908) has occurred while \output is active [] + + [170] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/python/pot-threshold.p y consecutive: @@ -2153,24 +2740,39 @@ y consecutive: ) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/python/pot-threshold.p -y [145])) (./user-code/pot/pot-julia.tex +y [171] Underfull \vbox (badness 10000) has occurred while \output is active [] - [146] + [172])) +(./user-code/pot/pot-julia.tex +Overfull \hbox (2.7749pt too wide) in paragraph at lines 11--18 +[]\T1/fvm/m/n/10.95 Based on the ac-quired po-ten-tiome-ter val-ues, we will ch +ange + [] + + (/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- +) [173] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/julia/pot-threshold.jl +)) (./user-code/pot/pot-OM.tex +Overfull \hbox (12.34541pt too wide) in paragraph at lines 1--1 +[]\T1/cmr/bx/n/14.4 Reading the po-ten-tiome-ter from Open- + [] + + +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [174] +Overfull \hbox (2.7749pt too wide) in paragraph at lines 10--16 +[]\T1/fvm/m/n/10.95 Based on the ac-quired po-ten-tiome-ter val-ues, we will ch +ange [] -(/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: @@ -2178,79 +2780,97 @@ 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 (2.36667pt too wide) in paragraph at lines 28--31 +\T1/fvm/m/n/10.95 ments us-ing Open-Mod-el-ica are avail-able in-side OpenModel +ica- [] -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. +Overfull \hbox (7.13272pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 7.8. Reading the potentiometer from OpenModelica \T1/fvm/m/n +/10.95 175 [] - +[175] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/pot/OpenModelica/pot-thres -hold.mo [149])) (./user-code/thermistor/thermistor-base.tex [150] +hold.mo [176])) (./user-code/thermistor/thermistor-base.tex +Overfull \hbox (7.13272pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 7.8. Reading the potentiometer from OpenModelica \T1/fvm/m/n +/10.95 177 + [] + +[177] [178 + +] Chapter 8. + +Overfull \hbox (2.1984pt too wide) in paragraph at lines 50--64 +\T1/fvm/m/n/10.95 A typ-i-cal ther-mis-tor and its sym-bolic rep-re-sen-ta-tion + are shown + [] + +[179] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/NTC-bea -d.jpg, id=4617, 139.9629pt x 126.2316pt> +d.jpg, id=4873, 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 -bead.jpg> 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. +(pdftex.def) Requested size: 130.0851pt x 117.3306pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/therm-s -ym.png, id=4620, 1284.8pt x 913.4125pt> +ym.png, id=4876, 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 rm-sym.png> 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. +(pdftex.def) Requested size: 86.72487pt x 61.6457pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/THERMIS -TOR-Diagram-crop.pdf, id=4621, 329.23pt x 422.57875pt> +TOR-Diagram-crop.pdf, id=4877, 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 RMISTOR-Diagram-crop.pdf> 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. +(pdftex.def) Requested size: 130.0851pt x 166.97157pt. + +Underfull \hbox (badness 1924) in paragraph at lines 83--83 +[]\T1/fvm/m/n/9 (a) |Ther-mis-tor con-nec-tion di-a- + [] + </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/BUZZER- -Diagram-crop.pdf, id=4622, 307.1475pt x 366.36874pt> +Diagram-crop.pdf, id=4878, 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 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. -[151 +(pdftex.def) Requested size: 130.0851pt x 155.16518pt. -] -Underfull \vbox (badness 10000) has occurred while \output is active [] +Overfull \hbox (8.26604pt too wide) in paragraph at lines 91--91 +[]\T1/cmr/bx/n/14.4 Connecting a ther-mis-tor with Ar-duino + [] - [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>] +[180 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/NT +C-bead.jpg> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/fig +ures/therm-sym.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/thermis -tor.png, id=4652, 453.695pt x 236.885pt> +tor.png, id=4888, 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 rmistor.png> 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. +(pdftex.def) Requested size: 289.07999pt x 150.93718pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/thermis -tor-buzzer-dark-color-wires.jpg, id=4656, 477.785pt x 233.673pt> +tor-buzzer-dark-color-wires.jpg, id=4892, 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 @@ -2258,9 +2878,24 @@ rmistor-buzzer-dark-color-wires.jpg> 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. - [153 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/t -hermistor.png>] +(pdftex.def) Requested size: 289.07999pt x 141.3815pt. + +Underfull \vbox (badness 10000) has occurred while \output is active [] + + +Overfull \hbox (89.34428pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 8.2. Connecting a thermistor with Arduino Uno using a breadb +oard \T1/fvm/m/n/10.95 181 + [] + +[181 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/TH +ERMISTOR-Diagram-crop.pdf> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code +/thermistor/figures/BUZZER-Diagram-crop.pdf>] +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [182 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/t +hermistor.png> </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: @@ -2268,23 +2903,48 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm-r ead/therm-read.ino consecutive: -) [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: ) +Overfull \hbox (13.66321pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 8.3. Interfacing the thermistor from the Arduino IDE \T1/fvm +/m/n/10.95 183 + [] + +[183] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm-b uzzer/therm-buzzer.ino consecutive: -[155]) +[184]) +Overfull \hbox (12.96667pt too wide) in paragraph at lines 200--204 + []\T1/cmr/bx/n/10.95 Note:[] \T1/fvm/m/n/10.95 Once the ther-mis-tor value rea +ches 550 (the thresh- + [] + + +Overfull \hbox (10.58241pt too wide) in paragraph at lines 200--204 +\T1/fvm/m/n/10.95 There-fore, the buzzer will con-tin-u-ously pro-duce the soun +d, + [] + + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/arduino/therm-r -ead/therm-read.ino [156]) +ead/therm-read.ino +Overfull \hbox (13.66321pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 8.3. Interfacing the thermistor from the Arduino IDE \T1/fvm +/m/n/10.95 185 + [] + +[185]) (/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 [] +uzzer/therm-buzzer.ino [186])) (./user-code/thermistor/thermistor-scilab.tex +Overfull \hbox (4.77242pt too wide) in paragraph at lines 1--1 +[]\T1/cmr/bx/n/14.4 Interfacing the ther-mis-tor from Scilab + [] + - [157] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm-re ad.sce consecutive: @@ -2292,64 +2952,104 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm-re ad.sce consecutive: -) [158] +) [187] [188] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm-bu zzer.sce consecutive: -) [159] +) +Overfull \hbox (12.96667pt too wide) in paragraph at lines 88--92 + []\T1/cmr/bx/n/10.95 Note:[] \T1/fvm/m/n/10.95 Once the ther-mis-tor value rea +ches 550 (the thresh- + [] + + +Overfull \hbox (10.58241pt too wide) in paragraph at lines 88--92 +\T1/fvm/m/n/10.95 There-fore, the buzzer will con-tin-u-ously pro-duce the soun +d, + [] + +[189] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm-re -ad.sce) +ad.sce [190]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/scilab/therm-bu -zzer.sce [160]) +zzer.sce) [191] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/therm-r -ead-xcos.png, id=4823, 617.30624pt x 548.0475pt> +ead-xcos.png, id=5095, 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 rm-read-xcos.png> 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. +(pdftex.def) Requested size: 141.65077pt x 125.75558pt. + +Overfull \hbox (108.34319pt too wide) in paragraph at lines 190--204 + [][] + [] + </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/therm-r -ead.png, id=4828, 632.3625pt x 529.98pt> +ead.png, id=5100, 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 rm-read.png> 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. +(pdftex.def) Requested size: 141.65077pt x 118.7147pt. +[192 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/th +erm-read-xcos.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/therm-b -uzzer-xcos.png, id=4831, 627.34375pt x 530.98375pt> +uzzer-xcos.png, id=5109, 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 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. - [161] -Overfull \hbox (4.77844pt too wide) in paragraph at lines 248--268 +(pdftex.def) Requested size: 187.90022pt x 159.03708pt. + [193 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/t +herm-read.png>] +Overfull \hbox (113.18344pt too wide) in paragraph at lines 248--268 [][] [] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/therm-b -uzzer.png, id=4854, 612.2875pt x 589.20125pt> +uzzer.png, id=5121, 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 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. -[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 [] +(pdftex.def) Requested size: 187.90022pt x 180.81644pt. + +Overfull \hbox (12.96667pt too wide) in paragraph at lines 284--289 + []\T1/cmr/bx/n/10.95 Note:[] \T1/fvm/m/n/10.95 Once the ther-mis-tor value rea +ches 550 (the thresh- + [] + + +Overfull \hbox (10.58241pt too wide) in paragraph at lines 284--289 +\T1/fvm/m/n/10.95 There-fore, the buzzer will con-tin-u-ously pro-duce the soun +d, + [] - [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/thermistor/thermistor-python.tex -[164] +) (./user-code/thermistor/thermistor-python.tex +Overfull \hbox (14.26904pt too wide) in paragraph at lines 1--1 +[]\T1/cmr/bx/n/14.4 Interfacing the ther-mis-tor from Python + [] + + +Underfull \vbox (badness 1005) has occurred while \output is active [] + + [194 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/figures/t +herm-buzzer-xcos.png>] +Overfull \hbox (26.48335pt too wide) in paragraph at lines 12--19 +\T1/fvm/m/n/10.95 ues. The code for this ex-per-i-ment is given in Python Code +[]8.1[]. + [] + +[195] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm-re ad.py consecutive: @@ -2357,16 +3057,28 @@ 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/ +) [196 </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] +) [197] +Overfull \hbox (12.96667pt too wide) in paragraph at lines 79--83 + []\T1/cmr/bx/n/10.95 Note:[] \T1/fvm/m/n/10.95 Once the ther-mis-tor value rea +ches 550 (the thresh- + [] + + +Overfull \hbox (10.58241pt too wide) in paragraph at lines 79--83 +\T1/fvm/m/n/10.95 There-fore, the buzzer will con-tin-u-ously pro-duce the soun +d, + [] + + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm-re -ad.py) +ad.py [198]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/python/therm-bu -zzer.py [167])) (./user-code/thermistor/thermistor-julia.tex [168] +zzer.py [199])) (./user-code/thermistor/thermistor-julia.tex [200] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm-rea d.jl consecutive: @@ -2374,15 +3086,40 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm-rea d.jl consecutive: -) [169] +) [201] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm-buz zer.jl consecutive: ) +Overfull \hbox (12.96667pt too wide) in paragraph at lines 68--72 + []\T1/cmr/bx/n/10.95 Note:[] \T1/fvm/m/n/10.95 Once the ther-mis-tor value rea +ches 550 (the thresh- + [] + + +Overfull \hbox (10.58241pt too wide) in paragraph at lines 68--72 +\T1/fvm/m/n/10.95 There-fore, the buzzer will con-tin-u-ously pro-duce the soun +d, + [] + + +Overfull \hbox (11.05663pt too wide) in paragraph at lines 80--84 +[]\T1/fvm/m/n/10.95 Read and dis-play the ther-mis-tor val-ues. Avail- + [] + +[202] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm-rea d.jl) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/julia/therm-buz -zer.jl [170])) (./user-code/thermistor/thermistor-OM.tex +zer.jl)) (./user-code/thermistor/thermistor-OM.tex +Overfull \hbox (5.82884pt too wide) in paragraph at lines 1--1 +[]\T1/cmr/bx/n/14.4 Interfacing the ther-mis-tor from Open- + [] + + +Underfull \vbox (badness 6741) has occurred while \output is active [] + + [203] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/th erm-read.mo consecutive: @@ -2390,50 +3127,110 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/th erm-read.mo consecutive: -) [171] +) [204] +Overfull \hbox (17.59506pt too wide) in paragraph at lines 38--49 +[]\T1/fvm/m/n/10.95 The pro-gram for this is avail-able at Open-Mod-el-ica Code + []8.2[]. + [] + + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/th erm-buzzer.mo consecutive: -) [172] +) +Overfull \hbox (2.03847pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 8.8. Interfacing the thermistor from OpenModelica \T1/fvm/m/ +n/10.95 205 + [] + +[205] +Overfull \hbox (12.96667pt too wide) in paragraph at lines 62--66 + []\T1/cmr/bx/n/10.95 Note:[] \T1/fvm/m/n/10.95 Once the ther-mis-tor value rea +ches 550 (the thresh- + [] + + +Overfull \hbox (10.58241pt too wide) in paragraph at lines 62--66 +\T1/fvm/m/n/10.95 There-fore, the buzzer will con-tin-u-ously pro-duce the soun +d, + [] + + +Overfull \hbox (2.36667pt too wide) in paragraph at lines 70--73 +\T1/fvm/m/n/10.95 ments us-ing Open-Mod-el-ica are avail-able in-side OpenModel +ica- + [] + + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/th -erm-read.mo) +erm-read.mo [206]) +Overfull \hbox (11.82712pt too wide) in paragraph at lines 88--93 +\T1/fvm/m/n/10.95 al-Com-mu-ni-ca-tion -> Ex-am-ples -> ther-mis-tor -> therm_b +uzzer. + [] + + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/thermistor/OpenModelica/th -erm-buzzer.mo [173])) (./user-code/servo/servo-base.tex [174] +erm-buzzer.mo +Overfull \hbox (2.03847pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 8.8. Interfacing the thermistor from OpenModelica \T1/fvm/m/ +n/10.95 207 + [] + +[207])) (./user-code/servo/servo-base.tex [208] Chapter 9. -[175 +[209 ] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-uno-sh -ield.jpg, id=5185, 1110.0672pt x 508.7808pt> +ield.jpg, id=5454, 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 o-shield.jpg> 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. +(pdftex.def) Requested size: 187.90022pt x 86.11894pt. + +Overfull \hbox (12.66498pt too wide) in paragraph at lines 102--102 +[]\T1/cmr/bx/n/14.4 Connecting a ser-vo-mo-tor with Ar-duino + [] + + +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [210 </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-bb-dar -k-color-wires.jpg, id=5187, 477.785pt x 284.262pt> +k-color-wires.jpg, id=5461, 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 -dark-color-wires.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. - [176 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo- -uno-shield.jpg>] +(pdftex.def) Requested size: 260.17021pt x 154.78741pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-pot-bb --dark-color-wires.jpg, id=5197, 477.785pt x 278.641pt> +-dark-color-wires.jpg, id=5467, 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 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. - [177 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo- -bb-dark-color-wires.jpg>] +(pdftex.def) Requested size: 260.17021pt x 151.72664pt. + +Underfull \vbox (badness 10000) has occurred while \output is active [] + + +Overfull \hbox (92.81834pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 9.2. Connecting a servomotor with Arduino Uno using a breadb +oard \T1/fvm/m/n/10.95 211 + [] + +[211] [212 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/s +ervo-bb-dark-color-wires.jpg> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-c +ode/servo/figures/servo-pot-bb-dark-color-wires.jpg>] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo-init/s ervo-init.ino) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo-init/s @@ -2447,8 +3244,13 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo-init/s ervo-init.ino consecutive: -) [178 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo --pot-bb-dark-color-wires.jpg>] +) +Overfull \hbox (37.4988pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 9.3. Controlling the servomotor through the Arduino IDE \T1/ +fvm/m/n/10.95 213 + [] + +[213] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo-revers e/servo-reverse.ino consecutive: @@ -2456,15 +3258,27 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo-pot/se rvo-pot.ino consecutive: -) [179] +) [214] +Overfull \hbox (37.4988pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 9.3. Controlling the servomotor through the Arduino IDE \T1/ +fvm/m/n/10.95 215 + [] + +[215] (/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 [180]) +e/servo-reverse.ino) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo-loop/s -ervo-loop.ino) +ervo-loop.ino [216]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/arduino/servo-pot/se -rvo-pot.ino) [181]) (./user-code/servo/servo-scilab.tex +rvo-pot.ino +Overfull \hbox (37.4988pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 9.3. Controlling the servomotor through the Arduino IDE \T1/ +fvm/m/n/10.95 217 + [] + +[217])) (./user-code/servo/servo-scilab.tex (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo-init.sc e consecutive: @@ -2472,100 +3286,115 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo-init.sc e consecutive: -) +) [218] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo-reverse .sce consecutive: -[182]) +) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo-pot.sce consecutive: -) +[219]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo-init.sc -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- - [] - - +e) [220] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/scilab/servo-reverse .sce) (/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 -) [184] +[221]) </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-init.p -ng, id=5409, 265.74281pt x 309.40594pt> +ng, id=5682, 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 it.png> 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. +(pdftex.def) Requested size: 130.0851pt x 151.45915pt. + +Overfull \hbox (103.13338pt too wide) in paragraph at lines 186--196 + [][] + [] + </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-revers -e.png, id=5415, 244.66406pt x 281.55188pt> +e.png, id=5688, 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 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. - [185 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo- -init.png>] +(pdftex.def) Requested size: 130.0851pt x 149.69864pt. +[222] +Overfull \hbox (103.13338pt too wide) in paragraph at lines 222--234 + [][] + [] + </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-loop.p -ng, id=5430, 281.55188pt x 347.04657pt> +ng, id=5712, 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 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. - [186 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo- -reverse.png>] +(pdftex.def) Requested size: 130.0851pt x 160.34766pt. +[223 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-i +nit.png>] +Overfull \hbox (103.13338pt too wide) in paragraph at lines 261--276 + [][] + [] + +[224 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-r +everse.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-pot.pn -g, id=5441, 286.06876pt x 292.09125pt> +g, id=5727, 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 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. - [187 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo- +(pdftex.def) Requested size: 130.0851pt x 132.82594pt. + [225 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo- loop.png>] -Overfull \hbox (17.60953pt too wide) in paragraph at lines 306--317 +Overfull \hbox (126.01453pt too wide) in paragraph at lines 306--317 [][] [] -[188 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/figures/servo-p -ot.png>]) (./user-code/servo/servo-python.tex +) (./user-code/servo/servo-python.tex [226 </home/sudhakak/Desktop/FLOSS-Arduin +o-Book/user-code/servo/figures/servo-pot.png>] +Overfull \hbox (3.83743pt too wide) in paragraph at lines 20--24 +\T1/fvm/m/n/10.95 The code for this ex-per-i-ment is given in Python Code []9.1 +[]. + [] + + (/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: -) +) [227] (/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] +[228]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo-init.py -[191]) +[229]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo-reverse -.py [192]) +.py [230]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo-loop.py -) [193] -(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo-pot.py) -) (./user-code/servo/servo-julia.tex -Underfull \vbox (badness 10000) has occurred while \output is active [] +[231]) +Overfull \hbox (2.74231pt too wide) in paragraph at lines 164--167 +[]\T1/fvm/m/n/10.95 Rotating the ser-vo-mo-tor to a de-gree spec- + [] - [194] +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/python/servo-pot.py +[232])) (./user-code/servo/servo-julia.tex [233] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-init.jl consecutive: ) @@ -2575,17 +3404,24 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-reverse. jl consecutive: -) [195] +[234]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-pot.jl consecutive: -) +) [235] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-init.jl) -[196] + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-reverse. jl) -(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-loop.jl) -(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-pot.jl) -[197]) (./user-code/servo/servo-OM.tex +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-loop.jl +[236]) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/julia/servo-pot.jl)) +(./user-code/servo/servo-OM.tex +Overfull \hbox (25.87405pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 9.8. Controlling the servomotor through OpenModelica \T1/fvm +/m/n/10.95 237 + [] + +[237] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-i nit.mo consecutive: @@ -2593,72 +3429,118 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-i nit.mo consecutive: -) [198] +) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-r everse.mo consecutive: -) +[238]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-p ot.mo consecutive: -) [199] +) +Overfull \hbox (25.87405pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 9.8. Controlling the servomotor through OpenModelica \T1/fvm +/m/n/10.95 239 + [] + +[239] +Overfull \hbox (2.36667pt too wide) in paragraph at lines 85--88 +\T1/fvm/m/n/10.95 ments us-ing Open-Mod-el-ica are avail-able in-side OpenModel +ica- + [] + + +Overfull \hbox (8.99416pt too wide) in paragraph at lines 92--96 +[]\T1/fvm/m/n/10.95 Rotating the ser-vo-mo-tor to a spec- + [] + + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-i -nit.mo) +nit.mo [240]) +Overfull \hbox (8.99416pt too wide) in paragraph at lines 101--105 +[]\T1/fvm/m/n/10.95 Rotating the ser-vo-mo-tor to a spec- + [] + + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-r -everse.mo [200]) +everse.mo) +Overfull \hbox (25.87405pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 9.8. Controlling the servomotor through OpenModelica \T1/fvm +/m/n/10.95 241 + [] + +[241] +Overfull \hbox (0.28236pt too wide) in paragraph at lines 109--113 +[]\T1/fvm/m/n/10.95 Rotating the ser-vo-mo-tor in steps + [] + + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-l -oop.mo [201]) +oop.mo) [242] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/servo/OpenModelica/servo-p -ot.mo) [202]) (./user-code/dcmotor/dcmotor-base.tex [203] [204 +ot.mo +Overfull \hbox (25.87405pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 9.8. Controlling the servomotor through OpenModelica \T1/fvm +/m/n/10.95 243 + [] -] +[243])) (./user-code/dcmotor/dcmotor-base.tex [244] Chapter 10. +[245 + +] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmotor_bo -ard.png, id=5943, 247.92625pt x 232.87pt> +ard.png, id=6240, 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 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. -[205] +(pdftex.def) Requested size: 187.90022pt x 176.4891pt. + [246 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmo +tor_board.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/uno-pwm.jp -g, id=5951, 426.8748pt x 319.9152pt> +g, id=6248, 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 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. - [206 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmo -tor_board.png>] +(pdftex.def) Requested size: 187.90022pt x 140.82169pt. + [247 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/uno- +pwm.jpg>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/schematic. -png, id=5959, 415.5525pt x 467.7475pt> +png, id=6258, 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 tic.png> 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. +(pdftex.def) Requested size: 130.0851pt x 146.42053pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dc_motor_d -escription.jpg, id=5960, 2469.97781pt x 1973.12157pt> +escription.jpg, id=6259, 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 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. - [207 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/uno- -pwm.jpg>] -Underfull \vbox (badness 7540) has occurred while \output is active [] +(pdftex.def) Requested size: 187.90022pt x 150.08525pt. - [208 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/sche +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [248 </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>] +Overfull \hbox (17.35983pt too wide) in paragraph at lines 151--155 + []\T1/cmr/bx/n/10.95 Note:[] \T1/fvm/m/n/10.95 The read-ers are ad-vised to af +-fix a small (very lightweight) + [] + + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor-cl ock/dcmotor-clock.ino consecutive: @@ -2666,7 +3548,7 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor-cl ock/dcmotor-clock.ino consecutive: -) +) [249] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor-cl ock/dcmotor-clock.ino consecutive: @@ -2678,13 +3560,24 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor-bo th/dcmotor-both.ino consecutive: -) [209] +) [250] (/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 [210]) +th/dcmotor-both.ino [251]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/arduino/dcmotor-lo -op/dcmotor-loop.ino)) (./user-code/dcmotor/dcmotor-scilab.tex [211] +op/dcmotor-loop.ino [252])) (./user-code/dcmotor/dcmotor-scilab.tex +Overfull \hbox (11.71426pt too wide) in paragraph at lines 1--1 +[]\T1/cmr/bx/n/14.4 Controlling the DC mo-tor from Scilab + [] + + +Overfull \hbox (17.35983pt too wide) in paragraph at lines 11--15 + []\T1/cmr/bx/n/10.95 Note:[] \T1/fvm/m/n/10.95 The read-ers are ad-vised to af +-fix a small (very lightweight) + [] + +[253] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor-clo ck.sce consecutive: @@ -2692,66 +3585,108 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor-clo ck.sce consecutive: -) [212] +) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor-clo ck.sce consecutive: -) +) [254] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor-clo ck.sce consecutive: ) +Overfull \hbox (16.47711pt too wide) in paragraph at lines 75--85 + []\T1/cmr/bx/n/10.95 Note:[] \T1/fvm/m/n/10.95 If the sleep com-mand (at line +4 of Scilab Code []10.1[]) + [] + + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor-bot h.sce consecutive: -) +) [255] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor-bot h.sce consecutive: -) [213] +) +Overfull \hbox (15.38916pt too wide) in paragraph at lines 103--110 +\T1/fvm/m/n/10.95 di-rec-tions, in a loop. This is done through Scilab Code []1 +0.3[]. + [] + + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor-clo -ck.sce) +ck.sce [256]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor-bot -h.sce) [214] +h.sce) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/scilab/dcmotor-loo -p.sce) +p.sce [257]) +Overfull \hbox (3.52203pt too wide) in paragraph at lines 273--273 +[]\T1/cmr/bx/n/14.4 Controlling the DC mo-tor from Xcos + [] + </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmotor-cl -ock.png, id=6147, 807.015pt x 738.76pt> +ock.png, id=6463, 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 r-clock.png> 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. +(pdftex.def) Requested size: 130.0851pt x 119.08327pt. + +Overfull \hbox (96.0228pt too wide) in paragraph at lines 315--329 + [][] + [] + +[258 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmot +or-clock.png>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmotor-bo -th.png, id=6153, 784.9325pt x 716.6775pt> +th.png, id=6480, 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 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. - [215] +(pdftex.def) Requested size: 130.0851pt x 118.77159pt. + +Overfull \hbox (96.0228pt too wide) in paragraph at lines 366--382 + [][] + [] + +[259] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmotor-lo -op.png, id=6182, 775.89874pt x 756.8275pt> +op.png, id=6492, 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 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. - [216 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmo -tor-clock.png>] [217 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmot -or/figures/dcmotor-both.png>]) -(./user-code/dcmotor/dcmotor-python.tex [218 </home/sudhakak/Desktop/FLOSS-Ardu -ino-Book/user-code/dcmotor/figures/dcmotor-loop.png>] [219] +(pdftex.def) Requested size: 130.0851pt x 126.88054pt. + +Overfull \hbox (103.43948pt too wide) in paragraph at lines 408--429 + [][] + [] + +[260 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmot +or-both.png>]) (./user-code/dcmotor/dcmotor-python.tex +Overfull \hbox (21.21089pt too wide) in paragraph at lines 1--1 +[]\T1/cmr/bx/n/14.4 Controlling the DC mo-tor from Python + [] + +[261 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/figures/dcmot +or-loop.png>] +Overfull \hbox (17.35983pt too wide) in paragraph at lines 10--14 + []\T1/cmr/bx/n/10.95 Note:[] \T1/fvm/m/n/10.95 The read-ers are ad-vised to af +-fix a small (very lightweight) + [] + +[262] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor-clo ck.py consecutive: -) +) [263] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor-clo ck.py consecutive: @@ -2763,7 +3698,13 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor-clo ck.py consecutive: -) [220] +) +Overfull \hbox (28.41753pt too wide) in paragraph at lines 62--72 + []\T1/cmr/bx/n/10.95 Note:[] \T1/fvm/m/n/10.95 If the sleep com-mand (at line +29 of Python Code []10.1[]) + [] + +[264] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor-bot h.py consecutive: @@ -2772,12 +3713,33 @@ consecutive: h.py consecutive: ) +Overfull \hbox (21.88564pt too wide) in paragraph at lines 90--97 +\T1/fvm/m/n/10.95 di-rec-tions, in a loop. This is done through Python Code []1 +0.3[]. + [] + + +Overfull \hbox (0.5842pt too wide) in paragraph at lines 141--144 +\T1/fvm/m/n/10.95 r i g i n / u s e r - c o d e / d c m o t o r / p y t h o n / + d c m o t o r - c l o c k . p y, see Foot- + [] + + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor-clo -ck.py [221]) +ck.py [265]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor-bot -h.py [222]) +h.py [266]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/python/dcmotor-loo -p.py [223])) (./user-code/dcmotor/dcmotor-julia.tex [224] +p.py [267])) (./user-code/dcmotor/dcmotor-julia.tex +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [268] +Overfull \hbox (17.35983pt too wide) in paragraph at lines 9--13 + []\T1/cmr/bx/n/10.95 Note:[] \T1/fvm/m/n/10.95 The read-ers are ad-vised to af +-fix a small (very lightweight) + [] + +[269] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor-cloc k.jl consecutive: @@ -2793,7 +3755,13 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor-cloc k.jl consecutive: -) [225] +) +Overfull \hbox (11.18282pt too wide) in paragraph at lines 61--71 + []\T1/cmr/bx/n/10.95 Note:[] \T1/fvm/m/n/10.95 If the sleep com-mand (at line +7 of Ju-lia Code []10.1[]) + [] + +[270] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor-both .jl consecutive: @@ -2801,13 +3769,35 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor-both .jl consecutive: -) +) [271] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/julia/dcmotor-cloc -k.jl [226]) +k.jl) +Overfull \hbox (12.19356pt too wide) in paragraph at lines 114--117 +[]\T1/fvm/m/n/10.95 Rotating DC mo-tor in both di-rec-tions. Avail- + [] + + (/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 [227] +.jl [272])) (./user-code/dcmotor/dcmotor-OM.tex +Overfull \hbox (12.77069pt too wide) in paragraph at lines 1--1 +[]\T1/cmr/bx/n/14.4 Controlling the DC mo-tor from Open- + [] + + +Overfull \hbox (17.35983pt too wide) in paragraph at lines 12--16 + []\T1/cmr/bx/n/10.95 Note:[] \T1/fvm/m/n/10.95 The read-ers are ad-vised to af +-fix a small (very lightweight) + [] + + +Overfull \hbox (7.51912pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 10.7. Controlling the DC motor from OpenModelica \T1/fvm/m/n +/10.95 273 + [] + +[273] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot or-clock.mo consecutive: @@ -2815,7 +3805,7 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot or-clock.mo consecutive: -) [228] +) [274] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot or-clock.mo consecutive: @@ -2824,6 +3814,12 @@ consecutive: or-clock.mo consecutive: ) +Overfull \hbox (7.51912pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 10.7. Controlling the DC motor from OpenModelica \T1/fvm/m/n +/10.95 275 + [] + +[275] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot or-both.mo consecutive: @@ -2831,210 +3827,370 @@ consecutive: (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot or-both.mo consecutive: -) [229] +) +Overfull \hbox (2.36667pt too wide) in paragraph at lines 173--176 +\T1/fvm/m/n/10.95 ments us-ing Open-Mod-el-ica are avail-able in-side OpenModel +ica- + [] + + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot -or-clock.mo) [230] +or-clock.mo [276]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot -or-both.mo) +or-both.mo +Overfull \hbox (7.51912pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 10.7. Controlling the DC motor from OpenModelica \T1/fvm/m/n +/10.95 277 + [] + +[277]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/dcmotor/OpenModelica/dcmot -or-loop.mo [231])) (./user-code/modbus/modbus-base.tex [232] -Chapter 11. -[233 +or-loop.mo [278])) (./user-code/modbus/modbus-base.tex +Overfull \hbox (7.51912pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 10.7. Controlling the DC motor from OpenModelica \T1/fvm/m/n +/10.95 279 + [] + +[279] [280 ] +Chapter 11. +[281] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig1.png, i -d=6652, 672.5125pt x 224.84pt> +d=6976, 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 g> 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. +(pdftex.def) Requested size: 260.17021pt x 86.9805pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig2.png, i -d=6653, 360.34625pt x 375.4025pt> +d=6977, 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 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. - [234 </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)>] +(pdftex.def) Requested size: 130.0851pt x 135.51712pt. + [282 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig1. +png (PNG copy)>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig3.png, i -d=6661, 481.04718pt x 214.55156pt> +d=6986, 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 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. - [235 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig3. -png (PNG copy)>] [236] [237] [238] [239] +(pdftex.def) Requested size: 260.17021pt x 116.03944pt. + [283 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig2. +png (PNG copy)>] +Overfull \hbox (46.15457pt too wide) in paragraph at lines 153--165 + [][] + [] + + +Underfull \vbox (badness 1082) has occurred while \output is active [] + + [284 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/fig3. +png (PNG copy)>] [285] [286] +Overfull \hbox (11.69957pt too wide) in paragraph at lines 293--303 + [][] + [] + +[287] [288] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/block-diagr -am.PNG, id=6712, 398.23781pt x 255.95625pt> +am.PNG, id=7038, 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 iagram.PNG> 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. +(pdftex.def) Requested size: 187.90022pt x 120.76811pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/Full-Set-Up -.png, id=6713, 722.7pt x 542.025pt> +.png, id=7039, 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 t-Up.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/Full-Set-Up.png used on input line 426. -(pdftex.def) Requested size: 258.36281pt x 193.77246pt. +(pdftex.def) Requested size: 187.90022pt x 140.92317pt. + +Underfull \vbox (badness 1052) has occurred while \output is active [] + + [289] +[290 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/block- +diagram.PNG> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figure +s/Full-Set-Up.png>] +Overfull \hbox (8.93475pt too wide) in paragraph at lines 455--455 +[]\T1/cmr/bx/n/14.4 Software re-quired for this ex-per-i-ment + [] -[240 </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=6726, 645.41125pt x 1114.1625pt> +e_flowchart.png, id=7058, 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 _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. - [241 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/Full- -Set-Up.png>] -Underfull \vbox (badness 10000) has occurred while \output is active [] - - [242 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/ardui -no_code_flowchart.png (PNG copy)>] +(pdftex.def) Requested size: 187.90022pt x 324.3569pt. +[291] [292 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/ +arduino_code_flowchart.png (PNG copy)>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/flowchart.p -ng, id=6743, 786.94pt x 800.9925pt> +ng, id=7079, 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 rt.png> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/flowchart.png used on input line 491. -(pdftex.def) Requested size: 357.73405pt x 364.12216pt. +(pdftex.def) Requested size: 260.17021pt x 264.80501pt. (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/arduino/send_packet -.ino)) (./user-code/modbus/modbus-scilab.tex [243] [244 </home/sudhakak/Desktop +.ino) [293]) (./user-code/modbus/modbus-scilab.tex [294 </home/sudhakak/Desktop /FLOSS-Arduino-Book/user-code/modbus/figures/flowchart.png (PNG copy)>] +Overfull \hbox (4.28653pt too wide) in paragraph at lines 15--20 +\T1/fvm/m/n/10.95 ergy me-ter via an RS485 mod-ule which fa-cil-i-tates long-di +stance + [] + + +Overfull \hbox (19.99492pt too wide) in paragraph at lines 72--72 +[]\T1/cmr/bx/n/14.4 Reading the elec-tri-cal pa-ram-e-ters from + [] + + +Overfull \hbox (2.46637pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 11.5. Reading the electrical parameters from Scilab \T1/fvm/ +m/n/10.95 295 + [] + +[295] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read_val.sce ) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read_current -.sci [245]) -(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read_voltage .sci) +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read_voltage +.sci [296]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/scilab/read_active_ -power.sci) [246] +power.sci) +Overfull \hbox (2.46637pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 11.5. Reading the electrical parameters from Scilab \T1/fvm/ +m/n/10.95 297 + [] + +[297] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/current-out -put.png, id=6833, 490.83376pt x 170.13562pt> +put.png, id=7171, 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 -output.png> 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. +(pdftex.def) Requested size: 289.07999pt x 100.2052pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/current-out -put-setup.jpg, id=6834, 277.035pt x 248.127pt> +put-setup.jpg, id=7172, 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 -output-setup.jpg> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/current-output-setup.jpg used on input line 150. -(pdftex.def) Requested size: 258.36281pt x 231.40312pt. +(pdftex.def) Requested size: 187.90022pt x 168.2925pt. + [298 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/curre +nt-output.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figu +res/current-output-setup.jpg>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/voltage-out -put.png, id=6837, 487.8225pt x 155.07938pt> +put.png, id=7181, 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 -output.png> 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. +(pdftex.def) Requested size: 289.07999pt x 91.8983pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/voltage-out -put-setup.jpg, id=6838, 261.1356pt x 269.808pt> +put-setup.jpg, id=7182, 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 -output-setup.jpg> 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. +(pdftex.def) Requested size: 187.90022pt x 194.14633pt. </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/active-powe -r-output.png, id=6841, 492.33937pt x 185.94469pt> +r-output.png, id=7185, 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- power-output.png> 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. +(pdftex.def) Requested size: 289.07999pt x 109.1815pt. + +Overfull \hbox (12.39664pt too wide) in paragraph at lines 174--183 +[]\T1/fvm/m/n/10.95 Single phase ac-tive power out-put: Fig. []11.12[] and Fig. + []11.13[] + [] + </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/active-powe -r-output-setup.jpg, id=6842, 306.9066pt x 264.99pt> +r-output-setup.jpg, id=7186, 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- power-output-setup.jpg> Package pdftex.def Info: /home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/mo dbus/figures/active-power-output-setup.jpg used on input line 186. -(pdftex.def) Requested size: 258.36281pt x 223.0955pt. +(pdftex.def) Requested size: 187.90022pt x 162.24208pt. + +Overfull \hbox (19.99492pt too wide) in paragraph at lines 194--194 +[]\T1/cmr/bx/n/14.4 Reading the elec-tri-cal pa-ram-e-ters from + [] -Underfull \vbox (badness 1642) has occurred while \output is active [] - [247 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/curre -nt-output.png>] +Underfull \vbox (badness 10000) has occurred while \output is active [] + + +Overfull \hbox (2.46637pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 11.5. Reading the electrical parameters from Scilab \T1/fvm/ +m/n/10.95 299 + [] + +[299 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/voltag +e-output.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figur +es/voltage-output-setup.jpg>] </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/read_value_ -xcos.png, id=6853, 635.37375pt x 455.7025pt> +xcos.png, id=7194, 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 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. - [248 </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 +(pdftex.def) Requested size: 187.90022pt x 134.76483pt. + [300 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/activ +e-power-output.png> </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus +/figures/active-power-output-setup.jpg>] +Overfull \hbox (125.10992pt too wide) in paragraph at lines 223--235 [][] [] -[249 </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>]) (./user-code/modbus/modbus-python.tex -Underfull \vbox (badness 6658) has occurred while \output is active [] +) (./user-code/modbus/modbus-python.tex +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [301 </home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/figures/read_ +value_xcos.png>] +Overfull \hbox (4.28653pt too wide) in paragraph at lines 15--20 +\T1/fvm/m/n/10.95 ergy me-ter via an RS485 mod-ule which fa-cil-i-tates long-di +stance + [] + + +Overfull \hbox (19.99492pt too wide) in paragraph at lines 68--68 +[]\T1/cmr/bx/n/14.4 Reading the elec-tri-cal pa-ram-e-ters from + [] + + +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [302] +Overfull \hbox (1.8544pt too wide) in paragraph at lines 91--95 +\T1/fvm/m/n/10.95 Avail-able at O r i g i n / u s e r - c o d e / m o d b u s / + p y t h o n, see Foot-note []2[][] + [] + - [250 </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>] [251] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/python/read_current .py) +Overfull \hbox (1.8544pt too wide) in paragraph at lines 100--104 +\T1/fvm/m/n/10.95 Avail-able at O r i g i n / u s e r - c o d e / m o d b u s / + p y t h o n, see Foot-note []2[][] + [] + + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/python/read_voltage .py) +Overfull \hbox (10.13986pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 11.8. Reading the electrical parameters from Python \T1/fvm/ +m/n/10.95 303 + [] + +[303] +Overfull \hbox (5.44896pt too wide) in paragraph at lines 109--114 +[]\T1/fvm/m/n/10.95 Code for Sin-gle Phase Ac-tive Power Out- + [] + + +Overfull \hbox (0.84692pt too wide) in paragraph at lines 109--114 +\T1/fvm/m/n/10.95 put. Avail-able at O r i g i n / u s e r - c o d e / m o d b +u s / p y t h o n, see Foot- + [] + + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/python/read_active_ -power.py [252])) (./user-code/modbus/modbus-julia.tex [253] +power.py)) (./user-code/modbus/modbus-julia.tex +Overfull \hbox (4.28653pt too wide) in paragraph at lines 16--21 +\T1/fvm/m/n/10.95 ergy me-ter via an RS485 mod-ule which fa-cil-i-tates long-di +stance + [] + +[304] (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readCurrent.j -l) +l +Overfull \hbox (2.67067pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 11.10. Reading the electrical parameters from Julia \T1/fvm/ +m/n/10.95 305 + [] + +[305]) +Overfull \hbox (13.25113pt too wide) in paragraph at lines 88--92 +[]\T1/fvm/m/n/10.95 Code for Sin-gle Phase Volt-age Out-put. Avail- + [] + + (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readVoltage.j l) -(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readPower.jl -[254])) (./user-code/modbus/modbus-OM.tex +(/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/julia/readPower.jl) +) (./user-code/modbus/modbus-OM.tex [306] +Overfull \hbox (4.28653pt too wide) in paragraph at lines 15--20 +\T1/fvm/m/n/10.95 ergy me-ter via an RS485 mod-ule which fa-cil-i-tates long-di +stance + [] + + Underfull \vbox (badness 10000) has occurred while \output is active [] - [255] + +Overfull \hbox (75.40279pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 11.11. Manifestation of Modbus protocol through OpenModelica + \T1/fvm/m/n/10.95 307 + [] + +[307] +Overfull \hbox (2.36667pt too wide) in paragraph at lines 30--31 +\T1/fvm/m/n/10.95 ments us-ing Open-Mod-el-ica are avail-able in-side OpenModel +ica- + [] + + (/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) [256] +ltage.mo [308]) (/home/sudhakak/Desktop/FLOSS-Arduino-Book/user-code/modbus/OpenModelica/readPo -wer.mo)) (./suppl/appendix.tex [257] [258 +wer.mo)) (./suppl/appendix.tex +Overfull \hbox (55.31401pt too wide) has occurred while \output is active +\T1/cmr/bx/n/10.95 11.12. Reading the electrical parameters from OpenModelica \ +T1/fvm/m/n/10.95 309 + [] + +[309] [310 ] Appendix A. @@ -3048,53 +4204,122 @@ Underfull \hbox (badness 5878) in paragraph at lines 25--26 []\T1/fvm/m/n/10.95 External ac-tu-a-tors (mo-tor, [] -[259] -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 [311] [312] +Overfull \hbox (1.24474pt too wide) in paragraph at lines 4--9 +\T1/fvm/m/n/10.95 https://www.scilab.org/community/scilabtec/2009/Use- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 11--15 +[]\T1/fvm/m/n/10.95 B. Jofret. Scilab-Arduino Tool-box. [] -) (./floss-arduino.bbl [260] -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. + +Underfull \hbox (badness 10000) in paragraph at lines 22--26 +[]\T1/fvm/m/n/10.95 Mateo Zlatar. Open source hard-ware logo. [] -Underfull \hbox (badness 10000) in paragraph at lines 4--9 -\T1/fvm/m/n/10.95 https://www.scilab.org/community/scilabtec/2009/Use-of-Scilab --for-space- +Underfull \hbox (badness 10000) in paragraph at lines 22--26 +\T1/fvm/m/n/10.95 http://www.oshwa.org/open-source-hardware-logo. [] -Overfull \hbox (21.22252pt too wide) in paragraph at lines 28--31 +Overfull \hbox (129.62752pt too wide) in paragraph at lines 28--31 []\T1/fvm/m/n/10.95 Arduino Uno. https://www.arduino.cc/en/uploads/Main/Arduin oUnoFront240.jpg. [] -Overfull \hbox (13.95392pt too wide) in paragraph at lines 33--37 +Overfull \hbox (122.35892pt too wide) in paragraph at lines 33--37 []\T1/fvm/m/n/10.95 Arduino Mega. https://www.arduino.cc/en/uploads/Main/Ardui noMega2560_R3 [] -Overfull \hbox (15.39987pt too wide) in paragraph at lines 49--53 -[]\T1/fvm/m/n/10.95 Candy sort-ing ma-chine. http://beta.ivc.no/wiki/index.php -/Skittles_M%26M%27s +Overfull \hbox (96.97359pt too wide) in paragraph at lines 39--42 +[]\T1/fvm/m/n/10.95 Lilypod Ar-duino. https://www.arduino.cc/en/uploads/Main/L +ilyPad_5.jpg. [] -[261 + +Overfull \hbox (50.09685pt too wide) in paragraph at lines 44--47 +[]\T1/fvm/m/n/10.95 Arduino phone. http://www.instructables.com/id/ArduinoPhon +e/. + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 49--53 +[]\T1/fvm/m/n/10.95 Candy sort-ing ma-chine. + [] + + +Overfull \hbox (10.18777pt too wide) in paragraph at lines 49--53 +\T1/fvm/m/n/10.95 http://beta.ivc.no/wiki/index.php/Skittles_M%26M%27s + [] + +[313 ] -Underfull \hbox (badness 1577) in paragraph at lines 95--98 -[]\T1/fvm/m/n/10.95 Juliaio/serialports.jl: Se-ri-al-port io streams in ju-lia -backed by py-se-rial. +Overfull \hbox (5.26077pt too wide) in paragraph at lines 60--63 +[]\T1/fvm/m/n/10.95 Shield. http://codeshield.diyode.com/about/schematics/. + [] + + +Overfull \hbox (2.5521pt too wide) in paragraph at lines 70--73 +[]\T1/fvm/m/n/10.95 scilab.org. http://www.scilab.org/scilab/interoperability. + + [] + + +Overfull \hbox (2.59352pt too wide) in paragraph at lines 80--83 +[]\T1/fvm/m/n/10.95 python.org. https://www.python.org/doc/essays/blurb/. + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 95--98 +[]\T1/fvm/m/n/10.95 Juliaio/serialports.jl: Se-ri-al-port io + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 95--98 +\T1/fvm/m/n/10.95 streams in ju-lia backed by py-se-rial. + [] + + +Underfull \hbox (badness 3128) in paragraph at lines 95--98 +\T1/fvm/m/n/10.95 https://github.com/JuliaIO/SerialPorts.jl. Seen on + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 105--108 +[]\T1/fvm/m/n/10.95 Thermistor - wikipedia. + [] + + +Underfull \hbox (badness 2884) in paragraph at lines 105--108 +\T1/fvm/m/n/10.95 https://en.wikipedia.org/wiki/Thermistor. Seen on + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 110--113 +[]\T1/fvm/m/n/10.95 Secrets of Ar-duino PWM. [] -Overfull \hbox (43.20544pt too wide) in paragraph at lines 110--113 -[]\T1/fvm/m/n/10.95 Secrets of Ar-duino PWM. https://www.arduino.cc/en/Tutoria -l/SecretsOfArduinoPWM. +Overfull \hbox (28.78189pt too wide) in paragraph at lines 110--113 +\T1/fvm/m/n/10.95 https://www.arduino.cc/en/Tutorial/SecretsOfArduinoPWM. + [] + + +Overfull \hbox (24.9248pt too wide) in paragraph at lines 115--118 +[]\T1/fvm/m/n/10.95 Servo. https://www.arduino.cc/reference/en/libraries/servo +/. + [] + +[314] +Overfull \hbox (11.99152pt too wide) in paragraph at lines 138--141 +[]\T1/fvm/m/n/10.95 Online CRC. https://www.lammertbies.nl/comm/info/crc- [] @@ -3103,16 +4328,35 @@ Underfull \hbox (badness 10000) in paragraph at lines 143--146 [] -Underfull \hbox (badness 10000) in paragraph at lines 148--151 -[]\T1/fvm/m/n/10.95 Ecolight\TS1/cmr/m/n/10.95 ® \T1/fvm/m/n/10.95 sen-sor shie -ld v-1.2 com-pat-i-ble with Ar-duino Uno r3. +Underfull \hbox (badness 10000) in paragraph at lines 143--146 +\T1/fvm/m/n/10.95 schmidt.net/FloatConverter/IEEE754.html. Seen + [] + + +Underfull \hbox (badness 3849) in paragraph at lines 153--158 +[]\T1/fvm/m/n/10.95 Ecolight sen-sor shield v-1.2 com-pat-i-ble with Ar- [] -[262]) + +Underfull \hbox (badness 10000) in paragraph at lines 153--158 +\T1/fvm/m/n/10.95 duino Uno ed-u-ca-tional elec-tronic hobby kit. + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 153--158 +\T1/fvm/m/n/10.95 https://www.flipkart.com/ecolight-sensor-shield-v-1- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 153--158 +\T1/fvm/m/n/10.95 2-compatible-arduino-uno-educational-electronic-hobby- + [] + +) \tf@thm=\write14 \openout14 = `floss-arduino.thm'. - [263] (./floss-arduino.aux) + [315] (./floss-arduino.aux) LaTeX Font Warning: Some font shapes were not available, defaults substituted. @@ -3120,13 +4364,13 @@ Package rerunfilecheck Info: File `floss-arduino.out' has not changed. (rerunfilecheck) Checksum: 2FBAB44F63C640F24AD1E63867AB79A3;16298. ) Here is how much of TeX's memory you used: - 17884 strings out of 481252 - 354962 string characters out of 5915889 - 1045461 words of memory out of 5000000 + 17940 strings out of 481252 + 355418 string characters out of 5915889 + 967461 words of memory out of 5000000 29830 multiletter control sequences out of 15000+600000 425775 words of font info for 70 fonts, out of 8000000 for 9000 17 hyphenation exceptions out of 8191 - 71i,10n,79p,795b,1972s stack positions out of 5000i,500n,10000p,200000b,80000s + 71i,10n,79p,795b,2002s stack positions out of 5000i,500n,10000p,200000b,80000s </home/sudhakak/.texlive2020/texmf-var/fonts/pk/ljfour/jknappen/ec/ecsi1095. 600pk> </home/sudhakak/.texlive2020/texmf-var/fonts/pk/ljfour/jknappen/ec/ecrm1 000.600pk> </home/sudhakak/.texlive2020/texmf-var/fonts/pk/ljfour/jknappen/ec/e @@ -3155,10 +4399,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 (293 pages, 34497221 bytes). +Output written on floss-arduino.pdf (349 pages, 34544480 bytes). PDF statistics: - 8593 PDF objects out of 8907 (max. 8388607) - 7358 compressed objects within 74 object streams - 3884 named destinations out of 4296 (max. 500000) + 8949 PDF objects out of 10688 (max. 8388607) + 7658 compressed objects within 77 object streams + 3940 named destinations out of 4296 (max. 500000) 2336 words of extra memory for PDF output out of 10000 (max. 10000000) diff --git a/floss-arduino.lot b/floss-arduino.lot index b8393f0..43a589e 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.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}% +\contentsline {table}{\numberline {2.1}{\ignorespaces Arduino Uno hardware specifications\relax }}{13}{table.caption.15}% +\contentsline {table}{\numberline {2.2}{\ignorespaces Values of components used in the Shield\relax }}{18}{table.caption.26}% +\contentsline {table}{\numberline {2.3}{\ignorespaces Information on sensors and pin numbers\relax }}{18}{table.caption.27}% +\contentsline {table}{\numberline {2.4}{\ignorespaces Lists of components to work with the breadboard\relax }}{20}{table.caption.29}% \addvspace {10\p@ } \addvspace {10\p@ } -\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}% +\contentsline {table}{\numberline {4.1}{\ignorespaces Parameters to light the blue LED in Xcos\relax }}{92}{table.caption.82}% +\contentsline {table}{\numberline {4.2}{\ignorespaces Parameters to light the blue LED in Xcos for two seconds\relax }}{93}{table.caption.84}% +\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{94}{table.caption.86}% +\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{95}{table.caption.88}% \addvspace {10\p@ } -\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the pushbutton 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}% +\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the pushbutton status on the display block\relax }}{123}{table.caption.94}% +\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{124}{table.caption.96}% \addvspace {10\p@ } -\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}% +\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{148}{table.caption.103}% +\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{150}{table.caption.106}% \addvspace {10\p@ } -\contentsline {table}{\numberline {7.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{144}{table.caption.110}% +\contentsline {table}{\numberline {7.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{170}{table.caption.110}% \addvspace {10\p@ } -\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}% +\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{193}{table.caption.118}% +\contentsline {table}{\numberline {8.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{195}{table.caption.121}% \addvspace {10\p@ } -\contentsline {table}{\numberline {9.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{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}% +\contentsline {table}{\numberline {9.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{211}{table.caption.128}% +\contentsline {table}{\numberline {9.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{223}{table.caption.132}% +\contentsline {table}{\numberline {9.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{224}{table.caption.134}% +\contentsline {table}{\numberline {9.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{225}{table.caption.136}% +\contentsline {table}{\numberline {9.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{227}{table.caption.138}% \addvspace {10\p@ } -\contentsline {table}{\numberline {10.1}{\ignorespaces Values to be passed for different H-Bridge circuits\relax }}{206}{table.caption.140}% -\contentsline {table}{\numberline {10.2}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{216}{table.caption.148}% -\contentsline {table}{\numberline {10.3}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{217}{table.caption.150}% -\contentsline {table}{\numberline {10.4}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{219}{table.caption.152}% +\contentsline {table}{\numberline {10.1}{\ignorespaces Values to be passed for different H-Bridge circuits\relax }}{246}{table.caption.140}% +\contentsline {table}{\numberline {10.2}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{259}{table.caption.148}% +\contentsline {table}{\numberline {10.3}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{260}{table.caption.150}% +\contentsline {table}{\numberline {10.4}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{262}{table.caption.152}% \addvspace {10\p@ } -\contentsline {table}{\numberline {11.1}{\ignorespaces Pins available on RS485 and their usage\relax }}{235}{table.caption.161}% -\contentsline {table}{\numberline {11.2}{\ignorespaces Operations supported by Modbus RTU\relax }}{236}{table.caption.163}% -\contentsline {table}{\numberline {11.3}{\ignorespaces Individual parameter address in EM6400\relax }}{236}{table.caption.164}% -\contentsline {table}{\numberline {11.4}{\ignorespaces A request packet to access V1 in EM6400\relax }}{237}{table.caption.166}% -\contentsline {table}{\numberline {11.5}{\ignorespaces A response packet to access V1 in EM6400\relax }}{238}{table.caption.167}% -\contentsline {table}{\numberline {11.6}{\ignorespaces Memory storage of a four-byte integer in little-endian and big-endian\relax }}{239}{table.caption.168}% -\contentsline {table}{\numberline {11.7}{\ignorespaces Xcos parameters to read energy meter values\relax }}{251}{table.caption.181}% +\contentsline {table}{\numberline {11.1}{\ignorespaces Pins available on RS485 and their usage\relax }}{283}{table.caption.161}% +\contentsline {table}{\numberline {11.2}{\ignorespaces Operations supported by Modbus RTU\relax }}{285}{table.caption.163}% +\contentsline {table}{\numberline {11.3}{\ignorespaces Individual parameter address in EM6400\relax }}{285}{table.caption.164}% +\contentsline {table}{\numberline {11.4}{\ignorespaces A request packet to access V1 in EM6400\relax }}{286}{table.caption.166}% +\contentsline {table}{\numberline {11.5}{\ignorespaces A response packet to access V1 in EM6400\relax }}{287}{table.caption.167}% +\contentsline {table}{\numberline {11.6}{\ignorespaces Memory storage of a four-byte integer in little-endian and big-endian\relax }}{289}{table.caption.168}% +\contentsline {table}{\numberline {11.7}{\ignorespaces Xcos parameters to read energy meter values\relax }}{301}{table.caption.181}% \addvspace {10\p@ } -\contentsline {table}{\numberline {A.1}{\ignorespaces Approximate cost of the components\relax }}{259}{table.caption.185}% +\contentsline {table}{\numberline {A.1}{\ignorespaces Approximate cost of the components\relax }}{312}{table.caption.185}% diff --git a/floss-arduino.pdf b/floss-arduino.pdf Binary files differindex a27d981..41207bf 100644 --- a/floss-arduino.pdf +++ b/floss-arduino.pdf diff --git a/floss-arduino.pyd b/floss-arduino.pyd index a86b2ca..1a3a9bd 100644 --- a/floss-arduino.pyd +++ b/floss-arduino.pyd @@ -1,31 +1,31 @@ \addvspace {10pt} -\contentsline {section}{\numberline {3.{1}}A Python script to check whether the firmware is properly installed or not}{48}{pymass.3.1}% +\contentsline {section}{\numberline {3.{1}}A Python script to check whether the firmware is properly installed or not}{54}{pymass.3.1}% \addvspace {10pt} -\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{85}{pymass.4.1}% -\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{85}{pymass.4.2}% -\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{86}{pymass.4.3}% -\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{87}{pymass.4.4}% +\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{98}{pymass.4.1}% +\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{99}{pymass.4.2}% +\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{100}{pymass.4.3}% +\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{101}{pymass.4.4}% \addvspace {10pt} -\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}% -\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{109}{pymass.5.2}% +\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and display it on the Command Prompt or the Terminal}{127}{pymass.5.1}% +\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{128}{pymass.5.2}% \addvspace {10pt} -\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{129}{pymass.6.1}% -\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{130}{pymass.6.2}% +\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{152}{pymass.6.1}% +\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{153}{pymass.6.2}% \addvspace {10pt} -\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{145}{pymass.7.1}% +\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{171}{pymass.7.1}% \addvspace {10pt} -\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{166}{pymass.8.1}% -\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{167}{pymass.8.2}% +\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{198}{pymass.8.1}% +\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{199}{pymass.8.2}% \addvspace {10pt} -\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{191}{pymass.9.1}% -\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{192}{pymass.9.2}% -\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{193}{pymass.9.3}% -\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{193}{pymass.9.4}% +\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{229}{pymass.9.1}% +\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{230}{pymass.9.2}% +\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{231}{pymass.9.3}% +\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{232}{pymass.9.4}% \addvspace {10pt} -\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{221}{pymass.10.1}% -\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{222}{pymass.10.2}% -\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{223}{pymass.10.3}% +\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{265}{pymass.10.1}% +\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{266}{pymass.10.2}% +\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{267}{pymass.10.3}% \addvspace {10pt} -\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{252}{pymass.11.1}% -\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{252}{pymass.11.2}% -\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{252}{pymass.11.3}% +\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{303}{pymass.11.1}% +\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{303}{pymass.11.2}% +\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{304}{pymass.11.3}% diff --git a/floss-arduino.tex b/floss-arduino.tex index 133717f..ec271fc 100644 --- a/floss-arduino.tex +++ b/floss-arduino.tex @@ -52,12 +52,20 @@ \newcommand{\ourname}[1]{\\ [1.5mm] \noindent{\bf #1}} % Shroff book size %\textheight 7.75in -\textheight 7.5in -\textwidth 5.5in +% Dimensions for the size: 7 inches width * 9 inches height +% \textheight 7.5in +% \textwidth 5.5in +% \evensidemargin 0.625in +% \oddsidemargin 0.625in + +% Dimensions for the size: 5.5 inches width * 8.5 inches height +\textheight 7in +\textwidth 4in \evensidemargin 0.625in \oddsidemargin 0.625in + \input{\Home/suppl/styles} \renewcommand\chaptermark[1]{\markboth{\bf {\thechapter. #1}}{}} \renewcommand\sectionmark[1]{\markright{\bf {\thesection. #1}}} diff --git a/floss-arduino.thm b/floss-arduino.thm index 0933366..9f7f321 100644 --- a/floss-arduino.thm +++ b/floss-arduino.thm @@ -1,125 +1,125 @@ -\contentsline {ardmass}{{Arduino Code}{3.{1}}{}}{27}{ardmass.3.1}% -\contentsline {codemass}{{Scilab Code}{3.{1}}{}}{36}{codemass.3.1}% -\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}}{}}{197}{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}}{}}{210}{egmass.10.1}% -\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{210}{ardmass.10.1}% -\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{210}{ardmass.10.2}% -\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{211}{ardmass.10.3}% -\contentsline {egmass}{{Exercise}{10.{2}}{}}{214}{egmass.10.2}% -\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{214}{codemass.10.1}% -\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{214}{codemass.10.2}% -\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{215}{codemass.10.3}% -\contentsline {egmass}{{Exercise}{10.{3}}{}}{217}{egmass.10.3}% -\contentsline {pymass}{{Python Code}{10.{1}}{}}{221}{pymass.10.1}% -\contentsline {pymass}{{Python Code}{10.{2}}{}}{222}{pymass.10.2}% -\contentsline {pymass}{{Python Code}{10.{3}}{}}{223}{pymass.10.3}% -\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{226}{juliamass.10.1}% -\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{227}{juliamass.10.2}% -\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{227}{juliamass.10.3}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{230}{OpenModelicamass.10.1}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{231}{OpenModelicamass.10.2}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{231}{OpenModelicamass.10.3}% -\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{243}{ardmass.11.1}% -\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{245}{codemass.11.1}% -\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{245}{codemass.11.2}% -\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{246}{codemass.11.3}% -\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{246}{codemass.11.4}% -\contentsline {pymass}{{Python Code}{11.{1}}{}}{252}{pymass.11.1}% -\contentsline {pymass}{{Python Code}{11.{2}}{}}{252}{pymass.11.2}% -\contentsline {pymass}{{Python Code}{11.{3}}{}}{252}{pymass.11.3}% -\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{254}{juliamass.11.1}% -\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{254}{juliamass.11.2}% -\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{254}{juliamass.11.3}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{256}{OpenModelicamass.11.1}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{256}{OpenModelicamass.11.2}% -\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{257}{OpenModelicamass.11.3}% +\contentsline {ardmass}{{Arduino Code}{3.{1}}{}}{30}{ardmass.3.1}% +\contentsline {codemass}{{Scilab Code}{3.{1}}{}}{42}{codemass.3.1}% +\contentsline {pymass}{{Python Code}{3.{1}}{}}{54}{pymass.3.1}% +\contentsline {juliamass}{{Julia Code}{3.{1}}{}}{66}{juliamass.3.1}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{3.{1}}{}}{76}{OpenModelicamass.3.1}% +\contentsline {egmass}{{Exercise}{4.{1}}{}}{84}{egmass.4.1}% +\contentsline {ardmass}{{Arduino Code}{4.{1}}{}}{85}{ardmass.4.1}% +\contentsline {ardmass}{{Arduino Code}{4.{2}}{}}{86}{ardmass.4.2}% +\contentsline {ardmass}{{Arduino Code}{4.{3}}{}}{86}{ardmass.4.3}% +\contentsline {ardmass}{{Arduino Code}{4.{4}}{}}{86}{ardmass.4.4}% +\contentsline {egmass}{{Exercise}{4.{2}}{}}{89}{egmass.4.2}% +\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{89}{codemass.4.1}% +\contentsline {codemass}{{Scilab Code}{4.{2}}{}}{90}{codemass.4.2}% +\contentsline {codemass}{{Scilab Code}{4.{3}}{}}{90}{codemass.4.3}% +\contentsline {codemass}{{Scilab Code}{4.{4}}{}}{90}{codemass.4.4}% +\contentsline {egmass}{{Exercise}{4.{3}}{}}{93}{egmass.4.3}% +\contentsline {egmass}{{Exercise}{4.{4}}{}}{98}{egmass.4.4}% +\contentsline {pymass}{{Python Code}{4.{1}}{}}{98}{pymass.4.1}% +\contentsline {pymass}{{Python Code}{4.{2}}{}}{99}{pymass.4.2}% +\contentsline {pymass}{{Python Code}{4.{3}}{}}{100}{pymass.4.3}% +\contentsline {pymass}{{Python Code}{4.{4}}{}}{101}{pymass.4.4}% +\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{104}{juliamass.4.1}% +\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{104}{juliamass.4.2}% +\contentsline {juliamass}{{Julia Code}{4.{3}}{}}{105}{juliamass.4.3}% +\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{105}{juliamass.4.4}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{108}{OpenModelicamass.4.1}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{109}{OpenModelicamass.4.2}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{110}{OpenModelicamass.4.3}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{111}{OpenModelicamass.4.4}% +\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{118}{ardmass.5.1}% +\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{118}{ardmass.5.2}% +\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{121}{codemass.5.1}% +\contentsline {codemass}{{Scilab Code}{5.{2}}{}}{121}{codemass.5.2}% +\contentsline {egmass}{{Exercise}{5.{1}}{}}{124}{egmass.5.1}% +\contentsline {pymass}{{Python Code}{5.{1}}{}}{127}{pymass.5.1}% +\contentsline {pymass}{{Python Code}{5.{2}}{}}{128}{pymass.5.2}% +\contentsline {juliamass}{{Julia Code}{5.{1}}{}}{130}{juliamass.5.1}% +\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{131}{juliamass.5.2}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{133}{OpenModelicamass.5.1}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{134}{OpenModelicamass.5.2}% +\contentsline {egmass}{{Exercise}{6.{1}}{}}{142}{egmass.6.1}% +\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{142}{ardmass.6.1}% +\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{143}{ardmass.6.2}% +\contentsline {egmass}{{Exercise}{6.{2}}{}}{145}{egmass.6.2}% +\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{145}{codemass.6.1}% +\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{146}{codemass.6.2}% +\contentsline {egmass}{{Exercise}{6.{3}}{}}{151}{egmass.6.3}% +\contentsline {pymass}{{Python Code}{6.{1}}{}}{152}{pymass.6.1}% +\contentsline {pymass}{{Python Code}{6.{2}}{}}{153}{pymass.6.2}% +\contentsline {egmass}{{Exercise}{6.{4}}{}}{155}{egmass.6.4}% +\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{156}{juliamass.6.1}% +\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{156}{juliamass.6.2}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{158}{OpenModelicamass.6.1}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{159}{OpenModelicamass.6.2}% +\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{165}{ardmass.7.1}% +\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{167}{codemass.7.1}% +\contentsline {egmass}{{Exercise}{7.{1}}{}}{169}{egmass.7.1}% +\contentsline {pymass}{{Python Code}{7.{1}}{}}{171}{pymass.7.1}% +\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{174}{juliamass.7.1}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{176}{OpenModelicamass.7.1}% +\contentsline {egmass}{{Exercise}{8.{1}}{}}{185}{egmass.8.1}% +\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{185}{ardmass.8.1}% +\contentsline {ardmass}{{Arduino Code}{8.{2}}{}}{186}{ardmass.8.2}% +\contentsline {egmass}{{Exercise}{8.{2}}{}}{189}{egmass.8.2}% +\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{190}{codemass.8.1}% +\contentsline {codemass}{{Scilab Code}{8.{2}}{}}{191}{codemass.8.2}% +\contentsline {pymass}{{Python Code}{8.{1}}{}}{198}{pymass.8.1}% +\contentsline {pymass}{{Python Code}{8.{2}}{}}{199}{pymass.8.2}% +\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{203}{juliamass.8.1}% +\contentsline {juliamass}{{Julia Code}{8.{2}}{}}{203}{juliamass.8.2}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{206}{OpenModelicamass.8.1}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{2}}{}}{207}{OpenModelicamass.8.2}% +\contentsline {egmass}{{Exercise}{9.{1}}{}}{215}{egmass.9.1}% +\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{215}{ardmass.9.1}% +\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{216}{ardmass.9.2}% +\contentsline {ardmass}{{Arduino Code}{9.{3}}{}}{216}{ardmass.9.3}% +\contentsline {ardmass}{{Arduino Code}{9.{4}}{}}{217}{ardmass.9.4}% +\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{220}{codemass.9.1}% +\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{221}{codemass.9.2}% +\contentsline {codemass}{{Scilab Code}{9.{3}}{}}{221}{codemass.9.3}% +\contentsline {codemass}{{Scilab Code}{9.{4}}{}}{221}{codemass.9.4}% +\contentsline {pymass}{{Python Code}{9.{1}}{}}{229}{pymass.9.1}% +\contentsline {pymass}{{Python Code}{9.{2}}{}}{230}{pymass.9.2}% +\contentsline {pymass}{{Python Code}{9.{3}}{}}{231}{pymass.9.3}% +\contentsline {pymass}{{Python Code}{9.{4}}{}}{232}{pymass.9.4}% +\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{236}{juliamass.9.1}% +\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{236}{juliamass.9.2}% +\contentsline {juliamass}{{Julia Code}{9.{3}}{}}{236}{juliamass.9.3}% +\contentsline {juliamass}{{Julia Code}{9.{4}}{}}{237}{juliamass.9.4}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{240}{OpenModelicamass.9.1}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{241}{OpenModelicamass.9.2}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{3}}{}}{242}{OpenModelicamass.9.3}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{4}}{}}{242}{OpenModelicamass.9.4}% +\contentsline {egmass}{{Exercise}{10.{1}}{}}{251}{egmass.10.1}% +\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{251}{ardmass.10.1}% +\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{252}{ardmass.10.2}% +\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{252}{ardmass.10.3}% +\contentsline {egmass}{{Exercise}{10.{2}}{}}{256}{egmass.10.2}% +\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{256}{codemass.10.1}% +\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{257}{codemass.10.2}% +\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{257}{codemass.10.3}% +\contentsline {egmass}{{Exercise}{10.{3}}{}}{261}{egmass.10.3}% +\contentsline {pymass}{{Python Code}{10.{1}}{}}{265}{pymass.10.1}% +\contentsline {pymass}{{Python Code}{10.{2}}{}}{266}{pymass.10.2}% +\contentsline {pymass}{{Python Code}{10.{3}}{}}{267}{pymass.10.3}% +\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{272}{juliamass.10.1}% +\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{272}{juliamass.10.2}% +\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{272}{juliamass.10.3}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{276}{OpenModelicamass.10.1}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{277}{OpenModelicamass.10.2}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{278}{OpenModelicamass.10.3}% +\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{293}{ardmass.11.1}% +\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{295}{codemass.11.1}% +\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{296}{codemass.11.2}% +\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{296}{codemass.11.3}% +\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{297}{codemass.11.4}% +\contentsline {pymass}{{Python Code}{11.{1}}{}}{303}{pymass.11.1}% +\contentsline {pymass}{{Python Code}{11.{2}}{}}{303}{pymass.11.2}% +\contentsline {pymass}{{Python Code}{11.{3}}{}}{304}{pymass.11.3}% +\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{305}{juliamass.11.1}% +\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{306}{juliamass.11.2}% +\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{306}{juliamass.11.3}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{308}{OpenModelicamass.11.1}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{308}{OpenModelicamass.11.2}% +\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{309}{OpenModelicamass.11.3}% diff --git a/floss-arduino.toc b/floss-arduino.toc index dd23dff..f0b5bcb 100644 --- a/floss-arduino.toc +++ b/floss-arduino.toc @@ -1,241 +1,241 @@ \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}% +\contentsline {chapter}{\numberline {List of Tables}}{xix}{chapter*.4}% +\contentsline {chapter}{\numberline {List of Arduino \ Code}}{xxi}{chapter*.5}% +\contentsline {chapter}{\numberline {List of Scilab Code}}{xxiii}{chapter*.6}% +\contentsline {chapter}{\numberline {List of Python \ Code}}{xxv}{chapter*.7}% +\contentsline {chapter}{\numberline {List of Julia\ Code}}{xxvii}{chapter*.8}% +\contentsline {chapter}{\numberline {List of OpenModelica\ Code}}{xxix}{chapter*.9}% \thispagestyle {empty} -\contentsline {chapter}{\numberline {List of Acronyms}}{xxix}{chapter*.10}% +\contentsline {chapter}{\numberline {List of Acronyms}}{xxxii}{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}% -\contentsline {subsection}{\numberline {2.1.1}Organization of a Microcontroller}{4}{subsection.2.1.1}% -\contentsline {subsection}{\numberline {2.1.2}Microcontroller Peripherals}{5}{subsection.2.1.2}% -\contentsline {section}{\numberline {2.2}Open Source Hardware (OSHW)}{7}{section.2.2}% -\contentsline {section}{\numberline {2.3}Arduino}{8}{section.2.3}% -\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}{10}{subsection.2.3.3}% -\contentsline {paragraph}{Arduino phone:}{11}{section*.18}% -\contentsline {paragraph}{Candy sorting machine:}{11}{section*.20}% -\contentsline {paragraph}{3D printers:}{11}{section*.21}% -\contentsline {section}{\numberline {2.4}Shield}{12}{section.2.4}% -\contentsline {section}{\numberline {2.5}Experimental Test Bed}{13}{section.2.5}% -\contentsline {section}{\numberline {2.6}Doing the Experiments with a Breadboard}{14}{section.2.6}% -\contentsline {chapter}{\numberline {3}Communication between Software and Arduino}{19}{chapter.3}% -\contentsline {section}{\numberline {3.1}Arduino IDE}{19}{section.3.1}% -\contentsline {subsection}{\numberline {3.1.1}Downloading and installing on Windows}{20}{subsection.3.1.1}% -\contentsline {subsection}{\numberline {3.1.2}Downloading and installing on GNU/Linux Ubuntu}{21}{subsection.3.1.2}% -\contentsline {subsection}{\numberline {3.1.3}Arduino Development Environment}{23}{subsection.3.1.3}% -\contentsline {subsection}{\numberline {3.1.4}Testing Arduino with a sample program}{26}{subsection.3.1.4}% -\contentsline {subsection}{\numberline {3.1.5}FLOSS Firmware}{27}{subsection.3.1.5}% -\contentsline {section}{\numberline {3.2}Scilab}{27}{section.3.2}% -\contentsline {subsection}{\numberline {3.2.1}Downloading and installing on Windows}{28}{subsection.3.2.1}% -\contentsline {subsection}{\numberline {3.2.2}Downloading and installing on GNU/Linux Ubuntu}{28}{subsection.3.2.2}% -\contentsline {subsection}{\numberline {3.2.3}Scilab-Arduino toolbox}{29}{subsection.3.2.3}% -\contentsline {subsection}{\numberline {3.2.4}Identifying Arduino communication port number}{31}{subsection.3.2.4}% -\contentsline {subsection}{\numberline {3.2.5}Testing Scilab-Arduino toolbox}{33}{subsection.3.2.5}% -\contentsline {subsection}{\numberline {3.2.6}Firmware}{35}{subsection.3.2.6}% -\contentsline {section}{\numberline {3.3}Xcos}{37}{section.3.3}% -\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 {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}{195}{section.9.7}% -\contentsline {subsection}{\numberline {9.7.1}Controlling the servomotor}{195}{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}{200}{subsection.9.8.2}% -\contentsline {chapter}{\numberline {10}Interfacing a DC Motor}{205}{chapter.10}% -\contentsline {section}{\numberline {10.1}Preliminaries}{205}{section.10.1}% -\contentsline {section}{\numberline {10.2}Controlling the DC motor from Arduino}{207}{section.10.2}% -\contentsline {subsection}{\numberline {10.2.1}Controlling the DC motor}{207}{subsection.10.2.1}% -\contentsline {paragraph}{Note:}{208}{section*.144}% -\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{210}{subsection.10.2.2}% -\contentsline {section}{\numberline {10.3}Controlling the DC motor from Scilab}{211}{section.10.3}% -\contentsline {subsection}{\numberline {10.3.1}Controlling the DC motor}{211}{subsection.10.3.1}% -\contentsline {paragraph}{Note:}{212}{section*.145}% -\contentsline {paragraph}{Note:}{213}{section*.146}% -\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{214}{subsection.10.3.2}% -\contentsline {section}{\numberline {10.4}Controlling the DC motor from Xcos}{215}{section.10.4}% -\contentsline {section}{\numberline {10.5}Controlling the DC motor from Python}{218}{section.10.5}% -\contentsline {subsection}{\numberline {10.5.1}Controlling the DC motor}{218}{subsection.10.5.1}% -\contentsline {paragraph}{Note:}{219}{section*.153}% -\contentsline {paragraph}{Note:}{220}{section*.154}% -\contentsline {subsection}{\numberline {10.5.2}Python Code}{221}{subsection.10.5.2}% -\contentsline {section}{\numberline {10.6}Controlling the DC motor from Julia}{224}{section.10.6}% -\contentsline {subsection}{\numberline {10.6.1}Controlling the DC motor}{224}{subsection.10.6.1}% -\contentsline {paragraph}{Note:}{224}{section*.155}% -\contentsline {paragraph}{Note:}{226}{section*.156}% -\contentsline {subsection}{\numberline {10.6.2}Julia Code}{226}{subsection.10.6.2}% -\contentsline {section}{\numberline {10.7}Controlling the DC motor from OpenModelica}{227}{section.10.7}% -\contentsline {subsection}{\numberline {10.7.1}Controlling the DC motor}{227}{subsection.10.7.1}% -\contentsline {paragraph}{Note:}{228}{section*.157}% -\contentsline {paragraph}{Note:}{229}{section*.158}% -\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{230}{subsection.10.7.2}% -\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{233}{chapter.11}% -\contentsline {section}{\numberline {11.1}Preliminaries}{233}{section.11.1}% -\contentsline {subsection}{\numberline {11.1.1}Energy meter}{235}{subsection.11.1.1}% -\contentsline {paragraph}{Note:}{237}{section*.165}% -\contentsline {subsection}{\numberline {11.1.2}Endianness}{238}{subsection.11.1.2}% -\contentsline {section}{\numberline {11.2}Setup for the experiment}{240}{section.11.2}% -\contentsline {section}{\numberline {11.3}Software required for this experiment}{241}{section.11.3}% -\contentsline {subsection}{\numberline {11.3.1}Arduino Firmware}{243}{subsection.11.3.1}% -\contentsline {section}{\numberline {11.4}Manifestation of Modbus protocol through Scilab}{243}{section.11.4}% -\contentsline {section}{\numberline {11.5}Reading the electrical parameters from Scilab}{245}{section.11.5}% -\contentsline {subsection}{\numberline {11.5.1}Reading the electrical parameters}{245}{subsection.11.5.1}% -\contentsline {subsection}{\numberline {11.5.2}Scilab Code}{245}{subsection.11.5.2}% -\contentsline {paragraph}{Note: }{246}{section*.173}% -\contentsline {subsection}{\numberline {11.5.3}Output in the Scilab Console}{247}{subsection.11.5.3}% -\contentsline {section}{\numberline {11.6}Reading the electrical parameters from Xcos}{248}{section.11.6}% -\contentsline {section}{\numberline {11.7}Manifestation of Modbus protocol through Python}{251}{section.11.7}% -\contentsline {paragraph}{Note: }{251}{section*.182}% -\contentsline {section}{\numberline {11.8}Reading the electrical parameters from Python}{252}{section.11.8}% -\contentsline {subsection}{\numberline {11.8.1}Reading the electrical parameters}{252}{subsection.11.8.1}% -\contentsline {subsection}{\numberline {11.8.2}Python Code}{252}{subsection.11.8.2}% -\contentsline {section}{\numberline {11.9}Manifestation of Modbus protocol through Julia}{253}{section.11.9}% -\contentsline {paragraph}{Note: }{253}{section*.183}% -\contentsline {section}{\numberline {11.10}Reading the electrical parameters from Julia}{253}{section.11.10}% -\contentsline {subsection}{\numberline {11.10.1}Reading the electrical parameters}{253}{subsection.11.10.1}% -\contentsline {subsection}{\numberline {11.10.2}Julia Code}{254}{subsection.11.10.2}% -\contentsline {section}{\numberline {11.11}Manifestation of Modbus protocol through OpenModelica}{255}{section.11.11}% -\contentsline {paragraph}{Note: }{255}{section*.184}% -\contentsline {section}{\numberline {11.12}Reading the electrical parameters from OpenModelica}{256}{section.11.12}% -\contentsline {subsection}{\numberline {11.12.1}Reading the electrical parameters}{256}{subsection.11.12.1}% -\contentsline {subsection}{\numberline {11.12.2}OpenModelica Code}{256}{subsection.11.12.2}% -\contentsline {chapter}{\numberline {A}Procuring the Hardware}{259}{appendix.A}% -\contentsline {chapter}{\numberline {References}}{261}{appendix*.186}% +\contentsline {chapter}{\numberline {2}Hardware Environment}{5}{chapter.2}% +\contentsline {section}{\numberline {2.1}Microcontroller}{5}{section.2.1}% +\contentsline {subsection}{\numberline {2.1.1}Organization of a Microcontroller}{6}{subsection.2.1.1}% +\contentsline {subsection}{\numberline {2.1.2}Microcontroller Peripherals}{7}{subsection.2.1.2}% +\contentsline {section}{\numberline {2.2}Open Source Hardware (OSHW)}{10}{section.2.2}% +\contentsline {section}{\numberline {2.3}Arduino}{11}{section.2.3}% +\contentsline {subsection}{\numberline {2.3.1}Brief History}{12}{subsection.2.3.1}% +\contentsline {subsection}{\numberline {2.3.2}Arduino Uno Board}{12}{subsection.2.3.2}% +\contentsline {subsection}{\numberline {2.3.3}Popular Arduino Projects}{14}{subsection.2.3.3}% +\contentsline {paragraph}{Arduino phone:}{14}{section*.18}% +\contentsline {paragraph}{Candy sorting machine:}{14}{section*.20}% +\contentsline {paragraph}{3D printers:}{15}{section*.21}% +\contentsline {section}{\numberline {2.4}Shield}{15}{section.2.4}% +\contentsline {section}{\numberline {2.5}Experimental Test Bed}{17}{section.2.5}% +\contentsline {section}{\numberline {2.6}Doing the Experiments with a Breadboard}{20}{section.2.6}% +\contentsline {chapter}{\numberline {3}Communication between Software and Arduino}{21}{chapter.3}% +\contentsline {section}{\numberline {3.1}Arduino IDE}{22}{section.3.1}% +\contentsline {subsection}{\numberline {3.1.1}Downloading and installing on Windows}{22}{subsection.3.1.1}% +\contentsline {subsection}{\numberline {3.1.2}Downloading and installing on GNU/Linux Ubuntu}{23}{subsection.3.1.2}% +\contentsline {subsection}{\numberline {3.1.3}Arduino Development Environment}{26}{subsection.3.1.3}% +\contentsline {subsection}{\numberline {3.1.4}Testing Arduino with a sample program}{29}{subsection.3.1.4}% +\contentsline {subsection}{\numberline {3.1.5}FLOSS Firmware}{30}{subsection.3.1.5}% +\contentsline {section}{\numberline {3.2}Scilab}{31}{section.3.2}% +\contentsline {subsection}{\numberline {3.2.1}Downloading and installing on Windows}{32}{subsection.3.2.1}% +\contentsline {subsection}{\numberline {3.2.2}Downloading and installing on GNU/Linux Ubuntu}{32}{subsection.3.2.2}% +\contentsline {subsection}{\numberline {3.2.3}Scilab-Arduino toolbox}{33}{subsection.3.2.3}% +\contentsline {subsection}{\numberline {3.2.4}Identifying Arduino communication port number}{36}{subsection.3.2.4}% +\contentsline {subsection}{\numberline {3.2.5}Testing Scilab-Arduino toolbox}{39}{subsection.3.2.5}% +\contentsline {subsection}{\numberline {3.2.6}Firmware}{42}{subsection.3.2.6}% +\contentsline {section}{\numberline {3.3}Xcos}{42}{section.3.3}% +\contentsline {subsection}{\numberline {3.3.1}Downloading, installing and testing}{42}{subsection.3.3.1}% +\contentsline {subsection}{\numberline {3.3.2}Use case}{44}{subsection.3.3.2}% +\contentsline {subsection}{\numberline {3.3.3}Xcos-Arduino}{47}{subsection.3.3.3}% +\contentsline {section}{\numberline {3.4}Python}{48}{section.3.4}% +\contentsline {subsection}{\numberline {3.4.1}Downloading and installing on Windows}{49}{subsection.3.4.1}% +\contentsline {subsection}{\numberline {3.4.2}Downloading and installing on GNU/Linux Ubuntu}{52}{subsection.3.4.2}% +\contentsline {subsection}{\numberline {3.4.3}Python-Arduino toolbox}{53}{subsection.3.4.3}% +\contentsline {subsection}{\numberline {3.4.4}Firmware}{54}{subsection.3.4.4}% +\contentsline {section}{\numberline {3.5}Julia}{56}{section.3.5}% +\contentsline {subsection}{\numberline {3.5.1}Downloading and installing on Windows}{56}{subsection.3.5.1}% +\contentsline {subsection}{\numberline {3.5.2}Downloading and installing GNU/Linux Ubuntu}{61}{subsection.3.5.2}% +\contentsline {subsection}{\numberline {3.5.3}Julia-Arduino toolbox}{65}{subsection.3.5.3}% +\contentsline {subsection}{\numberline {3.5.4}Firmware}{66}{subsection.3.5.4}% +\contentsline {section}{\numberline {3.6}OpenModelica}{66}{section.3.6}% +\contentsline {subsection}{\numberline {3.6.1}Downloading and installing on Windows}{67}{subsection.3.6.1}% +\contentsline {subsection}{\numberline {3.6.2}Downloading and installing on GNU/Linux Ubuntu}{68}{subsection.3.6.2}% +\contentsline {subsection}{\numberline {3.6.3}Simulating models in OpenModelica}{70}{subsection.3.6.3}% +\contentsline {subsection}{\numberline {3.6.4}OpenModelica-Arduino toolbox}{75}{subsection.3.6.4}% +\contentsline {subsection}{\numberline {3.6.5}Firmware}{76}{subsection.3.6.5}% +\contentsline {chapter}{\numberline {4}Interfacing a Light Emitting Diode}{79}{chapter.4}% +\contentsline {section}{\numberline {4.1}Preliminaries}{79}{section.4.1}% +\contentsline {section}{\numberline {4.2}Connecting an RGB LED with Arduino Uno\ using a breadboard}{81}{section.4.2}% +\contentsline {section}{\numberline {4.3}Lighting the LED from the Arduino IDE}{82}{section.4.3}% +\contentsline {subsection}{\numberline {4.3.1}Lighting the LED}{82}{subsection.4.3.1}% +\contentsline {paragraph}{Note:}{84}{section*.78}% +\contentsline {paragraph}{Note:}{84}{section*.80}% +\contentsline {subsection}{\numberline {4.3.2}Arduino Code}{85}{subsection.4.3.2}% +\contentsline {section}{\numberline {4.4}Lighting the LED from Scilab}{87}{section.4.4}% +\contentsline {subsection}{\numberline {4.4.1}Lighting the LED}{87}{subsection.4.4.1}% +\contentsline {subsection}{\numberline {4.4.2}Scilab Code}{89}{subsection.4.4.2}% +\contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{91}{section.4.5}% +\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{96}{section.4.6}% +\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{96}{subsection.4.6.1}% +\contentsline {subsection}{\numberline {4.6.2}Python Code}{98}{subsection.4.6.2}% +\contentsline {section}{\numberline {4.7}Lighting the LED from Julia}{103}{section.4.7}% +\contentsline {subsection}{\numberline {4.7.1}Lighting the LED}{103}{subsection.4.7.1}% +\contentsline {subsection}{\numberline {4.7.2}Julia Code}{104}{subsection.4.7.2}% +\contentsline {section}{\numberline {4.8}Lighting the LED from OpenModelica}{106}{section.4.8}% +\contentsline {subsection}{\numberline {4.8.1}Lighting the LED}{106}{subsection.4.8.1}% +\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{108}{subsection.4.8.2}% +\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{113}{chapter.5}% +\contentsline {section}{\numberline {5.1}Preliminaries}{113}{section.5.1}% +\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{115}{section.5.2}% +\contentsline {section}{\numberline {5.3}Reading the pushbutton status from the Arduino IDE}{116}{section.5.3}% +\contentsline {subsection}{\numberline {5.3.1}Reading the pushbutton status}{116}{subsection.5.3.1}% +\contentsline {subsection}{\numberline {5.3.2}Arduino Code}{118}{subsection.5.3.2}% +\contentsline {section}{\numberline {5.4}Reading the pushbutton Status from Scilab}{119}{section.5.4}% +\contentsline {subsection}{\numberline {5.4.1}Reading the pushbutton Status}{119}{subsection.5.4.1}% +\contentsline {subsection}{\numberline {5.4.2}Scilab Code}{121}{subsection.5.4.2}% +\contentsline {section}{\numberline {5.5}Accessing the pushbutton from Xcos}{122}{section.5.5}% +\contentsline {section}{\numberline {5.6}Reading the pushbutton status from Python}{125}{section.5.6}% +\contentsline {subsection}{\numberline {5.6.1}Reading the pushbutton status}{125}{subsection.5.6.1}% +\contentsline {subsection}{\numberline {5.6.2}Python Code}{127}{subsection.5.6.2}% +\contentsline {section}{\numberline {5.7}Reading the pushbutton status from Julia}{129}{section.5.7}% +\contentsline {subsection}{\numberline {5.7.1}Reading the pushbutton status}{129}{subsection.5.7.1}% +\contentsline {subsection}{\numberline {5.7.2}Julia Code}{130}{subsection.5.7.2}% +\contentsline {section}{\numberline {5.8}Reading the pushbutton status from OpenModelica}{131}{section.5.8}% +\contentsline {subsection}{\numberline {5.8.1}Reading the pushbutton status}{131}{subsection.5.8.1}% +\contentsline {subsection}{\numberline {5.8.2}OpenModelica Code}{133}{subsection.5.8.2}% +\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{137}{chapter.6}% +\contentsline {section}{\numberline {6.1}Preliminaries}{137}{section.6.1}% +\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{139}{section.6.2}% +\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{141}{section.6.3}% +\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{141}{subsection.6.3.1}% +\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{142}{subsection.6.3.2}% +\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{143}{section.6.4}% +\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{143}{subsection.6.4.1}% +\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{145}{subsection.6.4.2}% +\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{146}{section.6.5}% +\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{149}{section.6.6}% +\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{149}{subsection.6.6.1}% +\contentsline {subsection}{\numberline {6.6.2}Python Code}{152}{subsection.6.6.2}% +\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{154}{section.6.7}% +\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{154}{subsection.6.7.1}% +\contentsline {subsection}{\numberline {6.7.2}Julia Code}{156}{subsection.6.7.2}% +\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{157}{section.6.8}% +\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{157}{subsection.6.8.1}% +\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{158}{subsection.6.8.2}% +\contentsline {chapter}{\numberline {7}Interfacing a Potentiometer}{161}{chapter.7}% +\contentsline {section}{\numberline {7.1}Preliminaries}{161}{section.7.1}% +\contentsline {section}{\numberline {7.2}Connecting a potentiometer with Arduino Uno\ using a breadboard}{163}{section.7.2}% +\contentsline {section}{\numberline {7.3}Reading the potentiometer from the Arduino IDE}{164}{section.7.3}% +\contentsline {subsection}{\numberline {7.3.1}Reading the potentiometer}{164}{subsection.7.3.1}% +\contentsline {subsection}{\numberline {7.3.2}Arduino Code}{165}{subsection.7.3.2}% +\contentsline {section}{\numberline {7.4}Reading the potentiometer from Scilab}{166}{section.7.4}% +\contentsline {subsection}{\numberline {7.4.1}Reading the potentiometer}{166}{subsection.7.4.1}% +\contentsline {subsection}{\numberline {7.4.2}Scilab Code}{167}{subsection.7.4.2}% +\contentsline {section}{\numberline {7.5}Reading the potentiometer from Xcos}{168}{section.7.5}% +\contentsline {section}{\numberline {7.6}Reading the potentiometer from Python}{169}{section.7.6}% +\contentsline {subsection}{\numberline {7.6.1}Reading the potentiometer}{169}{subsection.7.6.1}% +\contentsline {subsection}{\numberline {7.6.2}Python Code}{171}{subsection.7.6.2}% +\contentsline {section}{\numberline {7.7}Reading the potentiometer from Julia}{173}{section.7.7}% +\contentsline {subsection}{\numberline {7.7.1}Reading the potentiometer}{173}{subsection.7.7.1}% +\contentsline {subsection}{\numberline {7.7.2}Julia Code}{174}{subsection.7.7.2}% +\contentsline {section}{\numberline {7.8}Reading the potentiometer from OpenModelica}{175}{section.7.8}% +\contentsline {subsection}{\numberline {7.8.1}Reading the potentiometer}{175}{subsection.7.8.1}% +\contentsline {subsection}{\numberline {7.8.2}OpenModelica Code}{176}{subsection.7.8.2}% +\contentsline {chapter}{\numberline {8}Interfacing a Thermistor}{179}{chapter.8}% +\contentsline {section}{\numberline {8.1}Preliminaries}{179}{section.8.1}% +\contentsline {section}{\numberline {8.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{180}{section.8.2}% +\contentsline {section}{\numberline {8.3}Interfacing the thermistor from the Arduino IDE}{183}{section.8.3}% +\contentsline {subsection}{\numberline {8.3.1}Interfacing the thermistor}{183}{subsection.8.3.1}% +\contentsline {paragraph}{Note:}{185}{section*.115}% +\contentsline {subsection}{\numberline {8.3.2}Arduino Code}{185}{subsection.8.3.2}% +\contentsline {section}{\numberline {8.4}Interfacing the thermistor from Scilab}{187}{section.8.4}% +\contentsline {subsection}{\numberline {8.4.1}Interfacing the thermistor}{187}{subsection.8.4.1}% +\contentsline {paragraph}{Note:}{189}{section*.116}% +\contentsline {subsection}{\numberline {8.4.2}Scilab Code}{190}{subsection.8.4.2}% +\contentsline {section}{\numberline {8.5}Interfacing the thermistor from Xcos}{191}{section.8.5}% +\contentsline {paragraph}{Note:}{194}{section*.123}% +\contentsline {section}{\numberline {8.6}Interfacing the thermistor from Python}{195}{section.8.6}% +\contentsline {subsection}{\numberline {8.6.1}Interfacing the thermistor}{195}{subsection.8.6.1}% +\contentsline {paragraph}{Note:}{198}{section*.124}% +\contentsline {subsection}{\numberline {8.6.2}Python Code}{198}{subsection.8.6.2}% +\contentsline {section}{\numberline {8.7}Interfacing the thermistor from Julia}{200}{section.8.7}% +\contentsline {subsection}{\numberline {8.7.1}Interfacing the thermistor}{200}{subsection.8.7.1}% +\contentsline {paragraph}{Note:}{202}{section*.125}% +\contentsline {subsection}{\numberline {8.7.2}Julia Code}{203}{subsection.8.7.2}% +\contentsline {section}{\numberline {8.8}Interfacing the thermistor from OpenModelica}{204}{section.8.8}% +\contentsline {subsection}{\numberline {8.8.1}Interfacing the thermistor}{204}{subsection.8.8.1}% +\contentsline {paragraph}{Note:}{206}{section*.126}% +\contentsline {subsection}{\numberline {8.8.2}OpenModelica Code}{206}{subsection.8.8.2}% +\contentsline {chapter}{\numberline {9}Interfacing a Servomotor}{209}{chapter.9}% +\contentsline {section}{\numberline {9.1}Preliminaries}{209}{section.9.1}% +\contentsline {section}{\numberline {9.2}Connecting a servomotor with Arduino Uno\ using a breadboard}{211}{section.9.2}% +\contentsline {section}{\numberline {9.3}Controlling the servomotor through the Arduino IDE}{212}{section.9.3}% +\contentsline {subsection}{\numberline {9.3.1}Controlling the servomotor}{212}{subsection.9.3.1}% +\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{215}{subsection.9.3.2}% +\contentsline {section}{\numberline {9.4}Controlling the servomotor through Scilab}{218}{section.9.4}% +\contentsline {subsection}{\numberline {9.4.1}Controlling the servomotor}{218}{subsection.9.4.1}% +\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{220}{subsection.9.4.2}% +\contentsline {section}{\numberline {9.5}Controling the servomotor through Xcos}{222}{section.9.5}% +\contentsline {section}{\numberline {9.6}Controlling the servomotor through Python}{226}{section.9.6}% +\contentsline {subsection}{\numberline {9.6.1}Controlling the servomotor}{226}{subsection.9.6.1}% +\contentsline {subsection}{\numberline {9.6.2}Python Code}{229}{subsection.9.6.2}% +\contentsline {section}{\numberline {9.7}Controlling the servomotor through Julia}{233}{section.9.7}% +\contentsline {subsection}{\numberline {9.7.1}Controlling the servomotor}{233}{subsection.9.7.1}% +\contentsline {subsection}{\numberline {9.7.2}Julia Code}{236}{subsection.9.7.2}% +\contentsline {section}{\numberline {9.8}Controlling the servomotor through OpenModelica}{237}{section.9.8}% +\contentsline {subsection}{\numberline {9.8.1}Controlling the servomotor}{237}{subsection.9.8.1}% +\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{240}{subsection.9.8.2}% +\contentsline {chapter}{\numberline {10}Interfacing a DC Motor}{245}{chapter.10}% +\contentsline {section}{\numberline {10.1}Preliminaries}{245}{section.10.1}% +\contentsline {section}{\numberline {10.2}Controlling the DC motor from Arduino}{249}{section.10.2}% +\contentsline {subsection}{\numberline {10.2.1}Controlling the DC motor}{249}{subsection.10.2.1}% +\contentsline {paragraph}{Note:}{249}{section*.144}% +\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{251}{subsection.10.2.2}% +\contentsline {section}{\numberline {10.3}Controlling the DC motor from Scilab}{253}{section.10.3}% +\contentsline {subsection}{\numberline {10.3.1}Controlling the DC motor}{253}{subsection.10.3.1}% +\contentsline {paragraph}{Note:}{253}{section*.145}% +\contentsline {paragraph}{Note:}{255}{section*.146}% +\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{256}{subsection.10.3.2}% +\contentsline {section}{\numberline {10.4}Controlling the DC motor from Xcos}{258}{section.10.4}% +\contentsline {section}{\numberline {10.5}Controlling the DC motor from Python}{262}{section.10.5}% +\contentsline {subsection}{\numberline {10.5.1}Controlling the DC motor}{262}{subsection.10.5.1}% +\contentsline {paragraph}{Note:}{262}{section*.153}% +\contentsline {paragraph}{Note:}{264}{section*.154}% +\contentsline {subsection}{\numberline {10.5.2}Python Code}{265}{subsection.10.5.2}% +\contentsline {section}{\numberline {10.6}Controlling the DC motor from Julia}{269}{section.10.6}% +\contentsline {subsection}{\numberline {10.6.1}Controlling the DC motor}{269}{subsection.10.6.1}% +\contentsline {paragraph}{Note:}{269}{section*.155}% +\contentsline {paragraph}{Note:}{271}{section*.156}% +\contentsline {subsection}{\numberline {10.6.2}Julia Code}{272}{subsection.10.6.2}% +\contentsline {section}{\numberline {10.7}Controlling the DC motor from OpenModelica}{273}{section.10.7}% +\contentsline {subsection}{\numberline {10.7.1}Controlling the DC motor}{273}{subsection.10.7.1}% +\contentsline {paragraph}{Note:}{273}{section*.157}% +\contentsline {paragraph}{Note:}{275}{section*.158}% +\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{276}{subsection.10.7.2}% +\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{281}{chapter.11}% +\contentsline {section}{\numberline {11.1}Preliminaries}{281}{section.11.1}% +\contentsline {subsection}{\numberline {11.1.1}Energy meter}{283}{subsection.11.1.1}% +\contentsline {paragraph}{Note:}{286}{section*.165}% +\contentsline {subsection}{\numberline {11.1.2}Endianness}{288}{subsection.11.1.2}% +\contentsline {section}{\numberline {11.2}Setup for the experiment}{290}{section.11.2}% +\contentsline {section}{\numberline {11.3}Software required for this experiment}{291}{section.11.3}% +\contentsline {subsection}{\numberline {11.3.1}Arduino Firmware}{293}{subsection.11.3.1}% +\contentsline {section}{\numberline {11.4}Manifestation of Modbus protocol through Scilab}{294}{section.11.4}% +\contentsline {section}{\numberline {11.5}Reading the electrical parameters from Scilab}{295}{section.11.5}% +\contentsline {subsection}{\numberline {11.5.1}Reading the electrical parameters}{295}{subsection.11.5.1}% +\contentsline {subsection}{\numberline {11.5.2}Scilab Code}{295}{subsection.11.5.2}% +\contentsline {paragraph}{Note: }{297}{section*.173}% +\contentsline {subsection}{\numberline {11.5.3}Output in the Scilab Console}{297}{subsection.11.5.3}% +\contentsline {section}{\numberline {11.6}Reading the electrical parameters from Xcos}{300}{section.11.6}% +\contentsline {section}{\numberline {11.7}Manifestation of Modbus protocol through Python}{302}{section.11.7}% +\contentsline {paragraph}{Note: }{302}{section*.182}% +\contentsline {section}{\numberline {11.8}Reading the electrical parameters from Python}{303}{section.11.8}% +\contentsline {subsection}{\numberline {11.8.1}Reading the electrical parameters}{303}{subsection.11.8.1}% +\contentsline {subsection}{\numberline {11.8.2}Python Code}{303}{subsection.11.8.2}% +\contentsline {section}{\numberline {11.9}Manifestation of Modbus protocol through Julia}{304}{section.11.9}% +\contentsline {paragraph}{Note: }{305}{section*.183}% +\contentsline {section}{\numberline {11.10}Reading the electrical parameters from Julia}{305}{section.11.10}% +\contentsline {subsection}{\numberline {11.10.1}Reading the electrical parameters}{305}{subsection.11.10.1}% +\contentsline {subsection}{\numberline {11.10.2}Julia Code}{305}{subsection.11.10.2}% +\contentsline {section}{\numberline {11.11}Manifestation of Modbus protocol through OpenModelica}{307}{section.11.11}% +\contentsline {paragraph}{Note: }{307}{section*.184}% +\contentsline {section}{\numberline {11.12}Reading the electrical parameters from OpenModelica}{308}{section.11.12}% +\contentsline {subsection}{\numberline {11.12.1}Reading the electrical parameters}{308}{subsection.11.12.1}% +\contentsline {subsection}{\numberline {11.12.2}OpenModelica Code}{308}{subsection.11.12.2}% +\contentsline {chapter}{\numberline {A}Procuring the Hardware}{311}{appendix.A}% +\contentsline {chapter}{\numberline {References}}{313}{appendix*.186}% Binary files differdiff --git a/openmodelica.pdf b/openmodelica.pdf Binary files differBinary files differBinary files differindex f69c9c3..ed1d06a 100644 --- a/openmodelica.pdf +++ b/openmodelica.pdf |