{"id":61,"date":"2019-11-05T05:47:50","date_gmt":"2019-11-05T05:47:50","guid":{"rendered":"https:\/\/www.yubinlin.com\/?p=61"},"modified":"2019-11-05T05:47:50","modified_gmt":"2019-11-05T05:47:50","slug":"prototype-light-meter-based-on-tsl2591-and-arduino-nano","status":"publish","type":"post","link":"https:\/\/www.yubinlin.com\/index.php\/2019\/11\/05\/prototype-light-meter-based-on-tsl2591-and-arduino-nano\/","title":{"rendered":"Prototype: Light meter based on TSL2591 and Arduino Nano"},"content":{"rendered":"\n<p>This is an update of the project. The original project can be found here:  <a href=\"https:\/\/www.yichiyang.com\/new-project-portable-light-meter-using-tsl2591\/\">https:\/\/www.yichiyang.com\/new-project-portable-light-meter-using-tsl2591\/<\/a> <\/p>\n\n\n\n<p>After testing on breadboard, I designed a PCB to fit all of the components together. I also added a LiPo battery as well as a charger\/boost converter to keep the light meter powered. Here&#8217;s the setup.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.yubinlin.com\/wp-content\/uploads\/2019\/11\/WeChat-Image_20191101221753-768x1024.jpg\" alt=\"\" class=\"wp-image-63\" width=\"449\" height=\"598\" srcset=\"https:\/\/www.yubinlin.com\/wp-content\/uploads\/2019\/11\/WeChat-Image_20191101221753-768x1024.jpg 768w, https:\/\/www.yubinlin.com\/wp-content\/uploads\/2019\/11\/WeChat-Image_20191101221753-225x300.jpg 225w, https:\/\/www.yubinlin.com\/wp-content\/uploads\/2019\/11\/WeChat-Image_20191101221753.jpg 1080w\" sizes=\"auto, (max-width: 449px) 100vw, 449px\" \/><figcaption>Front side of the board with batery turned on<\/figcaption><\/figure><\/div>\n\n\n\n<p>As you can see, it&#8217;s a pretty temporary fix, indicated by extra wires and random battery placement. Nonetheless, the lightmeter works as expected the values are quite close when compared with the app on my phone. I will try to compare this with the readings of my DSLR later to furtherly examine the accuracy.<\/p>\n\n\n\n<p>The board has quite some problems. First, I did not consider spacing between the Arduino controller and the OLED display. As shown in the picture, the lower part of the display is blocked by the Arduino and I have to use a couple of pin headers to &#8220;lift&#8221; the Arduino above the display to create enough spacing between the two. In addition, the USB port on the Arduino is oriented upwards, meaning that the programming cable will block most of the display when I am testing this (see picture below).<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.yubinlin.com\/wp-content\/uploads\/2019\/11\/WeChat-Image_20191101221802-575x1024.jpg\" alt=\"\" class=\"wp-image-68\" width=\"427\" height=\"761\" srcset=\"https:\/\/www.yubinlin.com\/wp-content\/uploads\/2019\/11\/WeChat-Image_20191101221802-575x1024.jpg 575w, https:\/\/www.yubinlin.com\/wp-content\/uploads\/2019\/11\/WeChat-Image_20191101221802-169x300.jpg 169w, https:\/\/www.yubinlin.com\/wp-content\/uploads\/2019\/11\/WeChat-Image_20191101221802-768x1367.jpg 768w, https:\/\/www.yubinlin.com\/wp-content\/uploads\/2019\/11\/WeChat-Image_20191101221802.jpg 1056w\" sizes=\"auto, (max-width: 427px) 100vw, 427px\" \/><figcaption>The USB cable blocking the LCD<\/figcaption><\/figure><\/div>\n\n\n\n<p>So this wraps up my first working prototype for the light meter and I&#8217;m pretty happy about it. Any feedback is welcomed. My next step will be rearranging the PCB layout and flip the orientation of the Arduino. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is an update of the project. The original project can be found here: https:\/\/www.yichiyang.com\/new-project-portable-light-meter-using-tsl2591\/ After testing on breadboard, I designed a PCB to fit all of the components together. I also added a LiPo battery as well as a charger\/boost converter to keep the light meter powered. Here&#8217;s the setup. As you can see, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.yubinlin.com\/index.php\/2019\/11\/05\/prototype-light-meter-based-on-tsl2591-and-arduino-nano\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Prototype: Light meter based on TSL2591 and Arduino Nano&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[10,9],"class_list":["post-61","post","type-post","status-publish","format-standard","hentry","category-project","tag-light-meter","tag-project","entry"],"_links":{"self":[{"href":"https:\/\/www.yubinlin.com\/index.php\/wp-json\/wp\/v2\/posts\/61","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yubinlin.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yubinlin.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yubinlin.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yubinlin.com\/index.php\/wp-json\/wp\/v2\/comments?post=61"}],"version-history":[{"count":2,"href":"https:\/\/www.yubinlin.com\/index.php\/wp-json\/wp\/v2\/posts\/61\/revisions"}],"predecessor-version":[{"id":69,"href":"https:\/\/www.yubinlin.com\/index.php\/wp-json\/wp\/v2\/posts\/61\/revisions\/69"}],"wp:attachment":[{"href":"https:\/\/www.yubinlin.com\/index.php\/wp-json\/wp\/v2\/media?parent=61"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yubinlin.com\/index.php\/wp-json\/wp\/v2\/categories?post=61"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yubinlin.com\/index.php\/wp-json\/wp\/v2\/tags?post=61"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}