{"id":953,"date":"2021-10-06T15:16:11","date_gmt":"2021-10-06T19:16:11","guid":{"rendered":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-a21\/?p=953"},"modified":"2021-10-06T15:16:49","modified_gmt":"2021-10-06T19:16:49","slug":"slater-campbell-polish-and-present","status":"publish","type":"post","link":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-a21\/scampbell\/slater-campbell-polish-and-present\/","title":{"rendered":"Slater Campbell &#8211; Polish and Present"},"content":{"rendered":"\n<p>My actual progress toward &#8220;polish and present&#8221; came a couple days after this post was due, but I&#8217;ll save that part for next week. Laser cutting in Washburn went far better than I expected.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Over the weekend, I spent a substantial amount of time splicing together the rest of my LEDs, making a solderable breadboard with the ESP8266, a capacitor across the 5V and GND rails, and wires connecting the slide potentiometer and on\/off switch. I hooked up the power supply and ran extra wires for more current for the LEDs. For some reason, only the first 300 LEDs work, I&#8217;ll have to spend some more time this week getting the last 46 to receive data.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-a21\/wp-content\/uploads\/sites\/18\/2021\/10\/20211001_223756-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-a21\/wp-content\/uploads\/sites\/18\/2021\/10\/20211001_223756-1024x768.jpg\" alt=\"\" class=\"wp-image-954\" srcset=\"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-a21\/wp-content\/uploads\/sites\/18\/2021\/10\/20211001_223756-1024x768.jpg 1024w, https:\/\/www.joshuarosenstock.com\/teaching\/lightart-a21\/wp-content\/uploads\/sites\/18\/2021\/10\/20211001_223756-800x600.jpg 800w, https:\/\/www.joshuarosenstock.com\/teaching\/lightart-a21\/wp-content\/uploads\/sites\/18\/2021\/10\/20211001_223756-768x576.jpg 768w, https:\/\/www.joshuarosenstock.com\/teaching\/lightart-a21\/wp-content\/uploads\/sites\/18\/2021\/10\/20211001_223756-1536x1152.jpg 1536w, https:\/\/www.joshuarosenstock.com\/teaching\/lightart-a21\/wp-content\/uploads\/sites\/18\/2021\/10\/20211001_223756-2048x1536.jpg 2048w, https:\/\/www.joshuarosenstock.com\/teaching\/lightart-a21\/wp-content\/uploads\/sites\/18\/2021\/10\/20211001_223756-400x300.jpg 400w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>I also spent some time writing a first pass on the control software for the LEDs. I discovered that the slide potentiometer I bought is actually logarithmic, despite that not being mentioned anywhere on the datasheet. I assume that nearly all linear pots are logarithmic, to be used as faders for audio applications. However, for my application I needed to convert it to linear. Unfortunately, I discovered that the way they make large logarithmic pots is by combining a bunch of small ones, so the formula to convert to linear isn&#8217;t perfect. Additionally, the potentiometer reads are somewhat noisy. I will account for this by doing multiple reads and averaging them, and I may build a lookup table to give me evenly spaced intervals on the potentiometer.<\/p>\n\n\n\n<p>Currently I have it set up such that when you move the potentiometer, it highlights one layer, and when it doesn&#8217;t move for a few seconds, it returns to lighting all layers. I think I will replace this functionality with a system where you can &#8220;park&#8221; the potentiometer at the very front, and it will light all layers, any other position highlights either one or two layers. I want to make it so you can scroll through the layers smoothly by fading between them, instead of just snapping between them.<\/p>\n\n\n\n<p>Overall my worries about not finishing this project on time are now put to rest, and I am excited to present it and see everyone else&#8217;s works!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My actual progress toward &#8220;polish and present&#8221; came a couple days after this post was due, but I&#8217;ll save that part for next week. Laser cutting in Washburn went far better than I expected. Over the weekend, I spent a substantial amount of time splicing together the rest of my LEDs, making a solderable breadboard&#8230; <\/p>\n<div class=\"link-more\"><a href=\"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-a21\/scampbell\/slater-campbell-polish-and-present\/\">Read More<\/a><\/div>\n","protected":false},"author":164,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cybocfi_hide_featured_image":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-953","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-a21\/wp-json\/wp\/v2\/posts\/953","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-a21\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-a21\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-a21\/wp-json\/wp\/v2\/users\/164"}],"replies":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-a21\/wp-json\/wp\/v2\/comments?post=953"}],"version-history":[{"count":2,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-a21\/wp-json\/wp\/v2\/posts\/953\/revisions"}],"predecessor-version":[{"id":956,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-a21\/wp-json\/wp\/v2\/posts\/953\/revisions\/956"}],"wp:attachment":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-a21\/wp-json\/wp\/v2\/media?parent=953"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-a21\/wp-json\/wp\/v2\/categories?post=953"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-a21\/wp-json\/wp\/v2\/tags?post=953"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}