This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
bdev:circuitboard_3dprinter_smoothie_config [2021/07/02 19:11] richard |
bdev:circuitboard_3dprinter_smoothie_config [2021/09/22 22:37] (current) richard |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{: | ||
+ | |||
+ | |||
+ | < | ||
+ | |||
+ | * Sorted by Sorted by | ||
+ | * Arduino | ||
+ | * logical pin by pin | ||
+ | * 0_3 D0 0_0 D20 | ||
+ | * 0_2 D1 0_1 D21 | ||
+ | * 1_25 D2 0_2 D1 | ||
+ | * 1_24 D3 0_3 D0 | ||
+ | * 1_18 D4 0_4 D24 | ||
+ | * 1_19 D5 0_5 D28 | ||
+ | * 1_21 D6 0_6 D80 | ||
+ | * 2_7 D8 0_7 D81 | ||
+ | * 2_4 D9 0_8 D82 | ||
+ | * 2_5 D10 | ||
+ | * 1_20 D11 0_10 D38 | ||
+ | * 2_12 D12 0_11 D55 | ||
+ | * 4_28 D13 0_15 D52 | ||
+ | * 1_26 D14 0_16 D16 | ||
+ | * 1_27 D15 0_17 D50 | ||
+ | * 0_16 D16 0_18 D51 | ||
+ | * 1_29 D18 0_19 D56 | ||
+ | * 1_28 D19 0_20 D61 | ||
+ | * 0_0 D20 0_21 D62 | ||
+ | * 0_1 D21 0_22 D48 | ||
+ | * 0_4 D24 0_23 D67 | ||
+ | * 2_0 D26 0_24 D68 | ||
+ | * 0_5 D28 0_25 D69 | ||
+ | * 4_29 D30 0_26 D63 | ||
+ | * 3_26 D31 0_27 D57 | ||
+ | * 3_25 D33 0_28 D58 | ||
+ | * 2_13 D34 | ||
+ | * 2_11 D35 | ||
+ | * 2_8 D36 | ||
+ | * 1_30 D37 | ||
+ | * 0_10 D38 | ||
+ | * 1_22 D41 1_10 D75 | ||
+ | * 2_3 D46 1_14 D73 | ||
+ | * 0_22 D48 1_15 D72 | ||
+ | * 1_31 D49 1_16 D70 | ||
+ | * 0_17 D50 1_17 D71 | ||
+ | * 0_18 D51 1_18 D4 | ||
+ | * 0_15 D52 1_19 D5 | ||
+ | * 1_23 D53 1_20 D11 | ||
+ | * 2_1 D54 1_21 D6 | ||
+ | * 0_11 D55 1_22 D41 | ||
+ | * 0_19 D56 1_23 D53 | ||
+ | * 0_27 D57 1_24 D3 | ||
+ | * 0_28 D58 1_25 D2 | ||
+ | * 2_6 D59 1_26 D14 | ||
+ | * 2_2 D60 1_27 D15 | ||
+ | * 0_20 D61 1_28 D19 | ||
+ | * 0_21 D62 1_29 D18 | ||
+ | * 0_26 D63 1_30 D37 | ||
+ | * 0_23 D67 1_31 D49 | ||
+ | * 0_24 D68 | ||
+ | * 0_25 D69 | ||
+ | * 1_16 D70 | ||
+ | * 1_17 D71 | ||
+ | * 1_15 D72 | ||
+ | * 1_14 D73 | ||
+ | * 1_9 D74 | ||
+ | * 1_10 D75 | ||
+ | * 1_8 D76 | ||
+ | * 1_4 D77 2_11 D35 | ||
+ | * 1_0 D78 2_12 D12 | ||
+ | * 1_1 D79 2_13 D34 | ||
+ | * 0_6 D80 3_25 D33 | ||
+ | * 0_7 D81 3_26 D31 | ||
+ | * 0_8 D82 4_28 D13 | ||
+ | * 0_9 D83 4_29 D30 | ||
+ | */ | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | http:// | ||
+ | |||
+ | UPDATE on the latest Smoothie firmware you can now use software emulated PWM, which means you can use any pin for the control pin, just change the following config lines… | ||
+ | |||
+ | < | ||
+ | # Switch module for Bltouch control using S/W PWM | ||
+ | # Note in the latest firmware with these settings you can just issue M280 to deploy and M281 to stow | ||
+ | switch.servo.enable | ||
+ | switch.servo.input_on_command | ||
+ | switch.servo.input_off_command | ||
+ | switch.servo.output_pin | ||
+ | switch.servo.output_type | ||
+ | switch.servo.pwm_period_ms | ||
+ | switch.servo.startup_state | ||
+ | switch.servo.startup_value | ||
+ | switch.servo.default_on_value | ||
+ | </ | ||
+ | |||
+ | \\ | ||
+ | |||
+ | | Command | BLTouch status | | ||
+ | | M280 S3.0 | Push-pin down | | ||
+ | | M280 S7.0 | Push-pin up | | ||
+ | | M280 S10.6 | Alarm release | | ||
+ | | M280 S8.4 | Self-test | | ||
+ | | M280 S5.5 | ZMin test mode (for M119) | | ||
+ | \\ | ||
+ | |||
+ | < | ||
+ | leveling-strategy.rectangular-grid.enable | ||
+ | leveling-strategy.rectangular-grid.x_size | ||
+ | leveling-strategy.rectangular-grid.y_size | ||
+ | leveling-strategy.rectangular-grid.size | ||
+ | # Must be an odd number. | ||
+ | leveling-strategy.rectangular-grid.do_home | ||
+ | leveling-strategy.rectangular-grid.probe_offsets | ||
+ | leveling-strategy.rectangular-grid.save | ||
+ | leveling-strategy.rectangular-grid.initial_height | ||
+ | mm_per_line_segment | ||
+ | # | ||
+ | # | ||
+ | </ | ||
+ | |||
+ | |||
+ | \\ | ||
+ | LCD\\ | ||
+ | |||
+ | \\http:// | ||
+ | \\ | ||
+ | < | ||
+ | |||
+ | # config settings | ||
+ | panel.enable | ||
+ | panel.lcd | ||
+ | panel.spi_channel | ||
+ | panel.spi_cs_pin | ||
+ | panel.encoder_a_pin | ||
+ | panel.encoder_b_pin | ||
+ | panel.click_button_pin | ||
+ | panel.buzz_pin | ||
+ | panel.back_button_pin | ||
+ | # setup for external sd card on the GLCD which uses the onboard sdcard SPI port | ||
+ | panel.external_sd | ||
+ | panel.external_sd.spi_channel | ||
+ | panel.external_sd.spi_cs_pin | ||
+ | panel.external_sd.sdcd_pin | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | < | ||
+ | panel.enable true # | ||
+ | panel.lcd reprap_discount_glcd # | ||
+ | panel.spi_channel 0 # | ||
+ | panel.spi_cs_pin 0.16 # | ||
+ | panel.spi_frequency 500000 # | ||
+ | panel.contrast 9 # | ||
+ | panel.reverse false # | ||
+ | panel.busy_pin Nc # | ||
+ | panel.a0_pin Nc # | ||
+ | panel.rst_pin Nc # | ||
+ | panel.encoder_a_pin 3.25!^ # | ||
+ | panel.encoder_b_pin 3.26!^ # | ||
+ | panel.encoder_resolution 2 # | ||
+ | panel.click_button_pin 1.30!^ # | ||
+ | panel.buzz_pin 1.31 # | ||
+ | panel.back_button_pin 2.11!^ # | ||
+ | panel.up_button_pin 0.1! # | ||
+ | panel.down_button_pin 0.0! # | ||
+ | panel.menu_offset 0 # | ||
+ | panel.alpha_jog_feedrate 6000 # | ||
+ | panel.beta_jog_feedrate 6000 # | ||
+ | panel.gamma_jog_feedrate 200 # | ||
+ | panel.hotend_temperature 185 # | ||
+ | panel.bed_temperature 60 # | ||
+ | panel.external_sd true # | ||
+ | panel.external_sd.spi_channel 0 # | ||
+ | panel.external_sd.spi_cs_pin 2.8 # | ||
+ | panel.external_sd.sdcd_pin 2.13!^ # | ||
+ | custom_menu.menu_name.enable true # | ||
+ | custom_menu.menu_name.name Power_on # | ||
+ | custom_menu.menu_name.command M80_S30|G1_X10 # | ||
+ | </ | ||
+ | |||
+ | |||
+ | \\ | ||
+ | |||
+ | |||
+ | |||
+ | |||
<code | smoothie config labbot 3-D printer> | <code | smoothie config labbot 3-D printer> | ||
arm_solution | arm_solution | ||
Line 220: | Line 411: | ||
# Example viki2 config for an azteeg mini V2 with IDC cable | # Example viki2 config for an azteeg mini V2 with IDC cable | ||
- | panel.lcd | + | panel.lcd |
panel.spi_channel | panel.spi_channel | ||
panel.spi_cs_pin | panel.spi_cs_pin |