Skip to content

Euclid probe, a magnetically coupled Z Probe Sled

License

Notifications You must be signed in to change notification settings

jlas1/Euclid_Probe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EUCLID PROBE

A highly accurate, magneticaly coupled Z-Probe that is not affected by bed temp, bed material, magnetism or surface treatment. The probe can be manually or automatically deployed via gcode macros and takes advantage of the firmware's probe pickup detection scheme to ensure pickup/release. It uses magnets for both mechanical coupling and for electrical contact. The Z-Probe circuit is completed when the probe is attached.

The initial design and foundations were laid when the author purchased a Wanhao Duplicator and wanted a 'semi-automtic probe' but was limited by the then current firmware. The Euclid Probe was was then ressurected when inspired by, and then created for use with RepRap Firmware and CroXY 3D Printer, and then adapted to Eustathios-Spider V2. It has since beed successfully been implemented on Railcore and Wanhao duplicator i3 printers.

The same PCB is used for both the upper and lower half, and uses 4, 1/4x1/8 axial polarized magnets, an Omron D2F snap action switch, M2 & M3 mounting screws, and some other random bits and bobs you probably have laying about.

The parts list specifies an Omron snap action switch: the subminiature size of the Onron D2F switches, their trigger point repeatability and overall reliablility makes them ideally suited for Z-Probed use. The circuit only uses the Normally Closed (NC) half of the switch as a momentary pushbutton, as no other submitiature packaged SPST momentary swtich was found to be as reliable as the Omron. Other switches of the same package size may also work, but their accuracy can not be predcited.

The operating temperature range of most mainstream switches of this class are 85°C, so theoretically the probe should function in a heated chamber of 80°C.

CC-BY-NC-SA
Creative Commons Attribution-NonCommercial-ShareAlike
CC BY-NC-SA

iso view

Initial Concept of stacking boards

left view

Side view of stacking boards

isotop
Isometric view of KiCAD model with JST-XH connector and M3 Screws & heatserts
isotop
Isometric view of underside of KiCAD model with JST-XH connector and M3 Screws & heatserts
isobtm
Isometric view of KiCAD model of assembled bottom board
baorddims

SMT components are optional on the upper PCB to create visual indicator of switch action.

Links for boards and parts- PCB Board currently hosted at OSHPark.com. As of 11/20/2020, $3.10 shipped for 3 boards.
https://oshpark.com/shared_projects/k646v9BY

Parts

  1. 2 - Z-Probe PCBs - Same PCB is used for the upper and lower half.
  2. 4 - 1/4x1/8 axially magnetized countersunk magnets. Two magnets must have N on countersink side, two with S on countersink side.
  3. 1 - OMRON D2F snap action switch. There are multiple variants in the series, but the D2F-5 are of the higher carying capacity and are reputed to be the most precise, repeatable devices.
  4. 4 - M2x5 countersunk steel screws. (2-56 x 3/8 and M2-8 to 10mm length ok)
  5. 2 - M3 screws to attach the board to the carriage. Stainless steel button head cap screws (non magnetic) are prefered. Regualr cap screws have an interference issue with the heads being as tall or taller than the magnets.
  6. 1 - 2 pin header of your choice: 2.54mm pitch straight, right angled, Dupont or JST XH connector. If using the optional SMT LED indicator, this must be a 3 pins connector.
  7. 1 - SMT LED- Optional. Ones with Vf of ~2.2v are best (red, yellow, orange and pale green). Any sized component from 0603 - 0805 - 1206 will work and can be soldered to the pads.
  8. 1 - SMT 1kOhm Resistor (Optional). Any sized component from 0603 - 0805 - 1206 will work and can be soldered to the pads.

Switch:

Omron D2F-5 is the more common higher force, 5A swtich. All the swtiches in the same series use the same basic module with different levers. Sometimes the pin plunger variant is out of stock- remove the lever from a -5L or -5L3 one and use the remaining switch.
https://octopart.com/search?q=D2F-5&currency=USD&specs=0 Other manufacturers' SPDT switches may work as long as they match the footprint. Early prototypes were fabricated from recycled Makerbot endstop switches that had damaged levers. They were of generic/unknown origin but worked just fine.

