RPI Base Printer Definitions¶
If you are not using a predefined printer definition you will need to craft or download a basic printer config
What should be in this file?¶
This definition should not include any kind of probe configuration in the main printer.cfg section, this should just have the basics:
mcuextruderheater_bedheater_fanstepper_xtmcXXXX stepper_xstepper_ytmcXXXX stepper_ystepper_ztmcXXXX stepper_zprinterfanfan_genericfilament_switch_sensortemperature_sensorduplicate_pin_overridetemperature_fanverify_heateroutput_pin
Optional¶
The following can be included:
input_shaper(predefined / hard coded input shaper values)adxl345lis2dwresonance_testergcode_arcs
Illegal Sections¶
The installer will exit if it finds any [include ] or SAVE_CONFIG sections.
Not required¶
The following sections are defined elsewhere in Simple AF and will automatically be removed from the printer definition before its used:
bltouchprobesafe_z_homehoming_overrideforce_movepause_resumebed_meshidle_timeoutdisplay_statusvirtual_sdcardexclude_objectaxis_twist_compensationscrews_tilt_adjust
Support Probes and Mounts¶
If you are updating the mainboard on one of the printers that supports multiple probes and/or mounts, you should let the installer know what model of printer your config is for, this is done by specifying the model of printer with a # MODEL: header at the beginning of the file!
The supported models are:
k1(K1, K1C, K1SE)k1m(K1 Max)f004(Ender 5 Max)f005(Ender 3 V3 KE)ender3v3se(Ender 3 V3 SE)
So just stick it into the beginning of the file like this:
If you want to support Klicky, Microprobe and Bltouch in your base printer.cfg you will need to do a bit more work, specifically you need to prefix your main printer.cfg definitions with -- printer.cfg and then provide additional sections for each of klicky.cfg, microprobe.cfg and bltouch.cfg, like this:
-- bltouch.cfg
[bltouch]
sensor_pin: ^PC14
control_pin: PC13
-- microprobe.cfg
[probe]
pin: ^!PC14
[output_pin probe_enable]
pin: PC13
-- klicky.cfg
[probe]
pin: ^!PC14
Where of course the pins will be relative to the mainboard you are using
Check out https://github.com/pellcorp/creality/blob/main/rpi/printers/creality-ender3-v3-se.cfg for an example.