switch?
tweek
Posts: 14
Can the basic stamp homework board be used as a switch?, to switch an external device. High (on) low (off) pause...etc.? To switch·said device on and off intermittently set by the commands?
Comments
There are several tutorials you can download from Parallax (here: www.parallax.com/tabid/181/List/0/CategoryID/66/Level/a/Default.aspx?SortField=ProductName,ProductName). You can buy them in printed form with or without kits of associated parts or you can download them for free from the same web store page. Both the "Industrial Control" and the "Stampworks" tutorial cover switching external devices using a Stamp.
There are also Nuts and Volts columns that cover similar topics (here:www.parallax.com/Resources/NutsVoltsColumns/tabid/272/Default.aspx).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Rick
I modified a disposable camera, to use the flash. I replaced the capacitor, with a much smaller one, to speed up the charge time,and lessen the flash. Then ran two wires off the trigger. So when they connect, is a small flash. The smaller cap charges quickly, and is ready to be triggered again. So what Im trying to do is quickly connect and disconnect the two trigger wires and use the stamp to do this. Possibly to simulate lightning, (not like a strobe light with a constant on off cycle) but more like a flash, then quickly followed by two more.
Microcontrollers weren't intended to act like switch per se, however they can act to trigger a switching device like a transistor or relay. If this is a low voltage, low current situation, then an appropriate transistor might work perfectly for this application. The transistor will act like the switch you need, and the microcontroller can trigger the switch as often as you choose to have it operated, and with whatever delays you want incorporated.
If you provide the voltage and current requirements, I'm sure one of the electronics gurus here can provide you with an appropriate transistor type, and possibly a schematic as well.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