Magnets

1/4" od x 1/8" thick with countersunk hole for #2 screw, Axially Magnetized so that they stick face to face. Ideally you want magnets pairs so that they mate face to face. Here are some examples -

https://www.kjmagnetics.com/proddetail.asp?prod=R422CS-P-N52

https://www.mcmaster.com/5862K223/

Screws for mounitng magnets

Pilot holes in the PCB are sized for 2-56 or M2x0.4 self tapping plastic screws. Where to find 4 of them? Good question!
Junked kids toys or electronics. If all else fails, through drill it and use an M2 or 2-56 flat head screw and nut from the hardware store. A dab of Loctite or super-glue will keep it together nicely. Hobby shops often have these litle screws too.

Trim Craft Aviation RC is a known good supplier for small lots of heatserts and Imperial and Metric fasteners in Steel, Stanless Steel, and Nylon.

Bottom Board Assembly:

Solder the switch to the board, noting that the switch orientation is such that the plunger is towards the rear end of the board. You can clip the excess tails of the pins if desire. If you are using a right angle header mounted to the underside of the top board, you might need to clip them for clearance. It is also suggested that you put on a piece of Kapton tape or similar to insulate the exposed contacts. Nail polish or model enamel works well too.

[b]Test out your magnets for their polarity and proper orientation.[/b] The magnets area ideally orientated so that their poles alternate fore-aft on the board. This way, when the tool aproaches the probe in the dock, the leading magnet's polarity is same as the first magnet on the probe it encounters. Since these two magnets are of the same polarity, they are repulsed instead of attracted to each other, and the probe will pass this magnet and only get picked up when the pairs of magnets are aligned.

iso

One of the magnets should have N pole up, the other S pole up. Unless they are marked, all you need to do is get two of them to stick together and place another pair adjacent. Put a piece of paper between magnets so that they can be easily slid apart. Try not to let the magnets slam together, they can chip. If the two pairs are attracted to each other, flip one set over-under so that the mating pairs attract, but the adjacent pairs repulse.

Magnets should be cinched down snug to the pads on the PCB. If you are using thru-bolts, you will want to Use a dab of some sort of thread locker for good measure. Loctite is a common example, but you sould also use a drop of nail polish, hair spray, or even white glue when installing the nut. A drop of superglue, (CA) can be dabbed to the screw at the nut were it sticks out as well.

Top Board:

If not using the surface mounted LED you may use a 2 pin header of your choice soldered to the 2.54mm pitch holes maked SIG-GND. Install the two magnets onto the top board with M2 countersunk screws. The magnets polarities should be opposite that of the bottom board such that the two boards stick together.

The mounting holes in the PCB are sized for tapping the PCB with an M3 tap, else thru drill it for the fastener of your choice. The heatserts shown in the renderings are a suggestion, not a requirement. They were modeled into the design to attempt to maintain adequate material allowance and clearances for their use.

Optional LED's

The top board can be populated with an LED to indicate when the probe has triggered.

The SMT pads are provided in pairs on both faces of the board, on each side of the board. This way, the LED can be located on either side, on the top or bottom of the PCB to provide the best visibility depending on the mounting. The top board will require a VCC connection to use the LED and thus will require a 3 pin header. [b]The LED will not work on the bottom probe board. [/b]

Solder an SMT LED to the pad where it will be most visible when triggered. The recommended LED should be a yellow or green one with a low current draw to reduce the load on the controller MCU. Pay attention to LED polarity as you install it - polarity symbols have been placed on the board at each pair of pads. Verify the datasheet of your components to ensure the proper orientation. Pads are sized for 1206 SMT components, but it is possible to install an SMT as small as 0603 onto the pads with careful soldering.

