bees
04-06-2007, 11:50 PM
Hello, I've got a question about digital to analog conversion with the BS2.
I'd like to use my BS2 to control a 12V lamp which will draw a max of 1.5A. I need to be able to dim it with moderate resolution, but I can't tie up the processor with PWM since I need to monitor some sensors while outputting the lamp setting.
I've designed a system that does what I want, but uses a servo mated to a dimmer rheostat. I'd like to get rid of this, and electronically control the brightness of the lamp.
I found the following N & V article helpful, it describes the creation of a D/A circuit : http://www.parallaxinc.com/dl/docs/cols/nv/vol2/col/nv59.pdf
The problem is that the above setup can only source 20mA, but I need considerably more than that.
Can anyone suggest an easy way to electronically dim my lamp, or perhaps a way to modify the above example to work for my needs?
Thanks!
I'd like to use my BS2 to control a 12V lamp which will draw a max of 1.5A. I need to be able to dim it with moderate resolution, but I can't tie up the processor with PWM since I need to monitor some sensors while outputting the lamp setting.
I've designed a system that does what I want, but uses a servo mated to a dimmer rheostat. I'd like to get rid of this, and electronically control the brightness of the lamp.
I found the following N & V article helpful, it describes the creation of a D/A circuit : http://www.parallaxinc.com/dl/docs/cols/nv/vol2/col/nv59.pdf
The problem is that the above setup can only source 20mA, but I need considerably more than that.
Can anyone suggest an easy way to electronically dim my lamp, or perhaps a way to modify the above example to work for my needs?
Thanks!