Archive for the Category: Projects

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 be set to zero to […]

Also posted in CNC Mill Leave a comment

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. Click the Connect button Enter […]

Also posted in CNC Mill Tagged , , , , Leave a comment

Simple Box G Code

Goal The goal of this procedure is to draw a simple box 10x10mm. Relevant Marlin 3D Printer Firmware running on Arduino Mega with RAMPS 1.4 shield. Controlled via Pronterface. Procedure The procedure below is a simple gcode example that will show how to draw a simple 10mm box. Create a text file with the following […]

Also posted in CNC Mill Tagged , , , Leave a comment

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 set the homing direction towards […]

Also posted in CNC Mill Tagged , , , Leave a comment

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], [0,1,1,0], [0,0,1,0], [0,0,1,1], [0,0,0,1], [1,0,0,1] […]

Also posted in PiWars2017 Tagged , , , Leave a comment

Moving Forwards

Our robot is alive and moving. At the heart of the Team Seaford robot control is the ServiceIo class. The ServiceIo class is responsible for controlling the four drive motors. Each motor is connected to a H bridge motor controller. The H bridge controllers require two inputs per motor. The inputs control the direction of […]

Also posted in PiWars2017 Tagged , , , Leave a comment

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 Raspberry Pi. In this example, […]

Also posted in PiWars2017 Tagged , , , , , Leave a comment

Preparing for Battle

This year Team Seaford will be competing in the non-destructive robot competition Pi Wars 2017, where robot controlled by Raspberry Pi’s will compete in a range of robotics challenges. The brains for this years robot will be the Raspberry Pi Zero that we won in Pi Wars 2015. Please, follow our progress as we build […]

Also posted in PiWars2017 Tagged , , Leave a comment