Difference between revisions of "Task 311 - Linear drill with spinning bit"

From Lofaro Lab Wiki
Jump to: navigation, search
(Hookups)
(Limit switches and buttons)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
=Software=
 
=Software=
[http://files.lofarolabs.com/projects/explus/explus-drill-task-311_latest.zip Download Latest Software Here (explus-drill-task-311_latest.zip]
+
[http://files.lofarolabs.com/projects/explus/explus-drill-task-311_latest.zip Download Latest Software Here (explus-drill-task-311_latest.zip)]
  
 
=Schematic=
 
=Schematic=
Line 13: Line 13:
 
* Lim switch connected between 5V and Y-Lim input (not ground)
 
* Lim switch connected between 5V and Y-Lim input (not ground)
 
* Lim switch connected between 5V and X-Lim input (not ground)
 
* Lim switch connected between 5V and X-Lim input (not ground)
 +
* X and Y axises should be in full step mode
 +
* All names of the CNC xPro are labeled in the picture above and on the physical board
  
 
==Drill motor attached to Y axis==
 
==Drill motor attached to Y axis==
Line 29: Line 31:
 
* + high 12-24v on + input
 
* + high 12-24v on + input
 
* - low of 12-24v on - input
 
* - low of 12-24v on - input
 +
 +
=Calibration=
 +
Edit the following values to calibrate the system
 +
 +
* Move to 6 inches without bit spinning - after this point bit will spin
 +
** var:  double des_dist = -6.0;
 +
** units: inches
 +
** notes: distance from home (must be negative)
 +
* Move to end point (in reference to home position
 +
** var: double des_dist_2 = -10.0; 
 +
** units: inches
 +
** notes: distance from home (must be negative)
 +
* Time to stay at end point while spinning bit
 +
** var: double des_time = 15.0;
 +
** units: seconds
 +
** notes: will spin at this point until des_time has elapsed.  System will the return to home and reset the system for another run.
  
 
=Requirements=
 
=Requirements=
Line 51: Line 69:
 
** see note above
 
** see note above
 
* (calibration on full system needed - explus dependent) Final system calibration
 
* (calibration on full system needed - explus dependent) Final system calibration
 +
 +
 +
 +
=Video=
 +
<html>
 +
<iframe width="560" height="315" src="https://www.youtube.com/embed/FPdLg6D31sc" frameborder="0" allowfullscreen></iframe>
 +
</html>

Latest revision as of 15:18, 17 December 2015

Software

Download Latest Software Here (explus-drill-task-311_latest.zip)

Schematic

Explus-task-311-schematic.jpg

CncXpro.jpg

Hookups

Limit switches and buttons

  • 10k res between ground and Y lim
  • 10k res between ground and X lim
  • Lim switch connected between 5V and Y-Lim input (not ground)
  • Lim switch connected between 5V and X-Lim input (not ground)
  • X and Y axises should be in full step mode
  • All names of the CNC xPro are labeled in the picture above and on the physical board

Drill motor attached to Y axis

  • A1 = Red = A+
  • A2 = White = A-
  • B2 = Black = B-
  • B1 = Yellow = B+

Drill bit motor attached to X axis

  • A1 = Red = A+
  • A2 = Green = A-
  • B2 = Yellow = B-
  • B1 = Blue = B+

Power

  • + high 12-24v on + input
  • - low of 12-24v on - input

Calibration

Edit the following values to calibrate the system

  • Move to 6 inches without bit spinning - after this point bit will spin
    • var: double des_dist = -6.0;
    • units: inches
    • notes: distance from home (must be negative)
  • Move to end point (in reference to home position
    • var: double des_dist_2 = -10.0;
    • units: inches
    • notes: distance from home (must be negative)
  • Time to stay at end point while spinning bit
    • var: double des_time = 15.0;
    • units: seconds
    • notes: will spin at this point until des_time has elapsed. System will the return to home and reset the system for another run.

Requirements

Script Requirements

  • (done) Start input: button push
  • (done) Motor 1 (drill) travels from home position towards end position
  • (done) Travel speed ∼ 1.0 in/sec
  • (done) When drill reaches 6 inches from end of path motor 2 (drill bit) starts to spin Motor 2 spinning speed to be calibrated on site
  • (calibration on full system needed - explus dependent) Motor 2 spinning speed should be without “wobble”
  • (calibration on full system needed - explus dependent) While spinning motor 1 travels to end of path
  • (done) Motor 1 remains at end position for 15 seconds Motor 2 stops and motor 1 returns to home position System restarts on next “Start input”

Setup Requirements

  • (done) Program motor controller (CNC xPro)
  • (done) Wiring schematics for motor 1, motor 2, home switch, start button, and power Access to source code (online)
  • (done) Tutorial on setup and calibration (online)

Test Requirements

  • (done) Ensure power supply and motors meet power requirements
    • current power supply will not adjust to the desired 12V
  • (done) Test to ensure all parts are working
    • see note above
  • (calibration on full system needed - explus dependent) Final system calibration


Video