{"id":17684,"date":"2023-03-10T22:51:59","date_gmt":"2023-03-11T03:51:59","guid":{"rendered":"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/?p=17684"},"modified":"2023-03-14T21:27:04","modified_gmt":"2023-03-15T01:27:04","slug":"ulnar-entrapment-elbow-sleeve","status":"publish","type":"post","link":"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/ulnar-entrapment-elbow-sleeve\/","title":{"rendered":"Ulnar Entrapment Elbow Sleeve"},"content":{"rendered":"<p>An elbow sleeve that vibrates when your elbow is bent past 90 degrees for too long, and when you put excessive pressure on your elbow joint.<\/p>\n<p>&nbsp;<\/p>\n<div id=\"attachment_17698\" style=\"width: 775px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/ulnar-entrapment-elbow-sleeve\/img_7931\/\" rel=\"attachment wp-att-17698\"><img aria-describedby=\"caption-attachment-17698\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-17698\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7931-scaled.jpg\" alt=\"\" width=\"765\" height=\"631\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7931-scaled.jpg 2560w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7931-300x247.jpg 300w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7931-1024x845.jpg 1024w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7931-768x633.jpg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7931-1536x1267.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7931-2048x1689.jpg 2048w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7931-973x802.jpg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7931-508x419.jpg 508w\" sizes=\"(max-width: 765px) 100vw, 765px\" \/><\/a><p id=\"caption-attachment-17698\" class=\"wp-caption-text\">Fits around halfway up your upper arm, and covers the elbow. Pancake vibration motors are placed over the bicep.<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_17696\" style=\"width: 774px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/ulnar-entrapment-elbow-sleeve\/img_7921\/\" rel=\"attachment wp-att-17696\"><img aria-describedby=\"caption-attachment-17696\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-17696\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7921-scaled.jpg\" alt=\"\" width=\"764\" height=\"784\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7921-scaled.jpg 2495w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7921-292x300.jpg 292w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7921-998x1024.jpg 998w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7921-768x788.jpg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7921-1497x1536.jpg 1497w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7921-1996x2048.jpg 1996w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7921-973x998.jpg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7921-508x521.jpg 508w\" sizes=\"(max-width: 764px) 100vw, 764px\" \/><\/a><p id=\"caption-attachment-17696\" class=\"wp-caption-text\">Fabric is elastic and bends with the elbow without restriction<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_17697\" style=\"width: 771px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/ulnar-entrapment-elbow-sleeve\/img_7926\/\" rel=\"attachment wp-att-17697\"><img aria-describedby=\"caption-attachment-17697\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-17697\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7926-scaled.jpg\" alt=\"\" width=\"761\" height=\"958\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7926-scaled.jpg 2034w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7926-238x300.jpg 238w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7926-813x1024.jpg 813w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7926-768x967.jpg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7926-1220x1536.jpg 1220w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7926-1627x2048.jpg 1627w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7926-973x1225.jpg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7926-508x639.jpg 508w\" sizes=\"(max-width: 761px) 100vw, 761px\" \/><\/a><p id=\"caption-attachment-17697\" class=\"wp-caption-text\">Flex sensor and pressure sensors located under the elbow joint.<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_17701\" style=\"width: 771px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/ulnar-entrapment-elbow-sleeve\/img_7937\/\" rel=\"attachment wp-att-17701\"><img aria-describedby=\"caption-attachment-17701\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-17701\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7937-scaled.jpg\" alt=\"\" width=\"761\" height=\"548\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7937-scaled.jpg 2560w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7937-300x216.jpg 300w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7937-1024x738.jpg 1024w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7937-768x553.jpg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7937-1536x1107.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7937-2048x1476.jpg 2048w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7937-973x701.jpg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7937-508x366.jpg 508w\" sizes=\"(max-width: 761px) 100vw, 761px\" \/><\/a><p id=\"caption-attachment-17701\" class=\"wp-caption-text\">Arduino Pro Micro powered by a 9V battery. All connections are soldered.<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_17700\" style=\"width: 1047px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/ulnar-entrapment-elbow-sleeve\/img_7936\/\" rel=\"attachment wp-att-17700\"><img aria-describedby=\"caption-attachment-17700\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-17700\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7936-scaled.jpg\" alt=\"\" width=\"1037\" height=\"691\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7936-scaled.jpg 2560w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7936-300x200.jpg 300w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7936-1024x683.jpg 1024w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7936-768x512.jpg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7936-1536x1024.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7936-2048x1365.jpg 2048w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7936-973x649.jpg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_7936-508x339.jpg 508w\" sizes=\"(max-width: 1037px) 100vw, 1037px\" \/><\/a><p id=\"caption-attachment-17700\" class=\"wp-caption-text\">Closeup of electronics and shoddy hot-gluing and sowing.<\/p><\/div>\n<p>&nbsp;<\/p>\n<p><strong>Process<\/strong><\/p>\n<p>I started by picking out some components and wiring them on a breadboard to get an idea of what I&#8217;ll be using and how they work, as well as the code needed to run it.<\/p>\n<div id=\"attachment_17710\" style=\"width: 697px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/ulnar-entrapment-elbow-sleeve\/img_3342\/\" rel=\"attachment wp-att-17710\"><img aria-describedby=\"caption-attachment-17710\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-17710\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3342-scaled.jpg\" alt=\"\" width=\"687\" height=\"916\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3342-scaled.jpg 1920w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3342-225x300.jpg 225w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3342-768x1024.jpg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3342-1152x1536.jpg 1152w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3342-1536x2048.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3342-973x1297.jpg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3342-508x677.jpg 508w\" sizes=\"(max-width: 687px) 100vw, 687px\" \/><\/a><p id=\"caption-attachment-17710\" class=\"wp-caption-text\">First attempt getting a pancake vibration motor to respond to a flex sensor and pressure sensor.<\/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-17684-1\" width=\"620\" height=\"349\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/Img-3349.m4v?_=1\" \/><a href=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/Img-3349.m4v\">https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/Img-3349.m4v<\/a><\/video><\/div>\n<p>&nbsp;<\/p>\n<p>After getting an idea of the components I&#8217;ll be using, I taped the flex sensor underneath my elbow as a proof-of-concept prototype. It worked surprisingly well! Next up is trying to fit it all on an elbow sleeve.<\/p>\n<p>&nbsp;<\/p>\n<div id=\"attachment_17711\" style=\"width: 720px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/ulnar-entrapment-elbow-sleeve\/img_3388\/\" rel=\"attachment wp-att-17711\"><img aria-describedby=\"caption-attachment-17711\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-17711\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3388-scaled.jpg\" alt=\"\" width=\"710\" height=\"946\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3388-scaled.jpg 1920w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3388-225x300.jpg 225w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3388-768x1024.jpg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3388-1152x1536.jpg 1152w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3388-1536x2048.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3388-973x1297.jpg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3388-508x677.jpg 508w\" sizes=\"(max-width: 710px) 100vw, 710px\" \/><\/a><p id=\"caption-attachment-17711\" class=\"wp-caption-text\">First attempt at fitting a pancake vibration motor, flex sensor, battery and Arduino Pro Micro on an elbow sleeve.<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>Everything works as expected &#8211; the motor vibrates when the elbow is bent past 90 degrees &#8211; but its still lacking the pressure sensor. Also, the wiring is very un-robust. The Arduino Pro Micro and pancake vibration motors are connected directly to the 9V battery. From here I worked on the hardware to make sure its safe and reliable.<\/p>\n<p>&nbsp;<\/p>\n<div id=\"attachment_17712\" style=\"width: 739px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/ulnar-entrapment-elbow-sleeve\/img_3465\/\" rel=\"attachment wp-att-17712\"><img aria-describedby=\"caption-attachment-17712\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-17712\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3465-scaled.jpg\" alt=\"\" width=\"729\" height=\"972\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3465-scaled.jpg 1920w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3465-225x300.jpg 225w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3465-768x1024.jpg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3465-1152x1536.jpg 1152w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3465-1536x2048.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3465-973x1297.jpg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3465-508x677.jpg 508w\" sizes=\"(max-width: 729px) 100vw, 729px\" \/><\/a><p id=\"caption-attachment-17712\" class=\"wp-caption-text\">Wiring the battery to a latch switch and voltage regulator.<\/p><\/div>\n<div id=\"attachment_17713\" style=\"width: 771px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/ulnar-entrapment-elbow-sleeve\/img_3468\/\" rel=\"attachment wp-att-17713\"><img aria-describedby=\"caption-attachment-17713\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-17713\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3468-scaled.jpg\" alt=\"\" width=\"761\" height=\"1015\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3468-scaled.jpg 1920w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3468-225x300.jpg 225w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3468-768x1024.jpg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3468-1152x1536.jpg 1152w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3468-1536x2048.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3468-973x1297.jpg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3468-508x677.jpg 508w\" sizes=\"(max-width: 761px) 100vw, 761px\" \/><\/a><p id=\"caption-attachment-17713\" class=\"wp-caption-text\">I used silicon cables to wire up the flex sensor as to not hinder any movement of the joints.<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_17714\" style=\"width: 781px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/ulnar-entrapment-elbow-sleeve\/img_3472\/\" rel=\"attachment wp-att-17714\"><img aria-describedby=\"caption-attachment-17714\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-17714\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3472-scaled.jpg\" alt=\"\" width=\"771\" height=\"1028\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3472-scaled.jpg 1920w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3472-225x300.jpg 225w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3472-768x1024.jpg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3472-1152x1536.jpg 1152w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3472-1536x2048.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3472-973x1297.jpg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3472-508x677.jpg 508w\" sizes=\"(max-width: 771px) 100vw, 771px\" \/><\/a><p id=\"caption-attachment-17714\" class=\"wp-caption-text\">Pancake vibration motors and pressure sensors wired up. Pancake vibration motors connected to an N-channel MOSFET.<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>With the hardware working, I started attaching the hardware to the elbow sleeve with Velcro, shoddy sowing and hot-glue. Since the flex sensor itself can&#8217;t stretch and compress, it was most difficult trying to fix the flex sensor to the sleeve in a way that allows it to travel when the elbow is bent, but not so fixed that the sensor flexes outwards when the arm is straightened.<\/p>\n<p>&nbsp;<\/p>\n<div id=\"attachment_17718\" style=\"width: 809px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/ulnar-entrapment-elbow-sleeve\/img_3485\/\" rel=\"attachment wp-att-17718\"><img aria-describedby=\"caption-attachment-17718\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-17718\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3485-scaled.jpg\" alt=\"\" width=\"799\" height=\"1066\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3485-scaled.jpg 1920w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3485-225x300.jpg 225w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3485-768x1024.jpg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3485-1152x1536.jpg 1152w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3485-1536x2048.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3485-973x1297.jpg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3485-508x677.jpg 508w\" sizes=\"(max-width: 799px) 100vw, 799px\" \/><\/a><p id=\"caption-attachment-17718\" class=\"wp-caption-text\">The flex sensor bends outwards when the arm is straightened, if there isn&#8217;t any tension pulling the strip upwards or downwards.<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_17715\" style=\"width: 787px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/ulnar-entrapment-elbow-sleeve\/img_3474\/\" rel=\"attachment wp-att-17715\"><img aria-describedby=\"caption-attachment-17715\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-17715\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3474-scaled.jpg\" alt=\"\" width=\"777\" height=\"1036\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3474-scaled.jpg 1920w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3474-225x300.jpg 225w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3474-768x1024.jpg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3474-1152x1536.jpg 1152w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3474-1536x2048.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3474-973x1297.jpg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3474-508x677.jpg 508w\" sizes=\"(max-width: 777px) 100vw, 777px\" \/><\/a><p id=\"caption-attachment-17715\" class=\"wp-caption-text\">Closeup of everything secured to the elbow sleeve.<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_17716\" style=\"width: 882px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/ulnar-entrapment-elbow-sleeve\/img_3475\/\" rel=\"attachment wp-att-17716\"><img aria-describedby=\"caption-attachment-17716\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-17716\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3475-scaled.jpg\" alt=\"\" width=\"872\" height=\"1163\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3475-scaled.jpg 1920w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3475-225x300.jpg 225w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3475-768x1024.jpg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3475-1152x1536.jpg 1152w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3475-1536x2048.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3475-973x1297.jpg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/IMG_3475-508x677.jpg 508w\" sizes=\"(max-width: 872px) 100vw, 872px\" \/><\/a><p id=\"caption-attachment-17716\" class=\"wp-caption-text\">First-person view of elbow sleeve with components attached.<\/p><\/div>\n<p>&nbsp;<\/p>\n<p><strong>Discussion<\/strong><\/p>\n<p>Looking at the responses from my classmate, it&#8217;s clear that my solution would work better if it looked better &#8211; and I agree. That would turn the solution from something that works to something someone would actually want to use everyday, as one of my classmates put it. In its current state, all the electronics are exposed and haphazardly attached to the sleeve, which renders the whole thing useless as soon as it gets cold and someone has to put on a jacket, or when it just rains a little. The reason why my final product looks this way is because of timeframe and my inexperience with fabrics. Early on in the project, I was very interested in the types of fabrics I could use, especially ones that were used in existing compression elbow sleeves. They seemed to have a good balance of stiffness and elasticity, such that I could reasonably create a pouch to house the electronics. It was also mentioned that to improve the solution, there should be some indication as to how the sleeve should be worn, which was a very valuable piece of critique I hadn&#8217;t addressed. For the flex sensor and pressure sensors to work accurately, the flex sensor has to be centered over the elbow joint, but there aren&#8217;t any affordances or even instructions that lead to this consideration. I can think of some ways to implement this off the top of my head &#8211; like cutting a hole at the &#8216;hinge&#8217; of the elbow sleeve so that there&#8217;s a more apparent top-side and bottom-side, or using an accelerometer and the pancake vibration motors to help the user position the arm sleeve correctly? I&#8217;m not sure what would work to be honest.<\/p>\n<p>All-in-all, I&#8217;m still quite happy with how the final product turned out, because it works reliably and consistently (if worn right of course). It&#8217;s wearable, it detects when you&#8217;ve bent your elbow past 90 degrees for too long, it detects if you&#8217;re putting too much pressure on your elbow, and it tells you to stop. It was most fulfilling being able to create something that responds directly to the biomechanics of the human body on a wearable device, which isn&#8217;t just pushing buttons and flipping switches. Part of the reason why I think something like this should exist in the world is because elbow braces designed to prevent ulnar entrapment are intentionally stiff, to make it physically harder for you to bend your elbow for prolonged periods of time &#8211; but I wanted there to be a sleeve that still allowed freedom of movement, and I think my final product achieved that goal to a degree. I was able to practice some simple soldering and learn about building robust circuits. Though building the circuit was very simple on the breadboard, I spent a lot of time planning out my soldered breadboard, working around including components to improve the robustness of the circuit, and the placement of wires and resistors so I can see what I&#8217;m doing myself. I think I want to move towards building circuits that are less stuck to breadboards now, especially if I&#8217;m going to work on more wearables.<\/p>\n<p>If I were to build another iteration, I think I would focus all my energy on fabrication to house the electronics. This would also mean making the hardware more low-profile and resistant to deformation &#8211; to bring the product to something more close to a &#8216;living&#8217; piece of fabric? And less of hardware tacked onto fabric. I think this would mean using stiffer and thicker fabrics and foams, and soldering closer to the breadboard so that the overall height of the hardware can be brought down. As for the battery, I&#8217;m not sure what I&#8217;d do without the 9V battery. It just makes sense to charge and replace the battery. Or I guess coin batteries wired in series could work too.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Block Diagram<\/strong><\/p>\n<p><a href=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/ulnar-entrapment-elbow-sleeve\/arm-sleeve-block-diagram\/\" rel=\"attachment wp-att-17909\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-17909\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/arm-sleeve-block-diagram.jpg\" alt=\"\" width=\"807\" height=\"461\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/arm-sleeve-block-diagram.jpg 807w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/arm-sleeve-block-diagram-300x171.jpg 300w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/arm-sleeve-block-diagram-768x439.jpg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/arm-sleeve-block-diagram-508x290.jpg 508w\" sizes=\"(max-width: 807px) 100vw, 807px\" \/><\/a><\/p>\n<p><strong>Circuit Diagram<\/strong><\/p>\n<p><a href=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/ulnar-entrapment-elbow-sleeve\/untitled-diagram-1-2\/\" rel=\"attachment wp-att-17945\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-17945\" src=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/Untitled-Diagram-1-1.jpg\" alt=\"\" width=\"1281\" height=\"1202\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/Untitled-Diagram-1-1.jpg 1281w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/Untitled-Diagram-1-1-300x281.jpg 300w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/Untitled-Diagram-1-1-1024x961.jpg 1024w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/Untitled-Diagram-1-1-768x721.jpg 768w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/Untitled-Diagram-1-1-973x913.jpg 973w, https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-content\/uploads\/2023\/03\/Untitled-Diagram-1-1-508x477.jpg 508w\" sizes=\"(max-width: 1281px) 100vw, 1281px\" \/><\/a><\/p>\n<p><strong>Code<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"cpp\">const int flexPin = A0;\r\nconst float VCC = 5;\r\nconst float R_DIV = 10000.0;\r\nconst float flatResistance = 10000.0;\r\nconst float bendResistance = 30000.0;\r\n\r\nconst int vibrPin = 3;\r\nconst int pressurePin = A2;\r\n\r\nint bentTimer = 0;\r\n\r\n\/\/ flex sensor code from: https:\/\/www.instructables.com\/How-to-use-a-Flex-Sensor-Arduino-Tutorial\/\r\n\r\nvoid setup(){\r\n  Serial.begin(9600);\r\n  pinMode(flexPin, INPUT);\r\n  pinMode(vibrPin, OUTPUT);\r\n  pinMode(pressurePin, INPUT);\r\n\r\n\/\/ turn on sequence\r\n\r\n  digitalWrite(vibrPin, HIGH);\r\n  delay(300);\r\n  digitalWrite(vibrPin, LOW);\r\n  delay(300);\r\n  digitalWrite(vibrPin, HIGH);\r\n  delay(300);\r\n  digitalWrite(vibrPin, LOW);\r\n  delay(300);\r\n  digitalWrite(vibrPin, HIGH);\r\n  delay(300);\r\n  digitalWrite(vibrPin, LOW);\r\n\r\n}\r\n\r\nvoid loop(){\r\n  int flexNum = analogRead(flexPin);\r\n  int pressureNum = analogRead(pressurePin);\r\n\r\n  float Vflex = flexNum * VCC \/ 1023.0;\r\n  float Rflex = R_DIV * (VCC \/ Vflex - 1.0);\r\n  Serial.println(\"Reistance: \" + String(Rflex) + \" ohms\");\r\n  \r\n  float angle = map(Rflex, flatResistance, bendResistance, 0, 180.0);\r\n  Serial.println(\"Bend: \" + String(angle) + \" degrees\");\r\n  Serial.println(\"Pressure: \" + String(pressureNum) + \" units\");\r\n  Serial.println();\r\n\r\n\/\/ if arm is bent past 70 degrees, begin counter.\r\n\r\n  if (angle &gt;= 70){\r\n    bentTimer += 1;\r\n  } else{\r\n    bentTimer = 0;\r\n  }\r\n\r\n\/\/ if counter exceeds 10 seconds, or pressure is detected, activate vibration motors. \r\n\r\n  if (bentTimer &gt; 50 || pressureNum &gt; 850){\r\n    digitalWrite(vibrPin, HIGH);\r\n  } else{\r\n    digitalWrite(vibrPin, LOW);\r\n  }\r\n\r\n  Serial.println(\"Timer: \" + String(bentTimer) + \" seconds\");\r\n\r\n  delay(200);\r\n}<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>An elbow sleeve that vibrates when your elbow is bent past 90 degrees for too long, and when you put excessive pressure on your elbow joint. &nbsp; &nbsp;&#8230;<\/p>\n","protected":false},"author":41,"featured_media":17691,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[89],"tags":[],"_links":{"self":[{"href":"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-json\/wp\/v2\/posts\/17684"}],"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\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-json\/wp\/v2\/comments?post=17684"}],"version-history":[{"count":23,"href":"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-json\/wp\/v2\/posts\/17684\/revisions"}],"predecessor-version":[{"id":17884,"href":"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-json\/wp\/v2\/posts\/17684\/revisions\/17884"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-json\/wp\/v2\/media\/17691"}],"wp:attachment":[{"href":"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-json\/wp\/v2\/media?parent=17684"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-json\/wp\/v2\/categories?post=17684"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-223\/s2023\/work\/wp-json\/wp\/v2\/tags?post=17684"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}