You are not logged in.

#1 2016-03-12 19:53:01

woale
Member
From: Belgium
Registered: 2016-03-12
Posts: 10

Help needed with Speed / Actuator / Motor settings

First, well done, you're doing a tremendous job! Keep up the good work.

I'm a bit puzzled with the Speed, Actuator/Motor settings (build 1039)... My printer (Morpheus Mark IV) has an Arduino Mega with a Ramp 1.4 and A4988 driving 2x Nema 17 motors for the Z axis.

The Lift and Sequence settings in Creation Workshop are :
- Z lift distance (mm): 10
- Z lift speed (mm/m): 250
- Z Bottom speed (mm/m): 250
- Z Retract speed (mm/m): 200

To stay on the safe side, I've kept the default Speed settings on nanoDLP:
- Max speed (µ/sec): 3000
- Min speed: 1000
- Motor startup speed: 100

And for Actuator/Motor settings, I've:
- Motor Step Angle: 1.8
- Microstep: 16
- Leadscrew Pitch (mm): 3 >> I'm not sure...
- Z-Axis Height (pulse): 3000 >> I have no clue...

As I haven't dared to start a print yet, I've just been playing with "Manual Move" under the Z-Axis Calibration tab.
When moving 50mm, the buildplate moves a few mm and halts, while the motors continue to make noise for a few seconds.

So my question is: could it be my Leadscrew Pitch is way off ? Why is this value needed (as Creation Workshop doesn't seem to need it...) ?
Also, could you elaborate on the Z-Axis Height (pulse) value please ?

Thanks!
Woale


Replicator 2 - Craftbot - Peachy (beta) - Morpheus

Offline

#2 2016-03-12 20:56:20

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: Help needed with Speed / Actuator / Motor settings

Woale,

nanoDLP designed for direct control, ramp support added afterwards, so it still lag behind.

All of these settings you mentioned above mostly required for direct control and manual movement. You need to put speed related settings directly into gcode boxes.
Actuator settings would not have effect during print as currently ramp board would do all of positions. Z-Axis height also related to positioning.

About manual movement, probably one of these settings is wrong: Microstep, Motor Angle, Leadscrew pitch
Leadscrew pitch is distance travelled on each turn of leadscrew.

Modifying muve3d version probably will be easier. Just do not forget to remove [[WaitForDoneMessage]] from gcode boxes as it require patched grbl/marlin.

More information on patched firmware
http://www.nanodlp.com/forum/viewtopic.php?id=29

https://github.com/kitprinter3d/grbl/tr … l-solidray
https://github.com/mUVe3D/Marlin-mUVe1DLP-Running

Offline

#3 2016-03-13 12:50:38

woale
Member
From: Belgium
Registered: 2016-03-12
Posts: 10

Re: Help needed with Speed / Actuator / Motor settings

Okay, thanks, that makes sense.

So, if I understand correctly, when 'Movements GPIOs' is disabled in the 'setup' tab, then the 'Speed, Motor/Actuator' settings are not taken into account during print, but only for manual movement under 'Z-Axis Calibration'.

Thus, when using Ramp, it's best to define 'custom buttons' with Gcode for manual movement ?

Cheers!
Woale


Replicator 2 - Craftbot - Peachy (beta) - Morpheus

Offline

#4 2016-03-13 13:26:26

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: Help needed with Speed / Actuator / Motor settings

Statement is correct about both motor and actuator but not speed. Speed gets ignored completely.

If you set settings for actuator/motor/driver correctly you can use manual movement buttons, if not you can add custom buttons. Custom buttons are mostly used to add custom functions such as drain resin and etc.

We have plan to move positioning from ramp to rpi soon. But it will be backward compatible with the way it works now.

Offline

#5 2016-03-20 01:34:15

muringuets
Member
Registered: 2016-03-20
Posts: 1

Re: Help needed with Speed / Actuator / Motor settings

Hi,

If I understood correctly, nanoDLP won't work on a Arduino + Ramps 1.4 setup? I need to wire my A4988 drivers directly to my Rpi?

Offline

#6 2016-03-20 06:38:16

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: Help needed with Speed / Actuator / Motor settings

Hi,

It works in both way.

Offline

#7 2016-07-18 03:32:59

Cuongcoco
Member
Registered: 2016-07-12
Posts: 7

Re: Help needed with Speed / Actuator / Motor settings

Hi Shahin
Please help me, i have same problem with woale. I already set motor speed lower, but when i use move z manual, it still halt. When i use gcode, it ok. I think z movement halt because the motor speed, but i can't set it lower. However what i set on motor max min speed, it still move fast when i click move button on z calibrate.
Please help me how to set z speed on z calibrate slower. Thank you

Offline

#8 2016-07-19 01:21:18

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: Help needed with Speed / Actuator / Motor settings

If you are using RAMPS board, you need to setup speeds on firmware not on nanodlp side. Some firmwares support speed change through gcode.
http://reprap.org/wiki/G-code

Offline

#9 2016-07-19 02:52:23

Cuongcoco
Member
Registered: 2016-07-12
Posts: 7

Re: Help needed with Speed / Actuator / Motor settings

Hi shahin
Thank you for answer me.
I already set my firmware feedrate is 10, i use marlin muve firmware, but its not slow when i click zmove on z calibrate. When i use print auto it run normal, but when z move manual it fast and halt. I try many time but its not slow. What can i do, please help me. Thank you

Offline

#10 2016-07-19 16:25:43

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: Help needed with Speed / Actuator / Motor settings

I do not have first hand experience with RAMPS boards, maybe somebody else could help as I believe it should have simple workaround or gcode to fix the issue.

Offline

#11 2016-07-20 00:52:25

Cuongcoco
Member
Registered: 2016-07-12
Posts: 7

Re: Help needed with Speed / Actuator / Motor settings

Hi shahih,
Thank you for your support, i found the problem. I mistake between mm/min and mm/s, i edited and it work perfect. Thank you very much
And i have 1 problem , it about rs232 control projector
My projector is acer h6510bd
My setting is, baurate 11k, usb/serial ascii (\r)
Power on is *ir001, power off is *ir002
Usb port is usb 0->5, all i had try
But when i click project power on or of, it made nanodlp exit( my brower show error connection to internet), i must restart raspberry to use nanodlp again.  :-(
Please tell me where fault, and how can i config its, thanh you ;-D

Offline

#12 2016-07-20 04:02:01

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: Help needed with Speed / Actuator / Motor settings

Keep default settings for acer projectors. baudrate above is wrong.

	Projector Baud Rate: 9600
	Projector Path: /dev/ttyUSB0
	Projector On: * 0 IR 001
	Projector Off: * 0 IR 00

Offline

#13 2016-07-20 11:29:18

Cuongcoco
Member
Registered: 2016-07-12
Posts: 7

Re: Help needed with Speed / Actuator / Motor settings

it working, thank you very much shahih

Offline

#14 2016-07-22 00:04:22

Cuongcoco
Member
Registered: 2016-07-12
Posts: 7

Re: Help needed with Speed / Actuator / Motor settings

Hi shahin
With nanodlp can we send a signal out. I want a signal to control a relay to cut off power when it finish print. Can i do that, and how?
Thank you

Offline

#15 2016-07-22 05:59:36

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: Help needed with Speed / Actuator / Motor settings

It could cutoff the signal if you have wired enable pin, but due to micro-stepping. Turning on and off the motor could cause step loss. So we do not do that.

Offline

Board footer

Powered by FluxBB