{"id":50,"date":"2014-06-24T14:36:28","date_gmt":"2014-06-24T18:36:28","guid":{"rendered":"https:\/\/itp.nyu.edu\/physicalcomputing\/?page_id=50"},"modified":"2025-09-25T17:15:08","modified_gmt":"2025-09-25T21:15:08","slug":"components","status":"publish","type":"page","link":"https:\/\/itp.nyu.edu\/physcomp\/labs\/components\/","title":{"rendered":"Lab: Components"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Introduction\"><\/span>Introduction<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In this lab you will learn about some of the components you&#8217;ll use frequently when making electronic circuits. For more on any given component, please check out its datasheet. There are no specific activities in this lab other than to examine the components and to familiarize yourself with them.<\/p>\n\n\n\n<p><a rel=\"noopener noreferrer\" href=\"https:\/\/vimeo.com\/380349512\" target=\"_blank\">Video: Schematics 5 <\/a><\/p>\n\n\n\n<p>A <strong>datasheet<\/strong> or spec sheet is a document (printed or .pdf) that describes the technical characteristics of a sensor, electronic component, product, material or other. It includes details on how to use the component in a circuit and other useful design info on how to integrate it into a system together with specifications on performance and other characteristics that are important to know.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Components\"><\/span>Components<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><a rel=\"noopener noreferrer\" href=\"https:\/\/vimeo.com\/380351140\" target=\"_blank\">Video: Datasheets<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Component_or_Package\"><\/span>Component or Package?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>You&#8217;ll hear a few different terms for the parts you&#8217;re working with. A <strong>component<\/strong> is an electrical part that has a particular function, as described below. A component&#8217;s <strong>package<\/strong> refers to its physical form.  The package is not dependent on what the actual part is. You&#8217;ll see a few components below that have the same package, like some of the voltage regulators and some of the transistors. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Voltage_Regulator\"><\/span>Voltage Regulator<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/v_reg_7805.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/v_reg_7805-150x150.jpg\" alt=\"5-volt regulator, model 7805. This component has three legs and a tab at the top with a hole in it. If you hold the component with the tab at the top and the bulging side of the component facing you, the legs will be arranged, from left to right, voltage input, ground, and voltage output.\" class=\"wp-image-784\"\/><\/a><figcaption class=\"wp-element-caption\">Figure 1. 5-volt voltage regulator, model 7805<\/figcaption><\/figure>\n\n\n\n<p><a rel=\"noopener noreferrer\" href=\"https:\/\/vimeo.com\/380347302#t=2m9s\" target=\"_blank\">Related Video: Voltage Regulator<\/a><br><a rel=\"noopener noreferrer\" href=\"https:\/\/vimeo.com\/380170576#t=4m43s\" target=\"_blank\">Related Video: Using a voltage regulator on a breadboard<\/a><\/p>\n\n\n\n<p>Different electronic circuits operate at different voltages. For example, the Arduino Uno operates at 5 volts, while the Arduino Nano 33 IoT and BLE, and the MKR series, operate at 3.3 volts.  A voltage regulator takes a range of DC voltage as input and convert it to a constant voltage. For example, this regulator shown in Figure 1, a 7805 regulator, takes a range of 9 &#8211; 15 volts DC input and converts it to a constant 5-volt output. Using this regulator, you could power a 5-volt motor or a string of addressable LEDs from a 12-volt power source. <\/p>\n\n\n\n<p>Note the label on the regulator that reads &#8220;7805&#8221;. This is the part number. Other parts have the same physical package, however.  This\u00a0 is a TO-220 package. Many different parts use this same package, for example, and not all of them are voltage regulators. Also, sometimes the same part will come in different packages, so you can use it in different size devices.<\/p>\n\n\n\n<p><a rel=\"noopener noreferrer\" href=\"https:\/\/vimeo.com\/380349512#t=1m23s\" target=\"_blank\">Related Video: Read the labels to differentiate similar packages<\/a><\/p>\n\n\n\n<p>The 7800 series regulators come in many different voltages. 7805 is a 5-volt regulator. 7809 is a 9-volt regulator. 7812 is a 12-volt regulator. All the regulators of this family have the same pin connections. In the image above, the left leg is connected to the input voltage. The middle leg is connected to ground. The right leg is the output voltage.<\/p>\n\n\n\n<p><a rel=\"noopener noreferrer\" href=\"http:\/\/www.ti.com\/product\/LM7805C\" target=\"_blank\">Link to 7805 datasheet<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/LD111733V_regulator.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/LD111733V_regulator-150x150.jpg\" alt=\"3.3-volt regulator, model LD111733V. This component has three legs and a tab at the top with a hole in it. If you hold the component with the tab at the top and the bulging side of the component facing you, the legs will be arranged, from left to right, ground, voltage output, and voltage input. The back tab is attached to the voltage output pin.\" class=\"wp-image-4743\"\/><\/a><figcaption class=\"wp-element-caption\">Figure 2. 3.3V voltage regulator<\/figcaption><\/figure>\n\n\n\n<p>3.3V regulators are also common. Note that not all regulators which share the same package have the same pin configuration. For example, the <a href=\"https:\/\/www.st.com\/content\/ccc\/resource\/technical\/document\/datasheet\/99\/3b\/7d\/91\/91\/51\/4b\/be\/CD00000544.pdf\/files\/CD00000544.pdf\/jcr:content\/translations\/en.CD00000544.pdf\">LD1117V33<\/a>, a 3.3V regulator shown in Figure 2, comes in the same physical package as a 7805, but its pins are in a different order. The LD1117V33&#8217;s pins, from left to right, are ground, output voltage, input voltage.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"LED\"><\/span>LED<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/leds1.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/leds1-300x200.jpg\" alt=\"LEDs. Shown here are four LEDs. The one on the right is an RGB LED. You can tell this because it has four legs, while the others have only two legs.\" class=\"wp-image-787\" srcset=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/leds1-300x200.jpg 300w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/leds1.jpg 640w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 3. LEDs. Shown here are four LEDs. The one on the right is an RGB LED. You can tell this because it has four legs, while the others have only two legs.<\/figcaption><\/figure>\n\n\n\n<p><a rel=\"noopener noreferrer\" href=\"https:\/\/vimeo.com\/380345304#t=3m12s\" target=\"_blank\">Related Video: Diodes and LEDs<\/a><\/p>\n\n\n\n<p>LEDs, or Light Emitting Diodes (see Figure 3), are diodes that emit light when given the correct voltage and current. Like all diodes, they are <strong>polarized<\/strong>, meaning that they only operate when oriented correctly in the circuit. The <strong>anode<\/strong> of the LED connects to voltage, and the <strong>cathode<\/strong> connects to ground. The anode in the LEDs in this photo is the longer leg on each LED. LEDs come in many different packages. The packages above have built-in lenses.<\/p>\n\n\n\n<p><a rel=\"noopener noreferrer\" href=\"https:\/\/vimeo.com\/374067285#t=4m11s\" target=\"_blank\">Related Video: How to connect an LED and resistor<\/a><\/p>\n\n\n\n<p>These LEDs are the cheapest you can buy, and they&#8217;re not very bright. You can get super-bright LEDs as well, which are much brighter. If you&#8217;re working on applications that need very small light sources, you can also get LEDs in a surface mount package.<\/p>\n\n\n\n<p>LEDs can only handle a limited amount of current and voltage. The details should be covered in each LED&#8217;s datasheet. Here is the <a href=\"http:\/\/americanbrightled.com\/pdffiles\/throughhole\/BL-WZX3V4B-S-B06.pdf\">datasheet of a typical white LED.<\/a>&nbsp;You&#8217;ll see that the forward current is 30 mA max, and the forward voltage is between 2.9 and 3.6V. That means if you give it 30mA at 3.6V, you should get maximum brightness out of it. If you don&#8217;t have the datasheet for your LED, here&#8217;s a link to a handy <a rel=\"noopener noreferrer\" href=\"http:\/\/www.ohmslawcalculator.com\/led-resistor-calculator\" target=\"_blank\">LED current calculator<\/a>. Try putting in the supply voltage (3.3V or 5V), the voltage drop across the LED (the forward voltage), and the current (30 mA) and see what value of resistance you get. For most common LEDs running at 3.3 or 5 volts, a resistor about 220 will limit the current safely while still providing enough to light the LED.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Solderless_Breadboard\"><\/span>Solderless Breadboard<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/breadboard_short-e1532116106284.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/breadboard_short-300x200.jpg\" alt=\"A short solderless breadboard with two rows of holes along each side. There are no components mounted on the board. The board is oriented sideways so that the long rows of holes are on the top and bottom of the image.\" class=\"wp-image-788\"\/><\/a><figcaption class=\"wp-element-caption\">Figure 4. A short solderless breadboard.<\/figcaption><\/figure>\n\n\n\n<p><a rel=\"noopener noreferrer\" href=\"https:\/\/vimeo.com\/374067285#t=0m38s\" target=\"_blank\">Related Video: Introduction to breadboards<\/a><\/p>\n\n\n\n<p>Solderless breadboards are reusable prototyping tools for electronics that allow you to build and experiment with circuits simply by plugging components in and out of its rows and columns. They come in different shape and sizes. Figure 4 shows a typical short solderless breadboard. It has two rows of holes on either side of the board, usually used as voltage and ground buses. The board is turned in this photo so that the bus rows are on top and bottom. In the center of the board, there are thirty rows of holes. There is a divider down the center of the board that breaks up the rows of holes into separate rows. There are five holes per row on the center left and on the center right of each row.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Resistors\"><\/span>Resistors<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/resistors1.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/resistors1-300x200.jpg\" alt=\"Resistors. Shown here are 220-ohm resistors. You can tell this because they have two red and one brown band, followed by a gold band.\" class=\"wp-image-798\" srcset=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/resistors1-300x200.jpg 300w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/resistors1.jpg 640w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 5. Resistors. Shown here are 220-ohm resistors. You can tell this because they have two red and one brown band, followed by a gold band.<\/figcaption><\/figure>\n\n\n\n<p><a href=\"https:\/\/vimeo.com\/380345304#t=0m40s\" target=\"_blank\" rel=\"noreferrer noopener\">Related Video: Resistors, variable resistors, and photocells<\/a><\/p>\n\n\n\n<p>Resistors resist the flow of electrical current. When placed in series, they reduce the voltage, and limit the current. The bands on a resistor indicate the resistor&#8217;s value. Here&#8217;s a handy <a href=\"https:\/\/www.allaboutcircuits.com\/tools\/resistor-color-code-calculator\/\">resistor color code calculator<\/a>. Resistors come in 4-band, 5-band, and 6-band models. In a 4-band resistor, the bands represent the&nbsp;first digit, second digit, multiplier, and tolerance. The resistors shown in Figure 5 are 4-band resistors marked red, red, brown, and gold, for 2, 2, times 10<sup>1<\/sup>, 5%. In other words, these are 220 ohm resistors, +\/-5%.&nbsp; The <a href=\"https:\/\/www.allaboutcircuits.com\/tools\/resistor-color-code-calculator\/\">resistor color code calculator<\/a> explains the bands for 5-and 6-band resistors as well.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Potentiometers\"><\/span>Potentiometers<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/potentiometer3.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/potentiometer3-300x200.jpg\" alt=\"Potentiometer. The one shown here has three legs spaced 0.1 inches apart and can be therefore mounted on a solderless breadboard.\" class=\"wp-image-1029\" srcset=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/potentiometer3-300x200.jpg 300w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/potentiometer3.jpg 640w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 6. Potentiometer. The one shown here has three legs spaced 0.1 inches apart and can be therefore mounted on a solderless breadboard.<\/figcaption><\/figure>\n\n\n\n<p><a href=\"https:\/\/vimeo.com\/380345304#t=2m23s\" target=\"_blank\" rel=\"noreferrer noopener\">Related Video: Potentiometer<\/a><\/p>\n\n\n\n<p>Potentiometers are variable resistors. The two outside terminals act as a fixed resistor. A movable contact called the wiper moves across the resistor, producing a variable resistance between the center terminal and either of the two sides. The potentiometer in Figure 6 has pins so you can mount it on a breadboard.<\/p>\n\n\n\n<p><a rel=\"noopener noreferrer\" href=\"https:\/\/vimeo.com\/380172633#t=3m15s\" target=\"_blank\">Related Video: Measure a potentiometer&#8217;s variable resistance<\/a><br><a rel=\"noopener noreferrer\" href=\"https:\/\/vimeo.com\/372104092#t=0m56s\" target=\"_blank\">Related Video: Potentiometer schematic<\/a><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pots_trimmer.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"185\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pots_trimmer.jpg\" alt=\"Trimmer potentiometers. These are small potentiometers, square, approximately half an inch (1cm) square. They have three legs spaced 0.1 inches (2.54cm) apart and can be therefore mounted on a solderless breadboard.\" class=\"wp-image-790\"\/><\/a><figcaption class=\"wp-element-caption\">Figure 7. Trimmer potentiometers<\/figcaption><\/figure><\/div>\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p><strong>Trimmer potentiometers<\/strong>&nbsp;like those shown in Figure 7 are designed to be mounted on a circuit board, and are difficult to turn, so you can use them to adjust a circuit. They&#8217;re very small. They&#8217;re handy to use as physical variables, to tune your project.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Force_Sensing_Resistors\"><\/span>Force Sensing Resistors<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>Force sensing resistors are sensors that change their resistance in response to force. They&#8217;re usually used to make analog alternatives alternatives to buttons. They&#8217;re made of a substrate of resistive rubber between two layers of conductive ink on a plastic film. They come in a variety of form factors. Figure 8 shows a pair of force sensors about 2.5cm across, sized for finger presses.  There are a few companies who make them, including <a href=\"https:\/\/www.interlinkelectronics.com\/fsr-400-series\">Interlink<\/a>, <a href=\"https:\/\/www.digikey.com\/products\/en?keywords=FSR07BE-ND\">Ohmite<\/a>, and <a href=\"https:\/\/www.tekscan.com\/flexiforce-load-force-sensors-and-systems?utm_source=google&amp;utm_medium=cpc&amp;utm_term=force+sensors&amp;utm_content=eta3&amp;utm_campaign=flexiforce&amp;gclid=CjwKCAjwmK6IBhBqEiwAocMc8r81hqNQG4-H8uU1ob1XdQ1cpkth1nCOx7EZ7ZrydHExfoEp9ODS4RoCndMQAvD_BwE\">Tekscan<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1714\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/ForceSensingResistors-scaled.jpg\" alt=\"A pair of force sensing resistors\" class=\"wp-image-9033\" style=\"width:320px;height:210px\" srcset=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/ForceSensingResistors-scaled.jpg 2560w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/ForceSensingResistors-768x514.jpg 768w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/ForceSensingResistors-1536x1028.jpg 1536w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/ForceSensingResistors-2048x1371.jpg 2048w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/ForceSensingResistors-1200x803.jpg 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption class=\"wp-element-caption\">Figure 8. Force sensing resistors<\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Flex_Sensors_Flex_Resistors\"><\/span>Flex Sensors (Flex Resistors)<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>Flex sensors are similar to force sensing resistors in construction, but they change their resistance as they bend. They are typically about the length of a finger, and they work well for measuring the bend of a finger. <a href=\"https:\/\/www.spectrasymbol.com\/product\/flex-sensors\/\">Spectrasymbol<\/a> make these. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"600\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/flex_sensors1.jpg\" alt=\"Photo of a flex sensor. A plastic strip approx. 0.25 inches wide by 6 inches long, with pins at one end. When you bend the sensor, the resistance between the pins changes\" class=\"wp-image-1030\" style=\"width:450px;height:300px\" srcset=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/flex_sensors1.jpg 900w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/flex_sensors1-300x200.jpg 300w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption class=\"wp-element-caption\">Figure 9. Flex sensor<\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Force_Sensing_Potentiometers\"><\/span>Force Sensing Potentiometers<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>Force Sensing Potentiometers, sometimes called SoftPots, are also similar to force sensing resistors. The difference is that a force sensing resistor gives one value wherever you press on it, while a force sensing potentiometer acts like a normal potentiometer: the value changes depending on where along its length you press. They come in linear and round form factors. <a href=\"https:\/\/www.ohmite.com\/assets\/docs\/fsp-series.pdf\">Ohmite<\/a>, <a href=\"https:\/\/www.interlinkelectronics.com\/position-sensing-resistor\">Interlink<\/a>, and <a href=\"https:\/\/www.spectrasymbol.com\/product\/softpot\/\">Spectrasymbol<\/a> make FSPs.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"581\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/force_sensing_potentimeter-scaled.jpg\" alt=\"\" class=\"wp-image-9034\" srcset=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/force_sensing_potentimeter-scaled.jpg 2560w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/force_sensing_potentimeter-768x174.jpg 768w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/force_sensing_potentimeter-1536x348.jpg 1536w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/force_sensing_potentimeter-2048x465.jpg 2048w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/force_sensing_potentimeter-1200x272.jpg 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption class=\"wp-element-caption\">Figure 10. Force Sensing Potentiometer<\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Light-Dependent_Resistors_Photocells\"><\/span>Light-Dependent Resistors (Photocells)<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/photocell.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/photocell-300x200.jpg\" alt=\"Photocell, or light-dependent resistor. This component has a round top and two wire legs. You measure the resistance between the two legs and expose the top to a varying light source in order to vary the resistance between the two legs.\" class=\"wp-image-794\" srcset=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/photocell-300x200.jpg 300w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/photocell.jpg 640w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 11. Photocell, or light-dependent resistor<\/figcaption><\/figure>\n\n\n\n<p><a rel=\"noopener noreferrer\" href=\"https:\/\/vimeo.com\/372103855#t=3m24s\" target=\"_blank\">Related Video: Wiring a photocell to measure light<\/a><\/p>\n\n\n\n<p>Light-dependent resistors, or photocells, are variable resistors whose resistance changes with the intensity of the light falling on the resistor. Photocells, as seen in Figure 11, are made with cadmium sulfide, which is a toxic chemical. Increasingly, they are being replaced in hobbyist kits by phototransistors, which are somewhat less toxic (see below).<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Thermistors\"><\/span>Thermistors<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/thermistor1.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"172\" height=\"300\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/thermistor1.jpg\" alt=\"Thermistor, or temperature-dependent resistor. This component has a bulbous top and two wire legs. You measure the resistance between the two legs and expose the top to a varying temperature in order to vary the resistance between the two legs.\" class=\"wp-image-801\"\/><\/a><figcaption class=\"wp-element-caption\">Figure 12. Themistor, or temperature-sensitive resistor<\/figcaption><\/figure>\n\n\n\n<p>Thermistors, seen in Figure 12, are variable resistors whose resistance changes as the temperature changes.&nbsp;You measure the resistance between the two legs of the thermistor and expose the top to a varying temperature in order to vary the resistance between the two legs.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Switches\"><\/span>Switches<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/switches_momentary1.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/switches_momentary1-300x200.jpg\" alt=\"Pushbuttons. These ones are designed to be mounted on a solderless breadboard. They have four legs spaced 0.2 inches apart on both sides of the component.\" class=\"wp-image-799\" srcset=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/switches_momentary1-300x200.jpg 300w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/switches_momentary1.jpg 640w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 13. Pushbuttons, also called momentary switches<\/figcaption><\/figure>\n\n\n\n<p><a rel=\"noopener noreferrer\" href=\"https:\/\/vimeo.com\/380345304#t=4m52s\" target=\"_blank\">Related Video: Switches<\/a><br><a rel=\"noopener noreferrer\" href=\"https:\/\/vimeo.com\/374066875#t=0m0s\" target=\"_blank\">Related Video: Connect a switch to a digital pin<\/a><\/p>\n\n\n\n<p>Switches are one form of digital input. There are many kinds of switches. The two most useful categories are <strong>momentary<\/strong> switches, which remain closed only when you press them, and <strong>toggle<\/strong> switches, which stay in place after you switch them.<\/p>\n\n\n\n<p><strong>Pushbuttons<\/strong> are a common type of momentary switch. The pushbuttons in the photo in Figure 13 above are designed to be mounted on a circuit board. They are very small, less than 1 centimeter on a side. They have four pins. When the button is facing you,&nbsp; top two are connected to each other, and the bottom two are connected to each other. Pushing the button connects the top pins to the bottom pins.<\/p>\n\n\n\n<p><strong>Toggle switches <\/strong>(Figure 14)&nbsp;stay in one position when you flip them. Wall light switches are common examples of toggle switches. Unlike a momentary switch, a toggle switch can be used to turn a device on or off, because they stay in one state when you remove your hand. The toggle switches below each have three connectors, also called pins or legs. They&#8217;re usually labeled C for common, NO for Normally Open, and NC for Normally Closed. When you switch the switch, it will open the connection between the common pin and the normally closed pin, and close the connection between the common pin and the normally open pin. Switch it the other way, and you will reverse the connection.<\/p>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/switches_toggle.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"201\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/switches_toggle.jpg\" alt=\"Toggle switches. These switches are approximately half an inch (1cm) long, and have a switch on top that moves from one side to the other. They typically have two or three legs. \" class=\"wp-image-783\"\/><\/a><figcaption class=\"wp-element-caption\"><a name=\"switches_toggle\"><\/a>Figure 14. Toggle switches<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Rotary_Encoder\"><\/span>Rotary Encoder<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-rotary-encoder.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"2119\" height=\"1589\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-rotary-encoder.jpg\" alt=\"Photo of a rotary encoder\" class=\"wp-image-5922\" style=\"width:431px;height:323px\" srcset=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-rotary-encoder.jpg 2119w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-rotary-encoder-768x576.jpg 768w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-rotary-encoder-1280x960.jpg 1280w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 15. Rotary encoder<\/figcaption><\/figure><\/div>\n\n\n<p>A rotary encoder is a sensor that usually looks a bit like a potentiometer. It has a central shaft that you can turn with your fingers, or with an axle. It produces a pair of electrical pulses as you turn the shaft of the encoder, one slightly before or after the other, depending on the direction you are turning the shaft. Unlike a potentiometer, they can turn endlessly. They are used both as tangible controls, when you want a knob that turns endlessly, and as rotary sensors for motors and axles. The encoder in Figure 15 has three pins. The center is connected to ground, and the two side pins produce the pulses. The <a href=\"https:\/\/www.pjrc.com\/teensy\/td_libs_Encoder.html\">Encoder library<\/a> for Arduino is useful for reading these.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Capacitors\"><\/span>Capacitors<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/caps_ceramic.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"266\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/caps_ceramic.jpg\" alt=\"Ceramic capacitor. This component has a disc top and two wire legs. You measure the capacitance between the two legs. Ceramic disc capacitors like this are generally low-capacitance components.\" class=\"wp-image-806\"\/><\/a><figcaption class=\"wp-element-caption\"><a name=\"caps_ceramic\"><\/a>Figure 16. Ceramic disc capacitors<\/figcaption><\/figure>\n\n\n\n<p><a href=\"https:\/\/vimeo.com\/380345304#t=7m12s\">Related Video: Capacitors<\/a><\/p>\n\n\n\n<p>Capacitors store electrical energy while there&#8217;s energy coming in, and release it when the incoming energy stops. They have a variety of uses. One common use is to smooth out the dips and spikes in an electrical supply. This use is called <strong>decoupling<\/strong>.<\/p>\n\n\n\n<p><a rel=\"noopener noreferrer\" href=\"https:\/\/vimeo.com\/380170576#t=11m5s\" target=\"_blank\">Related Video: Clean a noisy signal with a Capacitor<\/a><\/p>\n\n\n\n<p><strong>Ceramic capacitors<\/strong> are unpolarized. They generally have very small capacitance values. They&#8217;re useful decoupling caps in a low-current circuit. You often see them used to decouple the power going into a microcontroller or other integrated circuit.<\/p>\n\n\n\n<p>The number on a ceramic cap gives you its value and order of magnitude. For example, 104 on the capactors in Figure 16 indicates a 0.1 microfarad (uF) cap. 103 indicates a 0.01 microfarad cap.<\/p>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/caps_electrolytic.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/caps_electrolytic-300x200.jpg\" alt=\"Electrolytic capacitor. This component has a tubular top and two wire legs coming out of one end of the tube. They are generally polarized. The longer leg is the positive leg. You measure the capacitance between the two legs. Electrolytic capacitors are generally higher capacitance than ceramic capacitors.\" class=\"wp-image-805\"\/><\/a><figcaption class=\"wp-element-caption\">Figure 17. Electrolytic capacitor<\/figcaption><\/figure>\n\n\n\n<p><strong>Electrolytic capacitors<\/strong>&nbsp;(Figure 17) can generally store more charge than ceramic caps, and are longer lasting. They&#8217;re usually polarized, meaning that they have a positive leg and a negative leg. This is because current flows more efficiently through them one way than the other.<\/p>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/cap_electrolytic_detail.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"140\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/cap_electrolytic_detail.jpg\" alt=\"Electrolytic capacitor, showing the minus sign on the negative side. This component has a tubular top and two wire legs coming out of one end of the tube. They are generally polarized. The longer leg is the positive leg. You measure the capacitance between the two legs. Electrolytic capacitors are generally higher capacitance than ceramic capacitors.\" class=\"wp-image-804\"\/><\/a><figcaption class=\"wp-element-caption\">Figure 18. Electrolytic capacitor, showing the minus sign on the negative side.<\/figcaption><\/figure>\n\n\n\n<p>An electrolytic cap will have a + or &#8211; on one side, as shown in Figure 18.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Diodes\"><\/span>Diodes<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/diodes_400x.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/diodes_400x-300x200.jpg\" alt=\"Diodes. Shown here are 1N400x power diodes. The body of the component is black, and the end is silver. The silver end indicates the cathode end of the diode.\" class=\"wp-image-796\" srcset=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/diodes_400x-300x200.jpg 300w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/diodes_400x.jpg 640w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 19. Diodes. Shown here are 1N400x power diodes. The body of the component is black, and the end is silver. The silver end indicates the cathode end of the diode.<\/figcaption><\/figure>\n\n\n\n<p><a rel=\"noopener noreferrer\" href=\"https:\/\/vimeo.com\/380345304#t=3m12s\" target=\"_blank\">Related Video: Diodes and LEDs<\/a><\/p>\n\n\n\n<p>Diodes permit voltage to flow in one direction and block it in the other direction. LEDs are a type of diode, as are the <strong>1N4001 diodes<\/strong> shown in Figure 19. They&#8217;re useful for stopping voltage from going somewhere you don&#8217;t want it to go. The 1N4001 diodes are power diodes, capable of carrying a higher amount of current than other diodes.<\/p>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/diodes_zener.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"279\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/diodes_zener.jpg\" alt=\"Zener diodes. These diodes are smaller than the power diodes shown above, and have a gladd body and a black stripe to indicate the negative end of the diode. They have a breakdown voltage past which they allow current to flow in both directions. \" class=\"wp-image-802\"\/><\/a><figcaption class=\"wp-element-caption\">Figure 20. Zener Diodes<\/figcaption><\/figure>\n\n\n\n<p><strong>Zener diodes<\/strong>&nbsp;(Figure 20) have a breakdown voltage past which they allow current to flow in both directions. They&#8217;re used to chop off excess voltage from a part of a circuit. They are usually smaller than power diodes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Transistors\"><\/span>Transistors<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/transistors.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"200\" height=\"300\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/transistors-200x300.jpg\" alt=\"TIP120 transistor. The transistor here has the same physical package as the voltage regulators shown above. It has three legs and a tab at the top with a hole in it. The tab is the back of the component. If you hold the component with the tab at the top and the bulging side of the component facing you, the legs will be arranged, from left to right, base, collector, emitter. The only way to know the difference between two components of the same package is to read the label on the package, unfortunately. This one is labeled TIP120.\" class=\"wp-image-800\" srcset=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/transistors-200x300.jpg 200w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/transistors.jpg 427w\" sizes=\"(max-width: 200px) 85vw, 200px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 21. TIP120 transistor<\/figcaption><\/figure>\n\n\n\n<p><a rel=\"noopener noreferrer\" href=\"https:\/\/vimeo.com\/380347302\" target=\"_blank\">Video: Schematics 3 &#8211; Transistors<\/a><\/p>\n\n\n\n<p>Transistors act as electronic switches. When you put a small voltage across the base and emitter, the transistor allows a larger current and voltage to flow from the collector to the emitter. The transistor shown above in Figure 21, a TIP120, is a type of transistor known as a Darlington transistor. It is usually used to control high-current loads like motors. Note that it uses the same physical form factor, or package, as the voltage regulator above (the TO-220 package). <\/p>\n\n\n\n<p>The TIP120 shown here is jus one option for controlling high current loads. Metal Oxide Semiconductor Field Effect Transistors, or MOSFETS, are also good for controlling motors, lights, and other high current loads. These two models also come in the same physical package as the TIP120. The IRF510 and&nbsp;<a href=\"https:\/\/www.vishay.com\/docs\/91017\/91017.pdf\">IRF520 MOSFETs<\/a>&nbsp;have the same pin configuration as the TIP120, and perform similarly with a 5V gate voltage. The&nbsp;<a href=\"https:\/\/www.onsemi.com\/pub\/Collateral\/FQP30N06L-D.pdf\">FQP30N06L MOSFET<\/a>&nbsp;has the same pin configuration, and operates on as low as 1.0V, and works well for 3.3V applications. MOSFETs can generally handle more amperage and voltage, but are more sensitive to static electricity damage.&nbsp;<\/p>\n\n\n\n<p><a rel=\"noopener noreferrer\" href=\"https:\/\/vimeo.com\/372277977#t=0m48s\" target=\"_blank\">Related Video: Connect Transistor<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Phototransistors\"><\/span>Phototransistors<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<figure class=\"wp-block-image alignnone is-resized\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-phototransistor.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"2293\" height=\"1720\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-phototransistor.jpg\" alt=\"Photo of a handful of Phototransistors.\" class=\"wp-image-5912\" style=\"width:573px;height:430px\" srcset=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-phototransistor.jpg 2293w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-phototransistor-768x576.jpg 768w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-phototransistor-1280x960.jpg 1280w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 15. Phototransistors. The short leg goes to voltage, and the long leg goes to the input pin of a microcontroller.<\/figcaption><\/figure>\n\n\n\n<p>Phototransistors are transistors, but instead of being controlled by electricity, they are controlled by light. The base of a phototransistor is photosensitive. They often look like LEDs. The ones in Figure 15, <a href=\"https:\/\/media.digikey.com\/pdf\/Data%20Sheets\/Everlight%20PDFs\/ALS-PT243-3C,L177.pdf\">Everlight model&nbsp;ALS-PT243-3C\/L177<\/a>, have flat tops to differentiate them from LEDs. The short leg of a phototransistor is the emitter, and the long leg is the collector. The lens is the base. To use them in an analog input circuit.&nbsp; emitter goes to voltage and the collector goes to your input pin. A 10-kilohm pulldown resistor connects the input pin to ground, just as it would if you were using a photocell..<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Power_Jacks\"><\/span>Power Jacks<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/DC_power_jack.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/DC_power_jack-150x150.jpg\" alt=\"A DC power jack. It pairs with a plug with a 2.1mm inside diameter, 5.5mm outside diameter plug, and has screw terminals on the back so that you can attach wires to it.\" class=\"wp-image-4696\" style=\"width:150px;height:150px\" srcset=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/DC_power_jack-150x150.jpg 150w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/DC_power_jack-768x768.jpg 768w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/DC_power_jack.jpg 1000w\" sizes=\"(max-width: 150px) 85vw, 150px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 22. A DC Power Jack<\/figcaption><\/figure><\/div>\n\n\n<p>DC Power jacks are used to connect your breadboard to a DC power supply that you can plug into a wall. They&#8217;re less common in microcontroller circuits now that USB power connectors and USB wall plugs are common, but they are still very handy when you have only a DC power supply to work with. The one in Figure 22 has screw terminals on the back to which you can connect wires to connect to your breadboard. It is a 2.1mm inside diameter, 5.5mm outside diameter jack, which is a very common size.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Battery_Holders\"><\/span>Battery Holders<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/battery_holder.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"271\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/battery_holder.jpg\" alt=\"This is a square box that can hold four AA size batteries. There are four columns in the box, each with a spring in it. The negative end of the battery (the flat end) contacts the spring. The positive end of the battery (the end with a small protrusion) connects to the end opposite the spring. The batteries sit parallel to each other, each facing the opposite direction of its neighbors. Two round metal terminals protrude from one corner of the box, one red and one black. These connect to a 9-volt battery\" class=\"wp-image-791\"\/><\/a><figcaption class=\"wp-element-caption\">Figure 23. AA battery holder<\/figcaption><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/battery_snap.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/battery_snap-300x200.jpg\" alt=\"9V battery snap. This flat component with rounded ends has two round metal mounts on one side. One is slightly bigger than the other, about half an inch (3-2cm) across. They are designed to snap onto a 9-volt battery. There is a pair of wires coming out one end that has a DC power plug attached to it. This can plug into a DC power jack.\" class=\"wp-image-780\" srcset=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/battery_snap-300x200.jpg 300w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/battery_snap.jpg 640w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 24. 9V battery snap with DC power plug on it.<\/figcaption><\/figure><\/div>\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p>Battery connectors like the ones shown in Figures 23 and 24 are good for connecting batteries to your project. The one in Figure 20 can hold 4 AA batteries, and has a 9V battery snap on the outside. The one in Figure 21 has a DC power jack&nbsp; on one end, and a 9V battery snap on the other end.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Motors\"><\/span>Motors<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Servo_Motor\"><\/span>Servo Motor<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/servomotor.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"200\" height=\"300\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/servomotor-200x300.jpg\" alt=\"Servomotor. This is a rectangular motor with a round shaft protruding from one of the narrow sides. a wire connector protrudes from the diagonally opposite corner. The motor is approximately 1.t5 inches square (about 4cm) by half an inch thick (about 1cm). The shaft connects to one of several plastic horns so you can attach it to things you want to move. When turned by hand, the shaft will only turn 180 degrees.\" class=\"wp-image-782\" srcset=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/servomotor-200x300.jpg 200w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/servomotor.jpg 427w\" sizes=\"(max-width: 200px) 85vw, 200px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 25. A small RC Servomotor<\/figcaption><\/figure><\/div>\n\n\n<p><a rel=\"noopener noreferrer\" href=\"https:\/\/vimeo.com\/372278570\" target=\"_blank\">Video: Analog Output: Servo<\/a><\/p>\n\n\n\n<p>A servo motor is a motor paired with an encoder (e.g. a potentiometer) to provide position\/speed readings and control messages in a feedback loop. This loop is used to precisely control of the servo&#8217;s degree of rotation. RC servomotors like the one shown in Figure 25 can only turn 180 degrees. They are often used for the rudder control on remote control planes and cars. The plastic bits shown in the photo are called horns, and they attach to the shaft to let you attach the motor to the mechanism that you want to control.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"DC_Motor\"><\/span>DC Motor<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/dc_motor1.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/dc_motor1-300x200.jpg\" alt=\"DC toy motor, hobby size. This motor is a metal tube with flattened sides, approximately 2 in. (5cm) long. a thin shaft at one end spins when the motor is on. Two small metal tabs or wires protrude from the other end to connect the motor to your circuit.\" class=\"wp-image-781\" srcset=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/dc_motor1-300x200.jpg 300w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/dc_motor1.jpg 640w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 26. Small DC motor, 130 size<\/figcaption><\/figure><\/div>\n\n\n<p><a rel=\"noopener noreferrer\" href=\"https:\/\/vimeo.com\/380174619#t=1m32s\" target=\"_blank\">Related Video: Inside a DC Motor<\/a><\/p>\n\n\n\n<p>DC motors, as seen in Figure 26, utilize induction (an electromagnetic field generated by current flowing through a wire coil) to rotate a central shaft. You can reverse the direction that the shaft rotates by reversing the leads powering it.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Motor_Driver\"><\/span>Motor Driver<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<figure class=\"wp-block-image alignnone is-resized\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-motor-driver.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1555\" height=\"1166\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-motor-driver.jpg\" alt=\"Photo of a Motor Driver (H-bridge), model TB6612FNG\" class=\"wp-image-5916\" style=\"width:389px;height:292px\" srcset=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-motor-driver.jpg 1555w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-motor-driver-768x576.jpg 768w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-motor-driver-1280x960.jpg 1280w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 27. Motor Driver (H-bridge), model TB6612FNG<\/figcaption><\/figure>\n\n\n\n<p>A motor driver, sometimes called an H bridge, is an electronic circuit that enables a voltage to be applied across a load in either direction. They are often used to control the direction of DC motors. The motor driver in Figure 27 is a Toshiba model TB6612FNG. It is a good option for both 5V (from an Arduino Uno) and 3.3V (from a Nano 33 IoT) control of  DC motors and stepper motors. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Electromechanical_Relay\"><\/span>Electromechanical Relay<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/relay_inside.png\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"208\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/relay_inside-300x208.png\" alt=\"These components are rectangular, approximately three quarters of an inch long and half an inch tall, with seven pins on the bottom. \" class=\"wp-image-2520\" srcset=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/relay_inside-300x208.png 300w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/relay_inside.png 1024w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 28. Electromechanical relays: top and left views as well as inside.<\/figcaption><\/figure>\n\n\n\n<p>Like transistors, relays are electronic switches. Electromechanical relays contain a small coil that, when energized, creates a magnetic field that moves a small metal armature to open or close an electrical contact. Relays can handle higher current than transistors and can be used for AC or DC loads. However, because they rely on a physical mechanism, they are slower and more prone to wearing out. If you want to control a relay with the Arduino, you will need to use a transistor as an intermediary because most relays draw more current than the Arduino&#8217;s output pins can supply.<\/p>\n\n\n\n<p>Relays come in many packages. The ones shown in Figure 28 are for controlling relatively low power loads. For more on relays, see the <a href=\"https:\/\/itp.nyu.edu\/physcomp\/lessons\/electronics\/transistors-relays-and-controlling-high-current-loads\/\">Transistors, Relays, and Controlling High-Current Loads<\/a> topic page.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Screw_Terminal\"><\/span>Screw Terminal<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/screw_terminals.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"284\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/screw_terminals.jpg\" alt=\"These components have a small round depression on the top, inside of which is a screw. On the side there is a square hole into which you can insert a wire. On the bottom, there is a pin connected to the square socket. There is one screw, socket, and pin per connection. \" class=\"wp-image-803\"\/><\/a><figcaption class=\"wp-element-caption\">Figure 29. Two-contact screw terminal<\/figcaption><\/figure>\n\n\n\n<p>Screw terminals, as seen in Figure 29, are electrical connectors that hold wires in place with a clamping screw. They allow for a more secure connection than female headers and more flexibility than soldering a wire in place.&nbsp;There is one screw, socket, and pin per connection.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Sensor_Modules\"><\/span>Sensor Modules<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Increasingly, sensors are no longer just simple components that output a changing resistance or capacitance. Sensor modules are application-specific integrated circuits (ASICs) which read a particular physical property and give you a measurement via a synchronous serial communications channel like <a href=\"https:\/\/itp.nyu.edu\/physcomp\/lessons\/synchronous-serial-communication-the-basics\/\" data-type=\"page\" data-id=\"2963\">I2C<\/a>. <\/p>\n\n\n\n<p>Figure 30 shows four different I2C sensors: a ten-channel spectrometer, at the top, which measures the intensity of light in ten different frequencies; An accelerometer, on the right (read below for more); a <a href=\"https:\/\/itp.nyu.edu\/physcomp\/i2c-communication-with-a-time-of-flight-distance-sensor\/\" data-type=\"page\" data-id=\"8941\">time-of-flight distance ranging sensor<\/a>, that measures distance using an infrared low-power laser, on the bottom; and a light sensor that functions as both a particle sensor and a pulse oximeter, on the left, by measuring the change in color of your blood through the skin of your finger. <\/p>\n\n\n\n<p>These are only a few of the many sensor modules available that can be connected to a microcontroller via I2C. You&#8217;ll see <a href=\"https:\/\/itp.nyu.edu\/physcomp\/labs\/labs-serial-communication\/i2c-communication-with-a-color-gesture-and-proximity-sensor\/\" data-type=\"page\" data-id=\"7517\">color and gesture sensors<\/a>, temperature and humidity sensors, and many more.  They are often available as breadboard-friendly breakout board modules, like the ones shown here, that are typically a circuit board that&#8217;s a few centimeters square, with holes on one side spaced 0.1&#8243; apart so you can attach pins to plug it into a breadboard. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"2472\" height=\"1818\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/I2C_sensors.jpg\" alt=\"Photo of four different I2C sensor modules\" class=\"wp-image-9035\" srcset=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/I2C_sensors.jpg 2472w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/I2C_sensors-768x565.jpg 768w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/I2C_sensors-1536x1130.jpg 1536w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/I2C_sensors-2048x1506.jpg 2048w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/I2C_sensors-1200x883.jpg 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption class=\"wp-element-caption\">Figure 30. Various I2C sensors<\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Accelerometer\"><\/span>Accelerometer<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-lis3dh-accelerometer.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1283\" height=\"962\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-lis3dh-accelerometer.jpg\" alt=\"Photo of an accelerometer, model LIS3DH\" class=\"wp-image-5917\" style=\"width:321px;height:241px\" srcset=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-lis3dh-accelerometer.jpg 1283w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-lis3dh-accelerometer-768x576.jpg 768w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-lis3dh-accelerometer-1280x960.jpg 1280w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 31. Accelerometer, LIS3DH<\/figcaption><\/figure><\/div>\n\n\n<p>Accelerometers are sensors which measure a changing acceleration (Figure 31). They are typically part of sensors called <a href=\"https:\/\/itp.nyu.edu\/physcomp\/lessons\/accelerometers-gyros-and-imus-the-basics\/\"><strong>Inertial Measurement Units,<\/strong> or <strong>IMUs<\/strong>.<\/a> They are useful for measuring the tilt of a body, or for measuring the force of an impact. They come in both digital and analog forms. A typical accelerometer measures acceleration along three axes, all perpendicular to each other. Accelerometers are increasingly built into microcontroller modules and other electronic devices. There is accelerometer and a gyrometer built into the Nano 33 IoT.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Infrared_Distance_Ranger\"><\/span>Infrared Distance Ranger<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>Sharp makes a line of infrared distance ranging sensors that measure distance in about a 1-meter range using infrared light. The one shown in Figure 32 has an analog voltage output. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"2031\" height=\"1597\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/IR_ranger.jpg\" alt=\"Photo of an infrared distance sensor. It has two lenses on top, one for the light and one for the sensor, and three pins on the side, to plug into a solderless breadboard. \" class=\"wp-image-9036\" style=\"width:508px;height:399px\" srcset=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/IR_ranger.jpg 2031w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/IR_ranger-768x604.jpg 768w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/IR_ranger-1536x1208.jpg 1536w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/IR_ranger-1200x944.jpg 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption class=\"wp-element-caption\">Figure 32. IR distance ranger<\/figcaption><\/figure><\/div>\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Ultrasonic_Distance_Ranger\"><\/span>Ultrasonic Distance Ranger<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>Ultrasonic distance rangers measure distance by emitting pulsed ultrasonic waves and listening for the echo from a distant object. These are sometimes used in cars to aid in detecting the distance of objects behind the rear bumper. <a href=\"https:\/\/itp.nyu.edu\/physcomp\/labs\/lab-ultrasonic-distance-sensor\/\" data-type=\"page\" data-id=\"8639\">The one shown in Figure 33<\/a> outputs a digital pulse whose pulse width varies with the distance from the target object. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"761\" height=\"662\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/ultrasonic-HC-SR04-photo.png\" alt=\"Ultrasonic sensor model HC-SR04\" class=\"wp-image-8644\" style=\"width:381px;height:331px\"\/><figcaption class=\"wp-element-caption\">Figure 33. An Ultrasonic sensor, model HC-SR04. The sensor has two cylindrical transducers, and four pins at the bottom of the board, labeled from left to right: Vcc, Trig., Echo, Ground. <\/figcaption><\/figure><\/div>\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Temperature_and_Humidity_Sensors\"><\/span>Temperature and Humidity Sensors<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>There are dozens of temperature and humidity sensors on the market, with many different interfaces. The one shown in Figure 34, the <a href=\"https:\/\/octopart.com\/search?q=DHT22\">DHT22<\/a>, is very popular because it&#8217;s simple to use, reliable with a long track record, and inexpensive. It uses a <a href=\"https:\/\/www.maximintegrated.com\/en\/design\/technical-documents\/tutorials\/1\/1796.html\">one-wire interface<\/a>. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1870\" height=\"2560\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/DHT22_Temp_Humidity_sensor-scaled.jpg\" alt=\"\" class=\"wp-image-9037\" style=\"width:240px;height:320px\" srcset=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/DHT22_Temp_Humidity_sensor-scaled.jpg 1870w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/DHT22_Temp_Humidity_sensor-768x1051.jpg 768w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/DHT22_Temp_Humidity_sensor-1122x1536.jpg 1122w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/DHT22_Temp_Humidity_sensor-1496x2048.jpg 1496w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/DHT22_Temp_Humidity_sensor-1200x1642.jpg 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption class=\"wp-element-caption\">Figure 34. a DHT-22 temperature and humidity sensor<\/figcaption><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Speaker\"><\/span>Speaker<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><a href=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-speaker-8-ohm.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"2799\" height=\"2099\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-speaker-8-ohm.jpg\" alt=\"Photo of an 8 ohm speaker\" class=\"wp-image-5944\" style=\"width:403px;height:302px\" srcset=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-speaker-8-ohm.jpg 2799w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-speaker-8-ohm-768x576.jpg 768w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/pcomp-kit-f2019-speaker-8-ohm-1280x960.jpg 1280w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 35. Photo of an 8 ohm speaker<\/figcaption><\/figure><\/div>\n\n\n<p>A speaker is a paper or plastic cone mounted to a coil of wire. The coil is mounted next to a magnet. When a current is passed through the wire, it induces a magnetic field, which attracts or repulses the magnet. This makes the cone vibrate, and produce sound. The speaker shown in Figure 35 is an 8-ohm speaker.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this lab you will learn about some of the components you&#8217;ll use frequently when making electronic circuits. <\/p>\n","protected":false},"author":1,"featured_media":0,"parent":11,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[21,5,15,27,7,19,28],"tags":[],"class_list":["post-50","page","type-page","status-publish","hentry","category-components","category-electronics","category-lab","category-multimeter","category-sensors","category-switches","category-transistor"],"_links":{"self":[{"href":"https:\/\/itp.nyu.edu\/physcomp\/wp-json\/wp\/v2\/pages\/50"}],"collection":[{"href":"https:\/\/itp.nyu.edu\/physcomp\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/itp.nyu.edu\/physcomp\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/itp.nyu.edu\/physcomp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itp.nyu.edu\/physcomp\/wp-json\/wp\/v2\/comments?post=50"}],"version-history":[{"count":117,"href":"https:\/\/itp.nyu.edu\/physcomp\/wp-json\/wp\/v2\/pages\/50\/revisions"}],"predecessor-version":[{"id":13743,"href":"https:\/\/itp.nyu.edu\/physcomp\/wp-json\/wp\/v2\/pages\/50\/revisions\/13743"}],"up":[{"embeddable":true,"href":"https:\/\/itp.nyu.edu\/physcomp\/wp-json\/wp\/v2\/pages\/11"}],"wp:attachment":[{"href":"https:\/\/itp.nyu.edu\/physcomp\/wp-json\/wp\/v2\/media?parent=50"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itp.nyu.edu\/physcomp\/wp-json\/wp\/v2\/categories?post=50"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itp.nyu.edu\/physcomp\/wp-json\/wp\/v2\/tags?post=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}