Author Archives: andrew

Z Axis drops after completing job

      No Comments on Z Axis drops after completing job

Symptoms CNC machine Z Axis drops after completing job. Relevant Marlin 3D Printer Firmware running on Arduino Mega with RAMPS 1.4 shield. Controlled via Pronterface. Procedure The steppers motors will shut down DEFAULT_STEPPER_DEACTIVE_TIME seconds after the last move when DISABLE_INACTIVE_? is true. Individual axis can be disabled or DEFAULT_STEPPER_DEACTIVE_TIME can… Read more »

Reporting endstop status

      No Comments on Reporting endstop status

Symptoms CNC machine reports incorrect end stop trigger. Relevant Marlin 3D Printer Firmware running on Arduino Mega with RAMPS 1.4 shield. Controlled via Pronterface. Procedure The status of the end switches can be checked using the command M119. The procedure below explains how to check the status of the switches…. Read more »

Marlinfw Homing Direction

      No Comments on Marlinfw Homing Direction

Symptoms CNC machine homes in the wrong direction. Relevant Marlin 3D Printer Firmware running on Arduino Mega with RAMPS 1.4 shield. Procedure The direction of travel when homing is configured in the configuration.h using the settings X_HOME_DIR, Y_HOME_DIR and Z_HOME_DIR in the section ENDSTOP SETTINGS. A value of -1 will… Read more »

Stepper Motor Control Service

      No Comments on Stepper Motor Control Service

Today I have been busy developing a stepper motor service class. The service class will allow the Team Seaford robot to play crazy golf. import RPi.GPIO as GPIO import time class ServiceStepMotor: PinPhase1 = 14 PinPhase2 = 15 PinPhase3 = 17 PinPhase4 = 16 Steps = [ [1,0,0,0], [1,1,0,0], [0,1,0,0],… Read more »

Configuring a Static IP Address on the Raspberry Pi

A static IP address will ensure that the Raspberry Pi will always have the same IP address. Without a static IP address the DHCP service on your router will randomly assign IP addresses from its IP range. A fixed IP address will make it easier to remotely connect to the… Read more »