{"id":884,"date":"2017-01-22T19:34:29","date_gmt":"2017-01-22T18:34:29","guid":{"rendered":"http:\/\/heppg.de\/ikg\/wordpress\/?p=884"},"modified":"2017-01-22T19:34:48","modified_gmt":"2017-01-22T18:34:48","slug":"scratch-performance-2-gpioserver-reaction-time","status":"publish","type":"post","link":"https:\/\/heppg.de\/ikg\/wordpress\/?p=884","title":{"rendered":"scratch performance 2, gpioserver reaction time"},"content":{"rendered":"<p>Perfomance of gpioserver was examined in &#8220;<a href=\"http:\/\/heppg.de\/ikg\/wordpress\/?p=710\">gpio performance<\/a>&#8221; ,<\/p>\n<p>Another aspect of gpioserver performance is how fast it can react to gpio pin changes.<\/p>\n<p>The measure response time, I connected an arduino due which raised gpio23 to high and measured time till raspberry responded with a high-value on gpio24.<\/p>\n<p>The arduino code placed a random delay in the start of each measurement cycle in order not to synchronize with scratch. In total more than 10.000 measurements have been taken.<\/p>\n<p><a href=\"http:\/\/heppg.de\/ikg\/wordpress\/wp-content\/uploads\/2017\/01\/response-1.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-886\" src=\"http:\/\/heppg.de\/ikg\/wordpress\/wp-content\/uploads\/2017\/01\/response-1.gif\" alt=\"response\" width=\"274\" height=\"258\" \/><\/a><\/p>\n<p><a href=\"http:\/\/heppg.de\/ikg\/wordpress\/wp-content\/uploads\/2017\/01\/response_summary.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-887\" src=\"http:\/\/heppg.de\/ikg\/wordpress\/wp-content\/uploads\/2017\/01\/response_summary.png\" alt=\"response_summary\" width=\"1051\" height=\"580\" \/><\/a>The x-axis are the response times. The y-axis are the number of measurements which occurred in this time slot. There is a quite uniform distribution from a few milliseconds up to 24 ms, with a few exceptions up to 40 ms. The measurements are grouped to 0.5ms slots.<\/p>\n<p>Measurement taken on raspberry pi 3, scratch 2016-10-21. The arduino used is a &#8216;due&#8217;, 84MHt and 3.3V which is ideal to interface with raspberry.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Perfomance of gpioserver was examined in &#8220;gpio performance&#8221; , Another aspect of gpioserver performance is how fast it can react to gpio pin changes. The measure response time, I connected an arduino due which raised gpio23 to high and measured time till raspberry responded with a high-value on gpio24. The arduino code placed a random [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[32],"class_list":["post-884","post","type-post","status-publish","format-standard","hentry","category-scratch","tag-performance"],"_links":{"self":[{"href":"https:\/\/heppg.de\/ikg\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/884","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/heppg.de\/ikg\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/heppg.de\/ikg\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/heppg.de\/ikg\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/heppg.de\/ikg\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=884"}],"version-history":[{"count":1,"href":"https:\/\/heppg.de\/ikg\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/884\/revisions"}],"predecessor-version":[{"id":888,"href":"https:\/\/heppg.de\/ikg\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/884\/revisions\/888"}],"wp:attachment":[{"href":"https:\/\/heppg.de\/ikg\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=884"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/heppg.de\/ikg\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=884"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/heppg.de\/ikg\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=884"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}