Hey Robert - thanks! We're also hoping for more views eventually but we already have another 5 tutorials in the queue that Sergey has written (they're up on CircuitBread.com) and Josh just needs to get them ready so they can shoot the videos.
I LOVED THIS TUTORIAL! This made me think. Is there a way that you can config the MCLRE pin to be OFF at the start of the program, but then configure it to be ON later in the program? I'm a total noob trying to learn this stuff so i'm sorry if this is a dumb question.
Not a dumb question! I will try to clarify things. MCLR is a pin, whereas MCLRE is a bit in the configuration of the MCU. Configuration bits cannot be changed after the MCU has "booted up". So, if you clear it in the configuration bit (read when the MCU is "booting up") such that the MCLR pin feature is ignored (so it can be used as a digital IO pin), then you won't be able to use the MCLR pin at any point in the program. But if you set the configuration bit, you can externally use the pin to manually reset the MCU at your convenience. I hope that helps!
what program is being used here please? I have an Arduino UNO. Is it possible to program a buzzer that is already part of a PCB? Do you have a video on how to use two push buttons to change the melody (i.e having two melodies using one buzzer, with a 8 pin PIC12C508A and 14 Pin HEF4069UBT? Thanks for the upload!! 😊😊
Hi Tania! This is MPLAB, the IDE associated with PIC microcontrollers, Sergey does a great intro to the entire platform with the first and second tutorials in this series. WE don't actually program the buzzer but the microcontroller controlling the buzzer so if you have a pre-populated PCB that has an MCU and a buzzer on it, you can definitely program that! Unfortunately, we do not have a tutorial that goes over that process specifically but we do have tutorials on how to use buttons and, using an interrupt, it seems like it would be very straightforward (if you have the program space) to have your PIC play whatever melody you associate with that button. Have fun!
It would be a LOT easier to use two speakers but technically possible with one speaker. Maybe there's a more elegant solution than what I'm thinking through, but it seems like it would be difficult to have the software driving it at two different frequencies at the same time. But now I want to try it...
It would be cool (for Sergi?) to translate the "note" frequency to a frequency for an all-colir LED (A = red, B = org, C = yel, et c.) so one might "see music" without flashbacks to dropping acid in "Nam.
Sergey - and that would be cool! Of course, his philosophy is that he provides the foundation and then for you to really learn, you should experiment and see what variations you can create.
This is by far the best assembly & microcontroller incorporation tutorial on TH-cam. Not sure why there aren't more views but hopefully more to come.
Hey Robert - thanks! We're also hoping for more views eventually but we already have another 5 tutorials in the queue that Sergey has written (they're up on CircuitBread.com) and Josh just needs to get them ready so they can shoot the videos.
This series is a true gem. Thanks for it!
Very interesting.
I LOVED THIS TUTORIAL! This made me think. Is there a way that you can config the MCLRE pin to be OFF at the start of the program, but then configure it to be ON later in the program? I'm a total noob trying to learn this stuff so i'm sorry if this is a dumb question.
Not a dumb question! I will try to clarify things. MCLR is a pin, whereas MCLRE is a bit in the configuration of the MCU. Configuration bits cannot be changed after the MCU has "booted up". So, if you clear it in the configuration bit (read when the MCU is "booting up") such that the MCLR pin feature is ignored (so it can be used as a digital IO pin), then you won't be able to use the MCLR pin at any point in the program. But if you set the configuration bit, you can externally use the pin to manually reset the MCU at your convenience. I hope that helps!
Nice! But on the schemtaic there is a bjt not a mosfet
Thank you!
Truly Greatest ! I have registered at your site !
Awesome, thank you!
what program is being used here please? I have an Arduino UNO. Is it possible to program a buzzer that is already part of a PCB?
Do you have a video on how to use two push buttons to change the melody (i.e having two melodies using one buzzer, with a 8 pin PIC12C508A and 14 Pin HEF4069UBT?
Thanks for the upload!!
😊😊
Hi Tania! This is MPLAB, the IDE associated with PIC microcontrollers, Sergey does a great intro to the entire platform with the first and second tutorials in this series. WE don't actually program the buzzer but the microcontroller controlling the buzzer so if you have a pre-populated PCB that has an MCU and a buzzer on it, you can definitely program that!
Unfortunately, we do not have a tutorial that goes over that process specifically but we do have tutorials on how to use buttons and, using an interrupt, it seems like it would be very straightforward (if you have the program space) to have your PIC play whatever melody you associate with that button. Have fun!
What if you want to play two notes at the same time? Do you have to use two speakers or can you do that by modifying the code?
It would be a LOT easier to use two speakers but technically possible with one speaker. Maybe there's a more elegant solution than what I'm thinking through, but it seems like it would be difficult to have the software driving it at two different frequencies at the same time. But now I want to try it...
@@CircuitBread DTMF ... a.k.a. the telephone.
It would be cool (for Sergi?) to translate the "note" frequency to a frequency for an all-colir LED (A = red, B = org, C = yel, et c.) so one might "see music" without flashbacks to dropping acid in "Nam.
Sergey - and that would be cool! Of course, his philosophy is that he provides the foundation and then for you to really learn, you should experiment and see what variations you can create.
@2:49 looks like Sergei died. Lol
Haha! Oh man, you're totally right... fortunately, Sergey is alive and healthy.