Difference between revisions of "ECE 110/Fall 2022/Lab Supplements"
(Created page with "== Typographical/Other Errors == None yet! == Clarifications == None yet! == Relevant Resources == * Tinkercad web site: [https://www.tinkercad.com/ https://www.tinkercad.co...") |
|||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | == Typographical/Other Errors == | + | __TOC__ |
+ | == General == | ||
+ | * Tinkercad web site: [https://www.tinkercad.com/ https://www.tinkercad.com/] | ||
+ | * Arduino web website: [https://www.arduino.cc/ https://www.arduino.cc/] | ||
+ | ** Software page: [https://www.arduino.cc/en/Main.Software https://www.arduino.cc/en/Main.Software] | ||
+ | ** Support page: [https://support.arduino.cc/hc/en-us https://support.arduino.cc/hc/en-us] | ||
+ | * Gradescope web site: [https://www.gradescope.com/ https://www.gradescope.com/] | ||
+ | |||
+ | |||
+ | <div class="mw-collapsible mw-collapsed" style="width:100%"> | ||
+ | == Lab 0 == | ||
+ | <div class="mw-collapsible-content"> | ||
+ | |||
+ | === Typographical/Other Errors === | ||
+ | None yet! | ||
+ | |||
+ | === Clarifications === | ||
+ | None yet! | ||
+ | |||
+ | === Relevant Resources === | ||
+ | None yet! | ||
+ | </div> | ||
+ | |||
+ | <div class="mw-collapsible mw-collapsed" style="width:100%"> | ||
+ | == Lab 1 == | ||
+ | <div class="mw-collapsible-content"> | ||
+ | |||
+ | === Typographical/Other Errors === | ||
+ | None yet! | ||
+ | |||
+ | === Clarifications === | ||
+ | None yet! | ||
+ | |||
+ | === Relevant Resources === | ||
+ | * Arduino If statement page: [https://www.arduino.cc/reference/en/language/structure/control-structure/if/ https://www.arduino.cc/reference/en/language/structure/control-structure/if/] | ||
+ | * EGRWiki pages: | ||
+ | ** [[ECE_110/Equipment/Breadboards]] | ||
+ | ** [[Resistor_Color_Codes]] | ||
+ | ** [[ECE_110/Equipment/Keysight_36311A]] DC Power Supply | ||
+ | ** [[ECE_110/Equipment/Keysight_34460A]] Digital Multimeter | ||
+ | ** [[Examples/Req]] Equivalent resistance and voltage division examples | ||
+ | </div> | ||
+ | |||
+ | <div class="mw-collapsible mw-collapsed" style="width:100%"> | ||
+ | == Lab 2 == | ||
+ | <div class="mw-collapsible-content"> | ||
+ | |||
+ | === Typographical/Other Errors === | ||
+ | None yet! | ||
+ | |||
+ | === Clarifications === | ||
+ | None yet! | ||
+ | |||
+ | === Relevant Resources === | ||
+ | * Arduino If statement page: [https://www.arduino.cc/reference/en/language/structure/control-structure/if/ https://www.arduino.cc/reference/en/language/structure/control-structure/if/] | ||
+ | * ASCII table: [http://www.asciitable.com/ http://www.asciitable.com/] | ||
+ | * EGRWiki pages: | ||
+ | ** [[ECE 110/Equipment/XBee]] XBee wireless communication module | ||
+ | ** [[ECE 110/Equipment/Built in RGB LED]] | ||
+ | * Parallax Pages | ||
+ | ** [https://learn.parallax.com/tutorials/robot/shield-bot/robotics-board-education-shield-arduino Robotics with the BOE Shield for Arduino] | ||
+ | ** [http://learn.parallax.com/node/179 How to Use the Arduino Servo Library] | ||
+ | |||
+ | </div> | ||
+ | |||
+ | <div class="mw-collapsible mw-collapsed" style="width:100%"> | ||
+ | |||
+ | == Lab 3 == | ||
+ | <div class="mw-collapsible-content"> | ||
+ | |||
+ | === Typographical/Other Errors === | ||
+ | None yet! | ||
+ | |||
+ | === Clarifications === | ||
+ | ==== Resistor Table Codes ==== | ||
+ | The following $$\LaTeX$$ code was used in the lab handout to make the four example tables for resistors. Note that the command: | ||
+ | <syntaxhighlight lang=latex> | ||
+ | \usepackage[dvipsnames]{xcolor} | ||
+ | </syntaxhighlight> | ||
+ | needs to be in the preamble to define specialty colors like Goldenrod. Also, the <code>\strut</code> command is used to produce an unprinted character that is slightly larger than any letter in the font. Without it, the colorboxes go slightly above the tallest ascender in the word and slightly below the deepest descender in a word. | ||
+ | |||
+ | <syntaxhighlight lang=latex> | ||
+ | \begin{center} | ||
+ | \begin{tabular}{|c|cccc|} \hline | ||
+ | Resistor & 1st & 2nd & 3rd & 4th\\ \hline | ||
+ | 43 $\Omega$ & yellow & orange & black & gold\\ \hline | ||
+ | \end{tabular} | ||
+ | \end{center} | ||
+ | or | ||
+ | \begin{center} | ||
+ | \begin{tabular}{|c|cccc|} \hline | ||
+ | Resistor & 1st & 2nd & 3rd & 4th\\ \hline | ||
+ | 43 $\Omega$ & \colorbox{yellow}{~\strut ~} & \colorbox{orange}{~\strut ~} & \colorbox{black}{~\strut ~} & \colorbox{Goldenrod}{~\strut ~}\\ \hline | ||
+ | \end{tabular} | ||
+ | \end{center} | ||
+ | or | ||
+ | \begin{center} | ||
+ | \begin{tabular}{|c|cccc|} \hline | ||
+ | Resistor & 1st & 2nd & 3rd & 4th\\ \hline | ||
+ | 43 $\Omega$ & \color{yellow}yellow\color{black} & \color{orange}orange\color{black} & black & \color{Goldenrod}gold\color{black}\\ \hline | ||
+ | \end{tabular} | ||
+ | \end{center} | ||
+ | or | ||
+ | \begin{center} | ||
+ | \begin{tabular}{|c|cccc|} \hline | ||
+ | Resistor & 1st & 2nd & 3rd & 4th\\ \hline | ||
+ | 43 $\Omega$ & \colorbox{yellow}{\strut yellow} & \colorbox{orange}{\strut orange} & \colorbox{black}{\color{white}\strut black\color{black}} & \colorbox{Goldenrod}{\strut gold}\\ \hline | ||
+ | \end{tabular} | ||
+ | \end{center} | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | You can also create new functions in $$\LaTeX$$ if you find yourself doing similar things over and over. For example, the following three commands might be useful in creating the last version of the table: | ||
+ | <syntaxhighlight lang=latex> | ||
+ | \newcommand{\rescolw}[1]{\colorbox{#1}{\makebox(40,12){\textcolor{white}{#1}}}} | ||
+ | \newcommand{\rescolk}[1]{\colorbox{#1}{\makebox(40,12){\textcolor{black}{#1}}}} | ||
+ | \newcommand{\rescolg}{\colorbox{Goldenrod}{\makebox(40,12){\textcolor{black}{gold}}}} | ||
+ | </syntaxhighlight> | ||
+ | where the [1] means there will be one argument; that argument gets placed wherever the #1 is in the new command. The last version of the table can now be written as: | ||
+ | <syntaxhighlight lang=latex> | ||
+ | \begin{center} | ||
+ | \begin{tabular}{|c|cccc|} \hline | ||
+ | Resistor & 1st & 2nd & 3rd & 4th\\ \hline | ||
+ | 43 $\Omega$ & \rescolk{yellow} & \rescolk{orange} & \rescolw{black} & \rescolg\\ \hline | ||
+ | \end{tabular} | ||
+ | \end{center} | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | Note that gold was given its own command because there is no "gold" color in color. In the other two new commands, the argument was used both to define the color and to type the name of the color; in the \rescolg, there is no argument and the black text color, word gold, and Goldenrod background were all hard coded. | ||
+ | |||
+ | === Relevant Resources === | ||
+ | * EGRWiki pages: | ||
+ | ** [[Root_Mean_Square]] | ||
+ | ** [[Resistor_Color_Codes]] | ||
+ | ** [[ECE_110/Equipment/Keysight_EDU33211A]] Waveform/Function Generator | ||
+ | ** [[ECE_110/Equipment/Keysight_DSOX1202A]] Digital Oscilloscope | ||
+ | ** [[ECE 110/Equipment/Keysight 34460A]] Multimeter | ||
+ | ** [[Examples/Req]] Equivalent resistance and voltage division examples | ||
+ | <!-- | ||
+ | * Circuit Drawing Tools | ||
+ | ** CircuiTikz: [https://www.overleaf.com/learn/latex/CircuiTikz_package https://www.overleaf.com/learn/latex/CircuiTikz_package] | ||
+ | ** Circuit Diagram: [https://www.circuit-diagram.org/ https://www.circuit-diagram.org/] | ||
+ | ** MultiSim: [https://www.multisim.com/ https://www.multisim.com/] | ||
+ | ** XCircuit: [http://opencircuitdesign.com/xcircuit/ http://opencircuitdesign.com/xcircuit/] | ||
+ | --> | ||
+ | </div> | ||
+ | |||
+ | <div class="mw-collapsible mw-collapsed" style="width:100%"> | ||
+ | == Lab 4 == | ||
+ | <div class="mw-collapsible-content"> | ||
+ | |||
+ | === Typographical/Other Errors === | ||
None yet! | None yet! | ||
− | == Clarifications == | + | === Clarifications === |
+ | |||
+ | === Relevant Resources === | ||
+ | * Sensors | ||
+ | ** [[ECE 110/Equipment/Hall Effect Sensor|Hall Effect Sensor]] | ||
+ | ** [[ECE 110/Equipment/Color Sensor|Color Sensor]] | ||
+ | ** [[ECE 110/Equipment/IR Thermal Sensor| IR Thermal Sensor]] | ||
+ | ** [[ECE 110/Equipment/RFID Module|RFID Reader]] | ||
+ | ** [[ECE 110/Equipment/Ping Sensor|PING Sensor]] | ||
+ | * Displays | ||
+ | ** Piezoelectric Speaker | ||
+ | ** LED | ||
+ | ** [[ECE 110/Equipment/Built in RGB LED|CX-Bot RGB LED]] | ||
+ | ** [[ECE 110/Equipment/LCD Display|16x2 LCD Display]] | ||
+ | |||
+ | </div> | ||
+ | |||
+ | |||
+ | <!-- | ||
+ | <div class="mw-collapsible mw-collapsed" style="width:100%"> | ||
+ | == Lab N == | ||
+ | <div class="mw-collapsible-content"> | ||
+ | |||
+ | === Typographical/Other Errors === | ||
None yet! | None yet! | ||
− | == Relevant Resources == | + | === Clarifications === |
− | + | ||
− | + | === Relevant Resources === | |
− | + | ||
− | + | </div> | |
− | + | --> | |
+ | |||
+ | [[Category:ECE 110]] |
Latest revision as of 14:39, 15 September 2022
General
- Tinkercad web site: https://www.tinkercad.com/
- Arduino web website: https://www.arduino.cc/
- Software page: https://www.arduino.cc/en/Main.Software
- Support page: https://support.arduino.cc/hc/en-us
- Gradescope web site: https://www.gradescope.com/
Lab 0
Typographical/Other Errors
None yet!
Clarifications
None yet!
Relevant Resources
None yet!
Lab 1
Typographical/Other Errors
None yet!
Clarifications
None yet!
Relevant Resources
- Arduino If statement page: https://www.arduino.cc/reference/en/language/structure/control-structure/if/
- EGRWiki pages:
- ECE_110/Equipment/Breadboards
- Resistor_Color_Codes
- ECE_110/Equipment/Keysight_36311A DC Power Supply
- ECE_110/Equipment/Keysight_34460A Digital Multimeter
- Examples/Req Equivalent resistance and voltage division examples
Lab 2
Typographical/Other Errors
None yet!
Clarifications
None yet!
Relevant Resources
- Arduino If statement page: https://www.arduino.cc/reference/en/language/structure/control-structure/if/
- ASCII table: http://www.asciitable.com/
- EGRWiki pages:
- ECE 110/Equipment/XBee XBee wireless communication module
- ECE 110/Equipment/Built in RGB LED
- Parallax Pages
Lab 3
Typographical/Other Errors
None yet!
Clarifications
Resistor Table Codes
The following $$\LaTeX$$ code was used in the lab handout to make the four example tables for resistors. Note that the command:
\usepackage[dvipsnames]{xcolor}
needs to be in the preamble to define specialty colors like Goldenrod. Also, the \strut
command is used to produce an unprinted character that is slightly larger than any letter in the font. Without it, the colorboxes go slightly above the tallest ascender in the word and slightly below the deepest descender in a word.
\begin{center}
\begin{tabular}{|c|cccc|} \hline
Resistor & 1st & 2nd & 3rd & 4th\\ \hline
43 $\Omega$ & yellow & orange & black & gold\\ \hline
\end{tabular}
\end{center}
or
\begin{center}
\begin{tabular}{|c|cccc|} \hline
Resistor & 1st & 2nd & 3rd & 4th\\ \hline
43 $\Omega$ & \colorbox{yellow}{~\strut ~} & \colorbox{orange}{~\strut ~} & \colorbox{black}{~\strut ~} & \colorbox{Goldenrod}{~\strut ~}\\ \hline
\end{tabular}
\end{center}
or
\begin{center}
\begin{tabular}{|c|cccc|} \hline
Resistor & 1st & 2nd & 3rd & 4th\\ \hline
43 $\Omega$ & \color{yellow}yellow\color{black} & \color{orange}orange\color{black} & black & \color{Goldenrod}gold\color{black}\\ \hline
\end{tabular}
\end{center}
or
\begin{center}
\begin{tabular}{|c|cccc|} \hline
Resistor & 1st & 2nd & 3rd & 4th\\ \hline
43 $\Omega$ & \colorbox{yellow}{\strut yellow} & \colorbox{orange}{\strut orange} & \colorbox{black}{\color{white}\strut black\color{black}} & \colorbox{Goldenrod}{\strut gold}\\ \hline
\end{tabular}
\end{center}
You can also create new functions in $$\LaTeX$$ if you find yourself doing similar things over and over. For example, the following three commands might be useful in creating the last version of the table:
\newcommand{\rescolw}[1]{\colorbox{#1}{\makebox(40,12){\textcolor{white}{#1}}}}
\newcommand{\rescolk}[1]{\colorbox{#1}{\makebox(40,12){\textcolor{black}{#1}}}}
\newcommand{\rescolg}{\colorbox{Goldenrod}{\makebox(40,12){\textcolor{black}{gold}}}}
where the [1] means there will be one argument; that argument gets placed wherever the #1 is in the new command. The last version of the table can now be written as:
\begin{center}
\begin{tabular}{|c|cccc|} \hline
Resistor & 1st & 2nd & 3rd & 4th\\ \hline
43 $\Omega$ & \rescolk{yellow} & \rescolk{orange} & \rescolw{black} & \rescolg\\ \hline
\end{tabular}
\end{center}
Note that gold was given its own command because there is no "gold" color in color. In the other two new commands, the argument was used both to define the color and to type the name of the color; in the \rescolg, there is no argument and the black text color, word gold, and Goldenrod background were all hard coded.
Relevant Resources
- EGRWiki pages:
- Root_Mean_Square
- Resistor_Color_Codes
- ECE_110/Equipment/Keysight_EDU33211A Waveform/Function Generator
- ECE_110/Equipment/Keysight_DSOX1202A Digital Oscilloscope
- ECE 110/Equipment/Keysight 34460A Multimeter
- Examples/Req Equivalent resistance and voltage division examples
Lab 4
Typographical/Other Errors
None yet!
Clarifications
Relevant Resources
- Sensors
- Displays
- Piezoelectric Speaker
- LED
- CX-Bot RGB LED
- 16x2 LCD Display