{"id":10220,"date":"2024-11-25T15:56:02","date_gmt":"2024-11-25T14:56:02","guid":{"rendered":"https:\/\/dronesonen.usn.no\/?p=10220"},"modified":"2024-11-25T17:42:39","modified_gmt":"2024-11-25T16:42:39","slug":"toyzrgone-week-12","status":"publish","type":"post","link":"https:\/\/dronesonen.usn.no\/?p=10220","title":{"rendered":"ToyzRgone &#8211; week 12"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Sokaina Cherkane<\/strong> \ud83d\udcbb<\/h2>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>This week\u2019s plan was to write a new C-code in the Arduino IDE to run directly through OpenCM. The goal was to control the servo motors, making the joints move one at a time, then two at a time, and eventually all three joints simultaneously, including the &#8220;hand&#8221; (the fourth servo motor).<\/p>\n\n\n\n<p>Unfortunately, my productivity on the project was lower this week due to prioritizing a presentation and a report that were due at the same time. However, I made some progress. I started working with DXL1, but encountered issues. As shown in the video, the arm\u2019s position appeared to change according to the Serial Monitor, but no actual movement occurred.<\/p>\n\n\n\n<p>+ video&nbsp; og bilde <\/p>\n\n\n\n<p>Suspecting that the code was out of sync, I added additional print statements to the monitor to help identify and debug the issue. After several attempts, I discovered that the board had been damaged. It was unable to handle the current applied to the specific pins, resulting in a burnout (amateur issue\ud83d\ude05). I had to pause progress for a couple of days while waiting to consult our professor for a replacement board.<\/p>\n\n\n\n<p>Next week:&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u201clodding\u201d of openCM.<\/li>\n\n\n\n<li>Progress with the arm\u2019s interactions.<\/li>\n<\/ol>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-170.png\" alt=\"\" class=\"wp-image-10469\" width=\"375\" height=\"666\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-170.png 540w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-170-169x300.png 169w\" sizes=\"auto, (max-width: 375px) 100vw, 375px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/IMG_0.mov\"><\/video><\/figure>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Mikolaj Szczeblewski<\/strong> \ud83d\udd0b<\/h2>\n\n\n\n<p>For the time being we have a temporary solution for powering the prototype for testing, however we are waiting for the PCB to arrive, the parts required are also on the way and are here next week. Final assembly will take place next week as I can\u2019t contribute much as of yet.<br><br>I\u2019ve had difficulties in simulating the very final version of my circuit for the <\/p>\n\n\n\n<figure class=\"wp-block-image alignright size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/Load_transient_sim.jpg\" alt=\"\" class=\"wp-image-10278\" width=\"853\" height=\"640\" \/><\/figure>\n\n\n\n<p>regulator, however I\u2019ve used Texas Instruments\u2019 WEBENCH POWER DESIGNER tool, which is an incredibly strong program for simulating the circuit\u2019s different transients, steady states, etc.<br><\/p>\n\n\n\n<p><br>I\u2019ve measured all the currents, and by the analysis \u2013 decided upon the tracing widths specifically where necessary. Additionally, I\u2019ve used Saturn PCB Design\u2019s calculator, which uses the IPC-2152 standard for determining current-carrying capacities in PCBs, KiCad has a different one which is a more generic one, but after reading on the forums and researching a bit, the majority recommends the first one mentioned.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/saturnpcb_calculator.jpg\" alt=\"\" class=\"wp-image-10272\" width=\"633\" height=\"477\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/saturnpcb_calculator.jpg 978w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/saturnpcb_calculator-300x227.jpg 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/saturnpcb_calculator-768x580.jpg 768w\" sizes=\"auto, (max-width: 633px) 100vw, 633px\" \/><\/figure>\n\n\n\n<p><br>PSpice model of the regulator gave me faulty simulations which I could not change despite changing parameters in an adjustable PSpice model of the component.<br><br>My plan for the circuit boards that we will be using &#8211; is to mount them in different places of the prototype, the OpenCM board ideally will have to be placed on either the arm or the top of the prototype platform. The rest of the boards will be placed inside, I\u2019ve talked with the mechanical engineers and they will be helping me in finding suitable standoffs for them. It is important to have them since the prototype will be subject to vibration and everything should be mounted to avoid the entities flying around inside, and of course short-circuits may occur if this is not satisfied.<br><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Philip Dahl<\/strong> \ud83d\udd0b<\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>I finished up the board by soldering the remaining wires. Wherever the copper plates <em>didn\u2019t<\/em> come off, half the wires refused to get any solder stuck to it, so it took way more time and effort than anticipated. It wasn\u2019t the prettiest sight in the end, but luckily that is not my area of expertise, as long as it is functional. I used a multimeter to confirm that pins were connected where they should be before returning it to its rightful place in the base of the car.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdwP3hWqkbn92d12m4QwxZFNQQKWrd6JQITkJvxBB_S2moQtzDnca1Gdbd8dl02yTMlwCQ9NQpxC06aqlxrey4z3micKB-YIGZzUesy5BHciqzRCzdBGWxkijwTmbNA5MBfs5M9RILprvdYEeo-bg?key=-5Pzf3KtGU404R0JPHXCJg\" width=\"225\" height=\"471\"><\/p>\n<\/div>\n<\/div>\n\n\n\n<p>When it was time to test, the steppers did not respond to controller inputs, and began moving at random. The result was tough. All the hours of back and forth soldering, for nothing to work. Hope at the moment was fleeting and I had to attend another issue, so my week&#8217;s work was concluded.<\/p>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>Side note<\/strong><\/h6>\n\n\n\n<p>From week 6&amp;7 I ran some simulations regarding a 12-5V step-down voltage converter. I realize, though a bit late, that this was a hasty and not well thought out decision. The battery pack made was not, in fact, 12V, making the simulations quite irrelevant. This was, as you say in chess, a real blunder. The time should have been spent on deciding on and acquiring the battery pack, and not what would come after.<br>Although this was a failure on my part, failure can be a wise teacher, if one is willing to learn. And dwelling on mistakes of the past will not help progression, so I digress.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Ruben Henriksen<\/strong> \ud83d\udee0\ufe0f<\/h2>\n\n\n\n<p><strong>This week<\/strong>, I made the adapter for the camera, I had to make some small changes to the slots in the forward and aft plates so that the camera would fit in between. The camera adapter was printed in ABS since it is more ductile than PLA so it would be easier for the camera module to have a snug fit but also be easy to remove. The adapter is going to be glued in place so that the camera sits in the center of the robot.<\/p>\n\n\n\n<p><strong>TO BE DONE:<\/strong><\/p>\n\n\n\n<p>Next week I heard that the battery is finally finished so I shall make a box for it, and then I can figure out the placement for all the circuit boards.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sokaina Cherkane \ud83d\udcbb This week\u2019s plan was to write a new C-code in the Arduino IDE to run directly through OpenCM. The goal was to control the servo motors, making the joints move one at a time, then two at a time, and eventually all three joints simultaneously, including the &#8220;hand&#8221; (the fourth servo motor). [&hellip;]<\/p>\n","protected":false},"author":108,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[100],"class_list":["post-10220","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-toyzrgone"],"_links":{"self":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/10220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/users\/108"}],"replies":[{"embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10220"}],"version-history":[{"count":9,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/10220\/revisions"}],"predecessor-version":[{"id":10472,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/10220\/revisions\/10472"}],"wp:attachment":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}