Page 127 - Programming the Photon Getting Started With the Internet of Things
P. 127

Figure 6.8 Displaying light level in the Web browser.


             For this project we are going to be using a photoresistor, which is a light-dependent
        resistor that decreases its resistance value when light intensity increases and vice versa.
        Table 6.2 shows the hardware and components that we will be using for this experiment.



             Schematic Diagram                        Description                           Appendix


          M1                             Photon board                              M1



                                         Breadboard                                H1


                                         Jumper wires                              H2


          R1                             Photoresistor                             R4


          R2                             10-K resistor                             R3



        Table 6.2 Hardware and Components

             Figure 6.9 shows the breadboard layout diagram for this experiment.
   122   123   124   125   126   127   128   129   130   131   132