[quote="pebe"]I’ve looked through the links and the data sheets for the various components you mentioned but I am having difficulty sorting the wheat from the chaff in your posting.
Am I right in assuming that the Typhon controller has nothing to do with the problem and what you are actually trying to do is use the PWM output from an Arduino to control the output voltage of the Meanwell SMPS by means of a varying analogue voltage of 10V max?
Is the Arduino fed from a 5V regulator, and if so what is the input voltage to the regulator?[/quote]
Hmmm..yes and no... See the Typhon has 2 banks of PWM 1 5V, 1 10V.. The 5V bank is what I'd consider normal i.e it pulses 5v+.
The 10V PWM "pulses" the ground (sorry best way I can explain that)
IF you hook a R/C filter circuit to the 5V PWM you can smooth it to DC w/ V being proportional to the Pulse width.. Easy peasy.
On the 10 V side it doesn't work that way.. Any simple RC filter goes right to 10V w/ no proportionality to pulse cycle.
So the Typhon IS a problem in a sense.. It is a commercial board so I'm not too interested in redesigning it as it is..
Now to get to the meat.. Since it is EASY to create a analog dimming circuit from the PWM 5V dimming circuit IF I had drivers w/ a 5V (analog controlled) dimming circuit I'd also have no problem...
THE problem is getting a clean variable by PW 10V analog signal out of the unit as it stands..
Sooo to make a long story longer, My only useable output(short of hacking the board) that can be converted to analog is the 5V PWM out. I need a variable 10V out.
Now as I said a simple opamp circuit to double the voltage, using the 5v pulse as a gate (correct term?) is fairly straightforward:
Simple opamp controlled voltage double analog out circuit
[img]http://www.picbasic.co.uk/forum/attachment.php?attachmentid=40&stc=1&d=1077243747[/img]
Getting a supply voltage to the opamp is really not much of a problem since the Typhon uses a 12v wall ( I assume input V of regulator) wart and I could just tap off that.. .
BUT I like my circuit for its passivity. since in theory I need 4 and can build a plug and play on the fly without tapping a power branch
At this point it is more academic. Opamp circuit is almost "perfect" but needs power, my circuit is almost "functional" w/ limitations as noted...
I'm pretending I'm stuck on an island w/ no more power available .. how would I convert to analog and double the voltage of a PWM 5V signal....
This Circuit of mine was an attempt to answer the problem in a "different" manner than usual (using a passive double IC).. Oh and the orig. board I assume has a 10 V plus "bus" somewhere that feeds the triac (or trans. circuit) to be able to even do "backwards" (in my mind) 10V PWM..

I doubt if I made it much clearer.. I'm willing to try again.......The Typhon is an Adruno w/ LCD, RTC and a custom circuit board.. so to speak..
[img]http://shop.stevesleds.com/images/1368723657928-46057145.jpeg[/img]
whe I found out you couldn't filter the 10v PWM to analog I asked them why.. This was the answer:
[quote]Thanks for sharing that. Regarding the 10v side is definitely different looking on the oscilloscope, (not a clean square wave), but oddly, it works just fine on the 10V PWM drivers, so we never really looked into it.
Thanks!
Jeff[/quote]
A SIDE QUESTION (not really needing an answer) is can a "normal" filterable to 10V analog PWM channel be built from the adruno core ? In a sense this 10v issue is an "engineering defect".. to me..
