{"id":5685,"date":"2024-10-05T20:03:43","date_gmt":"2024-10-06T00:03:43","guid":{"rendered":"https:\/\/dkc.umw.edu\/?p=5685"},"modified":"2024-10-05T20:03:43","modified_gmt":"2024-10-06T00:03:43","slug":"evelynestallation-blog-post-5","status":"publish","type":"post","link":"https:\/\/dkc.umw.edu\/fellows\/2024\/10\/05\/evelynestallation-blog-post-5\/","title":{"rendered":"Evelynestallation Blog Post #5!"},"content":{"rendered":"\n<p>Hey everyone! Thanks for reading today&#8217;s blog post! For the past two weeks, I&#8217;ve looked at several big questions that will dictate the course of this entire project. The first question is how to power the lights. They run off of 5 volt energy, and a typical wall socket puts out 240 volts. That&#8217;s a huge difference. Fortunately, Amazon sells a product that steps down the voltage from a wall socket to 5 volts. Here&#8217;s the link- it even comes with a little piece that lets me attach wires to the positive and negative outputs! <\/p>\n\n\n\n<p><a href=\"https:\/\/www.amazon.com\/MTYTOT-Adapter-100V-240V-Converter-Security\/dp\/B0BV64MHY6?source=ps-sl-shoppingads-lpcontext&amp;ref_=fplfs&amp;psc=1&amp;smid=A3RVBXPX8VM3VL\">Amazon link DC power converter<\/a> <\/p>\n\n\n\n<p>However, the next big question doesn&#8217;t have a quick Amazon fix. We want to sync these lights up to the HCC media wall, which would be insanely cool. I met with Josiah, who runs the Media Wall, on Monday. He told me that the media wall is controlled by a Macbook and is connected via cables that run from the projector to a closet on the second floor of the HCC. The projector itself can&#8217;t connect to WiFi or Bluetooth. Upon further reflection, the best way to sync the lights with an ethernet-controlled projector is probably&#8230; massive amounts of code that time the lights really specifically. Oh, and turning everything on at the exact same time. <\/p>\n\n\n\n<p>Trying to brute-force the project presents another difficulty: that of timing. Arduino coding can do almost anything, but what it can&#8217;t do is magically know the time. In order to set the lights on a cycle that matches the media wall during the day and shifts to something soothing at night, I have to program the Arduino to count every second and add it all up. <\/p>\n\n\n\n<p>I visited my favorite Internet forum (Arduino Project Hub) to find out more about counting seconds and found some handy open-source code made for a clock. I&#8217;m attaching the link below as this blog post&#8217;s code. Of course, it&#8217;ll take modification, but there is potential within this code for a 24-hour system that controls sparkly lights and changes vibes completely during the night. I hope you have fun with this code, and I can&#8217;t wait to include my version of it! <\/p>\n\n\n\n<p><a href=\"https:\/\/projecthub.arduino.cc\/plouc68000\/simplest-uno-digital-clock-ever-03c185\">Arduino Clock Project<\/a>  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hey everyone! Thanks for reading today&#8217;s blog post! For the past two weeks, I&#8217;ve looked at several big questions that will dictate the course of this entire project. The first question is how to power the lights. They run off of 5 volt energy, and a typical wall socket puts out 240 volts. That&#8217;s a [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5685","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/dkc.umw.edu\/fellows\/wp-json\/wp\/v2\/posts\/5685","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dkc.umw.edu\/fellows\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dkc.umw.edu\/fellows\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dkc.umw.edu\/fellows\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/dkc.umw.edu\/fellows\/wp-json\/wp\/v2\/comments?post=5685"}],"version-history":[{"count":0,"href":"https:\/\/dkc.umw.edu\/fellows\/wp-json\/wp\/v2\/posts\/5685\/revisions"}],"wp:attachment":[{"href":"https:\/\/dkc.umw.edu\/fellows\/wp-json\/wp\/v2\/media?parent=5685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dkc.umw.edu\/fellows\/wp-json\/wp\/v2\/categories?post=5685"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dkc.umw.edu\/fellows\/wp-json\/wp\/v2\/tags?post=5685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}