The current project was designed to reduce the wiring harness of the printer nozzle assembly. The project started in June 21 and has three versions. It has been used for more than half a year and no obvious problems have been found.
1. Project composition
The microcontroller used in this project is ATSAM4S8C, which is the same as the duet2 maestro motherboard. It also integrates ADXL345 and HTU21D, onboard TMC2209, and onboard RGB control.
2. Precautions for use
1. The socket connected to the Raspberry Pi is 6PIN, including 2 24V, 2 USB data, 1 Z Endstop, and 1 empty pin. The GND line in the Raspberry Pi USB cable group needs to be connected to the 24V ground wire for a common ground.
2. Pay attention to the positive and negative poles of the fan when wiring
3. Because the temperature drift of PL08N is too large, this project uses 3DTouch. If you need to use PL08N, connect the signal line to ZStop and connect the power supply to 24V 4.
There are 5 wires when wiring 3Dtouch, 2 of which are GND, and you can connect one of them
3. Original purchase suggestions
1. It is recommended to buy second-hand microcontrollers on Xianyu, about 10 yuan each. (Brand new on Taobao: https://item.taobao.com/item.htm?spm=a1z0k.7386009.0.d4919233.7ae137dega3F5Q&id=610910453107&_u=t2dmg8j26111)
Brand new on Taobao is about 18 yuan: https://item.taobao.com/item.htm?spm=a1z0k.7385961.1997985097.d4918997.3a3d37deOzY3YE&id=610910453107&_u=t2dmg8j26111
2. 6pin interface Taobao: https://detail.tmall.com/item.htm?id=609374021359&spm=a1z09.2.0.0.40ac2e8doxIkJO&_u=f21sa6q08f9e
3. Sensor Taobao: https://item.taobao.com/item.htm?spm=0.0.0.0.dcubLO&id=522574250216
https://item.taobao.com/item.htm?spm=0.0.0.0.53LUE4&id=536704322822
https://item.taobao.com/item.htm?spm=0.0.0.0.Tlh2v3&id=581005600297
4. The rest of the components can be purchased directly from LiChuang.
5. 6-core cable (3 meters long, stable signal):
https://item.taobao.com/item.htm?spm=a1z09.2.0.0.78882e8dg8YInG&id=647663196605&_u=g21sa6q04e66
4. Computer effect diagram
5. Build screenshots


First burn method: Short ERASE, then power on. Wait for 5 seconds and then turn off the power. Then connect the USB to the computer, open BOSSA, and burn according to the configuration diagram