Você já ouviu falar no meme do caixão? Com a música Astronomia -Tony Igy .
Eu vou disponibilizar aqui o esquema de ligação e a programação para você fazer o Meme do caixão com buzzer Arduino.
Hoje eu fiz um artigo para resenhar🤣🤣
É muito simples a ligação e como a programação está pronta aqui no blog facilita tudo.
Meme do caixão buzzer Arduino – Astronomia – Tony Igy
No último mês, um vídeo de um funeral bem animado que se passa no Gana viralizou na internet com montagens de pessoas se machucando, caindo, sofrendo acidentes e logo em seguida aparecia a imagem desse grupo carregando o caixão e dançando de forma bem animada ao som de Astronomia, que foi composta por Tony Igy e lançada em 2010.
O grupo se chama “Pallbearers”, quando contratados realizam desde funerais mais animados a celebrações mais convencionais, as celebrações mais festivas são reservadas aos idosos como uma forma de comemorar a longa vida que tiveram.
Então… Eu resolvi trazer aqui para você tudo o que precisa para poder fazer igual ao vídeo.
Lista de materiais
- Arduino ( Qualquer modelo)
- 3x Resistores 100 Ω
- 3x Buzzers
- Jumpers
Esquema de ligação
A ligação dos Buzzers fica nos pinos 0, 1 e 2 do Arduino.
Com os respectivos resistores
Conforme a Imagem abaixo
Programação
Será necessario incluir biblioteca Playtune na IDE no Arduino.
Clique aqui para Download PlayTune
Para incluir a biblioteca ir em Sketch> Incluir biblioteca> Adicionar biblioteca .ZIP e selecionar o arquivo que você acabou de baixar.
Segue Programação após incluir a biblioteca:
// Luan Alves - GuiaRobotica.com
#include <Playtune.h> // adicionar biblioteca
const unsigned char PROGMEM score [] = {
0x90, 58, 0x91, 55, 0x92, 70, 0, 117, 0x81, 0, 7, 0x91, 55, 0, 112, 0x82, 0, 6, 0x81, 0, 7, 0x91, 55, 0x92, 70, 0, 118,
0x81, 0, 7, 0x91, 55, 0, 112, 0x82, 0, 6, 0x81, 0, 7, 0x91, 55, 0x92, 70, 0, 118, 0x81, 0, 7, 0x91, 55, 0, 112,
0x82, 0, 6, 0x81, 0, 7, 0x91, 55, 0x92, 70, 0, 118, 0x81, 0, 7, 0x91, 55, 0, 112, 0x82, 0, 6, 0x81, 0, 7, 0x91, 55,
0x92, 74, 0, 118, 0x81, 0, 7, 0x91, 55, 0, 112, 0x82, 0, 6, 0x81, 0, 7, 0x91, 55, 0x92, 74, 0, 118, 0x81, 0, 7,
0x91, 55, 0, 112, 0x82, 0, 6, 0x81, 0, 7, 0x91, 55, 0x92, 74, 0, 118, 0x81, 0, 7, 0x91, 55, 0, 112, 0x82, 0, 6,
0x81, 0, 7, 0x91, 55, 0x92, 74, 0, 118, 0x81, 0, 7, 0x91, 55, 0, 24, 0x80, 0, 88, 0x82, 0, 6, 0x81, 0, 7, 0x90, 58,
0x91, 55, 0x92, 72, 0, 118, 0x81, 0, 7, 0x91, 55, 0, 112, 0x82, 0, 6, 0x81, 0, 7, 0x91, 55, 0x92, 72, 0, 118, 0x81,
0, 7, 0x91, 55, 0, 112, 0x82, 0, 6, 0x81, 0, 7, 0x91, 55, 0x92, 72, 0, 118, 0x81, 0, 7, 0x91, 55, 0, 112, 0x82,
0, 6, 0x81, 0, 7, 0x91, 55, 0x92, 72, 0, 118, 0x81, 0, 7, 0x91, 55, 0, 112, 0x82, 0, 6, 0x81, 0, 7, 0x91, 55,
0x92, 77, 0, 118, 0x81, 0, 7, 0x91, 55, 0, 112, 0x82, 0, 6, 0x81, 0, 7, 0x91, 55, 0x92, 77, 0, 118, 0x81, 0, 7,
0x91, 55, 0, 112, 0x82, 0, 6, 0x81, 0, 7, 0x91, 55, 0x92, 77, 0, 118, 0x81, 0, 7, 0x91, 55, 0, 112, 0x82, 0, 6,
0x81, 0, 7, 0x91, 55, 0x92, 77, 0, 118, 0x81, 0, 7, 0x91, 55, 0, 24, 0x80, 0, 88, 0x82, 0, 6, 0x81, 0, 7, 0x90, 58,
0x91, 55, 0x92, 79, 0, 118, 0x81, 0, 7, 0x91, 55, 0, 112, 0x82, 0, 6, 0x81, 0, 7, 0x91, 55, 0x92, 79, 0, 118, 0x81,
0, 7, 0x91, 55, 0, 112, 0x82, 0, 6, 0x81, 0, 7, 0x91, 55, 0x92, 79, 0, 118, 0x81, 0, 7, 0x91, 55, 0, 112, 0x82,
0, 6, 0x81, 0, 7, 0x91, 55, 0x92, 79, 0, 118, 0x81, 0, 7, 0x91, 55, 0, 112, 0x82, 0, 6, 0x81, 0, 7, 0x91, 55,
0x92, 79, 0, 118, 0x81, 0, 7, 0x91, 55, 0, 112, 0x82, 0, 6, 0x81, 0, 7, 0x91, 55, 0x92, 79, 0, 118, 0x81, 0, 7,
0x91, 55, 0, 112, 0x82, 0, 6, 0x81, 0, 7, 0x91, 55, 0x92, 79, 0, 118, 0x81, 0, 7, 0x91, 55, 0, 112, 0x82, 0, 6,
0x81, 0, 7, 0x91, 55, 0x92, 79, 0, 118, 0x81, 0, 7, 0x91, 55, 0, 24, 0x80, 0, 88, 0x82, 0, 6, 0x81, 0, 7, 0x90, 58,
0x91, 55, 0x92, 79, 0, 118, 0x81, 0, 7, 0x91, 55, 0, 112, 0x82, 0, 6, 0x81, 0, 7, 0x91, 55, 0x92, 79, 0, 118, 0x81,
0, 7, 0x91, 55, 0, 112, 0x82, 0, 6, 0x81, 0, 7, 0x91, 55, 0x92, 79, 0, 118, 0x81, 0, 7, 0x91, 55, 0, 112, 0x82,
0, 6, 0x81, 0, 7, 0x91, 55, 0x92, 79, 0, 118, 0x81, 0, 7, 0x91, 55, 0, 74, 0x80, 0, 38, 0x82, 0, 6, 0x81, 0, 7,
0x90, 72, 0, 237, 0x80, 0, 13, 0x90, 70, 0, 237, 0x80, 0, 13, 0x90, 69, 0, 237, 0x80, 0, 13, 0x90, 65, 0, 237, 0x80,
0, 13, 0x90, 51, 0x91, 67, 0, 187, 0x80, 0, 188, 0x90, 51, 0, 99, 0x81, 0, 19, 0x80, 0, 7, 0x90, 51, 0x91, 67, 0, 237,
0x80, 0x81, 0, 13, 0x90, 51, 0x91, 74, 0, 237, 0x80, 0x81, 0, 13, 0x90, 51, 0x91, 72, 0, 187, 0x80, 0, 188, 0x90, 51, 0, 99,
0x81, 0, 19, 0x80, 0, 7, 0x90, 51, 0x91, 70, 0, 237, 0x80, 0, 13, 0x90, 51, 0, 224, 0x81, 0, 13, 0x80, 0, 13, 0x90, 53,
0x91, 69, 0, 187, 0x80, 0, 188, 0x90, 53, 0, 99, 0x81, 0, 19, 0x80, 0, 7, 0x90, 53, 0x91, 69, 0, 237, 0x80, 0x81, 0, 13,
0x90, 53, 0x91, 69, 0, 237, 0x80, 0x81, 0, 13, 0x90, 53, 0x91, 72, 0, 187, 0x80, 0, 188, 0x90, 53, 0, 99, 0x81, 0, 19,
0x80, 0, 7, 0x90, 53, 0x91, 70, 0, 237, 0x80, 0x81, 0, 13, 0x90, 53, 0x91, 69, 0, 237, 0x80, 0x81, 0, 13, 0x90, 55, 0x91, 67,
0, 187, 0x80, 0, 188, 0x90, 55, 0, 99, 0x81, 0, 19, 0x80, 0, 7, 0x90, 55, 0x91, 67, 0, 237, 0x80, 0x81, 0, 13, 0x90, 55,
0x91, 82, 0, 237, 0x80, 0x81, 0, 13, 0x90, 55, 0x91, 81, 0, 187, 0x80, 0, 50, 0x81, 0, 13, 0x90, 82, 0, 125, 0x91, 55,
0, 112, 0x80, 0, 6, 0x81, 0, 7, 0x90, 55, 0x91, 81, 0, 237, 0x80, 0x81, 0, 13, 0x90, 55, 0x91, 82, 0, 237, 0x80, 0x81,
0, 13, 0x90, 55, 0x91, 67, 0, 187, 0x80, 0, 188, 0x90, 55, 0, 99, 0x81, 0, 19, 0x80, 0, 7, 0x90, 55, 0x91, 67, 0, 237,
0x80, 0x81, 0, 13, 0x90, 55, 0x91, 82, 0, 237, 0x80, 0x81, 0, 13, 0x90, 55, 0x91, 81, 0, 187, 0x80, 0, 50, 0x81, 0, 13,
0x90, 82, 0, 125, 0x91, 55, 0, 112, 0x80, 0, 6, 0x81, 0, 7, 0x90, 55, 0x91, 81, 0, 237, 0x80, 0x81, 0, 13, 0x90, 55,
0x91, 82, 0, 237, 0x80, 0x81, 0, 13, 0x90, 51, 0x91, 67, 0, 187, 0x80, 0, 188, 0x90, 51, 0, 99, 0x81, 0, 19, 0x80, 0, 7,
0x90, 51, 0x91, 67, 0, 237, 0x80, 0x81, 0, 13, 0x90, 51, 0x91, 74, 0, 237, 0x80, 0x81, 0, 13, 0x90, 51, 0x91, 72, 0, 187,
0x80, 0, 188, 0x90, 51, 0, 99, 0x81, 0, 19, 0x80, 0, 7, 0x90, 51, 0x91, 70, 0, 237, 0x80, 0, 13, 0x90, 51, 0, 224,
0x81, 0, 13, 0x80, 0, 13, 0x90, 53, 0x91, 69, 0, 187, 0x80, 0, 188, 0x90, 53, 0, 99, 0x81, 0, 19, 0x80, 0, 7, 0x90, 53,
0x91, 69, 0, 237, 0x80, 0x81, 0, 13, 0x90, 53, 0x91, 69, 0, 237, 0x80, 0x81, 0, 13, 0x90, 53, 0x91, 72, 0, 187, 0x80, 0, 188,
0x90, 53, 0, 99, 0x81, 0, 19, 0x80, 0, 7, 0x90, 53, 0x91, 70, 0, 237, 0x80, 0x81, 0, 13, 0x90, 53, 0x91, 69, 0, 237,
0x80, 0x81, 0, 13, 0x90, 55, 0x91, 67, 0, 187, 0x80, 0, 188, 0x90, 55, 0, 99, 0x81, 0, 19, 0x80, 0, 7, 0x90, 55, 0x91, 67,
0, 237, 0x80, 0x81, 0, 13, 0x90, 55, 0x91, 82, 0, 237, 0x80, 0x81, 0, 13, 0x90, 55, 0x91, 81, 0, 187, 0x80, 0, 50, 0x81,
0, 13, 0x90, 82, 0, 125, 0x91, 55, 0, 112, 0x80, 0, 6, 0x81, 0, 7, 0x90, 55, 0x91, 81, 0, 237, 0x80, 0x81, 0, 13,
0x90, 55, 0x91, 82, 0, 237, 0x80, 0x81, 0, 13, 0x90, 55, 0x91, 67, 0, 187, 0x80, 0, 188, 0x90, 55, 0, 99, 0x81, 0, 19,
0x80, 0, 7, 0x90, 55, 0x91, 67, 0, 237, 0x80, 0x81, 0, 13, 0x90, 55, 0x91, 82, 0, 237, 0x80, 0x81, 0, 13, 0x90, 55, 0x91, 81,
0, 187, 0x80, 0, 50, 0x81, 0, 13, 0x90, 82, 0, 125, 0x91, 55, 0, 112, 0x80, 0, 6, 0x81, 0, 7, 0x90, 55, 0x91, 81,
0, 237, 0x80, 0x81, 0, 13, 0x90, 55, 0x91, 82, 0, 237, 0x80, 0x81, 0, 13, 0x90, 51, 0x91, 67, 0, 187, 0x80, 0, 188, 0x90, 51,
0, 99, 0x81, 0, 19, 0x80, 0, 7, 0x90, 51, 0x91, 67, 0, 237, 0x80, 0x81, 0, 13, 0x90, 51, 0x91, 74, 0, 237, 0x80, 0x81,
0, 13, 0x90, 51, 0x91, 72, 0, 187, 0x80, 0, 188, 0x90, 51, 0, 99, 0x81, 0, 19, 0x80, 0, 7, 0x90, 51, 0x91, 70, 0, 237,
0x80, 0, 13, 0x90, 51, 0, 224, 0x81, 0, 13, 0x80, 0, 13, 0x90, 53, 0x91, 69, 0, 187, 0x80, 0, 188, 0x90, 53, 0, 99,
0x81, 0, 19, 0x80, 0, 7, 0x90, 53, 0x91, 69, 0, 237, 0x80, 0x81, 0, 13, 0x90, 53, 0x91, 69, 0, 237, 0x80, 0x81, 0, 13,
0x90, 53, 0x91, 72, 0, 187, 0x80, 0, 188, 0x90, 53, 0, 99, 0x81, 0, 19, 0x80, 0, 7, 0x90, 53, 0x91, 70, 0, 237, 0x80,
0x81, 0, 13, 0x90, 53, 0x91, 69, 0, 237, 0x80, 0x81, 0, 13, 0x90, 55, 0x91, 67, 0, 187, 0x80, 0, 188, 0x90, 55, 0, 99,
0x81, 0, 19, 0x80, 0, 7, 0x90, 55, 0x91, 67, 0, 237, 0x80, 0x81, 0, 13, 0x90, 55, 0x91, 82, 0, 237, 0x80, 0x81, 0, 13,
0x90, 55, 0x91, 81, 0, 187, 0x80, 0, 50, 0x81, 0, 13, 0x90, 82, 0, 125, 0x91, 55, 0, 112, 0x80, 0, 6, 0x81, 0, 7,
0x90, 55, 0x91, 81, 0, 237, 0x80, 0x81, 0, 13, 0x90, 55, 0x91, 82, 0, 237, 0x80, 0x81, 0, 13, 0x90, 55, 0x91, 67, 0, 187,
0x80, 0, 188, 0x90, 55, 0, 99, 0x81, 0, 19, 0x80, 0, 7, 0x90, 55, 0x91, 67, 0, 237, 0x80, 0x81, 0, 13, 0x90, 55, 0x91, 82,
0, 237, 0x80, 0x81, 0, 13, 0x90, 55, 0x91, 81, 0, 187, 0x80, 0, 50, 0x81, 0, 13, 0x90, 82, 0, 125, 0x91, 55, 0, 112,
0x80, 0, 6, 0x81, 0, 7, 0x90, 55, 0x91, 81, 0, 237, 0x80, 0x81, 0, 13, 0x90, 55, 0x91, 82, 0, 237, 0x80, 0x81, 0, 13,
0x90, 51, 0x91, 70, 0, 187, 0x80, 0, 50, 0x81, 0, 13, 0x90, 70, 0, 125, 0x91, 51, 0, 112, 0x80, 0, 6, 0x81, 0, 7,
0x90, 51, 0x91, 70, 0, 237, 0x80, 0x81, 0, 13, 0x90, 51, 0x91, 70, 0, 237, 0x80, 0x81, 0, 13, 0x90, 51, 0x91, 74, 0, 187,
0x80, 0, 50, 0x81, 0, 13, 0x90, 74, 0, 125, 0x91, 51, 0, 112, 0x80, 0, 6, 0x81, 0, 7, 0x90, 51, 0x91, 74, 0, 237,
0x80, 0x81, 0, 13, 0x90, 51, 0x91, 74, 0, 237, 0x80, 0x81, 0, 13, 0x90, 53, 0x91, 72, 0, 187, 0x80, 0, 50, 0x81, 0, 13,
0x90, 72, 0, 125, 0x91, 53, 0, 112, 0x80, 0, 6, 0x81, 0, 7, 0x90, 53, 0x91, 72, 0, 237, 0x80, 0x81, 0, 13, 0x90, 53,
0x91, 72, 0, 237, 0x80, 0x81, 0, 13, 0x90, 53, 0x91, 77, 0, 187, 0x80, 0, 50, 0x81, 0, 13, 0x90, 77, 0, 125, 0x91, 53,
0, 112, 0x80, 0, 6, 0x81, 0, 7, 0x90, 53, 0x91, 77, 0, 237, 0x80, 0x81, 0, 13, 0x90, 53, 0x91, 77, 0, 237, 0x80, 0x81,
0, 13, 0x90, 55, 0x91, 79, 0, 187, 0x80, 0, 50, 0x81, 0, 13, 0x90, 79, 0, 125, 0x91, 55, 0, 112, 0x80, 0, 6, 0x81,
0, 7, 0x90, 55, 0x91, 79, 0, 237, 0x80, 0x81, 0, 13, 0x90, 55, 0x91, 79, 0, 237, 0x80, 0x81, 0, 13, 0x90, 55, 0x91, 79,
0, 187, 0x80, 0, 50, 0x81, 0, 13, 0x90, 79, 0, 125, 0x91, 55, 0, 112, 0x80, 0, 6, 0x81, 0, 7, 0x90, 55, 0x91, 79,
0, 237, 0x80, 0x81, 0, 13, 0x90, 55, 0x91, 79, 0, 237, 0x80, 0x81, 0, 13, 0x90, 55, 0x91, 79, 0, 187, 0x80, 0, 50, 0x81,
0, 13, 0x90, 79, 0, 125, 0x91, 55, 0, 112, 0x80, 0, 6, 0x81, 0, 7, 0x90, 55, 0x91, 79, 0, 237, 0x80, 0x81, 0, 13,
0x90, 55, 0x91, 79, 0, 237, 0x80, 0x81, 0, 13, 0x90, 72, 0, 237, 0x80, 0, 13, 0x90, 70, 0, 237, 0x80, 0, 13, 0x90, 69,
0, 237, 0x80, 0, 13, 0x90, 65, 0, 237, 0x80, 0, 13, 0x90, 39, 0x91, 55, 0x92, 67, 1, 218, 0x80, 0x81, 0x82, 0xF0
};
Playtune pt;
void setup() {
delay(2000);
pt.tune_initchan (0);
pt.tune_initchan (1);
pt.tune_initchan (2);
pt.tune_initchan (3);
pt.tune_initchan (4);
pt.tune_initchan (5);
pt.tune_initchan (6);
pt.tune_initchan (7);
pt.tune_initchan (8);
pt.tune_initchan (9);
pt.tune_initchan (10);
pt.tune_initchan (11);
pt.tune_initchan (12);
pt.tune_initchan (13);
pt.tune_initchan (14);
pt.tune_initchan (15);
pt.tune_playscore (score); //inicia
}
void loop () {}
Quando o Arduino ligar a música começa a tocar automaticamente.
E o Botão reset Repete.
Então é isso..
Compartilhe com seus amigos…
Se Inscreva no meu canal do Youtube.
Deixe aquele LIKE , e me diz o que achou nos comentários.
Até a proxima.