{"id":562,"date":"2012-07-25T18:36:41","date_gmt":"2012-07-25T16:36:41","guid":{"rendered":"http:\/\/ubik75.com\/?p=562"},"modified":"2019-03-24T13:46:37","modified_gmt":"2019-03-24T11:46:37","slug":"le-nxt-morph-v1-0","status":"publish","type":"post","link":"http:\/\/ubik75.com\/?p=562","title":{"rendered":"Le NXT MORPH V1.0"},"content":{"rendered":"<p>Pourquoi le MORPH V1.0, parce que je me suis inspir\u00e9 du <a href=\"http:\/\/ubik75.com\/?p=465\" target=\"_blank\" rel=\"noopener noreferrer\">MORPH<\/a> avec quelques modifications car je ne poss\u00e9dais pas toutes les pi\u00e8ces.<\/p>\n<p><center><br \/>\n<a href=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2907.jpg\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"587\" data-permalink=\"http:\/\/ubik75.com\/?attachment_id=587\" data-orig-file=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2907.jpg\" data-orig-size=\"4000,3000\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;2.7&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;COOLPIX S620&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1334828845&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;5&quot;,&quot;iso&quot;:&quot;250&quot;,&quot;shutter_speed&quot;:&quot;0.04&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"DSCN2907\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2907-300x225.jpg\" data-large-file=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2907-1024x768.jpg\" class=\"alignnone size-medium wp-image-587\" title=\"DSCN2907\" src=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2907-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2907-300x225.jpg 300w, http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2907-1024x768.jpg 1024w, http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2907-149x112.jpg 149w, http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2907-400x300.jpg 400w\" sizes=\"auto, (max-width: 300px) 85vw, 300px\" \/><\/a><\/center><br \/>\n<!--more--><\/p>\n<p style=\"text-align: justify;\">Ce robot se d\u00e9place tout seul pendant un moment puis s\u2019arr\u00eate et attend que l&rsquo;on s\u00e9lectionne une couleur parmi trois (rouge, blanc ou bleu). En fonction de la couleur il effectue certaines actions. Le capteur de sons permet d&rsquo;\u00e9couter le bruit ambiant et le fait\u00a0 r\u00e9agir. Le poussoir permet d&rsquo;\u00e9couter un petite musique. Le programme est d\u00e9velopp\u00e9 sous RobotC.<\/p>\n<p>Une petite vid\u00e9o pour r\u00e9sumer son fonctionnement:<\/p>\n<div class=\"jetpack-video-wrapper\"><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"840\" height=\"473\" src=\"https:\/\/www.youtube.com\/embed\/L_kwNcCjZuY?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=fr-FR&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span><\/div>\n<p>Pour la musique de Star WARS, je ne vous ai pas oubli\u00e9,\u00a0 je vous mets le programme (au format RobotC):<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\nvoid musique()\r\n{\r\nwait1Msec(3000);\r\nPlayTone(695, 14); while(bSoundActive){};\r\nPlayTone(695, 14); while(bSoundActive){};\r\nPlayTone(695, 14); while(bSoundActive){};\r\nPlayTone(929, 83); while(bSoundActive){};\r\nPlayTone(1401, 83); while(bSoundActive){};\r\nPlayTone(1251, 14); while(bSoundActive){};\r\nPlayTone(1188, 14); while(bSoundActive){};\r\nPlayTone(1054, 14); while(bSoundActive){};\r\nPlayTone(1841, 83); while(bSoundActive){};\r\nPlayTone(1401, 41); while(bSoundActive){};\r\nPlayTone(1251, 14); while(bSoundActive){};\r\nPlayTone(1188, 14); while(bSoundActive){};\r\nPlayTone(1054, 14); while(bSoundActive){};\r\nPlayTone(1841, 83); while(bSoundActive){};\r\nPlayTone(1401, 41); while(bSoundActive){};\r\nPlayTone(1251, 14); while(bSoundActive){};\r\nPlayTone(1188, 14); while(bSoundActive){};\r\nPlayTone(1251, 14); while(bSoundActive){};\r\nPlayTone(1054, 55); while(bSoundActive){};\r\nwait1Msec(280);\r\nPlayTone(695, 14); while(bSoundActive){};\r\nPlayTone(695, 14); while(bSoundActive){};\r\nPlayTone(695, 14); while(bSoundActive){};\r\nPlayTone(929, 83); while(bSoundActive){};\r\nPlayTone(1401, 83); while(bSoundActive){};\r\nPlayTone(1251, 14); while(bSoundActive){};\r\nPlayTone(1188, 14); while(bSoundActive){};\r\nPlayTone(1054, 14); while(bSoundActive){};\r\nPlayTone(1841, 83); while(bSoundActive){};\r\nPlayTone(1401, 41); while(bSoundActive){};\r\nPlayTone(1251, 14); while(bSoundActive){};\r\nPlayTone(1188, 14); while(bSoundActive){};\r\nPlayTone(1054, 14); while(bSoundActive){};\r\nPlayTone(1841, 83); while(bSoundActive){};\r\nPlayTone(1401, 41); while(bSoundActive){};\r\nPlayTone(1251, 14); while(bSoundActive){};\r\nPlayTone(1188, 14); while(bSoundActive){};\r\nPlayTone(1251, 14); while(bSoundActive){};\r\nPlayTone(1054, 55); while(bSoundActive){};\r\n}\r\n<\/pre>\n<p>En cherchant \u00e0 g\u00e9n\u00e9rer des musiques ou bruitages (fichiers .rso) pour le NXT, j&rsquo;ai trouv\u00e9 un logiciel qui convertit les fichiers .wav en .rso. Voici le lien:\u00a0<a href=\"http:\/\/recitmst.qc.ca\/IMG\/pdf\/Procedure_son_NXT.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">ici<\/a> et le pdf expliquant comment faire la manipulation.<\/p>\n<p>Quelques photos:<\/p>\n<p><a href=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2903.jpg\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"592\" data-permalink=\"http:\/\/ubik75.com\/?attachment_id=592\" data-orig-file=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2903.jpg\" data-orig-size=\"4000,3000\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;2.7&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;COOLPIX S620&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1334828783&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;5&quot;,&quot;iso&quot;:&quot;200&quot;,&quot;shutter_speed&quot;:&quot;0.04&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"DSCN2903\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2903-300x225.jpg\" data-large-file=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2903-1024x768.jpg\" class=\"alignnone size-large wp-image-592\" title=\"DSCN2903\" src=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2903-1024x768.jpg\" alt=\"\" width=\"584\" height=\"438\" srcset=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2903-1024x768.jpg 1024w, http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2903-300x225.jpg 300w, http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2903-149x112.jpg 149w, http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2903-400x300.jpg 400w\" sizes=\"auto, (max-width: 584px) 85vw, 584px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2904.jpg\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"593\" data-permalink=\"http:\/\/ubik75.com\/?attachment_id=593\" data-orig-file=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2904.jpg\" data-orig-size=\"4000,3000\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;2.7&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;COOLPIX S620&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1334828794&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;5&quot;,&quot;iso&quot;:&quot;200&quot;,&quot;shutter_speed&quot;:&quot;0.04&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"DSCN2904\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2904-300x225.jpg\" data-large-file=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2904-1024x768.jpg\" class=\"alignnone size-large wp-image-593\" title=\"DSCN2904\" src=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2904-1024x768.jpg\" alt=\"\" width=\"584\" height=\"438\" srcset=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2904-1024x768.jpg 1024w, http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2904-300x225.jpg 300w, http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2904-149x112.jpg 149w, http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2904-400x300.jpg 400w\" sizes=\"auto, (max-width: 584px) 85vw, 584px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2905.jpg\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"594\" data-permalink=\"http:\/\/ubik75.com\/?attachment_id=594\" data-orig-file=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2905.jpg\" data-orig-size=\"4000,3000\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;2.7&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;COOLPIX S620&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1334828806&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;5&quot;,&quot;iso&quot;:&quot;250&quot;,&quot;shutter_speed&quot;:&quot;0.04&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"DSCN2905\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2905-300x225.jpg\" data-large-file=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2905-1024x768.jpg\" class=\"alignnone size-large wp-image-594\" title=\"DSCN2905\" src=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2905-1024x768.jpg\" alt=\"\" width=\"584\" height=\"438\" srcset=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2905-1024x768.jpg 1024w, http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2905-300x225.jpg 300w, http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2905-149x112.jpg 149w, http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2905-400x300.jpg 400w\" sizes=\"auto, (max-width: 584px) 85vw, 584px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2908.jpg\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"598\" data-permalink=\"http:\/\/ubik75.com\/?attachment_id=598\" data-orig-file=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2908.jpg\" data-orig-size=\"4000,3000\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;2.7&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;COOLPIX S620&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1334828855&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;5&quot;,&quot;iso&quot;:&quot;320&quot;,&quot;shutter_speed&quot;:&quot;0.04&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"DSCN2908\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2908-300x225.jpg\" data-large-file=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2908-1024x768.jpg\" class=\"alignnone size-large wp-image-598\" title=\"DSCN2908\" src=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2908-1024x768.jpg\" alt=\"\" width=\"584\" height=\"438\" srcset=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2908-1024x768.jpg 1024w, http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2908-300x225.jpg 300w, http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2908-149x112.jpg 149w, http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2908-400x300.jpg 400w\" sizes=\"auto, (max-width: 584px) 85vw, 584px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2909.jpg\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"600\" data-permalink=\"http:\/\/ubik75.com\/?attachment_id=600\" data-orig-file=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2909.jpg\" data-orig-size=\"3000,4000\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;2.7&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;COOLPIX S620&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1334828885&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;5&quot;,&quot;iso&quot;:&quot;200&quot;,&quot;shutter_speed&quot;:&quot;0.04&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"DSCN2909\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2909-225x300.jpg\" data-large-file=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2909-768x1024.jpg\" class=\"alignnone size-large wp-image-600\" title=\"DSCN2909\" src=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2909-768x1024.jpg\" alt=\"\" width=\"584\" height=\"778\" srcset=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2909-768x1024.jpg 768w, http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2909-225x300.jpg 225w, http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2909-84x112.jpg 84w\" sizes=\"auto, (max-width: 584px) 85vw, 584px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2910.jpg\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"601\" data-permalink=\"http:\/\/ubik75.com\/?attachment_id=601\" data-orig-file=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2910.jpg\" data-orig-size=\"3000,4000\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;2.7&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;COOLPIX S620&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1334828894&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;5&quot;,&quot;iso&quot;:&quot;200&quot;,&quot;shutter_speed&quot;:&quot;0.04&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"DSCN2910\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2910-225x300.jpg\" data-large-file=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2910-768x1024.jpg\" class=\"alignnone size-large wp-image-601\" title=\"DSCN2910\" src=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2910-768x1024.jpg\" alt=\"\" width=\"584\" height=\"778\" srcset=\"http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2910-768x1024.jpg 768w, http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2910-225x300.jpg 225w, http:\/\/ubik75.com\/wp-content\/uploads\/2012\/04\/DSCN2910-84x112.jpg 84w\" sizes=\"auto, (max-width: 584px) 85vw, 584px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"http:\/\/ubik75.com\/wp-content\/plugins\/thumbnail-for-excerpts\/tfe_no_thumb.png\" class=\"alignleft wp-post-image tfe\" alt=\"\" title=\"\" \/><p>Pourquoi le MORPH V1.0, parce que je me suis inspir\u00e9 du MORPH avec quelques modifications car je ne poss\u00e9dais pas toutes les pi\u00e8ces.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[9,11],"tags":[100],"class_list":["post-562","post","type-post","status-publish","format-standard","hentry","category-nxt","category-robot","tag-fichier-rso"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2eCSX-94","jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/ubik75.com\/index.php?rest_route=\/wp\/v2\/posts\/562","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/ubik75.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/ubik75.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/ubik75.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/ubik75.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=562"}],"version-history":[{"count":48,"href":"http:\/\/ubik75.com\/index.php?rest_route=\/wp\/v2\/posts\/562\/revisions"}],"predecessor-version":[{"id":1722,"href":"http:\/\/ubik75.com\/index.php?rest_route=\/wp\/v2\/posts\/562\/revisions\/1722"}],"wp:attachment":[{"href":"http:\/\/ubik75.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=562"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/ubik75.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=562"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/ubik75.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=562"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}