Next solder a 1kOhm SMT resistor to the empty pad on the same side of the board. If in doubt as to which set of pads to install the resistor to, probe the LED for continutiy through the vias.

Reference Info

OpenSCAD model of the board is included. Example probe dock and .step files of assembled boards included for you convenience.

iso
iso
iso
iso

Firmware Configuration

You need to estalibsh the probe position relative to the nozzle in your firmware. The following image showing the probe location is used in the examples below.
To deploy and trieve probe: work in progress

probe-offsets.jpg

Duet 2 / RepRap Firmware 2.x

Probe is configured as P5 (from RepRapFirmware 1.14) as a normally closed switch for bed probing between the In and Gnd pins of the Z-probe connector (Duet 0.8.5 and Duet 2 WiFi).

https://duet3d.dozuki.com/Wiki/Gcode#Section_M558_Set_Z_probe_type

; Mag Probe Settings  
M558 P5 H8 F300 T9000 A1 S.01	                ; set Z probe type to P5 for NC switch
                                                        ; H dive height of 8mm, F300 probing speed 6mm/sec, T9000 travel speed 150mm/sec,   
                                                        ; A number of probes 1, S0.01 max tolerance of 0.01 
;
G31 K0 P500 X-16.4 Y-29.4 Z0.90                        ; CHECK for LOOSE things first! set Z probe trigger value, offset and trigger height.  Higher numbers makes nozzle closer to bed  
                                                        ; switch plunger is 16.4mm to the LEFT and 29.27 in FRONT of the nozzle
                                                        ; switch triggers 0.90mm BELOW nozzle
                                                        ; https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe#Section_Fine_tuning_the_trigger_height
                                                        ; baby stepping - if you have to move the nozzle closer to the bed, increase the G31 Z
                                                        ; if you have to move the nozzle away from the bed, decrease the G31 Z value by the amount of baby stepping used.
;

Duet 3 / RepRap Firmware 3.x

P5 selects normally closed switch for bed probing between the In and Gnd pins of the Z-probe connector.
The pullup resistor on the Z probe input is disabled by default, but it needs to be enabled. Enable it by prefixing the input pin (C parameter) with the ^ character. Enable pullup resistor with ^ if using Duet 2, running RRF3, using the Z probe input pin, and the probe type is a switch.

https://duet3d.dozuki.com/Wiki/Gcode#Section_M558_in_RepRapFirmware_Num_3

; Mag Probe Settings
;
M558 K0 P5 C"^zprobe.in" H8 F300 60 T9000 A3 S0.01      ; K0 for probe 0, P5 for NC switch, C for input pin, ^ for enabling the native pullup resistor on Duet2 hardware running RRF3  
                                                        ; H dive height of 8mm, F300 probing speed 6mm/sec, T9000 travel speed 150mm/sec,   
                                                        ; A3 number of probes 1, S0.01 max tolerance of 0.01 
;
G31 K0 P500 X-16.4 Y-29.4 Z0.90                         ; CHECK for LOOSE things first! set Z probe trigger value, offset and trigger height.  Higher numbers makes nozzle closer to bed
                                                        ; switch plunger is 16.4mm to the LEFT and 29.27 in FRONT of the nozzle
                                                        ; switch triggers 0.9mm BELOW nozzle
                                                        ; https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe#Section_Fine_tuning_the_trigger_height
                                                        ; baby stepping - if you have to move the nozzle closer to the bed, increase the G31 Z
                                                        ; if you have to move the nozzle away from the bed, decrease the G31 Z value by the amount of baby stepping used.
;
;

Smoothieware

Currently testing.

OSHPark

Magnetically coupled Z-Probe PCB sled, originally inspired and created for CroXY 3D Printer. Same PCB is used for upper and lower half. Uses 4, 1/4x1/8 or 8mmx3mm ring magnets, and an Omron D2F snap action switch, M3 mounting screws, and some other random bits and bobs you probably have laying about. more info at http://git.io/JkzZL

About

Euclid probe, a magnetically coupled Z Probe Sled

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • G-code 100.0%