Page 1 of 1

3D Touch installation on a Zonestar P802QR2

Posted: Sun Jan 06, 2019 10:01 am
by Sporadius
Hi there! I want to share with everyone interested how I succesfully installed the 3D Touch sensor to a Zonestar P802QR2 with a ZRIB V3.1 board. (Zonestar is selling a 3D touch sensor on Aliexpress focussing on the ZRIB V5.2 but beside the pin's used this information is valueable anyway) I have been doing research for some days before I decided to buy a 3D Touch sensor from Geeetech and after that I suspected I could make it work. To be honest this is not a simple plug and play setup but it seems good to share this with the world.

So my setup before the installation of the 3D touch sensor was:
  • Stock Zonestar P802QR2
  • ZRIB 3.1 board
  • Auto level sensor (the blue proximity sensor sold with this 3d printer or as option)
  • Stock firmware that was based on Repetier
Target setup after the installation of the 3D touch sensor:
  • Stock Zonestar P802QR2
  • ZRIB 3.1 board
  • 3D touch level sensor (from Geeetech)
  • Firmware of Marlin 1.8
What I tried but did not work:
  • Use the Z+ connections for the servo (they do not provide enough power for the 3dtouch sensor and it fails to stow)
So this are the steps I took in order:

1. Get a 3D Touch sensor from Geeetech
2. Print a mount for the 3D Touch sensor that is compatible with the Zonestar 3d Touch sensor
This actually can be found on the www.zonestar3d.com website. Url: https://drive.google.com/file/d/1xtvHDd ... sp=sharing. See picture how to place this mount.
3. After confirmation the mount fitted I installed the 3D Touch sensor without connecting it
4. Extend the 3D Touch cables by using jumper/dupont cables female / female at least 70cm long. You need 5 cables, 3 for the servo and 2 for the Z- cable from the 3D Touch sensor. The other parts are in the package to install it.
4. Detach the existing Z- plug from the board, if you have the Auto level sensor (the blue proximity sensor sold with this 3d printer or as option) remove this also
5. Attach the white and black cables from the 3d touch to the board on the Z- interface (see wiring picture)
6. Attach the servo cables from the 3d touch to the board on the AUX1 interface (see wiring picture)
7. Zonestar switched from Repetier to Marlin in august 2018 and luckily it supports BLTOUCH/3DTOUCH. So the firmware must be updated and the only option for this is compiling the firmware yourself and upload it to the board
8. Download the firmware from https://drive.google.com/file/d/12pXbT8 ... sp=sharing if you need help how to use ardiuno firmware updates see https://drive.google.com/file/d/0B9Z1Db ... sp=sharing
9. When the firmware is extracted we need to make changes to make it work for the P802QR2, here is the list of changes:
9.1 config.h:

Code: Select all

#define	MODEL_NUMBER		P802QR2_5KEY
9.2 config.h: find

Code: Select all

#elif (MODEL_NUMBER == P802QR2_5KEY)
rule, here are the default settings for this printer and we need to make some adjustmens
9.2 config.h: within the

Code: Select all

#elif (MODEL_NUMBER == P802QR2_5KEY)
part, change:
9.2.1

Code: Select all

#define X_MIN_POS           -10
needs to be changed to -20 (to center the 1st nozzle to the center of the bed)
9.2.2

Code: Select all

#define Y_MIN_POS           -5
needs to be changed to -3 (to center the 1st nozzle to the center of the bed)
9.2.3

Code: Select all

#define Z_SAFE_HOMING
(this needs to be added because the home axis are making the 3d Touch sensor move outside the bed and it fails and will crash your printer if not set!)
9.2.4

Code: Select all

#define	BLTOUCH	
(this needs to be added to make the firmware know it has bltouch/3dtouch support)
9.2.5

Code: Select all

#define	X_PROBE_OFFSET_FROM_EXTRUDER	35
(this needs to be added to let the firmware know the X offset between the 3dtouch probe and the nozzle's is 35 mm)
9.2.6

Code: Select all

#define	Y_PROBE_OFFSET_FROM_EXTRUDER	
0 (this needs to be added to let the firmware know the Y offset between the 3dtouch sensor and the probe is 0 mm)
9.2.7

Code: Select all

#define	Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
(this needs to be added to let the firmware know the Z- sensor is replaced with a 3d touch sensor
9.3 pins_ZRIB.h needs one adjustment as well, look for the line #if defined(IS_ZRIB_V5)
9.3.1

Code: Select all

#define SERVO0_PIN       20	//XS1(AUX3) Pin1  
(this line is normally set to 42, but the ZRIB 3.1 board has D20 as PIN for the servo, see wiring picture)
10. Compile and upload the software to the board. (attach the USB to the PC and set the correct driver and COM port, see www.zonestar3d.com downloads for details, there are instructions somewhere on the site)
11. After the firmware update is succesfull the Z offset should be adjusted. I followed the guide from https://www.youtube.com/watch?v=y_1Kg45APko (my Z offset was -2.80)
12. Make a test by home all (If you're not confident keep close to the power plug and shut it down if a clash is coming)
13. Using any tool that can send Gcode to the printer (ardiuno terminal monitor or pronterface) send a G28 and then a G29, it should home and level.
14. If all above steps are succesfull make you're first print
15. Enjoy your new configuration!

Hope this helps anyone going trough the same process!

Re: 3D Touch installation on a Zonestar P802QR2

Posted: Sat Jan 12, 2019 1:06 am
by _kaktus_
Hello.
:mrgreen:

A super tutorial. :D It is a pity that he is not able to try it. :roll:

Also make it available on the forum of your printer, maybe it will have more readers.