Shop OBEX P1 Docs P2 Docs Learn Events
0-10v lighting control — Parallax Forums

0-10v lighting control

JustinWJustinW Posts: 4
edited 2010-06-28 15:13 in BASIC Stamp
Hi,
I'm looking to control some 0-10v lighting circuits. Is there any devices that I could connect and program with a basic stamp module that will allow me to control resistance of a circuit and therefore control a 0-10v output.

Cheers

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-06-27 21:29
    How much current does the 0-10V output have to produce? IOW, does it have to drive the lights directly, or is it just a control input for the light driver?

    -Phil
  • JustinWJustinW Posts: 4
    edited 2010-06-27 22:07
    It's only to signal the lighting control gear and uses relatively minimal power max 5 mA. The lighting itself will be powered from a separate supply.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-06-28 02:06
    Here's a circuit that will give you a 0-10V output from a BASIC Stamp:

    attachment.php?attachmentid=71532

    Use the Stamp's PWM output to charge the cap to a 0-5V value. The op amp will double that voltage to give you the required 0-10V range. Be sure to mount all of this stuff close to the lighting controller. The LM358 is not designed to drive a long cable. Also, with a voltage output circuit, resistive losses in a cable would limit the top end of your voltage range.

    -Phil
    520 x 254 - 2K
  • JustinWJustinW Posts: 4
    edited 2010-06-28 05:47
    Thanks so much for this I will give it a go.
  • JustinWJustinW Posts: 4
    edited 2010-06-28 05:47
    Thanks so much for this I will give it a go.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-06-28 15:07
    I didn't show filter or bypass caps on the +15V supply, but don't forget to add them: at least 10uF at the +15V input to the board and 0.1uF at the op-amp's supply pins. Good luck, and let us know how it works out!

    -Phil
  • Spiral_72Spiral_72 Posts: 791
    edited 2010-06-28 15:13
    Yes, thank you [noparse]:)[/noparse] That's a good circuit to have!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "puff"...... Smile, there went another one.
Sign In or Register to comment.