@Jack_kelley I know this is a bit old, but did you ever find a solution for the random Sxxxx Gcode?
Or are you using another way to control your CNC now?
--
Lars
@Jack_kelley I know this is a bit old, but did you ever find a solution for the random Sxxxx Gcode?
Or are you using another way to control your CNC now?
--
Lars
@alankilian said in PWM to 10V via e0heater always gives 10V:
Thanks for keeping up with our ideas and letting us know you got it working.
I hope somebody else can use these findings. The converter seems to be pretty common.
If you want to get to 9 Volts, you can try adjusting the potentiometer on the board.
This is with the potentioneter at max, but as I said - good enough.
@cjm I tried the pull resistor (4.7k) and it worked perfectly.
Only issue now is, that the 0-10V output max'es out at 8.6V, but I read somewhare that the converter - even though the specs says VIN 12V to 24V needs least 14,6V to reach 10V in output signal, and my powersupply is 12,8V.
8,6V is close enough - my spindle reaches to max speed at 9V.
@cjm Fantastic - I'll try this in the weekend when I get my hands on the machine again.
@alankilian Perfect. Still same resistor range?
@alankilian said in PWM to 10V via e0heater always gives 10V:
@larsw said in PWM to 10V via e0heater always gives 10V:
It should be connected with a pullup to 5 Volts.This is the PWM control input to the converter and it's designed to be driven from a microcontroller, so it's input range is 0 to 5 Volts according to what I can get out of the data sheet you linked to in your first post.
Actually no - the converter has two PWM input modes - 4,5V to 10V or 12V to 24V. Selectable by a jumper (The documentation calls this a jump needle - had me quite confused). I have jumped it for 12-24V.
Does anyone know what "Fengfeng value" might mean" I'm not hitting anything on the google machine.
Nice to know I was not the only one.. Fengfeng value means peak value. That also took me quite a while to get translated.
@fcwilt said in PWM to 10V via e0heater always gives 10V:
On this device, when disconnected from anything else, can you check if there is continuity between the DC GND pin and the PWM GND pin?
Frederick
I just measured and can confirm this.
@alankilian I assume that heater0 pin is E0- ?
I have tried this - though without the pullup resistor,
It almost works - if I use !e0heat in the M950 command I can use the M3 command and adjust from 0 to almost 5V in output.
The heater PWM is 12,8V - should this be connected with the pullup resistor to 5V, or was that a mistype?
@cjm:
The jumper is at 24V. I'm not sure exactly which pins you connect. I changed to below to use the names from the Duet 2 wifi board layout. This is how I have it connected.
VCC DC 12V-30V -> Duet VIN at DC powersupply - its 12,8V
GND Ground. -> Duet GND at DC powersupply
PWM Positive of PWM input signal. -> Heater VIN, it is 12,8V
GND Negative of input signal. -> E0-
VOUT Output Voltage 0-10V. -> Analogue Output
GND Output Voltage Ground -> Duet GND
This results in 10V output no matter M3 Sspeed
@jamesm said in PWM to 10V via e0heater always gives 10V:
Duet boards perform their PWM on the ground side and the positive side stays full voltage. The PWM converter you listed appears to want the PWM on the positive lead so it won't work with the duet. I know I've read there are ways around that but I don't remember what they are.
That makes sense with my observations.
Looking at the board layout, that seems to be the case for the fans too?
What about the !e0heat inversion (which I have tried without luck)?
E0- is connected to GND on the converter
Heater VIN is connected to PWM on the converter
Duet wifi 2 and this PWM to 0-10V board http://www.chinalctech.com/m/view.php?aid=76
Firmware 3.3
The PWM converter always outputs 10V, no matter what speed I set the spindle to.
I only have a multimeter, and when I measure the output on the e0heat directly, this does change when I change speed on the spindle. 50% gives 6V for example.
Have i missed something in the config, or have I wired the e0heat to the PWM converter wrong?
M140 H-1 ; disable heated bed (overrides default heater mapping)
M564 H0 ; allow movement without homing
M950 R0 C"e0heat" L0:25000 Q2000 ; create spindle on heater0
M563 P0 S"Spindle 1" R0 ; Create tool for DWC
G10 P0 X0 Y0 U0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
M568 P0 F0 ; Set Tool 0 to default RPM of 0
T0 ; Select Tool 0
M453 ; Switch to CNC mode
I have the 1.04 PCB with external antenna.
Can somebody point me to instructions on how to connect the antenna to the board?
I have looked everywhere, but I cannot find the connector on any drawings or instructions.