{"id":2191,"date":"2021-11-09T11:20:34","date_gmt":"2021-11-09T16:20:34","guid":{"rendered":"https:\/\/courses.ideate.cmu.edu\/16-375\/f2021\/work\/?p=2191"},"modified":"2021-11-09T11:20:35","modified_gmt":"2021-11-09T16:20:35","slug":"progress-report-2-11-9-kanvi-anaya","status":"publish","type":"post","link":"https:\/\/courses.ideate.cmu.edu\/16-375\/f2021\/work\/2021\/11\/09\/progress-report-2-11-9-kanvi-anaya\/","title":{"rendered":"Progress Report 2 (11\/9): Kanvi &amp; Anaya"},"content":{"rendered":"\n<p>Over the last week, we made some important decisions regarding the wind motions we are going to achieve. We also progressed quite a bit with CAD designs, and think we can begin to laser cut and prototype this week. <\/p>\n\n\n\n<p>First, we made a rough paper cut out as proof of concept for our light projections as well as programmed the LED strips and tested that. <\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/courses.ideate.cmu.edu\/16-375\/f2021\/work\/wp-content\/uploads\/2021\/11\/IMG_1287.mp4\"><\/video><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>We were quite impressed with the clarity of the projections and are going to go ahead and make our laser cut pieces for which the CAD looks like this: <\/p>\n\n\n\n<p>We chose patterns based on the season (such as different sized circles to give a snow effect): <\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" width=\"1024\" height=\"515\" src=\"https:\/\/courses.ideate.cmu.edu\/16-375\/f2021\/work\/wp-content\/uploads\/2021\/11\/Screen-Shot-2021-11-09-at-10.50.45-AM-1024x515.jpg\" alt=\"\" class=\"wp-image-2192\" srcset=\"https:\/\/courses.ideate.cmu.edu\/16-375\/f2021\/work\/wp-content\/uploads\/2021\/11\/Screen-Shot-2021-11-09-at-10.50.45-AM-1024x515.jpg 1024w, https:\/\/courses.ideate.cmu.edu\/16-375\/f2021\/work\/wp-content\/uploads\/2021\/11\/Screen-Shot-2021-11-09-at-10.50.45-AM-300x151.jpg 300w, https:\/\/courses.ideate.cmu.edu\/16-375\/f2021\/work\/wp-content\/uploads\/2021\/11\/Screen-Shot-2021-11-09-at-10.50.45-AM-768x386.jpg 768w, https:\/\/courses.ideate.cmu.edu\/16-375\/f2021\/work\/wp-content\/uploads\/2021\/11\/Screen-Shot-2021-11-09-at-10.50.45-AM-1536x773.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/16-375\/f2021\/work\/wp-content\/uploads\/2021\/11\/Screen-Shot-2021-11-09-at-10.50.45-AM-973x490.jpg 973w, https:\/\/courses.ideate.cmu.edu\/16-375\/f2021\/work\/wp-content\/uploads\/2021\/11\/Screen-Shot-2021-11-09-at-10.50.45-AM-508x256.jpg 508w, https:\/\/courses.ideate.cmu.edu\/16-375\/f2021\/work\/wp-content\/uploads\/2021\/11\/Screen-Shot-2021-11-09-at-10.50.45-AM.jpg 1868w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>We also worked on more programming, with our next goal to be integrating code for the lights, motors, and fans into the same program. We&#8217;re using the FastLED library to control the LED strips.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/\/Initializing fan Pin\nint fan1_pin = 3;\nint fan2_pin = 5;\nint fan3_pin = 9;\nint led_pin = 10;\nvoid setup() {\n  pinMode(fan1_pin, OUTPUT);\n  pinMode(fan2_pin, OUTPUT);\n  pinMode(fan3_pin, OUTPUT);\n  pinMode(led_pin, OUTPUT);\n}\nvoid loop() {\n  analogWrite(fan1_pin, 254);\n  analogWrite(fan2_pin, 254);\n  analogWrite(fan3_pin, 254);\n  analogWrite(led_pin, 200);\n  delay(1);\n\n}<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">void loop()\n{\n    ChangePalettePeriodically();\n    \n    static uint8_t startIndex = 0;\n    startIndex = startIndex + 1; \/* motion speed *\/\n    \n    FillLEDsFromPaletteColors( startIndex);\n    \n    FastLED.show();\n    FastLED.delay(1000 \/ UPDATES_PER_SECOND);\n}\n\nvoid FillLEDsFromPaletteColors( uint8_t colorIndex)\n{\n    uint8_t brightness = 255;\n    \n    for( int i = 0; i &lt; NUM_LEDS; ++i) {\n        leds[i] = ColorFromPalette( currentPalette, colorIndex, brightness, currentBlending);\n        colorIndex += 3;\n    }\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Over the last week, we made some important decisions regarding the wind motions we are going to achieve. We also progressed quite a bit with CAD designs, and&#8230;<\/p>\n","protected":false},"author":24,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/courses.ideate.cmu.edu\/16-375\/f2021\/work\/wp-json\/wp\/v2\/posts\/2191"}],"collection":[{"href":"https:\/\/courses.ideate.cmu.edu\/16-375\/f2021\/work\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/courses.ideate.cmu.edu\/16-375\/f2021\/work\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/16-375\/f2021\/work\/wp-json\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/16-375\/f2021\/work\/wp-json\/wp\/v2\/comments?post=2191"}],"version-history":[{"count":4,"href":"https:\/\/courses.ideate.cmu.edu\/16-375\/f2021\/work\/wp-json\/wp\/v2\/posts\/2191\/revisions"}],"predecessor-version":[{"id":2199,"href":"https:\/\/courses.ideate.cmu.edu\/16-375\/f2021\/work\/wp-json\/wp\/v2\/posts\/2191\/revisions\/2199"}],"wp:attachment":[{"href":"https:\/\/courses.ideate.cmu.edu\/16-375\/f2021\/work\/wp-json\/wp\/v2\/media?parent=2191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/16-375\/f2021\/work\/wp-json\/wp\/v2\/categories?post=2191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/16-375\/f2021\/work\/wp-json\/wp\/v2\/tags?post=2191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}