I almost skipped this video, as I generally hate buzzers, but I thought there might be a good nugget or two to learn so I watched it. The Morse code translator is awesome, educational, fun and because of it, I'm now a sub!
Thanks! The code is available at github.com, the link is in the show notes above. I'm really trying to work through all the lessons provided with the kit. Hopefully, there will be a few more that you'll find interesting.
I got Invalid character at the end of the string. I have found that I have ASCII 10 (LF) at the end. I have added couple lines in the code to handle L. The error went away. void doString(String strValue){ char chValue; //Local Variables int strLen = 0; strLen = strValue.length(); //get the length of the string for(int x = 0; x
Hi Ricardo, I got the Elegoo Basic Starter Kit for my brother. He couldn't get it going and asked me to help. He had the buzzer in the wrong way around, but I'm confused. The kit contains only n ACTIVE buzzer, and your documentation explains that you should just raise the pin HIGH to make it buzz, you take it LOW to stop it. Yet your sketch uses 1mS delay()s to manipulate the active buzzer in ways it can't respond to. It was never meant to work that way. Most of your code is doing high-speed things which the buzzer is incapable of responding to; it just makes a confused noise. Your comments are misleading. You're NOT "outputting frequencies" - your turning something with it';s own unchangeable intrinsic frequency on and off too fast for it to respond. Also, in the program you declared an unsigned char i then used it as an integer! Confusing absolute beginners in this way is really bad news.
My arduino buzzer pulses every several seconds, accompanied by the yellow LED light flashing. The yellow light always pulses in this way with every sketch I've worked on. I've tried hitting the reset button, but I can't get a steady light. Does anyone know what's happening?
I had to re-read your question, but I think I understand. Are you referring to the yellow LED on the Arduino board? The built-in yellow LED flashes each time the board sends or receives data to the USB connection. There's no reason to try and stop it from blinking.
@@rickmorenojr Thank you for your reply, and I'm sorry I was unclear. Yes, I'm referring to the yellow light. As I understand, the yellow light should light steadily when data is going from the arduino to the computer. Mine was flashing in a pattern. I read that I may have had two sketches trying to operate simultaneously. I read advice to try and load a blank sketch. I'm not sure what did it, but after messing around for a while, it now shines steadily. Thank you very much for responding. Newbie questions must be very annoying, but I'm highly motivated to eventually get a line graph of barometric pressure. Thank you again for your help!
I almost skipped this video, as I generally hate buzzers, but I thought there might be a good nugget or two to learn so I watched it.
The Morse code translator is awesome, educational, fun and because of it, I'm now a sub!
Thanks! The code is available at github.com, the link is in the show notes above. I'm really trying to work through all the lessons provided with the kit. Hopefully, there will be a few more that you'll find interesting.
I've increased the Arduino IDE font size, and the video font size. I noticed it was hard to read in my previous videos. Let me know if looks ok now.
i cant seem to get mine to upload. it is not giving me the invaild thing either but it just wont up.load it just says uploading
I got Invalid character at the end of the string. I have found that I have ASCII 10 (LF) at the end. I have added couple lines in the code to handle L. The error went away.
void doString(String strValue){
char chValue; //Local Variables
int strLen = 0;
strLen = strValue.length(); //get the length of the string
for(int x = 0; x
Nice, I'll add the change to the code.
Hi Ricardo, I got the Elegoo Basic Starter Kit for my brother. He couldn't get it going and asked me to help. He had the buzzer in the wrong way around, but I'm confused.
The kit contains only n ACTIVE buzzer, and your documentation explains that you should just raise the pin HIGH to make it buzz, you take it LOW to stop it.
Yet your sketch uses 1mS delay()s to manipulate the active buzzer in ways it can't respond to. It was never meant to work that way.
Most of your code is doing high-speed things which the buzzer is incapable of responding to; it just makes a confused noise.
Your comments are misleading. You're NOT "outputting frequencies" - your turning something with it';s own unchangeable intrinsic frequency on and off too fast for it to respond.
Also, in the program you declared an unsigned char i then used it as an integer!
Confusing absolute beginners in this way is really bad news.
My arduino buzzer pulses every several seconds, accompanied by the yellow LED light flashing. The yellow light always pulses in this way with every sketch I've worked on. I've tried hitting the reset button, but I can't get a steady light. Does anyone know what's happening?
I had to re-read your question, but I think I understand. Are you referring to the yellow LED on the Arduino board? The built-in yellow LED flashes each time the board sends or receives data to the USB connection. There's no reason to try and stop it from blinking.
@@rickmorenojr Thank you for your reply, and I'm sorry I was unclear. Yes, I'm referring to the yellow light. As I understand, the yellow light should light steadily when data is going from the arduino to the computer. Mine was flashing in a pattern. I read that I may have had two sketches trying to operate simultaneously. I read advice to try and load a blank sketch. I'm not sure what did it, but after messing around for a while, it now shines steadily. Thank you very much for responding. Newbie questions must be very annoying, but I'm highly motivated to eventually get a line graph of barometric pressure. Thank you again for your help!