Lagg
01-25-2006, 04:52 AM
As you can no doubt tell by the title, Im very new to the world of component electronics, although I am a freelance programmer and cs student. That is why instead of building a 100+ part pulse generator, I decided to use a parallax homework board and program my way to the result.
so far generating the pulse is easy
do
FREQOUT 9, 36000, 930
loop
what I can't quite figure out is how to get that pulse back into the main current I am running. I need a current 6v @ 900hz (amps really doesn't matter, I'm at the mercy of a 6v lantern battery). The output from the board is only around 3v.
I'm thinking a transistor, using the board output as the gate, but would that get what I want? 900hz seems awefully fast to be switching on/off.
Thanks all!
so far generating the pulse is easy
do
FREQOUT 9, 36000, 930
loop
what I can't quite figure out is how to get that pulse back into the main current I am running. I need a current 6v @ 900hz (amps really doesn't matter, I'm at the mercy of a 6v lantern battery). The output from the board is only around 3v.
I'm thinking a transistor, using the board output as the gate, but would that get what I want? 900hz seems awefully fast to be switching on/off.
Thanks all!