Skip to content

Commit

Permalink
added 3.5.2-rc1 and SHT36 max v3
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysuk committed Jun 15, 2024
1 parent 11ae50c commit 1cb1806
Show file tree
Hide file tree
Showing 27 changed files with 808 additions and 45 deletions.
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,6 @@ description: "Documentation for the LPC and STM32 Ports of RepRapFirmware"
github: [metadata]

latestStableFirmware: "https://github.com/gloomyandy/RRFBuild/tree/v3.5-dev/releases/3.5.1"
latestBetaFirmware: "https://github.com/gloomyandy/RRFBuild/tree/v3.5-dev/releases/3.5.1"
latestBetaFirmware: "https://github.com/gloomyandy/RRFBuild/tree/v3.5-dev/releases/3.5.2-rc.1"
latestStableZip: "https://github.com/gloomyandy/RepRapFirmware/releases/tag/3.5.1"
latestBetaZip: "https://github.com/gloomyandy/RepRapFirmware/releases/tag/3.5.1"
latestBetaZip: "https://github.com/gloomyandy/RepRapFirmware/releases/tag/v3.5.2-rc.1"
44 changes: 42 additions & 2 deletions _data/sidebars/mydoc_sidebar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ children:
output: web
children:

- title: 3.5.2 - RC1 Release Notes
url: release_notes_3.5.2-rc.1.html
output: web

- title: 3.5.1 Release Notes
url: release_notes_3.5.1.html
output: web
Expand Down Expand Up @@ -3149,6 +3153,42 @@ children:
output: web
children:

- title: Fly-SHT36 Max V3 Toolboard
output: web
children:

- title: Fly-RRF-36 General Information
url: fly_sht36_max_v3_general.html
output: web

- title: Connection via CAN-FD
url: fly_sht36_max_v3_can_connection.html
output: web

- title: Connecting a BLTouch or BTT MicroProbe
url: fly_sht36_max_v3_bltouch.html
output: web

- title: Accelerometer Configuration
url: fly_sht36_max_v3_accelerometer.html
output: web

- title: Connecting a PT100 or PT1000 Temperature Sensor
url: fly_sht36_max_v3_pt100.html
output: web

- title: Configuring the Scanning Probe
url: fly_sht36_max_v3_scanning_probe.html
output: web

- title: Connecting Neopixels
url: fly_sht36_max_v3_neopixels.html
output: web

- title: Pin Names
url: fly_sht36_max_v3_pins.html
output: web

- title: Fly-RRF-36 Toolboard
output: web
children:
Expand Down Expand Up @@ -3201,7 +3241,7 @@ children:
url: fly_sb2040_max_v3_accelerometer.html
output: web

- title: Connecting a PT100 Temperature Sensor
- title: Connecting a PT100 or PT1000 Temperature Sensor
url: fly_sb2040_max_v3_pt100.html
output: web

Expand Down Expand Up @@ -3233,7 +3273,7 @@ children:
url: fly_sb2040_pro_max_v3_accelerometer.html
output: web

- title: Connecting a PT100 Temperature Sensor
- title: Connecting a PT100 or PT1000 Temperature Sensor
url: fly_sb2040_pro_max_v3_pt100.html
output: web

Expand Down
169 changes: 169 additions & 0 deletions _includes/custom/3.5/bltouch_can.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
## Physical Connections

Connect the BLTouch to the {{page.boardname}} as described in the table below.

<div class="datatable-begin"></div>

|BLTouch Wire Colour|{{page.boardname}}|{{page.boardname}} Pin Name|
|:---|:---|:---|
|Brown|GND||
|Red|+5v||
|Yellow|{{page.yellowPin}}|{{page.yellowName}}|
|Black|GND||
|White|{{page.whitePin}}|{{page.whiteName}}|

{% capture imagefile %}
{{ page.image }}
{% endcapture %}
{% capture captiontext %}
{{ page.boardname }} BLTouch Connection
{% endcapture %}
{% if page.image != "" %}
{% include image.html file=imagefile alt="" caption=captiontext %}
{% endif %}

<div class="datatable-end"></div>

