init
This commit is contained in:
		
							
								
								
									
										86
									
								
								.moonraker.conf.bkp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										86
									
								
								.moonraker.conf.bkp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,86 @@
 | 
				
			|||||||
 | 
					[server]
 | 
				
			||||||
 | 
					host = 0.0.0.0
 | 
				
			||||||
 | 
					port = 7125
 | 
				
			||||||
 | 
					klippy_uds_address = /home/pi/printer_data/comms/klippy.sock
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[authorization]
 | 
				
			||||||
 | 
					trusted_clients = 
 | 
				
			||||||
 | 
						10.0.0.0/16
 | 
				
			||||||
 | 
					cors_domains = 
 | 
				
			||||||
 | 
						*.lan
 | 
				
			||||||
 | 
						*.local
 | 
				
			||||||
 | 
						*://localhost
 | 
				
			||||||
 | 
						*://localhost:*
 | 
				
			||||||
 | 
						*://my.mainsail.xyz
 | 
				
			||||||
 | 
						*://app.fluidd.xyz
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[file_manager]
 | 
				
			||||||
 | 
					queue_gcode_uploads = True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[octoprint_compat]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[job_queue]
 | 
				
			||||||
 | 
					load_on_startup = True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[history]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[update_manager]
 | 
				
			||||||
 | 
					channel = dev
 | 
				
			||||||
 | 
					refresh_interval = 168
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[update_manager mainsail]
 | 
				
			||||||
 | 
					path = /home/pi/mainsail
 | 
				
			||||||
 | 
					repo = mainsail-crew/mainsail
 | 
				
			||||||
 | 
					channel = stable
 | 
				
			||||||
 | 
					type = web
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[update_manager mainsail-config]
 | 
				
			||||||
 | 
					managed_services = klipper
 | 
				
			||||||
 | 
					origin = https://github.com/mainsail-crew/mainsail-config.git
 | 
				
			||||||
 | 
					path = /home/pi/mainsail-config
 | 
				
			||||||
 | 
					primary_branch = master
 | 
				
			||||||
 | 
					type = git_repo
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[update_manager crowsnest]
 | 
				
			||||||
 | 
					type = git_repo
 | 
				
			||||||
 | 
					path = ~/crowsnest
 | 
				
			||||||
 | 
					origin = https://github.com/mainsail-crew/crowsnest.git
 | 
				
			||||||
 | 
					managed_services = crowsnest
 | 
				
			||||||
 | 
					install_script = tools/pkglist.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[update_manager timelapse]
 | 
				
			||||||
 | 
					type = git_repo
 | 
				
			||||||
 | 
					primary_branch = main
 | 
				
			||||||
 | 
					path = ~/moonraker-timelapse
 | 
				
			||||||
 | 
					origin = https://github.com/mainsail-crew/moonraker-timelapse.git
 | 
				
			||||||
 | 
					managed_services = klipper moonraker
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[power Printer]
 | 
				
			||||||
 | 
					type = homeassistant
 | 
				
			||||||
 | 
					protocol = https
 | 
				
			||||||
 | 
					address = home.fieryeagle.org
 | 
				
			||||||
 | 
					port = 443
 | 
				
			||||||
 | 
					device = switch.printer
 | 
				
			||||||
 | 
					token = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI1MTJmMjA4ZjVjMzA0YTE3YjFmYjc2ZjNiYTM5YWVjOCIsImlhdCI6MTc0NzMxNjY4MSwiZXhwIjoyMDYyNjc2NjgxfQ.ZAsmTvECJxKf8Dl0pf-L1tox7yOndHQjAZNwMmWCZvk
 | 
				
			||||||
 | 
					domain = switch
 | 
				
			||||||
 | 
					initial_state = off
 | 
				
			||||||
 | 
					off_when_shutdown = True
 | 
				
			||||||
 | 
					off_when_shutdown_delay = 0
 | 
				
			||||||
 | 
					on_when_job_queued = True
 | 
				
			||||||
 | 
					locked_while_printing = True
 | 
				
			||||||
 | 
					restart_klipper_when_powered = True
 | 
				
			||||||
 | 
					restart_delay = 3
 | 
				
			||||||
 | 
					bound_services = 
 | 
				
			||||||
 | 
						klipper
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[power Wall_Light]
 | 
				
			||||||
 | 
					type = homeassistant
 | 
				
			||||||
 | 
					protocol = https
 | 
				
			||||||
 | 
					address = home.fieryeagle.org
 | 
				
			||||||
 | 
					port = 443
 | 
				
			||||||
 | 
					device = light.m1_light
 | 
				
			||||||
 | 
					token = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI1MTJmMjA4ZjVjMzA0YTE3YjFmYjc2ZjNiYTM5YWVjOCIsImlhdCI6MTc0NzMxNjY4MSwiZXhwIjoyMDYyNjc2NjgxfQ.ZAsmTvECJxKf8Dl0pf-L1tox7yOndHQjAZNwMmWCZvk
 | 
				
			||||||
 | 
					domain = light
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[timelapse]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
							
								
								
									
										45
									
								
								crowsnest.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								crowsnest.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,45 @@
 | 
				
			|||||||
 | 
					#### crowsnest.conf
 | 
				
			||||||
 | 
					#### This is the default config after installation.
 | 
				
			||||||
 | 
					#### It is also used as the default config in MainsailOS.
 | 
				
			||||||
 | 
					#### For details on how to configure this to your needs, see:
 | 
				
			||||||
 | 
					#### https://github.com/mainsail-crew/crowsnest/blob/master/README.md
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					####                                                            #####
 | 
				
			||||||
 | 
					####      Information about ports and according URL's           #####
 | 
				
			||||||
 | 
					####                                                            #####
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					####                                                            #####
 | 
				
			||||||
 | 
					####    Port 8080 equals /webcam/?action=[stream/snapshot]      #####
 | 
				
			||||||
 | 
					####    Port 8081 equals /webcam2/?action=[stream/snapshot]     #####
 | 
				
			||||||
 | 
					####    Port 8082 equals /webcam3/?action=[stream/snapshot]     #####
 | 
				
			||||||
 | 
					####    Port 8083 equals /webcam4/?action=[stream/snapshot]     #####
 | 
				
			||||||
 | 
					####                                                            #####
 | 
				
			||||||
 | 
					####    Note: These ports are default for most Mainsail         #####
 | 
				
			||||||
 | 
					####    installations. Using any other port would involve       #####
 | 
				
			||||||
 | 
					####    changing the proxy configuration or using URLs          #####
 | 
				
			||||||
 | 
					####    with the specific port like                             #####
 | 
				
			||||||
 | 
					####    http://<ip>:<port>/?action=[stream/snapshot]            #####
 | 
				
			||||||
 | 
					####                                                            #####
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					####    RTSP Stream URL: ( if enabled and supported )           #####
 | 
				
			||||||
 | 
					####    rtsp://<ip>:<rtsp_port>/stream.h264                     #####
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[crowsnest]
 | 
				
			||||||
 | 
					log_path: /home/pi/printer_data/logs/crowsnest.log
 | 
				
			||||||
 | 
					log_level: verbose                      # Valid Options are quiet/verbose/debug
 | 
				
			||||||
 | 
					delete_log: false                       # Deletes log on every restart, if set to true
 | 
				
			||||||
 | 
					no_proxy: false                         # If set to true, no reverse proxy is required. Only change this, if you know what you are doing.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[cam 1]
 | 
				
			||||||
 | 
					mode: ustreamer                         # ustreamer - Provides MJPG and snapshots. (All devices)
 | 
				
			||||||
 | 
					                                        # camera-streamer - Provides WebRTC, MJPG and snapshots. (only RPiOS + RPi 0/1/2/3/4)
 | 
				
			||||||
 | 
					port: 8080                              # HTTP/MJPG stream/snapshot port
 | 
				
			||||||
 | 
					device: /dev/v4l/by-id/usb-Jieli_Technology_USB_PHY_2.0-video-index0                    # See log for available devices
 | 
				
			||||||
 | 
					resolution: 1920x1080                     # <width>x<height> format
 | 
				
			||||||
 | 
					max_fps: 24                             # If hardware supports it, it will be forced, otherwise ignored/coerced.
 | 
				
			||||||
 | 
					custom_flags: --allow-truncated-frames                       # You can run the stream services with custom flags.
 | 
				
			||||||
 | 
					#v4l2ctl:                               # Add v4l2-ctl parameters to setup your camera, see log for your camera capabilities.
 | 
				
			||||||
							
								
								
									
										24
									
								
								macros.cfg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								macros.cfg
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
				
			|||||||
 | 
					[gcode_macro BEEP]
 | 
				
			||||||
 | 
					gcode:
 | 
				
			||||||
 | 
					    {% set duration = params.P | default(100) | float %}
 | 
				
			||||||
 | 
					    SET_PIN PIN=beeper VALUE=1
 | 
				
			||||||
 | 
					    G4 P{duration}
 | 
				
			||||||
 | 
					    SET_PIN PIN=beeper VALUE=0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[gcode_macro PRINT_END]
 | 
				
			||||||
 | 
					gcode:
 | 
				
			||||||
 | 
					    G91                 ; Relative positionning
 | 
				
			||||||
 | 
					    G1 E-2 F2700        ; Retract a bit
 | 
				
			||||||
 | 
					    G1 E-2 Z0.2 F2400   ; Retract and raise Z
 | 
				
			||||||
 | 
					    G0 X5 Y5 F3000      ; Wipe out
 | 
				
			||||||
 | 
					    G0 Z10              ; Raise Z more
 | 
				
			||||||
 | 
					    G90                 ; Absolute positionning
 | 
				
			||||||
 | 
					    G0 X0 Y220          ; Present print
 | 
				
			||||||
 | 
					    M106 S0             ; Turn-off fan
 | 
				
			||||||
 | 
					    M104 S0             ; Turn-off hotend
 | 
				
			||||||
 | 
					    M140 S0             ; Turn-off bed_temp
 | 
				
			||||||
 | 
					    M84                 ; Disable stepper motors
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[gcode_macro Clean_Bed]
 | 
				
			||||||
 | 
					gcode:
 | 
				
			||||||
 | 
					    _CLIENT_LINEAR_MOVE X=0 Y=220 F=1500
 | 
				
			||||||
							
								
								
									
										1
									
								
								mainsail.cfg
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								mainsail.cfg
									
									
									
									
									
										Symbolic link
									
								
							@@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					/home/pi/mainsail-config/mainsail.cfg
 | 
				
			||||||
							
								
								
									
										97
									
								
								moonraker.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										97
									
								
								moonraker.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,97 @@
 | 
				
			|||||||
 | 
					[server]
 | 
				
			||||||
 | 
					host: 0.0.0.0
 | 
				
			||||||
 | 
					port: 7125
 | 
				
			||||||
 | 
					klippy_uds_address: /home/pi/printer_data/comms/klippy.sock
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[authorization]
 | 
				
			||||||
 | 
					trusted_clients:
 | 
				
			||||||
 | 
					    10.0.0.0/16
 | 
				
			||||||
 | 
					cors_domains:
 | 
				
			||||||
 | 
					    *.lan
 | 
				
			||||||
 | 
					    *.local
 | 
				
			||||||
 | 
					    *://localhost
 | 
				
			||||||
 | 
					    *://localhost:*
 | 
				
			||||||
 | 
					    *://my.mainsail.xyz
 | 
				
			||||||
 | 
					    *://app.fluidd.xyz
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[file_manager]
 | 
				
			||||||
 | 
					# post processing for object cancel. Not recommended for low resource SBCs such as a Pi Zero. Default False
 | 
				
			||||||
 | 
					queue_gcode_uploads: True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[octoprint_compat]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[job_queue]
 | 
				
			||||||
 | 
					load_on_startup: True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[history]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[update_manager]
 | 
				
			||||||
 | 
					channel: dev
 | 
				
			||||||
 | 
					refresh_interval: 168
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[update_manager mainsail]
 | 
				
			||||||
 | 
					path: /home/pi/mainsail
 | 
				
			||||||
 | 
					repo: mainsail-crew/mainsail
 | 
				
			||||||
 | 
					channel: stable
 | 
				
			||||||
 | 
					type: web
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[update_manager mainsail-config]
 | 
				
			||||||
 | 
					managed_services: klipper
 | 
				
			||||||
 | 
					origin: https://github.com/mainsail-crew/mainsail-config.git
 | 
				
			||||||
 | 
					path: /home/pi/mainsail-config
 | 
				
			||||||
 | 
					primary_branch: master
 | 
				
			||||||
 | 
					type: git_repo
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Crowsnest update_manager entry
 | 
				
			||||||
 | 
					[update_manager crowsnest]
 | 
				
			||||||
 | 
					type: git_repo
 | 
				
			||||||
 | 
					path: ~/crowsnest
 | 
				
			||||||
 | 
					origin: https://github.com/mainsail-crew/crowsnest.git
 | 
				
			||||||
 | 
					managed_services: crowsnest
 | 
				
			||||||
 | 
					install_script: tools/pkglist.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[update_manager timelapse]
 | 
				
			||||||
 | 
					type: git_repo
 | 
				
			||||||
 | 
					primary_branch: main
 | 
				
			||||||
 | 
					path: ~/moonraker-timelapse
 | 
				
			||||||
 | 
					origin: https://github.com/mainsail-crew/moonraker-timelapse.git
 | 
				
			||||||
 | 
					managed_services: klipper moonraker
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[power Printer]
 | 
				
			||||||
 | 
					type: homeassistant
 | 
				
			||||||
 | 
					protocol: https
 | 
				
			||||||
 | 
					address: home.fieryeagle.org
 | 
				
			||||||
 | 
					port: 443
 | 
				
			||||||
 | 
					device: switch.printer
 | 
				
			||||||
 | 
					token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI1MTJmMjA4ZjVjMzA0YTE3YjFmYjc2ZjNiYTM5YWVjOCIsImlhdCI6MTc0NzMxNjY4MSwiZXhwIjoyMDYyNjc2NjgxfQ.ZAsmTvECJxKf8Dl0pf-L1tox7yOndHQjAZNwMmWCZvk
 | 
				
			||||||
 | 
					domain: switch
 | 
				
			||||||
 | 
					initial_state: off
 | 
				
			||||||
 | 
					off_when_shutdown: True
 | 
				
			||||||
 | 
					off_when_shutdown_delay: 0
 | 
				
			||||||
 | 
					on_when_job_queued: True
 | 
				
			||||||
 | 
					locked_while_printing: True
 | 
				
			||||||
 | 
					restart_klipper_when_powered: True
 | 
				
			||||||
 | 
					restart_delay: 3
 | 
				
			||||||
 | 
					bound_services:
 | 
				
			||||||
 | 
					    klipper
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[power Wall_Light]
 | 
				
			||||||
 | 
					type: homeassistant
 | 
				
			||||||
 | 
					protocol: https
 | 
				
			||||||
 | 
					address: home.fieryeagle.org
 | 
				
			||||||
 | 
					port: 443
 | 
				
			||||||
 | 
					device: light.m1_light
 | 
				
			||||||
 | 
					token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI1MTJmMjA4ZjVjMzA0YTE3YjFmYjc2ZjNiYTM5YWVjOCIsImlhdCI6MTc0NzMxNjY4MSwiZXhwIjoyMDYyNjc2NjgxfQ.ZAsmTvECJxKf8Dl0pf-L1tox7yOndHQjAZNwMmWCZvk
 | 
				
			||||||
 | 
					domain: light
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[timelapse]
 | 
				
			||||||
 | 
					##   Following basic configuration is default to most images and don't need
 | 
				
			||||||
 | 
					##   to be changed in most scenarios. Only uncomment and change it if your
 | 
				
			||||||
 | 
					##   Image differ from standart installations. In most common scenarios 
 | 
				
			||||||
 | 
					##   a User only need [timelapse] in their configuration.
 | 
				
			||||||
 | 
					#output_path: ~/timelapse/
 | 
				
			||||||
 | 
					##   Directory where the generated video will be saved
 | 
				
			||||||
 | 
					#frame_path: /tmp/timelapse/
 | 
				
			||||||
 | 
					##   Directory where the temporary frames are saved
 | 
				
			||||||
 | 
					#ffmpeg_binary_path: /usr/bin/ffmpeg
 | 
				
			||||||
 | 
					##   Directory where ffmpeg is installed
 | 
				
			||||||
							
								
								
									
										273
									
								
								printer.cfg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										273
									
								
								printer.cfg
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,273 @@
 | 
				
			|||||||
 | 
					# Pin Mappings for Stock 2023 Creality Ender 3 V3 SE
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# To use this configuration:
 | 
				
			||||||
 | 
					# 1. During "make menuconfig", select:
 | 
				
			||||||
 | 
					#    - STM32F103 with a "28KiB bootloader"
 | 
				
			||||||
 | 
					#    - Serial communication on USART1 (PA10/PA9)
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# 2. For a direct serial connection:
 | 
				
			||||||
 | 
					#    - In "make menuconfig", select:
 | 
				
			||||||
 | 
					#      - "Enable extra low-level configuration options"
 | 
				
			||||||
 | 
					#      - Serial communication on USART3 (PB11/PB10)
 | 
				
			||||||
 | 
					#    - This is accessible via the 10-pin IDC cable used for the LCD module:
 | 
				
			||||||
 | 
					#      - Pin 3: Tx
 | 
				
			||||||
 | 
					#      - Pin 4: Rx
 | 
				
			||||||
 | 
					#      - Pin 9: GND
 | 
				
			||||||
 | 
					#      - Pin 10: VCC
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# 3. Build the firmware by running:
 | 
				
			||||||
 | 
					#    - make
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# 4. Flash the firmware:
 | 
				
			||||||
 | 
					#    - Copy "klipper/out/klipper.bin" to an SD card.
 | 
				
			||||||
 | 
					#    - Insert the SD card into the printer and power it on.
 | 
				
			||||||
 | 
					#    - Ensure the firmware filename ends in ".bin" and is different from the last flashed filename.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# For further details, refer to https://www.klipper3d.org/Config_Reference.html.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					# Include the relevant configuration depending on what you are using.
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[include mainsail.cfg]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[include macros.cfg]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[include timelapse.cfg]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[mcu]
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					# Obtain definition by "ls -l /dev/serial/by-id/"
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
 | 
				
			||||||
 | 
					restart_method: command
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[filament_switch_sensor filament_sensor]
 | 
				
			||||||
 | 
					switch_pin: ^PC15
 | 
				
			||||||
 | 
					pause_on_runout: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[temperature_sensor mcu_temp]
 | 
				
			||||||
 | 
					sensor_type: temperature_mcu
 | 
				
			||||||
 | 
					min_temp: 0
 | 
				
			||||||
 | 
					max_temp: 100
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[printer]
 | 
				
			||||||
 | 
					kinematics: cartesian
 | 
				
			||||||
 | 
					max_velocity: 250
 | 
				
			||||||
 | 
					max_accel: 2500
 | 
				
			||||||
 | 
					minimum_cruise_ratio: 0.5
 | 
				
			||||||
 | 
					square_corner_velocity: 5.0
 | 
				
			||||||
 | 
					max_z_velocity: 100
 | 
				
			||||||
 | 
					max_z_accel: 500
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					#   X/Y Stepper Settings
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[stepper_x]
 | 
				
			||||||
 | 
					step_pin: PC2
 | 
				
			||||||
 | 
					dir_pin: !PB9
 | 
				
			||||||
 | 
					enable_pin: !PC3
 | 
				
			||||||
 | 
					microsteps: 16
 | 
				
			||||||
 | 
					rotation_distance: 40
 | 
				
			||||||
 | 
					endstop_pin: !PA5
 | 
				
			||||||
 | 
					position_endstop: -6
 | 
				
			||||||
 | 
					position_min: -6
 | 
				
			||||||
 | 
					position_max: 230
 | 
				
			||||||
 | 
					homing_speed: 60
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[tmc2209 stepper_x]
 | 
				
			||||||
 | 
					uart_pin: PB12
 | 
				
			||||||
 | 
					run_current: 0.6
 | 
				
			||||||
 | 
					sense_resistor: 0.150
 | 
				
			||||||
 | 
					stealthchop_threshold: 0
 | 
				
			||||||
 | 
					interpolate: True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[stepper_y]
 | 
				
			||||||
 | 
					step_pin: PB8
 | 
				
			||||||
 | 
					dir_pin: PB7
 | 
				
			||||||
 | 
					enable_pin: !PC3
 | 
				
			||||||
 | 
					microsteps: 16
 | 
				
			||||||
 | 
					rotation_distance: 40
 | 
				
			||||||
 | 
					endstop_pin: !PA6
 | 
				
			||||||
 | 
					position_endstop: -14
 | 
				
			||||||
 | 
					position_min: -14
 | 
				
			||||||
 | 
					position_max: 225
 | 
				
			||||||
 | 
					homing_speed: 60
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[tmc2209 stepper_y]
 | 
				
			||||||
 | 
					uart_pin: PB13
 | 
				
			||||||
 | 
					run_current: 0.6
 | 
				
			||||||
 | 
					sense_resistor: 0.150
 | 
				
			||||||
 | 
					stealthchop_threshold: 0
 | 
				
			||||||
 | 
					interpolate: True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[force_move]
 | 
				
			||||||
 | 
					enable_force_move: True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					#   Z Stepper Settings
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[stepper_z]
 | 
				
			||||||
 | 
					step_pin: PB6
 | 
				
			||||||
 | 
					dir_pin: !PB5
 | 
				
			||||||
 | 
					enable_pin: !PC3
 | 
				
			||||||
 | 
					microsteps: 16
 | 
				
			||||||
 | 
					rotation_distance: 8
 | 
				
			||||||
 | 
					endstop_pin: probe:z_virtual_endstop
 | 
				
			||||||
 | 
					position_min: -3
 | 
				
			||||||
 | 
					position_max: 250
 | 
				
			||||||
 | 
					homing_speed: 5
 | 
				
			||||||
 | 
					second_homing_speed: 1
 | 
				
			||||||
 | 
					homing_retract_dist: 2.5
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[tmc2209 stepper_z]
 | 
				
			||||||
 | 
					uart_pin: PB14
 | 
				
			||||||
 | 
					run_current: 0.8
 | 
				
			||||||
 | 
					sense_resistor: 0.150
 | 
				
			||||||
 | 
					stealthchop_threshold: 0
 | 
				
			||||||
 | 
					interpolate: True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					#   Extruder
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[extruder]
 | 
				
			||||||
 | 
					step_pin: PB4
 | 
				
			||||||
 | 
					dir_pin: PB3
 | 
				
			||||||
 | 
					enable_pin: !PC3
 | 
				
			||||||
 | 
					microsteps: 16
 | 
				
			||||||
 | 
					rotation_distance: 7.3403877
 | 
				
			||||||
 | 
					nozzle_diameter: 0.400
 | 
				
			||||||
 | 
					filament_diameter: 1.750
 | 
				
			||||||
 | 
					max_extrude_cross_section: 5
 | 
				
			||||||
 | 
					max_extrude_only_distance: 500
 | 
				
			||||||
 | 
					pressure_advance: 0.04
 | 
				
			||||||
 | 
					heater_pin: PA1
 | 
				
			||||||
 | 
					sensor_type: EPCOS 100K B57560G104F
 | 
				
			||||||
 | 
					sensor_pin: PC5
 | 
				
			||||||
 | 
					#control: pid
 | 
				
			||||||
 | 
					# Tuned for stock hardware with a target of 200 degrees Celsius.
 | 
				
			||||||
 | 
					#pid_Kp: 27.142
 | 
				
			||||||
 | 
					#pid_Ki: 1.371
 | 
				
			||||||
 | 
					#pid_Kd: 134.351
 | 
				
			||||||
 | 
					min_temp: 0
 | 
				
			||||||
 | 
					max_temp: 260
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					#   Bed Heater
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[heater_bed]
 | 
				
			||||||
 | 
					heater_pin: PB2
 | 
				
			||||||
 | 
					sensor_type: EPCOS 100K B57560G104F
 | 
				
			||||||
 | 
					sensor_pin: PC4
 | 
				
			||||||
 | 
					#control: pid
 | 
				
			||||||
 | 
					# Tuned for stock hardware with a target of 70 degrees Celsius.
 | 
				
			||||||
 | 
					#pid_kp: 66.371
 | 
				
			||||||
 | 
					#pid_ki: 0.846
 | 
				
			||||||
 | 
					#pid_kd: 1301.702
 | 
				
			||||||
 | 
					min_temp: 0
 | 
				
			||||||
 | 
					max_temp: 100
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					#   Bed Mesh & BL Touch
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[bed_mesh]
 | 
				
			||||||
 | 
					speed: 150
 | 
				
			||||||
 | 
					mesh_min: 10,10
 | 
				
			||||||
 | 
					mesh_max: 206,210.5
 | 
				
			||||||
 | 
					probe_count: 7, 7
 | 
				
			||||||
 | 
					algorithm: bicubic
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[bltouch]
 | 
				
			||||||
 | 
					sensor_pin: ^PC14
 | 
				
			||||||
 | 
					control_pin: PC13
 | 
				
			||||||
 | 
					x_offset: -24.0
 | 
				
			||||||
 | 
					y_offset: -14.5
 | 
				
			||||||
 | 
					#z_offset: 0.1
 | 
				
			||||||
 | 
					speed: 20
 | 
				
			||||||
 | 
					pin_move_time: 0.4
 | 
				
			||||||
 | 
					stow_on_each_sample: False
 | 
				
			||||||
 | 
					probe_with_touch_mode: True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					#   Fan Control
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[heater_fan hotend_fan]
 | 
				
			||||||
 | 
					pin: PC1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[fan]
 | 
				
			||||||
 | 
					pin: PA0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					#   Idle Timeout & Homing
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[idle_timeout]
 | 
				
			||||||
 | 
					gcode:
 | 
				
			||||||
 | 
					  OFF
 | 
				
			||||||
 | 
					timeout: 600
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[safe_z_home]
 | 
				
			||||||
 | 
					home_xy_position: 139, 127
 | 
				
			||||||
 | 
					speed: 60
 | 
				
			||||||
 | 
					z_hop: 10
 | 
				
			||||||
 | 
					z_hop_speed: 5
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					#   Beeper
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[output_pin beeper]
 | 
				
			||||||
 | 
					pin: PB0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					#   G-Code features
 | 
				
			||||||
 | 
					#####################################################################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[gcode_arcs]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[exclude_object]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#*# <---------------------- SAVE_CONFIG ---------------------->
 | 
				
			||||||
 | 
					#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
 | 
				
			||||||
 | 
					#*#
 | 
				
			||||||
 | 
					#*# [bltouch]
 | 
				
			||||||
 | 
					#*# z_offset = 1.510
 | 
				
			||||||
 | 
					#*#
 | 
				
			||||||
 | 
					#*# [bed_mesh default]
 | 
				
			||||||
 | 
					#*# version = 1
 | 
				
			||||||
 | 
					#*# points =
 | 
				
			||||||
 | 
					#*# 	0.222500, -0.060000, -0.092500, -0.065000, -0.027500, -0.002500, 0.010000
 | 
				
			||||||
 | 
					#*# 	0.150000, -0.077500, -0.155000, -0.105000, -0.052500, 0.002500, -0.025000
 | 
				
			||||||
 | 
					#*# 	0.187500, -0.085000, -0.157500, -0.120000, -0.100000, -0.042500, -0.057500
 | 
				
			||||||
 | 
					#*# 	0.062500, -0.087500, -0.140000, -0.130000, -0.112500, -0.097500, -0.090000
 | 
				
			||||||
 | 
					#*# 	0.007500, -0.077500, -0.150000, -0.122500, -0.112500, -0.105000, -0.097500
 | 
				
			||||||
 | 
					#*# 	0.142500, -0.007500, -0.095000, -0.102500, -0.102500, -0.082500, -0.080000
 | 
				
			||||||
 | 
					#*# 	0.305000, 0.275000, 0.040000, 0.022500, 0.007500, -0.002500, 0.020000
 | 
				
			||||||
 | 
					#*# x_count = 7
 | 
				
			||||||
 | 
					#*# y_count = 7
 | 
				
			||||||
 | 
					#*# mesh_x_pps = 2
 | 
				
			||||||
 | 
					#*# mesh_y_pps = 2
 | 
				
			||||||
 | 
					#*# algo = bicubic
 | 
				
			||||||
 | 
					#*# tension = 0.2
 | 
				
			||||||
 | 
					#*# min_x = 10.0
 | 
				
			||||||
 | 
					#*# max_x = 205.95999999999998
 | 
				
			||||||
 | 
					#*# min_y = 10.0
 | 
				
			||||||
 | 
					#*# max_y = 210.45999999999998
 | 
				
			||||||
 | 
					#*#
 | 
				
			||||||
 | 
					#*# [extruder]
 | 
				
			||||||
 | 
					#*# control = pid
 | 
				
			||||||
 | 
					#*# pid_kp = 28.332
 | 
				
			||||||
 | 
					#*# pid_ki = 1.536
 | 
				
			||||||
 | 
					#*# pid_kd = 130.682
 | 
				
			||||||
 | 
					#*#
 | 
				
			||||||
 | 
					#*# [heater_bed]
 | 
				
			||||||
 | 
					#*# control = pid
 | 
				
			||||||
 | 
					#*# pid_kp = 67.201
 | 
				
			||||||
 | 
					#*# pid_ki = 0.976
 | 
				
			||||||
 | 
					#*# pid_kd = 1156.696
 | 
				
			||||||
							
								
								
									
										1
									
								
								timelapse.cfg
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								timelapse.cfg
									
									
									
									
									
										Symbolic link
									
								
							@@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					/home/pi/moonraker-timelapse/klipper_macro/timelapse.cfg
 | 
				
			||||||
		Reference in New Issue
	
	Block a user