User Tools

Site Tools


bdev:circuitboard_3dprinter_smoothie_config

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
bdev:circuitboard_3dprinter_smoothie_config [2021/09/22 20:44]
richard
bdev:circuitboard_3dprinter_smoothie_config [2021/09/22 22:37] (current)
richard
Line 1: Line 1:
 +{{:bdev:ramps_1.4.png?600|}}
 +
 +
 +<code>
 +
 +* Sorted by      Sorted by
 +* Arduino        port and then
 +* 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       0_9  D83
 +* 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       1_0  D78
 +* 2_11 D35       1_1  D79
 +* 2_8  D36       1_4  D77
 +* 1_30 D37       1_8  D76
 +* 0_10 D38       1_9  D74
 +* 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       2_0  D26
 +* 0_25 D69       2_1  D54
 +* 1_16 D70       2_2  D60
 +* 1_17 D71       2_3  D46
 +* 1_15 D72       2_4  D9
 +* 1_14 D73       2_5  D10
 +* 1_9  D74       2_6  D59
 +* 1_10 D75       2_7  D8
 +* 1_8  D76       2_8  D36
 +* 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
 +*/
 +
 +</code>
 +
 +
 +
 +
 http://smoothieware.org/zprobe http://smoothieware.org/zprobe
  
Line 26: Line 107:
 | M280 S5.5 | ZMin test mode (for M119) | | M280 S5.5 | ZMin test mode (for M119) |
 \\ \\
 +
 +<code>
 +leveling-strategy.rectangular-grid.enable               true     # The strategy must be enabled in the config, as well as the zprobe module.
 +leveling-strategy.rectangular-grid.x_size               75       # size of bed in the X axis
 +leveling-strategy.rectangular-grid.y_size               50       # size of bed in the Y axis
 +leveling-strategy.rectangular-grid.size                 7 # The size of the grid, for example, 7 causes a 7x7 grid with 49 points. 
 +                                                                 # Must be an odd number.
 +leveling-strategy.rectangular-grid.do_home              true              
 +leveling-strategy.rectangular-grid.probe_offsets        0,0,0    # Optional probe offsets from the nozzle or tool head
 +leveling-strategy.rectangular-grid.save                 false    # If the saved grid is to be loaded on boot then this must be set to true
 +leveling-strategy.rectangular-grid.initial_height       10       # will move to Z10 before the first probe
 +mm_per_line_segment                                            # necessary for cartesians using rectangular-grid
 +#leveling-strategy.rectangular-grid.before_probe_gcode   M280     # uncomment if you have a bltouch
 +#leveling-strategy.rectangular-grid.after_probe_gcode    M281     # uncomment if you have a bltouch
 +</code>
 +
 +
 +\\
 +LCD\\
 +
 +\\http://smoothieware.org/panel
 +\\
 +<code>
 +
 +# config settings
 +panel.enable                          true              # set to true to enable the panel code
 +panel.lcd                             reprap_discount_glcd     # set type of panel
 +panel.spi_channel                                     # spi channel to use  ; GLCD EXP1 Pins 3,5 (MOSI, SCLK)
 +panel.spi_cs_pin                      0.16              # spi chip select     ; GLCD EXP1 Pin 4
 +panel.encoder_a_pin                   3.25!^            # encoder pin         ; GLCD EXP2 Pin 3
 +panel.encoder_b_pin                   3.26!^            # encoder pin         ; GLCD EXP2 Pin 5
 +panel.click_button_pin                1.30!^            # click button        ; GLCD EXP1 Pin 2
 +panel.buzz_pin                        1.31              # pin for buzzer      ; GLCD EXP1 Pin 1
 +panel.back_button_pin                 2.11!^            # 2.11 menu back      ; GLCD EXP2 Pin 8
 +# setup for external sd card on the GLCD which uses the onboard sdcard SPI port
 +panel.external_sd                     true              # set to true if there is an extrernal sdcard on the panel
 +panel.external_sd.spi_channel                         # set spi channel the sdcard is on
 +panel.external_sd.spi_cs_pin          0.28              # set spi chip select for the sdcard (or any spare pin)
 +panel.external_sd.sdcd_pin            0.27!^            # sd detect signal (set to nc if no sdcard detect) (or any spare pin)
 +
 +</code>
 +
 +
 +<code>
 +panel.enable true # Set to true to enable the panel interface. Panels are a screen, an encoder wheel and/or a set of buttons, used to control your machine.
 +panel.lcd reprap_discount_glcd # Type of panel we are connecting. Each panel has a specific interface so we need to specify which panel we will be connecting. The currently supported panel types are Reprap_discount_glcd, St7565_glcd, Ssd1306_oled, Viki2, Mini_viki2 and Universal_adapter.
 +panel.spi_channel 0 # SPI channel to use
 +panel.spi_cs_pin 0.16 # CS ( Chip Select ) pin to use, this can be used to have several different devices on the same SPI port, as long as each device has a separate CS pin. Note that the RRD GLCD panel does not support this and requires being alone on it's port.
 +panel.spi_frequency 500000 # SPI port frequency - some panel need it explicitly set
 +panel.contrast 9 # Contrast value for panels that support it ( Viki2, Mini_viki2 and St7565_glcd )
 +panel.reverse false # If set to true, reverse the screen.
 +panel.busy_pin Nc # If using the Universal_adapter, this pin can be connected to the adapter to ask it if it is busy or not.
 +panel.a0_pin Nc # If using a viki or SSD1306 this is needed to drive the C/D pin on the display
 +panel.rst_pin Nc # If using an SSD1306 this pin is sometimes required and connects to the reset pin on the display
 +panel.encoder_a_pin 3.25!^ # A pin for the encoder wheel. Encoders have two pins : A and B. Set to Nc if you use no encoder. ^ defines menu move direction
 +panel.encoder_b_pin 3.26!^ # B pin for the encoder wheel. Encoders have two pins : A and B. Set to Nc if you use no encoder. ^ defines menu move direction
 +panel.encoder_resolution 2 # the number of pulses the encoder emits per detent/click
 +panel.click_button_pin 1.30!^ # Pin for the click ( “enter” ) button
 +panel.buzz_pin 1.31 # Pin for the buzzer
 +panel.back_button_pin 2.11!^ # Pin for the back button
 +panel.up_button_pin 0.1! # Pin for the up button
 +panel.down_button_pin 0.0! # Pin for the down button
 +panel.menu_offset 0 # On some panels, this value must be set to 1. This is a number of lines to offset the menu lines by on screen.
 +panel.alpha_jog_feedrate 6000 # X jogging feedrate in millimetres/minute. This is used when jogging using the panel screen.
 +panel.beta_jog_feedrate 6000 # Y jogging feedrate in millimetres/minute. This is used when jogging using the panel screen.
 +panel.gamma_jog_feedrate 200 # Z jogging feedrate in millimetres/minute. This is used when jogging using the panel screen.
 +panel.hotend_temperature 185 # Temperature to set the hotend to when using the pre-heating menu item
 +panel.bed_temperature 60 # Temperature to set the bed to when using the pre-heating menu item
 +panel.external_sd true # Set to true if your panel has an external SD card slot, or if you want to connect a second SD card slot to one of your Smothieboard's SPI ports
 +panel.external_sd.spi_channel 0 # Set the SPI channel the external SD card is on
 +panel.external_sd.spi_cs_pin 2.8 # Set the CS ( Chip Select ) pin for the external SD card, this allows you to use multiple devices on the same SPI port, as long as they each have a CS pin
 +panel.external_sd.sdcd_pin 2.13!^ # SD card detect signal pin, set to Nc if you don't use a SD card detect signal
 +custom_menu.menu_name.enable true # When set to true, create a new custom menu entry for the panel with the name menu_name. You can create any number of custom entries as long as they have different names. NOTE menu_name is case sensitive
 +custom_menu.menu_name.name Power_on # The name that will be displayed in the panel's menus
 +custom_menu.menu_name.command M80_S30|G1_X10 # The command that will be executed when the menu entry is selected and clicked. Note that the _ character gets converted to space in the menu and commands ( and must be used instead of the space character ) , and the | character is used to separate multiple commands
 +</code>
 +
 +
 +\\
 +
 +
 +
  
 <code | smoothie config labbot 3-D printer> <code | smoothie config labbot 3-D printer>
Line 248: 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                                    universal_adapter             # set type of panel+panel.lcd                                    reprap_discount_glcd             # set type of panel
 panel.spi_channel                            0                 # set spi channel to use P0_18,P0_15 MOSI,SCLK panel.spi_channel                            0                 # set spi channel to use P0_18,P0_15 MOSI,SCLK
 panel.spi_cs_pin                             0.16              # set spi chip select panel.spi_cs_pin                             0.16              # set spi chip select
bdev/circuitboard_3dprinter_smoothie_config.1632343469.txt.gz · Last modified: 2021/09/22 20:44 by richard