{"id":440,"date":"2017-05-19T22:21:58","date_gmt":"2017-05-19T22:21:58","guid":{"rendered":"http:\/\/bryceautomation.com\/?p=440"},"modified":"2017-05-20T23:21:19","modified_gmt":"2017-05-20T23:21:19","slug":"photoelectric-sensor","status":"publish","type":"post","link":"https:\/\/bryceautomation.com\/index.php\/2017\/05\/19\/photoelectric-sensor\/","title":{"rendered":"Photoelectric Resistor"},"content":{"rendered":"<h2>Introduction to the photoelectric\u00a0resistor<\/h2>\n<p><img decoding=\"async\" class=\"alignright size-medium wp-image-441 lazyload\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2017\/05\/photostandalone-300x274.jpg\" alt=\"Photo Resistor\" width=\"300\" height=\"274\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2017\/05\/photostandalone-300x274.jpg 300w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2017\/05\/photostandalone.jpg 592w\" data-sizes=\"(max-width: 300px) 100vw, 300px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 300px; --smush-placeholder-aspect-ratio: 300\/274;\" \/>The photoelectric sensor can be used to detect the intensity of a light source. \u00a0This can be used to detect night and day such as you would see in a night light in your house, or a security light on your garage. \u00a0 In industrial applications, the photoelectric sensor can be used to detect that an object is present on a conveyor, such as a box, or pallet.<\/p><div id=\"bryce-3074141046\" class=\"bryce-afterfirst bryce-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-8316758073402323\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-8316758073402323\" \ndata-ad-slot=\"7728240895\" \ndata-ad-format=\"auto\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>\n<p>In this document, we will look at the resistance of the\u00a0sensor, and connect this to a simple analog input on our Uno board. \u00a0 Once we are receiving an analog signal, we can use simple compare instructions to use the photo resistor in any project.<\/p>\n<h2>Measuring the restance<\/h2>\n<p>I used a very inexpensive multimeter that I purchased for $3 at Harbor Freight. \u00a0 On the 20K scale, let&#8217;s measure the resistance of simple ambient light on a cloudy day here in Hardin, Montana inside of my camper. \u00a0\u00a0<img decoding=\"async\" class=\"size-medium wp-image-442 aligncenter lazyload\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2017\/05\/photodark-300x298.jpg\" alt=\"Photo Resistor Dark\" width=\"300\" height=\"298\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2017\/05\/photodark-300x298.jpg 300w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2017\/05\/photodark-150x150.jpg 150w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2017\/05\/photodark.jpg 600w\" data-sizes=\"(max-width: 300px) 100vw, 300px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 300px; --smush-placeholder-aspect-ratio: 300\/298;\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>We can see we are getting a reading of 4.62 Kilo Ohms, so we do have a little bit of light in the camper right now. \u00a0 Now, lets put a light source on the photo resistor to see what our measurement is.<\/p>\n<p><img decoding=\"async\" class=\"wp-image-443 size-medium aligncenter lazyload\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2017\/05\/photolight-e1495229167336-266x300.jpg\" alt=\"Photo Resistor Light Source\" width=\"266\" height=\"300\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2017\/05\/photolight-e1495229167336-266x300.jpg 266w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2017\/05\/photolight-e1495229167336.jpg 594w\" data-sizes=\"(max-width: 266px) 100vw, 266px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 266px; --smush-placeholder-aspect-ratio: 266\/300;\" \/><\/p>\n<p>We can see that our resistance dropped significantly to .69 Kilo Ohms or 690 Ohms, so we now know the photo resistor is working well.<\/p>\n<p><img decoding=\"async\" class=\"alignright wp-image-445 size-medium lazyload\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2017\/05\/photohookup-1-e1495231684271-300x300.jpg\" alt=\"Photo Resistor Hookup\" width=\"300\" height=\"300\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2017\/05\/photohookup-1-e1495231684271-300x300.jpg 300w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2017\/05\/photohookup-1-e1495231684271-150x150.jpg 150w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2017\/05\/photohookup-1-e1495231684271.jpg 600w\" data-sizes=\"(max-width: 300px) 100vw, 300px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 300px; --smush-placeholder-aspect-ratio: 300\/300;\" \/>Next, we will incorporate this photo resistor into a project. \u00a0Since our microprocessor measures voltage, we can use the varying resistance in a voltage divider circuit. \u00a0 \u00a0 We will connect 5v to one side of the photo resistor, then in series with the photo resistor, we will add a 10 Kilo Ohm resistor. \u00a0 The other side of the resistor will be connected to ground. \u00a0 We will take our voltage reading at the point where the photo resistor connects to the 10K resistor. \u00a0 As the resistance of the sensor goes down, the closer our voltage will be to 5v (or 1023 value in our microprocessor). \u00a0 As the resistance increases, we will have more of a voltage drop, and our voltage will decrease. \u00a0 If we want this to work in the opposite direction, we can simple reverse the 5v and GND.<\/p>\n<h2><\/h2>\n<h2>Upload the code<\/h2>\n<p>Finally, we will open the arduino analog example sketch. \u00a0 This is under File | Examples | Analog | AnalogInput in the Arduino IDE. \u00a0 \u00a0We will add the line: \u00a0Serial.begin(9600); into the setup routine, and Serial.println(sensorPin); into the loop() function as shown:<\/p>\n<p>Note: \u00a0 If you are new to Microprocessors, you can learn more about the Uno board on the post <a href=\"https:\/\/bryceautomation.com\/index.php\/category\/arduino-other-microprocessors\/\">&#8220;Getting Started with Microprocessors&#8221;.<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>[code]<\/p>\n<p>\/*<\/p>\n<p>Analog Input<br \/>\nDemonstrates analog input by reading an analog sensor on analog pin 0 and<br \/>\nturning on and off a light emitting diode(LED) connected to digital pin 13.<br \/>\nThe amount of time the LED will be on and off depends on<br \/>\nthe value obtained by analogRead().<\/p>\n<p>The circuit:<br \/>\n* Potentiometer attached to analog input 0<br \/>\n* center pin of the potentiometer to the analog pin<br \/>\n* one side pin (either one) to ground<br \/>\n* the other side pin to +5V<br \/>\n* LED anode (long leg) attached to digital output 13<br \/>\n* LED cathode (short leg) attached to ground<\/p>\n<p>* Note: because most Arduinos have a built-in LED attached<br \/>\nto pin 13 on the board, the LED is optional.<br \/>\nCreated by David Cuartielles<br \/>\nmodified 30 Aug 2011<br \/>\nBy Tom Igoe<\/p>\n<p>This example code is in the public domain.<\/p>\n<p>http:\/\/www.arduino.cc\/en\/Tutorial\/AnalogInput<\/p>\n<p>*\/<\/p>\n<p>int sensorPin = A0; \/\/ select the input pin for the potentiometer<br \/>\nint ledPin = 13; \/\/ select the pin for the LED<br \/>\nint sensorValue = 0; \/\/ variable to store the value coming from the sensor<\/p>\n<p>void setup() {<br \/>\n\/\/ declare the ledPin as an OUTPUT:<br \/>\npinMode(ledPin, OUTPUT);<br \/>\nSerial.begin(9600);<br \/>\n}<\/p>\n<p>void loop() {<br \/>\nSerial.println(sensorValue);<br \/>\n\/\/ read the value from the sensor:<br \/>\nsensorValue = analogRead(sensorPin);<br \/>\n\/\/ turn the ledPin on<br \/>\ndigitalWrite(ledPin, HIGH);<br \/>\n\/\/ stop the program for &lt;sensorValue&gt; milliseconds:<br \/>\ndelay(sensorValue);<br \/>\n\/\/ turn the ledPin off:<br \/>\ndigitalWrite(ledPin, LOW);<br \/>\n\/\/ stop the program for for &lt;sensorValue&gt; milliseconds:<br \/>\ndelay(sensorValue);<br \/>\n}<\/p>\n<p>[\/code]<\/p>\n<p>Verify that your board and port settings are correct, then upload the code.<\/p>\n<h2>Testing the code<\/h2>\n<p>We will just use our Serial Monitor to monitor the raw analog value coming into our microprocessor. \u00a0 \u00a0Click on Tools | Serial monitor. \u00a0You will notice when the sensor reads almost no light (covered up), you will read a value of under 300. \u00a0 In a lighted environment, you will read around 900. \u00a0 \u00a0Using this sensorValue variable, you can set the threshold at which you would like to take action in your project such as energizing a light. \u00a0If you are using the Uno Board, you will also notice the LED light will flash faster in a darker environment because the delay is based on the sensor value.<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-446 aligncenter lazyload\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2017\/05\/photovalue.png\" alt=\"Photo Values\" width=\"213\" height=\"244\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 213px; --smush-placeholder-aspect-ratio: 213\/244;\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>If you have not purchased a photo resistor yet, you can find plenty of them on <a href=\"http:\/\/www.ebay.com\/sch\/i.html?_from=R40&amp;_trksid=p2380057.m570.l1313.TR12.TRC2.A0.H0.Xphoto+resistor.TRS0&amp;_nkw=photo+resistor&amp;_sacat=0\">ebay<\/a>!<\/p>\n<p>&#8212; Ricky Bryce<\/p>\n<div id=\"bryce-2965969745\" class=\"bryce-after-content bryce-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-8316758073402323\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-8316758073402323\" \ndata-ad-slot=\"4667596182\" \ndata-ad-format=\"auto\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Introduction to the photoelectric\u00a0resistor The photoelectric sensor can be used to detect the intensity of a light source. \u00a0This can be used to detect night and day such as you would see in a night light in your house, or a security light on your garage. \u00a0 In industrial applications, the photoelectric sensor can be <a class=\"moretag btn btn-primary\" href=\"https:\/\/bryceautomation.com\/index.php\/2017\/05\/19\/photoelectric-sensor\/\">Read More \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":441,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,8],"tags":[],"class_list":{"0":"post-440","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-arduino-other-microprocessors","8":"category-beginner","9":"czr-hentry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Using, measuring, and implementing the Photo Resistor for your projects.<\/title>\n<meta name=\"description\" content=\"We will learn the operation of a photo resistor, measure its values, wire up the photo resistor, and see the values change in a standard analog sketch.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/bryceautomation.com\/index.php\/2017\/05\/19\/photoelectric-sensor\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using, measuring, and implementing the Photo Resistor for your projects.\" \/>\n<meta property=\"og:description\" content=\"We will learn the operation of a photo resistor, measure its values, wire up the photo resistor, and see the values change in a standard analog sketch.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bryceautomation.com\/index.php\/2017\/05\/19\/photoelectric-sensor\/\" \/>\n<meta property=\"og:site_name\" content=\"Bryce Automation\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/ricky.bryce.7\" \/>\n<meta property=\"article:published_time\" content=\"2017-05-19T22:21:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-05-20T23:21:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2017\/05\/photostandalone.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"592\" \/>\n\t<meta property=\"og:image:height\" content=\"540\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ricky\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2017\\\/05\\\/19\\\/photoelectric-sensor\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2017\\\/05\\\/19\\\/photoelectric-sensor\\\/\"},\"author\":{\"name\":\"Ricky\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#\\\/schema\\\/person\\\/5d5b0f6f6ad768f1ee52968338e63af7\"},\"headline\":\"Photoelectric Resistor\",\"datePublished\":\"2017-05-19T22:21:58+00:00\",\"dateModified\":\"2017-05-20T23:21:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2017\\\/05\\\/19\\\/photoelectric-sensor\\\/\"},\"wordCount\":793,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2017\\\/05\\\/19\\\/photoelectric-sensor\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2017\\\/05\\\/photostandalone.jpg\",\"articleSection\":[\"Arduino and other microprocessors\",\"Beginner\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2017\\\/05\\\/19\\\/photoelectric-sensor\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2017\\\/05\\\/19\\\/photoelectric-sensor\\\/\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2017\\\/05\\\/19\\\/photoelectric-sensor\\\/\",\"name\":\"Using, measuring, and implementing the Photo Resistor for your projects.\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2017\\\/05\\\/19\\\/photoelectric-sensor\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2017\\\/05\\\/19\\\/photoelectric-sensor\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2017\\\/05\\\/photostandalone.jpg\",\"datePublished\":\"2017-05-19T22:21:58+00:00\",\"dateModified\":\"2017-05-20T23:21:19+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#\\\/schema\\\/person\\\/5d5b0f6f6ad768f1ee52968338e63af7\"},\"description\":\"We will learn the operation of a photo resistor, measure its values, wire up the photo resistor, and see the values change in a standard analog sketch.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2017\\\/05\\\/19\\\/photoelectric-sensor\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2017\\\/05\\\/19\\\/photoelectric-sensor\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2017\\\/05\\\/19\\\/photoelectric-sensor\\\/#primaryimage\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2017\\\/05\\\/photostandalone.jpg\",\"contentUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2017\\\/05\\\/photostandalone.jpg\",\"width\":592,\"height\":540,\"caption\":\"Photo Resistor\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2017\\\/05\\\/19\\\/photoelectric-sensor\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bryceautomation.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Photoelectric Resistor\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#website\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/\",\"name\":\"Bryce Automation\",\"description\":\"Automating Home and Industry...\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/bryceautomation.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#\\\/schema\\\/person\\\/5d5b0f6f6ad768f1ee52968338e63af7\",\"name\":\"Ricky\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/wphb-cache\\\/gravatar\\\/a8f\\\/a8fe6bf79d292b388ffee281ccb12488x96.jpg\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/wphb-cache\\\/gravatar\\\/a8f\\\/a8fe6bf79d292b388ffee281ccb12488x96.jpg\",\"contentUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/wphb-cache\\\/gravatar\\\/a8f\\\/a8fe6bf79d292b388ffee281ccb12488x96.jpg\",\"caption\":\"Ricky\"},\"sameAs\":[\"http:\\\/\\\/bryceautomation.com\",\"https:\\\/\\\/www.facebook.com\\\/ricky.bryce.7\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/ricky-bryce-4367a416\\\/\"],\"url\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/author\\\/ricky\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using, measuring, and implementing the Photo Resistor for your projects.","description":"We will learn the operation of a photo resistor, measure its values, wire up the photo resistor, and see the values change in a standard analog sketch.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/bryceautomation.com\/index.php\/2017\/05\/19\/photoelectric-sensor\/","og_locale":"en_US","og_type":"article","og_title":"Using, measuring, and implementing the Photo Resistor for your projects.","og_description":"We will learn the operation of a photo resistor, measure its values, wire up the photo resistor, and see the values change in a standard analog sketch.","og_url":"https:\/\/bryceautomation.com\/index.php\/2017\/05\/19\/photoelectric-sensor\/","og_site_name":"Bryce Automation","article_author":"https:\/\/www.facebook.com\/ricky.bryce.7","article_published_time":"2017-05-19T22:21:58+00:00","article_modified_time":"2017-05-20T23:21:19+00:00","og_image":[{"width":592,"height":540,"url":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2017\/05\/photostandalone.jpg","type":"image\/jpeg"}],"author":"Ricky","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/bryceautomation.com\/index.php\/2017\/05\/19\/photoelectric-sensor\/#article","isPartOf":{"@id":"https:\/\/bryceautomation.com\/index.php\/2017\/05\/19\/photoelectric-sensor\/"},"author":{"name":"Ricky","@id":"https:\/\/bryceautomation.com\/#\/schema\/person\/5d5b0f6f6ad768f1ee52968338e63af7"},"headline":"Photoelectric Resistor","datePublished":"2017-05-19T22:21:58+00:00","dateModified":"2017-05-20T23:21:19+00:00","mainEntityOfPage":{"@id":"https:\/\/bryceautomation.com\/index.php\/2017\/05\/19\/photoelectric-sensor\/"},"wordCount":793,"commentCount":0,"image":{"@id":"https:\/\/bryceautomation.com\/index.php\/2017\/05\/19\/photoelectric-sensor\/#primaryimage"},"thumbnailUrl":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2017\/05\/photostandalone.jpg","articleSection":["Arduino and other microprocessors","Beginner"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/bryceautomation.com\/index.php\/2017\/05\/19\/photoelectric-sensor\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/bryceautomation.com\/index.php\/2017\/05\/19\/photoelectric-sensor\/","url":"https:\/\/bryceautomation.com\/index.php\/2017\/05\/19\/photoelectric-sensor\/","name":"Using, measuring, and implementing the Photo Resistor for your projects.","isPartOf":{"@id":"https:\/\/bryceautomation.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/bryceautomation.com\/index.php\/2017\/05\/19\/photoelectric-sensor\/#primaryimage"},"image":{"@id":"https:\/\/bryceautomation.com\/index.php\/2017\/05\/19\/photoelectric-sensor\/#primaryimage"},"thumbnailUrl":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2017\/05\/photostandalone.jpg","datePublished":"2017-05-19T22:21:58+00:00","dateModified":"2017-05-20T23:21:19+00:00","author":{"@id":"https:\/\/bryceautomation.com\/#\/schema\/person\/5d5b0f6f6ad768f1ee52968338e63af7"},"description":"We will learn the operation of a photo resistor, measure its values, wire up the photo resistor, and see the values change in a standard analog sketch.","breadcrumb":{"@id":"https:\/\/bryceautomation.com\/index.php\/2017\/05\/19\/photoelectric-sensor\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bryceautomation.com\/index.php\/2017\/05\/19\/photoelectric-sensor\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bryceautomation.com\/index.php\/2017\/05\/19\/photoelectric-sensor\/#primaryimage","url":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2017\/05\/photostandalone.jpg","contentUrl":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2017\/05\/photostandalone.jpg","width":592,"height":540,"caption":"Photo Resistor"},{"@type":"BreadcrumbList","@id":"https:\/\/bryceautomation.com\/index.php\/2017\/05\/19\/photoelectric-sensor\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bryceautomation.com\/"},{"@type":"ListItem","position":2,"name":"Photoelectric Resistor"}]},{"@type":"WebSite","@id":"https:\/\/bryceautomation.com\/#website","url":"https:\/\/bryceautomation.com\/","name":"Bryce Automation","description":"Automating Home and Industry...","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bryceautomation.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/bryceautomation.com\/#\/schema\/person\/5d5b0f6f6ad768f1ee52968338e63af7","name":"Ricky","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bryceautomation.com\/wp-content\/wphb-cache\/gravatar\/a8f\/a8fe6bf79d292b388ffee281ccb12488x96.jpg","url":"https:\/\/bryceautomation.com\/wp-content\/wphb-cache\/gravatar\/a8f\/a8fe6bf79d292b388ffee281ccb12488x96.jpg","contentUrl":"https:\/\/bryceautomation.com\/wp-content\/wphb-cache\/gravatar\/a8f\/a8fe6bf79d292b388ffee281ccb12488x96.jpg","caption":"Ricky"},"sameAs":["http:\/\/bryceautomation.com","https:\/\/www.facebook.com\/ricky.bryce.7","https:\/\/www.linkedin.com\/in\/ricky-bryce-4367a416\/"],"url":"https:\/\/bryceautomation.com\/index.php\/author\/ricky\/"}]}},"_links":{"self":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/posts\/440","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/comments?post=440"}],"version-history":[{"count":0,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/posts\/440\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/media\/441"}],"wp:attachment":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/media?parent=440"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/categories?post=440"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/tags?post=440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}