<p>In this step, you will learn about the photoresistor and then create a circuit to help determine the best spot for you to place your Arduino Smart Garden!</p>
<p><img alt="EE Tech Media, https://eepower.com/resistor-guide/resistor-types/photo-resistor/#, No Date" src="/api/storage/uploads/legacy-images/9hne2me314ytsol0bjs3ezn8332s/Photoresistor+picture.png" style="width: 153px; height: 151px;" /></p>
<p>This is a photoresistor. If you are a fan of your Greek and Latin words, you can probably figure out that this is a resistor that is augmented by light. When placed in the dark, photoresistors have very high resistance. But, when interacting with light, they have very low resistance. The little, zig-zag band between the two sides of the photoresistor is very sensitive to light. So as the light increases, it allows more current to flow from one side to another. But, when that light shuts off, the material no longer allows current to flow as freely.</p>
<p>The Arduino can read the change in resistance and tell us how bright something is! And, we are going to be using an analog input. So the values we will get can range from 0 (absolute darkness) to 1023 (super duper bright). </p>
<p>Notice how the photoresistor has a flat side (the side with the zig-zag metal part)? That is most effective when that "face" is pointed directly at a light source. We will do a quick demonstration of that with your cell phone in the next step!</p>
<p>Follow the wiring diagram and video below to wire your photoresistor:</p>
<p><img alt="" src="/api/storage/uploads/legacy-images/yx37ht194c4b9rvh32pumdm8lm57/Photoresistor.jpg" style="width: 800px; height: 345px;" /></p>
<p><iframe allow="autoplay" height="480" src="https://drive.google.com/file/d/1QuELV2qyloFXVO5_OarQ0_em5sN4pZIn/preview" width="640"></iframe></p>
<p>Once you have your circuit set up, then we can move on to coding and testing!</p>
<p> </p>