0% found this document useful (0 votes)
5 views5 pages

NanoDLP 4K Printer Configuration Guide

This document contains printer settings and code for the NanoDLP4kD7Plus 3D printer. It includes startup codes, print codes, stop codes, manual movement codes, platform position settings, LCD resolution settings, bootup and shutdown codes, GPIO pin assignments, and HDMI timing settings for frame rates of 24Hz, 30Hz and 60Hz.

Uploaded by

Rona Syahrul
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views5 pages

NanoDLP 4K Printer Configuration Guide

This document contains printer settings and code for the NanoDLP4kD7Plus 3D printer. It includes startup codes, print codes, stop codes, manual movement codes, platform position settings, LCD resolution settings, bootup and shutdown codes, GPIO pin assignments, and HDMI timing settings for frame rates of 24Hz, 30Hz and 60Hz.

Uploaded by

Rona Syahrul
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd

Printer Name:

NanoDLP4kD7Plus

Start of Print Code


M107 P1
M106 S0
G90
G28 F400 P1
[[WaitForDoneMessage]]
G92 Z0
[[PositionSet 0]]
M17

Resume Print Code


G90 ; Put positioning in absolute mode
G92 Z[[CurrentPosition]] Y0 X0 ; System crashed so we need to recover current position from
nanodlp and set it on RAMP
G1 Z[[LayerPosition]] ; Move to layer position

Print Stop Code:


M104 S0
M106 S0
G04 F30000
G90
G1 Z190 F300
M84

Manual Movement Code Template:


M104 S0 OR G91
M106 S0 G1 Z[[Position]]
G04 F30000 G90
G90
G1 Z190 F300
M84

Platform Wait Position:


-1

Resin Depth
10

Max Speed
100

Min Speed
50

Motor Startup:
50

Motor Step Angle:


1.8
Micro Step:
16

Leadscrew Pitch:
8

Z-Axis Height:
76000

4k LCD
Horizontal Res Vertical Res:
2160 3840
X/Y Res um: Y Res um:
31.5 31.5

2k LCD
Horizontal Res Vertical Res:
1440 2560
X/Y Res um: Y Res um:
47.25 47.25

Display Controller:
Normal

Bootup Code
M107 P1
M106 S0

Shutdown Code:
????

Stop/Shutdown Physical GPIO:


Physical 7, BCM 4

Camera Command:
-w 1296 -h 972 --timeout 700 --awb sun or -w 1296 -h 972 --timeout 700 --awb sun -rot 180

Shutter Open Code:


M104 S100 or M104 S0

Shutter Close Code:


M104 S0 or M104 S100

Shutter Type:
Through Shield

Shutter GPIO:
Physical 11, BCM 17

Servo Pulse Width - Open:


500
Servo Pulse Width – Close:
2500

Servo Signal Length:


1000

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Entered in to RAMPS terminal:
M104 S0
M107 P1
M106 S0
M92 Z400
M500

not sure about this…….???


M503
echo: G21 ; Units in mm (mm)
echo: M149 C ; Units in Celsius
echo:; Filament settings: Disabled
echo: M200 D1.75
echo: M200 D0
echo:; Steps per unit:
echo: M92 X80.00 Y80.00 Z400.00 E93.00
echo:; Maximum feedrates (units/s):
echo: M203 X500.00 Y500.00 Z5.00 E25.00
echo:; Maximum Acceleration (units/s2):
echo: M201 X500.00 Y500.00 Z100.00 E5000.00
echo:; Acceleration (units/s2): P R T
echo: M204 P100.00 R100.00 T100.00
echo:; Advanced: B S T J
echo: M205 B20000.00 S0.00 T0.00 J0.08
echo:; Home offset:
echo: M206 X0.00 Y0.00 Z0.00
echo:; Mesh Bed Leveling:
echo: M420 S0 Z0.00
echo:; Material heatup parameters:
echo: M145 S0 H185 B45 F255
echo: M145 S1 H240 B110 F255
echo:; Stepper driver current:
echo: M906 X580 Y580 Z580
echo: M906 T0 E650
echo:; Hybrid Threshold:
echo: M913 X100 Y100 Z12
echo: M913 T0 E30
echo:; Driver stepping mode:
echo: M569 S1 X Y Z
echo: M569 S1 T0 E
echo:; Linear Advance:
echo: M900 K0.00
echo:; Filament load/unload lengths:
echo: M603 L350.00 U400.00
ok
#########################################################
Screen Frame Rate and Khz and HDMI timings

Note:
As Pi4 uses 2 screen ports all entries MUST be even/divisible by 2

HDMI TIMINGS STRUCTURE:


hdmi_timings=
<h_active_pixels> <h_sync_polarity> <h_front_porch> <h_sync_pulse> <h_back_porch>
<v_active_lines> <v_sync_polarity> <v_front_porch> <v_sync_pulse> <v_back_porch>
<v_sync_offset_a> <v_sync_offset_b> <pixel_rep> <frame_rate> <interlaced> <pixel_freq>
<aspect_ratio>

Frame Rate frequency calc:


2160 0 106 32 100 3840 0 12 2 10 0 0 0 24 0 222290000 0
broken down:
2160 0 106 32 100
3840 0 12 2 10
24
222290000

222290000 / ((2160+105+32+100) * (3840+12+2+10)) = 24Hz / fps.

1. Frame Rate 24Khz

2160 0 105 32 100 3840 0 12 2 10 0 0 0 24 0 222290000 0, changing it to

2160 0 106 32 100 3840 0 12 2 10 0 0 0 24 0 222290000 0

or

2160 0 104 32 100 3840 0 12 2 10 0 0 0 24 0 222290000 0

2160 0 106 32 100 3840 0 12 2 10 0 0 0 24 0 222380928 0


2160 0 106 32 100 3840 0 12 2 10 0 0 0 24 0 222195456 0

and

2. Frame Rate 30Khz


2160 0 105 32 100 3840 0 12 2 10 0 0 0 30 0 277976160 0, changing to

2160 0 106 32 100 3840 0 12 2 10 0 0 0 30 0 277976160 0

3. Frame Rate 60Khz


2160 0 106 32 100 3840 0 12 2 10 0 0 0 60 0 555952320 0
pixel_freq

<pixel_freq> = <h_active_pixels> * <v_active_lines> * <pixel_freq>

222195456 = 2160 * 3840 * 24

You might also like