Difference between revisions of "Task 311 - Linear drill with spinning bit"
From Lofaro Lab Wiki
(→Hookups) |
(→Test Requirements) |
||
Line 67: | Line 67: | ||
** 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= | ||
+ | <iframe width="420" height="315" src="https://www.youtube.com/embed/FPdLg6D31sc" frameborder="0" allowfullscreen></iframe> |
Revision as of 15:03, 21 November 2015
Contents
Software
Download Latest Software Here (explus-drill-task-311_latest.zip
Schematic
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)
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
<iframe width="420" height="315" src="https://www.youtube.com/embed/FPdLg6D31sc" frameborder="0" allowfullscreen></iframe>