### Config.g Changes

Your config.g should be modified as below.
```
M558 P9 H6 F250:30 T8000 C"^124.{{page.whiteName}}" ; set Z probe type to bltouch and the dive height + speeds
M950 S0 C"124.{{page.yellowName}}" ; Setup {{page.yellowName}} as servo port on {{page.boardname}}
```

You will also need to set up your probe offset using [G31](https://docs.duet3d.com/en/User_manual/Reference/Gcodes#g31-set-or-report-current-probe-status) and your [mesh probing grid](https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m557-set-z-probe-point-or-define-probing-grid)

## Files to Create

Create the following files.

{% include tip.html content="If you select the BLTouch while setting up your config.g files using the Configurator, these files should be created for you. We still advise checking them tho ensure the content is correct." %}

### deployprobe.g

Create a file in your sys folder called
```
deployprobe.g
```
In it, paste the following code
```
M280 P0 S10
```

### retractprobe.g

Create a file in your sys folder called
```
retractprobe.g
```
In it, paste the following code
```
M280 P0 S90
```

## Files to Modify

{% include tip.html content="If you select the BLTouch while setting up your config.g files using the Configurator, these files should be modified for you. We still advise checking them tho ensure the content is correct." %}

If you you want to use your probe as your z endstop, you need to modify your homeall.g/homedelta.g and homez.g

### homez.g

For homez.g, you will have need to have something similar to this. Please modify the co-ordinates required for the centre of your bed accordingly.
```
; ################# Home Z Preparation ################

G91 ; Relative mode
G1 H2 Z5 F5000 ; Lower the bed
G90 ; Back to absolute positioning
G1 X0 Y0 F10000 ; Move to the center of the bed. Adjust to the co-ordinates required for the centre of your bed

; ################# Home Z Preparation ################

G30 ; Probe a single point
```

### homeall.g

The homeall.g should have something similar to the above or should call the homez.g file using
```
M98 P"homez.g"
```

## Testing Macros

It is suggested that you create a number of macros to allow testing of your BLTouch. These should each be created in the macros folder.

### alarm release + pin

Create a file in your macros folder called
```
alarm release + pin
```
In it, paste the following code
```
M280 P0 S160 ; Alarm Release and Push-Pin UP
```

### pin up

Create a file in your macros folder called
```
pin up
```
In it, paste the following code
```
M280 P0 S90 ; Send PWM channel 0 the s90 (angle) command
```

### pin down

Create a file in your macros folder called
```
pin down
```
In it, paste the following code
```
M280 P0 S10 ; Send PWM channel 0 the S10 (angle) command
```

### selftest

Create a file in your macros folder called
```
self-test
```
In it, paste the following code
```
M280 P0 S120 ; Send PWM channel 7 the S10 (angle) command
```

## Links to Relevant Duet3D Documentation

[Connecting a BLTouch](https://docs.duet3d.com/en/User_manual/Connecting_hardware/Z_probe_connecting#bltouch)
[Troubleshooting a BLTouch](https://docs.duet3d.com/en/User_manual/Troubleshooting/BLTouch_troubleshooting)


## Marlin Fast Probe

There is a guide to replicating Marlins Fast Probe feature [here](https://forum.duet3d.com/topic/14544/guide-to-marlin-s-fast-bltouch-probing-feature-on-duet).

## Troubleshooting

### M280 works but the probe doesn't deploy using G30

Test that the probe deploys and retracts using `M401` and `M402` respectively.
If they don't work then you either have the deployprobe.g and retractprobe.g in the wrong place (they need to be in **sys**) or the contents of those files are incorrect, in which case re-read this page.

### M280 doesn't work

Either the wiring for the BLTouch is incorrect or the M950 servo definition is incorrect in config.g.

### The probe doesn't self test on Startup

The wiring for the BLTouch is incorrect and should be checked.

### The probe doesn't trigger

Either the wiring for the BLTouch is incorrect (swap the black and white cables) or the M558 definition is incorrect in config.g.
135 changes: 135 additions & 0 deletions _includes/custom/3.5/microprobe_can.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
## Overview

This page covers the connection and configuration of the [BTT MicroProbe](https://biqu.equipment/collections/expansion-board/products/microprobe-v1-0-for-b1-printers-h2-extruders-ender-3) to a {{page.boardname}}.

{% include warning.html content="BTT advertise this probe as being a drop in replacement for the BLTouch. It is a drop in wiring replacement but your config needs to be different! Please edit your files to remove M280 and replace with M42 as detailed below." %}

### Physical Connections

Connect the BTT MicroProbe to the {{page.boardname}} as described in the table below.

<div class="datatable-begin"></div>

|BTT MicroProbe Wire Colour|{{page.boardname}}|{{page.boardname}} Pin Name|
|:---|:---|:---|
|Black (Brown on image)|GND||
|Red|+5v||
|Yellow|{{page.yellowPin}}|{{page.yellowName}}|
|Black|GND||
|White|{{page.whitePin}}|{{page.whiteName}}|

{% capture imagefile %}
{{ page.image }}
{% endcapture %}
{% capture captiontext %}
{{ page.boardname }} MicroProbe Connection
{% endcapture %}
{% if page.image != "" %}
{% include image.html file=imagefile alt="" caption=captiontext %}
{% endif %}

<div class="datatable-end"></div>

### Config.g Changes

#### V1 Microprobe

If using a V1 Microprobe, your config.g should be modified as below.
```
M558 P9 H6 F250:30 T8000 C"^124.{{page.whiteName}}" ; set Z probe type to microprobe and the dive height + speeds
M950 P0 C"124.{{page.yellowName}}" ; Setup {{page.yellowName}} as on/off port on {{page.boardname}}
```

### V2 Microprobe

If using a V2 Microprobe, your config.g should be modified as below.
```
M558 P9 H6 F250:30 T8000 C"^!124.{{page.whiteName}}" ; set Z probe type to microprobe and the dive height + speeds
M950 P0 C"124.{{page.yellowName}}" ; Setup {{page.yellowName}} as on/off port on {{page.boardname}}
```

#### Probe Offsets

You will also need to set up your probe offset using [G31](https://docs.duet3d.com/en/User_manual/Reference/Gcodes#g31-set-or-report-current-probe-status) and your [mesh probing grid](https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m557-set-z-probe-point-or-define-probing-grid)

## Files to Create

Create the following files.

### deployprobe.g

Create a file in your sys folder called
```
deployprobe.g
```
In it, paste the following code
```
M42 P0 S1
G4 P500
```
### retractprobe.g

Create a file in your sys folder called
```
retractprobe.g
```
In it, paste the following code
```
M42 P0 S0
G4 P500
```

## Files to Modify

If you you want to use your probe as your z endstop, you need to modify your homeall.g/homedelta.g and homez.g

### homez.g

For homez.g, you will have need to have something similar to this. Please modify the co-ordinates required for the centre of your bed accordingly.
```
; ################# Home Z Preparation ################

G91 ; Relative mode
G1 H2 Z5 F5000 ; Lower the bed
G90 ; Back to absolute positioning
G1 X0 Y0 F10000 ; Move to the center of the bed. Adjust to the co-ordinates required for the centre of your bed

; ################# Home Z Preparation ################

G30 ; Probe a single point
```

### homeall.g

The homeall.g should have something similar to the above or should call the homez.g file using
```
M98 P"homez.g"
```

## Testing Macros

It is suggested that you create a number of macros to allow testing of your BTT MicroProbe. These should each be created in the macros folder.

### pin up

Create a file in your macros folder called
```
pin up
```
In it, paste the following code
```
M42 P0 S0 ; Turn off pin so it unretracts
G4 P500
```

### pin down

Create a file in your macros folder called
```
pin down
```
In it, paste the following code
```
M42 P0 S1 ; Turn on pin so it deploys
G4 P500
```
Binary file added images/fly_sht36_accelerometer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/fly_sht36_bltouch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/fly_sht36_can_resistor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/fly_sht36_can_switches.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/fly_sht36_neopixels.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1cb1806

Please sign in to comment.