Commit c713f766 by Luiz H H Bueno

endstops folder

parent 30482290
Pipeline #40434 failed with stage
in 36 seconds
......@@ -13,6 +13,7 @@
* [Bueno Board](electronics01.md)
* [Bueno Mega ISP](bmISP.md)
* [Transducers](transducer.md)
* [Endstops](endstops.md)
<br>
......
......@@ -3,9 +3,7 @@
***-28/08/2018- ***
<br>
***
###My first BIG 3D printer
##My first BIG 3D printer
<br>
......@@ -38,7 +36,7 @@ But the intention was not to print people. Well, limitless actually.
<br>
###ELECTRONICS of the printer:
##ELECTRONICS of the printer:
the wiring of the nema23 with 8 wires was somehow simple. I had to solder the white-red to the white-blue, since blue and red are a coil. Same for the white-green white-black, soldered them together and in the stepper driver had them as another coil. But, since I had to invert the stepper motors to work inverted (since they’re in mirror position), The green wire of one stepper joined the black of the other and the black with the green. These mixed wires make a coil (A) and the Blue and the Red (B) were not mixed, straight red from one side with red from the other side, blue with blue, and these another coil (B as already mentioned).
......@@ -58,12 +56,17 @@ The resistence will vary depending on the size of the coil and the gauge (AWG) o
I'm writing a diary of the printer. It is on paper. I like writing. I'll eventually
post images of the pages. Not necessarily lazy but in fact because I like to show off when the calligraphy comes out clean ;)
### G-Codes:
I was researching about Absolute and Relative G-code commands ("G90" for Absolute and "G91" relative) and I've found this:
https://www.simplify3d.com/support/articles/3d-printing-gcode-tutorial/
https://reprap.org/wiki/RAMPS_1.4
###OctoPi - OctoPrint
I'm using a Raspberry Pi to connect remotely to the printer.
You go to this address and connect to your printer:
http://octopi.local/
https://www.raspberrypi.org/forums/viewtopic.php?t=86253
### Purchase:
## Purchase:
-Tomorrow I'm driving to these guys to check out their metal sheet materials:
[Denmaysteel](
......@@ -76,16 +79,31 @@ goods
-I'm looking at these guys to buy some Nylon:
[theplasticshop](https://www.theplasticshop.co.uk/nylon-66-rod-5mm-6mm-8mm-10mm-12mm-16mm-20mm-25mm-30mm-32mm-36mm-diameter.html)
I got a TITAN extruder from the guys of E3D:
https://e3d-online.com/titan-extruder
This guys do recycling of PET into Filament in Spain:
https://bpetfilament.com/
-
###MARLIN
##MARLIN
###Configuration.h
229 - #define POWER_SUPPLY 0 // Later Include the PS_ON, it's the Emergency switch, I guess.
338 - // PID Tuning Guide here: http://reprap.org/wiki/PID_Tuning
475 - #define USE_ZMIN_PLUG // Turned this off for Z-Probe - Turned it back on due to error!
497 - #define Z_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. I had to turn it back to TRUE. False gave error!
501 - #define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the probe. -- I set to TRUE for Zprobe. Not sure. Set to False now*
611 - //#define Z_MIN_PROBE_ENDSTOP // Why is this commented?
631 - #define FIX_MOUNTED_PROBE // Inductive z sensor
688 - #define X_PROBE_OFFSET_FROM_EXTRUDER 47 // X offset: -left +right [of the nozzle] // Offset Zprobe
724 - #define Z_PROBE_OFFSET_RANGE_MIN -40 // was 20
725 - #define Z_PROBE_OFFSET_RANGE_MAX 40 // was -20
753 - #define INVERT_X_DIR true // Was false and Axis was going opposite direction of Endstop
754 - #define INVERT_Y_DIR true // SO WEIRD! Sometimes works one direction, then another.
755 - #define INVERT_Z_DIR false // Maybe this one to **true** also?
......@@ -139,17 +157,54 @@ I'm trying to change it to ((X_BED_SIZE) * 0.8)
For Y I'm also doing it. THis basically takes care that Z probe is not outside of the bed.
###GCODES
###HINTS in Marlin:
JERK:
20% ~ the speed of your average print; If you're printing at 30mm/s, 6-10mm/s^2.
Acceleration:
###Configuration-adv.h
1361 - #define PINS_DEBUGGING // I uncommented it cause I couldnt move anything by starting PrintRun/Pronterface
Then use the command M43 E1 to monitor them.
##GCODES
I was researching about Absolute and Relative G-code commands ("G90" for Absolute and "G91" relative) and I've found this:
https://www.simplify3d.com/support/articles/3d-printing-gcode-tutorial/
M43 E1 ; MOnitor pins - Endstops basically
M84 XY ; Disable X and Y steppers. Dont want to disable Z!
G92 E0 ;zero the extruded length
M119 - Tests the Endstops (Open or closed)
M106 S127 ; Fan On, Snn, S255 Max, S0 Min, S127 middle speed.
M107 ; Fan Off
M302 ; report current cold extrusion state
M302 P0 ; enable cold extrusion checking
M302 P1 ; disable cold extrusion checking
M302 S0 ; always allow extrusion (disable checking)
M302 S170 ; only allow extrusion above 170
M302 S170 P1 ; set min extrude temp to 170 but leave disabled
M303 E0 S200 C8 ; PID AUTO TEST
<br>
......@@ -170,7 +225,33 @@ E - to be measured.
Run a print test tomorrow.
Run also the PID test.
M303 E0 S200 C8 ;
Results of Auto PID tune:
PID Autotune start
bias: 103 d: 103 min: 198.55 max: 202.86
bias: 97 d: 97 min: 198.26 max: 202.63
bias: 89 d: 89 min: 198.82 max: 202.23 Ku: 66.34 Tu: 21.46
Classic PID
Kp: 39.80 Ki: 3.71 Kd: 106.79
--
c - #define DEFAULT_Kp 55.80
c - #define DEFAULT_Ki 6.03
c - #define DEFAULT_Kd 129.15
<br>
##SOLUTOINS:
-**Parallel heating elements**
It worked out greatly. The Current peak increased obviously to heat up but also the speed to reach the aim temp.
I am using 2 heating elements with only one thermistor. For lack of time, I used 2 heating blocks (Alu) put together
-**PCB milling for wiring Drivers to Axis (4 wires, Gnd, Enable, Direction, Step)**
-**PCB milling of end stop with 5k - 10k ohms. Both resistors work**
In the X i was having problems with interference so I used 5k ohms instead of 10k. The real problem was actually that the wires were wrapped together with the ones of the X axis stepper and that coused interference. Now analyse is the 5k is problematic in the future.
<br>
......
# Endstops:
<br>
***
###Endstops are easy to be done, if you own a CNC milling machine - *15th September 2018*
- [x] Started
- [x] On-Going
- [x] Fully-Functional
- [x] Open-Source
<br>
**<a href="https://drive.google.com/open?id=1yABH1iFlhftFxC1srioyPu9kLbpewv1S">Endstops Eagle Files and PNGs</a>** <<-- Click here
<br>
<center><img src="media/endstops/endstop02.jpg" alt="endstop02" style="width:100%;"></center>
<center><img src="media/endstops/endstop01.jpg" alt="endstop01" style="width:100%;"></center>
<center><img src="media/endstops/endstop03.jpg" alt="endstop01" style="width:100%;"></center>
<center><img src="media/endstops/endstop04.jpg" alt="endstop01" style="width:100%;"></center>
<br>
These capacitive sensors read magnetic materials great! Mild-Steel is great, Aluminium works well also.
They come with 3 wires, Gnd, VCC and Signal. For signal it needs 5V, for Gnd and VCC 12V.
<br>
<b>Below<b> is the quick and dirty prototyping we did for the B-va CNC. It worked so I cleaned it up.
<center><img src="media/endstops/endstop05.jpg" alt="endstop01" style="width:100%;"></center>
<br>
<br>
Note the <b>10K<b> ohms used for the PullUp resistor!
<br>
<br>
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
<br>
___
[home](http://luizbueno.fabcloud.io/me/)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment