Hey, so I've been using your code to try to write a song and I really wanna add a second piezo buzzer to my code with a different melody and duration and all that but I tried to many different way and still can't figure it out...any advice? -Thank you!
I am doing a project like the one shown here. I want this to be done via a motion sensor and not a push button. What other parts will I need to make this happen?
can you explain how to get the pitch.h file to sync with the sketch folder? this looks like a great project and i would like to try it out, im having the same problem as Malik Jordan with the error of NOTE_F5
You should put the pitches.h file and the LEDMusicPlayer.ino sketch inside the same folder named LEDMusicPlayer. Then when you open the sketch using the Arduino IDE, the pitches.h file would show up as a second tab in the window, and it should be able to compile. Let me know if it works.
+The Eccentric Composer That is a momentary contact pushbutton switch. It is connected to one of the Arduino's input pins and when activated it sends 5volts to it.
im getting this error message whats wrong Arduino: 1.6.7 (Windows 10), Board: "Arduino/Genuino Uno" sketch_jan29a:1: error: #include expects "FILENAME" or #include expects ^ exit status 1 #include expects "FILENAME" or This report would have more information with "Show verbose output during compilation" enabled in File > Preferences.
I used the sketch from the link and tried to verify it and it came up with an error saying ''NOTE_F5' was not declared in this scope' has anyone else had this problem and how can I fix it?
If you're asking about the pins on the arduino that the wires are connected to, it's 5, 4, 3, for the three LEDs, 2 for the pushbutton, and 12 for the piezo speaker. You can find these defined in the code (the link is in the about section above). As for the resistors, the three LEDs are each connected to a 220 ohm resistor, and the pushbutton is connected to a 10k resistor. Let me know if you have more questions.
Renzdy Mejilla I checked up the link it has, and it has two codes, the first to define musical notes, and the second that runs the program with the circuit. In the second code, when you press the pushbutton, it triggers the start for the song, which is described in the piece of the "melody", it calls the sequence of notes you need from the first code, to reproduce that melody, and in a second part, it also describes the duration of each note for the song. So if you want to change the music, you would have to change the "melody" part, and describe the sequence of notes you need for another song, as well as the "duration" of each. Can't help you further, since I don't know how to read music, but if you do, or find the notes you need for the melody you desire, only write them in order, using that first code I told you about. (: Hope this helps, and not too late..
+F4nt0mas Arduino : 1.6.7 Hourly Build 2015/11/27 03:44 (Windows 7), Carte : "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)" C:\Users\Fantin\Desktop\sketch_feb05d\sketch_feb05d.ino:10:21: fatal error: pitches.h: No such file or directory #include "pitches.h" ^ compilation terminated. exit status 1 Erreur lors de la compilation. Ce rapport contiendrait plus d'informations si l'option "Montrer les informations de sortie pendant la compilation" était activée dans Fichier > Préférences.
+Jianan Li Can you send me the full code please. Because always this message: Arduino : 1.6.7 (Windows 7), Carte : "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)" C:\Users\Fantin\AppData\Local\Temp\Rar$DIa0.743\LEDMusicPlayer\LEDMusicPlayer.ino:8:21: fatal error: pitches.h: No such file or directory #include "pitches.h" ^ compilation terminated. exit status 1 Erreur lors de la compilation. Ce rapport contiendrait plus d'informations si l'option "Montrer les informations de sortie pendant la compilation" était activée dans Fichier > Préférences.
The complete course "Making Music with Arduino" is a 100% online course dedicated to the DIY culture lovers. In this course you will learn how to build your own MIDI controllers, easily and inexpensively, using the Arduino platform. You will learn, from scratch, programming and electronics, until you will be able to build a complete MIDI controller.>>>>go.hotmart.com/E1597324G
Cool, thank you. It was a fun project to do. I'll go in later and try to modify the note array to get a different song out of it.
This is awesome!!!!
- Maddy from Baltimore
Brilliant, well done!
Obrigado por compartilhar!
Funcionou perfeitamente.
Perfect work :X
man you are amazing...i did it..And it works..thanks a lot! ;) you are a genius !
I have coding errors and can't upload
Please help me
I copied and pasted coding on ardunio software and had coding errors
Hello I like your project a lot! can I ask what is the numbers you used for making this beautiful music?
Hey, so I've been using your code to try to write a song and I really wanna add a second piezo buzzer to my code with a different melody and duration and all that but I tried to many different way and still can't figure it out...any advice?
-Thank you!
Cool project
Replace green LED with white one to become a real patriot :) Good demo bro !
Lol haha i got it.
fuck you
+Jianan Li
Can you put a picture up with the wiring? I am not able to get everything from the video
good job mate
Yo man got it to work nice Sub + thumbs up
I am doing a project like the one shown here. I want this to be done via a motion sensor and not a push button. What other parts will I need to make this happen?
Good work
Gracias amigo
Hi Jianan I know How the sizeof function work but I don't understand What "sizeof(NOTE_F5)" is used. Can you explain me please?
Can u make an tutorial on how to make it plz
pls let me know what type of the buzzer??
the arduino sketch is not recognizable this line " else if ( não ledOn) {". How should I proceed?
de cuanto es la resistencia del pushbutton
My code brings an error of terminante. should i use the pitches.h??or LED?
at 0:35 the green led lights up but doesn't play the note..
can you explain how to get the pitch.h file to sync with the sketch folder? this looks like a great project and i would like to try it out, im having the same problem as Malik Jordan with the error of NOTE_F5
You should put the pitches.h file and the LEDMusicPlayer.ino sketch inside the same folder named LEDMusicPlayer. Then when you open the sketch using the Arduino IDE, the pitches.h file would show up as a second tab in the window, and it should be able to compile. Let me know if it works.
can this still be done by putting battery to the arduino?
i cant do that with a problem that make me erase the code because ''F5'' was not declared in this scope
Awesome
very cool
very nice
Ohm resistors?
Hello
What is the circuit diagram?
awesome
Have you included the pitches.h in the sketch folder?
Jianan Li
What is the value of the resistance?????
Can you please put up the code you used
Good man..
What is the name of the component near the blue led? It's near the letters f and e. And what does it do?
+The Eccentric Composer That is a momentary contact pushbutton switch. It is connected to one of the Arduino's input pins and when activated it sends 5volts to it.
It's a tactile momentary button, pretty much acts as a switch.
im getting this error message whats wrong
Arduino: 1.6.7 (Windows 10), Board: "Arduino/Genuino Uno"
sketch_jan29a:1: error: #include expects "FILENAME" or
#include expects
^
exit status 1
#include expects "FILENAME" or
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
+coyote stevens Me too
+coyote stevens I think you won't get this error if you download the zip file of the entire repository: github.com/Jianan-Li/super-saiyan.
+coyote stevens you put coyote into the library folder?
I used the sketch from the link and tried to verify it and it came up with an error saying ''NOTE_F5' was not declared in this scope' has anyone else had this problem and how can I fix it?
Nice project. Pro tip: Put code you want to run once in setup() and leave loop() empty.
Can you please tell me the code
where is the schematic
cool , can you teach us the codes, i need help in project, thanks
C'est très bien
nice
Should be red white & blue. Nice project.
Will you help me? I want to add more songs using one pushbutton. once I press the pushbutton, the music will change. HELP ME, plssss😔
🤧🤧🤧🤧
what is the code
I’m the 1000th like I’m feeling so thug life for making it 1K likes
note f5 error is showing
i wonder if i can use this to make a patriotic wall-e
Those blue things are resistors right?
Yeah
+Jianan Li
What resistor did you use? I cannot tell
+Karen Roman a 110ohm one.
Not 110ohm, its a 220ohm resistor with 1% tolerance
Karen Roman 1% yymm good choice xD
@@di4352 i have 330 ohm resistors, Will they be okay?
may i know, which number are those wires connected to?
If you're asking about the pins on the arduino that the wires are connected to, it's 5, 4, 3, for the three LEDs, 2 for the pushbutton, and 12 for the piezo speaker. You can find these defined in the code (the link is in the about section above). As for the resistors, the three LEDs are each connected to a 220 ohm resistor, and the pushbutton is connected to a 10k resistor. Let me know if you have more questions.
***** tym
@@JiananLi which wires are the 3 at the very left connected to?
did u used 5v or 3.3v ?
5 v
how can we change the music?
Renzdy Mejilla I checked up the link it has, and it has two codes, the first to define musical notes, and the second that runs the program with the circuit. In the second code, when you press the pushbutton, it triggers the start for the song, which is described in the piece of the "melody", it calls the sequence of notes you need from the first code, to reproduce that melody, and in a second part, it also describes the duration of each note for the song. So if you want to change the music, you would have to change the "melody" part, and describe the sequence of notes you need for another song, as well as the "duration" of each. Can't help you further, since I don't know how to read music, but if you do, or find the notes you need for the melody you desire, only write them in order, using that first code I told you about. (: Hope this helps, and not too late..
Do it with chords, now! :)
Includes not the comment I met the Code car there in two parts.
+F4nt0mas Arduino : 1.6.7 Hourly Build 2015/11/27 03:44 (Windows 7), Carte : "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
C:\Users\Fantin\Desktop\sketch_feb05d\sketch_feb05d.ino:10:21: fatal error: pitches.h: No such file or directory
#include "pitches.h"
^
compilation terminated.
exit status 1
Erreur lors de la compilation.
Ce rapport contiendrait plus d'informations si l'option
"Montrer les informations de sortie pendant la compilation"
était activée dans Fichier > Préférences.
+F4nt0mas I think you won't get this error if you download the zip file of the entire repository: github.com/Jianan-Li/super-saiyan.
+Jianan Li OK thx .
+Jianan Li Can you send me the full code please. Because always this message:
Arduino : 1.6.7 (Windows 7), Carte : "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
C:\Users\Fantin\AppData\Local\Temp\Rar$DIa0.743\LEDMusicPlayer\LEDMusicPlayer.ino:8:21: fatal error: pitches.h: No such file or directory
#include "pitches.h"
^
compilation terminated.
exit status 1
Erreur lors de la compilation.
Ce rapport contiendrait plus d'informations si l'option
"Montrer les informations de sortie pendant la compilation"
était activée dans Fichier > Préférences.
+Jianan Li No It's ok thank you for sharing this video!!^^
whats code did you use?
Linked in the description!
Portuguese version: github.com/Jianan-Li/misc-arduino-sketches/blob/master/LEDMusicPlayer/LEDMusicPlayer.ino
which music is it?
robin thoelen the star spangled banner. The United States of Americas anthem.
If you don't know this, you shouldn't be allowed on the internet.
Just put some bacon and it is done
Sorry for the bad jokes i am typing this at 2 am
I would like to see the code please.
Linked in the description!
***** Thank you. :)
If you wanna learn how Making Music with Arduino, leave a reply!
HERE
The complete course "Making Music with Arduino" is a 100% online course dedicated to the DIY culture lovers. In this course you will learn how to build your own MIDI controllers, easily and inexpensively, using the Arduino platform. You will learn, from scratch, programming and electronics, until you will be able to build a complete MIDI controller.>>>>go.hotmart.com/E1597324G
the code have an error it said like this
Sorry, it seems like your code has some errors.
8:10: fatal error: pitches.h: No such file or directory
no tutorial????
:)
your first Arduino project is 100 times more difficult than mine
La la la la +1 pls
awesome