Servo Motor Help June 13, 2014 10:08PM |
Registered: 10 years ago Posts: 67 |
Re: Servo Motor Help June 13, 2014 10:19PM |
Registered: 10 years ago Posts: 814 |
Re: Servo Motor Help June 13, 2014 10:20PM |
Registered: 10 years ago Posts: 67 |
Re: Servo Motor Help June 13, 2014 11:02PM |
Registered: 10 years ago Posts: 229 |
git clone [github.com] Smartrap
Re: Servo Motor Help June 13, 2014 11:15PM |
Registered: 11 years ago Posts: 791 |
Re: Servo Motor Help June 13, 2014 11:18PM |
Registered: 10 years ago Posts: 814 |
Re: Servo Motor Help June 13, 2014 11:25PM |
Registered: 10 years ago Posts: 67 |
Re: Servo Motor Help June 13, 2014 11:33PM |
Registered: 10 years ago Posts: 229 |
Re: Servo Motor Help June 13, 2014 11:37PM |
Registered: 10 years ago Posts: 67 |
Re: Servo Motor Help June 13, 2014 11:55PM |
Registered: 10 years ago Posts: 229 |
Re: Servo Motor Help June 19, 2014 06:07AM |
Registered: 9 years ago Posts: 80 |
Re: Servo Motor Help June 19, 2014 09:59AM |
Registered: 10 years ago Posts: 67 |
Re: Servo Motor Help June 19, 2014 12:30PM |
Registered: 10 years ago Posts: 229 |
#define Z_PROBE_OFFSET_FROM_EXTRUDER 2.2
Re: Servo Motor Help June 19, 2014 12:59PM |
Registered: 10 years ago Posts: 814 |
Re: Servo Motor Help June 19, 2014 06:56PM |
Registered: 11 years ago Posts: 791 |
Quote
madmike8
Z offset.
Mark the spot on the bed.
Maneuver your nozzle over the spot and lower till it just touches the glass. Raise it .1 or until a piece of paper just slides under it.
Set Z to 0 using M555 Z0
Maneuver your probe over the spot.
M401 lowers the Z probe.
Lower the Z axis testing the Z Endstop after each step for triggered using M119
After it triggers use M114 to get the location of the Z axis
Set the Z offset with M555 Zx where x was the number listed for Z with the M114 command
i.e. M555 Z15.5
Use M500 to store the value on the EEPROM.
M402 raises the probe.
I added buttons in Ponterface for Lowering Probe, Raise Probe, Save to EEPROM. Test Probe Spot, Test Nozzle Spot
That makes life easier.
Since there is some movement with the Z axis on the Smartrap, I have to adjust it every now and again. I usually take the starting Z offset and adjust it up or down .1 at a time using the M555 Zx command till it lays down a nice looking layer. Then use M500 to save it. To skip from doing the whole process again.
Re: Servo Motor Help June 19, 2014 07:30PM |
Registered: 10 years ago Posts: 67 |
Re: Servo Motor Help June 20, 2014 12:53AM |
Registered: 9 years ago Posts: 80 |
Quote
BradStaff
That's not the only thing keeping me from printing. I fried my arduino board and am waiting on a replacement voltage regulator. China mail is taking its time. When I fix that I'll have to fix some hotend voltage problems. My question about the servo motors is how does the code know the distance between the endstop and the hotend so that it prints correctly?
Re: Servo Motor Help June 20, 2014 01:05AM |
Registered: 9 years ago Posts: 80 |
Re: Servo Motor Help June 20, 2014 11:39AM |
Registered: 10 years ago Posts: 814 |
Re: Servo Motor Help June 20, 2014 07:29PM |
Registered: 9 years ago Posts: 80 |
Re: Servo Motor Help June 20, 2014 07:50PM |
Registered: 10 years ago Posts: 814 |
Re: Servo Motor Help August 30, 2014 06:19PM |
Registered: 10 years ago Posts: 11 |
Re: Servo Motor Help August 31, 2014 01:42AM |
Registered: 11 years ago Posts: 791 |
Quote
nitewing76
M-Codes and G-Codes are nice for temporary...on-the-spot adjstments. You should always mimic these changes in the configuration.h through WinMerge or Notepad++. Othersiwse, you could lose all calibration data (e.g. auto-bed level, DEFAULT_AXIS_STEPS_PER_UNIT, etc).
Not really sure why Smartrap says to put the servo on the I2C bus, when, as RegPye pointed out, the board already has places for them. Though this is not a bad idea, if the intent is to prevent the servo wires from interfering with the airflow blowing across the heat-sinks.
Adding a LM7805 is a good idea, but according to the datasheet to ensure a clean signal you’ll need a 0.33uF capacitor between pins 1 and 3, then a 0.1uF capacitor between pins 2 and 3.
MeIT...the RAMPS board doesn’t have a regulator. Do you mean the MOSFETs?
My configuration.h offets:
#define X_PROBE_OFFSET_FROM_EXTRUDER 1.8
#define Y_PROBE_OFFSET_FROM_EXTRUDER -14.1
#define Z_PROBE_OFFSET_FROM_EXTRUDER -5.8
Here is my starting GCode…
G1 Z10.0 F500 ;ensures probe have enough clearance
M400 ;Wait for clearance
M401;deploy probe
G28 X0 Y0;Home X and Y Axis
G90; Set to Absolute Positioning
G29; Probe the bed
G1 Z10.0 F500;Clearance for retraction
M400 ;Wait for cearance
M280 P0 S0;Retract probe
M400;wait
G1 X10 Y10 Z10; Moves close to origin and await proper temp.
Be very cautious when ordering the important stuff (Arduinos, RAMPS, Printrboard, StepSticks, E3D V5/6 clones) from China...ESPECIALLY Geetech!! They are "cheap" because they substitute components of lesser quality and do not always make their boards with the appropriate amount of copper capable of carrying the required amounts of current through the board. The best place to get the Arduino Mega 2560, RAMPS 1.4, and StepSticks is from kbellenterprises on eBay (ships from near St Louis, MO). Botronicz does a better job at soldering, but they sometimes take a week or two to ship from Michigan.
I hope I didn't sound harsh...I'm also watching football.