{"id":3519,"date":"2017-01-27T10:15:01","date_gmt":"2017-01-27T09:15:01","guid":{"rendered":"http:\/\/www.generationrobots.com\/blog\/?p=3519"},"modified":"2023-05-24T15:38:15","modified_gmt":"2023-05-24T13:38:15","slug":"how-to-check-if-your-thymio-is-functioning-correctly","status":"publish","type":"post","link":"https:\/\/www.generationrobots.com\/blog\/en\/how-to-check-if-your-thymio-is-functioning-correctly\/","title":{"rendered":"How to check if your Thymio is functioning correctly ?"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"3519\" class=\"elementor elementor-3519\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1155015a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1155015a\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2c41590c\" data-id=\"2c41590c\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-38d9dcb9 elementor-widget elementor-widget-text-editor\" data-id=\"38d9dcb9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\n<h2 class=\"wp-block-heading\">How to check if your Thymio is functioning correctly ?<\/h2>\n\n\n\n<p>Thymio never ceases to amaze us, with its ability to do <a class=\"catalogue\" title=\"Mettez-vous \u00e0 la peinture num\u00e9rique avec Thymio II !\" href=\"\/blog\/en\/go-digital-painting-thymio-ii\/\" target=\"_self\" rel=\"noopener\">digital painting<\/a> and to transform itself into an animal, but it can spring some nasty surprises. Because although this educational robot is robust, it can sometimes suffer from defects.<\/p>\n\n\n\n<p>To help you solve the most common problems, we\u2019ve put together this short guide so you can check to see if most of your Thymio 2\u2019s sensors and actuators are functioning correctly.<\/p>\n\n\n\n<p>If your Thymio mobile robot does not light up, or if it\u2019s not detected when you plug it in via USB, refer to the<br \/><a class=\"catalogue\" title=\"resolution des problemes les plus courants du robot mobile Thymio 2\" href=\"#resolution_problemes_les_plus_courants\">\u201cSolutions for common problems\u201d<\/a> section found at the end of this guide.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Preparation of your Thymio II robot<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Connect Thymio to your USB port and launch Aseba Studio<\/li>\n<li>Check you\u2019re in automatic refresh mode (Auto checked)<\/li>\n<li>Add hidden variables in the View menu\n<figure><img decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" src=\"http:\/\/static.generation-robots.com\/img\/cms\/articles%20et%20tutoriels\/FAQ_Thymio\/FAQ-Thymio-Montrer-variables-et-fonctions-cachees-v1.jpg\" alt=\"Add hidden variables in the View menu of Aseba Studio, Thymio robot software\" \/><\/figure>\n<p align=\"center\">\u00a0<\/p>\n<\/li>\n<li>You should see the following display:<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/static.generation-robots.com\/img\/cms\/articles%20et%20tutoriels\/FAQ_Thymio\/FAQ-Thymio-liste-variables-Aseba.jpg\" alt=\"Aseba Studio: the Thymio mobile robot software\" \/><\/figure>\n\n\n\n<p>&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Thymio II robot firmware check<\/h2>\n\n\n\n<p>Pull down the \u201c_fwversion\u201d variable to see the firmware version number. The current version is 8 (in the first field [0]). If this is not the version displayed, we recommend you update the firmware by following the instructions on this page of <a class=\"catalogue\" title=\"Mise \u00e0 jour Thymio sur Aseba\" href=\"https:\/\/aseba.wikidot.com\/fr:thymioupdate\" target=\"_blank\" rel=\"noopener\">the Thymio &amp; Aseba site<\/a> (don\u2019t forget to exit Aseba Studio before beginning this update!)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Proximity sensor check<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Location<\/h4>\n\n\n\n<p>Seven distance sensors are arranged around the Thymio, five at the front and two at the back.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Check<\/h4>\n\n\n\n<p>The simplest way to check these sensors is to pass your hand in front of each one to make sure they all respond correctly. Sensors 5 and 6 are those located at the rear.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Values<\/h4>\n\n\n\n<p>The values obtained by these sensors can be seen in the \u201cprox.horizontal\u201d variables. The values obtained by these sensors are to be interpreted as follows:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>0 =&gt; no obstacle is detected<\/li>\n<li>Approx. 4000 =&gt; the obstacle is as near as it can be to the sensor without touching it<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/static.generation-robots.com\/img\/cms\/articles%20et%20tutoriels\/FAQ_Thymio\/FAQ-Thymio-V\u00e9rification-capteurs-de-proximit\u00e9.jpg\" alt=\"Robot Thymio II proximity sensor check with Aseba Studio\" \/><\/figure>\n\n\n\n<p>&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ground line sensor check<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Location<\/h3>\n\n\n\n<p>Thymio has two ground detection sensors located at the front under the robot.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Operation<\/h3>\n\n\n\n<p>The robot detects the intensity of the ambient light on the one hand (\u201cprox.ground.ambiant\u201d) and the light reflected by the ground on the other (\u201cprox.ground.reflected\u201d). By calculating the difference between the two (\u201cprox.ground.delta\u201d), Thymio can deduce the absence or presence of the ground.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Values<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Approx. 0 =&gt; Thymio is far away from the ground<\/li>\n<li>Positive value =&gt; Thymio is on the ground<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/static.generation-robots.com\/img\/cms\/articles%20et%20tutoriels\/FAQ_Thymio\/FAQ-Thymio-v\u00e9rification-capteurs-au-sol.jpg\" alt=\"Thymio 2 ground line sensor check with Aseba Studio\" \/><\/figure>\n\n\n\n<p>&nbsp;<\/p>\n\n\n\n<p><strong>NOTE:<\/strong> this positive variable differs according to the type of ground (around 20 for a black surface and 1000 for a white surface).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Microphone check<\/h2>\n\n\n\n<p>This is the \u201cmic.intensity\u201d variable. Except in cases of absolute silence, this value will always be slightly above 0 (between 5 and 10 in a quiet environment). Tap the surface of the robot quite hard, and you should see the value fluctuate by several tens of units up to about 200.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/static.generation-robots.com\/img\/cms\/articles%20et%20tutoriels\/FAQ_Thymio\/FAQ-Thymio-Aseba-v\u00e9rification-microphone.jpg\" alt=\"Thymio II robot Microphone check with Aseba Studio\" \/><\/figure>\n\n\n\n<p>&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Accelerometer check<\/h2>\n\n\n\n<p>The accelerometer\u2019s values can be seen in the \u201cacc\u201d variable.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Values<\/h3>\n\n\n\n<p>The three values correspond to the 3 axes.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>When your Thymio is placed normally on the ground, the last value should be high (around 20\u201325) and other two close to 0. A high value indicates the acceleration due to gravity.<\/li>\n<li>If you point your Thymio upwards, it is the second value that should rise to 20 and the others be close to 0.<\/li>\n<li>Similarly, if you place your robot on its side, it\u2019s the first value that should reach around 20 (or -20 depending on which side it\u2019s lying on) and the others around 0.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/static.generation-robots.com\/img\/cms\/articles%20et%20tutoriels\/FAQ_Thymio\/FAQ-Thymio-Aseba-accelerometre.jpg\" alt=\"Thymio II robot accelerometer check with Aseba Studio\" \/><\/figure>\n\n\n\n<p>&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Speed sensor and motor check<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Speed sensor check<\/h3>\n\n\n\n<p>The \u201cmotor.left.speed\u201d and \u201cmotor.right.speed\u201d variables indicate the wheel rotation speed.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Value<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>0 =&gt; Wheels are at rest (with sometimes a slight deviation between 1 and 5).<\/li>\n<\/ul>\n\n\n\n<p>If your Thymio does not advance in a straight line, this might be caused by such a deviation.<\/p>\n\n\n\n<p>To correct this problem, we recommend you follow the calibration procedure described on this page of <a class=\"catalogue\" title=\"Calibration du Thymio\" href=\"https:\/\/aseba.wikidot.com\/fr:thymiomotorcalibration\" target=\"_blank\" rel=\"noopener\">the Thymio &amp; Aseba site<\/a><\/p>\n\n\n\n<p>Here is a video explaining the calibration procedure:<\/p>\n\n\n\n<p><iframe src=\"\/\/www.youtube.com\/embed\/JRuzOlmny-c?rel=0\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Motor check<\/h3>\n\n\n\n<p>To test your Thymio\u2019s motors, place the robot on its back and enter the following code:<\/p>\n\n\n\n<p><em>motor.right.target=100<\/em><br \/><em>motor.left.target=100<\/em><\/p>\n\n\n\n<p>You can then load and run the program. The wheels should start turning at the same speed. The speed sensors will indicate a value fluctuating at around 100 (possibly ranging between about 80 and 120 depending on the noise).<\/p>\n\n\n\n<p>Load and run the following program to stop the robot:<\/p>\n\n\n\n<p><em>motor.right.target=0<\/em><br \/><em>motor.left.target=0<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Button check<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Location<\/h3>\n\n\n\n<p>Thymio has 5 buttons on the top corresponding to the \u201cbutton.backward\u201d, \u201cbutton.forward\u201d, \u201cbutton.left\u201d, \u201cbutton.right\u201d and \u201cbutton.center\u201d variables.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Values<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>0 =&gt; the button is not pressed<\/li>\n<li>1 =&gt; the button is pressed<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Check<\/h3>\n\n\n\n<p>Make sure the value of each button changes to 1 when it\u2019s activated (keep the button pressed down until Aseba Studio refreshes the sensor\u2019s status).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"resolution_problemes_les_plus_courants\">Solutions for common problems<\/h2>\n\n\n\n<p>The two main problems that can arise with Thymio are as follows.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Your robot has stopped charging<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>First, check that your USB cable is not defective by testing with a different cable (most smartphones use the same type of micro USB cable as the Thymio).<\/li>\n<li>If the problem persists, this means the Thymio battery is deep discharged (or that it\u2019s faulty, which can happen, in which case you\u2019ll need to contact our after-sales service).<br \/>To get Thymio out of this mode, use a wall USB charger (these are often provided with smartphones and tablets). These chargers normally supply a 5V current @ 1A (instead of the 500 mA supplied by a computer\u2019s USB ports).<\/li>\n<li>Connect the robot and press the reset button (the small hole on the left side). Then leave the robot to charge for 2 hours.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Your robot does not light up properly, behaves erratically or continuously connects to and disconnects from the USB port<\/h3>\n\n\n\n<p>The firmware is probably corrupted, in which case you\u2019ll need to upgrade it by following the instructions on this page of <a class=\"catalogue\" title=\"Mise \u00e0 jour du firmware du robot Thymio II\" href=\"https:\/\/aseba.wikidot.com\/fr:thymioupdate\" target=\"_blank\" rel=\"noopener\">the Thymio &amp; Aseba site<\/a>.<\/p>\n\n\n\n<p>You may need to try several times if it doesn\u2019t work first go!<\/p>\n\n\n\n<p>If you need more information on how to solve problems encountered with the Thymio, try the <a class=\"catalogue\" title=\"la page support du fabricant Mobsya\" href=\"https:\/\/aseba.wikidot.com\/fr:thymiosupport\" target=\"_blank\" rel=\"noopener\">support page of the manufacturer<\/a>.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>How to check if your Thymio is functioning correctly ? Thymio never ceases to amaze us, with its ability to do digital painting and to transform itself into an animal, but it can spring some nasty surprises. Because although this educational robot is robust, it can sometimes suffer from defects. To help you solve the[&#8230;]<br \/> <a class=\"button\" href=\"https:\/\/www.generationrobots.com\/blog\/en\/how-to-check-if-your-thymio-is-functioning-correctly\/\" style=\"float:right;\">Read this article &gt;&gt;<\/a><\/p>\n","protected":false},"author":188,"featured_media":3516,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1132],"tags":[],"class_list":["post-3519","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-education-en"],"_links":{"self":[{"href":"https:\/\/www.generationrobots.com\/blog\/wp-json\/wp\/v2\/posts\/3519","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.generationrobots.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.generationrobots.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.generationrobots.com\/blog\/wp-json\/wp\/v2\/users\/188"}],"replies":[{"embeddable":true,"href":"https:\/\/www.generationrobots.com\/blog\/wp-json\/wp\/v2\/comments?post=3519"}],"version-history":[{"count":17,"href":"https:\/\/www.generationrobots.com\/blog\/wp-json\/wp\/v2\/posts\/3519\/revisions"}],"predecessor-version":[{"id":14509,"href":"https:\/\/www.generationrobots.com\/blog\/wp-json\/wp\/v2\/posts\/3519\/revisions\/14509"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.generationrobots.com\/blog\/wp-json\/wp\/v2\/media\/3516"}],"wp:attachment":[{"href":"https:\/\/www.generationrobots.com\/blog\/wp-json\/wp\/v2\/media?parent=3519"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.generationrobots.com\/blog\/wp-json\/wp\/v2\/categories?post=3519"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.generationrobots.com\/blog\/wp-json\/wp\/v2\/tags?post=3519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}