{"id":33,"date":"2019-11-17T23:20:32","date_gmt":"2019-11-17T23:20:32","guid":{"rendered":"http:\/\/engprojects.tcnj.edu\/robot-emotions\/?page_id=33"},"modified":"2019-11-18T00:02:30","modified_gmt":"2019-11-18T00:02:30","slug":"hardware","status":"publish","type":"page","link":"https:\/\/engprojects.tcnj.edu\/robot-emotions\/hardware\/","title":{"rendered":"Hardware"},"content":{"rendered":"\n<p>The hardware for this project consists of the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>NAO Robot<\/li><li>Microcontroller<\/li><li>Motors<\/li><li>Fabricated Headset<\/li><li>Fabricated Backpack<\/li><li>Fabricated Facial Features<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">NAO Robot<\/h2>\n\n\n\n<p>For this project, the TCNJ Electrical and Computer Engineering department has been kind enough to lend us a NAO robot for design and testing of our project. A schematic of this NAO robot which details its features can be seen below.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"403\" height=\"367\" src=\"https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/nao-robot-schematic.png\" alt=\"\" class=\"wp-image-47\" srcset=\"https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/nao-robot-schematic.png 403w, https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/nao-robot-schematic-300x273.png 300w\" sizes=\"auto, (max-width: 403px) 100vw, 403px\" \/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Microcontroller<\/h2>\n\n\n\n<p>The microcontroller for chosen for this project is the Arduino Mega Rev 3 (pictured below). Additional boards researched for this project include the Arduino Uno and the Arduino Nano; however, the Arduino Mega was chosen due to its ample number of PWM pins, which will enable us to connect more motors to the board if needed. Research was focused on Arduino-based boards, because these boards are reputed to have better compatibility with NAO robots.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/images-na.ssl-images-amazon.com\/images\/I\/71WYcNLIVpL._SX679_.jpg\" alt=\"\" width=\"399\" height=\"298\"\/><figcaption>Arduino Mega Rev 3<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Motors<\/h2>\n\n\n\n<p>As per our project specifications, the motors for this project needed to be small and light-weight. For that reason, we have chosen to use Tower Pro SG51R Sub-Micro Digital Servo motors. These motors are  25mm * 12mm * 22mm and weigh only 5g, while still generating enough torque to effectively rotate our fabricated facial features, making them ideal for our project. Servo motors were chosen rather than stepper motors due to servos being available in smaller sizes, and requiring less driving current.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cdn-shop.adafruit.com\/970x728\/2201-01.jpg\" alt=\"\" width=\"333\" height=\"249\"\/><figcaption> SG51R Sub-Micro Digital Servo <\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Headset Design<\/h2>\n\n\n\n<p>A headset is being designed for NAO as a means for securing the facial features we are developing. The headset design looks similar to a helmet, with two rungs: one that goes over NAO&#8217;s eyes, and one that runs near NAO&#8217;s mouth. Two rotating eyebrows will be attached to the upper rung, while an adjustable pair of lips will be attached to the bottom rung. Large holes are cut from the sides of the headset, allowing it to slip over the circular sides of NAO&#8217;s head. Front-view design schematics for the headset can be seen below, as well as a fabricated prototype made from cardboard.<\/p>\n\n\n\n<ul class=\"wp-block-gallery columns-2 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"496\" src=\"http:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/headset_v3_side_sketch.png\" alt=\"\" data-id=\"50\" data-link=\"http:\/\/engprojects.tcnj.edu\/robot-emotions\/?attachment_id=50\" class=\"wp-image-50\" srcset=\"https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/headset_v3_side_sketch.png 576w, https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/headset_v3_side_sketch-300x258.png 300w\" sizes=\"auto, (max-width: 576px) 100vw, 576px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"619\" height=\"440\" src=\"http:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/headset_v3_front_sketch.png\" alt=\"\" data-id=\"49\" data-link=\"http:\/\/engprojects.tcnj.edu\/robot-emotions\/?attachment_id=49\" class=\"wp-image-49\" srcset=\"https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/headset_v3_front_sketch.png 619w, https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/headset_v3_front_sketch-300x213.png 300w\" sizes=\"auto, (max-width: 619px) 100vw, 619px\" \/><\/figure><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"325\" src=\"https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/headset_v3_exploded_sketch-1024x325.png\" alt=\"\" class=\"wp-image-48\" srcset=\"https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/headset_v3_exploded_sketch-1024x325.png 1024w, https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/headset_v3_exploded_sketch-300x95.png 300w, https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/headset_v3_exploded_sketch-768x244.png 768w, https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/headset_v3_exploded_sketch.png 1068w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Front-View of headset<\/figcaption><\/figure>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/headset_v3_on_NAO-1024x768.jpg\" alt=\"\" class=\"wp-image-51\" width=\"435\" height=\"326\" srcset=\"https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/headset_v3_on_NAO-1024x768.jpg 1024w, https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/headset_v3_on_NAO-300x225.jpg 300w, https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/headset_v3_on_NAO-768x576.jpg 768w\" sizes=\"auto, (max-width: 435px) 100vw, 435px\" \/><figcaption>Cardboard prototype of headset<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Backpack<\/h2>\n\n\n\n<p>A backpack is being designed to sit on the back of our NAO robot. This backpack will hold our Arduino microcontroller and servo motors, as well as any loose wiring. It will attached to NAO&#8217;s back using Velcro. An orthographic sketch of the backpack design, along with a picture of the fabricated version, can be seen below.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/backpack-design-v2.2.png\" alt=\"\" class=\"wp-image-52\" width=\"461\" height=\"434\" srcset=\"https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/backpack-design-v2.2.png 518w, https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/backpack-design-v2.2-300x283.png 300w\" sizes=\"auto, (max-width: 461px) 100vw, 461px\" \/><figcaption>Design Schematic of backpack for NAO<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/backpack_v2_front_view-e1574030971527-768x1024.jpg\" alt=\"\" class=\"wp-image-53\" width=\"371\" height=\"494\" srcset=\"https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/backpack_v2_front_view-e1574030971527-768x1024.jpg 768w, https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/backpack_v2_front_view-e1574030971527-225x300.jpg 225w\" sizes=\"auto, (max-width: 371px) 100vw, 371px\" \/><figcaption>Fabricated version of backpack<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Facial Features<\/h2>\n\n\n\n<p>Developing physical, mechanical facial features for NAO is an integral aspect of this project. These facial features will consist of eyebrows and a pair of lips. The eyebrows will have three configurations: raised, neutral, and lowered. In the raised configuration, the eyebrows will be rotated approximately +25 degrees upward from their neutral position, causing them to be angled downwards. In the lowered configuration, the eyebrows will be rotated -35 degrees downward from their neutral position, causing them to be angled upwards.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"516\" height=\"373\" src=\"https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/eyebrows.png\" alt=\"\" class=\"wp-image-54\" srcset=\"https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/eyebrows.png 516w, https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/eyebrows-300x217.png 300w\" sizes=\"auto, (max-width: 516px) 100vw, 516px\" \/><\/figure>\n\n\n\n<p>The fabricated lips will also have a raised, neutral, and lowered configuration. These configurations will enable to the lips to form a smile, a neutral expression, or a frown.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"501\" height=\"439\" src=\"http:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/lips-e1574032440619.png\" alt=\"\" class=\"wp-image-55\" srcset=\"https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/lips-e1574032440619.png 501w, https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-content\/uploads\/sites\/130\/2019\/11\/lips-e1574032440619-300x263.png 300w\" sizes=\"auto, (max-width: 501px) 100vw, 501px\" \/><\/figure>\n\n\n\n<p>When combined, the three eyebrow configurations and three lip configurations will allow for the three target emotions &#8212; happy, sad, and angry &#8212; to be expressed by the NAO. The exact configurations of the eyebrows and lips for each emotion can be seen in the table below.<\/p>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td>Emotion<\/td><td>Eyebrow Configuration<\/td><td>Lip Configuration<\/td><\/tr><tr><td>Happy<\/td><td>Lowered<\/td><td>Raised<\/td><\/tr><tr><td>Sad<\/td><td>Lowered<\/td><td>Lowered<\/td><\/tr><tr><td>Angry<\/td><td>Raised<\/td><td>Lowered<\/td><\/tr><\/tbody><\/table>\n\n\n\n<p>Currently, construction of the facial features is underway.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The hardware for this project consists of the following: NAO Robot Microcontroller Motors Fabricated Headset Fabricated Backpack Fabricated Facial Features NAO Robot For this project, the TCNJ Electrical and Computer Engineering department has been kind enough to lend us a NAO robot for design and testing of our project. A schematic of this NAO robot &hellip; <a href=\"https:\/\/engprojects.tcnj.edu\/robot-emotions\/hardware\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Hardware<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":223,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ngg_post_thumbnail":0,"footnotes":""},"class_list":["post-33","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-json\/wp\/v2\/pages\/33","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-json\/wp\/v2\/users\/223"}],"replies":[{"embeddable":true,"href":"https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-json\/wp\/v2\/comments?post=33"}],"version-history":[{"count":0,"href":"https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-json\/wp\/v2\/pages\/33\/revisions"}],"wp:attachment":[{"href":"https:\/\/engprojects.tcnj.edu\/robot-emotions\/wp-json\/wp\/v2\/media?parent=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}