Shop OBEX P1 Docs P2 Docs Learn Events
basic stamp as a relay? — Parallax Forums

basic stamp as a relay?

numpskullsnumpskulls Posts: 3
edited 2010-11-07 03:51 in General Discussion
hi im new to basic stamp but i have a laser that i need to have turn on and off from a voltage from a sound card dac. the voltage can be made to be about 1.0 to 2.0 volts dc. if the vdc goes low(under 1.0) then i want the laser off and if it goes high(over 1.0) i want the laser to be on. i figured bs2 would be good for this because its fast as this is going to be used for blanking the laser and not showing jump lines between objects in the lasers output image.

any help would be apreciated

any links to this kind of docs would help too thanx
the only stuff for relays wasnt in pdf i downloaded

Comments

  • LeonLeon Posts: 7,620
    edited 2010-11-07 01:12
    Use a 74HC14 Schmitt trigger instead of the BS2.
  • numpskullsnumpskulls Posts: 3
    edited 2010-11-07 01:38
    i would need much help using a schmidtt trigger. is there any way i can get the bs2 to do the trick so i can see any results?
    i have been able to mess around with the boe bot and learn a bit from it and the programming is streight forward.....if i can get it to work i may be able to get a chip that i can understand. i just want to see that laser blank for me:jumpin:
  • GadgetmanGadgetman Posts: 2,436
    edited 2010-11-07 02:19
    Please, study the datasheet for a Schmidtt trigger carefully, it's one of the more 'useful' ICs.

    Basically, it 'triggers' when the input goes above what it recognises as 'High', and keeps that setting until the input goes below what is defined as 'Low'.
    After 'triggering' the voltage can fluctuate as much as it want, as long as it doesn't drop below the 'Low' setting.

    It's very useful for 'cleaning up' signals, and it's also a lot faster than doing it with a BS2.
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2010-11-07 03:51
    The problem here is that you really want to use the wrong tool for the job.

    The BasicStamp is useful and it can be attached to the output from the 74xx14 to monitor output if you want, but the 74xx14 is the workhorse you need to turn the laser on and off.

    If you through the BasicStamp, you can get the effect up to a point, but you are likely to add significant delays and possibly add misinformation unnecessarily.
Sign In or Register to comment.