Laser Electronics: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 7: Line 7:


[[File:Laser_electronics.jpg|200px]]
[[File:Laser_electronics.jpg|200px]]
[[File:Laser_driver.jpg|200px]]
[[File:Laser_Swtch_wiring.jpg|200px]]
[[File:Lasor-switches.jpg|200px]]
===Laser control board pinout===
Left Header: (Top to Bottom)
* GND (Shield)
* SW_1 (Yellow)
* SW_2 ( Green)
* SW_4 (Blue)
* SW_8 (Lt Purple)
* Disable (Lt Brown)
* ...
Top Header: (left to right)
* Output to LEDs
* PWM output to laser tube (2 pins - black, red)
Bottom Header: (Left to right)
* Laser EN (Black)
* ...
* (I/O to parallel port here)
Right Header: (Top to bottom)
*...
* (Power Input & output to stepper driver)
=== Proposed Laser Power Control Modification ===
A small board will be added into the laser which muxes the digital and switches, using the inputs to the PIC where the switches used to go.
[[File:Laser_power.jpg|200px]]
====Removal====
* To remove the board, simply remove it - all connections are screw terminals
* connect all the switch cables back into the original connectors, and pin 1 of the parallel port to the LASER_EN pin.
** All relevant pinouts have been documented on this page.
* Remove or cap off the unused parallel port pins (pins 8,9,16)
====Impact====
* Workflow will not change. Same commands (M62/M63) are used to toggle power.
* Fails-safe - If switch is in wrong mode, will cut at lowest power setting.
====Usage====
The HAL file driving the laser will be modified to take spindle speed (default = 1), converting to binary, setting 4 LSB gated with the same M62/M63 P0 commands to power on/off laser. To use this, the following would be done:
* Mode switch set to "Auto" mode
* M3 S''N'' where ''N'' is an integer from 1 through 15, to indicate laser power level desired.
====Future changes====
* need to increase laser PWM and switch polling rate. This will allow for in-line rastering of 4-bit images, which would be awesome. (Modifications not yet fully scoped.)
====Schematics====
[[File:Laser_power_mod.pdf]]
==== Laser Power controller board pinout ====
Long header:
* yellow = switch input
* blue = parallel input
* green = output to PIC (where switches used to go)
Top header:
* Pin 1 (Orange wire) LASER_EN
* Pin 3,4 - (Purple) Mode Switch
* Pin 5 - Ground
* Pin 6 - 5V


=== Code ===
=== Code ===

Navigation menu