{"id":311,"date":"2015-10-06T10:09:01","date_gmt":"2015-10-06T08:09:01","guid":{"rendered":"http:\/\/www.joanillo.org\/?p=311"},"modified":"2020-09-20T10:12:53","modified_gmt":"2020-09-20T08:12:53","slug":"alimentacio-autonoma-de-la-raspberry-pi","status":"publish","type":"post","link":"https:\/\/www.joanillo.org\/?p=311","title":{"rendered":"Alimentaci\u00f3 aut\u00f2noma de la Raspberry Pi"},"content":{"rendered":"<p><a href=\"http:\/\/www.joanillo.org\/wp-content\/uploads\/2015\/10\/lipo1.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.joanillo.org\/wp-content\/uploads\/2015\/10\/lipo1-300x168.jpg\" alt=\"\" title=\"lipo1\" width=\"300\" height=\"168\" class=\"alignright size-medium wp-image-1114\"><\/a>Per fi ja tinc projecte per col\u00b7locar la meva bateria recarregable Lipo. Es tracta de fer un <strong>Arcade Stick<\/strong>, totalment transportable. L&#8217;\u00fanic cable que sortir\u00e0 ser\u00e0 el cable HDMI, llest per connectar-lo a la tele i jugar als teus jocs <strong>arcade<\/strong> preferits.<\/p>\n<p>Vaig comprar a <strong>Adafruit<\/strong> tant la bateria <strong>LiPo<\/strong> (<em>Lithium Ion Polymer Battery &#8211; 3.7v 2500mAh<\/em>, <a href=\"http:\/\/www.adafruit.com\/product\/328\">http:\/\/www.adafruit.com\/product\/328<\/a>) com el <strong>carregador\/boost<\/strong> (<em>Adafruit PowerBoost 500 + Charger<\/em>, <a href=\"https:\/\/learn.adafruit.com\/adafruit-powerboost-500-plus-charger\">https:\/\/learn.adafruit.com\/adafruit-powerboost-500-plus-charger<\/a>). Entre tots dos uns 30 e. La idea original era fer una <strong>PPiGRRL &#8211; Raspberry Pi Gameboy<\/strong> (<a href=\"https:\/\/learn.adafruit.com\/pigrrl-raspberry-pi-gameboy\/overview\">https:\/\/learn.adafruit.com\/pigrrl-raspberry-pi-gameboy\/overview<\/a>). En aquest projecte utilitzen com a bateria una pila cil\u00b7l\u00edndrica, una idea tamb\u00e9 interessant per alimentar la RPi donat el seu poc espai (<em>2200mAh lithium cylindrical battery<\/em>). La meva bateria LiPo \u00e9s m\u00e9s plana, i d&#8217;altra banda m\u00e9s llarga i ampla.<\/p>\n<p><a href=\"http:\/\/www.joanillo.org\/wp-content\/uploads\/2015\/10\/lipo2.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.joanillo.org\/wp-content\/uploads\/2015\/10\/lipo2-300x168.jpg\" alt=\"\" title=\"lipo2\" width=\"300\" height=\"168\" class=\"alignright size-medium wp-image-1115\"><\/a>Al final aquest projecte est\u00e0 aparcat, per\u00f2 aquesta bateria m&#8217;anir\u00e0 de conya per al meu Arcade Stick amb la idea que nom\u00e9s en surti un cable, el cable HDMI.<\/p>\n<p>D&#8217;una banda tenim la bateria que d\u00f3na 3,7V. Per aconseguir els 5V que necessita la RPi necessitem un <em>power boost<\/em>. D&#8217;altra banda, la bateria, que \u00e9s recarregable, es descarrega i l&#8217;hem de recarregar amb un carregador (:-)). Doncs b\u00e9, el carregador i el power boost s\u00f3n el mateix element, que ja he ficat l&#8217;enlla\u00e7 m\u00e9s amunt. En la foto veiem clarament les connexions.<\/p>\n<p>Podem soldar un connector USB, i alimentar la RPi amb un cable USB-microUSB. Per\u00f2 jo he optat per alimentar la RPi directament pels pins GPIO, com faig habitualment. Finalment, per carregar la bateria, amb un carregador de m\u00f2bil n&#8217;hi ha prou.<\/p>\n<p>Veiem a la foto com est\u00e0 funcionant el front-end sense cap problema.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Per fi ja tinc projecte per col\u00b7locar la meva bateria recarregable Lipo. Es tracta de fer un Arcade Stick, totalment transportable. L&#8217;\u00fanic cable que sortir\u00e0 ser\u00e0 el cable HDMI, llest per connectar-lo a la tele i jugar als teus jocs arcade preferits. Vaig comprar a Adafruit tant la bateria LiPo (Lithium Ion Polymer Battery &#8211; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,16,10],"tags":[270],"_links":{"self":[{"href":"https:\/\/www.joanillo.org\/index.php?rest_route=\/wp\/v2\/posts\/311"}],"collection":[{"href":"https:\/\/www.joanillo.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.joanillo.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.joanillo.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.joanillo.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=311"}],"version-history":[{"count":1,"href":"https:\/\/www.joanillo.org\/index.php?rest_route=\/wp\/v2\/posts\/311\/revisions"}],"predecessor-version":[{"id":312,"href":"https:\/\/www.joanillo.org\/index.php?rest_route=\/wp\/v2\/posts\/311\/revisions\/312"}],"wp:attachment":[{"href":"https:\/\/www.joanillo.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.joanillo.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=311"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.joanillo.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}