@Phaedrux This is very good advice, thank you
Latest posts made by Brunerfr
-
RE: Cube Pro Z Movements Configuration
-
Cube Pro Z Movements Configuration
Hi all, I have a question regarding configuring the Z Axis on a Cube Pro with Duet 2 wifi set up.
The default configuration seems to be like a Prusa style printer with the Z motor reversed. It assumes that a positive Z moves an extruder up, however I would like it to move the build plate up.
Currently Z movements in the negative direction moves the build plate upward and the positive direction moves it downward. This makes baby stepping, z-offset, and general printer movements confusing.
Is there a way to change the configuration so that a positive move is upward and a negative move is downward, without compromising my slicer files?
Should I change the Motor direction or reverse the signs of the Z limits, so in my case -200mm to 0mm, or both, or something else entirely?Thanks in advance
-
RE: Using GPIO Pins for LEDs (CubePro Refurbishment)
So this is the code i used
M950 F3 C"exp.heater5" Q500 ;Define heater5 as an input/output pin M106 P3 C"Chamber Light" S0 H-1 ;Pretend Light is a third fan, defaut zero power, not thermally controlled
Good news is that the lights turn on, and an adjustable slider appears in the fan tab on the browser.
The bad news is I have no control over the lights, they are just on and static, adjusting the slider doesn't do anything.
Is there an edit to the code that I am missing? thanks -
RE: Using GPIO Pins for LEDs (CubePro Refurbishment)
@Alex-cr Thank you i will give this a shot and let you know how it goes. Yes i am only powering the Chamber LED's using the buck converter.
@Phaedrux Yeah, Defining it as a fan would be ideal because then it will come up as a tab in the browser interface and Ill be able to control its via PWM
I will let you how how it goes and if any problems arise, thanks!
-
Using GPIO Pins for LEDs (CubePro Refurbishment)
Hi I have a question regarding the usage and programing of LED lights on Duet 2 Wifi.
I am currently working to refurbish an old Cube Pro and would like to find a way to toggle some LED’s for the build chamber.
To power the system, I am using the cube pros original 24V power supply as well as a buck converter dropping that down to 12 volts.
I have successfully programmed some separate 12v LED’s by using the +out on the buck converter and gnd on the Fan2 port. I would l like to control the camber lights separately, but have now used all three of the PWM fan ports
The chamber LED’s are also 12volts with a combined current draw of 320mA
I’ve read the “Using servos and controlling unused IO pins” article (linked) as well as other posts on this exact topic however I still don’t understand how to code my config.g for my purposes (ie. M950 and M42). https://duet3d.dozuki.com/Wiki/Using_servos_and_controlling_unused_IO_pins
Is it possible to program these LED’s using a spare heater pin?
How do I know if the chosen pin is acting as an input or output?
Can I make a macro to toggle the chamber lights using the pin?
Can the pin safely handle the 320mA that’s these LED’s will draw?Thanks in advance