{"id":85,"date":"2018-10-27T10:59:54","date_gmt":"2018-10-27T08:59:54","guid":{"rendered":"http:\/\/www.boichat.ch\/wpjrsp\/?p=85"},"modified":"2019-01-06T18:08:23","modified_gmt":"2019-01-06T17:08:23","slug":"achat-minimum","status":"publish","type":"post","link":"https:\/\/www.boichat.ch\/wpjrsp\/2018\/10\/27\/achat-minimum\/","title":{"rendered":"Composants minimum"},"content":{"rendered":"<p>Si nous examinons le nombre de composants d\u00e9crit dans ce livre qui sont:<\/p>\n\n\n<ul><li><span style=\"background-color: #ccffff;\"><strong>deux leds<\/strong><\/span><\/li><li><span style=\"background-color: #ccffff;\"><strong>un relais 5-220V<\/strong><\/span><\/li><li><span style=\"background-color: #ccffff;\"><strong>un capteur de lumi\u00e8re<\/strong><\/span><\/li><li><span style=\"background-color: #ccffff;\"><strong>un capteur de mouvement<\/strong><\/span><\/li><li><span style=\"background-color: #ccffff;\"><strong>un buzzer (petit alarme)<\/strong><\/span><\/li><li><span style=\"background-color: #ccffff;\"><strong>un capteur de temp\u00e9rature<\/strong><\/span><\/li><li><span style=\"background-color: #ccffff;\"><strong>un bouton<\/strong><\/span><\/li><li><span style=\"background-color: #ccffff;\"><strong>un capteur \u00e0 ultrason<\/strong><\/span><\/li><li><span style=\"background-color: #ccffff;\"><strong>une cam\u00e9ra<\/strong><\/span><\/li><\/ul>\n\n\n<p>nous allons forc\u00e9ment nous poser la question des co\u00fbts en plus du Raspberry Pi lui-m\u00eame, d&rsquo;une alimentation et d&rsquo;une micro-carte SD.&nbsp;Ces trois parties sont souvent vendues en pack pour environ 50 Euros.<\/p>\n<p>La cam\u00e9ra est int\u00e9ressante, mais c&rsquo;est le composant le plus cher, environ 25 Euros.<\/p>\n<p>Comme expliqu\u00e9 dans le chapitre 5, il nous faudra du petit mat\u00e9riel comme des fils et une planche \u00e0 pain (breadboard).<\/p>\n<p>Si nous voulons d\u00e9buter rapidement et \u00eatre tr\u00e8s vite satisfait du logiciel Python et Java qui vient avec le livre, nous pouvons tr\u00e8s bien commencer avec les composants suivants :<\/p>\n\n\n<ul><li><span style=\"background-color: #ccffff;\"><strong>deux leds<\/strong><\/span><\/li><li><span style=\"background-color: #ccffff;\"><strong>un relais 5-220V<\/strong><\/span><\/li><li><span style=\"background-color: #ccffff;\"><strong>un capteur de mouvement<\/strong><\/span><\/li><\/ul>\n\n\n<p>Uniquement avec ce mat\u00e9riel, nous pourrons faire nos d\u00e9buts et notre apprentissage. De petits projets seront d\u00e9j\u00e0 r\u00e9alisables comme l&rsquo;utilisation de la classe <strong>PresenceSimulation&nbsp;<\/strong> du chapitre 15 d\u00e9di\u00e9 au relais 5VDC-220V.<\/p>\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"300\" height=\"222\" src=\"https:\/\/www.boichat.ch\/wpjrsp\/wp-content\/uploads\/2018\/11\/pizero-300x222.jpg\" alt=\"\" class=\"wp-image-225\" srcset=\"https:\/\/www.boichat.ch\/wpjrsp\/wp-content\/uploads\/2018\/11\/pizero-300x222.jpg 300w, https:\/\/www.boichat.ch\/wpjrsp\/wp-content\/uploads\/2018\/11\/pizero.jpg 600w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/figure>\n\n\n<p>Uniquement avec ce mat\u00e9riel, nous pourrons faire nos d\u00e9buts et notre apprentissage. De petits projets seront d\u00e9j\u00e0 r\u00e9alisables comme l&rsquo;utilisation de la classe\u00a0<strong><span style=\"font-family: 'courier new', courier, monospace;\">PresenceSimulation<\/span> <\/strong>du chapitre 15 d\u00e9di\u00e9 au relais 5VDC-220V.<\/p>\n<p>Et, \u00e9videmment, <strong>un Raspberry Pi Zero meilleur march\u00e9 fera l&rsquo;affaire<\/strong>:<\/p>\n<p>\u00a0<\/p>\n\n\n<ul><li><a href=\"https:\/\/www.boichat.ch\/wpjrsp\/2018\/11\/07\/raspberry-pi-zero-wh\/\" target=\"_blank\" rel=\"noopener\">Raspberry Pi Zero WH<\/a><\/li><li><a href=\"https:\/\/www.boichat.ch\/wpjrsp\/2018\/11\/12\/simulation-de-presence-avec-un-raspberry-pi-zero\/\" target=\"_blank\" rel=\"noopener\">Simulation de pr\u00e9sence avec un Raspberry Pi Zero<\/a><\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n<p><strong>A faire absolument: liste par pays o\u00f9 il est possible d&rsquo;acheter ce type de mat\u00e9riel. Merci d&rsquo;avance de\u00a0<\/strong><span style=\"background-color: #ccffcc;\"><strong><a style=\"background-color: #ccffcc;\" href=\"mailto:jean-bernard@boichat.ch?subject=Java et le Raspberry\u00a0Pi\u00a03\u00a0B (WP) - Lieu d'achat de mat\u00e9riel\">m&rsquo;envoyer des informations<\/a>\u00a0pour compl\u00e9ter cette liste.\u00a0<\/strong><\/span><\/p>\n<p>France: &#8211;\u00a0<a href=\"https:\/\/www.kubii.fr\/3-raspberry-pi\" target=\"_blank\" rel=\"noopener\">Kubii\u00a0<\/a>&#8211; <a href=\"https:\/\/www.amazon.fr\/raspberry-pi-3\/s?ie=UTF8&amp;page=1&amp;rh=i%3Aaps%2Ck%3Araspberry%20pi%203\" target=\"_blank\" rel=\"noopener\">Amazon France<\/a><\/p>\n<p>Suisse: &#8211; <a href=\"https:\/\/www.digitec.ch\/fr\/s1\/producttype\/cartes-de-developpement-kits-2621?tagIds=1123-773-134\" target=\"_blank\" rel=\"noopener\">Digitec\u00a0<\/a>&#8211; <a href=\"https:\/\/www.pi-shop.ch\/\" target=\"_blank\" rel=\"noopener\">Pi-Shop\u00a0<\/a>&#8211; <a href=\"https:\/\/www.play-zone.ch\/\" target=\"_blank\" rel=\"noopener\">Play-Zone<\/a>\u00a0&#8211; <a href=\"https:\/\/www.interdiscount.ch\/fr\/search?search=rapsberry+pi\" target=\"_blank\" rel=\"noopener\">Interdiscount<\/a><\/p>\n<p><strong><span style=\"font-size: 10pt;\"><em>Date de la derni\u00e8re modification: 6 janvier 2019<\/em><\/span><\/strong><\/p>","protected":false},"excerpt":{"rendered":"<p>Si nous examinons le nombre de composants d\u00e9crit dans ce livre qui sont: deux leds un relais 5-220V un capteur de lumi\u00e8re un capteur de&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"footnotes":""},"categories":[1],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Composants minimum - Un livre sur Java, Python, Eclipse et le Raspberry Pi 3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.boichat.ch\/wpjrsp\/2018\/10\/27\/achat-minimum\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Composants minimum - Un livre sur Java, Python, Eclipse et le Raspberry Pi 3\" \/>\n<meta property=\"og:description\" content=\"Si nous examinons le nombre de composants d\u00e9crit dans ce livre qui sont: deux leds un relais 5-220V un capteur de lumi\u00e8re un capteur de&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.boichat.ch\/wpjrsp\/2018\/10\/27\/achat-minimum\/\" \/>\n<meta property=\"og:site_name\" content=\"Un livre sur Java, Python, Eclipse et le Raspberry Pi 3\" \/>\n<meta property=\"article:published_time\" content=\"2018-10-27T08:59:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-01-06T17:08:23+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.boichat.ch\/wpjrsp\/wp-content\/uploads\/2018\/11\/pizero-300x222.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u00c9crit par\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jean-Bernard Boichat\" \/>\n\t<meta name=\"twitter:label2\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.boichat.ch\/wpjrsp\/#website\",\"url\":\"https:\/\/www.boichat.ch\/wpjrsp\/\",\"name\":\"Un livre sur Java, Python, Eclipse et le Raspberry Pi 3\",\"description\":\"Jean-Bernard Boichat - Auteur chez Eyrolles\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.boichat.ch\/wpjrsp\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.boichat.ch\/wpjrsp\/2018\/10\/27\/achat-minimum\/#primaryimage\",\"inLanguage\":\"fr-FR\",\"url\":\"http:\/\/www.boichat.ch\/wpjrsp\/wp-content\/uploads\/2018\/11\/pizero-300x222.jpg\",\"contentUrl\":\"http:\/\/www.boichat.ch\/wpjrsp\/wp-content\/uploads\/2018\/11\/pizero-300x222.jpg\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.boichat.ch\/wpjrsp\/2018\/10\/27\/achat-minimum\/#webpage\",\"url\":\"https:\/\/www.boichat.ch\/wpjrsp\/2018\/10\/27\/achat-minimum\/\",\"name\":\"Composants minimum - Un livre sur Java, Python, Eclipse et le Raspberry Pi 3\",\"isPartOf\":{\"@id\":\"https:\/\/www.boichat.ch\/wpjrsp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.boichat.ch\/wpjrsp\/2018\/10\/27\/achat-minimum\/#primaryimage\"},\"datePublished\":\"2018-10-27T08:59:54+00:00\",\"dateModified\":\"2019-01-06T17:08:23+00:00\",\"author\":{\"@id\":\"https:\/\/www.boichat.ch\/wpjrsp\/#\/schema\/person\/fe6328cc5b74b8a6e8d841285a928751\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.boichat.ch\/wpjrsp\/2018\/10\/27\/achat-minimum\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.boichat.ch\/wpjrsp\/2018\/10\/27\/achat-minimum\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.boichat.ch\/wpjrsp\/2018\/10\/27\/achat-minimum\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.boichat.ch\/wpjrsp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Composants minimum\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.boichat.ch\/wpjrsp\/#\/schema\/person\/fe6328cc5b74b8a6e8d841285a928751\",\"name\":\"Jean-Bernard Boichat\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.boichat.ch\/wpjrsp\/#personlogo\",\"inLanguage\":\"fr-FR\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/862886ce35a52b9d13595e18ac3c3ea5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/862886ce35a52b9d13595e18ac3c3ea5?s=96&d=mm&r=g\",\"caption\":\"Jean-Bernard Boichat\"},\"sameAs\":[\"http:\/\/www.boichat.ch\"],\"url\":\"https:\/\/www.boichat.ch\/wpjrsp\/author\/bjb\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Composants minimum - Un livre sur Java, Python, Eclipse et le Raspberry Pi 3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.boichat.ch\/wpjrsp\/2018\/10\/27\/achat-minimum\/","og_locale":"fr_FR","og_type":"article","og_title":"Composants minimum - Un livre sur Java, Python, Eclipse et le Raspberry Pi 3","og_description":"Si nous examinons le nombre de composants d\u00e9crit dans ce livre qui sont: deux leds un relais 5-220V un capteur de lumi\u00e8re un capteur de&hellip;","og_url":"https:\/\/www.boichat.ch\/wpjrsp\/2018\/10\/27\/achat-minimum\/","og_site_name":"Un livre sur Java, Python, Eclipse et le Raspberry Pi 3","article_published_time":"2018-10-27T08:59:54+00:00","article_modified_time":"2019-01-06T17:08:23+00:00","og_image":[{"url":"http:\/\/www.boichat.ch\/wpjrsp\/wp-content\/uploads\/2018\/11\/pizero-300x222.jpg"}],"twitter_card":"summary_large_image","twitter_misc":{"\u00c9crit par":"Jean-Bernard Boichat","Dur\u00e9e de lecture estim\u00e9e":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/www.boichat.ch\/wpjrsp\/#website","url":"https:\/\/www.boichat.ch\/wpjrsp\/","name":"Un livre sur Java, Python, Eclipse et le Raspberry Pi 3","description":"Jean-Bernard Boichat - Auteur chez Eyrolles","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.boichat.ch\/wpjrsp\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"fr-FR"},{"@type":"ImageObject","@id":"https:\/\/www.boichat.ch\/wpjrsp\/2018\/10\/27\/achat-minimum\/#primaryimage","inLanguage":"fr-FR","url":"http:\/\/www.boichat.ch\/wpjrsp\/wp-content\/uploads\/2018\/11\/pizero-300x222.jpg","contentUrl":"http:\/\/www.boichat.ch\/wpjrsp\/wp-content\/uploads\/2018\/11\/pizero-300x222.jpg"},{"@type":"WebPage","@id":"https:\/\/www.boichat.ch\/wpjrsp\/2018\/10\/27\/achat-minimum\/#webpage","url":"https:\/\/www.boichat.ch\/wpjrsp\/2018\/10\/27\/achat-minimum\/","name":"Composants minimum - Un livre sur Java, Python, Eclipse et le Raspberry Pi 3","isPartOf":{"@id":"https:\/\/www.boichat.ch\/wpjrsp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.boichat.ch\/wpjrsp\/2018\/10\/27\/achat-minimum\/#primaryimage"},"datePublished":"2018-10-27T08:59:54+00:00","dateModified":"2019-01-06T17:08:23+00:00","author":{"@id":"https:\/\/www.boichat.ch\/wpjrsp\/#\/schema\/person\/fe6328cc5b74b8a6e8d841285a928751"},"breadcrumb":{"@id":"https:\/\/www.boichat.ch\/wpjrsp\/2018\/10\/27\/achat-minimum\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.boichat.ch\/wpjrsp\/2018\/10\/27\/achat-minimum\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.boichat.ch\/wpjrsp\/2018\/10\/27\/achat-minimum\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.boichat.ch\/wpjrsp\/"},{"@type":"ListItem","position":2,"name":"Composants minimum"}]},{"@type":"Person","@id":"https:\/\/www.boichat.ch\/wpjrsp\/#\/schema\/person\/fe6328cc5b74b8a6e8d841285a928751","name":"Jean-Bernard Boichat","image":{"@type":"ImageObject","@id":"https:\/\/www.boichat.ch\/wpjrsp\/#personlogo","inLanguage":"fr-FR","url":"https:\/\/secure.gravatar.com\/avatar\/862886ce35a52b9d13595e18ac3c3ea5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/862886ce35a52b9d13595e18ac3c3ea5?s=96&d=mm&r=g","caption":"Jean-Bernard Boichat"},"sameAs":["http:\/\/www.boichat.ch"],"url":"https:\/\/www.boichat.ch\/wpjrsp\/author\/bjb\/"}]}},"_links":{"self":[{"href":"https:\/\/www.boichat.ch\/wpjrsp\/wp-json\/wp\/v2\/posts\/85"}],"collection":[{"href":"https:\/\/www.boichat.ch\/wpjrsp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.boichat.ch\/wpjrsp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.boichat.ch\/wpjrsp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.boichat.ch\/wpjrsp\/wp-json\/wp\/v2\/comments?post=85"}],"version-history":[{"count":0,"href":"https:\/\/www.boichat.ch\/wpjrsp\/wp-json\/wp\/v2\/posts\/85\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.boichat.ch\/wpjrsp\/wp-json\/wp\/v2\/media?parent=85"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.boichat.ch\/wpjrsp\/wp-json\/wp\/v2\/categories?post=85"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.boichat.ch\/wpjrsp\/wp-json\/wp\/v2\/tags?post=85"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}