Hi Rohan, and welcome to the forum!
I assume the LED driver is a constant current source.
If you connect the regulator in parallel to the LEDs, it would take some of the current from the LEDs. This might or might not be a problem, depending on how much current you need for your...
Hi Dan, and welcome to the forum!
I don't quite understand what you are trying to do. Normally, a solar or turbine system would use batteries to store energy to use in periods where there is not energy available. This would typically be hours, or even days. But you are talking about using up...
You can use a simple transistor switch to amplify a square wave from the PIC.
But remember, you have already tried 10V p-p and that did not seem to help.
Bob
What is a sonic sound? (I guess one that is not sub-sonic or super-sonic)
You probably have to adjust the delay to get it to come out to the 3.6KHz frequency. What clock speed are you running the micro at?
Bob
Well, I would try slowing it down another 10x (use a 47uF if you have one) so you can see the individual flashes.
I also don't like that you have a 470 to ground on each base. I would use something like 10K there.
Bob
I expect that many implementation of USB do not enforce the 100mA (or 150mA) limit, which is why people get away with making things that take power form a USB port.
Bob
If you have measured high on the pin with the dip switch pulling it to ground, there is something wrong with the dip switch. The output of the PIC cannot possibly pull up a switch to ground.
Bob
Argh! I just saw how you are powering the 555. Lose the voltage divider! You cannot power the chip that way. It will run fine with 12V on the Vcc pin. I am not sure this will help, but it is wrong and should be fixed.
Bob
I slowed down the video and even then it is hard to see what is going on. It looks like the blue ones are flashing on every period for a short time and maybe the red ones are actually doing what they should.
Bob
Yep, but only if can talk USB protocol and negotiate for it, and even then, it might not be granted. For something that is just drawing power and not connecting via USB, the max is 100mA on USB1 and 2 and 150 on USB3.
From your link:
Bob
You would put them in series. But I doubt the energy you would get from blowing on them would be much. It might be able to light a high efficiency LED though.
BTW: 1V is not a measure of energy. You could produce 1V at 1uA or 1V at 1A and the energy produced per second would differ by a...
Oh, okay, and you are saying that switching the switch on RB7 does not change the output on RB0?
Edit:
I don't see anything in the posted code that has to do with selecting of of 4 sounds, but this is how you described the problem.
Please elaborate on how the posted code is failing.
Bob
1. You need a resistor in series with each LED or LED string (your schematic does not show if they are series or parallel)
2. It is hard to see what is happening on the video because they are flashing too fast. Slow it down and you might be able to see what is actually happening.
But here...