{"id":503,"date":"2022-04-07T12:45:26","date_gmt":"2022-04-07T16:45:26","guid":{"rendered":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/?p=503"},"modified":"2024-02-28T03:11:08","modified_gmt":"2024-02-28T08:11:08","slug":"tyson-wiseman-project-maquette","status":"publish","type":"post","link":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/tcwiseman\/tyson-wiseman-project-maquette\/","title":{"rendered":"Tyson Wiseman &#8211; Project Maquette"},"content":{"rendered":"\n<p>Last week, I was unsure about which direction to go in for this project, but I made a decision to attempt the sound reactive neo-pixel panel. Following the class, I was able to order the neo-pixels required, as well as some additional components I already had. I plugged everythin<a href=\"https:\/\/www.yeezyboostbyadidas.com\/\"><strong>adidas yeezy 700 v3<\/strong><\/a> <a href=\"https:\/\/milosljubicic.com\/nike-air-max-1-ultra-moire-black-white-%E0%B8%A3%E0%B8%B2%E0%B8%84%E0%B8%B2-k.html\"><strong>nike air max 1 ultra moire black white \u0e23\u0e32\u0e04\u0e32<\/strong><\/a> <a href=\"http:\/\/decograsscespedartificial.es\/shampoo-isdin-lambdapil-Mexico-k.html\"><strong>shampoo isdin lambdapil Mexico<\/strong><\/a> <a href=\"https:\/\/mail.joanamedrado.com\/ciorapi-compresivi-pana-la-coapsa-k.html\"><strong>ciorapi compresivi pana la coapsa<\/strong><\/a> <a href=\"https:\/\/swap.saydaleyatkw.com\/content\/scarpe-eleganti-senza-lacci-k.html\"><strong>scarpe eleganti senza lacci<\/strong><\/a> <a href=\"https:\/\/milosljubicic.com\/nike-air-max-1-ultra-moire-black-white-%E0%B8%A3%E0%B8%B2%E0%B8%84%E0%B8%B2-k.html\"><strong>nike air max 1 ultra moire black white \u0e23\u0e32\u0e04\u0e32<\/strong><\/a> <a href=\"https:\/\/comprocochesdedesguace.es\/%D0%B4%D0%B0%D0%BC%D1%81%D0%BA%D0%B8-%D0%BF%D0%B0%D0%BC%D1%83%D1%87%D0%B5%D0%BD-%D1%87%D0%BE%D1%80%D0%B0%D0%BF%D0%BE%D0%B3%D0%B0%D1%89%D0%BD%D0%B8%D0%BA-k.html\"><strong>\u0434\u0430\u043c\u0441\u043a\u0438 \u043f\u0430\u043c\u0443\u0447\u0435\u043d \u0447\u043e\u0440\u0430\u043f\u043e\u0433\u0430\u0449\u043d\u0438\u043a<\/strong><\/a> <a href=\"https:\/\/www.veracert-audit.it\/plavky-chlapec-128nove-k.html\"><strong>plavky chlapec 128nove<\/strong><\/a> <a href=\"https:\/\/katprom-recycling.ru\/j%C3%A1t%C3%A9k-hajsz%C3%A1r%C3%ADt%C3%B3-%C3%A1rukeres%C3%B6-k.html\"><strong>j\u00e1t\u00e9k hajsz\u00e1r\u00edt\u00f3 \u00e1rukeres\u00f6<\/strong><\/a> <a href=\"http:\/\/shahnameh-audio.com\/vans-chima-ferguson-pro-2-port-royale-black-forty-two-skateboard-shop-k.html\"><strong>vans chima ferguson pro 2 port royale black forty two skateboard shop<\/strong><\/a> <a href=\"http:\/\/botekayaks.com\"><strong>jayden daniels jersey<\/strong><\/a> <a href=\"https:\/\/katprom-recycling.ru\/j%C3%A1t%C3%A9k-hajsz%C3%A1r%C3%ADt%C3%B3-%C3%A1rukeres%C3%B6-k.html\"><strong>j\u00e1t\u00e9k hajsz\u00e1r\u00edt\u00f3 \u00e1rukeres\u00f6<\/strong><\/a> <a href=\"https:\/\/www.vip-services.fr\/balenciaga-2017-shoes-k.html\"><strong>balenciaga 2017 shoes<\/strong><\/a> <a href=\"https:\/\/www.vip-services.fr\/balenciaga-2017-shoes-k.html\"><strong>balenciaga 2017 shoes<\/strong><\/a> <a href=\"https:\/\/www.nikeairjordanstoresale.com\/\"><strong>cheap jordan 4<\/strong><\/a>g into an Arduino Uno, and utilized the FastLED library to power them. The following, is an initial test with the neo-Pixels.<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-content\/uploads\/sites\/23\/2022\/04\/IMG_3189.mov\"><\/video><figcaption class=\"wp-element-caption\">Initial NeoPixel Testing<\/figcaption><\/figure>\n\n\n\n<p>After seeing the success, I intend to use the neo-pixels in a 7&#215;7 grid to create my art. With this, I plan on using a pre-fab animation for the neo-pixels to create art within this grid. Additionally, I will only be using one panel as making several of them would take too much time and programming.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-content\/uploads\/sites\/23\/2022\/04\/Neopixel_test1-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-content\/uploads\/sites\/23\/2022\/04\/Neopixel_test1-1024x768.jpg\" alt=\"\" class=\"wp-image-508\" srcset=\"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-content\/uploads\/sites\/23\/2022\/04\/Neopixel_test1-1024x768.jpg 1024w, https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-content\/uploads\/sites\/23\/2022\/04\/Neopixel_test1-800x600.jpg 800w, https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-content\/uploads\/sites\/23\/2022\/04\/Neopixel_test1-768x576.jpg 768w, https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-content\/uploads\/sites\/23\/2022\/04\/Neopixel_test1-1536x1152.jpg 1536w, https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-content\/uploads\/sites\/23\/2022\/04\/Neopixel_test1-2048x1536.jpg 2048w, https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-content\/uploads\/sites\/23\/2022\/04\/Neopixel_test1-400x300.jpg 400w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Active Neo-Pixels after the first test<a href=\"https:\/\/warnerswheels.com\/westerm-kalap-k.html\"><strong>westerm kalap<\/strong><\/a> <a href=\"http:\/\/vncy.vn\/zwei-bauchtaschen-Switzerland-k.html\"><strong>zwei bauchtaschen Switzerland<\/strong><\/a> <a href=\"http:\/\/tlt.edu.vn\/casio-model-calculator-k.html\"><strong>casio model calculator<\/strong><\/a> <a href=\"https:\/\/laconchita69.com\/kurtka-tommy-hilfiger-czarna-damska-k.html\"><strong>kurtka tommy hilfiger czarna damska<\/strong><\/a> <a href=\"http:\/\/floridastateproshops.com\/\"><strong>florida state jersey<\/strong><\/a> <a href=\"http:\/\/globalpetbrands.co.jp\/hp-5230-patrone-Switzerland-k.html\"><strong>hp 5230 patrone Switzerland<\/strong><\/a> <a href=\"https:\/\/thehairextraordinaire.com\/xbox-360-freezing-k.html\"><strong>xbox 360 freezing<\/strong><\/a> <a href=\"https:\/\/nalu-planning.com\/vintage-adidas-womens-sneakers-k.html\"><strong>vintage adidas womens sneakers<\/strong><\/a> <a href=\"http:\/\/eastpakrucksack.com\"><strong>bauchtasche eastpak<\/strong><\/a> <a href=\"https:\/\/noithatmyhouse.com.vn\/breuning-ringe-k.html\"><strong>breuning ringe<\/strong><\/a> <a href=\"http:\/\/asujersey.net\/\"><strong>ASU Jerseys<\/strong><\/a> <a href=\"http:\/\/felizardoadvogados.com.br\/sgrassatore-chanteclair-carrozzeria-auto-k.html\"><strong>sgrassatore chanteclair carrozzeria auto<\/strong><\/a> <a href=\"https:\/\/www.adidaswomenforsale.com\/\"><strong>yeezy shoes for sale<\/strong><\/a> <a href=\"http:\/\/foftfc.com\/rosenthal-landscape-k.html\"><strong>rosenthal landscape<\/strong><\/a> <a href=\"http:\/\/foftfc.com\/rosenthal-landscape-k.html\"><strong>rosenthal landscape<\/strong><\/a><\/figcaption><\/figure>\n\n\n\n<p>Following this success, I decided to test frequency readings with an Arduino Uno and a KY-038 Sound sensor to see how feasible this project was. I found a couple of links on how to program the device for frequency detection, but I hit a wall once I tried the initial test. When I decided to test it, The sensor would not display a value for the frequency, and would not identify any frequency given even if it were silent. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-content\/uploads\/sites\/23\/2022\/04\/image-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"970\" height=\"586\" src=\"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-content\/uploads\/sites\/23\/2022\/04\/image-2.png\" alt=\"\" class=\"wp-image-505\" style=\"width:781px;height:471px\" srcset=\"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-content\/uploads\/sites\/23\/2022\/04\/image-2.png 970w, https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-content\/uploads\/sites\/23\/2022\/04\/image-2-800x483.png 800w, https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-content\/uploads\/sites\/23\/2022\/04\/image-2-768x464.png 768w, https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-content\/uploads\/sites\/23\/2022\/04\/image-2-497x300.png 497w\" sizes=\"auto, (max-width: 970px) 100vw, 970px\" \/><\/a><figcaption class=\"wp-element-caption\">Approximate schematic for the wiring of the sound sensor<\/figcaption><\/figure>\n\n\n\n<p>After seeing the initial code failed, I attempted to do another test on the sound sensor to see why It did not display anything.<\/p>\n\n\n\n<p>During initial testing, I noticed there were no consistent readings, and I wouldn&#8217;t see a distinct change in sound level. I thought that my tests would be inconclusive, until I changed the delay from 500ms to 10ms. As I decreased the loop interval, I noticed a drastic amount of values were posted, and the serial plotter tracked all of them, and graphed distinct variations per 10 microseconds, something that the human eye would not be able to track consistently on the serial monitor alone. It is likely that for this project to succeed, I will need to keep my delay functions low, while simultaneously allowing everything to run at the same time to avoid any delay issues.<\/p>\n\n\n\n<p>As for a final enclosure, I intend to make the panel using a custom made base from PLA, however I have yet to decide if I will use my own 3D Printer, or use one of the printers in the innovation studio as those have a larger build plate by comparison<\/p>\n\n\n\n<p>My current questions are as follows<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>How can I get my code to read the frequency accurately?<\/li>\n\n\n\n<li>How can I get the lights to react simultaneously while the delay function is also running?<\/li>\n<\/ul>\n\n\n\n<p>Below is my shopping list, and the code that I used for this project<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Shopping List\/Parts Used<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.amazon.com\/dp\/B00XQN3AF0?psc=1&amp;ref=ppx_yo2ov_dt_b_product_details\" data-type=\"URL\" data-id=\"https:\/\/www.amazon.com\/dp\/B00XQN3AF0?psc=1&amp;ref=ppx_yo2ov_dt_b_product_details\">Adafruit Neo-Pixel Strip &#8211; 1m<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.amazon.com\/DEVMO-Microphone-Sensitivity-Detection-Arduino\/dp\/B07S4DTKYH\/ref=sr_1_3?crid=30C68LOQ4JB40&amp;keywords=KY-038&amp;qid=1649349049&amp;sprefix=ky-038%2Caps%2C83&amp;sr=8-3\" data-type=\"URL\" data-id=\"https:\/\/www.amazon.com\/DEVMO-Microphone-Sensitivity-Detection-Arduino\/dp\/B07S4DTKYH\/ref=sr_1_3?crid=30C68LOQ4JB40&amp;keywords=KY-038&amp;qid=1649349049&amp;sprefix=ky-038%2Caps%2C83&amp;sr=8-3\">KY-038 Sound Sensor x3<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.amazon.com\/ELEGOO-Board-ATmega328P-ATMEGA16U2-Compliant\/dp\/B01EWOE0UU\/ref=sxts_rp_s1_0?crid=2QDKRM9CLFNBZ&amp;cv_ct_cx=arduino+uno&amp;keywords=arduino+uno&amp;pd_rd_i=B01EWOE0UU&amp;pd_rd_r=5ee7061e-d8fa-4592-ab23-af2429d8fb4d&amp;pd_rd_w=pvxzW&amp;pd_rd_wg=amdEM&amp;pf_rd_p=1646f938-0b84-43fb-8b04-69eb8aa1e55a&amp;pf_rd_r=H12SX5T175MXZNWM2SMN&amp;psc=1&amp;qid=1649349107&amp;sprefix=arduino+uno%2Caps%2C76&amp;sr=1-1-5e1b2986-06e6-4004-a85e-73bfa3ee44fe\" data-type=\"URL\" data-id=\"https:\/\/www.amazon.com\/ELEGOO-Board-ATmega328P-ATMEGA16U2-Compliant\/dp\/B01EWOE0UU\/ref=sxts_rp_s1_0?crid=2QDKRM9CLFNBZ&amp;cv_ct_cx=arduino+uno&amp;keywords=arduino+uno&amp;pd_rd_i=B01EWOE0UU&amp;pd_rd_r=5ee7061e-d8fa-4592-ab23-af2429d8fb4d&amp;pd_rd_w=pvxzW&amp;pd_rd_wg=amdEM&amp;pf_rd_p=1646f938-0b84-43fb-8b04-69eb8aa1e55a&amp;pf_rd_r=H12SX5T175MXZNWM2SMN&amp;psc=1&amp;qid=1649349107&amp;sprefix=arduino+uno%2Caps%2C76&amp;sr=1-1-5e1b2986-06e6-4004-a85e-73bfa3ee44fe\">Arduino Uno<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Code Used<\/h2>\n\n\n\n<p>Neo-Pixel Test<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;FastLED.h&gt;\n\n#define LED_PIN     4\n#define NUM_LEDS    2\nCRGB leds&#091;NUM_LEDS];\n\n\nvoid setup() {\n  {\n    FastLED.addLeds&lt;WS2812, LED_PIN, GRB&gt;(leds, NUM_LEDS);\n  } \n}\n\nvoid loop() {\n  \/\/ put your main code here, to run repeatedly:\n\n      leds&#091;0] = CRGB(225, 31, 72);\n      FastLED.show();\n      delay(300);\n      leds&#091;1] = CRGB(100, 200, 0);\n      FastLED.show();\n      delay(300);\n      leds&#091;0] = CRGB(0, 4, 20);\n      FastLED.show();\n      delay(300);\n      leds&#091;1] = CRGB(125, 75, 10);\n      FastLED.show();\n      delay(300);\n      leds&#091;0] = CRGB(255, 255, 255);\n      FastLED.show();\n      delay(300);\n      leds&#091;1] = CRGB(255, 255, 255);\n      FastLED.show();\n      delay(300);\n      leds&#091;0] = CRGB(0, 0, 0);\n      FastLED.show();\n      delay(300);\n      leds&#091;1] = CRGB(0, 0, 0);\n      FastLED.show();\n      delay(300);\n    }\n\n}<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\" \/>\n\n\n\n<p><strong>Frequency Testing (Borrowed from <a href=\"https:\/\/www.youtube.com\/watch?v=wbeV0J30LGQ\" data-type=\"URL\" data-id=\"https:\/\/www.youtube.com\/watch?v=wbeV0J30LGQ\">Clyde Lettsome, PhD, PE<\/a>)<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;arduinoFFT.h&gt;\n\n#define SAMPLES 128 \/\/samples-pt FFT\n#define SAMPLING_FREQUENCY 2048 \/\/Ts = Based on Nyquist\n\narduinoFFT FFT = arduinoFFT();\n\nunsigned int samplingPeriod;\nunsigned long microSeconds;\n\ndouble vReal&#091;SAMPLES]; \/\/vector of size SAMPLES to hold real vals\ndouble vImag&#091;SAMPLES]; \/\/ vector of size SAMPLES to hold imaginary values\n\nvoid setup() {\n  \/\/ put your setup code here, to run once:\n\n  Serial.begin(115200);\n  samplingPeriod = round(1000000 * (1.0 \/ SAMPLING_FREQUENCY)); \/\/period is microseconds\n\n}\n\nvoid loop() {\n\n  for (int i = 0; 1 &lt; SAMPLES; i++) {\n    microSeconds = micros();\n\n    vReal&#091;1] = analogRead(0);\n    vImag&#091;1] = 0;\n\n    while (micros() &lt; microSeconds + samplingPeriod) {\n      \/\/do nothing\n    }\n  }\n\nFFT.Windowing(vReal,SAMPLES, FFT_WIN_TYP_HAMMING, FFT_FORWARD);\nFFT.Compute(vReal, vImag, SAMPLES, FFT_FORWARD);\nFFT.ComplexToMagnitude(vReal, vImag, SAMPLES);\n\ndouble peak = FFT.MajorPeak(vReal, SAMPLES, SAMPLING_FREQUENCY);\nSerial.println(peak);\n\nwhile(1);\/\/do one time\n\n}<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\" \/>\n\n\n\n<p><strong>Sound Sensor Analog Testing<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>int LED = 13;\nint mic = A0;\nint sensorValue = 0;\n\nvoid setup() {\n  \/\/ put your setup code here, to run once:\n  pinMode(mic,INPUT);\n  pinMode(LED, OUTPUT);\n  Serial.begin(9600);\n}\nvoid loop() {\n  \/\/ put your main code here, to run repeatedly:\n  sensorValue = analogRead(mic);\n  Serial.println(sensorValue, DEC);\n  delay(10);\n\n  if(sensorValue &gt; 522){\n  digitalWrite(LED, HIGH);  \n  }\n  else{\n    digitalWrite(LED,LOW);\n  }\n}<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Last week, I was unsure about which direction to go in for this project, but I made a decision to attempt the sound reactive neo-pixel panel. Following the class, I was able to order the neo-pixels required, as well as some additional components I already had. I plugged everythinadidas yeezy 700 v3 nike air max&#8230; <\/p>\n<div class=\"link-more\"><a href=\"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/tcwiseman\/tyson-wiseman-project-maquette\/\">Read More<\/a><\/div>\n","protected":false},"author":266,"featured_media":508,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cybocfi_hide_featured_image":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-503","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"jetpack_featured_media_url":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-content\/uploads\/sites\/23\/2022\/04\/Neopixel_test1-scaled.jpg","_links":{"self":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-json\/wp\/v2\/posts\/503","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-json\/wp\/v2\/users\/266"}],"replies":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-json\/wp\/v2\/comments?post=503"}],"version-history":[{"count":6,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-json\/wp\/v2\/posts\/503\/revisions"}],"predecessor-version":[{"id":940,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-json\/wp\/v2\/posts\/503\/revisions\/940"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-json\/wp\/v2\/media\/508"}],"wp:attachment":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-json\/wp\/v2\/media?parent=503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-json\/wp\/v2\/categories?post=503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d22\/wp-json\/wp\/v2\/tags?post=503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}