digital current control with Ultimaker 2.1.4 mainboard

I been writing a userpin.h file for the Ultimaker2.1.4 mainboard and haven't been able to map over the motor current control.
UM214 board is using the mega2560 ADC pins to set the ref voltage for the 4988 driver chips.
In repetier is there a funtion in place to control multiple analog pins instead of the digipot chip?
Thanks,

Comments

  • How should that work? ADC converts analog to digital and you need it the other way around. There might be a DAC converter on mega, not sure about it but definitely not implemented as current control.
  • sorry should have typed PWM not ADC and couldnt find a way to edit.
    Repetier said:
    How should that work? ADC converts analog to digital and you need it the other way around. There might be a DAC converter on mega, not sure about it but definitely not implemented as current control.

  • We use no hardware PWM since we use many timers internally and the boards have no common usage so what works on one board does not work on the other. It is possible to add this if the used pin is not using one of the first 3 timers (0-2), but this is not implemented.
Sign In or Register to comment.