Author Archives: andrew

Ubuntu 12.4 Enable SSH Service

s

To install the openssh-server package run the command below in console. sudo apt-get install openssh-server Once installed, the SSH service should start automatically. If necessary, you can start the service using the command. sudo service ssh start

Uncategorized Leave a comment

Z Axis drops after completing job

s

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 […]

CNC Mill Leave a comment

Reporting endstop status

s

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 […]

CNC Mill Tagged , , , , Leave a comment

Simple Box G Code

s

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 […]

CNC Mill Tagged , , , Leave a comment

Marlinfw Homing Direction

s

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 […]

CNC Mill Tagged , , , Leave a comment

Stepper Motor Control Service

s

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] […]

PiWars2017 Tagged , , , Leave a comment

Pairing PS3 Controller with Raspberry Pi

s

We used WIFI to control our 2015 Pi Wars robot. Using WIFI was a big mistake. On the day of the competition, there was too much interference and lag. We have learnt from our mistakes. This time we will be using Bluetooth. We have connected a USB Bluetooth dongle to the Raspberry Pi and using […]

Uncategorized Leave a comment

Moving Forwards

s

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 […]

PiWars2017 Tagged , , , Leave a comment

Configuring a Static IP Address on the Raspberry Pi

s

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

PiWars2017 Tagged , , , , , Leave a comment

Preparing for Battle

s

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 […]

PiWars2017, Projects Tagged , , Leave a comment