Dr_Doggy
Well-Known Member
With my pic (50ma) output I am trying to switch my laser on and off(40khz), I am powering this with a dead 9v, so about 7V which works ok with the pic.
I am planning to use charged 9V but when I do that unregulated things dont power up, but nothing burns up, so I think I am planning to put a 5V regulator on source. (GOOD IDEA?)
anyway, so running my laser naturally uses the LM317 circuit, all over the web, but i need to integrate it;
CASEA) so i was thinking that i could hook up the input of the 317circuit to the pic pin out, which is laser's half powers at 50ma, (would this work maybe i should stick with this, half power means it will last longer!)
CASEB)but to run at full power (100ma) I should wire the LM317 to supply and switch it with a transistor wired to pic pin out?
CASEC)I am thinking that putting a buck converter on the pic pin out would be best(reduces pin volts to 2.5 and current up to 100ma, solves all my problems right!?
but would thses methods work at 40khz, and what component and config is ideal? (ie, transistor/buck converter, part no or specs)
I am planning to use charged 9V but when I do that unregulated things dont power up, but nothing burns up, so I think I am planning to put a 5V regulator on source. (GOOD IDEA?)
anyway, so running my laser naturally uses the LM317 circuit, all over the web, but i need to integrate it;
CASEA) so i was thinking that i could hook up the input of the 317circuit to the pic pin out, which is laser's half powers at 50ma, (would this work maybe i should stick with this, half power means it will last longer!)
CASEB)but to run at full power (100ma) I should wire the LM317 to supply and switch it with a transistor wired to pic pin out?
CASEC)I am thinking that putting a buck converter on the pic pin out would be best(reduces pin volts to 2.5 and current up to 100ma, solves all my problems right!?
but would thses methods work at 40khz, and what component and config is ideal? (ie, transistor/buck converter, part no or specs)