{"id":12336,"date":"2024-10-04T15:49:15","date_gmt":"2024-10-04T12:49:15","guid":{"rendered":"https:\/\/learn.groundstudio.eu\/?p=12336"},"modified":"2025-01-28T16:22:41","modified_gmt":"2025-01-28T14:22:41","slug":"banana-piano-with-arduino","status":"publish","type":"post","link":"https:\/\/learn.groundstudio.eu\/ro\/banana-piano-with-arduino\/","title":{"rendered":"Pian din banane cu Arduino"},"content":{"rendered":"<div data-post-id=\"11972\" class=\"insert-page insert-page-11972\"><h1 class='insert-page-title'>Introducere<\/h1><\/div>\n\n\n<p>Acest proiect distractiv \u0219i creativ transform\u0103 bananele \u00eentr-un instrument muzical folosind un plac\u0103 de dezvoltare tip Arduino. Cu doar c\u00e2teva componente simple \u0219i un pic de codare de baz\u0103, po\u021bi genera note ating\u00e2nd bananele, f\u0103c\u00e2ndu-l o activitate perfect\u0103 at\u00e2t pentru copii, c\u00e2t \u0219i pentru adul\u021bi. Este o modalitate excelent\u0103 de a \u00eenv\u0103\u021ba despre electronic\u0103 \u0219i programare \u00een timp ce te distrezi f\u0103c\u00e2nd muzic\u0103. Fie c\u0103 e\u0219ti nou \u00een lumea Arduino sau un pasionat cu experien\u021b\u0103, Pianul din Banane este un proiect amuzant \u0219i educativ de care toat\u0103 lumea se poate bucura!<\/p>\n\n\n<div data-post-id=\"12338\" class=\"insert-page insert-page-12338\"><h1 class='insert-page-title'>Hardware necesar<\/h1><\/div>\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<figure class=\"wp-block-table\"><table><thead><tr><th class=\"has-text-align-center\" data-align=\"center\">Nume<\/th><th class=\"has-text-align-center\" data-align=\"center\">Qty<\/th><th class=\"has-text-align-center\" data-align=\"center\">Imagine<\/th><th class=\"has-text-align-center\" data-align=\"center\">Cump\u0103r\u0103<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\">Banane<\/td><td class=\"has-text-align-center\" data-align=\"center\">8<\/td><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" class=\"wp-image-12362\" style=\"width: 150px;\" src=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/1021.png\" alt=\"\" srcset=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/1021.png 200w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/1021-150x150.png 150w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/1021-12x12.png 12w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/td><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" width=\"100\" height=\"100\" class=\"wp-image-12363\" style=\"width: 100px;\" src=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/Untitledfvsd.png\" alt=\"\" srcset=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/Untitledfvsd.png 225w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/Untitledfvsd-150x150.png 150w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/Untitledfvsd-12x12.png 12w\" sizes=\"auto, (max-width: 100px) 100vw, 100px\" \/><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">GroundStudio Jade U1<\/td><td class=\"has-text-align-center\" data-align=\"center\">1<\/td><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"125\" class=\"wp-image-12346\" style=\"width: 150px;\" src=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/placa-de-dezvoltare-jade-u1-1.png\" alt=\"\" srcset=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/placa-de-dezvoltare-jade-u1-1.png 707w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/placa-de-dezvoltare-jade-u1-1-300x251.png 300w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/placa-de-dezvoltare-jade-u1-1-14x12.png 14w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/td><td class=\"has-text-align-center\" data-align=\"center\"><button onclick=\"window.open('https:\/\/ardushop.ro\/ro\/electronica\/1728-placa-de-dezvoltare-jade-u1.html','_blank')\" style=\"\">\ud83d\uded2 Buy<\/button><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Breadboard 830<\/td><td class=\"has-text-align-center\" data-align=\"center\">1<\/td><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" class=\"wp-image-12349\" style=\"width: 150px;\" src=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/breadboard-830.jpg\" alt=\"\" srcset=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/breadboard-830.jpg 900w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/breadboard-830-300x300.jpg 300w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/breadboard-830-150x150.jpg 150w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/breadboard-830-768x768.jpg 768w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/breadboard-830-12x12.jpg 12w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/td><td class=\"has-text-align-center\" data-align=\"center\"><button onclick=\"window.open('https:\/\/ardushop.ro\/ro\/electronica\/33-breadboard-830.html','_blank')\" style=\"\">\ud83d\uded2 Buy<\/button><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Fire cu clips crocodil<\/td><td class=\"has-text-align-center\" data-align=\"center\">8<\/td><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"117\" class=\"wp-image-12353\" style=\"width: 150px;\" src=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/fire-cu-clips-crocodil-10-buc-46-cm.jpg\" alt=\"\" srcset=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/fire-cu-clips-crocodil-10-buc-46-cm.jpg 603w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/fire-cu-clips-crocodil-10-buc-46-cm-300x234.jpg 300w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/fire-cu-clips-crocodil-10-buc-46-cm-15x12.jpg 15w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/td><td class=\"has-text-align-center\" data-align=\"center\"><button onclick=\"window.open('https:\/\/ardushop.ro\/ro\/electronica\/249-fire-cu-clips-crocodil-10-buc-46-cm.html','_blank')\" style=\"\">\ud83d\uded2 Buy<\/button><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Rezistor 2M2<\/td><td class=\"has-text-align-center\" data-align=\"center\">8<\/td><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"105\" class=\"wp-image-11810\" style=\"width: 150px;\" src=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/11\/R.png\" alt=\"\" srcset=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/11\/R.png 453w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/11\/R-300x209.png 300w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/11\/R-18x12.png 18w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/11\/R-392x272.png 392w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/11\/R-130x90.png 130w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/td><td class=\"has-text-align-center\" data-align=\"center\"><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Difuzor 0.5W \u2013 8ohm<\/td><td class=\"has-text-align-center\" data-align=\"center\">1<\/td><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"141\" class=\"wp-image-12099\" style=\"width: 150px;\" src=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/10\/speaker.png\" alt=\"\" srcset=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/10\/speaker.png 523w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/10\/speaker-300x282.png 300w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/10\/speaker-13x12.png 13w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/td><td class=\"has-text-align-center\" data-align=\"center\"><button onclick=\"window.open('https:\/\/ardushop.ro\/ro\/electronica\/728-difuzor-36mm-05w-8ohm.html','_blank')\" style=\"\">\ud83d\uded2 Buy<\/button><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Rezistor 100R pentru difuzor<\/td><td class=\"has-text-align-center\" data-align=\"center\">1<\/td><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"105\" class=\"wp-image-11810\" style=\"width: 150px;\" src=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/11\/R.png\" alt=\"\" srcset=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/11\/R.png 453w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/11\/R-300x209.png 300w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/11\/R-18x12.png 18w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/11\/R-392x272.png 392w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/11\/R-130x90.png 130w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/td><td class=\"has-text-align-center\" data-align=\"center\"><button onclick=\"window.open('https:\/\/ardushop.ro\/ro\/electronica\/211-rezistenta-14w-1-buc.html?search_query=rezistor&amp;results=45#\/80-valoare_rezistenta-100r','_blank')\" style=\"\">\ud83d\uded2 Buy<\/button><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Fire jumper pentru difuzor<\/td><td class=\"has-text-align-center\" data-align=\"center\">2<\/td><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" class=\"wp-image-12357\" style=\"width: 150px;\" src=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/16662-Jumper_Wires_Premium_6in._M_M_Pack_of_2-_Red_and_Black-01.jpg\" alt=\"\" srcset=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/16662-Jumper_Wires_Premium_6in._M_M_Pack_of_2-_Red_and_Black-01.jpg 600w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/16662-Jumper_Wires_Premium_6in._M_M_Pack_of_2-_Red_and_Black-01-300x300.jpg 300w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/16662-Jumper_Wires_Premium_6in._M_M_Pack_of_2-_Red_and_Black-01-150x150.jpg 150w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/16662-Jumper_Wires_Premium_6in._M_M_Pack_of_2-_Red_and_Black-01-12x12.jpg 12w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/td><td class=\"has-text-align-center\" data-align=\"center\"><button onclick=\"window.open('https:\/\/ardushop.ro\/ro\/electronica\/28-65-x-jumper-wires.html','_blank')\" style=\"\">\ud83d\uded2 Buy<\/button><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Fire jumper pentru taste si alte conexiuni<\/td><td class=\"has-text-align-center\" data-align=\"center\">11<\/td><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" class=\"wp-image-12359\" style=\"width: 150px;\" src=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/11026-Jumper_Wires_Standard_7in._M_M_-_30_AWG__30_Pack_-01.jpg\" alt=\"\" srcset=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/11026-Jumper_Wires_Standard_7in._M_M_-_30_AWG__30_Pack_-01.jpg 600w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/11026-Jumper_Wires_Standard_7in._M_M_-_30_AWG__30_Pack_-01-300x300.jpg 300w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/11026-Jumper_Wires_Standard_7in._M_M_-_30_AWG__30_Pack_-01-150x150.jpg 150w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/11026-Jumper_Wires_Standard_7in._M_M_-_30_AWG__30_Pack_-01-12x12.jpg 12w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/td><td class=\"has-text-align-center\" data-align=\"center\"><button onclick=\"window.open('https:\/\/ardushop.ro\/ro\/home\/1830-cablu-usb-tip-c-1m.html','_blank')\" style=\"\">\ud83d\uded2 Buy<\/button><\/td><\/tr><\/tbody><\/table><\/figure>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div data-post-id=\"12368\" class=\"insert-page insert-page-12368\"><h1 class='insert-page-title'>Lista cu uneltele necesare asambl\u0103rii \u0219i func\u021bion\u0103rii<\/h1><\/div>\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th class=\"has-text-align-center\" data-align=\"center\"><strong>Nume <\/strong><\/th><th class=\"has-text-align-center\" data-align=\"center\"><strong>Imagine<\/strong><\/th><th class=\"has-text-align-center\" data-align=\"center\">Cump\u0103r\u0103<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\">Letcon<\/td><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" class=\"wp-image-10927\" style=\"width: 150px;\" src=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/07\/letcon-cu-temperatura-reglabila-907-2.jpg\" alt=\"\" srcset=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/07\/letcon-cu-temperatura-reglabila-907-2.jpg 607w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/07\/letcon-cu-temperatura-reglabila-907-2-300x300.jpg 300w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/07\/letcon-cu-temperatura-reglabila-907-2-150x150.jpg 150w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/07\/letcon-cu-temperatura-reglabila-907-2-12x12.jpg 12w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/td><td class=\"has-text-align-center\" data-align=\"center\"><button onclick=\"window.open('https:\/\/ardushop.ro\/en\/home\/444-letcon-cu-temperatura-reglabila-907.html','_blank')\" style=\"\">\ud83d\uded2 Buy<\/button><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Fludor<\/td><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" class=\"wp-image-10925\" style=\"width: 150px;\" src=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/07\/fludor-08mm-100g-1.jpg\" alt=\"\" srcset=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/07\/fludor-08mm-100g-1.jpg 607w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/07\/fludor-08mm-100g-1-300x300.jpg 300w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/07\/fludor-08mm-100g-1-150x150.jpg 150w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/07\/fludor-08mm-100g-1-12x12.jpg 12w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/td><td class=\"has-text-align-center\" data-align=\"center\"><button onclick=\"window.open('https:\/\/ardushop.ro\/en\/home\/458-solder-wire-08mm-100g.html','_blank')\" style=\"\">\ud83d\uded2 Buy<\/button><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Cle\u0219te pentru fire<\/td><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" class=\"wp-image-10924\" style=\"width: 150px;\" src=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/07\/clete-pentru-fire-3.jpg\" alt=\"\" srcset=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/07\/clete-pentru-fire-3.jpg 607w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/07\/clete-pentru-fire-3-300x300.jpg 300w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/07\/clete-pentru-fire-3-150x150.jpg 150w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/07\/clete-pentru-fire-3-12x12.jpg 12w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/td><td class=\"has-text-align-center\" data-align=\"center\"><button onclick=\"window.open('https:\/\/ardushop.ro\/electronica\/260-clete-pentru-fire.html','_blank')\" style=\"\">\ud83d\uded2 Buy<\/button><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Dezizolator pentru fire<\/td><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" class=\"wp-image-12083\" style=\"width: 150px;\" src=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/10\/clete-pentru-desizolat-fire.jpg\" alt=\"\" srcset=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/10\/clete-pentru-desizolat-fire.jpg 900w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/10\/clete-pentru-desizolat-fire-300x300.jpg 300w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/10\/clete-pentru-desizolat-fire-150x150.jpg 150w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/10\/clete-pentru-desizolat-fire-768x768.jpg 768w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/10\/clete-pentru-desizolat-fire-12x12.jpg 12w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/td><td class=\"has-text-align-center\" data-align=\"center\"><button onclick=\"window.open('https:\/\/ardushop.ro\/electronica\/311-clete-pentru-desizolat-fire.html','_blank')\">\ud83d\uded2 Buy<\/button><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Surs\u0103 de alimentare USB-C 5V<\/td><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" class=\"wp-image-12360\" style=\"width: 150px;\" src=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/40-4301.jpg\" alt=\"\" srcset=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/40-4301.jpg 2000w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/40-4301-300x300.jpg 300w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/40-4301-1024x1024.jpg 1024w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/40-4301-150x150.jpg 150w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/40-4301-768x768.jpg 768w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/40-4301-1536x1536.jpg 1536w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/40-4301-12x12.jpg 12w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><br>+<br><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"127\" class=\"wp-image-11631\" style=\"width: 150px;\" src=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/10\/sursa-alimentare-5v-1a.jpg\" alt=\"\" srcset=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/10\/sursa-alimentare-5v-1a.jpg 632w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/10\/sursa-alimentare-5v-1a-300x253.jpg 300w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2023\/10\/sursa-alimentare-5v-1a-14x12.jpg 14w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/td><td class=\"has-text-align-center\" data-align=\"center\"><br><button onclick=\"window.open('https:\/\/ardushop.ro\/ro\/electronica\/28-65-x-jumper-wires.html','_blank')\" style=\"\">\ud83d\uded2 Buy<\/button><br><br><br><br><br><br><button onclick=\"window.open('https:\/\/ardushop.ro\/ro\/home\/432-sursa-alimentare-5v-3a.html','_blank')\" style=\"\">\ud83d\uded2 Buy<\/button><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<div data-post-id=\"11979\" class=\"insert-page insert-page-11979\"><h1 class='insert-page-title'>Schema electronic\u0103<\/h1><\/div>\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1003\" height=\"1024\" src=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/aacb1460-d7d6-4efe-a15b-fcd7792f3465-1003x1024.jpg\" alt=\"\" class=\"wp-image-12383\" style=\"width:1140px;height:auto\" srcset=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/aacb1460-d7d6-4efe-a15b-fcd7792f3465-1003x1024.jpg 1003w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/aacb1460-d7d6-4efe-a15b-fcd7792f3465-294x300.jpg 294w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/aacb1460-d7d6-4efe-a15b-fcd7792f3465-768x784.jpg 768w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/aacb1460-d7d6-4efe-a15b-fcd7792f3465-12x12.jpg 12w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/aacb1460-d7d6-4efe-a15b-fcd7792f3465.jpg 1050w\" sizes=\"auto, (max-width: 1003px) 100vw, 1003px\" \/><\/figure>\n\n\n\n<p>\u00cen acest circuit, po\u021bi observa c\u0103 pinii D2 p\u00e2n\u0103 la D9 ai microcontrolerului sunt conecta\u021bi la o surs\u0103 de 5V printr-un rezistor, \u0219i la mas\u0103 prin butoanele S1-S8. C\u00e2nd butoanele nu sunt ap\u0103sate, pinii citesc 5V, adic\u0103 nivel High. Odat\u0103 ce ape\u0219i butoanele, pinii sunt conecta\u021bi la mas\u0103, astfel c\u0103 vor citi 0V, adic\u0103 nivel Low.<br>Dependening on the button you push, the corresponing pin will be High. In the Code section bellow you&#8217;ll see the corresponing note for each pin and how the note is sent to the speaker.<\/p>\n\n\n\n<p><\/p>\n\n\n<div data-post-id=\"12636\" class=\"insert-page insert-page-12636\"><h1 class='insert-page-title'>Circuitul pe breadboard<\/h1><\/div>\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"910\" src=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/BANANA-PIANO_all_noapple_noRvalue_GS_fingers-1024x910.png\" alt=\"\" class=\"wp-image-12376\" style=\"width:1130px;height:auto\" srcset=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/BANANA-PIANO_all_noapple_noRvalue_GS_fingers-1024x910.png 1024w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/BANANA-PIANO_all_noapple_noRvalue_GS_fingers-300x267.png 300w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/BANANA-PIANO_all_noapple_noRvalue_GS_fingers-768x683.png 768w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/BANANA-PIANO_all_noapple_noRvalue_GS_fingers-1536x1365.png 1536w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/BANANA-PIANO_all_noapple_noRvalue_GS_fingers-2048x1820.png 2048w, https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/08\/BANANA-PIANO_all_noapple_noRvalue_GS_fingers-14x12.png 14w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Odat\u0103 ce atingi cablul de mas\u0103 (albastru) \u0219i banana dorit\u0103, ac\u021bionezi ca un buton, \u00eenchizi circuitul prin corpul t\u0103u, de la pinul microcontrolerului la mas\u0103.<\/p>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div data-post-id=\"12385\" class=\"insert-page insert-page-12385\"><h1 class='insert-page-title'>Codul Arduino<\/h1><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<p><strong>pitches.h <\/strong>din exemplele de cod din Arduino IDE<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<div class=\"wp-block-file alignright\"><a href=\"https:\/\/learn.groundstudio.eu\/wp-content\/uploads\/2024\/10\/pitches-2.h\" class=\"wp-block-file__button wp-element-button\" download><i class=\"fa-solid fa-download\"><\/i> Download<\/a><\/div>\n<\/div>\n<\/div>\n\n\n\n<script src=\"https:\/\/kit.fontawesome.com\/963d46ab7c.js\" crossorigin=\"anonymous\"><\/script><pre class=\"green_code_block\"><code>\/*************************************************\n * Public Constants\n  *************************************************\/\n\n#define NOTE_B0  31\n#define NOTE_C1  33\n#define NOTE_CS1 35\n#define NOTE_D1  37\n#define NOTE_DS1 39\n#define NOTE_E1  41\n#define NOTE_F1  44\n#define NOTE_FS1 46\n#define NOTE_G1  49\n#define NOTE_GS1 52\n#define NOTE_A1  55\n#define NOTE_AS1 58\n#define NOTE_B1  62\n#define NOTE_C2  65\n#define NOTE_CS2 69\n#define NOTE_D2  73\n#define NOTE_DS2 78\n#define NOTE_E2  82\n#define NOTE_F2  87\n#define NOTE_FS2 93\n#define NOTE_G2  98\n#define NOTE_GS2 104\n#define NOTE_A2  110\n#define NOTE_AS2 117\n#define NOTE_B2  123\n#define NOTE_C3  131\n#define NOTE_CS3 139\n#define NOTE_D3  147\n#define NOTE_DS3 156\n#define NOTE_E3  165\n#define NOTE_F3  175\n#define NOTE_FS3  185\n#define NOTE_G3  196\n#define NOTE_GS3 208\n#define NOTE_A3  220\n#define NOTE_AS3 233\n#define NOTE_B3  247\n#define NOTE_C4  262\n#define NOTE_CS4  277\n#define NOTE_D4  294\n#define NOTE_DS4 311\n#define NOTE_E4  330\n#define NOTE_F4  349\n#define NOTE_FS4 370\n#define NOTE_G4  392\n#define NOTE_GS4  415\n#define NOTE_A4  440\n#define NOTE_AS4 466\n#define NOTE_B4  494\n#define NOTE_C5  523\n#define NOTE_CS5 554\n#define NOTE_D5  587\n#define NOTE_DS5  622\n#define NOTE_E5  659\n#define NOTE_F5  698\n#define NOTE_FS5 740\n#define NOTE_G5  784\n#define NOTE_GS5 831\n#define NOTE_A5  880\n#define NOTE_AS5  932\n#define NOTE_B5  988\n#define NOTE_C6  1047\n#define NOTE_CS6 1109\n#define NOTE_D6  1175\n#define NOTE_DS6 1245\n#define NOTE_E6  1319\n#define NOTE_F6  1397\n#define NOTE_FS6 1480\n#define NOTE_G6  1568\n#define NOTE_GS6 1661\n#define NOTE_A6  1760\n#define NOTE_AS6 1865\n#define NOTE_B6  1976\n#define NOTE_C7  2093\n#define NOTE_CS7 2217\n#define NOTE_D7  2349\n#define NOTE_DS7 2489\n#define NOTE_E7  2637\n#define NOTE_F7  2794\n#define NOTE_FS7 2960\n#define NOTE_G7  3136\n#define NOTE_GS7 3322\n#define NOTE_A7  3520\n#define NOTE_AS7 3729\n#define NOTE_B7  3951\n#define NOTE_C8  4186\n#define NOTE_CS8 4435\n#define NOTE_D8  4699\n#define NOTE_DS8 4978<\/code><\/pre><\/pre>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-a5331a9e wp-block-columns-is-layout-flex\" style=\"padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.67%\">\n<p><strong>Acesta e programul principal pentru func\u021bionarea pianului din banane. Folose\u0219te pitches.h.\n<\/strong>This is the main program to drive the banana piano. It uses pitches.h.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\"><\/div>\n<\/div>\n\n\n\n<script src=\"https:\/\/kit.fontawesome.com\/963d46ab7c.js\" crossorigin=\"anonymous\"><\/script><pre class=\"green_code_block\"><code>#include \"pitches.h\"\n\nint numKeys = 8;\nint digInput[] = {  2, 3, 4, 5, 6, 7, 8, 9 };\nint myNote[] = { NOTE_C4, NOTE_D4, NOTE_E4, NOTE_F4,  NOTE_G4, NOTE_A4, NOTE_B4, NOTE_C5 };\nint toneOut = 12;\n\nvoid setup() {\n  \/\/ Start serial connection\n  Serial.begin(9600);\n  \/\/ Configure digital  input pins\n  for (int i = 0; i < numKeys; i++) {\n    pinMode(digInput[i],  INPUT);\n  }\n  pinMode(toneOut, OUTPUT);\n}\n\nvoid loop() {\n  \/\/\n  int keypressed = 0;\n  for (int j = 0; j < numKeys; j++) {\n    int sensorVal  = digitalRead(digInput[j]);\n    String outStr = String(\"K\");\n      outStr  = String(outStr + j);\n      outStr = String(outStr + \": \");\n      outStr  = String(outStr + sensorVal);\n    if (sensorVal == LOW) {\n      ++keypressed;  \/\/ increment keypressed\n      digitalWrite(13, HIGH);\n      tone(toneOut,  myNote[j]);\n    }\n    \/\/outStr = String(outStr + \":\");\n    \/\/outStr =  String(outStr + keypressed);\n    Serial.print(outStr);\n    Serial.print(\"\\\t\");\n  }\n  Serial.println(\"\");\n  if (keypressed == 0) {\n    noTone(toneOut);\n  }\n  delay(250);\n}<\/code><\/pre>\n<\/div>\n\n\n\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>Acest proiect distractiv \u0219i creativ transform\u0103 bananele \u00eentr-un instrument muzical folosind o plac\u0103 de dezvoltare de tip Arduino.<\/p>","protected":false},"author":2,"featured_media":12679,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_layout":"no_sidebar_content_centered","footnotes":""},"categories":[17],"tags":[],"class_list":["post-12336","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-projects"],"_links":{"self":[{"href":"https:\/\/learn.groundstudio.eu\/ro\/wp-json\/wp\/v2\/posts\/12336","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learn.groundstudio.eu\/ro\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learn.groundstudio.eu\/ro\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learn.groundstudio.eu\/ro\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/learn.groundstudio.eu\/ro\/wp-json\/wp\/v2\/comments?post=12336"}],"version-history":[{"count":0,"href":"https:\/\/learn.groundstudio.eu\/ro\/wp-json\/wp\/v2\/posts\/12336\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/learn.groundstudio.eu\/ro\/wp-json\/wp\/v2\/media\/12679"}],"wp:attachment":[{"href":"https:\/\/learn.groundstudio.eu\/ro\/wp-json\/wp\/v2\/media?parent=12336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learn.groundstudio.eu\/ro\/wp-json\/wp\/v2\/categories?post=12336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learn.groundstudio.eu\/ro\/wp-json\/wp\/v2\/tags?post=12336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}