{"id":17189,"date":"2023-02-15T02:50:36","date_gmt":"2023-02-15T07:50:36","guid":{"rendered":"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/?p=17189"},"modified":"2023-03-02T21:00:47","modified_gmt":"2023-03-03T02:00:47","slug":"double-transducer-rotational-speed-to-heat","status":"publish","type":"post","link":"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/double-transducer-rotational-speed-to-heat\/","title":{"rendered":"Double Transducer: Rotational Speed to Heat"},"content":{"rendered":"<h6 style=\"text-align: center\">Team members:<br \/>\nLily Hummel &amp; Caleb Sun<\/h6>\n<h3>Caleb\u2019s Double Transducer<\/h3>\n<div id=\"attachment_17360\" style=\"width: 2570px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-17360\" decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-17360\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1043-scaled.jpg\" alt=\"A roughly A4 sized piece of chipboard with Arduino components on it. There is a small LCD screen, a servo motor with a piece of yellow paper attached, as well as a few mini breadboards and a 9 volt battery. The wires are organized with pipe cleaners and the pieces are held to the chipboard with zip ties\" width=\"2560\" height=\"1920\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1043-scaled.jpg 2560w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1043-300x225.jpg 300w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1043-1024x768.jpg 1024w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1043-768x576.jpg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1043-1536x1152.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1043-2048x1536.jpg 2048w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1043-973x730.jpg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1043-508x381.jpg 508w\" sizes=\"(max-width: 2560px) 100vw, 2560px\" \/><p id=\"caption-attachment-17360\" class=\"wp-caption-text\">Caleb&#8217;s Double Transducer<\/p><\/div>\n<h3>Detail Pictures<\/h3>\n<div id=\"attachment_17363\" style=\"width: 2570px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-17363\" decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-17363\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1045-2-scaled.jpg\" alt=\"A closeup shot of the transducer, with emphasis on the yellow paper arm that is attached to the servo motor. It has a big cartoonish hand drawn on it with a cat in the background.\" width=\"2560\" height=\"1920\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1045-2-scaled.jpg 2560w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1045-2-300x225.jpg 300w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1045-2-1024x768.jpg 1024w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1045-2-768x576.jpg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1045-2-1536x1152.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1045-2-2048x1536.jpg 2048w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1045-2-973x730.jpg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1045-2-508x381.jpg 508w\" sizes=\"(max-width: 2560px) 100vw, 2560px\" \/><p id=\"caption-attachment-17363\" class=\"wp-caption-text\">Closeup of the arm attached to Caleb&#8217;s servo motor.<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_17364\" style=\"width: 2570px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-17364\" decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-17364\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1047-scaled.jpg\" alt=\"A closeup shot of the soldered portion of transducer\" width=\"2560\" height=\"1920\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1047-scaled.jpg 2560w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1047-300x225.jpg 300w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1047-1024x768.jpg 1024w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1047-768x576.jpg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1047-1536x1152.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1047-2048x1536.jpg 2048w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1047-973x730.jpg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_1047-508x381.jpg 508w\" sizes=\"(max-width: 2560px) 100vw, 2560px\" \/><p id=\"caption-attachment-17364\" class=\"wp-caption-text\">Closeup of Caleb&#8217;s soldering for the middle and end stage of the transducer.<\/p><\/div>\n<h3>Process Pictures<\/h3>\n<div id=\"attachment_17361\" style=\"width: 1930px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-17361\" decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-17361\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_0932-scaled.jpg\" alt=\"A mess of wires and breadboards, with an Arduino and ultrasonic ranger in the middle.\" width=\"1920\" height=\"2560\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_0932-scaled.jpg 1920w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_0932-225x300.jpg 225w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_0932-768x1024.jpg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_0932-1152x1536.jpg 1152w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_0932-1536x2048.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_0932-973x1297.jpg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_0932-508x677.jpg 508w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><p id=\"caption-attachment-17361\" class=\"wp-caption-text\">Caleb&#8217;s Process 1: Early stage process where the pieces are still in stages.<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_17362\" style=\"width: 1930px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-17362\" decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-17362\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_0978-scaled.jpg\" alt=\"A mess of breadboards, wires, and components on a chipboard. There are a few transistors scattered and a lot of the wires are unplugged.\" width=\"1920\" height=\"2560\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_0978-scaled.jpg 1920w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_0978-225x300.jpg 225w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_0978-768x1024.jpg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_0978-1152x1536.jpg 1152w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_0978-1536x2048.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_0978-973x1297.jpg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/IMG_0978-508x677.jpg 508w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><p id=\"caption-attachment-17362\" class=\"wp-caption-text\">Caleb&#8217;s Process 2: Image taken shortly after deciding to solder a portion of the transducer together, causing mass destruction to the original transducer.<\/p><\/div>\n<h3>Lily\u2019s Double Transducer<\/h3>\n<div id=\"attachment_17296\" style=\"width: 630px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-17296\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-17296 size-large\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/C868407E-0630-48DD-98F7-197793F48113-1024x918.jpeg\" alt=\"Image of an arduino set-up taped to a piece of chipboard. The set-up starts by connecting the arduino to a breadboard that has multiple wires and a rotary encoder plugged in. The wires connect a LCD display, servo motor, ultrasonic ranger, transistor, and battery to the breadboard. The transistor is also connected to an incandescent bulb.\" width=\"620\" height=\"556\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/C868407E-0630-48DD-98F7-197793F48113-1024x918.jpeg 1024w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/C868407E-0630-48DD-98F7-197793F48113-300x269.jpeg 300w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/C868407E-0630-48DD-98F7-197793F48113-768x689.jpeg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/C868407E-0630-48DD-98F7-197793F48113-1536x1377.jpeg 1536w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/C868407E-0630-48DD-98F7-197793F48113-2048x1836.jpeg 2048w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/C868407E-0630-48DD-98F7-197793F48113-973x873.jpeg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/C868407E-0630-48DD-98F7-197793F48113-508x456.jpeg 508w\" sizes=\"(max-width: 620px) 100vw, 620px\" \/><p id=\"caption-attachment-17296\" class=\"wp-caption-text\">This is the overall setup of the double transducer.<\/p><\/div>\n<h3>Detail Pictures<\/h3>\n<div id=\"attachment_17300\" style=\"width: 630px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-17300\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-17300 size-large\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/19D62CA3-EC10-45E7-9ABE-17BF210F61B0-1024x761.jpeg\" alt=\"Image of a breadboard holding an ultrasonic ranger that is positioned in front of a piece of paper attached to a servo motor arm made of a popsicle stick.\" width=\"620\" height=\"461\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/19D62CA3-EC10-45E7-9ABE-17BF210F61B0-1024x761.jpeg 1024w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/19D62CA3-EC10-45E7-9ABE-17BF210F61B0-300x223.jpeg 300w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/19D62CA3-EC10-45E7-9ABE-17BF210F61B0-768x570.jpeg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/19D62CA3-EC10-45E7-9ABE-17BF210F61B0-1536x1141.jpeg 1536w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/19D62CA3-EC10-45E7-9ABE-17BF210F61B0-2048x1521.jpeg 2048w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/19D62CA3-EC10-45E7-9ABE-17BF210F61B0-973x723.jpeg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/19D62CA3-EC10-45E7-9ABE-17BF210F61B0-508x377.jpeg 508w\" sizes=\"(max-width: 620px) 100vw, 620px\" \/><p id=\"caption-attachment-17300\" class=\"wp-caption-text\">The arm of the servo motor is long enough to allow a bigger difference in arm position changes. This allows the ultrasonic ranger to record a bigger difference in distance.<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_17299\" style=\"width: 630px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-17299\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-17299 size-large\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/B1A747A9-AC36-4FF6-A7B0-FD4714231C7B-950x1024.jpeg\" alt=\"Image of a breadboard holding an ultrasonic ranger that is positioned in front of a piece of paper attached to a servo motor arm made of a popsicle stick.\" width=\"620\" height=\"668\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/B1A747A9-AC36-4FF6-A7B0-FD4714231C7B-950x1024.jpeg 950w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/B1A747A9-AC36-4FF6-A7B0-FD4714231C7B-278x300.jpeg 278w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/B1A747A9-AC36-4FF6-A7B0-FD4714231C7B-768x828.jpeg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/B1A747A9-AC36-4FF6-A7B0-FD4714231C7B-1425x1536.jpeg 1425w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/B1A747A9-AC36-4FF6-A7B0-FD4714231C7B-1900x2048.jpeg 1900w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/B1A747A9-AC36-4FF6-A7B0-FD4714231C7B-973x1049.jpeg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/B1A747A9-AC36-4FF6-A7B0-FD4714231C7B-508x547.jpeg 508w\" sizes=\"(max-width: 620px) 100vw, 620px\" \/><p id=\"caption-attachment-17299\" class=\"wp-caption-text\">The arm of the servo motor is long enough to allow a bigger difference in arm position changes. This allows the ultrasonic ranger to record a bigger difference in distance.<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_17298\" style=\"width: 630px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-17298\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-17298 size-large\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/43C65F19-30D5-4609-B9F4-11C332F80EF0-944x1024.jpeg\" alt=\"Image of red breadboard connecting the arduino to a transistor that then connects to an incandescent bulb. The transistor uses a BLANK ohm resistor to connect pin power to ground.\" width=\"620\" height=\"673\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/43C65F19-30D5-4609-B9F4-11C332F80EF0-944x1024.jpeg 944w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/43C65F19-30D5-4609-B9F4-11C332F80EF0-277x300.jpeg 277w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/43C65F19-30D5-4609-B9F4-11C332F80EF0-768x833.jpeg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/43C65F19-30D5-4609-B9F4-11C332F80EF0-1417x1536.jpeg 1417w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/43C65F19-30D5-4609-B9F4-11C332F80EF0-973x1055.jpeg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/43C65F19-30D5-4609-B9F4-11C332F80EF0-508x551.jpeg 508w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/43C65F19-30D5-4609-B9F4-11C332F80EF0.jpeg 1648w\" sizes=\"(max-width: 620px) 100vw, 620px\" \/><p id=\"caption-attachment-17298\" class=\"wp-caption-text\">The 9V battery and lightbulb are connected to a transistor that allows the arduino to communicate with the lightbulb while also supplying enough power to power the lightbulb.<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_17297\" style=\"width: 630px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-17297\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-17297 size-large\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/8CB67919-E606-402F-AB78-AF58112CA5FB-958x1024.jpeg\" alt=\"Image of red breadboard connecting the arduino to a transistor that then connects to an incandescent bulb. The transistor uses a BLANK ohm resistor to connect pin power to ground.\" width=\"620\" height=\"663\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/8CB67919-E606-402F-AB78-AF58112CA5FB-958x1024.jpeg 958w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/8CB67919-E606-402F-AB78-AF58112CA5FB-281x300.jpeg 281w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/8CB67919-E606-402F-AB78-AF58112CA5FB-768x821.jpeg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/8CB67919-E606-402F-AB78-AF58112CA5FB-1437x1536.jpeg 1437w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/8CB67919-E606-402F-AB78-AF58112CA5FB-1916x2048.jpeg 1916w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/8CB67919-E606-402F-AB78-AF58112CA5FB-973x1040.jpeg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/8CB67919-E606-402F-AB78-AF58112CA5FB-508x543.jpeg 508w\" sizes=\"(max-width: 620px) 100vw, 620px\" \/><p id=\"caption-attachment-17297\" class=\"wp-caption-text\">The 9V battery and lightbulb are connected to a transistor that allows the arduino to communicate with the lightbulb while also supplying enough power to power the lightbulb.<\/p><\/div>\n<h3>Process Photos<\/h3>\n<div id=\"attachment_17302\" style=\"width: 630px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-17302\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-17302 size-large\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/362AC5BB-3798-47A1-8E39-8CB923078FB2-1024x768.jpeg\" alt=\"Image of a breadboard connecting an arduino to a servo motor.\" width=\"620\" height=\"465\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/362AC5BB-3798-47A1-8E39-8CB923078FB2-1024x768.jpeg 1024w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/362AC5BB-3798-47A1-8E39-8CB923078FB2-300x225.jpeg 300w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/362AC5BB-3798-47A1-8E39-8CB923078FB2-768x576.jpeg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/362AC5BB-3798-47A1-8E39-8CB923078FB2-1536x1152.jpeg 1536w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/362AC5BB-3798-47A1-8E39-8CB923078FB2-2048x1536.jpeg 2048w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/362AC5BB-3798-47A1-8E39-8CB923078FB2-973x730.jpeg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/362AC5BB-3798-47A1-8E39-8CB923078FB2-508x381.jpeg 508w\" sizes=\"(max-width: 620px) 100vw, 620px\" \/><p id=\"caption-attachment-17302\" class=\"wp-caption-text\">Progress photo showing testing of the servo motor.<\/p><\/div>\n<p>&nbsp;<\/p>\n<div style=\"width: 620px;\" class=\"wp-video\"><!--[if lt IE 9]><script>document.createElement('video');<\/script><![endif]-->\n<video class=\"wp-video-shortcode\" id=\"video-17189-1\" width=\"620\" height=\"1102\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/Untitled-2.mp4?_=1\" \/><a href=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/Untitled-2.mp4\">https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/Untitled-2.mp4<\/a><\/video><\/div>\n<p>&nbsp;<\/p>\n<h3>Video<\/h3>\n<div style=\"width: 620px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-17189-2\" width=\"620\" height=\"1102\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/Untitled2.mp4?_=2\" \/><a href=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/Untitled2.mp4\">https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/Untitled2.mp4<\/a><\/video><\/div>\n<h3><\/h3>\n<h3>Narrative Description<\/h3>\n<p>Our double transducer turns rotational speed to physical heat. When something turns the knob at the left side of the board, a little motor makes a piece of yellow paper move closer to a distance reader. The distance reader makes a lightbulb heat up as the yellow paper gets closer. An LCD display shows the distance and \u201cheat\u201d values.<\/p>\n<h3>Discussion<\/h3>\n<p>The beginning stages of the project actually went smoothly, when we were just wiring up individual parts and configuring them. What a lot of the trouble came from was with configuring parts to each other. The ultrasonic ranger for one was extremely finicky and would refuse to work at certain points, and the Servo arm had to be placed at a certain angle and calibrated specifically.<\/p>\n<p>When everything began to work together, things came down to just manual calibration, which introduced a different issue. Since we shared our code, the code was only calibrated to Caleb&#8217;s transducer, and caused issues when copied over to Lily&#8217;s. This might just call for more robust code that doesn&#8217;t have to be calibrated manually, or possible automatic calibration that we didn&#8217;t have the scope to figure out.<\/p>\n<p>Something we learned was the importance of compartmentalization in the process of making a machine. Starting off, the task was extremely overwhelming. But by breaking apart the transducer into four portions that we could work on one-by-one, it was much more manageable. The different segments made it easier to conduct research, diagram, and ultimately create.<\/p>\n<h3>Block Diagram<\/h3>\n<p><a href=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/Untitled-Diagram.drawio.svg\"><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-17294\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/Untitled-Diagram.drawio.svg\" alt=\"Block diagram of rotational speed to heat double transducer\" width=\"1251\" height=\"731\" \/><\/a><\/p>\n<h3>Semantic Diagram<\/h3>\n<div class=\"mceTemp\"><\/div>\n<p><a href=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/Untitled-Diagram.drawio-1.svg\"><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-17368\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/02\/Untitled-Diagram.drawio-1.svg\" alt=\"Schematic Diagram for the Double Transducer\" width=\"1462\" height=\"951\" \/><\/a><\/p>\n<h3>Code<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"cpp\">\/\/Code first records RPM of the rotary encoder and maps value to angle of servo motor\r\n\/\/Second, the ultrasonic ranger detects its distance from the servo motor, and the distance is mapped to the intensity of light\r\n\/\/Finally, the light turns on\r\n\/\/Map values are tuned to Caleb's transducer\r\n\r\n\/\/Pins:\r\n\/\/Rotary encoder:\r\n\/\/DT -&gt; 2\r\n\/\/CLT -&gt; 3\r\n\/\/Ultrasonic Ranger:\r\n\/\/trig -&gt; 10\r\n\/\/echo -&gt; 13\r\n\/\/Lightbulb:\r\n\/\/Light -&gt; 6\r\n\/\/Servo Motor -&gt; 4\r\n\r\n\/\/Ultrasonic ranger code from: https:\/\/www.circuitbasics.com\/how-to-set-up-an-ultrasonic-range-finder-on-an-arduino\/\r\n\/\/ Timing Code from: https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/tutorials\/code-bites#blink-without-blocking\r\n\r\n#define ENC_COUNT_REV 620\r\n#include &lt;Servo.h&gt;\r\n#include &lt;Wire.h&gt;\r\n#include &lt;Wire.h&gt;\r\n#include &lt;LiquidCrystal_I2C.h&gt;\r\n#define trigPin 10\r\n#define echoPin 13\r\n#define lightPin 6\r\n\r\nextern uint16_t twi_readFrom_timeout;\r\nextern uint16_t twi_writeTo_timeout;\r\nextern bool twi_readFrom_wait;\r\nextern bool twi_writeTo_wait;\r\n\r\nServo doorMotor;\r\nLiquidCrystal_I2C screen(0x27, 16, 2);\r\n \r\nvolatile long encoder_value = 0;\r\nint interval = 1000;\r\nint x = 123;\r\nint motorPos = 0;\r\nlong previousMillis = 0;\r\nlong currentMillis = 0;\r\nint lightVal = 0;\r\nint rpm = 0;\r\nint o = 0;\r\nint m2 = 0;\r\nint m = 0;\r\n \r\nint Servo_pin = 4;\r\nint DT_pin = 2;\r\nint CLK_pin = 3;\r\n  \r\nvoid setup() {\r\n  pinMode(DT_pin , INPUT_PULLUP);\r\n  doorMotor.attach(Servo_pin);\r\n  pinMode(CLK_pin , INPUT);\r\n  \r\n  Serial.begin(9600);\r\n  pinMode(trigPin, OUTPUT);\r\n  pinMode(echoPin, INPUT); \r\n\r\n  pinMode(lightPin,OUTPUT);\r\n\r\n  attachInterrupt(digitalPinToInterrupt(DT_pin), interrupt_on_pulse, RISING);\r\n\r\n  screen.init();\r\n  screen.backlight();\r\n  screen.clear();\r\n  screen.setCursor(12,1);\r\n  screen.print(\"o:\");\r\n  screen.setCursor(6,0);\r\n  screen.print(\"m:\");\r\n  screen.home();\r\n  screen.print(\"i:\");\r\n}\r\n \r\nvoid loop() {\r\n  int motorPos = 0;\r\n  \/\/ Record the time\r\n  currentMillis = millis();\r\n\r\n  if (currentMillis - previousMillis &gt; interval) {\r\n \r\n    previousMillis = currentMillis;\r\n \r\n    \/\/ Calculate revolutions per minute\r\n    rpm = (int)(encoder_value * 60 \/ ENC_COUNT_REV);\r\n    \r\n    int i = map (abs(rpm),0,20,0,99);\r\n    if (i &gt;99) {\r\n      i = 99;\r\n    }\r\n    screen.setCursor(2,0);\r\n    screen.print(abs(i));\r\n\r\n    int motorPos = map (abs(rpm), 0, 20, 35, 80);\r\n    \/\/ Safeguard against overload from Rotary Encoder, if motorPos is mapped to a value higher than 80 it defaults to 80\r\n    if (motorPos &gt; 80) {\r\n      doorMotor.write(80);\r\n    }\r\n    \/\/ Regular write, causes motor to move to mapped angle\r\n    else {\r\n      doorMotor.write(motorPos);\r\n    }\r\n    delay(25);\r\n    \r\n    m = map (motorPos, 35,80,0,99);\r\n    if (m &gt; 99) {\r\n      m = 99;      \r\n    }\r\n    screen.setCursor(8, 0);\r\n    screen.print(m);\r\n\r\n    encoder_value = 0;\r\n  }\r\n\r\n  int duration, distance; \r\n  \r\n  digitalWrite(trigPin, LOW); \r\n  delayMicroseconds(2); \r\n  digitalWrite(trigPin, HIGH); \r\n  delayMicroseconds(10); \r\n  digitalWrite(trigPin, LOW); \r\n\r\n  duration = pulseIn(echoPin, HIGH); \r\n  distance = (duration \/ 2) * 0.0344; \r\n\r\n\r\n  lightVal = map (distance,4.5,12,255,0); \r\n\r\n  int o = map(lightVal,0,255,0,99);\r\n  if (distance &gt; 15) { \r\n    lightVal = 500; \r\n    o = 99;\r\n    } \r\n  \r\n  screen.setCursor(14,1); \r\n  screen.print(abs(o));\r\n\r\n  analogWrite(lightPin,abs(lightVal)); \r\n  }\r\n\r\nvoid interrupt_on_pulse() {\r\n  int val = digitalRead(CLK_pin);\r\n  if(val == LOW) {\r\n    encoder_value++;\r\n  }\r\n  else {\r\n    encoder_value--;\r\n  }  \r\n}<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Team members: Lily Hummel &amp; Caleb Sun Caleb\u2019s Double Transducer Detail Pictures &nbsp; Process Pictures &nbsp; Lily\u2019s Double Transducer Detail Pictures &nbsp; &nbsp; &nbsp; Process Photos &nbsp; &nbsp;&#8230;<\/p>\n","protected":false},"author":42,"featured_media":17360,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[86],"tags":[],"_links":{"self":[{"href":"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-json\/wp\/v2\/posts\/17189"}],"collection":[{"href":"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-json\/wp\/v2\/users\/42"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-json\/wp\/v2\/comments?post=17189"}],"version-history":[{"count":15,"href":"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-json\/wp\/v2\/posts\/17189\/revisions"}],"predecessor-version":[{"id":17522,"href":"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-json\/wp\/v2\/posts\/17189\/revisions\/17522"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-json\/wp\/v2\/media\/17360"}],"wp:attachment":[{"href":"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-json\/wp\/v2\/media?parent=17189"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-json\/wp\/v2\/categories?post=17189"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-json\/wp\/v2\/tags?post=17189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}