Alright, i take back what i said about it not working with a 5v input (the pwm dimmer that is). Using a 800ma 5v ac/dc adapter, i can get a 0-5v output using a 3k trimpot. Without the trimpot the voltage range is 4.6-6-2v. I tuned it down to 5v max when there is no dimming taking place, and can dim down to a few ma using this method. It did not work with a similar dimmer (5v input), but they have very different pcb's, and are different models.
So, knowing the buckpuck can read that pwm signal (from the arduino digital out pin), all in need is a low pass to make that 0-5v i get from the dimmer analog and input that to the arduino, correct?
Or can it read a pwm input signal (2560 mega) and no filter is necessary?
But that leaves the problem of current draw for the dimmer, i'd like to power the dimmer/arduino from one dc source. Since the 5v+ on the arduino can only provide 40ma (came across specs that current consumption of the dimmer is less than 500ma), powering the dimmer from the arduino's 5v+ is not a good idea. Assuming i can use digital read, to take that pwm input, and use it as a linear dimmer for a pwm output, something akin to-http://arduino.cc/en/Tutorial/AnalogInOutSerial
But with digital read instead of analog in, since its pwm, is it possible, using the right resistance, to power the dimmer from the 9v1a the arduino is powered from, use a pot voltage divider (might be more/less than 3k, will have to expirement), and get a 40ma max pwm input from the dimmer?
In any case, after reading about rf filters, i assume since the dimmer can't be powered from the 5v+ on the arduino, i'd have to dig out the old heathkit scope to find the frequency of the pwm, and then devise some way to power the dimmer and limit the current it provides, along with building a rf filter circuit to make it analog.
Or am i overthinking this?
TLDR- Assuming i can use digital read to do something like analoginoutserial, to provide dimming without dac conversion from the pwm dimmer, IE pwm input, is it necesssary to limit the current provided to the input pin of the arduino when the power source for the dimmer is the 9v1a the arduino uses? If so, can this be accomplished by using resistors/trimpots alone?
Or do i need to figure out the frequency of the dimmer with my scope, and build a rf filter that will limit said current to 40 ma using the appropriate uf and ohm value cap/resistor to get an analog signal, 0-5v, 40ma max, from the dimmer when the dimmer's input is 9v1a, using a trimpot to voltage divide its output to 0-5v?