<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://old.hacdc.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=James</id>
	<title>HacDC Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://old.hacdc.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=James"/>
	<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php/Special:Contributions/James"/>
	<updated>2026-05-07T13:03:46Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13487</id>
		<title>Cheap Chinese Laser</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13487"/>
		<updated>2017-06-27T03:27:22Z</updated>

		<summary type="html">&lt;p&gt;James: 6/22 update&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cheap Chinese Laser]]&lt;br /&gt;
&lt;br /&gt;
This is the page dealing with the [[Cheap Chinese Laser]] at [https://www.hacdc.org HacDC] in the upstairs room at St. Stephen and the Incarnate church in Washington, DC.  This page replaces [[PA LaserCutter]] page from some years ago.  It had high ideals, but poor execution.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
HacDC has a K40, 40W, CO2, water cooled, laser for CNC cutting of various materials, aka a cheap Chinese laser.  It allegedly used to work just fine, but someone decided that wasn&#039;t good enough so she ordered and halfass installed some new parts that only halfass work.  After our intrepid hero, [[user:James|James]], fullyassed the installation of the new parts, the laser still only halfass worked.  [[user:Tom|Tom]] was railroaded into helping with the software, but even so the dynamic duo couldn&#039;t get the damn thing to work.  Then one day at work, boredom struck in a meeting and James had the idea to create this wiki page to guide others through the confusion and misinformation that plagues most equipment at HacDC and often results in subpar operation.  I beseech you, dear reader, to continue your edification on our topic at hand and become your own evil archvillain with laser powers.  (Sharks sold separately.)&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
===Chassis===&lt;br /&gt;
The chassis is the laser itself, the blue metal box with 3 flip up lids.  The main lid users deal with is for the cutting chamber on the left front of the machine.  It includes an orange plastic window.  The cutting chamber contains the transverse and longitudinal axes, aka x and y.  X goes left to right, and y goes back to front.  The material to be cut goes in this chamber.  The second flip up lid is for the controls and power supplies chamber.  This lid contains the front panel controls and indicators.  There are two control boards, the Smoothie board and the K40 ACR plug-and-play board which connects the Smoothie board to the machine hardware.  There are two power supplies as well, the control powersupply which is right below the control boards and the high-voltage (and I mean real high voltage, like around 15kV, not those nambypamby B.S. 120VAC &amp;quot;high voltage&amp;quot; warning labels) laser tube power supply which creates enough voltage to rip the electrons off the CO2 molecules and ionize them and cause them to emit coherent light when the electrons get back together with their matching CO2 ions.  For more about this exciting process, read a science book.  The third lid covers the laser tube chamber at the back of the chassis.  You don&#039;t really need to mess with these last two lids unless you are modifying the equipment or troubleshooting a failure.  All the lids have interlock switches and the laser will not fire if any one is open (unless you flip the override switch, in which case, it&#039;s your own darn fault for burning out your eye, as we say in Charlotte, &amp;quot;you did it to yourself&amp;quot;).&lt;br /&gt;
===Exhaust===&lt;br /&gt;
The exhaust system sucks smoke from the laser chassis cutting chamber and sends it outside through a window.  It was cobbled together using a fan and housing salvaged from a prior laser cutter and is mostly held together with zipties and metal duct tape.  Seriously.  I&#039;m not kidding.  Actual zipties and duct tape.  (I&#039;d like to give a shout-out to Home Depot for selling me the role of metal tape for only one cent.)  If any part of the whole laser system is going to crap out, this would be a good part to bet on.  It also uses 4&amp;quot; diameter (that&#039;s 105mm for those of you on the metric system) flexible metal clothes dryer exhaust duct to carry the exhaust gasses.  There are custom-made, 3d-printed transiton pieces at the back of the laser chassis which replace the original feeble exhaust system.  Read about them [[K40_Exhaust_Assembly|here]]&lt;br /&gt;
&lt;br /&gt;
===Cooling===&lt;br /&gt;
The cooling system presently consists of a 5 gallon pail in the roller cabinet with a submersible pump.  The water should be replaced with distilled.  (The pump power cord got a new plug.  It stays plugged in much better than the original cheap Chinese plug.)  If the water doesn&#039;t flow, the laser will burnout.  Sadness.  The cooling system presently only works based on the heat capacity of the water in the bucket.  Once the water heats up, you just need to wait for it to cool back down all by itself.  You can read about other people with more sophisticated refrigerated cooling systems, but this was quick and easy, like a virgin on prom night.  Julia has mentioned she&#039;s got some thermoelectric coolers in hiding for this project.  We&#039;ll cross that bridge when we get everything else running first.  The cooling system will have 3 interlocks: low water level, low flow, and high temperature.&lt;br /&gt;
&lt;br /&gt;
===Computer===&lt;br /&gt;
This is CNC equipment.  The first C is for Computer.  (No, not for cookie, but we often have cookies anyway.)  You need a computer with a USB port.  You need computer software.  I hope we can have a computer dedicated to the laser, but let&#039;s be real, that&#039;s not likely to happen.  I hope Tom will fill out this section.&lt;br /&gt;
===Cabinet===&lt;br /&gt;
The cabinet is what the chassis sits on.  The cabinet has wheels.  It&#039;s made of particle board and painted white.  The left door has upper and lower latches inside which hold it shut, so don&#039;t yank on it.  The cabinet houses the cooling system, the 12V accessory power supply, the power strip which all the line voltage equipment plugs into: exhaust fan, cooling pump, laser chassis, 12V power supply (marginal one installed currently to power the cutting chamber accessory lights).&lt;br /&gt;
&lt;br /&gt;
==Safety Interlocks==&lt;br /&gt;
&#039;&#039;&#039;Only some of these safeties are installed presently.&#039;&#039;&#039;  Don&#039;t go futzing around with stuff unless you know exactly what you are doing.  And tell James or Tom.  For troubleshooting purposes, there is a safety override switch on the control panel (middle of three).&lt;br /&gt;
===Ventilation===&lt;br /&gt;
#Exhaust - If the exhaust fan isn&#039;t moving air, we don&#039;t want the laser to fire and make lots of smoke which would then fill the room&lt;br /&gt;
#Lens - Eventually we plan to install an air shroud nozzle around the laser lens to keep smoke from coating the lens and reducing cutting power.&lt;br /&gt;
===Coolant===&lt;br /&gt;
#Level - Installed&lt;br /&gt;
#Flow&lt;br /&gt;
#Temp&lt;br /&gt;
===Doors===&lt;br /&gt;
#Cutting Chamber - Installed&lt;br /&gt;
#Control Chamber - Installed&lt;br /&gt;
#Laser Chamber - Probably not going to install this switch because the door is in back and control panel space is at a premium&lt;br /&gt;
#Cabinet - Probably not going to install this switch because there&#039;s not much harm in the cabinet and control panel space is at a premium&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
===Prestart===&lt;br /&gt;
#Come up with design&lt;br /&gt;
#Create SVG using software like [https://inkscape.org/ Inkscape]&lt;br /&gt;
#Upload SVG to computer&lt;br /&gt;
&lt;br /&gt;
===Startup===&lt;br /&gt;
#Roll cabinet out from under shelf&lt;br /&gt;
#Get extension cord out of cabinet and plug laser into extension cord and extension cord into live receptacle&lt;br /&gt;
#Turn on laser master power switch (power strip inside the wooden cabinet)&lt;br /&gt;
#Close cabinet door&lt;br /&gt;
#Load material to be cut in laser cabinet&lt;br /&gt;
#Shut lid on cutting chamber&lt;br /&gt;
#Turn on laser cabinet power switch&lt;br /&gt;
&lt;br /&gt;
===Operations===&lt;br /&gt;
#Ensure all safety interlocks are operable by checking indicator lights&lt;br /&gt;
##You can skip this step for now since the lights don&#039;t work&lt;br /&gt;
#Do software stuff&lt;br /&gt;
##Connect to LaserWeb server at [http://192.168.26.122:8000/ 192.168.26.122 Port 8000] from HacDC network&lt;br /&gt;
##Clear LaserWeb 4 upgrade warning popup&lt;br /&gt;
##Click on Settings on left edge of page&lt;br /&gt;
##Click on BACKUP at top of setting pane&lt;br /&gt;
##Click on Restore from file&lt;br /&gt;
##Upload [[file:Laserweb-settings-backup.json]] file&lt;br /&gt;
##Click Save&lt;br /&gt;
##Observe messages &amp;quot;Saved Settings&amp;quot; and &amp;quot;Please refresh page for settings to take effect&amp;quot;&lt;br /&gt;
##Refresh webpage&lt;br /&gt;
##Clear LaserWeb 4 upgrade warning popup, again&lt;br /&gt;
##Load SVG file of cutting paths by dragging and dropping into the web browser window&lt;br /&gt;
##Click Generate G-Code (on CAM menu)&lt;br /&gt;
##Click Connect at the top of the webpage&lt;br /&gt;
##If a popup appears, choose Option 1&lt;br /&gt;
##Click Jog on left edge of the window&lt;br /&gt;
##Click home and observe the gantry move to the home position in the far left corner of the cutting chamber&lt;br /&gt;
#Run program without laser powered on to observe tool path and ensure material to be cut in properly arranged in the cutting chamber&lt;br /&gt;
##Click check outline and observe the laser move &lt;br /&gt;
###Check that material is fully under the travel area&lt;br /&gt;
###Check that your design is the size you expect it to be (25.4 for mm)&lt;br /&gt;
###If the size is not right, go to the Settings page and adjust the DPI setting on the Size menu&lt;br /&gt;
#Run program with laser powered on to cut material&lt;br /&gt;
##Click run gcode&lt;br /&gt;
##Watch for things catching fire&lt;br /&gt;
&lt;br /&gt;
===Shutdown===&lt;br /&gt;
#Turn off laser chassis and master power switches&lt;br /&gt;
#Unplug laser and extension cord&lt;br /&gt;
#Coilup and store extension cord&lt;br /&gt;
#Shut cabinet door&lt;br /&gt;
#Roll cabinet back under the shelf&lt;br /&gt;
#Continue with your evil plans for world domination&lt;br /&gt;
&lt;br /&gt;
==Custom Wiring== &lt;br /&gt;
Julia had some LED strips she wanted installed.  We succeeded.  The illuminate when the main power is turned on.&lt;br /&gt;
[[File:Laser-leds1.jpg]]&lt;br /&gt;
&lt;br /&gt;
They are white LEDs but the orange laser viewing window colors them.&lt;br /&gt;
&lt;br /&gt;
[[File:Laser-leds2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sully really likes relays and discrete, analogue circuits, so he jimmied up a bunch of stuff to make it less likely for you to poke your eye out or burn out the laser.&lt;br /&gt;
The laser power supply from the factory takes input from 3 front panel controls: off-on laser switch, momentary-on laser switch, power control potentiometer knob.  The off-on switch was a cheap latching push button which was connected to the leftmost two terminals of the 6 terminal plug with black wires.  It was replaced with an off-on, metal, toggle switch on 3-23-17.  The middle two terminals of the block connect to the momentary on push button switch on the front panel which causes the laser to fire (when the left two terminals are shorted together by the toggle switch).  The right 3 terminals (which overlap with the right center terminal going to the push button switch) connect to the front panel potentiometer which controls the laser current.  Do not turn the knob to full clockwise, because increasing the laser firing current past a certain point doesn&#039;t provide any benefit and just reduces the tube lifespan.  The plan is to parallelize the push button firing switch with a solid-state relay controlled directly by the Smoothie board and bypassing the K40 ACR board (which was supposed to make the Smoothie board plug-and-play, but as mentioned earlier did a halfassed job).  The potentiometer will be connected to a 3PDT switch for computerized or manual power level control.  A PWM to DC circuit will do the automatic control and the original pot will remain for the manual control.&lt;br /&gt;
The safety interlocks are basically a whole bunch of microswitches in series so if any one of them gets tripped the left two pins of the power supply 6 pin connector won&#039;t be shorted together and the laser won&#039;t fire.  There&#039;s also a plan to have lights illuminate to show which safeties are operating properly or tripped.  Plus indicator lights are cool.  And for the remaining manual firing switches we plan on getting those flip-up red covers like in those military movies where they&#039;re firing nuclear missiles and stuff like that.  These would aid in troubleshooting, and look really cool, even if they are kinda spendy.  Man, this is really turning into a wall of text.  Someone should do something about this sometime.  Anyway, schematic drawings would go here, or links to them would go here.&lt;br /&gt;
&lt;br /&gt;
Terminal Block Connections&lt;br /&gt;
#Cutting chamber door safety switch - common&lt;br /&gt;
#Cutting chamber door safety switch - n.o.&lt;br /&gt;
#Cutting chamber door safety switch - n.c.&lt;br /&gt;
#Control chamber door safety switch - common&lt;br /&gt;
#Control chamber door safety switch - n.o.&lt;br /&gt;
#Control chamber door safety switch - n.c.&lt;br /&gt;
#Cooling water level float safety switch - common&lt;br /&gt;
#Cooling water level float safety switch - n.o.&lt;br /&gt;
#Cooling water level float safety switch - n.c.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#12VDC / Cutting Chamber LED positive&lt;br /&gt;
#Hour meter / 12VDC / Cutting Chamber LED ground&lt;br /&gt;
#Hour meter positive &lt;br /&gt;
#Laser fire switch positive - shorts to ground (below) to fire laser&lt;br /&gt;
#Laser power supply power level control potentiometer GND&lt;br /&gt;
#Auto power control voltage divided between +V and GND - connects to auto-hand control panel switch and to PWM-DC converter circuit output&lt;br /&gt;
#Laser power supply power level control potentiometer +V&lt;br /&gt;
&lt;br /&gt;
==Custom Parts==&lt;br /&gt;
Images of custom parts like the exhaust nozzles and eventually a new control panel and source files for 3d printed or laser cut parts can go here.&lt;br /&gt;
&lt;br /&gt;
[[CCL front panel]]&lt;br /&gt;
&lt;br /&gt;
[[Air flow switch holder]]&lt;br /&gt;
&lt;br /&gt;
[[Exhaust nozzle]]&lt;br /&gt;
&lt;br /&gt;
[[Terminal block holder]]&lt;br /&gt;
&lt;br /&gt;
This image is colored for 3d printing using it as a height map: black=0mm, gray=1mm, white=2mm. 174mm wide, 184mm tall.&lt;br /&gt;
The SVG file was created by a Ruby program to modularize the positions and sizes of cutouts for switches, nobs, lamps, etc.&lt;br /&gt;
&lt;br /&gt;
[[file:Control-panel.png]]&lt;br /&gt;
&lt;br /&gt;
==Bill of Materials, a.k.a. Donation Wishlist, and Hardware Store Shopping List==&lt;br /&gt;
#Laser goggles&lt;br /&gt;
#USB A-B cord, i.e. printer cable, which doesn&#039;t suck&lt;br /&gt;
#Solid state relays -- we used [http://www.clare.com/home/pdfs.nsf/www/LBA110.pdf/$file/LBA110.pdf] this one.  --This should move to custom parts and off the wishlist (JS 4-20).&lt;br /&gt;
#Stuff to cut&lt;br /&gt;
##1/8&amp;quot; Baltic birch plywood&lt;br /&gt;
##Plastic sheets, e.g. acrylic&lt;br /&gt;
##Masonite?&lt;br /&gt;
#Cabinet reinforcements&lt;br /&gt;
##dimensional lumber, e.g. 2x4, 2x2, 1x3&lt;br /&gt;
##unidirectional casters&lt;br /&gt;
#Cooling system stuff&lt;br /&gt;
##Distilled water&lt;br /&gt;
##Float switch&lt;br /&gt;
##Thermocouple or thermistor/RTD temperature sensor probe&lt;br /&gt;
##Radiator and fans&lt;br /&gt;
##Solidstate heat pump&lt;br /&gt;
##Working water fountain chiller (for future use on the 100W downstairs)&lt;br /&gt;
##PLC/Microcontroller with A/D inputs for temperature probe conditioning and temp display (advanced task)&lt;br /&gt;
#Green connectors for smoothieboard and laser powersupply [https://www.amazon.com/uxcell-Terminals-Pitch-Mount-Terminal/dp/B00E6Q4FE6/ref=sr_1_9?ie=UTF8&amp;amp;qid=1493691567&amp;amp;sr=8-9&amp;amp;keywords=pluggable+terminal+block+connector]&lt;br /&gt;
&lt;br /&gt;
==To-Do Tasks==&lt;br /&gt;
#Airflow switch housing&lt;br /&gt;
##manufacture&lt;br /&gt;
##install&lt;br /&gt;
#Coolant interlocks&lt;br /&gt;
##Flow sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Temp sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
#Door switches&lt;br /&gt;
##Cabinet door&lt;br /&gt;
##Laser tube chamber door&lt;br /&gt;
#Chassis wiring&lt;br /&gt;
##Wire up the safety switches as they are installed&lt;br /&gt;
##Draw a wiring diagram of custom components&lt;br /&gt;
#CNC firing control - This svg file can be used to test run the laser: [[Laser circle test]]&lt;br /&gt;
##find firing signal on Smoothie board&lt;br /&gt;
##in the config you specify this with laser_module_ttl_pin&lt;br /&gt;
##determine relay requirements&lt;br /&gt;
##purchase and receive relay&lt;br /&gt;
##install firing relay&lt;br /&gt;
#software&lt;br /&gt;
##determine best software to use&lt;br /&gt;
##develop workflows for various programs and operating systems&lt;br /&gt;
##update this page to explain the above&lt;br /&gt;
##We&#039;re gonna use Laserweb I think so setup a RasPi or something as a Laserweb server.&lt;br /&gt;
&lt;br /&gt;
==Completed Tasks==&lt;br /&gt;
If you do work on the laser, please record it here.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Task !! Fixer !! Date !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Create Wiki page || [[user:James|James]] || 3/24/2017 || Ongoing updates needed&lt;br /&gt;
|-&lt;br /&gt;
| Install operational exhaust system || James || 2/2017 || Still needs interlocks&lt;br /&gt;
|-&lt;br /&gt;
| Install cooling system || James || 2/2017 || Air cooling or refrigeration could be added&lt;br /&gt;
|-&lt;br /&gt;
| Connect control power supply to switched mains || James || 3/2017 || Done&lt;br /&gt;
|-&lt;br /&gt;
| Get x and y axis movements working || [[user:Tom|Tom]] || 3/2017 || Firing still needs to be fixed&lt;br /&gt;
|-&lt;br /&gt;
| Replaced cooling pump power cord plug || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed door closure bolts on left cabinet door || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed cutting chamber illumination LEDs and 12VDC powersupply || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Control + interlock circuits design/brainstorm session || James + Tom || 3/27/2017 || See webpages below for Smothieboard help&lt;br /&gt;
|-&lt;br /&gt;
| Mocked up and tested control circuit for PWM from smoothieboard || James + Tom || 3/27/2017 || http://smoothieware.org/laser-cutter-guide&lt;br /&gt;
|-&lt;br /&gt;
| Scoped out various pins on the smoothieboard to find PWM out || James + Tom || 3/27/2017 || http://smoothieware.org/smoothieboard-v1&lt;br /&gt;
|-&lt;br /&gt;
| Removed control panel || James || 3/30/17 || Don&#039;t mess with nothing until a new one gets installed!&lt;br /&gt;
|-&lt;br /&gt;
| Tried to 3d print a new control panel || James || 4/2/17 || Lulzbot Taz either didn&#039;t extrude or made bird poop. :( It&#039;s too bad we don&#039;t have a working laser cutter.&lt;br /&gt;
|-&lt;br /&gt;
| Adjusted program size parameters based on failed print and added ammeter mounting screw holes to control panel design || James || 4/11/17 || Still need to upload new SVG here and print it&lt;br /&gt;
|-&lt;br /&gt;
| Ordered self adhesive cable tie mounting squares and SSR for PWM-&amp;gt; DC || Tom || 4/11/17 || Delivery expected Thursday&lt;br /&gt;
|-&lt;br /&gt;
| Design 3d-printed mounting bracket/clip to hold switches for door interlocks || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Design, breadboard and test PWM circuit with solid state relay and newly determined time constant || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded exhaust nozzle and exhaust flow switch scad files || James || 4/20/17 || Flow switch needs printing and Tom&#039;s nacelle needs dimension tweeking.&lt;br /&gt;
|-&lt;br /&gt;
| Tried printing control panel on the Ultimaker&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; || James || 4/25/17 || Print failed twice, but third time looked good before I left.&lt;br /&gt;
|-&lt;br /&gt;
| Installed control panel 3d printed on Tuesday || James || 4/27/17 || Controls and indicators are installed but not operational, yet.  It looks sweet! Could be thicker, maybe 4mm.  Dimensions could use tweeking too: toggle switches moved down, corner radii reduced,...&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded source code and stl for water level float switch and for terminal block holders.  Installed v5 of door switch holder and soldered wires to switches. || James || 5/1/17 || Still need to print float switch parts and terminal block holders. New parts fit well. A very productive day overall.&lt;br /&gt;
|-&lt;br /&gt;
| Installed terminal block with manually modified v1 terminal block holder parts.  Wired up cutting chamber and control chamber door safety switches.  Connected laser power supply wiring to new control panel switches. || James || 5/4/17 || Need to adjust terminal block holder dimensions and reprint.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded v2 source code and stl for terminal block holder. || James || 5/5/17 || Need to print float switch parts and terminal block holders.&lt;br /&gt;
|-&lt;br /&gt;
| Printed and installed new terminal block holders (v2). Printed new air flow switch and water level float switch head and base. Remodeled exhaust header. || James || 5/6/17 || Holders fit great.  Base, not so much.&lt;br /&gt;
|-&lt;br /&gt;
| Reprinted water level float switch base. Investigated PWM output from Smoothieboard. || James + Tom || 5/7/17 || Pin 4.2 and GND work for PWM signal.  PWM to DC breadboard isn&#039;t working. Laser power supply 5V circuit for safety switches doesn&#039;t have enough current to illuminate the trouble lamps on front panel.&lt;br /&gt;
|-&lt;br /&gt;
| Install float switch. || James || 5/11/17 || Not seeming to function as of 5/14 - remains conductive even when open?&lt;br /&gt;
|-&lt;br /&gt;
| Successful CNC laser firing on circle laser test. || James + Tom || 5/14/17 || Some kind of beam splitting or 2-layer reflection is going on. PWM out can be set using laser_module_pwm_pin in smoothieboard config.&lt;br /&gt;
|-&lt;br /&gt;
| Setup the auto-man power level control switch. General stuff. || James + Tom || 5/28/17 || We&#039;ve got some stray AC current in the case.&lt;br /&gt;
|-&lt;br /&gt;
| Installed RasPI as webhost. Replaced USB cable. || James + Tom || 6/4/17 || [http://192.168.26.122:8000/ Laserweb server], from HacDC network&lt;br /&gt;
|-&lt;br /&gt;
| Test cut Pepe the frog on opaque acrylic with painters tape mask. || James + [[user:Andrew|Andrew]] || 6/5/17 || Auto fire signal still isn&#039;t working.&lt;br /&gt;
|-&lt;br /&gt;
| Added circuitry to breadboard to automate the firing signal. || James || 6/6/17 || Will test on Thursday.&lt;br /&gt;
|-&lt;br /&gt;
| Test fire was successful. Operations section updated. || James || 6/8/17 || Fully automatic operations achieved! &lt;br /&gt;
|-&lt;br /&gt;
| Unsuccessful work to connect hour meter. || James || 6/11/17 || Don&#039;t use laser for now.  I&#039;m waiting on some parts to make a soldered accessory board.&lt;br /&gt;
|-&lt;br /&gt;
| Strip boards arrived and I fabbed a circuit card to control the power, fire the laser, and drive the hour meter.  It still needs to be connected and tested. || James || 6/17/17 || Don&#039;t use laser for now.  Accessory board needs testing.&lt;br /&gt;
|-&lt;br /&gt;
| After several rounds of testing, the problem with the board is still undetermined.  SSRs might be fried.  Tom is researching bulk buy. Thanks, Tom.|| James || 6/22/17 || Laser only works with manual fire and power control.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Additional Reading==&lt;br /&gt;
#[http://howell.seattle.wa.us/essays/lasercutter.shtml Laser blog]&lt;br /&gt;
#[https://www.reddit.com/r/lasercutting/wiki/k40 Reddit K40 wiki]&lt;br /&gt;
#[http://www.lightobject.com/Default.aspx Light Object laser retailer]&lt;br /&gt;
&lt;br /&gt;
[[Category:Equipment]]&lt;br /&gt;
[[Category:LaserCutter]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:Ongoing Projects]]&lt;br /&gt;
[[Category:Project Awesome]]&lt;br /&gt;
[[Category:CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13480</id>
		<title>Cheap Chinese Laser</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13480"/>
		<updated>2017-06-19T04:42:06Z</updated>

		<summary type="html">&lt;p&gt;James: 6-17 update&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cheap Chinese Laser]]&lt;br /&gt;
&lt;br /&gt;
This is the page dealing with the [[Cheap Chinese Laser]] at [https://www.hacdc.org HacDC] in the upstairs room at St. Stephen and the Incarnate church in Washington, DC.  This page replaces [[PA LaserCutter]] page from some years ago.  It had high ideals, but poor execution.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
HacDC has a K40, 40W, CO2, water cooled, laser for CNC cutting of various materials, aka a cheap Chinese laser.  It allegedly used to work just fine, but someone decided that wasn&#039;t good enough so she ordered and halfass installed some new parts that only halfass work.  After our intrepid hero, [[user:James|James]], fullyassed the installation of the new parts, the laser still only halfass worked.  [[user:Tom|Tom]] was railroaded into helping with the software, but even so the dynamic duo couldn&#039;t get the damn thing to work.  Then one day at work, boredom struck in a meeting and James had the idea to create this wiki page to guide others through the confusion and misinformation that plagues most equipment at HacDC and often results in subpar operation.  I beseech you, dear reader, to continue your edification on our topic at hand and become your own evil archvillain with laser powers.  (Sharks sold separately.)&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
===Chassis===&lt;br /&gt;
The chassis is the laser itself, the blue metal box with 3 flip up lids.  The main lid users deal with is for the cutting chamber on the left front of the machine.  It includes an orange plastic window.  The cutting chamber contains the transverse and longitudinal axes, aka x and y.  X goes left to right, and y goes back to front.  The material to be cut goes in this chamber.  The second flip up lid is for the controls and power supplies chamber.  This lid contains the front panel controls and indicators.  There are two control boards, the Smoothie board and the K40 ACR plug-and-play board which connects the Smoothie board to the machine hardware.  There are two power supplies as well, the control powersupply which is right below the control boards and the high-voltage (and I mean real high voltage, like around 15kV, not those nambypamby B.S. 120VAC &amp;quot;high voltage&amp;quot; warning labels) laser tube power supply which creates enough voltage to rip the electrons off the CO2 molecules and ionize them and cause them to emit coherent light when the electrons get back together with their matching CO2 ions.  For more about this exciting process, read a science book.  The third lid covers the laser tube chamber at the back of the chassis.  You don&#039;t really need to mess with these last two lids unless you are modifying the equipment or troubleshooting a failure.  All the lids have interlock switches and the laser will not fire if any one is open (unless you flip the override switch, in which case, it&#039;s your own darn fault for burning out your eye, as we say in Charlotte, &amp;quot;you did it to yourself&amp;quot;).&lt;br /&gt;
===Exhaust===&lt;br /&gt;
The exhaust system sucks smoke from the laser chassis cutting chamber and sends it outside through a window.  It was cobbled together using a fan and housing salvaged from a prior laser cutter and is mostly held together with zipties and metal duct tape.  Seriously.  I&#039;m not kidding.  Actual zipties and duct tape.  (I&#039;d like to give a shout-out to Home Depot for selling me the role of metal tape for only one cent.)  If any part of the whole laser system is going to crap out, this would be a good part to bet on.  It also uses 4&amp;quot; diameter (that&#039;s 105mm for those of you on the metric system) flexible metal clothes dryer exhaust duct to carry the exhaust gasses.  There are custom-made, 3d-printed transiton pieces at the back of the laser chassis which replace the original feeble exhaust system.  Read about them [[K40_Exhaust_Assembly|here]]&lt;br /&gt;
&lt;br /&gt;
===Cooling===&lt;br /&gt;
The cooling system presently consists of a 5 gallon pail in the roller cabinet with a submersible pump.  The water should be replaced with distilled.  (The pump power cord got a new plug.  It stays plugged in much better than the original cheap Chinese plug.)  If the water doesn&#039;t flow, the laser will burnout.  Sadness.  The cooling system presently only works based on the heat capacity of the water in the bucket.  Once the water heats up, you just need to wait for it to cool back down all by itself.  You can read about other people with more sophisticated refrigerated cooling systems, but this was quick and easy, like a virgin on prom night.  Julia has mentioned she&#039;s got some thermoelectric coolers in hiding for this project.  We&#039;ll cross that bridge when we get everything else running first.  The cooling system will have 3 interlocks: low water level, low flow, and high temperature.&lt;br /&gt;
&lt;br /&gt;
===Computer===&lt;br /&gt;
This is CNC equipment.  The first C is for Computer.  (No, not for cookie, but we often have cookies anyway.)  You need a computer with a USB port.  You need computer software.  I hope we can have a computer dedicated to the laser, but let&#039;s be real, that&#039;s not likely to happen.  I hope Tom will fill out this section.&lt;br /&gt;
===Cabinet===&lt;br /&gt;
The cabinet is what the chassis sits on.  The cabinet has wheels.  It&#039;s made of particle board and painted white.  The left door has upper and lower latches inside which hold it shut, so don&#039;t yank on it.  The cabinet houses the cooling system, the 12V accessory power supply, the power strip which all the line voltage equipment plugs into: exhaust fan, cooling pump, laser chassis, 12V power supply (marginal one installed currently to power the cutting chamber accessory lights).&lt;br /&gt;
&lt;br /&gt;
==Safety Interlocks==&lt;br /&gt;
&#039;&#039;&#039;Only some of these safeties are installed presently.&#039;&#039;&#039;  Don&#039;t go futzing around with stuff unless you know exactly what you are doing.  And tell James or Tom.  For troubleshooting purposes, there is a safety override switch on the control panel (middle of three).&lt;br /&gt;
===Ventilation===&lt;br /&gt;
#Exhaust - If the exhaust fan isn&#039;t moving air, we don&#039;t want the laser to fire and make lots of smoke which would then fill the room&lt;br /&gt;
#Lens - Eventually we plan to install an air shroud nozzle around the laser lens to keep smoke from coating the lens and reducing cutting power.&lt;br /&gt;
===Coolant===&lt;br /&gt;
#Level - Installed&lt;br /&gt;
#Flow&lt;br /&gt;
#Temp&lt;br /&gt;
===Doors===&lt;br /&gt;
#Cutting Chamber - Installed&lt;br /&gt;
#Control Chamber - Installed&lt;br /&gt;
#Laser Chamber - Probably not going to install this switch because the door is in back and control panel space is at a premium&lt;br /&gt;
#Cabinet - Probably not going to install this switch because there&#039;s not much harm in the cabinet and control panel space is at a premium&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
===Prestart===&lt;br /&gt;
#Come up with design&lt;br /&gt;
#Create SVG using software like [https://inkscape.org/ Inkscape]&lt;br /&gt;
#Upload SVG to computer&lt;br /&gt;
&lt;br /&gt;
===Startup===&lt;br /&gt;
#Roll cabinet out from under shelf&lt;br /&gt;
#Get extension cord out of cabinet and plug laser into extension cord and extension cord into live receptacle&lt;br /&gt;
#Turn on laser master power switch (power strip inside the wooden cabinet)&lt;br /&gt;
#Close cabinet door&lt;br /&gt;
#Load material to be cut in laser cabinet&lt;br /&gt;
#Shut lid on cutting chamber&lt;br /&gt;
#Turn on laser cabinet power switch&lt;br /&gt;
&lt;br /&gt;
===Operations===&lt;br /&gt;
#Ensure all safety interlocks are operable by checking indicator lights&lt;br /&gt;
##You can skip this step for now since the lights don&#039;t work&lt;br /&gt;
#Do software stuff&lt;br /&gt;
##Connect to LaserWeb server at [http://192.168.26.122:8000/ 192.168.26.122 Port 8000] from HacDC network&lt;br /&gt;
##Clear LaserWeb 4 upgrade warning popup&lt;br /&gt;
##Click on Settings on left edge of page&lt;br /&gt;
##Click on BACKUP at top of setting pane&lt;br /&gt;
##Click on Restore from file&lt;br /&gt;
##Upload [[file:Laserweb-settings-backup.json]] file&lt;br /&gt;
##Click Save&lt;br /&gt;
##Observe messages &amp;quot;Saved Settings&amp;quot; and &amp;quot;Please refresh page for settings to take effect&amp;quot;&lt;br /&gt;
##Refresh webpage&lt;br /&gt;
##Clear LaserWeb 4 upgrade warning popup, again&lt;br /&gt;
##Load SVG file of cutting paths by dragging and dropping into the web browser window&lt;br /&gt;
##Click Generate G-Code (on CAM menu)&lt;br /&gt;
##Click Connect at the top of the webpage&lt;br /&gt;
##If a popup appears, choose Option 1&lt;br /&gt;
##Click Jog on left edge of the window&lt;br /&gt;
##Click home and observe the gantry move to the home position in the far left corner of the cutting chamber&lt;br /&gt;
#Run program without laser powered on to observe tool path and ensure material to be cut in properly arranged in the cutting chamber&lt;br /&gt;
##Click check outline and observe the laser move &lt;br /&gt;
###Check that material is fully under the travel area&lt;br /&gt;
###Check that your design is the size you expect it to be (25.4 for mm)&lt;br /&gt;
###If the size is not right, go to the Settings page and adjust the DPI setting on the Size menu&lt;br /&gt;
#Run program with laser powered on to cut material&lt;br /&gt;
##Click run gcode&lt;br /&gt;
##Watch for things catching fire&lt;br /&gt;
&lt;br /&gt;
===Shutdown===&lt;br /&gt;
#Turn off laser chassis and master power switches&lt;br /&gt;
#Unplug laser and extension cord&lt;br /&gt;
#Coilup and store extension cord&lt;br /&gt;
#Shut cabinet door&lt;br /&gt;
#Roll cabinet back under the shelf&lt;br /&gt;
#Continue with your evil plans for world domination&lt;br /&gt;
&lt;br /&gt;
==Custom Wiring== &lt;br /&gt;
Julia had some LED strips she wanted installed.  We succeeded.  The illuminate when the main power is turned on.&lt;br /&gt;
[[File:Laser-leds1.jpg]]&lt;br /&gt;
&lt;br /&gt;
They are white LEDs but the orange laser viewing window colors them.&lt;br /&gt;
&lt;br /&gt;
[[File:Laser-leds2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sully really likes relays and discrete, analogue circuits, so he jimmied up a bunch of stuff to make it less likely for you to poke your eye out or burn out the laser.&lt;br /&gt;
The laser power supply from the factory takes input from 3 front panel controls: off-on laser switch, momentary-on laser switch, power control potentiometer knob.  The off-on switch was a cheap latching push button which was connected to the leftmost two terminals of the 6 terminal plug with black wires.  It was replaced with an off-on, metal, toggle switch on 3-23-17.  The middle two terminals of the block connect to the momentary on push button switch on the front panel which causes the laser to fire (when the left two terminals are shorted together by the toggle switch).  The right 3 terminals (which overlap with the right center terminal going to the push button switch) connect to the front panel potentiometer which controls the laser current.  Do not turn the knob to full clockwise, because increasing the laser firing current past a certain point doesn&#039;t provide any benefit and just reduces the tube lifespan.  The plan is to parallelize the push button firing switch with a solid-state relay controlled directly by the Smoothie board and bypassing the K40 ACR board (which was supposed to make the Smoothie board plug-and-play, but as mentioned earlier did a halfassed job).  The potentiometer will be connected to a 3PDT switch for computerized or manual power level control.  A PWM to DC circuit will do the automatic control and the original pot will remain for the manual control.&lt;br /&gt;
The safety interlocks are basically a whole bunch of microswitches in series so if any one of them gets tripped the left two pins of the power supply 6 pin connector won&#039;t be shorted together and the laser won&#039;t fire.  There&#039;s also a plan to have lights illuminate to show which safeties are operating properly or tripped.  Plus indicator lights are cool.  And for the remaining manual firing switches we plan on getting those flip-up red covers like in those military movies where they&#039;re firing nuclear missiles and stuff like that.  These would aid in troubleshooting, and look really cool, even if they are kinda spendy.  Man, this is really turning into a wall of text.  Someone should do something about this sometime.  Anyway, schematic drawings would go here, or links to them would go here.&lt;br /&gt;
&lt;br /&gt;
Terminal Block Connections&lt;br /&gt;
#Cutting chamber door safety switch - common&lt;br /&gt;
#Cutting chamber door safety switch - n.o.&lt;br /&gt;
#Cutting chamber door safety switch - n.c.&lt;br /&gt;
#Control chamber door safety switch - common&lt;br /&gt;
#Control chamber door safety switch - n.o.&lt;br /&gt;
#Control chamber door safety switch - n.c.&lt;br /&gt;
#Cooling water level float safety switch - common&lt;br /&gt;
#Cooling water level float safety switch - n.o.&lt;br /&gt;
#Cooling water level float safety switch - n.c.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#12VDC / Cutting Chamber LED positive&lt;br /&gt;
#Hour meter / 12VDC / Cutting Chamber LED ground&lt;br /&gt;
#Hour meter positive &lt;br /&gt;
#Laser fire switch positive - shorts to ground (below) to fire laser&lt;br /&gt;
#Laser power supply power level control potentiometer GND&lt;br /&gt;
#Auto power control voltage divided between +V and GND - connects to auto-hand control panel switch and to PWM-DC converter circuit output&lt;br /&gt;
#Laser power supply power level control potentiometer +V&lt;br /&gt;
&lt;br /&gt;
==Custom Parts==&lt;br /&gt;
Images of custom parts like the exhaust nozzles and eventually a new control panel and source files for 3d printed or laser cut parts can go here.&lt;br /&gt;
&lt;br /&gt;
[[CCL front panel]]&lt;br /&gt;
&lt;br /&gt;
[[Air flow switch holder]]&lt;br /&gt;
&lt;br /&gt;
[[Exhaust nozzle]]&lt;br /&gt;
&lt;br /&gt;
[[Terminal block holder]]&lt;br /&gt;
&lt;br /&gt;
This image is colored for 3d printing using it as a height map: black=0mm, gray=1mm, white=2mm. 174mm wide, 184mm tall.&lt;br /&gt;
The SVG file was created by a Ruby program to modularize the positions and sizes of cutouts for switches, nobs, lamps, etc.&lt;br /&gt;
&lt;br /&gt;
[[file:Control-panel.png]]&lt;br /&gt;
&lt;br /&gt;
==Bill of Materials, a.k.a. Donation Wishlist, and Hardware Store Shopping List==&lt;br /&gt;
#Laser goggles&lt;br /&gt;
#USB A-B cord, i.e. printer cable, which doesn&#039;t suck&lt;br /&gt;
#Solid state relays -- we used [http://www.clare.com/home/pdfs.nsf/www/LBA110.pdf/$file/LBA110.pdf] this one.  --This should move to custom parts and off the wishlist (JS 4-20).&lt;br /&gt;
#Stuff to cut&lt;br /&gt;
##1/8&amp;quot; Baltic birch plywood&lt;br /&gt;
##Plastic sheets, e.g. acrylic&lt;br /&gt;
##Masonite?&lt;br /&gt;
#Cabinet reinforcements&lt;br /&gt;
##dimensional lumber, e.g. 2x4, 2x2, 1x3&lt;br /&gt;
##unidirectional casters&lt;br /&gt;
#Cooling system stuff&lt;br /&gt;
##Distilled water&lt;br /&gt;
##Float switch&lt;br /&gt;
##Thermocouple or thermistor/RTD temperature sensor probe&lt;br /&gt;
##Radiator and fans&lt;br /&gt;
##Solidstate heat pump&lt;br /&gt;
##Working water fountain chiller (for future use on the 100W downstairs)&lt;br /&gt;
##PLC/Microcontroller with A/D inputs for temperature probe conditioning and temp display (advanced task)&lt;br /&gt;
#Green connectors for smoothieboard and laser powersupply [https://www.amazon.com/uxcell-Terminals-Pitch-Mount-Terminal/dp/B00E6Q4FE6/ref=sr_1_9?ie=UTF8&amp;amp;qid=1493691567&amp;amp;sr=8-9&amp;amp;keywords=pluggable+terminal+block+connector]&lt;br /&gt;
&lt;br /&gt;
==To-Do Tasks==&lt;br /&gt;
#Airflow switch housing&lt;br /&gt;
##manufacture&lt;br /&gt;
##install&lt;br /&gt;
#Coolant interlocks&lt;br /&gt;
##Flow sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Temp sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
#Door switches&lt;br /&gt;
##Cabinet door&lt;br /&gt;
##Laser tube chamber door&lt;br /&gt;
#Chassis wiring&lt;br /&gt;
##Wire up the safety switches as they are installed&lt;br /&gt;
##Draw a wiring diagram of custom components&lt;br /&gt;
#CNC firing control - This svg file can be used to test run the laser: [[Laser circle test]]&lt;br /&gt;
##find firing signal on Smoothie board&lt;br /&gt;
##in the config you specify this with laser_module_ttl_pin&lt;br /&gt;
##determine relay requirements&lt;br /&gt;
##purchase and receive relay&lt;br /&gt;
##install firing relay&lt;br /&gt;
#software&lt;br /&gt;
##determine best software to use&lt;br /&gt;
##develop workflows for various programs and operating systems&lt;br /&gt;
##update this page to explain the above&lt;br /&gt;
##We&#039;re gonna use Laserweb I think so setup a RasPi or something as a Laserweb server.&lt;br /&gt;
&lt;br /&gt;
==Completed Tasks==&lt;br /&gt;
If you do work on the laser, please record it here.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Task !! Fixer !! Date !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Create Wiki page || [[user:James|James]] || 3/24/2017 || Ongoing updates needed&lt;br /&gt;
|-&lt;br /&gt;
| Install operational exhaust system || James || 2/2017 || Still needs interlocks&lt;br /&gt;
|-&lt;br /&gt;
| Install cooling system || James || 2/2017 || Air cooling or refrigeration could be added&lt;br /&gt;
|-&lt;br /&gt;
| Connect control power supply to switched mains || James || 3/2017 || Done&lt;br /&gt;
|-&lt;br /&gt;
| Get x and y axis movements working || [[user:Tom|Tom]] || 3/2017 || Firing still needs to be fixed&lt;br /&gt;
|-&lt;br /&gt;
| Replaced cooling pump power cord plug || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed door closure bolts on left cabinet door || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed cutting chamber illumination LEDs and 12VDC powersupply || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Control + interlock circuits design/brainstorm session || James + Tom || 3/27/2017 || See webpages below for Smothieboard help&lt;br /&gt;
|-&lt;br /&gt;
| Mocked up and tested control circuit for PWM from smoothieboard || James + Tom || 3/27/2017 || http://smoothieware.org/laser-cutter-guide&lt;br /&gt;
|-&lt;br /&gt;
| Scoped out various pins on the smoothieboard to find PWM out || James + Tom || 3/27/2017 || http://smoothieware.org/smoothieboard-v1&lt;br /&gt;
|-&lt;br /&gt;
| Removed control panel || James || 3/30/17 || Don&#039;t mess with nothing until a new one gets installed!&lt;br /&gt;
|-&lt;br /&gt;
| Tried to 3d print a new control panel || James || 4/2/17 || Lulzbot Taz either didn&#039;t extrude or made bird poop. :( It&#039;s too bad we don&#039;t have a working laser cutter.&lt;br /&gt;
|-&lt;br /&gt;
| Adjusted program size parameters based on failed print and added ammeter mounting screw holes to control panel design || James || 4/11/17 || Still need to upload new SVG here and print it&lt;br /&gt;
|-&lt;br /&gt;
| Ordered self adhesive cable tie mounting squares and SSR for PWM-&amp;gt; DC || Tom || 4/11/17 || Delivery expected Thursday&lt;br /&gt;
|-&lt;br /&gt;
| Design 3d-printed mounting bracket/clip to hold switches for door interlocks || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Design, breadboard and test PWM circuit with solid state relay and newly determined time constant || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded exhaust nozzle and exhaust flow switch scad files || James || 4/20/17 || Flow switch needs printing and Tom&#039;s nacelle needs dimension tweeking.&lt;br /&gt;
|-&lt;br /&gt;
| Tried printing control panel on the Ultimaker&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; || James || 4/25/17 || Print failed twice, but third time looked good before I left.&lt;br /&gt;
|-&lt;br /&gt;
| Installed control panel 3d printed on Tuesday || James || 4/27/17 || Controls and indicators are installed but not operational, yet.  It looks sweet! Could be thicker, maybe 4mm.  Dimensions could use tweeking too: toggle switches moved down, corner radii reduced,...&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded source code and stl for water level float switch and for terminal block holders.  Installed v5 of door switch holder and soldered wires to switches. || James || 5/1/17 || Still need to print float switch parts and terminal block holders. New parts fit well. A very productive day overall.&lt;br /&gt;
|-&lt;br /&gt;
| Installed terminal block with manually modified v1 terminal block holder parts.  Wired up cutting chamber and control chamber door safety switches.  Connected laser power supply wiring to new control panel switches. || James || 5/4/17 || Need to adjust terminal block holder dimensions and reprint.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded v2 source code and stl for terminal block holder. || James || 5/5/17 || Need to print float switch parts and terminal block holders.&lt;br /&gt;
|-&lt;br /&gt;
| Printed and installed new terminal block holders (v2). Printed new air flow switch and water level float switch head and base. Remodeled exhaust header. || James || 5/6/17 || Holders fit great.  Base, not so much.&lt;br /&gt;
|-&lt;br /&gt;
| Reprinted water level float switch base. Investigated PWM output from Smoothieboard. || James + Tom || 5/7/17 || Pin 4.2 and GND work for PWM signal.  PWM to DC breadboard isn&#039;t working. Laser power supply 5V circuit for safety switches doesn&#039;t have enough current to illuminate the trouble lamps on front panel.&lt;br /&gt;
|-&lt;br /&gt;
| Install float switch. || James || 5/11/17 || Not seeming to function as of 5/14 - remains conductive even when open?&lt;br /&gt;
|-&lt;br /&gt;
| Successful CNC laser firing on circle laser test. || James + Tom || 5/14/17 || Some kind of beam splitting or 2-layer reflection is going on. PWM out can be set using laser_module_pwm_pin in smoothieboard config.&lt;br /&gt;
|-&lt;br /&gt;
| Setup the auto-man power level control switch. General stuff. || James + Tom || 5/28/17 || We&#039;ve got some stray AC current in the case.&lt;br /&gt;
|-&lt;br /&gt;
| Installed RasPI as webhost. Replaced USB cable. || James + Tom || 6/4/17 || [http://192.168.26.122:8000/ Laserweb server], from HacDC network&lt;br /&gt;
|-&lt;br /&gt;
| Test cut Pepe the frog on opaque acrylic with painters tape mask. || James + [[user:Andrew|Andrew]] || 6/5/17 || Auto fire signal still isn&#039;t working.&lt;br /&gt;
|-&lt;br /&gt;
| Added circuitry to breadboard to automate the firing signal. || James || 6/6/17 || Will test on Thursday.&lt;br /&gt;
|-&lt;br /&gt;
| Test fire was successful. Operations section updated. || James || 6/8/17 || Fully automatic operations achieved! &lt;br /&gt;
|-&lt;br /&gt;
| Unsuccessful work to connect hour meter. || James || 6/11/17 || Don&#039;t use laser for now.  I&#039;m waiting on some parts to make a soldered accessory board.&lt;br /&gt;
|-&lt;br /&gt;
| Strip boards arrived and I fabbed a circuit card to control the power, fire the laser, and drive the hour meter.  It still needs to be connected and tested. || James || 6/17/17 || Don&#039;t use laser for now.  Accessory board needs testing.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Additional Reading==&lt;br /&gt;
#[http://howell.seattle.wa.us/essays/lasercutter.shtml Laser blog]&lt;br /&gt;
#[https://www.reddit.com/r/lasercutting/wiki/k40 Reddit K40 wiki]&lt;br /&gt;
#[http://www.lightobject.com/Default.aspx Light Object laser retailer]&lt;br /&gt;
&lt;br /&gt;
[[Category:Equipment]]&lt;br /&gt;
[[Category:LaserCutter]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:Ongoing Projects]]&lt;br /&gt;
[[Category:Project Awesome]]&lt;br /&gt;
[[Category:CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13441</id>
		<title>Cheap Chinese Laser</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13441"/>
		<updated>2017-06-12T00:18:34Z</updated>

		<summary type="html">&lt;p&gt;James: added 6/11 work on hour meter.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cheap Chinese Laser]]&lt;br /&gt;
&lt;br /&gt;
This is the page dealing with the [[Cheap Chinese Laser]] at [https://www.hacdc.org HacDC] in the upstairs room at St. Stephen and the Incarnate church in Washington, DC.  This page replaces [[PA LaserCutter]] page from some years ago.  It had high ideals, but poor execution.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
HacDC has a K40, 40W, CO2, water cooled, laser for CNC cutting of various materials, aka a cheap Chinese laser.  It allegedly used to work just fine, but someone decided that wasn&#039;t good enough so she ordered and halfass installed some new parts that only halfass work.  After our intrepid hero, [[user:James|James]], fullyassed the installation of the new parts, the laser still only halfass worked.  [[user:Tom|Tom]] was railroaded into helping with the software, but even so the dynamic duo couldn&#039;t get the damn thing to work.  Then one day at work, boredom struck in a meeting and James had the idea to create this wiki page to guide others through the confusion and misinformation that plagues most equipment at HacDC and often results in subpar operation.  I beseech you, dear reader, to continue your edification on our topic at hand and become your own evil archvillain with laser powers.  (Sharks sold separately.)&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
===Chassis===&lt;br /&gt;
The chassis is the laser itself, the blue metal box with 3 flip up lids.  The main lid users deal with is for the cutting chamber on the left front of the machine.  It includes an orange plastic window.  The cutting chamber contains the transverse and longitudinal axes, aka x and y.  X goes left to right, and y goes back to front.  The material to be cut goes in this chamber.  The second flip up lid is for the controls and power supplies chamber.  This lid contains the front panel controls and indicators.  There are two control boards, the Smoothie board and the K40 ACR plug-and-play board which connects the Smoothie board to the machine hardware.  There are two power supplies as well, the control powersupply which is right below the control boards and the high-voltage (and I mean real high voltage, like around 15kV, not those nambypamby B.S. 120VAC &amp;quot;high voltage&amp;quot; warning labels) laser tube power supply which creates enough voltage to rip the electrons off the CO2 molecules and ionize them and cause them to emit coherent light when the electrons get back together with their matching CO2 ions.  For more about this exciting process, read a science book.  The third lid covers the laser tube chamber at the back of the chassis.  You don&#039;t really need to mess with these last two lids unless you are modifying the equipment or troubleshooting a failure.  All the lids have interlock switches and the laser will not fire if any one is open (unless you flip the override switch, in which case, it&#039;s your own darn fault for burning out your eye, as we say in Charlotte, &amp;quot;you did it to yourself&amp;quot;).&lt;br /&gt;
===Exhaust===&lt;br /&gt;
The exhaust system sucks smoke from the laser chassis cutting chamber and sends it outside through a window.  It was cobbled together using a fan and housing salvaged from a prior laser cutter and is mostly held together with zipties and metal duct tape.  Seriously.  I&#039;m not kidding.  Actual zipties and duct tape.  (I&#039;d like to give a shout-out to Home Depot for selling me the role of metal tape for only one cent.)  If any part of the whole laser system is going to crap out, this would be a good part to bet on.  It also uses 4&amp;quot; diameter (that&#039;s 105mm for those of you on the metric system) flexible metal clothes dryer exhaust duct to carry the exhaust gasses.  There are custom-made, 3d-printed transiton pieces at the back of the laser chassis which replace the original feeble exhaust system.  Read about them [[K40_Exhaust_Assembly|here]]&lt;br /&gt;
&lt;br /&gt;
===Cooling===&lt;br /&gt;
The cooling system presently consists of a 5 gallon pail in the roller cabinet with a submersible pump.  The water should be replaced with distilled.  (The pump power cord got a new plug.  It stays plugged in much better than the original cheap Chinese plug.)  If the water doesn&#039;t flow, the laser will burnout.  Sadness.  The cooling system presently only works based on the heat capacity of the water in the bucket.  Once the water heats up, you just need to wait for it to cool back down all by itself.  You can read about other people with more sophisticated refrigerated cooling systems, but this was quick and easy, like a virgin on prom night.  Julia has mentioned she&#039;s got some thermoelectric coolers in hiding for this project.  We&#039;ll cross that bridge when we get everything else running first.  The cooling system will have 3 interlocks: low water level, low flow, and high temperature.&lt;br /&gt;
&lt;br /&gt;
===Computer===&lt;br /&gt;
This is CNC equipment.  The first C is for Computer.  (No, not for cookie, but we often have cookies anyway.)  You need a computer with a USB port.  You need computer software.  I hope we can have a computer dedicated to the laser, but let&#039;s be real, that&#039;s not likely to happen.  I hope Tom will fill out this section.&lt;br /&gt;
===Cabinet===&lt;br /&gt;
The cabinet is what the chassis sits on.  The cabinet has wheels.  It&#039;s made of particle board and painted white.  The left door has upper and lower latches inside which hold it shut, so don&#039;t yank on it.  The cabinet houses the cooling system, the 12V accessory power supply, the power strip which all the line voltage equipment plugs into: exhaust fan, cooling pump, laser chassis, 12V power supply (marginal one installed currently to power the cutting chamber accessory lights).&lt;br /&gt;
&lt;br /&gt;
==Safety Interlocks==&lt;br /&gt;
&#039;&#039;&#039;Only some of these safeties are installed presently.&#039;&#039;&#039;  Don&#039;t go futzing around with stuff unless you know exactly what you are doing.  And tell James or Tom.  For troubleshooting purposes, there is a safety override switch on the control panel (middle of three).&lt;br /&gt;
===Ventilation===&lt;br /&gt;
#Exhaust - If the exhaust fan isn&#039;t moving air, we don&#039;t want the laser to fire and make lots of smoke which would then fill the room&lt;br /&gt;
#Lens - Eventually we plan to install an air shroud nozzle around the laser lens to keep smoke from coating the lens and reducing cutting power.&lt;br /&gt;
===Coolant===&lt;br /&gt;
#Level - Installed&lt;br /&gt;
#Flow&lt;br /&gt;
#Temp&lt;br /&gt;
===Doors===&lt;br /&gt;
#Cutting Chamber - Installed&lt;br /&gt;
#Control Chamber - Installed&lt;br /&gt;
#Laser Chamber - Probably not going to install this switch because the door is in back and control panel space is at a premium&lt;br /&gt;
#Cabinet - Probably not going to install this switch because there&#039;s not much harm in the cabinet and control panel space is at a premium&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
===Prestart===&lt;br /&gt;
#Come up with design&lt;br /&gt;
#Create SVG using software like [https://inkscape.org/ Inkscape]&lt;br /&gt;
#Upload SVG to computer&lt;br /&gt;
&lt;br /&gt;
===Startup===&lt;br /&gt;
#Roll cabinet out from under shelf&lt;br /&gt;
#Get extension cord out of cabinet and plug laser into extension cord and extension cord into live receptacle&lt;br /&gt;
#Turn on laser master power switch&lt;br /&gt;
#Close cabinet door&lt;br /&gt;
#Load material to be cut in laser cabinet&lt;br /&gt;
#Shut lid on cutting chamber&lt;br /&gt;
#Turn on laser cabinet power switch&lt;br /&gt;
===Operations===&lt;br /&gt;
#Ensure all safety interlocks are operable by checking indicator lights&lt;br /&gt;
##You can skip this step for now since the lights don&#039;t work&lt;br /&gt;
#Do software stuff&lt;br /&gt;
##Connect to LaserWeb server at [http://192.168.26.122:8000/ 192.168.26.122 Port 8000] from HacDC network&lt;br /&gt;
##Clear LaserWeb 4 upgrade warning popup&lt;br /&gt;
##Click on Settings on left edge of page&lt;br /&gt;
##Click on BACKUP at top of setting pane&lt;br /&gt;
##Click on Restore from file&lt;br /&gt;
##Upload [[file:Laserweb-settings-backup.json]] file&lt;br /&gt;
##Click Save&lt;br /&gt;
##Observe messages &amp;quot;Saved Settings&amp;quot; and &amp;quot;Please refresh page for settings to take effect&amp;quot;&lt;br /&gt;
##Refresh webpage&lt;br /&gt;
##Clear LaserWeb 4 upgrade warning popup, again&lt;br /&gt;
##Load SVG file of cutting paths by dragging and dropping into the web browser window&lt;br /&gt;
##Click Generate G-Code (on CAM menu)&lt;br /&gt;
##Click Connect at the top of the webpage&lt;br /&gt;
##If a popup appears, choose Option 1&lt;br /&gt;
##Click Jog on left edge of the window&lt;br /&gt;
##Click home and observe the gantry move to the home position in the far left corner of the cutting chamber&lt;br /&gt;
#Run program without laser powered on to observe tool path and ensure material to be cut in properly arranged in the cutting chamber&lt;br /&gt;
##Click check outline and observe the laser move &lt;br /&gt;
###Check that material is fully under the travel area&lt;br /&gt;
###Check that your design is the size you expect it to be (25.4 for mm)&lt;br /&gt;
###If the size is not right, go to the Settings page and adjust the DPI setting on the Size menu&lt;br /&gt;
#Run program with laser powered on to cut material&lt;br /&gt;
##Click run gcode&lt;br /&gt;
##Watch for things catching fire&lt;br /&gt;
&lt;br /&gt;
===Shutdown===&lt;br /&gt;
#Turn off laser chassis and master power switches&lt;br /&gt;
#Unplug laser and extension cord&lt;br /&gt;
#Coilup and store extension cord&lt;br /&gt;
#Shut cabinet door&lt;br /&gt;
#Roll cabinet back under the shelf&lt;br /&gt;
#Continue with your evil plans for world domination&lt;br /&gt;
&lt;br /&gt;
==Custom Wiring== &lt;br /&gt;
Julia had some LED strips she wanted installed.  We succeeded.  The illuminate when the main power is turned on.&lt;br /&gt;
[[File:Laser-leds1.jpg]]&lt;br /&gt;
&lt;br /&gt;
They are white LEDs but the orange laser viewing window colors them.&lt;br /&gt;
&lt;br /&gt;
[[File:Laser-leds2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sully really likes relays and discrete, analogue circuits, so he jimmied up a bunch of stuff to make it less likely for you to poke your eye out or burn out the laser.&lt;br /&gt;
The laser power supply from the factory takes input from 3 front panel controls: off-on laser switch, momentary-on laser switch, power control potentiometer knob.  The off-on switch was a cheap latching push button which was connected to the leftmost two terminals of the 6 terminal plug with black wires.  It was replaced with an off-on, metal, toggle switch on 3-23-17.  The middle two terminals of the block connect to the momentary on push button switch on the front panel which causes the laser to fire (when the left two terminals are shorted together by the toggle switch).  The right 3 terminals (which overlap with the right center terminal going to the push button switch) connect to the front panel potentiometer which controls the laser current.  Do not turn the knob to full clockwise, because increasing the laser firing current past a certain point doesn&#039;t provide any benefit and just reduces the tube lifespan.  The plan is to parallelize the push button firing switch with a solid-state relay controlled directly by the Smoothie board and bypassing the K40 ACR board (which was supposed to make the Smoothie board plug-and-play, but as mentioned earlier did a halfassed job).  The potentiometer will be connected to a 3PDT switch for computerized or manual power level control.  A PWM to DC circuit will do the automatic control and the original pot will remain for the manual control.&lt;br /&gt;
The safety interlocks are basically a whole bunch of microswitches in series so if any one of them gets tripped the left two pins of the power supply 6 pin connector won&#039;t be shorted together and the laser won&#039;t fire.  There&#039;s also a plan to have lights illuminate to show which safeties are operating properly or tripped.  Plus indicator lights are cool.  And for the remaining manual firing switches we plan on getting those flip-up red covers like in those military movies where they&#039;re firing nuclear missiles and stuff like that.  These would aid in troubleshooting, and look really cool, even if they are kinda spendy.  Man, this is really turning into a wall of text.  Someone should do something about this sometime.  Anyway, schematic drawings would go here, or links to them would go here.&lt;br /&gt;
&lt;br /&gt;
Terminal Block Connections&lt;br /&gt;
#Cutting chamber door safety switch - common&lt;br /&gt;
#Cutting chamber door safety switch - n.o.&lt;br /&gt;
#Cutting chamber door safety switch - n.c.&lt;br /&gt;
#Control chamber door safety switch - common&lt;br /&gt;
#Control chamber door safety switch - n.o.&lt;br /&gt;
#Control chamber door safety switch - n.c.&lt;br /&gt;
#Cooling water level float safety switch - common&lt;br /&gt;
#Cooling water level float safety switch - n.o.&lt;br /&gt;
#Cooling water level float safety switch - n.c.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#12VDC / Cutting Chamber LED positive&lt;br /&gt;
#Hour meter / 12VDC / Cutting Chamber LED ground&lt;br /&gt;
#Hour meter positive &lt;br /&gt;
#Laser fire switch positive - shorts to ground (below) to fire laser&lt;br /&gt;
#Laser power supply power level control potentiometer GND&lt;br /&gt;
#Auto power control voltage divided between +V and GND - connects to auto-hand control panel switch and to PWM-DC converter circuit output&lt;br /&gt;
#Laser power supply power level control potentiometer +V&lt;br /&gt;
&lt;br /&gt;
==Custom Parts==&lt;br /&gt;
Images of custom parts like the exhaust nozzles and eventually a new control panel and source files for 3d printed or laser cut parts can go here.&lt;br /&gt;
&lt;br /&gt;
[[CCL front panel]]&lt;br /&gt;
&lt;br /&gt;
[[Air flow switch holder]]&lt;br /&gt;
&lt;br /&gt;
[[Exhaust nozzle]]&lt;br /&gt;
&lt;br /&gt;
[[Terminal block holder]]&lt;br /&gt;
&lt;br /&gt;
This image is colored for 3d printing using it as a height map: black=0mm, gray=1mm, white=2mm. 174mm wide, 184mm tall.&lt;br /&gt;
The SVG file was created by a Ruby program to modularize the positions and sizes of cutouts for switches, nobs, lamps, etc.&lt;br /&gt;
&lt;br /&gt;
[[file:Control-panel.png]]&lt;br /&gt;
&lt;br /&gt;
==Bill of Materials, a.k.a. Donation Wishlist, and Hardware Store Shopping List==&lt;br /&gt;
#Laser goggles&lt;br /&gt;
#USB A-B cord, i.e. printer cable, which doesn&#039;t suck&lt;br /&gt;
#Solid state relays -- we used [http://www.clare.com/home/pdfs.nsf/www/LBA110.pdf/$file/LBA110.pdf] this one.  --This should move to custom parts and off the wishlist (JS 4-20).&lt;br /&gt;
#Stuff to cut&lt;br /&gt;
##1/8&amp;quot; Baltic birch plywood&lt;br /&gt;
##Plastic sheets, e.g. acrylic&lt;br /&gt;
##Masonite?&lt;br /&gt;
#Cabinet reinforcements&lt;br /&gt;
##dimensional lumber, e.g. 2x4, 2x2, 1x3&lt;br /&gt;
##unidirectional casters&lt;br /&gt;
#Cooling system stuff&lt;br /&gt;
##Distilled water&lt;br /&gt;
##Float switch&lt;br /&gt;
##Thermocouple or thermistor/RTD temperature sensor probe&lt;br /&gt;
##Radiator and fans&lt;br /&gt;
##Solidstate heat pump&lt;br /&gt;
##Working water fountain chiller (for future use on the 100W downstairs)&lt;br /&gt;
##PLC/Microcontroller with A/D inputs for temperature probe conditioning and temp display (advanced task)&lt;br /&gt;
#Green connectors for smoothieboard and laser powersupply [https://www.amazon.com/uxcell-Terminals-Pitch-Mount-Terminal/dp/B00E6Q4FE6/ref=sr_1_9?ie=UTF8&amp;amp;qid=1493691567&amp;amp;sr=8-9&amp;amp;keywords=pluggable+terminal+block+connector]&lt;br /&gt;
&lt;br /&gt;
==To-Do Tasks==&lt;br /&gt;
#Airflow switch housing&lt;br /&gt;
##manufacture&lt;br /&gt;
##install&lt;br /&gt;
#Coolant interlocks&lt;br /&gt;
##Flow sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Temp sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
#Door switches&lt;br /&gt;
##Cabinet door&lt;br /&gt;
##Laser tube chamber door&lt;br /&gt;
#Chassis wiring&lt;br /&gt;
##Wire up the safety switches as they are installed&lt;br /&gt;
##Draw a wiring diagram of custom components&lt;br /&gt;
#CNC firing control - This svg file can be used to test run the laser: [[Laser circle test]]&lt;br /&gt;
##find firing signal on Smoothie board&lt;br /&gt;
##in the config you specify this with laser_module_ttl_pin&lt;br /&gt;
##determine relay requirements&lt;br /&gt;
##purchase and receive relay&lt;br /&gt;
##install firing relay&lt;br /&gt;
#software&lt;br /&gt;
##determine best software to use&lt;br /&gt;
##develop workflows for various programs and operating systems&lt;br /&gt;
##update this page to explain the above&lt;br /&gt;
##We&#039;re gonna use Laserweb I think so setup a RasPi or something as a Laserweb server.&lt;br /&gt;
&lt;br /&gt;
==Completed Tasks==&lt;br /&gt;
If you do work on the laser, please record it here.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Task !! Fixer !! Date !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Create Wiki page || [[user:James|James]] || 3/24/2017 || Ongoing updates needed&lt;br /&gt;
|-&lt;br /&gt;
| Install operational exhaust system || James || 2/2017 || Still needs interlocks&lt;br /&gt;
|-&lt;br /&gt;
| Install cooling system || James || 2/2017 || Air cooling or refrigeration could be added&lt;br /&gt;
|-&lt;br /&gt;
| Connect control power supply to switched mains || James || 3/2017 || Done&lt;br /&gt;
|-&lt;br /&gt;
| Get x and y axis movements working || [[user:Tom|Tom]] || 3/2017 || Firing still needs to be fixed&lt;br /&gt;
|-&lt;br /&gt;
| Replaced cooling pump power cord plug || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed door closure bolts on left cabinet door || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed cutting chamber illumination LEDs and 12VDC powersupply || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Control + interlock circuits design/brainstorm session || James + Tom || 3/27/2017 || See webpages below for Smothieboard help&lt;br /&gt;
|-&lt;br /&gt;
| Mocked up and tested control circuit for PWM from smoothieboard || James + Tom || 3/27/2017 || http://smoothieware.org/laser-cutter-guide&lt;br /&gt;
|-&lt;br /&gt;
| Scoped out various pins on the smoothieboard to find PWM out || James + Tom || 3/27/2017 || http://smoothieware.org/smoothieboard-v1&lt;br /&gt;
|-&lt;br /&gt;
| Removed control panel || James || 3/30/17 || Don&#039;t mess with nothing until a new one gets installed!&lt;br /&gt;
|-&lt;br /&gt;
| Tried to 3d print a new control panel || James || 4/2/17 || Lulzbot Taz either didn&#039;t extrude or made bird poop. :( It&#039;s too bad we don&#039;t have a working laser cutter.&lt;br /&gt;
|-&lt;br /&gt;
| Adjusted program size parameters based on failed print and added ammeter mounting screw holes to control panel design || James || 4/11/17 || Still need to upload new SVG here and print it&lt;br /&gt;
|-&lt;br /&gt;
| Ordered self adhesive cable tie mounting squares and SSR for PWM-&amp;gt; DC || Tom || 4/11/17 || Delivery expected Thursday&lt;br /&gt;
|-&lt;br /&gt;
| Design 3d-printed mounting bracket/clip to hold switches for door interlocks || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Design, breadboard and test PWM circuit with solid state relay and newly determined time constant || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded exhaust nozzle and exhaust flow switch scad files || James || 4/20/17 || Flow switch needs printing and Tom&#039;s nacelle needs dimension tweeking.&lt;br /&gt;
|-&lt;br /&gt;
| Tried printing control panel on the Ultimaker&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; || James || 4/25/17 || Print failed twice, but third time looked good before I left.&lt;br /&gt;
|-&lt;br /&gt;
| Installed control panel 3d printed on Tuesday || James || 4/27/17 || Controls and indicators are installed but not operational, yet.  It looks sweet! Could be thicker, maybe 4mm.  Dimensions could use tweeking too: toggle switches moved down, corner radii reduced,...&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded source code and stl for water level float switch and for terminal block holders.  Installed v5 of door switch holder and soldered wires to switches. || James || 5/1/17 || Still need to print float switch parts and terminal block holders. New parts fit well. A very productive day overall.&lt;br /&gt;
|-&lt;br /&gt;
| Installed terminal block with manually modified v1 terminal block holder parts.  Wired up cutting chamber and control chamber door safety switches.  Connected laser power supply wiring to new control panel switches. || James || 5/4/17 || Need to adjust terminal block holder dimensions and reprint.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded v2 source code and stl for terminal block holder. || James || 5/5/17 || Need to print float switch parts and terminal block holders.&lt;br /&gt;
|-&lt;br /&gt;
| Printed and installed new terminal block holders (v2). Printed new air flow switch and water level float switch head and base. Remodeled exhaust header. || James || 5/6/17 || Holders fit great.  Base, not so much.&lt;br /&gt;
|-&lt;br /&gt;
| Reprinted water level float switch base. Investigated PWM output from Smoothieboard. || James + Tom || 5/7/17 || Pin 4.2 and GND work for PWM signal.  PWM to DC breadboard isn&#039;t working. Laser power supply 5V circuit for safety switches doesn&#039;t have enough current to illuminate the trouble lamps on front panel.&lt;br /&gt;
|-&lt;br /&gt;
| Install float switch. || James || 5/11/17 || Not seeming to function as of 5/14 - remains conductive even when open?&lt;br /&gt;
|-&lt;br /&gt;
| Successful CNC laser firing on circle laser test. || James + Tom || 5/14/17 || Some kind of beam splitting or 2-layer reflection is going on. PWM out can be set using laser_module_pwm_pin in smoothieboard config.&lt;br /&gt;
|-&lt;br /&gt;
| Setup the auto-man power level control switch. General stuff. || James + Tom || 5/28/17 || We&#039;ve got some stray AC current in the case.&lt;br /&gt;
|-&lt;br /&gt;
| Installed RasPI as webhost. Replaced USB cable. || James + Tom || 6/4/17 || [http://192.168.26.122:8000/ Laserweb server], from HacDC network&lt;br /&gt;
|-&lt;br /&gt;
| Test cut Pepe the frog on opaque acrylic with painters tape mask. || James + [[user:Andrew|Andrew]] || 6/5/17 || Auto fire signal still isn&#039;t working.&lt;br /&gt;
|-&lt;br /&gt;
| Added circuitry to breadboard to automate the firing signal. || James || 6/6/17 || Will test on Thursday.&lt;br /&gt;
|-&lt;br /&gt;
| Test fire was successful. Operations section updated. || James || 6/8/17 || Fully automatic operations achieved! &lt;br /&gt;
|-&lt;br /&gt;
| Unsuccessful work to connect hour meter. || James || 6/11/17 || Don&#039;t use laser for now.  I&#039;m waiting on some parts to make a soldered accessory board.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Additional Reading==&lt;br /&gt;
#[http://howell.seattle.wa.us/essays/lasercutter.shtml Laser blog]&lt;br /&gt;
#[https://www.reddit.com/r/lasercutting/wiki/k40 Reddit K40 wiki]&lt;br /&gt;
#[http://www.lightobject.com/Default.aspx Light Object laser retailer]&lt;br /&gt;
&lt;br /&gt;
[[Category:Equipment]]&lt;br /&gt;
[[Category:LaserCutter]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:Ongoing Projects]]&lt;br /&gt;
[[Category:Project Awesome]]&lt;br /&gt;
[[Category:CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13440</id>
		<title>Cheap Chinese Laser</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13440"/>
		<updated>2017-06-11T21:53:58Z</updated>

		<summary type="html">&lt;p&gt;James: added +12VDC terminals to block connection list for LEDs, hour meter, and power supply&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cheap Chinese Laser]]&lt;br /&gt;
&lt;br /&gt;
This is the page dealing with the [[Cheap Chinese Laser]] at [https://www.hacdc.org HacDC] in the upstairs room at St. Stephen and the Incarnate church in Washington, DC.  This page replaces [[PA LaserCutter]] page from some years ago.  It had high ideals, but poor execution.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
HacDC has a K40, 40W, CO2, water cooled, laser for CNC cutting of various materials, aka a cheap Chinese laser.  It allegedly used to work just fine, but someone decided that wasn&#039;t good enough so she ordered and halfass installed some new parts that only halfass work.  After our intrepid hero, [[user:James|James]], fullyassed the installation of the new parts, the laser still only halfass worked.  [[user:Tom|Tom]] was railroaded into helping with the software, but even so the dynamic duo couldn&#039;t get the damn thing to work.  Then one day at work, boredom struck in a meeting and James had the idea to create this wiki page to guide others through the confusion and misinformation that plagues most equipment at HacDC and often results in subpar operation.  I beseech you, dear reader, to continue your edification on our topic at hand and become your own evil archvillain with laser powers.  (Sharks sold separately.)&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
===Chassis===&lt;br /&gt;
The chassis is the laser itself, the blue metal box with 3 flip up lids.  The main lid users deal with is for the cutting chamber on the left front of the machine.  It includes an orange plastic window.  The cutting chamber contains the transverse and longitudinal axes, aka x and y.  X goes left to right, and y goes back to front.  The material to be cut goes in this chamber.  The second flip up lid is for the controls and power supplies chamber.  This lid contains the front panel controls and indicators.  There are two control boards, the Smoothie board and the K40 ACR plug-and-play board which connects the Smoothie board to the machine hardware.  There are two power supplies as well, the control powersupply which is right below the control boards and the high-voltage (and I mean real high voltage, like around 15kV, not those nambypamby B.S. 120VAC &amp;quot;high voltage&amp;quot; warning labels) laser tube power supply which creates enough voltage to rip the electrons off the CO2 molecules and ionize them and cause them to emit coherent light when the electrons get back together with their matching CO2 ions.  For more about this exciting process, read a science book.  The third lid covers the laser tube chamber at the back of the chassis.  You don&#039;t really need to mess with these last two lids unless you are modifying the equipment or troubleshooting a failure.  All the lids have interlock switches and the laser will not fire if any one is open (unless you flip the override switch, in which case, it&#039;s your own darn fault for burning out your eye, as we say in Charlotte, &amp;quot;you did it to yourself&amp;quot;).&lt;br /&gt;
===Exhaust===&lt;br /&gt;
The exhaust system sucks smoke from the laser chassis cutting chamber and sends it outside through a window.  It was cobbled together using a fan and housing salvaged from a prior laser cutter and is mostly held together with zipties and metal duct tape.  Seriously.  I&#039;m not kidding.  Actual zipties and duct tape.  (I&#039;d like to give a shout-out to Home Depot for selling me the role of metal tape for only one cent.)  If any part of the whole laser system is going to crap out, this would be a good part to bet on.  It also uses 4&amp;quot; diameter (that&#039;s 105mm for those of you on the metric system) flexible metal clothes dryer exhaust duct to carry the exhaust gasses.  There are custom-made, 3d-printed transiton pieces at the back of the laser chassis which replace the original feeble exhaust system.  Read about them [[K40_Exhaust_Assembly|here]]&lt;br /&gt;
&lt;br /&gt;
===Cooling===&lt;br /&gt;
The cooling system presently consists of a 5 gallon pail in the roller cabinet with a submersible pump.  The water should be replaced with distilled.  (The pump power cord got a new plug.  It stays plugged in much better than the original cheap Chinese plug.)  If the water doesn&#039;t flow, the laser will burnout.  Sadness.  The cooling system presently only works based on the heat capacity of the water in the bucket.  Once the water heats up, you just need to wait for it to cool back down all by itself.  You can read about other people with more sophisticated refrigerated cooling systems, but this was quick and easy, like a virgin on prom night.  Julia has mentioned she&#039;s got some thermoelectric coolers in hiding for this project.  We&#039;ll cross that bridge when we get everything else running first.  The cooling system will have 3 interlocks: low water level, low flow, and high temperature.&lt;br /&gt;
&lt;br /&gt;
===Computer===&lt;br /&gt;
This is CNC equipment.  The first C is for Computer.  (No, not for cookie, but we often have cookies anyway.)  You need a computer with a USB port.  You need computer software.  I hope we can have a computer dedicated to the laser, but let&#039;s be real, that&#039;s not likely to happen.  I hope Tom will fill out this section.&lt;br /&gt;
===Cabinet===&lt;br /&gt;
The cabinet is what the chassis sits on.  The cabinet has wheels.  It&#039;s made of particle board and painted white.  The left door has upper and lower latches inside which hold it shut, so don&#039;t yank on it.  The cabinet houses the cooling system, the 12V accessory power supply, the power strip which all the line voltage equipment plugs into: exhaust fan, cooling pump, laser chassis, 12V power supply (marginal one installed currently to power the cutting chamber accessory lights).&lt;br /&gt;
&lt;br /&gt;
==Safety Interlocks==&lt;br /&gt;
&#039;&#039;&#039;Only some of these safeties are installed presently.&#039;&#039;&#039;  Don&#039;t go futzing around with stuff unless you know exactly what you are doing.  And tell James or Tom.  For troubleshooting purposes, there is a safety override switch on the control panel (middle of three).&lt;br /&gt;
===Ventilation===&lt;br /&gt;
#Exhaust - If the exhaust fan isn&#039;t moving air, we don&#039;t want the laser to fire and make lots of smoke which would then fill the room&lt;br /&gt;
#Lens - Eventually we plan to install an air shroud nozzle around the laser lens to keep smoke from coating the lens and reducing cutting power.&lt;br /&gt;
===Coolant===&lt;br /&gt;
#Level - Installed&lt;br /&gt;
#Flow&lt;br /&gt;
#Temp&lt;br /&gt;
===Doors===&lt;br /&gt;
#Cutting Chamber - Installed&lt;br /&gt;
#Control Chamber - Installed&lt;br /&gt;
#Laser Chamber - Probably not going to install this switch because the door is in back and control panel space is at a premium&lt;br /&gt;
#Cabinet - Probably not going to install this switch because there&#039;s not much harm in the cabinet and control panel space is at a premium&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
===Prestart===&lt;br /&gt;
#Come up with design&lt;br /&gt;
#Create SVG using software like [https://inkscape.org/ Inkscape]&lt;br /&gt;
#Upload SVG to computer&lt;br /&gt;
&lt;br /&gt;
===Startup===&lt;br /&gt;
#Roll cabinet out from under shelf&lt;br /&gt;
#Get extension cord out of cabinet and plug laser into extension cord and extension cord into live receptacle&lt;br /&gt;
#Turn on laser master power switch&lt;br /&gt;
#Close cabinet door&lt;br /&gt;
#Load material to be cut in laser cabinet&lt;br /&gt;
#Shut lid on cutting chamber&lt;br /&gt;
#Turn on laser cabinet power switch&lt;br /&gt;
===Operations===&lt;br /&gt;
#Ensure all safety interlocks are operable by checking indicator lights&lt;br /&gt;
##You can skip this step for now since the lights don&#039;t work&lt;br /&gt;
#Do software stuff&lt;br /&gt;
##Connect to LaserWeb server at [http://192.168.26.122:8000/ 192.168.26.122 Port 8000] from HacDC network&lt;br /&gt;
##Clear LaserWeb 4 upgrade warning popup&lt;br /&gt;
##Click on Settings on left edge of page&lt;br /&gt;
##Click on BACKUP at top of setting pane&lt;br /&gt;
##Click on Restore from file&lt;br /&gt;
##Upload [[file:Laserweb-settings-backup.json]] file&lt;br /&gt;
##Click Save&lt;br /&gt;
##Observe messages &amp;quot;Saved Settings&amp;quot; and &amp;quot;Please refresh page for settings to take effect&amp;quot;&lt;br /&gt;
##Refresh webpage&lt;br /&gt;
##Clear LaserWeb 4 upgrade warning popup, again&lt;br /&gt;
##Load SVG file of cutting paths by dragging and dropping into the web browser window&lt;br /&gt;
##Click Generate G-Code (on CAM menu)&lt;br /&gt;
##Click Connect at the top of the webpage&lt;br /&gt;
##If a popup appears, choose Option 1&lt;br /&gt;
##Click Jog on left edge of the window&lt;br /&gt;
##Click home and observe the gantry move to the home position in the far left corner of the cutting chamber&lt;br /&gt;
#Run program without laser powered on to observe tool path and ensure material to be cut in properly arranged in the cutting chamber&lt;br /&gt;
##Click check outline and observe the laser move &lt;br /&gt;
###Check that material is fully under the travel area&lt;br /&gt;
###Check that your design is the size you expect it to be (25.4 for mm)&lt;br /&gt;
###If the size is not right, go to the Settings page and adjust the DPI setting on the Size menu&lt;br /&gt;
#Run program with laser powered on to cut material&lt;br /&gt;
##Click run gcode&lt;br /&gt;
##Watch for things catching fire&lt;br /&gt;
&lt;br /&gt;
===Shutdown===&lt;br /&gt;
#Turn off laser chassis and master power switches&lt;br /&gt;
#Unplug laser and extension cord&lt;br /&gt;
#Coilup and store extension cord&lt;br /&gt;
#Shut cabinet door&lt;br /&gt;
#Roll cabinet back under the shelf&lt;br /&gt;
#Continue with your evil plans for world domination&lt;br /&gt;
&lt;br /&gt;
==Custom Wiring== &lt;br /&gt;
Julia had some LED strips she wanted installed.  We succeeded.  The illuminate when the main power is turned on.&lt;br /&gt;
[[File:Laser-leds1.jpg]]&lt;br /&gt;
&lt;br /&gt;
They are white LEDs but the orange laser viewing window colors them.&lt;br /&gt;
&lt;br /&gt;
[[File:Laser-leds2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sully really likes relays and discrete, analogue circuits, so he jimmied up a bunch of stuff to make it less likely for you to poke your eye out or burn out the laser.&lt;br /&gt;
The laser power supply from the factory takes input from 3 front panel controls: off-on laser switch, momentary-on laser switch, power control potentiometer knob.  The off-on switch was a cheap latching push button which was connected to the leftmost two terminals of the 6 terminal plug with black wires.  It was replaced with an off-on, metal, toggle switch on 3-23-17.  The middle two terminals of the block connect to the momentary on push button switch on the front panel which causes the laser to fire (when the left two terminals are shorted together by the toggle switch).  The right 3 terminals (which overlap with the right center terminal going to the push button switch) connect to the front panel potentiometer which controls the laser current.  Do not turn the knob to full clockwise, because increasing the laser firing current past a certain point doesn&#039;t provide any benefit and just reduces the tube lifespan.  The plan is to parallelize the push button firing switch with a solid-state relay controlled directly by the Smoothie board and bypassing the K40 ACR board (which was supposed to make the Smoothie board plug-and-play, but as mentioned earlier did a halfassed job).  The potentiometer will be connected to a 3PDT switch for computerized or manual power level control.  A PWM to DC circuit will do the automatic control and the original pot will remain for the manual control.&lt;br /&gt;
The safety interlocks are basically a whole bunch of microswitches in series so if any one of them gets tripped the left two pins of the power supply 6 pin connector won&#039;t be shorted together and the laser won&#039;t fire.  There&#039;s also a plan to have lights illuminate to show which safeties are operating properly or tripped.  Plus indicator lights are cool.  And for the remaining manual firing switches we plan on getting those flip-up red covers like in those military movies where they&#039;re firing nuclear missiles and stuff like that.  These would aid in troubleshooting, and look really cool, even if they are kinda spendy.  Man, this is really turning into a wall of text.  Someone should do something about this sometime.  Anyway, schematic drawings would go here, or links to them would go here.&lt;br /&gt;
&lt;br /&gt;
Terminal Block Connections&lt;br /&gt;
#Cutting chamber door safety switch - common&lt;br /&gt;
#Cutting chamber door safety switch - n.o.&lt;br /&gt;
#Cutting chamber door safety switch - n.c.&lt;br /&gt;
#Control chamber door safety switch - common&lt;br /&gt;
#Control chamber door safety switch - n.o.&lt;br /&gt;
#Control chamber door safety switch - n.c.&lt;br /&gt;
#Cooling water level float safety switch - common&lt;br /&gt;
#Cooling water level float safety switch - n.o.&lt;br /&gt;
#Cooling water level float safety switch - n.c.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#12VDC / Cutting Chamber LED positive&lt;br /&gt;
#Hour meter / 12VDC / Cutting Chamber LED ground&lt;br /&gt;
#Hour meter positive &lt;br /&gt;
#Laser fire switch positive - shorts to ground (below) to fire laser&lt;br /&gt;
#Laser power supply power level control potentiometer GND&lt;br /&gt;
#Auto power control voltage divided between +V and GND - connects to auto-hand control panel switch and to PWM-DC converter circuit output&lt;br /&gt;
#Laser power supply power level control potentiometer +V&lt;br /&gt;
&lt;br /&gt;
==Custom Parts==&lt;br /&gt;
Images of custom parts like the exhaust nozzles and eventually a new control panel and source files for 3d printed or laser cut parts can go here.&lt;br /&gt;
&lt;br /&gt;
[[CCL front panel]]&lt;br /&gt;
&lt;br /&gt;
[[Air flow switch holder]]&lt;br /&gt;
&lt;br /&gt;
[[Exhaust nozzle]]&lt;br /&gt;
&lt;br /&gt;
[[Terminal block holder]]&lt;br /&gt;
&lt;br /&gt;
This image is colored for 3d printing using it as a height map: black=0mm, gray=1mm, white=2mm. 174mm wide, 184mm tall.&lt;br /&gt;
The SVG file was created by a Ruby program to modularize the positions and sizes of cutouts for switches, nobs, lamps, etc.&lt;br /&gt;
&lt;br /&gt;
[[file:Control-panel.png]]&lt;br /&gt;
&lt;br /&gt;
==Bill of Materials, a.k.a. Donation Wishlist, and Hardware Store Shopping List==&lt;br /&gt;
#Laser goggles&lt;br /&gt;
#USB A-B cord, i.e. printer cable, which doesn&#039;t suck&lt;br /&gt;
#Solid state relays -- we used [http://www.clare.com/home/pdfs.nsf/www/LBA110.pdf/$file/LBA110.pdf] this one.  --This should move to custom parts and off the wishlist (JS 4-20).&lt;br /&gt;
#Stuff to cut&lt;br /&gt;
##1/8&amp;quot; Baltic birch plywood&lt;br /&gt;
##Plastic sheets, e.g. acrylic&lt;br /&gt;
##Masonite?&lt;br /&gt;
#Cabinet reinforcements&lt;br /&gt;
##dimensional lumber, e.g. 2x4, 2x2, 1x3&lt;br /&gt;
##unidirectional casters&lt;br /&gt;
#Cooling system stuff&lt;br /&gt;
##Distilled water&lt;br /&gt;
##Float switch&lt;br /&gt;
##Thermocouple or thermistor/RTD temperature sensor probe&lt;br /&gt;
##Radiator and fans&lt;br /&gt;
##Solidstate heat pump&lt;br /&gt;
##Working water fountain chiller (for future use on the 100W downstairs)&lt;br /&gt;
##PLC/Microcontroller with A/D inputs for temperature probe conditioning and temp display (advanced task)&lt;br /&gt;
#Green connectors for smoothieboard and laser powersupply [https://www.amazon.com/uxcell-Terminals-Pitch-Mount-Terminal/dp/B00E6Q4FE6/ref=sr_1_9?ie=UTF8&amp;amp;qid=1493691567&amp;amp;sr=8-9&amp;amp;keywords=pluggable+terminal+block+connector]&lt;br /&gt;
&lt;br /&gt;
==To-Do Tasks==&lt;br /&gt;
#Airflow switch housing&lt;br /&gt;
##manufacture&lt;br /&gt;
##install&lt;br /&gt;
#Coolant interlocks&lt;br /&gt;
##Flow sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Temp sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
#Door switches&lt;br /&gt;
##Cabinet door&lt;br /&gt;
##Laser tube chamber door&lt;br /&gt;
#Chassis wiring&lt;br /&gt;
##Wire up the safety switches as they are installed&lt;br /&gt;
##Draw a wiring diagram of custom components&lt;br /&gt;
#CNC firing control - This svg file can be used to test run the laser: [[Laser circle test]]&lt;br /&gt;
##find firing signal on Smoothie board&lt;br /&gt;
##in the config you specify this with laser_module_ttl_pin&lt;br /&gt;
##determine relay requirements&lt;br /&gt;
##purchase and receive relay&lt;br /&gt;
##install firing relay&lt;br /&gt;
#software&lt;br /&gt;
##determine best software to use&lt;br /&gt;
##develop workflows for various programs and operating systems&lt;br /&gt;
##update this page to explain the above&lt;br /&gt;
##We&#039;re gonna use Laserweb I think so setup a RasPi or something as a Laserweb server.&lt;br /&gt;
&lt;br /&gt;
==Completed Tasks==&lt;br /&gt;
If you do work on the laser, please record it here.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Task !! Fixer !! Date !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Create Wiki page || [[user:James|James]] || 3/24/2017 || Ongoing updates needed&lt;br /&gt;
|-&lt;br /&gt;
| Install operational exhaust system || James || 2/2017 || Still needs interlocks&lt;br /&gt;
|-&lt;br /&gt;
| Install cooling system || James || 2/2017 || Air cooling or refrigeration could be added&lt;br /&gt;
|-&lt;br /&gt;
| Connect control power supply to switched mains || James || 3/2017 || Done&lt;br /&gt;
|-&lt;br /&gt;
| Get x and y axis movements working || [[user:Tom|Tom]] || 3/2017 || Firing still needs to be fixed&lt;br /&gt;
|-&lt;br /&gt;
| Replaced cooling pump power cord plug || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed door closure bolts on left cabinet door || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed cutting chamber illumination LEDs and 12VDC powersupply || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Control + interlock circuits design/brainstorm session || James + Tom || 3/27/2017 || See webpages below for Smothieboard help&lt;br /&gt;
|-&lt;br /&gt;
| Mocked up and tested control circuit for PWM from smoothieboard || James + Tom || 3/27/2017 || http://smoothieware.org/laser-cutter-guide&lt;br /&gt;
|-&lt;br /&gt;
| Scoped out various pins on the smoothieboard to find PWM out || James + Tom || 3/27/2017 || http://smoothieware.org/smoothieboard-v1&lt;br /&gt;
|-&lt;br /&gt;
| Removed control panel || James || 3/30/17 || Don&#039;t mess with nothing until a new one gets installed!&lt;br /&gt;
|-&lt;br /&gt;
| Tried to 3d print a new control panel || James || 4/2/17 || Lulzbot Taz either didn&#039;t extrude or made bird poop. :( It&#039;s too bad we don&#039;t have a working laser cutter.&lt;br /&gt;
|-&lt;br /&gt;
| Adjusted program size parameters based on failed print and added ammeter mounting screw holes to control panel design || James || 4/11/17 || Still need to upload new SVG here and print it&lt;br /&gt;
|-&lt;br /&gt;
| Ordered self adhesive cable tie mounting squares and SSR for PWM-&amp;gt; DC || Tom || 4/11/17 || Delivery expected Thursday&lt;br /&gt;
|-&lt;br /&gt;
| Design 3d-printed mounting bracket/clip to hold switches for door interlocks || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Design, breadboard and test PWM circuit with solid state relay and newly determined time constant || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded exhaust nozzle and exhaust flow switch scad files || James || 4/20/17 || Flow switch needs printing and Tom&#039;s nacelle needs dimension tweeking.&lt;br /&gt;
|-&lt;br /&gt;
| Tried printing control panel on the Ultimaker&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; || James || 4/25/17 || Print failed twice, but third time looked good before I left.&lt;br /&gt;
|-&lt;br /&gt;
| Installed control panel 3d printed on Tuesday || James || 4/27/17 || Controls and indicators are installed but not operational, yet.  It looks sweet! Could be thicker, maybe 4mm.  Dimensions could use tweeking too: toggle switches moved down, corner radii reduced,...&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded source code and stl for water level float switch and for terminal block holders.  Installed v5 of door switch holder and soldered wires to switches. || James || 5/1/17 || Still need to print float switch parts and terminal block holders. New parts fit well. A very productive day overall.&lt;br /&gt;
|-&lt;br /&gt;
| Installed terminal block with manually modified v1 terminal block holder parts.  Wired up cutting chamber and control chamber door safety switches.  Connected laser power supply wiring to new control panel switches. || James || 5/4/17 || Need to adjust terminal block holder dimensions and reprint.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded v2 source code and stl for terminal block holder. || James || 5/5/17 || Need to print float switch parts and terminal block holders.&lt;br /&gt;
|-&lt;br /&gt;
| Printed and installed new terminal block holders (v2). Printed new air flow switch and water level float switch head and base. Remodeled exhaust header. || James || 5/6/17 || Holders fit great.  Base, not so much.&lt;br /&gt;
|-&lt;br /&gt;
| Reprinted water level float switch base. Investigated PWM output from Smoothieboard. || James + Tom || 5/7/17 || Pin 4.2 and GND work for PWM signal.  PWM to DC breadboard isn&#039;t working. Laser power supply 5V circuit for safety switches doesn&#039;t have enough current to illuminate the trouble lamps on front panel.&lt;br /&gt;
|-&lt;br /&gt;
| Install float switch. || James || 5/11/17 || Not seeming to function as of 5/14 - remains conductive even when open?&lt;br /&gt;
|-&lt;br /&gt;
| Successful CNC laser firing on circle laser test. || James + Tom || 5/14/17 || Some kind of beam splitting or 2-layer reflection is going on. PWM out can be set using laser_module_pwm_pin in smoothieboard config.&lt;br /&gt;
|-&lt;br /&gt;
| Setup the auto-man power level control switch. General stuff. || James + Tom || 5/28/17 || We&#039;ve got some stray AC current in the case.&lt;br /&gt;
|-&lt;br /&gt;
| Installed RasPI as webhost. Replaced USB cable. || James + Tom || 6/4/17 || [http://192.168.26.122:8000/ Laserweb server], from HacDC network&lt;br /&gt;
|-&lt;br /&gt;
| Test cut Pepe the frog on opaque acrylic with painters tape mask. || James + [[user:Andrew|Andrew]] || 6/5/17 || Auto fire signal still isn&#039;t working.&lt;br /&gt;
|-&lt;br /&gt;
| Added circuitry to breadboard to automate the firing signal. || James || 6/6/17 || Will test on Thursday.&lt;br /&gt;
|-&lt;br /&gt;
| Test fire was successful. Operations section updated. || James || 6/8/17 || Fully automatic operations achieved! &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Additional Reading==&lt;br /&gt;
#[http://howell.seattle.wa.us/essays/lasercutter.shtml Laser blog]&lt;br /&gt;
#[https://www.reddit.com/r/lasercutting/wiki/k40 Reddit K40 wiki]&lt;br /&gt;
#[http://www.lightobject.com/Default.aspx Light Object laser retailer]&lt;br /&gt;
&lt;br /&gt;
[[Category:Equipment]]&lt;br /&gt;
[[Category:LaserCutter]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:Ongoing Projects]]&lt;br /&gt;
[[Category:Project Awesome]]&lt;br /&gt;
[[Category:CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13427</id>
		<title>Cheap Chinese Laser</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13427"/>
		<updated>2017-06-09T02:21:12Z</updated>

		<summary type="html">&lt;p&gt;James: fixed link text for LaserWeb server&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cheap Chinese Laser]]&lt;br /&gt;
&lt;br /&gt;
This is the page dealing with the [[Cheap Chinese Laser]] at [https://www.hacdc.org HacDC] in the upstairs room at St. Stephen and the Incarnate church in Washington, DC.  This page replaces [[PA LaserCutter]] page from some years ago.  It had high ideals, but poor execution.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
HacDC has a K40, 40W, CO2, water cooled, laser for CNC cutting of various materials, aka a cheap Chinese laser.  It allegedly used to work just fine, but someone decided that wasn&#039;t good enough so she ordered and halfass installed some new parts that only halfass work.  After our intrepid hero, [[user:James|James]], fullyassed the installation of the new parts, the laser still only halfass worked.  [[user:Tom|Tom]] was railroaded into helping with the software, but even so the dynamic duo couldn&#039;t get the damn thing to work.  Then one day at work, boredom struck in a meeting and James had the idea to create this wiki page to guide others through the confusion and misinformation that plagues most equipment at HacDC and often results in subpar operation.  I beseech you, dear reader, to continue your edification on our topic at hand and become your own evil archvillain with laser powers.  (Sharks sold separately.)&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
===Chassis===&lt;br /&gt;
The chassis is the laser itself, the blue metal box with 3 flip up lids.  The main lid users deal with is for the cutting chamber on the left front of the machine.  It includes an orange plastic window.  The cutting chamber contains the transverse and longitudinal axes, aka x and y.  X goes left to right, and y goes back to front.  The material to be cut goes in this chamber.  The second flip up lid is for the controls and power supplies chamber.  This lid contains the front panel controls and indicators.  There are two control boards, the Smoothie board and the K40 ACR plug-and-play board which connects the Smoothie board to the machine hardware.  There are two power supplies as well, the control powersupply which is right below the control boards and the high-voltage (and I mean real high voltage, like around 15kV, not those nambypamby B.S. 120VAC &amp;quot;high voltage&amp;quot; warning labels) laser tube power supply which creates enough voltage to rip the electrons off the CO2 molecules and ionize them and cause them to emit coherent light when the electrons get back together with their matching CO2 ions.  For more about this exciting process, read a science book.  The third lid covers the laser tube chamber at the back of the chassis.  You don&#039;t really need to mess with these last two lids unless you are modifying the equipment or troubleshooting a failure.  All the lids have interlock switches and the laser will not fire if any one is open (unless you flip the override switch, in which case, it&#039;s your own darn fault for burning out your eye, as we say in Charlotte, &amp;quot;you did it to yourself&amp;quot;).&lt;br /&gt;
===Exhaust===&lt;br /&gt;
The exhaust system sucks smoke from the laser chassis cutting chamber and sends it outside through a window.  It was cobbled together using a fan and housing salvaged from a prior laser cutter and is mostly held together with zipties and metal duct tape.  Seriously.  I&#039;m not kidding.  Actual zipties and duct tape.  (I&#039;d like to give a shout-out to Home Depot for selling me the role of metal tape for only one cent.)  If any part of the whole laser system is going to crap out, this would be a good part to bet on.  It also uses 4&amp;quot; diameter (that&#039;s 105mm for those of you on the metric system) flexible metal clothes dryer exhaust duct to carry the exhaust gasses.  There are custom-made, 3d-printed transiton pieces at the back of the laser chassis which replace the original feeble exhaust system.  Read about them [[K40_Exhaust_Assembly|here]]&lt;br /&gt;
&lt;br /&gt;
===Cooling===&lt;br /&gt;
The cooling system presently consists of a 5 gallon pail in the roller cabinet with a submersible pump.  The water should be replaced with distilled.  (The pump power cord got a new plug.  It stays plugged in much better than the original cheap Chinese plug.)  If the water doesn&#039;t flow, the laser will burnout.  Sadness.  The cooling system presently only works based on the heat capacity of the water in the bucket.  Once the water heats up, you just need to wait for it to cool back down all by itself.  You can read about other people with more sophisticated refrigerated cooling systems, but this was quick and easy, like a virgin on prom night.  Julia has mentioned she&#039;s got some thermoelectric coolers in hiding for this project.  We&#039;ll cross that bridge when we get everything else running first.  The cooling system will have 3 interlocks: low water level, low flow, and high temperature.&lt;br /&gt;
&lt;br /&gt;
===Computer===&lt;br /&gt;
This is CNC equipment.  The first C is for Computer.  (No, not for cookie, but we often have cookies anyway.)  You need a computer with a USB port.  You need computer software.  I hope we can have a computer dedicated to the laser, but let&#039;s be real, that&#039;s not likely to happen.  I hope Tom will fill out this section.&lt;br /&gt;
===Cabinet===&lt;br /&gt;
The cabinet is what the chassis sits on.  The cabinet has wheels.  It&#039;s made of particle board and painted white.  The left door has upper and lower latches inside which hold it shut, so don&#039;t yank on it.  The cabinet houses the cooling system, the 12V accessory power supply, the power strip which all the line voltage equipment plugs into: exhaust fan, cooling pump, laser chassis, 12V power supply (marginal one installed currently to power the cutting chamber accessory lights).&lt;br /&gt;
&lt;br /&gt;
==Safety Interlocks==&lt;br /&gt;
&#039;&#039;&#039;Only some of these safeties are installed presently.&#039;&#039;&#039;  Don&#039;t go futzing around with stuff unless you know exactly what you are doing.  And tell James or Tom.  For troubleshooting purposes, there is a safety override switch on the control panel (middle of three).&lt;br /&gt;
===Ventilation===&lt;br /&gt;
#Exhaust - If the exhaust fan isn&#039;t moving air, we don&#039;t want the laser to fire and make lots of smoke which would then fill the room&lt;br /&gt;
#Lens - Eventually we plan to install an air shroud nozzle around the laser lens to keep smoke from coating the lens and reducing cutting power.&lt;br /&gt;
===Coolant===&lt;br /&gt;
#Level - Installed&lt;br /&gt;
#Flow&lt;br /&gt;
#Temp&lt;br /&gt;
===Doors===&lt;br /&gt;
#Cutting Chamber - Installed&lt;br /&gt;
#Control Chamber - Installed&lt;br /&gt;
#Laser Chamber - Probably not going to install this switch because the door is in back and control panel space is at a premium&lt;br /&gt;
#Cabinet - Probably not going to install this switch because there&#039;s not much harm in the cabinet and control panel space is at a premium&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
===Prestart===&lt;br /&gt;
#Come up with design&lt;br /&gt;
#Create SVG using software like [https://inkscape.org/ Inkscape]&lt;br /&gt;
#Upload SVG to computer&lt;br /&gt;
&lt;br /&gt;
===Startup===&lt;br /&gt;
#Roll cabinet out from under shelf&lt;br /&gt;
#Get extension cord out of cabinet and plug laser into extension cord and extension cord into live receptacle&lt;br /&gt;
#Turn on laser master power switch&lt;br /&gt;
#Close cabinet door&lt;br /&gt;
#Load material to be cut in laser cabinet&lt;br /&gt;
#Shut lid on cutting chamber&lt;br /&gt;
#Turn on laser cabinet power switch&lt;br /&gt;
===Operations===&lt;br /&gt;
#Ensure all safety interlocks are operable by checking indicator lights&lt;br /&gt;
##You can skip this step for now since the lights don&#039;t work&lt;br /&gt;
#Do software stuff&lt;br /&gt;
##Connect to LaserWeb server at [http://192.168.26.122:8000/ 192.168.26.122 Port 8000] from HacDC network&lt;br /&gt;
##Clear LaserWeb 4 upgrade warning popup&lt;br /&gt;
##Click on Settings on left edge of page&lt;br /&gt;
##Click on BACKUP at top of setting pane&lt;br /&gt;
##Click on Restore from file&lt;br /&gt;
##Upload [[file:Laserweb-settings-backup.json]] file&lt;br /&gt;
##Click Save&lt;br /&gt;
##Observe messages &amp;quot;Saved Settings&amp;quot; and &amp;quot;Please refresh page for settings to take effect&amp;quot;&lt;br /&gt;
##Refresh webpage&lt;br /&gt;
##Clear LaserWeb 4 upgrade warning popup, again&lt;br /&gt;
##Load SVG file of cutting paths by dragging and dropping into the web browser window&lt;br /&gt;
##Click Generate G-Code (on CAM menu)&lt;br /&gt;
##Click Connect at the top of the webpage&lt;br /&gt;
##If a popup appears, choose Option 1&lt;br /&gt;
##Click Jog on left edge of the window&lt;br /&gt;
##Click home and observe the gantry move to the home position in the far left corner of the cutting chamber&lt;br /&gt;
#Run program without laser powered on to observe tool path and ensure material to be cut in properly arranged in the cutting chamber&lt;br /&gt;
##Click check outline and observe the laser move &lt;br /&gt;
###Check that material is fully under the travel area&lt;br /&gt;
###Check that your design is the size you expect it to be (25.4 for mm)&lt;br /&gt;
###If the size is not right, go to the Settings page and adjust the DPI setting on the Size menu&lt;br /&gt;
#Run program with laser powered on to cut material&lt;br /&gt;
##Click run gcode&lt;br /&gt;
##Watch for things catching fire&lt;br /&gt;
&lt;br /&gt;
===Shutdown===&lt;br /&gt;
#Turn off laser chassis and master power switches&lt;br /&gt;
#Unplug laser and extension cord&lt;br /&gt;
#Coilup and store extension cord&lt;br /&gt;
#Shut cabinet door&lt;br /&gt;
#Roll cabinet back under the shelf&lt;br /&gt;
#Continue with your evil plans for world domination&lt;br /&gt;
&lt;br /&gt;
==Custom Wiring== &lt;br /&gt;
Julia had some LED strips she wanted installed.  We succeeded.  The illuminate when the main power is turned on.&lt;br /&gt;
[[File:Laser-leds1.jpg]]&lt;br /&gt;
&lt;br /&gt;
They are white LEDs but the orange laser viewing window colors them.&lt;br /&gt;
&lt;br /&gt;
[[File:Laser-leds2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sully really likes relays and discrete, analogue circuits, so he jimmied up a bunch of stuff to make it less likely for you to poke your eye out or burn out the laser.&lt;br /&gt;
The laser power supply from the factory takes input from 3 front panel controls: off-on laser switch, momentary-on laser switch, power control potentiometer knob.  The off-on switch was a cheap latching push button which was connected to the leftmost two terminals of the 6 terminal plug with black wires.  It was replaced with an off-on, metal, toggle switch on 3-23-17.  The middle two terminals of the block connect to the momentary on push button switch on the front panel which causes the laser to fire (when the left two terminals are shorted together by the toggle switch).  The right 3 terminals (which overlap with the right center terminal going to the push button switch) connect to the front panel potentiometer which controls the laser current.  Do not turn the knob to full clockwise, because increasing the laser firing current past a certain point doesn&#039;t provide any benefit and just reduces the tube lifespan.  The plan is to parallelize the push button firing switch with a solid-state relay controlled directly by the Smoothie board and bypassing the K40 ACR board (which was supposed to make the Smoothie board plug-and-play, but as mentioned earlier did a halfassed job).  The potentiometer will be connected to a 3PDT switch for computerized or manual power level control.  A PWM to DC circuit will do the automatic control and the original pot will remain for the manual control.&lt;br /&gt;
The safety interlocks are basically a whole bunch of microswitches in series so if any one of them gets tripped the left two pins of the power supply 6 pin connector won&#039;t be shorted together and the laser won&#039;t fire.  There&#039;s also a plan to have lights illuminate to show which safeties are operating properly or tripped.  Plus indicator lights are cool.  And for the remaining manual firing switches we plan on getting those flip-up red covers like in those military movies where they&#039;re firing nuclear missiles and stuff like that.  These would aid in troubleshooting, and look really cool, even if they are kinda spendy.  Man, this is really turning into a wall of text.  Someone should do something about this sometime.  Anyway, schematic drawings would go here, or links to them would go here.&lt;br /&gt;
&lt;br /&gt;
Terminal Block Connections&lt;br /&gt;
#Cutting chamber door safety switch - common&lt;br /&gt;
#Cutting chamber door safety switch - n.o.&lt;br /&gt;
#Cutting chamber door safety switch - n.c.&lt;br /&gt;
#Control chamber door safety switch - common&lt;br /&gt;
#Control chamber door safety switch - n.o.&lt;br /&gt;
#Control chamber door safety switch - n.c.&lt;br /&gt;
#Cooling water level float safety switch - common&lt;br /&gt;
#Cooling water level float safety switch - n.o.&lt;br /&gt;
#Cooling water level float safety switch - n.c.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#Laser fire switch 1&lt;br /&gt;
#Laser fire switch 2 - one of these is the same as power level GND (immediately below)&lt;br /&gt;
#Laser power supply power level control potentiometer GND&lt;br /&gt;
#Auto power control voltage divided between +V and GND - connects to auto-hand control panel switch and to PWM-DC converter circuit output&lt;br /&gt;
#Laser power supply power level control potentiometer +V&lt;br /&gt;
&lt;br /&gt;
==Custom Parts==&lt;br /&gt;
Images of custom parts like the exhaust nozzles and eventually a new control panel and source files for 3d printed or laser cut parts can go here.&lt;br /&gt;
&lt;br /&gt;
[[CCL front panel]]&lt;br /&gt;
&lt;br /&gt;
[[Air flow switch holder]]&lt;br /&gt;
&lt;br /&gt;
[[Exhaust nozzle]]&lt;br /&gt;
&lt;br /&gt;
[[Terminal block holder]]&lt;br /&gt;
&lt;br /&gt;
This image is colored for 3d printing using it as a height map: black=0mm, gray=1mm, white=2mm. 174mm wide, 184mm tall.&lt;br /&gt;
The SVG file was created by a Ruby program to modularize the positions and sizes of cutouts for switches, nobs, lamps, etc.&lt;br /&gt;
&lt;br /&gt;
[[file:Control-panel.png]]&lt;br /&gt;
&lt;br /&gt;
==Bill of Materials, a.k.a. Donation Wishlist, and Hardware Store Shopping List==&lt;br /&gt;
#Laser goggles&lt;br /&gt;
#USB A-B cord, i.e. printer cable, which doesn&#039;t suck&lt;br /&gt;
#Solid state relays -- we used [http://www.clare.com/home/pdfs.nsf/www/LBA110.pdf/$file/LBA110.pdf] this one.  --This should move to custom parts and off the wishlist (JS 4-20).&lt;br /&gt;
#Stuff to cut&lt;br /&gt;
##1/8&amp;quot; Baltic birch plywood&lt;br /&gt;
##Plastic sheets, e.g. acrylic&lt;br /&gt;
##Masonite?&lt;br /&gt;
#Cabinet reinforcements&lt;br /&gt;
##dimensional lumber, e.g. 2x4, 2x2, 1x3&lt;br /&gt;
##unidirectional casters&lt;br /&gt;
#Cooling system stuff&lt;br /&gt;
##Distilled water&lt;br /&gt;
##Float switch&lt;br /&gt;
##Thermocouple or thermistor/RTD temperature sensor probe&lt;br /&gt;
##Radiator and fans&lt;br /&gt;
##Solidstate heat pump&lt;br /&gt;
##Working water fountain chiller (for future use on the 100W downstairs)&lt;br /&gt;
##PLC/Microcontroller with A/D inputs for temperature probe conditioning and temp display (advanced task)&lt;br /&gt;
#Green connectors for smoothieboard and laser powersupply [https://www.amazon.com/uxcell-Terminals-Pitch-Mount-Terminal/dp/B00E6Q4FE6/ref=sr_1_9?ie=UTF8&amp;amp;qid=1493691567&amp;amp;sr=8-9&amp;amp;keywords=pluggable+terminal+block+connector]&lt;br /&gt;
&lt;br /&gt;
==To-Do Tasks==&lt;br /&gt;
#Airflow switch housing&lt;br /&gt;
##manufacture&lt;br /&gt;
##install&lt;br /&gt;
#Coolant interlocks&lt;br /&gt;
##Flow sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Temp sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
#Door switches&lt;br /&gt;
##Cabinet door&lt;br /&gt;
##Laser tube chamber door&lt;br /&gt;
#Chassis wiring&lt;br /&gt;
##Wire up the safety switches as they are installed&lt;br /&gt;
##Draw a wiring diagram of custom components&lt;br /&gt;
#CNC firing control - This svg file can be used to test run the laser: [[Laser circle test]]&lt;br /&gt;
##find firing signal on Smoothie board&lt;br /&gt;
##in the config you specify this with laser_module_ttl_pin&lt;br /&gt;
##determine relay requirements&lt;br /&gt;
##purchase and receive relay&lt;br /&gt;
##install firing relay&lt;br /&gt;
#software&lt;br /&gt;
##determine best software to use&lt;br /&gt;
##develop workflows for various programs and operating systems&lt;br /&gt;
##update this page to explain the above&lt;br /&gt;
##We&#039;re gonna use Laserweb I think so setup a RasPi or something as a Laserweb server.&lt;br /&gt;
&lt;br /&gt;
==Completed Tasks==&lt;br /&gt;
If you do work on the laser, please record it here.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Task !! Fixer !! Date !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Create Wiki page || [[user:James|James]] || 3/24/2017 || Ongoing updates needed&lt;br /&gt;
|-&lt;br /&gt;
| Install operational exhaust system || James || 2/2017 || Still needs interlocks&lt;br /&gt;
|-&lt;br /&gt;
| Install cooling system || James || 2/2017 || Air cooling or refrigeration could be added&lt;br /&gt;
|-&lt;br /&gt;
| Connect control power supply to switched mains || James || 3/2017 || Done&lt;br /&gt;
|-&lt;br /&gt;
| Get x and y axis movements working || [[user:Tom|Tom]] || 3/2017 || Firing still needs to be fixed&lt;br /&gt;
|-&lt;br /&gt;
| Replaced cooling pump power cord plug || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed door closure bolts on left cabinet door || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed cutting chamber illumination LEDs and 12VDC powersupply || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Control + interlock circuits design/brainstorm session || James + Tom || 3/27/2017 || See webpages below for Smothieboard help&lt;br /&gt;
|-&lt;br /&gt;
| Mocked up and tested control circuit for PWM from smoothieboard || James + Tom || 3/27/2017 || http://smoothieware.org/laser-cutter-guide&lt;br /&gt;
|-&lt;br /&gt;
| Scoped out various pins on the smoothieboard to find PWM out || James + Tom || 3/27/2017 || http://smoothieware.org/smoothieboard-v1&lt;br /&gt;
|-&lt;br /&gt;
| Removed control panel || James || 3/30/17 || Don&#039;t mess with nothing until a new one gets installed!&lt;br /&gt;
|-&lt;br /&gt;
| Tried to 3d print a new control panel || James || 4/2/17 || Lulzbot Taz either didn&#039;t extrude or made bird poop. :( It&#039;s too bad we don&#039;t have a working laser cutter.&lt;br /&gt;
|-&lt;br /&gt;
| Adjusted program size parameters based on failed print and added ammeter mounting screw holes to control panel design || James || 4/11/17 || Still need to upload new SVG here and print it&lt;br /&gt;
|-&lt;br /&gt;
| Ordered self adhesive cable tie mounting squares and SSR for PWM-&amp;gt; DC || Tom || 4/11/17 || Delivery expected Thursday&lt;br /&gt;
|-&lt;br /&gt;
| Design 3d-printed mounting bracket/clip to hold switches for door interlocks || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Design, breadboard and test PWM circuit with solid state relay and newly determined time constant || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded exhaust nozzle and exhaust flow switch scad files || James || 4/20/17 || Flow switch needs printing and Tom&#039;s nacelle needs dimension tweeking.&lt;br /&gt;
|-&lt;br /&gt;
| Tried printing control panel on the Ultimaker&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; || James || 4/25/17 || Print failed twice, but third time looked good before I left.&lt;br /&gt;
|-&lt;br /&gt;
| Installed control panel 3d printed on Tuesday || James || 4/27/17 || Controls and indicators are installed but not operational, yet.  It looks sweet! Could be thicker, maybe 4mm.  Dimensions could use tweeking too: toggle switches moved down, corner radii reduced,...&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded source code and stl for water level float switch and for terminal block holders.  Installed v5 of door switch holder and soldered wires to switches. || James || 5/1/17 || Still need to print float switch parts and terminal block holders. New parts fit well. A very productive day overall.&lt;br /&gt;
|-&lt;br /&gt;
| Installed terminal block with manually modified v1 terminal block holder parts.  Wired up cutting chamber and control chamber door safety switches.  Connected laser power supply wiring to new control panel switches. || James || 5/4/17 || Need to adjust terminal block holder dimensions and reprint.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded v2 source code and stl for terminal block holder. || James || 5/5/17 || Need to print float switch parts and terminal block holders.&lt;br /&gt;
|-&lt;br /&gt;
| Printed and installed new terminal block holders (v2). Printed new air flow switch and water level float switch head and base. Remodeled exhaust header. || James || 5/6/17 || Holders fit great.  Base, not so much.&lt;br /&gt;
|-&lt;br /&gt;
| Reprinted water level float switch base. Investigated PWM output from Smoothieboard. || James + Tom || 5/7/17 || Pin 4.2 and GND work for PWM signal.  PWM to DC breadboard isn&#039;t working. Laser power supply 5V circuit for safety switches doesn&#039;t have enough current to illuminate the trouble lamps on front panel.&lt;br /&gt;
|-&lt;br /&gt;
| Install float switch. || James || 5/11/17 || Not seeming to function as of 5/14 - remains conductive even when open?&lt;br /&gt;
|-&lt;br /&gt;
| Successful CNC laser firing on circle laser test. || James + Tom || 5/14/17 || Some kind of beam splitting or 2-layer reflection is going on. PWM out can be set using laser_module_pwm_pin in smoothieboard config.&lt;br /&gt;
|-&lt;br /&gt;
| Setup the auto-man power level control switch. General stuff. || James + Tom || 5/28/17 || We&#039;ve got some stray AC current in the case.&lt;br /&gt;
|-&lt;br /&gt;
| Installed RasPI as webhost. Replaced USB cable. || James + Tom || 6/4/17 || [http://192.168.26.122:8000/ Laserweb server], from HacDC network&lt;br /&gt;
|-&lt;br /&gt;
| Test cut Pepe the frog on opaque acrylic with painters tape mask. || James + [[user:Andrew|Andrew]] || 6/5/17 || Auto fire signal still isn&#039;t working.&lt;br /&gt;
|-&lt;br /&gt;
| Added circuitry to breadboard to automate the firing signal. || James || 6/6/17 || Will test on Thursday.&lt;br /&gt;
|-&lt;br /&gt;
| Test fire was successful. Operations section updated. || James || 6/8/17 || Fully automatic operations achieved! &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Additional Reading==&lt;br /&gt;
#[http://howell.seattle.wa.us/essays/lasercutter.shtml Laser blog]&lt;br /&gt;
#[https://www.reddit.com/r/lasercutting/wiki/k40 Reddit K40 wiki]&lt;br /&gt;
#[http://www.lightobject.com/Default.aspx Light Object laser retailer]&lt;br /&gt;
&lt;br /&gt;
[[Category:Equipment]]&lt;br /&gt;
[[Category:LaserCutter]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:Ongoing Projects]]&lt;br /&gt;
[[Category:Project Awesome]]&lt;br /&gt;
[[Category:CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13426</id>
		<title>Cheap Chinese Laser</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13426"/>
		<updated>2017-06-09T02:17:44Z</updated>

		<summary type="html">&lt;p&gt;James: removed tool path creation step. it gets done later.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cheap Chinese Laser]]&lt;br /&gt;
&lt;br /&gt;
This is the page dealing with the [[Cheap Chinese Laser]] at [https://www.hacdc.org HacDC] in the upstairs room at St. Stephen and the Incarnate church in Washington, DC.  This page replaces [[PA LaserCutter]] page from some years ago.  It had high ideals, but poor execution.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
HacDC has a K40, 40W, CO2, water cooled, laser for CNC cutting of various materials, aka a cheap Chinese laser.  It allegedly used to work just fine, but someone decided that wasn&#039;t good enough so she ordered and halfass installed some new parts that only halfass work.  After our intrepid hero, [[user:James|James]], fullyassed the installation of the new parts, the laser still only halfass worked.  [[user:Tom|Tom]] was railroaded into helping with the software, but even so the dynamic duo couldn&#039;t get the damn thing to work.  Then one day at work, boredom struck in a meeting and James had the idea to create this wiki page to guide others through the confusion and misinformation that plagues most equipment at HacDC and often results in subpar operation.  I beseech you, dear reader, to continue your edification on our topic at hand and become your own evil archvillain with laser powers.  (Sharks sold separately.)&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
===Chassis===&lt;br /&gt;
The chassis is the laser itself, the blue metal box with 3 flip up lids.  The main lid users deal with is for the cutting chamber on the left front of the machine.  It includes an orange plastic window.  The cutting chamber contains the transverse and longitudinal axes, aka x and y.  X goes left to right, and y goes back to front.  The material to be cut goes in this chamber.  The second flip up lid is for the controls and power supplies chamber.  This lid contains the front panel controls and indicators.  There are two control boards, the Smoothie board and the K40 ACR plug-and-play board which connects the Smoothie board to the machine hardware.  There are two power supplies as well, the control powersupply which is right below the control boards and the high-voltage (and I mean real high voltage, like around 15kV, not those nambypamby B.S. 120VAC &amp;quot;high voltage&amp;quot; warning labels) laser tube power supply which creates enough voltage to rip the electrons off the CO2 molecules and ionize them and cause them to emit coherent light when the electrons get back together with their matching CO2 ions.  For more about this exciting process, read a science book.  The third lid covers the laser tube chamber at the back of the chassis.  You don&#039;t really need to mess with these last two lids unless you are modifying the equipment or troubleshooting a failure.  All the lids have interlock switches and the laser will not fire if any one is open (unless you flip the override switch, in which case, it&#039;s your own darn fault for burning out your eye, as we say in Charlotte, &amp;quot;you did it to yourself&amp;quot;).&lt;br /&gt;
===Exhaust===&lt;br /&gt;
The exhaust system sucks smoke from the laser chassis cutting chamber and sends it outside through a window.  It was cobbled together using a fan and housing salvaged from a prior laser cutter and is mostly held together with zipties and metal duct tape.  Seriously.  I&#039;m not kidding.  Actual zipties and duct tape.  (I&#039;d like to give a shout-out to Home Depot for selling me the role of metal tape for only one cent.)  If any part of the whole laser system is going to crap out, this would be a good part to bet on.  It also uses 4&amp;quot; diameter (that&#039;s 105mm for those of you on the metric system) flexible metal clothes dryer exhaust duct to carry the exhaust gasses.  There are custom-made, 3d-printed transiton pieces at the back of the laser chassis which replace the original feeble exhaust system.  Read about them [[K40_Exhaust_Assembly|here]]&lt;br /&gt;
&lt;br /&gt;
===Cooling===&lt;br /&gt;
The cooling system presently consists of a 5 gallon pail in the roller cabinet with a submersible pump.  The water should be replaced with distilled.  (The pump power cord got a new plug.  It stays plugged in much better than the original cheap Chinese plug.)  If the water doesn&#039;t flow, the laser will burnout.  Sadness.  The cooling system presently only works based on the heat capacity of the water in the bucket.  Once the water heats up, you just need to wait for it to cool back down all by itself.  You can read about other people with more sophisticated refrigerated cooling systems, but this was quick and easy, like a virgin on prom night.  Julia has mentioned she&#039;s got some thermoelectric coolers in hiding for this project.  We&#039;ll cross that bridge when we get everything else running first.  The cooling system will have 3 interlocks: low water level, low flow, and high temperature.&lt;br /&gt;
&lt;br /&gt;
===Computer===&lt;br /&gt;
This is CNC equipment.  The first C is for Computer.  (No, not for cookie, but we often have cookies anyway.)  You need a computer with a USB port.  You need computer software.  I hope we can have a computer dedicated to the laser, but let&#039;s be real, that&#039;s not likely to happen.  I hope Tom will fill out this section.&lt;br /&gt;
===Cabinet===&lt;br /&gt;
The cabinet is what the chassis sits on.  The cabinet has wheels.  It&#039;s made of particle board and painted white.  The left door has upper and lower latches inside which hold it shut, so don&#039;t yank on it.  The cabinet houses the cooling system, the 12V accessory power supply, the power strip which all the line voltage equipment plugs into: exhaust fan, cooling pump, laser chassis, 12V power supply (marginal one installed currently to power the cutting chamber accessory lights).&lt;br /&gt;
&lt;br /&gt;
==Safety Interlocks==&lt;br /&gt;
&#039;&#039;&#039;Only some of these safeties are installed presently.&#039;&#039;&#039;  Don&#039;t go futzing around with stuff unless you know exactly what you are doing.  And tell James or Tom.  For troubleshooting purposes, there is a safety override switch on the control panel (middle of three).&lt;br /&gt;
===Ventilation===&lt;br /&gt;
#Exhaust - If the exhaust fan isn&#039;t moving air, we don&#039;t want the laser to fire and make lots of smoke which would then fill the room&lt;br /&gt;
#Lens - Eventually we plan to install an air shroud nozzle around the laser lens to keep smoke from coating the lens and reducing cutting power.&lt;br /&gt;
===Coolant===&lt;br /&gt;
#Level - Installed&lt;br /&gt;
#Flow&lt;br /&gt;
#Temp&lt;br /&gt;
===Doors===&lt;br /&gt;
#Cutting Chamber - Installed&lt;br /&gt;
#Control Chamber - Installed&lt;br /&gt;
#Laser Chamber - Probably not going to install this switch because the door is in back and control panel space is at a premium&lt;br /&gt;
#Cabinet - Probably not going to install this switch because there&#039;s not much harm in the cabinet and control panel space is at a premium&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
===Prestart===&lt;br /&gt;
#Come up with design&lt;br /&gt;
#Create SVG using software like [https://inkscape.org/ Inkscape]&lt;br /&gt;
#Upload SVG to computer&lt;br /&gt;
&lt;br /&gt;
===Startup===&lt;br /&gt;
#Roll cabinet out from under shelf&lt;br /&gt;
#Get extension cord out of cabinet and plug laser into extension cord and extension cord into live receptacle&lt;br /&gt;
#Turn on laser master power switch&lt;br /&gt;
#Close cabinet door&lt;br /&gt;
#Load material to be cut in laser cabinet&lt;br /&gt;
#Shut lid on cutting chamber&lt;br /&gt;
#Turn on laser cabinet power switch&lt;br /&gt;
===Operations===&lt;br /&gt;
#Ensure all safety interlocks are operable by checking indicator lights&lt;br /&gt;
##You can skip this step for now since the lights don&#039;t work&lt;br /&gt;
#Do software stuff&lt;br /&gt;
##Connect to LaserWeb server at [[http://192.168.26.122:8000/]] from HacDC network&lt;br /&gt;
##Clear LaserWeb 4 upgrade warning popup&lt;br /&gt;
##Click on Settings on left edge of page&lt;br /&gt;
##Click on BACKUP at top of setting pane&lt;br /&gt;
##Click on Restore from file&lt;br /&gt;
##Upload [[file:Laserweb-settings-backup.json]] file&lt;br /&gt;
##Click Save&lt;br /&gt;
##Observe messages &amp;quot;Saved Settings&amp;quot; and &amp;quot;Please refresh page for settings to take effect&amp;quot;&lt;br /&gt;
##Refresh webpage&lt;br /&gt;
##Clear LaserWeb 4 upgrade warning popup, again&lt;br /&gt;
##Load SVG file of cutting paths by dragging and dropping into the web browser window&lt;br /&gt;
##Click Generate G-Code (on CAM menu)&lt;br /&gt;
##Click Connect at the top of the webpage&lt;br /&gt;
##If a popup appears, choose Option 1&lt;br /&gt;
##Click Jog on left edge of the window&lt;br /&gt;
##Click home and observe the gantry move to the home position in the far left corner of the cutting chamber&lt;br /&gt;
#Run program without laser powered on to observe tool path and ensure material to be cut in properly arranged in the cutting chamber&lt;br /&gt;
##Click check outline and observe the laser move &lt;br /&gt;
###Check that material is fully under the travel area&lt;br /&gt;
###Check that your design is the size you expect it to be (25.4 for mm)&lt;br /&gt;
###If the size is not right, go to the Settings page and adjust the DPI setting on the Size menu&lt;br /&gt;
#Run program with laser powered on to cut material&lt;br /&gt;
##Click run gcode&lt;br /&gt;
##Watch for things catching fire&lt;br /&gt;
&lt;br /&gt;
===Shutdown===&lt;br /&gt;
#Turn off laser chassis and master power switches&lt;br /&gt;
#Unplug laser and extension cord&lt;br /&gt;
#Coilup and store extension cord&lt;br /&gt;
#Shut cabinet door&lt;br /&gt;
#Roll cabinet back under the shelf&lt;br /&gt;
#Continue with your evil plans for world domination&lt;br /&gt;
&lt;br /&gt;
==Custom Wiring== &lt;br /&gt;
Julia had some LED strips she wanted installed.  We succeeded.  The illuminate when the main power is turned on.&lt;br /&gt;
[[File:Laser-leds1.jpg]]&lt;br /&gt;
&lt;br /&gt;
They are white LEDs but the orange laser viewing window colors them.&lt;br /&gt;
&lt;br /&gt;
[[File:Laser-leds2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sully really likes relays and discrete, analogue circuits, so he jimmied up a bunch of stuff to make it less likely for you to poke your eye out or burn out the laser.&lt;br /&gt;
The laser power supply from the factory takes input from 3 front panel controls: off-on laser switch, momentary-on laser switch, power control potentiometer knob.  The off-on switch was a cheap latching push button which was connected to the leftmost two terminals of the 6 terminal plug with black wires.  It was replaced with an off-on, metal, toggle switch on 3-23-17.  The middle two terminals of the block connect to the momentary on push button switch on the front panel which causes the laser to fire (when the left two terminals are shorted together by the toggle switch).  The right 3 terminals (which overlap with the right center terminal going to the push button switch) connect to the front panel potentiometer which controls the laser current.  Do not turn the knob to full clockwise, because increasing the laser firing current past a certain point doesn&#039;t provide any benefit and just reduces the tube lifespan.  The plan is to parallelize the push button firing switch with a solid-state relay controlled directly by the Smoothie board and bypassing the K40 ACR board (which was supposed to make the Smoothie board plug-and-play, but as mentioned earlier did a halfassed job).  The potentiometer will be connected to a 3PDT switch for computerized or manual power level control.  A PWM to DC circuit will do the automatic control and the original pot will remain for the manual control.&lt;br /&gt;
The safety interlocks are basically a whole bunch of microswitches in series so if any one of them gets tripped the left two pins of the power supply 6 pin connector won&#039;t be shorted together and the laser won&#039;t fire.  There&#039;s also a plan to have lights illuminate to show which safeties are operating properly or tripped.  Plus indicator lights are cool.  And for the remaining manual firing switches we plan on getting those flip-up red covers like in those military movies where they&#039;re firing nuclear missiles and stuff like that.  These would aid in troubleshooting, and look really cool, even if they are kinda spendy.  Man, this is really turning into a wall of text.  Someone should do something about this sometime.  Anyway, schematic drawings would go here, or links to them would go here.&lt;br /&gt;
&lt;br /&gt;
Terminal Block Connections&lt;br /&gt;
#Cutting chamber door safety switch - common&lt;br /&gt;
#Cutting chamber door safety switch - n.o.&lt;br /&gt;
#Cutting chamber door safety switch - n.c.&lt;br /&gt;
#Control chamber door safety switch - common&lt;br /&gt;
#Control chamber door safety switch - n.o.&lt;br /&gt;
#Control chamber door safety switch - n.c.&lt;br /&gt;
#Cooling water level float safety switch - common&lt;br /&gt;
#Cooling water level float safety switch - n.o.&lt;br /&gt;
#Cooling water level float safety switch - n.c.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#Laser fire switch 1&lt;br /&gt;
#Laser fire switch 2 - one of these is the same as power level GND (immediately below)&lt;br /&gt;
#Laser power supply power level control potentiometer GND&lt;br /&gt;
#Auto power control voltage divided between +V and GND - connects to auto-hand control panel switch and to PWM-DC converter circuit output&lt;br /&gt;
#Laser power supply power level control potentiometer +V&lt;br /&gt;
&lt;br /&gt;
==Custom Parts==&lt;br /&gt;
Images of custom parts like the exhaust nozzles and eventually a new control panel and source files for 3d printed or laser cut parts can go here.&lt;br /&gt;
&lt;br /&gt;
[[CCL front panel]]&lt;br /&gt;
&lt;br /&gt;
[[Air flow switch holder]]&lt;br /&gt;
&lt;br /&gt;
[[Exhaust nozzle]]&lt;br /&gt;
&lt;br /&gt;
[[Terminal block holder]]&lt;br /&gt;
&lt;br /&gt;
This image is colored for 3d printing using it as a height map: black=0mm, gray=1mm, white=2mm. 174mm wide, 184mm tall.&lt;br /&gt;
The SVG file was created by a Ruby program to modularize the positions and sizes of cutouts for switches, nobs, lamps, etc.&lt;br /&gt;
&lt;br /&gt;
[[file:Control-panel.png]]&lt;br /&gt;
&lt;br /&gt;
==Bill of Materials, a.k.a. Donation Wishlist, and Hardware Store Shopping List==&lt;br /&gt;
#Laser goggles&lt;br /&gt;
#USB A-B cord, i.e. printer cable, which doesn&#039;t suck&lt;br /&gt;
#Solid state relays -- we used [http://www.clare.com/home/pdfs.nsf/www/LBA110.pdf/$file/LBA110.pdf] this one.  --This should move to custom parts and off the wishlist (JS 4-20).&lt;br /&gt;
#Stuff to cut&lt;br /&gt;
##1/8&amp;quot; Baltic birch plywood&lt;br /&gt;
##Plastic sheets, e.g. acrylic&lt;br /&gt;
##Masonite?&lt;br /&gt;
#Cabinet reinforcements&lt;br /&gt;
##dimensional lumber, e.g. 2x4, 2x2, 1x3&lt;br /&gt;
##unidirectional casters&lt;br /&gt;
#Cooling system stuff&lt;br /&gt;
##Distilled water&lt;br /&gt;
##Float switch&lt;br /&gt;
##Thermocouple or thermistor/RTD temperature sensor probe&lt;br /&gt;
##Radiator and fans&lt;br /&gt;
##Solidstate heat pump&lt;br /&gt;
##Working water fountain chiller (for future use on the 100W downstairs)&lt;br /&gt;
##PLC/Microcontroller with A/D inputs for temperature probe conditioning and temp display (advanced task)&lt;br /&gt;
#Green connectors for smoothieboard and laser powersupply [https://www.amazon.com/uxcell-Terminals-Pitch-Mount-Terminal/dp/B00E6Q4FE6/ref=sr_1_9?ie=UTF8&amp;amp;qid=1493691567&amp;amp;sr=8-9&amp;amp;keywords=pluggable+terminal+block+connector]&lt;br /&gt;
&lt;br /&gt;
==To-Do Tasks==&lt;br /&gt;
#Airflow switch housing&lt;br /&gt;
##manufacture&lt;br /&gt;
##install&lt;br /&gt;
#Coolant interlocks&lt;br /&gt;
##Flow sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Temp sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
#Door switches&lt;br /&gt;
##Cabinet door&lt;br /&gt;
##Laser tube chamber door&lt;br /&gt;
#Chassis wiring&lt;br /&gt;
##Wire up the safety switches as they are installed&lt;br /&gt;
##Draw a wiring diagram of custom components&lt;br /&gt;
#CNC firing control - This svg file can be used to test run the laser: [[Laser circle test]]&lt;br /&gt;
##find firing signal on Smoothie board&lt;br /&gt;
##in the config you specify this with laser_module_ttl_pin&lt;br /&gt;
##determine relay requirements&lt;br /&gt;
##purchase and receive relay&lt;br /&gt;
##install firing relay&lt;br /&gt;
#software&lt;br /&gt;
##determine best software to use&lt;br /&gt;
##develop workflows for various programs and operating systems&lt;br /&gt;
##update this page to explain the above&lt;br /&gt;
##We&#039;re gonna use Laserweb I think so setup a RasPi or something as a Laserweb server.&lt;br /&gt;
&lt;br /&gt;
==Completed Tasks==&lt;br /&gt;
If you do work on the laser, please record it here.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Task !! Fixer !! Date !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Create Wiki page || [[user:James|James]] || 3/24/2017 || Ongoing updates needed&lt;br /&gt;
|-&lt;br /&gt;
| Install operational exhaust system || James || 2/2017 || Still needs interlocks&lt;br /&gt;
|-&lt;br /&gt;
| Install cooling system || James || 2/2017 || Air cooling or refrigeration could be added&lt;br /&gt;
|-&lt;br /&gt;
| Connect control power supply to switched mains || James || 3/2017 || Done&lt;br /&gt;
|-&lt;br /&gt;
| Get x and y axis movements working || [[user:Tom|Tom]] || 3/2017 || Firing still needs to be fixed&lt;br /&gt;
|-&lt;br /&gt;
| Replaced cooling pump power cord plug || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed door closure bolts on left cabinet door || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed cutting chamber illumination LEDs and 12VDC powersupply || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Control + interlock circuits design/brainstorm session || James + Tom || 3/27/2017 || See webpages below for Smothieboard help&lt;br /&gt;
|-&lt;br /&gt;
| Mocked up and tested control circuit for PWM from smoothieboard || James + Tom || 3/27/2017 || http://smoothieware.org/laser-cutter-guide&lt;br /&gt;
|-&lt;br /&gt;
| Scoped out various pins on the smoothieboard to find PWM out || James + Tom || 3/27/2017 || http://smoothieware.org/smoothieboard-v1&lt;br /&gt;
|-&lt;br /&gt;
| Removed control panel || James || 3/30/17 || Don&#039;t mess with nothing until a new one gets installed!&lt;br /&gt;
|-&lt;br /&gt;
| Tried to 3d print a new control panel || James || 4/2/17 || Lulzbot Taz either didn&#039;t extrude or made bird poop. :( It&#039;s too bad we don&#039;t have a working laser cutter.&lt;br /&gt;
|-&lt;br /&gt;
| Adjusted program size parameters based on failed print and added ammeter mounting screw holes to control panel design || James || 4/11/17 || Still need to upload new SVG here and print it&lt;br /&gt;
|-&lt;br /&gt;
| Ordered self adhesive cable tie mounting squares and SSR for PWM-&amp;gt; DC || Tom || 4/11/17 || Delivery expected Thursday&lt;br /&gt;
|-&lt;br /&gt;
| Design 3d-printed mounting bracket/clip to hold switches for door interlocks || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Design, breadboard and test PWM circuit with solid state relay and newly determined time constant || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded exhaust nozzle and exhaust flow switch scad files || James || 4/20/17 || Flow switch needs printing and Tom&#039;s nacelle needs dimension tweeking.&lt;br /&gt;
|-&lt;br /&gt;
| Tried printing control panel on the Ultimaker&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; || James || 4/25/17 || Print failed twice, but third time looked good before I left.&lt;br /&gt;
|-&lt;br /&gt;
| Installed control panel 3d printed on Tuesday || James || 4/27/17 || Controls and indicators are installed but not operational, yet.  It looks sweet! Could be thicker, maybe 4mm.  Dimensions could use tweeking too: toggle switches moved down, corner radii reduced,...&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded source code and stl for water level float switch and for terminal block holders.  Installed v5 of door switch holder and soldered wires to switches. || James || 5/1/17 || Still need to print float switch parts and terminal block holders. New parts fit well. A very productive day overall.&lt;br /&gt;
|-&lt;br /&gt;
| Installed terminal block with manually modified v1 terminal block holder parts.  Wired up cutting chamber and control chamber door safety switches.  Connected laser power supply wiring to new control panel switches. || James || 5/4/17 || Need to adjust terminal block holder dimensions and reprint.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded v2 source code and stl for terminal block holder. || James || 5/5/17 || Need to print float switch parts and terminal block holders.&lt;br /&gt;
|-&lt;br /&gt;
| Printed and installed new terminal block holders (v2). Printed new air flow switch and water level float switch head and base. Remodeled exhaust header. || James || 5/6/17 || Holders fit great.  Base, not so much.&lt;br /&gt;
|-&lt;br /&gt;
| Reprinted water level float switch base. Investigated PWM output from Smoothieboard. || James + Tom || 5/7/17 || Pin 4.2 and GND work for PWM signal.  PWM to DC breadboard isn&#039;t working. Laser power supply 5V circuit for safety switches doesn&#039;t have enough current to illuminate the trouble lamps on front panel.&lt;br /&gt;
|-&lt;br /&gt;
| Install float switch. || James || 5/11/17 || Not seeming to function as of 5/14 - remains conductive even when open?&lt;br /&gt;
|-&lt;br /&gt;
| Successful CNC laser firing on circle laser test. || James + Tom || 5/14/17 || Some kind of beam splitting or 2-layer reflection is going on. PWM out can be set using laser_module_pwm_pin in smoothieboard config.&lt;br /&gt;
|-&lt;br /&gt;
| Setup the auto-man power level control switch. General stuff. || James + Tom || 5/28/17 || We&#039;ve got some stray AC current in the case.&lt;br /&gt;
|-&lt;br /&gt;
| Installed RasPI as webhost. Replaced USB cable. || James + Tom || 6/4/17 || [http://192.168.26.122:8000/ Laserweb server], from HacDC network&lt;br /&gt;
|-&lt;br /&gt;
| Test cut Pepe the frog on opaque acrylic with painters tape mask. || James + [[user:Andrew|Andrew]] || 6/5/17 || Auto fire signal still isn&#039;t working.&lt;br /&gt;
|-&lt;br /&gt;
| Added circuitry to breadboard to automate the firing signal. || James || 6/6/17 || Will test on Thursday.&lt;br /&gt;
|-&lt;br /&gt;
| Test fire was successful. Operations section updated. || James || 6/8/17 || Fully automatic operations achieved! &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Additional Reading==&lt;br /&gt;
#[http://howell.seattle.wa.us/essays/lasercutter.shtml Laser blog]&lt;br /&gt;
#[https://www.reddit.com/r/lasercutting/wiki/k40 Reddit K40 wiki]&lt;br /&gt;
#[http://www.lightobject.com/Default.aspx Light Object laser retailer]&lt;br /&gt;
&lt;br /&gt;
[[Category:Equipment]]&lt;br /&gt;
[[Category:LaserCutter]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:Ongoing Projects]]&lt;br /&gt;
[[Category:Project Awesome]]&lt;br /&gt;
[[Category:CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13425</id>
		<title>Cheap Chinese Laser</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13425"/>
		<updated>2017-06-09T01:50:46Z</updated>

		<summary type="html">&lt;p&gt;James: clean up of links in Operations section and successful fully automatic operations recorded&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cheap Chinese Laser]]&lt;br /&gt;
&lt;br /&gt;
This is the page dealing with the [[Cheap Chinese Laser]] at [https://www.hacdc.org HacDC] in the upstairs room at St. Stephen and the Incarnate church in Washington, DC.  This page replaces [[PA LaserCutter]] page from some years ago.  It had high ideals, but poor execution.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
HacDC has a K40, 40W, CO2, water cooled, laser for CNC cutting of various materials, aka a cheap Chinese laser.  It allegedly used to work just fine, but someone decided that wasn&#039;t good enough so she ordered and halfass installed some new parts that only halfass work.  After our intrepid hero, [[user:James|James]], fullyassed the installation of the new parts, the laser still only halfass worked.  [[user:Tom|Tom]] was railroaded into helping with the software, but even so the dynamic duo couldn&#039;t get the damn thing to work.  Then one day at work, boredom struck in a meeting and James had the idea to create this wiki page to guide others through the confusion and misinformation that plagues most equipment at HacDC and often results in subpar operation.  I beseech you, dear reader, to continue your edification on our topic at hand and become your own evil archvillain with laser powers.  (Sharks sold separately.)&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
===Chassis===&lt;br /&gt;
The chassis is the laser itself, the blue metal box with 3 flip up lids.  The main lid users deal with is for the cutting chamber on the left front of the machine.  It includes an orange plastic window.  The cutting chamber contains the transverse and longitudinal axes, aka x and y.  X goes left to right, and y goes back to front.  The material to be cut goes in this chamber.  The second flip up lid is for the controls and power supplies chamber.  This lid contains the front panel controls and indicators.  There are two control boards, the Smoothie board and the K40 ACR plug-and-play board which connects the Smoothie board to the machine hardware.  There are two power supplies as well, the control powersupply which is right below the control boards and the high-voltage (and I mean real high voltage, like around 15kV, not those nambypamby B.S. 120VAC &amp;quot;high voltage&amp;quot; warning labels) laser tube power supply which creates enough voltage to rip the electrons off the CO2 molecules and ionize them and cause them to emit coherent light when the electrons get back together with their matching CO2 ions.  For more about this exciting process, read a science book.  The third lid covers the laser tube chamber at the back of the chassis.  You don&#039;t really need to mess with these last two lids unless you are modifying the equipment or troubleshooting a failure.  All the lids have interlock switches and the laser will not fire if any one is open (unless you flip the override switch, in which case, it&#039;s your own darn fault for burning out your eye, as we say in Charlotte, &amp;quot;you did it to yourself&amp;quot;).&lt;br /&gt;
===Exhaust===&lt;br /&gt;
The exhaust system sucks smoke from the laser chassis cutting chamber and sends it outside through a window.  It was cobbled together using a fan and housing salvaged from a prior laser cutter and is mostly held together with zipties and metal duct tape.  Seriously.  I&#039;m not kidding.  Actual zipties and duct tape.  (I&#039;d like to give a shout-out to Home Depot for selling me the role of metal tape for only one cent.)  If any part of the whole laser system is going to crap out, this would be a good part to bet on.  It also uses 4&amp;quot; diameter (that&#039;s 105mm for those of you on the metric system) flexible metal clothes dryer exhaust duct to carry the exhaust gasses.  There are custom-made, 3d-printed transiton pieces at the back of the laser chassis which replace the original feeble exhaust system.  Read about them [[K40_Exhaust_Assembly|here]]&lt;br /&gt;
&lt;br /&gt;
===Cooling===&lt;br /&gt;
The cooling system presently consists of a 5 gallon pail in the roller cabinet with a submersible pump.  The water should be replaced with distilled.  (The pump power cord got a new plug.  It stays plugged in much better than the original cheap Chinese plug.)  If the water doesn&#039;t flow, the laser will burnout.  Sadness.  The cooling system presently only works based on the heat capacity of the water in the bucket.  Once the water heats up, you just need to wait for it to cool back down all by itself.  You can read about other people with more sophisticated refrigerated cooling systems, but this was quick and easy, like a virgin on prom night.  Julia has mentioned she&#039;s got some thermoelectric coolers in hiding for this project.  We&#039;ll cross that bridge when we get everything else running first.  The cooling system will have 3 interlocks: low water level, low flow, and high temperature.&lt;br /&gt;
&lt;br /&gt;
===Computer===&lt;br /&gt;
This is CNC equipment.  The first C is for Computer.  (No, not for cookie, but we often have cookies anyway.)  You need a computer with a USB port.  You need computer software.  I hope we can have a computer dedicated to the laser, but let&#039;s be real, that&#039;s not likely to happen.  I hope Tom will fill out this section.&lt;br /&gt;
===Cabinet===&lt;br /&gt;
The cabinet is what the chassis sits on.  The cabinet has wheels.  It&#039;s made of particle board and painted white.  The left door has upper and lower latches inside which hold it shut, so don&#039;t yank on it.  The cabinet houses the cooling system, the 12V accessory power supply, the power strip which all the line voltage equipment plugs into: exhaust fan, cooling pump, laser chassis, 12V power supply (marginal one installed currently to power the cutting chamber accessory lights).&lt;br /&gt;
&lt;br /&gt;
==Safety Interlocks==&lt;br /&gt;
&#039;&#039;&#039;Only some of these safeties are installed presently.&#039;&#039;&#039;  Don&#039;t go futzing around with stuff unless you know exactly what you are doing.  And tell James or Tom.  For troubleshooting purposes, there is a safety override switch on the control panel (middle of three).&lt;br /&gt;
===Ventilation===&lt;br /&gt;
#Exhaust - If the exhaust fan isn&#039;t moving air, we don&#039;t want the laser to fire and make lots of smoke which would then fill the room&lt;br /&gt;
#Lens - Eventually we plan to install an air shroud nozzle around the laser lens to keep smoke from coating the lens and reducing cutting power.&lt;br /&gt;
===Coolant===&lt;br /&gt;
#Level - Installed&lt;br /&gt;
#Flow&lt;br /&gt;
#Temp&lt;br /&gt;
===Doors===&lt;br /&gt;
#Cutting Chamber - Installed&lt;br /&gt;
#Control Chamber - Installed&lt;br /&gt;
#Laser Chamber - Probably not going to install this switch because the door is in back and control panel space is at a premium&lt;br /&gt;
#Cabinet - Probably not going to install this switch because there&#039;s not much harm in the cabinet and control panel space is at a premium&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
===Prestart===&lt;br /&gt;
#Come up with design&lt;br /&gt;
#Create SVG using software like [https://inkscape.org/ Inkscape]&lt;br /&gt;
#Upload SVG to computer&lt;br /&gt;
#Convert SVG to toolpath using software like [http://www.scorchworks.com/LaserDRW_extension/laserdrw_extension.html Laser Draw]&lt;br /&gt;
&lt;br /&gt;
===Startup===&lt;br /&gt;
#Roll cabinet out from under shelf&lt;br /&gt;
#Get extension cord out of cabinet and plug laser into extension cord and extension cord into live receptacle&lt;br /&gt;
#Turn on laser master power switch&lt;br /&gt;
#Close cabinet door&lt;br /&gt;
#Load material to be cut in laser cabinet&lt;br /&gt;
#Shut lid on cutting chamber&lt;br /&gt;
#Turn on laser cabinet power switch&lt;br /&gt;
===Operations===&lt;br /&gt;
#Ensure all safety interlocks are operable by checking indicator lights&lt;br /&gt;
##You can skip this step for now since the lights don&#039;t work&lt;br /&gt;
#Do software stuff&lt;br /&gt;
##Connect to LaserWeb server at [[http://192.168.26.122:8000/]] from HacDC network&lt;br /&gt;
##Clear LaserWeb 4 upgrade warning popup&lt;br /&gt;
##Click on Settings on left edge of page&lt;br /&gt;
##Click on BACKUP at top of setting pane&lt;br /&gt;
##Click on Restore from file&lt;br /&gt;
##Upload [[file:Laserweb-settings-backup.json]] file&lt;br /&gt;
##Click Save&lt;br /&gt;
##Observe messages &amp;quot;Saved Settings&amp;quot; and &amp;quot;Please refresh page for settings to take effect&amp;quot;&lt;br /&gt;
##Refresh webpage&lt;br /&gt;
##Clear LaserWeb 4 upgrade warning popup, again&lt;br /&gt;
##Load SVG file of cutting paths by dragging and dropping into the web browser window&lt;br /&gt;
##Click Generate G-Code (on CAM menu)&lt;br /&gt;
##Click Connect at the top of the webpage&lt;br /&gt;
##If a popup appears, choose Option 1&lt;br /&gt;
##Click Jog on left edge of the window&lt;br /&gt;
##Click home and observe the gantry move to the home position in the far left corner of the cutting chamber&lt;br /&gt;
#Run program without laser powered on to observe tool path and ensure material to be cut in properly arranged in the cutting chamber&lt;br /&gt;
##Click check outline and observe the laser move &lt;br /&gt;
###Check that material is fully under the travel area&lt;br /&gt;
###Check that your design is the size you expect it to be (25.4 for mm)&lt;br /&gt;
###If the size is not right, go to the Settings page and adjust the DPI setting on the Size menu&lt;br /&gt;
#Run program with laser powered on to cut material&lt;br /&gt;
##Click run gcode&lt;br /&gt;
##Watch for things catching fire&lt;br /&gt;
&lt;br /&gt;
===Shutdown===&lt;br /&gt;
#Turn off laser chassis and master power switches&lt;br /&gt;
#Unplug laser and extension cord&lt;br /&gt;
#Coilup and store extension cord&lt;br /&gt;
#Shut cabinet door&lt;br /&gt;
#Roll cabinet back under the shelf&lt;br /&gt;
#Continue with your evil plans for world domination&lt;br /&gt;
&lt;br /&gt;
==Custom Wiring== &lt;br /&gt;
Julia had some LED strips she wanted installed.  We succeeded.  The illuminate when the main power is turned on.&lt;br /&gt;
[[File:Laser-leds1.jpg]]&lt;br /&gt;
&lt;br /&gt;
They are white LEDs but the orange laser viewing window colors them.&lt;br /&gt;
&lt;br /&gt;
[[File:Laser-leds2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sully really likes relays and discrete, analogue circuits, so he jimmied up a bunch of stuff to make it less likely for you to poke your eye out or burn out the laser.&lt;br /&gt;
The laser power supply from the factory takes input from 3 front panel controls: off-on laser switch, momentary-on laser switch, power control potentiometer knob.  The off-on switch was a cheap latching push button which was connected to the leftmost two terminals of the 6 terminal plug with black wires.  It was replaced with an off-on, metal, toggle switch on 3-23-17.  The middle two terminals of the block connect to the momentary on push button switch on the front panel which causes the laser to fire (when the left two terminals are shorted together by the toggle switch).  The right 3 terminals (which overlap with the right center terminal going to the push button switch) connect to the front panel potentiometer which controls the laser current.  Do not turn the knob to full clockwise, because increasing the laser firing current past a certain point doesn&#039;t provide any benefit and just reduces the tube lifespan.  The plan is to parallelize the push button firing switch with a solid-state relay controlled directly by the Smoothie board and bypassing the K40 ACR board (which was supposed to make the Smoothie board plug-and-play, but as mentioned earlier did a halfassed job).  The potentiometer will be connected to a 3PDT switch for computerized or manual power level control.  A PWM to DC circuit will do the automatic control and the original pot will remain for the manual control.&lt;br /&gt;
The safety interlocks are basically a whole bunch of microswitches in series so if any one of them gets tripped the left two pins of the power supply 6 pin connector won&#039;t be shorted together and the laser won&#039;t fire.  There&#039;s also a plan to have lights illuminate to show which safeties are operating properly or tripped.  Plus indicator lights are cool.  And for the remaining manual firing switches we plan on getting those flip-up red covers like in those military movies where they&#039;re firing nuclear missiles and stuff like that.  These would aid in troubleshooting, and look really cool, even if they are kinda spendy.  Man, this is really turning into a wall of text.  Someone should do something about this sometime.  Anyway, schematic drawings would go here, or links to them would go here.&lt;br /&gt;
&lt;br /&gt;
Terminal Block Connections&lt;br /&gt;
#Cutting chamber door safety switch - common&lt;br /&gt;
#Cutting chamber door safety switch - n.o.&lt;br /&gt;
#Cutting chamber door safety switch - n.c.&lt;br /&gt;
#Control chamber door safety switch - common&lt;br /&gt;
#Control chamber door safety switch - n.o.&lt;br /&gt;
#Control chamber door safety switch - n.c.&lt;br /&gt;
#Cooling water level float safety switch - common&lt;br /&gt;
#Cooling water level float safety switch - n.o.&lt;br /&gt;
#Cooling water level float safety switch - n.c.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#Laser fire switch 1&lt;br /&gt;
#Laser fire switch 2 - one of these is the same as power level GND (immediately below)&lt;br /&gt;
#Laser power supply power level control potentiometer GND&lt;br /&gt;
#Auto power control voltage divided between +V and GND - connects to auto-hand control panel switch and to PWM-DC converter circuit output&lt;br /&gt;
#Laser power supply power level control potentiometer +V&lt;br /&gt;
&lt;br /&gt;
==Custom Parts==&lt;br /&gt;
Images of custom parts like the exhaust nozzles and eventually a new control panel and source files for 3d printed or laser cut parts can go here.&lt;br /&gt;
&lt;br /&gt;
[[CCL front panel]]&lt;br /&gt;
&lt;br /&gt;
[[Air flow switch holder]]&lt;br /&gt;
&lt;br /&gt;
[[Exhaust nozzle]]&lt;br /&gt;
&lt;br /&gt;
[[Terminal block holder]]&lt;br /&gt;
&lt;br /&gt;
This image is colored for 3d printing using it as a height map: black=0mm, gray=1mm, white=2mm. 174mm wide, 184mm tall.&lt;br /&gt;
The SVG file was created by a Ruby program to modularize the positions and sizes of cutouts for switches, nobs, lamps, etc.&lt;br /&gt;
&lt;br /&gt;
[[file:Control-panel.png]]&lt;br /&gt;
&lt;br /&gt;
==Bill of Materials, a.k.a. Donation Wishlist, and Hardware Store Shopping List==&lt;br /&gt;
#Laser goggles&lt;br /&gt;
#USB A-B cord, i.e. printer cable, which doesn&#039;t suck&lt;br /&gt;
#Solid state relays -- we used [http://www.clare.com/home/pdfs.nsf/www/LBA110.pdf/$file/LBA110.pdf] this one.  --This should move to custom parts and off the wishlist (JS 4-20).&lt;br /&gt;
#Stuff to cut&lt;br /&gt;
##1/8&amp;quot; Baltic birch plywood&lt;br /&gt;
##Plastic sheets, e.g. acrylic&lt;br /&gt;
##Masonite?&lt;br /&gt;
#Cabinet reinforcements&lt;br /&gt;
##dimensional lumber, e.g. 2x4, 2x2, 1x3&lt;br /&gt;
##unidirectional casters&lt;br /&gt;
#Cooling system stuff&lt;br /&gt;
##Distilled water&lt;br /&gt;
##Float switch&lt;br /&gt;
##Thermocouple or thermistor/RTD temperature sensor probe&lt;br /&gt;
##Radiator and fans&lt;br /&gt;
##Solidstate heat pump&lt;br /&gt;
##Working water fountain chiller (for future use on the 100W downstairs)&lt;br /&gt;
##PLC/Microcontroller with A/D inputs for temperature probe conditioning and temp display (advanced task)&lt;br /&gt;
#Green connectors for smoothieboard and laser powersupply [https://www.amazon.com/uxcell-Terminals-Pitch-Mount-Terminal/dp/B00E6Q4FE6/ref=sr_1_9?ie=UTF8&amp;amp;qid=1493691567&amp;amp;sr=8-9&amp;amp;keywords=pluggable+terminal+block+connector]&lt;br /&gt;
&lt;br /&gt;
==To-Do Tasks==&lt;br /&gt;
#Airflow switch housing&lt;br /&gt;
##manufacture&lt;br /&gt;
##install&lt;br /&gt;
#Coolant interlocks&lt;br /&gt;
##Flow sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Temp sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
#Door switches&lt;br /&gt;
##Cabinet door&lt;br /&gt;
##Laser tube chamber door&lt;br /&gt;
#Chassis wiring&lt;br /&gt;
##Wire up the safety switches as they are installed&lt;br /&gt;
##Draw a wiring diagram of custom components&lt;br /&gt;
#CNC firing control - This svg file can be used to test run the laser: [[Laser circle test]]&lt;br /&gt;
##find firing signal on Smoothie board&lt;br /&gt;
##in the config you specify this with laser_module_ttl_pin&lt;br /&gt;
##determine relay requirements&lt;br /&gt;
##purchase and receive relay&lt;br /&gt;
##install firing relay&lt;br /&gt;
#software&lt;br /&gt;
##determine best software to use&lt;br /&gt;
##develop workflows for various programs and operating systems&lt;br /&gt;
##update this page to explain the above&lt;br /&gt;
##We&#039;re gonna use Laserweb I think so setup a RasPi or something as a Laserweb server.&lt;br /&gt;
&lt;br /&gt;
==Completed Tasks==&lt;br /&gt;
If you do work on the laser, please record it here.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Task !! Fixer !! Date !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Create Wiki page || [[user:James|James]] || 3/24/2017 || Ongoing updates needed&lt;br /&gt;
|-&lt;br /&gt;
| Install operational exhaust system || James || 2/2017 || Still needs interlocks&lt;br /&gt;
|-&lt;br /&gt;
| Install cooling system || James || 2/2017 || Air cooling or refrigeration could be added&lt;br /&gt;
|-&lt;br /&gt;
| Connect control power supply to switched mains || James || 3/2017 || Done&lt;br /&gt;
|-&lt;br /&gt;
| Get x and y axis movements working || [[user:Tom|Tom]] || 3/2017 || Firing still needs to be fixed&lt;br /&gt;
|-&lt;br /&gt;
| Replaced cooling pump power cord plug || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed door closure bolts on left cabinet door || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed cutting chamber illumination LEDs and 12VDC powersupply || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Control + interlock circuits design/brainstorm session || James + Tom || 3/27/2017 || See webpages below for Smothieboard help&lt;br /&gt;
|-&lt;br /&gt;
| Mocked up and tested control circuit for PWM from smoothieboard || James + Tom || 3/27/2017 || http://smoothieware.org/laser-cutter-guide&lt;br /&gt;
|-&lt;br /&gt;
| Scoped out various pins on the smoothieboard to find PWM out || James + Tom || 3/27/2017 || http://smoothieware.org/smoothieboard-v1&lt;br /&gt;
|-&lt;br /&gt;
| Removed control panel || James || 3/30/17 || Don&#039;t mess with nothing until a new one gets installed!&lt;br /&gt;
|-&lt;br /&gt;
| Tried to 3d print a new control panel || James || 4/2/17 || Lulzbot Taz either didn&#039;t extrude or made bird poop. :( It&#039;s too bad we don&#039;t have a working laser cutter.&lt;br /&gt;
|-&lt;br /&gt;
| Adjusted program size parameters based on failed print and added ammeter mounting screw holes to control panel design || James || 4/11/17 || Still need to upload new SVG here and print it&lt;br /&gt;
|-&lt;br /&gt;
| Ordered self adhesive cable tie mounting squares and SSR for PWM-&amp;gt; DC || Tom || 4/11/17 || Delivery expected Thursday&lt;br /&gt;
|-&lt;br /&gt;
| Design 3d-printed mounting bracket/clip to hold switches for door interlocks || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Design, breadboard and test PWM circuit with solid state relay and newly determined time constant || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded exhaust nozzle and exhaust flow switch scad files || James || 4/20/17 || Flow switch needs printing and Tom&#039;s nacelle needs dimension tweeking.&lt;br /&gt;
|-&lt;br /&gt;
| Tried printing control panel on the Ultimaker&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; || James || 4/25/17 || Print failed twice, but third time looked good before I left.&lt;br /&gt;
|-&lt;br /&gt;
| Installed control panel 3d printed on Tuesday || James || 4/27/17 || Controls and indicators are installed but not operational, yet.  It looks sweet! Could be thicker, maybe 4mm.  Dimensions could use tweeking too: toggle switches moved down, corner radii reduced,...&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded source code and stl for water level float switch and for terminal block holders.  Installed v5 of door switch holder and soldered wires to switches. || James || 5/1/17 || Still need to print float switch parts and terminal block holders. New parts fit well. A very productive day overall.&lt;br /&gt;
|-&lt;br /&gt;
| Installed terminal block with manually modified v1 terminal block holder parts.  Wired up cutting chamber and control chamber door safety switches.  Connected laser power supply wiring to new control panel switches. || James || 5/4/17 || Need to adjust terminal block holder dimensions and reprint.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded v2 source code and stl for terminal block holder. || James || 5/5/17 || Need to print float switch parts and terminal block holders.&lt;br /&gt;
|-&lt;br /&gt;
| Printed and installed new terminal block holders (v2). Printed new air flow switch and water level float switch head and base. Remodeled exhaust header. || James || 5/6/17 || Holders fit great.  Base, not so much.&lt;br /&gt;
|-&lt;br /&gt;
| Reprinted water level float switch base. Investigated PWM output from Smoothieboard. || James + Tom || 5/7/17 || Pin 4.2 and GND work for PWM signal.  PWM to DC breadboard isn&#039;t working. Laser power supply 5V circuit for safety switches doesn&#039;t have enough current to illuminate the trouble lamps on front panel.&lt;br /&gt;
|-&lt;br /&gt;
| Install float switch. || James || 5/11/17 || Not seeming to function as of 5/14 - remains conductive even when open?&lt;br /&gt;
|-&lt;br /&gt;
| Successful CNC laser firing on circle laser test. || James + Tom || 5/14/17 || Some kind of beam splitting or 2-layer reflection is going on. PWM out can be set using laser_module_pwm_pin in smoothieboard config.&lt;br /&gt;
|-&lt;br /&gt;
| Setup the auto-man power level control switch. General stuff. || James + Tom || 5/28/17 || We&#039;ve got some stray AC current in the case.&lt;br /&gt;
|-&lt;br /&gt;
| Installed RasPI as webhost. Replaced USB cable. || James + Tom || 6/4/17 || [http://192.168.26.122:8000/ Laserweb server], from HacDC network&lt;br /&gt;
|-&lt;br /&gt;
| Test cut Pepe the frog on opaque acrylic with painters tape mask. || James + [[user:Andrew|Andrew]] || 6/5/17 || Auto fire signal still isn&#039;t working.&lt;br /&gt;
|-&lt;br /&gt;
| Added circuitry to breadboard to automate the firing signal. || James || 6/6/17 || Will test on Thursday.&lt;br /&gt;
|-&lt;br /&gt;
| Test fire was successful. Operations section updated. || James || 6/8/17 || Fully automatic operations achieved! &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Additional Reading==&lt;br /&gt;
#[http://howell.seattle.wa.us/essays/lasercutter.shtml Laser blog]&lt;br /&gt;
#[https://www.reddit.com/r/lasercutting/wiki/k40 Reddit K40 wiki]&lt;br /&gt;
#[http://www.lightobject.com/Default.aspx Light Object laser retailer]&lt;br /&gt;
&lt;br /&gt;
[[Category:Equipment]]&lt;br /&gt;
[[Category:LaserCutter]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:Ongoing Projects]]&lt;br /&gt;
[[Category:Project Awesome]]&lt;br /&gt;
[[Category:CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13424</id>
		<title>Cheap Chinese Laser</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13424"/>
		<updated>2017-06-09T01:31:12Z</updated>

		<summary type="html">&lt;p&gt;James: added step-by-step instructions for software use&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cheap Chinese Laser]]&lt;br /&gt;
&lt;br /&gt;
This is the page dealing with the [[Cheap Chinese Laser]] at [https://www.hacdc.org HacDC] in the upstairs room at St. Stephen and the Incarnate church in Washington, DC.  This page replaces [[PA LaserCutter]] page from some years ago.  It had high ideals, but poor execution.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
HacDC has a K40, 40W, CO2, water cooled, laser for CNC cutting of various materials, aka a cheap Chinese laser.  It allegedly used to work just fine, but someone decided that wasn&#039;t good enough so she ordered and halfass installed some new parts that only halfass work.  After our intrepid hero, [[user:James|James]], fullyassed the installation of the new parts, the laser still only halfass worked.  [[user:Tom|Tom]] was railroaded into helping with the software, but even so the dynamic duo couldn&#039;t get the damn thing to work.  Then one day at work, boredom struck in a meeting and James had the idea to create this wiki page to guide others through the confusion and misinformation that plagues most equipment at HacDC and often results in subpar operation.  I beseech you, dear reader, to continue your edification on our topic at hand and become your own evil archvillain with laser powers.  (Sharks sold separately.)&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
===Chassis===&lt;br /&gt;
The chassis is the laser itself, the blue metal box with 3 flip up lids.  The main lid users deal with is for the cutting chamber on the left front of the machine.  It includes an orange plastic window.  The cutting chamber contains the transverse and longitudinal axes, aka x and y.  X goes left to right, and y goes back to front.  The material to be cut goes in this chamber.  The second flip up lid is for the controls and power supplies chamber.  This lid contains the front panel controls and indicators.  There are two control boards, the Smoothie board and the K40 ACR plug-and-play board which connects the Smoothie board to the machine hardware.  There are two power supplies as well, the control powersupply which is right below the control boards and the high-voltage (and I mean real high voltage, like around 15kV, not those nambypamby B.S. 120VAC &amp;quot;high voltage&amp;quot; warning labels) laser tube power supply which creates enough voltage to rip the electrons off the CO2 molecules and ionize them and cause them to emit coherent light when the electrons get back together with their matching CO2 ions.  For more about this exciting process, read a science book.  The third lid covers the laser tube chamber at the back of the chassis.  You don&#039;t really need to mess with these last two lids unless you are modifying the equipment or troubleshooting a failure.  All the lids have interlock switches and the laser will not fire if any one is open (unless you flip the override switch, in which case, it&#039;s your own darn fault for burning out your eye, as we say in Charlotte, &amp;quot;you did it to yourself&amp;quot;).&lt;br /&gt;
===Exhaust===&lt;br /&gt;
The exhaust system sucks smoke from the laser chassis cutting chamber and sends it outside through a window.  It was cobbled together using a fan and housing salvaged from a prior laser cutter and is mostly held together with zipties and metal duct tape.  Seriously.  I&#039;m not kidding.  Actual zipties and duct tape.  (I&#039;d like to give a shout-out to Home Depot for selling me the role of metal tape for only one cent.)  If any part of the whole laser system is going to crap out, this would be a good part to bet on.  It also uses 4&amp;quot; diameter (that&#039;s 105mm for those of you on the metric system) flexible metal clothes dryer exhaust duct to carry the exhaust gasses.  There are custom-made, 3d-printed transiton pieces at the back of the laser chassis which replace the original feeble exhaust system.  Read about them [[K40_Exhaust_Assembly|here]]&lt;br /&gt;
&lt;br /&gt;
===Cooling===&lt;br /&gt;
The cooling system presently consists of a 5 gallon pail in the roller cabinet with a submersible pump.  The water should be replaced with distilled.  (The pump power cord got a new plug.  It stays plugged in much better than the original cheap Chinese plug.)  If the water doesn&#039;t flow, the laser will burnout.  Sadness.  The cooling system presently only works based on the heat capacity of the water in the bucket.  Once the water heats up, you just need to wait for it to cool back down all by itself.  You can read about other people with more sophisticated refrigerated cooling systems, but this was quick and easy, like a virgin on prom night.  Julia has mentioned she&#039;s got some thermoelectric coolers in hiding for this project.  We&#039;ll cross that bridge when we get everything else running first.  The cooling system will have 3 interlocks: low water level, low flow, and high temperature.&lt;br /&gt;
&lt;br /&gt;
===Computer===&lt;br /&gt;
This is CNC equipment.  The first C is for Computer.  (No, not for cookie, but we often have cookies anyway.)  You need a computer with a USB port.  You need computer software.  I hope we can have a computer dedicated to the laser, but let&#039;s be real, that&#039;s not likely to happen.  I hope Tom will fill out this section.&lt;br /&gt;
===Cabinet===&lt;br /&gt;
The cabinet is what the chassis sits on.  The cabinet has wheels.  It&#039;s made of particle board and painted white.  The left door has upper and lower latches inside which hold it shut, so don&#039;t yank on it.  The cabinet houses the cooling system, the 12V accessory power supply, the power strip which all the line voltage equipment plugs into: exhaust fan, cooling pump, laser chassis, 12V power supply (marginal one installed currently to power the cutting chamber accessory lights).&lt;br /&gt;
&lt;br /&gt;
==Safety Interlocks==&lt;br /&gt;
&#039;&#039;&#039;Only some of these safeties are installed presently.&#039;&#039;&#039;  Don&#039;t go futzing around with stuff unless you know exactly what you are doing.  And tell James or Tom.  For troubleshooting purposes, there is a safety override switch on the control panel (middle of three).&lt;br /&gt;
===Ventilation===&lt;br /&gt;
#Exhaust - If the exhaust fan isn&#039;t moving air, we don&#039;t want the laser to fire and make lots of smoke which would then fill the room&lt;br /&gt;
#Lens - Eventually we plan to install an air shroud nozzle around the laser lens to keep smoke from coating the lens and reducing cutting power.&lt;br /&gt;
===Coolant===&lt;br /&gt;
#Level - Installed&lt;br /&gt;
#Flow&lt;br /&gt;
#Temp&lt;br /&gt;
===Doors===&lt;br /&gt;
#Cutting Chamber - Installed&lt;br /&gt;
#Control Chamber - Installed&lt;br /&gt;
#Laser Chamber - Probably not going to install this switch because the door is in back and control panel space is at a premium&lt;br /&gt;
#Cabinet - Probably not going to install this switch because there&#039;s not much harm in the cabinet and control panel space is at a premium&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
===Prestart===&lt;br /&gt;
#Come up with design&lt;br /&gt;
#Create SVG using software like [https://inkscape.org/ Inkscape]&lt;br /&gt;
#Upload SVG to computer&lt;br /&gt;
#Convert SVG to toolpath using software like [http://www.scorchworks.com/LaserDRW_extension/laserdrw_extension.html Laser Draw]&lt;br /&gt;
&lt;br /&gt;
===Startup===&lt;br /&gt;
#Roll cabinet out from under shelf&lt;br /&gt;
#Get extension cord out of cabinet and plug laser into extension cord and extension cord into live receptacle&lt;br /&gt;
#Turn on laser master power switch&lt;br /&gt;
#Close cabinet door&lt;br /&gt;
#Load material to be cut in laser cabinet&lt;br /&gt;
#Shut lid on cutting chamber&lt;br /&gt;
#Turn on laser cabinet power switch&lt;br /&gt;
===Operations===&lt;br /&gt;
#Ensure all safety interlocks are operable by checking indicator lights&lt;br /&gt;
##You can skip this step for now since the lights don&#039;t work&lt;br /&gt;
#Do software stuff&lt;br /&gt;
##Connect to LaserWeb server at [http://192.168.26.122:8000/] from HacDC network&lt;br /&gt;
##Clear LaserWeb 4 upgrade warning popup&lt;br /&gt;
##Click on Settings on left edge of page&lt;br /&gt;
##Click on BACKUP at top of setting pane&lt;br /&gt;
##Click on Restore from file&lt;br /&gt;
##Upload [file:Laserweb-settings-backup.json] file&lt;br /&gt;
##Click Save&lt;br /&gt;
##Observe messages &amp;quot;Saved Settings&amp;quot; and &amp;quot;Please refresh page for settings to take effect&amp;quot;&lt;br /&gt;
##Refresh webpage&lt;br /&gt;
##Clear LaserWeb 4 upgrade warning popup, again&lt;br /&gt;
##Load SVG file of cutting paths by dragging and dropping into the web browser window&lt;br /&gt;
##Click Generate G-Code (on CAM menu)&lt;br /&gt;
##Click Connect at the top of the webpage&lt;br /&gt;
##If a popup appears, choose Option 1&lt;br /&gt;
##Click Jog on left edge of the window&lt;br /&gt;
##Click home and observe the gantry move to the home position in the far left corner of the cutting chamber&lt;br /&gt;
#Run program without laser powered on to observe tool path and ensure material to be cut in properly arranged in the cutting chamber&lt;br /&gt;
##Click check outline and observe the laser move &lt;br /&gt;
###Check that material is fully under the travel area&lt;br /&gt;
###Check that your design is the size you expect it to be (25.4 for mm)&lt;br /&gt;
###If the size is not right, go to the Settings page and adjust the DPI setting on the Size menu&lt;br /&gt;
#Run program with laser powered on to cut material&lt;br /&gt;
##Click run gcode&lt;br /&gt;
##Watch for things catching fire&lt;br /&gt;
&lt;br /&gt;
===Shutdown===&lt;br /&gt;
#Turn off laser chassis and master power switches&lt;br /&gt;
#Unplug laser and extension cord&lt;br /&gt;
#Coilup and store extension cord&lt;br /&gt;
#Shut cabinet door&lt;br /&gt;
#Roll cabinet back under the shelf&lt;br /&gt;
#Continue with your evil plans for world domination&lt;br /&gt;
&lt;br /&gt;
==Custom Wiring== &lt;br /&gt;
Julia had some LED strips she wanted installed.  We succeeded.  The illuminate when the main power is turned on.&lt;br /&gt;
[[File:Laser-leds1.jpg]]&lt;br /&gt;
&lt;br /&gt;
They are white LEDs but the orange laser viewing window colors them.&lt;br /&gt;
&lt;br /&gt;
[[File:Laser-leds2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sully really likes relays and discrete, analogue circuits, so he jimmied up a bunch of stuff to make it less likely for you to poke your eye out or burn out the laser.&lt;br /&gt;
The laser power supply from the factory takes input from 3 front panel controls: off-on laser switch, momentary-on laser switch, power control potentiometer knob.  The off-on switch was a cheap latching push button which was connected to the leftmost two terminals of the 6 terminal plug with black wires.  It was replaced with an off-on, metal, toggle switch on 3-23-17.  The middle two terminals of the block connect to the momentary on push button switch on the front panel which causes the laser to fire (when the left two terminals are shorted together by the toggle switch).  The right 3 terminals (which overlap with the right center terminal going to the push button switch) connect to the front panel potentiometer which controls the laser current.  Do not turn the knob to full clockwise, because increasing the laser firing current past a certain point doesn&#039;t provide any benefit and just reduces the tube lifespan.  The plan is to parallelize the push button firing switch with a solid-state relay controlled directly by the Smoothie board and bypassing the K40 ACR board (which was supposed to make the Smoothie board plug-and-play, but as mentioned earlier did a halfassed job).  The potentiometer will be connected to a 3PDT switch for computerized or manual power level control.  A PWM to DC circuit will do the automatic control and the original pot will remain for the manual control.&lt;br /&gt;
The safety interlocks are basically a whole bunch of microswitches in series so if any one of them gets tripped the left two pins of the power supply 6 pin connector won&#039;t be shorted together and the laser won&#039;t fire.  There&#039;s also a plan to have lights illuminate to show which safeties are operating properly or tripped.  Plus indicator lights are cool.  And for the remaining manual firing switches we plan on getting those flip-up red covers like in those military movies where they&#039;re firing nuclear missiles and stuff like that.  These would aid in troubleshooting, and look really cool, even if they are kinda spendy.  Man, this is really turning into a wall of text.  Someone should do something about this sometime.  Anyway, schematic drawings would go here, or links to them would go here.&lt;br /&gt;
&lt;br /&gt;
Terminal Block Connections&lt;br /&gt;
#Cutting chamber door safety switch - common&lt;br /&gt;
#Cutting chamber door safety switch - n.o.&lt;br /&gt;
#Cutting chamber door safety switch - n.c.&lt;br /&gt;
#Control chamber door safety switch - common&lt;br /&gt;
#Control chamber door safety switch - n.o.&lt;br /&gt;
#Control chamber door safety switch - n.c.&lt;br /&gt;
#Cooling water level float safety switch - common&lt;br /&gt;
#Cooling water level float safety switch - n.o.&lt;br /&gt;
#Cooling water level float safety switch - n.c.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#Laser fire switch 1&lt;br /&gt;
#Laser fire switch 2 - one of these is the same as power level GND (immediately below)&lt;br /&gt;
#Laser power supply power level control potentiometer GND&lt;br /&gt;
#Auto power control voltage divided between +V and GND - connects to auto-hand control panel switch and to PWM-DC converter circuit output&lt;br /&gt;
#Laser power supply power level control potentiometer +V&lt;br /&gt;
&lt;br /&gt;
==Custom Parts==&lt;br /&gt;
Images of custom parts like the exhaust nozzles and eventually a new control panel and source files for 3d printed or laser cut parts can go here.&lt;br /&gt;
&lt;br /&gt;
[[CCL front panel]]&lt;br /&gt;
&lt;br /&gt;
[[Air flow switch holder]]&lt;br /&gt;
&lt;br /&gt;
[[Exhaust nozzle]]&lt;br /&gt;
&lt;br /&gt;
[[Terminal block holder]]&lt;br /&gt;
&lt;br /&gt;
This image is colored for 3d printing using it as a height map: black=0mm, gray=1mm, white=2mm. 174mm wide, 184mm tall.&lt;br /&gt;
The SVG file was created by a Ruby program to modularize the positions and sizes of cutouts for switches, nobs, lamps, etc.&lt;br /&gt;
&lt;br /&gt;
[[file:Control-panel.png]]&lt;br /&gt;
&lt;br /&gt;
==Bill of Materials, a.k.a. Donation Wishlist, and Hardware Store Shopping List==&lt;br /&gt;
#Laser goggles&lt;br /&gt;
#USB A-B cord, i.e. printer cable, which doesn&#039;t suck&lt;br /&gt;
#Solid state relays -- we used [http://www.clare.com/home/pdfs.nsf/www/LBA110.pdf/$file/LBA110.pdf] this one.  --This should move to custom parts and off the wishlist (JS 4-20).&lt;br /&gt;
#Stuff to cut&lt;br /&gt;
##1/8&amp;quot; Baltic birch plywood&lt;br /&gt;
##Plastic sheets, e.g. acrylic&lt;br /&gt;
##Masonite?&lt;br /&gt;
#Cabinet reinforcements&lt;br /&gt;
##dimensional lumber, e.g. 2x4, 2x2, 1x3&lt;br /&gt;
##unidirectional casters&lt;br /&gt;
#Cooling system stuff&lt;br /&gt;
##Distilled water&lt;br /&gt;
##Float switch&lt;br /&gt;
##Thermocouple or thermistor/RTD temperature sensor probe&lt;br /&gt;
##Radiator and fans&lt;br /&gt;
##Solidstate heat pump&lt;br /&gt;
##Working water fountain chiller (for future use on the 100W downstairs)&lt;br /&gt;
##PLC/Microcontroller with A/D inputs for temperature probe conditioning and temp display (advanced task)&lt;br /&gt;
#Green connectors for smoothieboard and laser powersupply [https://www.amazon.com/uxcell-Terminals-Pitch-Mount-Terminal/dp/B00E6Q4FE6/ref=sr_1_9?ie=UTF8&amp;amp;qid=1493691567&amp;amp;sr=8-9&amp;amp;keywords=pluggable+terminal+block+connector]&lt;br /&gt;
&lt;br /&gt;
==To-Do Tasks==&lt;br /&gt;
#Airflow switch housing&lt;br /&gt;
##manufacture&lt;br /&gt;
##install&lt;br /&gt;
#Coolant interlocks&lt;br /&gt;
##Flow sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Temp sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
#Door switches&lt;br /&gt;
##Cabinet door&lt;br /&gt;
##Laser tube chamber door&lt;br /&gt;
#Chassis wiring&lt;br /&gt;
##Wire up the safety switches as they are installed&lt;br /&gt;
##Draw a wiring diagram of custom components&lt;br /&gt;
#CNC firing control - This svg file can be used to test run the laser: [[Laser circle test]]&lt;br /&gt;
##find firing signal on Smoothie board&lt;br /&gt;
##in the config you specify this with laser_module_ttl_pin&lt;br /&gt;
##determine relay requirements&lt;br /&gt;
##purchase and receive relay&lt;br /&gt;
##install firing relay&lt;br /&gt;
#software&lt;br /&gt;
##determine best software to use&lt;br /&gt;
##develop workflows for various programs and operating systems&lt;br /&gt;
##update this page to explain the above&lt;br /&gt;
##We&#039;re gonna use Laserweb I think so setup a RasPi or something as a Laserweb server.&lt;br /&gt;
&lt;br /&gt;
==Completed Tasks==&lt;br /&gt;
If you do work on the laser, please record it here.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Task !! Fixer !! Date !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Create Wiki page || [[user:James|James]] || 3/24/2017 || Ongoing updates needed&lt;br /&gt;
|-&lt;br /&gt;
| Install operational exhaust system || James || 2/2017 || Still needs interlocks&lt;br /&gt;
|-&lt;br /&gt;
| Install cooling system || James || 2/2017 || Air cooling or refrigeration could be added&lt;br /&gt;
|-&lt;br /&gt;
| Connect control power supply to switched mains || James || 3/2017 || Done&lt;br /&gt;
|-&lt;br /&gt;
| Get x and y axis movements working || [[user:Tom|Tom]] || 3/2017 || Firing still needs to be fixed&lt;br /&gt;
|-&lt;br /&gt;
| Replaced cooling pump power cord plug || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed door closure bolts on left cabinet door || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed cutting chamber illumination LEDs and 12VDC powersupply || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Control + interlock circuits design/brainstorm session || James + Tom || 3/27/2017 || See webpages below for Smothieboard help&lt;br /&gt;
|-&lt;br /&gt;
| Mocked up and tested control circuit for PWM from smoothieboard || James + Tom || 3/27/2017 || http://smoothieware.org/laser-cutter-guide&lt;br /&gt;
|-&lt;br /&gt;
| Scoped out various pins on the smoothieboard to find PWM out || James + Tom || 3/27/2017 || http://smoothieware.org/smoothieboard-v1&lt;br /&gt;
|-&lt;br /&gt;
| Removed control panel || James || 3/30/17 || Don&#039;t mess with nothing until a new one gets installed!&lt;br /&gt;
|-&lt;br /&gt;
| Tried to 3d print a new control panel || James || 4/2/17 || Lulzbot Taz either didn&#039;t extrude or made bird poop. :( It&#039;s too bad we don&#039;t have a working laser cutter.&lt;br /&gt;
|-&lt;br /&gt;
| Adjusted program size parameters based on failed print and added ammeter mounting screw holes to control panel design || James || 4/11/17 || Still need to upload new SVG here and print it&lt;br /&gt;
|-&lt;br /&gt;
| Ordered self adhesive cable tie mounting squares and SSR for PWM-&amp;gt; DC || Tom || 4/11/17 || Delivery expected Thursday&lt;br /&gt;
|-&lt;br /&gt;
| Design 3d-printed mounting bracket/clip to hold switches for door interlocks || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Design, breadboard and test PWM circuit with solid state relay and newly determined time constant || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded exhaust nozzle and exhaust flow switch scad files || James || 4/20/17 || Flow switch needs printing and Tom&#039;s nacelle needs dimension tweeking.&lt;br /&gt;
|-&lt;br /&gt;
| Tried printing control panel on the Ultimaker&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; || James || 4/25/17 || Print failed twice, but third time looked good before I left.&lt;br /&gt;
|-&lt;br /&gt;
| Installed control panel 3d printed on Tuesday || James || 4/27/17 || Controls and indicators are installed but not operational, yet.  It looks sweet! Could be thicker, maybe 4mm.  Dimensions could use tweeking too: toggle switches moved down, corner radii reduced,...&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded source code and stl for water level float switch and for terminal block holders.  Installed v5 of door switch holder and soldered wires to switches. || James || 5/1/17 || Still need to print float switch parts and terminal block holders. New parts fit well. A very productive day overall.&lt;br /&gt;
|-&lt;br /&gt;
| Installed terminal block with manually modified v1 terminal block holder parts.  Wired up cutting chamber and control chamber door safety switches.  Connected laser power supply wiring to new control panel switches. || James || 5/4/17 || Need to adjust terminal block holder dimensions and reprint.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded v2 source code and stl for terminal block holder. || James || 5/5/17 || Need to print float switch parts and terminal block holders.&lt;br /&gt;
|-&lt;br /&gt;
| Printed and installed new terminal block holders (v2). Printed new air flow switch and water level float switch head and base. Remodeled exhaust header. || James || 5/6/17 || Holders fit great.  Base, not so much.&lt;br /&gt;
|-&lt;br /&gt;
| Reprinted water level float switch base. Investigated PWM output from Smoothieboard. || James + Tom || 5/7/17 || Pin 4.2 and GND work for PWM signal.  PWM to DC breadboard isn&#039;t working. Laser power supply 5V circuit for safety switches doesn&#039;t have enough current to illuminate the trouble lamps on front panel.&lt;br /&gt;
|-&lt;br /&gt;
| Install float switch. || James || 5/11/17 || Not seeming to function as of 5/14 - remains conductive even when open?&lt;br /&gt;
|-&lt;br /&gt;
| Successful CNC laser firing on circle laser test. || James + Tom || 5/14/17 || Some kind of beam splitting or 2-layer reflection is going on. PWM out can be set using laser_module_pwm_pin in smoothieboard config.&lt;br /&gt;
|-&lt;br /&gt;
| Setup the auto-man power level control switch. General stuff. || James + Tom || 5/28/17 || We&#039;ve got some stray AC current in the case.&lt;br /&gt;
|-&lt;br /&gt;
| Installed RasPI as webhost. Replaced USB cable. || James + Tom || 6/4/17 || [http://192.168.26.122:8000/ Laserweb server], from HacDC network&lt;br /&gt;
|-&lt;br /&gt;
| Test cut Pepe the frog on opaque acrylic with painters tape mask. || James + [[user:Andrew|Andrew]] || 6/5/17 || Auto fire signal still isn&#039;t working.&lt;br /&gt;
|-&lt;br /&gt;
| Added circuitry to breadboard to automate the firing signal. || James || 6/6/17 || Will test on Thursday.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Additional Reading==&lt;br /&gt;
#[http://howell.seattle.wa.us/essays/lasercutter.shtml Laser blog]&lt;br /&gt;
#[https://www.reddit.com/r/lasercutting/wiki/k40 Reddit K40 wiki]&lt;br /&gt;
#[http://www.lightobject.com/Default.aspx Light Object laser retailer]&lt;br /&gt;
&lt;br /&gt;
[[Category:Equipment]]&lt;br /&gt;
[[Category:LaserCutter]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:Ongoing Projects]]&lt;br /&gt;
[[Category:Project Awesome]]&lt;br /&gt;
[[Category:CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=File:Laserweb-settings-backup.json&amp;diff=13423</id>
		<title>File:Laserweb-settings-backup.json</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=File:Laserweb-settings-backup.json&amp;diff=13423"/>
		<updated>2017-06-09T00:33:18Z</updated>

		<summary type="html">&lt;p&gt;James: Laserweb-settings-backup.json
Settings file for laser cutter.
Uploaded 6-8-17&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Laserweb-settings-backup.json&lt;br /&gt;
Settings file for laser cutter.&lt;br /&gt;
Uploaded 6-8-17&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13420</id>
		<title>Cheap Chinese Laser</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13420"/>
		<updated>2017-06-08T04:08:26Z</updated>

		<summary type="html">&lt;p&gt;James: added local address for laserweb server&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cheap Chinese Laser]]&lt;br /&gt;
&lt;br /&gt;
This is the page dealing with the [[Cheap Chinese Laser]] at [https://www.hacdc.org HacDC] in the upstairs room at St. Stephen and the Incarnate church in Washington, DC.  This page replaces [[PA LaserCutter]] page from some years ago.  It had high ideals, but poor execution.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
HacDC has a K40, 40W, CO2, water cooled, laser for CNC cutting of various materials, aka a cheap Chinese laser.  It allegedly used to work just fine, but someone decided that wasn&#039;t good enough so she ordered and halfass installed some new parts that only halfass work.  After our intrepid hero, [[user:James|James]], fullyassed the installation of the new parts, the laser still only halfass worked.  [[user:Tom|Tom]] was railroaded into helping with the software, but even so the dynamic duo couldn&#039;t get the damn thing to work.  Then one day at work, boredom struck in a meeting and James had the idea to create this wiki page to guide others through the confusion and misinformation that plagues most equipment at HacDC and often results in subpar operation.  I beseech you, dear reader, to continue your edification on our topic at hand and become your own evil archvillain with laser powers.  (Sharks sold separately.)&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
===Chassis===&lt;br /&gt;
The chassis is the laser itself, the blue metal box with 3 flip up lids.  The main lid users deal with is for the cutting chamber on the left front of the machine.  It includes an orange plastic window.  The cutting chamber contains the transverse and longitudinal axes, aka x and y.  X goes left to right, and y goes back to front.  The material to be cut goes in this chamber.  The second flip up lid is for the controls and power supplies chamber.  This lid contains the front panel controls and indicators.  There are two control boards, the Smoothie board and the K40 ACR plug-and-play board which connects the Smoothie board to the machine hardware.  There are two power supplies as well, the control powersupply which is right below the control boards and the high-voltage (and I mean real high voltage, like around 15kV, not those nambypamby B.S. 120VAC &amp;quot;high voltage&amp;quot; warning labels) laser tube power supply which creates enough voltage to rip the electrons off the CO2 molecules and ionize them and cause them to emit coherent light when the electrons get back together with their matching CO2 ions.  For more about this exciting process, read a science book.  The third lid covers the laser tube chamber at the back of the chassis.  You don&#039;t really need to mess with these last two lids unless you are modifying the equipment or troubleshooting a failure.  All the lids have interlock switches and the laser will not fire if any one is open (unless you flip the override switch, in which case, it&#039;s your own darn fault for burning out your eye, as we say in Charlotte, &amp;quot;you did it to yourself&amp;quot;).&lt;br /&gt;
===Exhaust===&lt;br /&gt;
The exhaust system sucks smoke from the laser chassis cutting chamber and sends it outside through a window.  It was cobbled together using a fan and housing salvaged from a prior laser cutter and is mostly held together with zipties and metal duct tape.  Seriously.  I&#039;m not kidding.  Actual zipties and duct tape.  (I&#039;d like to give a shout-out to Home Depot for selling me the role of metal tape for only one cent.)  If any part of the whole laser system is going to crap out, this would be a good part to bet on.  It also uses 4&amp;quot; diameter (that&#039;s 105mm for those of you on the metric system) flexible metal clothes dryer exhaust duct to carry the exhaust gasses.  There are custom-made, 3d-printed transiton pieces at the back of the laser chassis which replace the original feeble exhaust system.  Read about them [[K40_Exhaust_Assembly|here]]&lt;br /&gt;
&lt;br /&gt;
===Cooling===&lt;br /&gt;
The cooling system presently consists of a 5 gallon pail in the roller cabinet with a submersible pump.  The water should be replaced with distilled.  (The pump power cord got a new plug.  It stays plugged in much better than the original cheap Chinese plug.)  If the water doesn&#039;t flow, the laser will burnout.  Sadness.  The cooling system presently only works based on the heat capacity of the water in the bucket.  Once the water heats up, you just need to wait for it to cool back down all by itself.  You can read about other people with more sophisticated refrigerated cooling systems, but this was quick and easy, like a virgin on prom night.  Julia has mentioned she&#039;s got some thermoelectric coolers in hiding for this project.  We&#039;ll cross that bridge when we get everything else running first.  The cooling system will have 3 interlocks: low water level, low flow, and high temperature.&lt;br /&gt;
&lt;br /&gt;
===Computer===&lt;br /&gt;
This is CNC equipment.  The first C is for Computer.  (No, not for cookie, but we often have cookies anyway.)  You need a computer with a USB port.  You need computer software.  I hope we can have a computer dedicated to the laser, but let&#039;s be real, that&#039;s not likely to happen.  I hope Tom will fill out this section.&lt;br /&gt;
===Cabinet===&lt;br /&gt;
The cabinet is what the chassis sits on.  The cabinet has wheels.  It&#039;s made of particle board and painted white.  The left door has upper and lower latches inside which hold it shut, so don&#039;t yank on it.  The cabinet houses the cooling system, the 12V accessory power supply, the power strip which all the line voltage equipment plugs into: exhaust fan, cooling pump, laser chassis, 12V power supply (marginal one installed currently to power the cutting chamber accessory lights).&lt;br /&gt;
&lt;br /&gt;
==Safety Interlocks==&lt;br /&gt;
&#039;&#039;&#039;Only some of these safeties are installed presently.&#039;&#039;&#039;  Don&#039;t go futzing around with stuff unless you know exactly what you are doing.  And tell James or Tom.  For troubleshooting purposes, there is a safety override switch on the control panel (middle of three).&lt;br /&gt;
===Ventilation===&lt;br /&gt;
#Exhaust - If the exhaust fan isn&#039;t moving air, we don&#039;t want the laser to fire and make lots of smoke which would then fill the room&lt;br /&gt;
#Lens - Eventually we plan to install an air shroud nozzle around the laser lens to keep smoke from coating the lens and reducing cutting power.&lt;br /&gt;
===Coolant===&lt;br /&gt;
#Level - Installed&lt;br /&gt;
#Flow&lt;br /&gt;
#Temp&lt;br /&gt;
===Doors===&lt;br /&gt;
#Cutting Chamber - Installed&lt;br /&gt;
#Control Chamber - Installed&lt;br /&gt;
#Laser Chamber - Probably not going to install this switch because the door is in back and control panel space is at a premium&lt;br /&gt;
#Cabinet - Probably not going to install this switch because there&#039;s not much harm in the cabinet and control panel space is at a premium&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
===Prestart===&lt;br /&gt;
#Come up with design&lt;br /&gt;
#Create SVG using software like [https://inkscape.org/ Inkscape]&lt;br /&gt;
#Upload SVG to computer&lt;br /&gt;
#Convert SVG to toolpath using software like [http://www.scorchworks.com/LaserDRW_extension/laserdrw_extension.html Laser Draw]&lt;br /&gt;
&lt;br /&gt;
===Startup===&lt;br /&gt;
#Roll cabinet out from under shelf&lt;br /&gt;
#Get extension cord out of cabinet and plug laser into extension cord and extension cord into live receptacle&lt;br /&gt;
#Turn on laser master power switch&lt;br /&gt;
#Close cabinet door&lt;br /&gt;
#Load material to be cut in laser cabinet&lt;br /&gt;
#Shut lid on cutting chamber&lt;br /&gt;
#Turn on laser cabinet power switch&lt;br /&gt;
===Operations===&lt;br /&gt;
#Ensure all safety interlocks are operable by checking indicator lights&lt;br /&gt;
#Run program without laser powered on to observe tool path and ensure material to be cut in properly arranged in the cutting chamber&lt;br /&gt;
#Run program with laser powered on to cut material&lt;br /&gt;
===Shutdown===&lt;br /&gt;
#Turn off laser chassis and master power switches&lt;br /&gt;
#Unplug laser and extension cord&lt;br /&gt;
#Coilup and store extension cord&lt;br /&gt;
#Shut cabinet door&lt;br /&gt;
#Roll cabinet back under the shelf&lt;br /&gt;
#Continue with your evil plans for world domination&lt;br /&gt;
&lt;br /&gt;
==Custom Wiring== &lt;br /&gt;
Julia had some LED strips she wanted installed.  We succeeded.  The illuminate when the main power is turned on.&lt;br /&gt;
[[File:Laser-leds1.jpg]]&lt;br /&gt;
&lt;br /&gt;
They are white LEDs but the orange laser viewing window colors them.&lt;br /&gt;
&lt;br /&gt;
[[File:Laser-leds2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sully really likes relays and discrete, analogue circuits, so he jimmied up a bunch of stuff to make it less likely for you to poke your eye out or burn out the laser.&lt;br /&gt;
The laser power supply from the factory takes input from 3 front panel controls: off-on laser switch, momentary-on laser switch, power control potentiometer knob.  The off-on switch was a cheap latching push button which was connected to the leftmost two terminals of the 6 terminal plug with black wires.  It was replaced with an off-on, metal, toggle switch on 3-23-17.  The middle two terminals of the block connect to the momentary on push button switch on the front panel which causes the laser to fire (when the left two terminals are shorted together by the toggle switch).  The right 3 terminals (which overlap with the right center terminal going to the push button switch) connect to the front panel potentiometer which controls the laser current.  Do not turn the knob to full clockwise, because increasing the laser firing current past a certain point doesn&#039;t provide any benefit and just reduces the tube lifespan.  The plan is to parallelize the push button firing switch with a solid-state relay controlled directly by the Smoothie board and bypassing the K40 ACR board (which was supposed to make the Smoothie board plug-and-play, but as mentioned earlier did a halfassed job).  The potentiometer will be connected to a 3PDT switch for computerized or manual power level control.  A PWM to DC circuit will do the automatic control and the original pot will remain for the manual control.&lt;br /&gt;
The safety interlocks are basically a whole bunch of microswitches in series so if any one of them gets tripped the left two pins of the power supply 6 pin connector won&#039;t be shorted together and the laser won&#039;t fire.  There&#039;s also a plan to have lights illuminate to show which safeties are operating properly or tripped.  Plus indicator lights are cool.  And for the remaining manual firing switches we plan on getting those flip-up red covers like in those military movies where they&#039;re firing nuclear missiles and stuff like that.  These would aid in troubleshooting, and look really cool, even if they are kinda spendy.  Man, this is really turning into a wall of text.  Someone should do something about this sometime.  Anyway, schematic drawings would go here, or links to them would go here.&lt;br /&gt;
&lt;br /&gt;
Terminal Block Connections&lt;br /&gt;
#Cutting chamber door safety switch - common&lt;br /&gt;
#Cutting chamber door safety switch - n.o.&lt;br /&gt;
#Cutting chamber door safety switch - n.c.&lt;br /&gt;
#Control chamber door safety switch - common&lt;br /&gt;
#Control chamber door safety switch - n.o.&lt;br /&gt;
#Control chamber door safety switch - n.c.&lt;br /&gt;
#Cooling water level float safety switch - common&lt;br /&gt;
#Cooling water level float safety switch - n.o.&lt;br /&gt;
#Cooling water level float safety switch - n.c.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#Laser fire switch 1&lt;br /&gt;
#Laser fire switch 2 - one of these is the same as power level GND (immediately below)&lt;br /&gt;
#Laser power supply power level control potentiometer GND&lt;br /&gt;
#Auto power control voltage divided between +V and GND - connects to auto-hand control panel switch and to PWM-DC converter circuit output&lt;br /&gt;
#Laser power supply power level control potentiometer +V&lt;br /&gt;
&lt;br /&gt;
==Custom Parts==&lt;br /&gt;
Images of custom parts like the exhaust nozzles and eventually a new control panel and source files for 3d printed or laser cut parts can go here.&lt;br /&gt;
&lt;br /&gt;
[[CCL front panel]]&lt;br /&gt;
&lt;br /&gt;
[[Air flow switch holder]]&lt;br /&gt;
&lt;br /&gt;
[[Exhaust nozzle]]&lt;br /&gt;
&lt;br /&gt;
[[Terminal block holder]]&lt;br /&gt;
&lt;br /&gt;
This image is colored for 3d printing using it as a height map: black=0mm, gray=1mm, white=2mm. 174mm wide, 184mm tall.&lt;br /&gt;
The SVG file was created by a Ruby program to modularize the positions and sizes of cutouts for switches, nobs, lamps, etc.&lt;br /&gt;
&lt;br /&gt;
[[file:Control-panel.png]]&lt;br /&gt;
&lt;br /&gt;
==Bill of Materials, a.k.a. Donation Wishlist, and Hardware Store Shopping List==&lt;br /&gt;
#Laser goggles&lt;br /&gt;
#USB A-B cord, i.e. printer cable, which doesn&#039;t suck&lt;br /&gt;
#Solid state relays -- we used [http://www.clare.com/home/pdfs.nsf/www/LBA110.pdf/$file/LBA110.pdf] this one.  --This should move to custom parts and off the wishlist (JS 4-20).&lt;br /&gt;
#Stuff to cut&lt;br /&gt;
##1/8&amp;quot; Baltic birch plywood&lt;br /&gt;
##Plastic sheets, e.g. acrylic&lt;br /&gt;
##Masonite?&lt;br /&gt;
#Cabinet reinforcements&lt;br /&gt;
##dimensional lumber, e.g. 2x4, 2x2, 1x3&lt;br /&gt;
##unidirectional casters&lt;br /&gt;
#Cooling system stuff&lt;br /&gt;
##Distilled water&lt;br /&gt;
##Float switch&lt;br /&gt;
##Thermocouple or thermistor/RTD temperature sensor probe&lt;br /&gt;
##Radiator and fans&lt;br /&gt;
##Solidstate heat pump&lt;br /&gt;
##Working water fountain chiller (for future use on the 100W downstairs)&lt;br /&gt;
##PLC/Microcontroller with A/D inputs for temperature probe conditioning and temp display (advanced task)&lt;br /&gt;
#Green connectors for smoothieboard and laser powersupply [https://www.amazon.com/uxcell-Terminals-Pitch-Mount-Terminal/dp/B00E6Q4FE6/ref=sr_1_9?ie=UTF8&amp;amp;qid=1493691567&amp;amp;sr=8-9&amp;amp;keywords=pluggable+terminal+block+connector]&lt;br /&gt;
&lt;br /&gt;
==To-Do Tasks==&lt;br /&gt;
#Airflow switch housing&lt;br /&gt;
##manufacture&lt;br /&gt;
##install&lt;br /&gt;
#Coolant interlocks&lt;br /&gt;
##Flow sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Temp sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
#Door switches&lt;br /&gt;
##Cabinet door&lt;br /&gt;
##Laser tube chamber door&lt;br /&gt;
#Chassis wiring&lt;br /&gt;
##Wire up the safety switches as they are installed&lt;br /&gt;
##Draw a wiring diagram of custom components&lt;br /&gt;
#CNC firing control - This svg file can be used to test run the laser: [[Laser circle test]]&lt;br /&gt;
##find firing signal on Smoothie board&lt;br /&gt;
##in the config you specify this with laser_module_ttl_pin&lt;br /&gt;
##determine relay requirements&lt;br /&gt;
##purchase and receive relay&lt;br /&gt;
##install firing relay&lt;br /&gt;
#software&lt;br /&gt;
##determine best software to use&lt;br /&gt;
##develop workflows for various programs and operating systems&lt;br /&gt;
##update this page to explain the above&lt;br /&gt;
##We&#039;re gonna use Laserweb I think so setup a RasPi or something as a Laserweb server.&lt;br /&gt;
&lt;br /&gt;
==Completed Tasks==&lt;br /&gt;
If you do work on the laser, please record it here.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Task !! Fixer !! Date !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Create Wiki page || [[user:James|James]] || 3/24/2017 || Ongoing updates needed&lt;br /&gt;
|-&lt;br /&gt;
| Install operational exhaust system || James || 2/2017 || Still needs interlocks&lt;br /&gt;
|-&lt;br /&gt;
| Install cooling system || James || 2/2017 || Air cooling or refrigeration could be added&lt;br /&gt;
|-&lt;br /&gt;
| Connect control power supply to switched mains || James || 3/2017 || Done&lt;br /&gt;
|-&lt;br /&gt;
| Get x and y axis movements working || [[user:Tom|Tom]] || 3/2017 || Firing still needs to be fixed&lt;br /&gt;
|-&lt;br /&gt;
| Replaced cooling pump power cord plug || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed door closure bolts on left cabinet door || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed cutting chamber illumination LEDs and 12VDC powersupply || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Control + interlock circuits design/brainstorm session || James + Tom || 3/27/2017 || See webpages below for Smothieboard help&lt;br /&gt;
|-&lt;br /&gt;
| Mocked up and tested control circuit for PWM from smoothieboard || James + Tom || 3/27/2017 || http://smoothieware.org/laser-cutter-guide&lt;br /&gt;
|-&lt;br /&gt;
| Scoped out various pins on the smoothieboard to find PWM out || James + Tom || 3/27/2017 || http://smoothieware.org/smoothieboard-v1&lt;br /&gt;
|-&lt;br /&gt;
| Removed control panel || James || 3/30/17 || Don&#039;t mess with nothing until a new one gets installed!&lt;br /&gt;
|-&lt;br /&gt;
| Tried to 3d print a new control panel || James || 4/2/17 || Lulzbot Taz either didn&#039;t extrude or made bird poop. :( It&#039;s too bad we don&#039;t have a working laser cutter.&lt;br /&gt;
|-&lt;br /&gt;
| Adjusted program size parameters based on failed print and added ammeter mounting screw holes to control panel design || James || 4/11/17 || Still need to upload new SVG here and print it&lt;br /&gt;
|-&lt;br /&gt;
| Ordered self adhesive cable tie mounting squares and SSR for PWM-&amp;gt; DC || Tom || 4/11/17 || Delivery expected Thursday&lt;br /&gt;
|-&lt;br /&gt;
| Design 3d-printed mounting bracket/clip to hold switches for door interlocks || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Design, breadboard and test PWM circuit with solid state relay and newly determined time constant || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded exhaust nozzle and exhaust flow switch scad files || James || 4/20/17 || Flow switch needs printing and Tom&#039;s nacelle needs dimension tweeking.&lt;br /&gt;
|-&lt;br /&gt;
| Tried printing control panel on the Ultimaker&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; || James || 4/25/17 || Print failed twice, but third time looked good before I left.&lt;br /&gt;
|-&lt;br /&gt;
| Installed control panel 3d printed on Tuesday || James || 4/27/17 || Controls and indicators are installed but not operational, yet.  It looks sweet! Could be thicker, maybe 4mm.  Dimensions could use tweeking too: toggle switches moved down, corner radii reduced,...&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded source code and stl for water level float switch and for terminal block holders.  Installed v5 of door switch holder and soldered wires to switches. || James || 5/1/17 || Still need to print float switch parts and terminal block holders. New parts fit well. A very productive day overall.&lt;br /&gt;
|-&lt;br /&gt;
| Installed terminal block with manually modified v1 terminal block holder parts.  Wired up cutting chamber and control chamber door safety switches.  Connected laser power supply wiring to new control panel switches. || James || 5/4/17 || Need to adjust terminal block holder dimensions and reprint.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded v2 source code and stl for terminal block holder. || James || 5/5/17 || Need to print float switch parts and terminal block holders.&lt;br /&gt;
|-&lt;br /&gt;
| Printed and installed new terminal block holders (v2). Printed new air flow switch and water level float switch head and base. Remodeled exhaust header. || James || 5/6/17 || Holders fit great.  Base, not so much.&lt;br /&gt;
|-&lt;br /&gt;
| Reprinted water level float switch base. Investigated PWM output from Smoothieboard. || James + Tom || 5/7/17 || Pin 4.2 and GND work for PWM signal.  PWM to DC breadboard isn&#039;t working. Laser power supply 5V circuit for safety switches doesn&#039;t have enough current to illuminate the trouble lamps on front panel.&lt;br /&gt;
|-&lt;br /&gt;
| Install float switch. || James || 5/11/17 || Not seeming to function as of 5/14 - remains conductive even when open?&lt;br /&gt;
|-&lt;br /&gt;
| Successful CNC laser firing on circle laser test. || James + Tom || 5/14/17 || Some kind of beam splitting or 2-layer reflection is going on. PWM out can be set using laser_module_pwm_pin in smoothieboard config.&lt;br /&gt;
|-&lt;br /&gt;
| Setup the auto-man power level control switch. General stuff. || James + Tom || 5/28/17 || We&#039;ve got some stray AC current in the case.&lt;br /&gt;
|-&lt;br /&gt;
| Installed RasPI as webhost. Replaced USB cable. || James + Tom || 6/4/17 || [http://192.168.26.122:8000/ Laserweb server], from HacDC network&lt;br /&gt;
|-&lt;br /&gt;
| Test cut Pepe the frog on opaque acrylic with painters tape mask. || James + [[user:Andrew|Andrew]] || 6/5/17 || Auto fire signal still isn&#039;t working.&lt;br /&gt;
|-&lt;br /&gt;
| Added circuitry to breadboard to automate the firing signal. || James || 6/6/17 || Will test on Thursday.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Additional Reading==&lt;br /&gt;
#[http://howell.seattle.wa.us/essays/lasercutter.shtml Laser blog]&lt;br /&gt;
#[https://www.reddit.com/r/lasercutting/wiki/k40 Reddit K40 wiki]&lt;br /&gt;
#[http://www.lightobject.com/Default.aspx Light Object laser retailer]&lt;br /&gt;
&lt;br /&gt;
[[Category:Equipment]]&lt;br /&gt;
[[Category:LaserCutter]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:Ongoing Projects]]&lt;br /&gt;
[[Category:Project Awesome]]&lt;br /&gt;
[[Category:CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13419</id>
		<title>Cheap Chinese Laser</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13419"/>
		<updated>2017-06-07T17:14:12Z</updated>

		<summary type="html">&lt;p&gt;James: added Addition Reading section, updated work done on 6/4 - 6/6, added terminal block info for fire switch&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cheap Chinese Laser]]&lt;br /&gt;
&lt;br /&gt;
This is the page dealing with the [[Cheap Chinese Laser]] at [https://www.hacdc.org HacDC] in the upstairs room at St. Stephen and the Incarnate church in Washington, DC.  This page replaces [[PA LaserCutter]] page from some years ago.  It had high ideals, but poor execution.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
HacDC has a K40, 40W, CO2, water cooled, laser for CNC cutting of various materials, aka a cheap Chinese laser.  It allegedly used to work just fine, but someone decided that wasn&#039;t good enough so she ordered and halfass installed some new parts that only halfass work.  After our intrepid hero, [[user:James|James]], fullyassed the installation of the new parts, the laser still only halfass worked.  [[user:Tom|Tom]] was railroaded into helping with the software, but even so the dynamic duo couldn&#039;t get the damn thing to work.  Then one day at work, boredom struck in a meeting and James had the idea to create this wiki page to guide others through the confusion and misinformation that plagues most equipment at HacDC and often results in subpar operation.  I beseech you, dear reader, to continue your edification on our topic at hand and become your own evil archvillain with laser powers.  (Sharks sold separately.)&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
===Chassis===&lt;br /&gt;
The chassis is the laser itself, the blue metal box with 3 flip up lids.  The main lid users deal with is for the cutting chamber on the left front of the machine.  It includes an orange plastic window.  The cutting chamber contains the transverse and longitudinal axes, aka x and y.  X goes left to right, and y goes back to front.  The material to be cut goes in this chamber.  The second flip up lid is for the controls and power supplies chamber.  This lid contains the front panel controls and indicators.  There are two control boards, the Smoothie board and the K40 ACR plug-and-play board which connects the Smoothie board to the machine hardware.  There are two power supplies as well, the control powersupply which is right below the control boards and the high-voltage (and I mean real high voltage, like around 15kV, not those nambypamby B.S. 120VAC &amp;quot;high voltage&amp;quot; warning labels) laser tube power supply which creates enough voltage to rip the electrons off the CO2 molecules and ionize them and cause them to emit coherent light when the electrons get back together with their matching CO2 ions.  For more about this exciting process, read a science book.  The third lid covers the laser tube chamber at the back of the chassis.  You don&#039;t really need to mess with these last two lids unless you are modifying the equipment or troubleshooting a failure.  All the lids have interlock switches and the laser will not fire if any one is open (unless you flip the override switch, in which case, it&#039;s your own darn fault for burning out your eye, as we say in Charlotte, &amp;quot;you did it to yourself&amp;quot;).&lt;br /&gt;
===Exhaust===&lt;br /&gt;
The exhaust system sucks smoke from the laser chassis cutting chamber and sends it outside through a window.  It was cobbled together using a fan and housing salvaged from a prior laser cutter and is mostly held together with zipties and metal duct tape.  Seriously.  I&#039;m not kidding.  Actual zipties and duct tape.  (I&#039;d like to give a shout-out to Home Depot for selling me the role of metal tape for only one cent.)  If any part of the whole laser system is going to crap out, this would be a good part to bet on.  It also uses 4&amp;quot; diameter (that&#039;s 105mm for those of you on the metric system) flexible metal clothes dryer exhaust duct to carry the exhaust gasses.  There are custom-made, 3d-printed transiton pieces at the back of the laser chassis which replace the original feeble exhaust system.  Read about them [[K40_Exhaust_Assembly|here]]&lt;br /&gt;
&lt;br /&gt;
===Cooling===&lt;br /&gt;
The cooling system presently consists of a 5 gallon pail in the roller cabinet with a submersible pump.  The water should be replaced with distilled.  (The pump power cord got a new plug.  It stays plugged in much better than the original cheap Chinese plug.)  If the water doesn&#039;t flow, the laser will burnout.  Sadness.  The cooling system presently only works based on the heat capacity of the water in the bucket.  Once the water heats up, you just need to wait for it to cool back down all by itself.  You can read about other people with more sophisticated refrigerated cooling systems, but this was quick and easy, like a virgin on prom night.  Julia has mentioned she&#039;s got some thermoelectric coolers in hiding for this project.  We&#039;ll cross that bridge when we get everything else running first.  The cooling system will have 3 interlocks: low water level, low flow, and high temperature.&lt;br /&gt;
&lt;br /&gt;
===Computer===&lt;br /&gt;
This is CNC equipment.  The first C is for Computer.  (No, not for cookie, but we often have cookies anyway.)  You need a computer with a USB port.  You need computer software.  I hope we can have a computer dedicated to the laser, but let&#039;s be real, that&#039;s not likely to happen.  I hope Tom will fill out this section.&lt;br /&gt;
===Cabinet===&lt;br /&gt;
The cabinet is what the chassis sits on.  The cabinet has wheels.  It&#039;s made of particle board and painted white.  The left door has upper and lower latches inside which hold it shut, so don&#039;t yank on it.  The cabinet houses the cooling system, the 12V accessory power supply, the power strip which all the line voltage equipment plugs into: exhaust fan, cooling pump, laser chassis, 12V power supply (marginal one installed currently to power the cutting chamber accessory lights).&lt;br /&gt;
&lt;br /&gt;
==Safety Interlocks==&lt;br /&gt;
&#039;&#039;&#039;Only some of these safeties are installed presently.&#039;&#039;&#039;  Don&#039;t go futzing around with stuff unless you know exactly what you are doing.  And tell James or Tom.  For troubleshooting purposes, there is a safety override switch on the control panel (middle of three).&lt;br /&gt;
===Ventilation===&lt;br /&gt;
#Exhaust - If the exhaust fan isn&#039;t moving air, we don&#039;t want the laser to fire and make lots of smoke which would then fill the room&lt;br /&gt;
#Lens - Eventually we plan to install an air shroud nozzle around the laser lens to keep smoke from coating the lens and reducing cutting power.&lt;br /&gt;
===Coolant===&lt;br /&gt;
#Level - Installed&lt;br /&gt;
#Flow&lt;br /&gt;
#Temp&lt;br /&gt;
===Doors===&lt;br /&gt;
#Cutting Chamber - Installed&lt;br /&gt;
#Control Chamber - Installed&lt;br /&gt;
#Laser Chamber - Probably not going to install this switch because the door is in back and control panel space is at a premium&lt;br /&gt;
#Cabinet - Probably not going to install this switch because there&#039;s not much harm in the cabinet and control panel space is at a premium&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
===Prestart===&lt;br /&gt;
#Come up with design&lt;br /&gt;
#Create SVG using software like [https://inkscape.org/ Inkscape]&lt;br /&gt;
#Upload SVG to computer&lt;br /&gt;
#Convert SVG to toolpath using software like [http://www.scorchworks.com/LaserDRW_extension/laserdrw_extension.html Laser Draw]&lt;br /&gt;
&lt;br /&gt;
===Startup===&lt;br /&gt;
#Roll cabinet out from under shelf&lt;br /&gt;
#Get extension cord out of cabinet and plug laser into extension cord and extension cord into live receptacle&lt;br /&gt;
#Turn on laser master power switch&lt;br /&gt;
#Close cabinet door&lt;br /&gt;
#Load material to be cut in laser cabinet&lt;br /&gt;
#Shut lid on cutting chamber&lt;br /&gt;
#Turn on laser cabinet power switch&lt;br /&gt;
===Operations===&lt;br /&gt;
#Ensure all safety interlocks are operable by checking indicator lights&lt;br /&gt;
#Run program without laser powered on to observe tool path and ensure material to be cut in properly arranged in the cutting chamber&lt;br /&gt;
#Run program with laser powered on to cut material&lt;br /&gt;
===Shutdown===&lt;br /&gt;
#Turn off laser chassis and master power switches&lt;br /&gt;
#Unplug laser and extension cord&lt;br /&gt;
#Coilup and store extension cord&lt;br /&gt;
#Shut cabinet door&lt;br /&gt;
#Roll cabinet back under the shelf&lt;br /&gt;
#Continue with your evil plans for world domination&lt;br /&gt;
&lt;br /&gt;
==Custom Wiring== &lt;br /&gt;
Julia had some LED strips she wanted installed.  We succeeded.  The illuminate when the main power is turned on.&lt;br /&gt;
[[File:Laser-leds1.jpg]]&lt;br /&gt;
&lt;br /&gt;
They are white LEDs but the orange laser viewing window colors them.&lt;br /&gt;
&lt;br /&gt;
[[File:Laser-leds2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sully really likes relays and discrete, analogue circuits, so he jimmied up a bunch of stuff to make it less likely for you to poke your eye out or burn out the laser.&lt;br /&gt;
The laser power supply from the factory takes input from 3 front panel controls: off-on laser switch, momentary-on laser switch, power control potentiometer knob.  The off-on switch was a cheap latching push button which was connected to the leftmost two terminals of the 6 terminal plug with black wires.  It was replaced with an off-on, metal, toggle switch on 3-23-17.  The middle two terminals of the block connect to the momentary on push button switch on the front panel which causes the laser to fire (when the left two terminals are shorted together by the toggle switch).  The right 3 terminals (which overlap with the right center terminal going to the push button switch) connect to the front panel potentiometer which controls the laser current.  Do not turn the knob to full clockwise, because increasing the laser firing current past a certain point doesn&#039;t provide any benefit and just reduces the tube lifespan.  The plan is to parallelize the push button firing switch with a solid-state relay controlled directly by the Smoothie board and bypassing the K40 ACR board (which was supposed to make the Smoothie board plug-and-play, but as mentioned earlier did a halfassed job).  The potentiometer will be connected to a 3PDT switch for computerized or manual power level control.  A PWM to DC circuit will do the automatic control and the original pot will remain for the manual control.&lt;br /&gt;
The safety interlocks are basically a whole bunch of microswitches in series so if any one of them gets tripped the left two pins of the power supply 6 pin connector won&#039;t be shorted together and the laser won&#039;t fire.  There&#039;s also a plan to have lights illuminate to show which safeties are operating properly or tripped.  Plus indicator lights are cool.  And for the remaining manual firing switches we plan on getting those flip-up red covers like in those military movies where they&#039;re firing nuclear missiles and stuff like that.  These would aid in troubleshooting, and look really cool, even if they are kinda spendy.  Man, this is really turning into a wall of text.  Someone should do something about this sometime.  Anyway, schematic drawings would go here, or links to them would go here.&lt;br /&gt;
&lt;br /&gt;
Terminal Block Connections&lt;br /&gt;
#Cutting chamber door safety switch - common&lt;br /&gt;
#Cutting chamber door safety switch - n.o.&lt;br /&gt;
#Cutting chamber door safety switch - n.c.&lt;br /&gt;
#Control chamber door safety switch - common&lt;br /&gt;
#Control chamber door safety switch - n.o.&lt;br /&gt;
#Control chamber door safety switch - n.c.&lt;br /&gt;
#Cooling water level float safety switch - common&lt;br /&gt;
#Cooling water level float safety switch - n.o.&lt;br /&gt;
#Cooling water level float safety switch - n.c.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#Laser fire switch 1&lt;br /&gt;
#Laser fire switch 2 - one of these is the same as power level GND (immediately below)&lt;br /&gt;
#Laser power supply power level control potentiometer GND&lt;br /&gt;
#Auto power control voltage divided between +V and GND - connects to auto-hand control panel switch and to PWM-DC converter circuit output&lt;br /&gt;
#Laser power supply power level control potentiometer +V&lt;br /&gt;
&lt;br /&gt;
==Custom Parts==&lt;br /&gt;
Images of custom parts like the exhaust nozzles and eventually a new control panel and source files for 3d printed or laser cut parts can go here.&lt;br /&gt;
&lt;br /&gt;
[[CCL front panel]]&lt;br /&gt;
&lt;br /&gt;
[[Air flow switch holder]]&lt;br /&gt;
&lt;br /&gt;
[[Exhaust nozzle]]&lt;br /&gt;
&lt;br /&gt;
[[Terminal block holder]]&lt;br /&gt;
&lt;br /&gt;
This image is colored for 3d printing using it as a height map: black=0mm, gray=1mm, white=2mm. 174mm wide, 184mm tall.&lt;br /&gt;
The SVG file was created by a Ruby program to modularize the positions and sizes of cutouts for switches, nobs, lamps, etc.&lt;br /&gt;
&lt;br /&gt;
[[file:Control-panel.png]]&lt;br /&gt;
&lt;br /&gt;
==Bill of Materials, a.k.a. Donation Wishlist, and Hardware Store Shopping List==&lt;br /&gt;
#Laser goggles&lt;br /&gt;
#USB A-B cord, i.e. printer cable, which doesn&#039;t suck&lt;br /&gt;
#Solid state relays -- we used [http://www.clare.com/home/pdfs.nsf/www/LBA110.pdf/$file/LBA110.pdf] this one.  --This should move to custom parts and off the wishlist (JS 4-20).&lt;br /&gt;
#Stuff to cut&lt;br /&gt;
##1/8&amp;quot; Baltic birch plywood&lt;br /&gt;
##Plastic sheets, e.g. acrylic&lt;br /&gt;
##Masonite?&lt;br /&gt;
#Cabinet reinforcements&lt;br /&gt;
##dimensional lumber, e.g. 2x4, 2x2, 1x3&lt;br /&gt;
##unidirectional casters&lt;br /&gt;
#Cooling system stuff&lt;br /&gt;
##Distilled water&lt;br /&gt;
##Float switch&lt;br /&gt;
##Thermocouple or thermistor/RTD temperature sensor probe&lt;br /&gt;
##Radiator and fans&lt;br /&gt;
##Solidstate heat pump&lt;br /&gt;
##Working water fountain chiller (for future use on the 100W downstairs)&lt;br /&gt;
##PLC/Microcontroller with A/D inputs for temperature probe conditioning and temp display (advanced task)&lt;br /&gt;
#Green connectors for smoothieboard and laser powersupply [https://www.amazon.com/uxcell-Terminals-Pitch-Mount-Terminal/dp/B00E6Q4FE6/ref=sr_1_9?ie=UTF8&amp;amp;qid=1493691567&amp;amp;sr=8-9&amp;amp;keywords=pluggable+terminal+block+connector]&lt;br /&gt;
&lt;br /&gt;
==To-Do Tasks==&lt;br /&gt;
#Airflow switch housing&lt;br /&gt;
##manufacture&lt;br /&gt;
##install&lt;br /&gt;
#Coolant interlocks&lt;br /&gt;
##Flow sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Temp sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
#Door switches&lt;br /&gt;
##Cabinet door&lt;br /&gt;
##Laser tube chamber door&lt;br /&gt;
#Chassis wiring&lt;br /&gt;
##Wire up the safety switches as they are installed&lt;br /&gt;
##Draw a wiring diagram of custom components&lt;br /&gt;
#CNC firing control - This svg file can be used to test run the laser: [[Laser circle test]]&lt;br /&gt;
##find firing signal on Smoothie board&lt;br /&gt;
##in the config you specify this with laser_module_ttl_pin&lt;br /&gt;
##determine relay requirements&lt;br /&gt;
##purchase and receive relay&lt;br /&gt;
##install firing relay&lt;br /&gt;
#software&lt;br /&gt;
##determine best software to use&lt;br /&gt;
##develop workflows for various programs and operating systems&lt;br /&gt;
##update this page to explain the above&lt;br /&gt;
##We&#039;re gonna use Laserweb I think so setup a RasPi or something as a Laserweb server.&lt;br /&gt;
&lt;br /&gt;
==Completed Tasks==&lt;br /&gt;
If you do work on the laser, please record it here.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Task !! Fixer !! Date !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Create Wiki page || [[user:James|James]] || 3/24/2017 || Ongoing updates needed&lt;br /&gt;
|-&lt;br /&gt;
| Install operational exhaust system || James || 2/2017 || Still needs interlocks&lt;br /&gt;
|-&lt;br /&gt;
| Install cooling system || James || 2/2017 || Air cooling or refrigeration could be added&lt;br /&gt;
|-&lt;br /&gt;
| Connect control power supply to switched mains || James || 3/2017 || Done&lt;br /&gt;
|-&lt;br /&gt;
| Get x and y axis movements working || [[user:Tom|Tom]] || 3/2017 || Firing still needs to be fixed&lt;br /&gt;
|-&lt;br /&gt;
| Replaced cooling pump power cord plug || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed door closure bolts on left cabinet door || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed cutting chamber illumination LEDs and 12VDC powersupply || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Control + interlock circuits design/brainstorm session || James + Tom || 3/27/2017 || See webpages below for Smothieboard help&lt;br /&gt;
|-&lt;br /&gt;
| Mocked up and tested control circuit for PWM from smoothieboard || James + Tom || 3/27/2017 || http://smoothieware.org/laser-cutter-guide&lt;br /&gt;
|-&lt;br /&gt;
| Scoped out various pins on the smoothieboard to find PWM out || James + Tom || 3/27/2017 || http://smoothieware.org/smoothieboard-v1&lt;br /&gt;
|-&lt;br /&gt;
| Removed control panel || James || 3/30/17 || Don&#039;t mess with nothing until a new one gets installed!&lt;br /&gt;
|-&lt;br /&gt;
| Tried to 3d print a new control panel || James || 4/2/17 || Lulzbot Taz either didn&#039;t extrude or made bird poop. :( It&#039;s too bad we don&#039;t have a working laser cutter.&lt;br /&gt;
|-&lt;br /&gt;
| Adjusted program size parameters based on failed print and added ammeter mounting screw holes to control panel design || James || 4/11/17 || Still need to upload new SVG here and print it&lt;br /&gt;
|-&lt;br /&gt;
| Ordered self adhesive cable tie mounting squares and SSR for PWM-&amp;gt; DC || Tom || 4/11/17 || Delivery expected Thursday&lt;br /&gt;
|-&lt;br /&gt;
| Design 3d-printed mounting bracket/clip to hold switches for door interlocks || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Design, breadboard and test PWM circuit with solid state relay and newly determined time constant || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded exhaust nozzle and exhaust flow switch scad files || James || 4/20/17 || Flow switch needs printing and Tom&#039;s nacelle needs dimension tweeking.&lt;br /&gt;
|-&lt;br /&gt;
| Tried printing control panel on the Ultimaker&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; || James || 4/25/17 || Print failed twice, but third time looked good before I left.&lt;br /&gt;
|-&lt;br /&gt;
| Installed control panel 3d printed on Tuesday || James || 4/27/17 || Controls and indicators are installed but not operational, yet.  It looks sweet! Could be thicker, maybe 4mm.  Dimensions could use tweeking too: toggle switches moved down, corner radii reduced,...&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded source code and stl for water level float switch and for terminal block holders.  Installed v5 of door switch holder and soldered wires to switches. || James || 5/1/17 || Still need to print float switch parts and terminal block holders. New parts fit well. A very productive day overall.&lt;br /&gt;
|-&lt;br /&gt;
| Installed terminal block with manually modified v1 terminal block holder parts.  Wired up cutting chamber and control chamber door safety switches.  Connected laser power supply wiring to new control panel switches. || James || 5/4/17 || Need to adjust terminal block holder dimensions and reprint.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded v2 source code and stl for terminal block holder. || James || 5/5/17 || Need to print float switch parts and terminal block holders.&lt;br /&gt;
|-&lt;br /&gt;
| Printed and installed new terminal block holders (v2). Printed new air flow switch and water level float switch head and base. Remodeled exhaust header. || James || 5/6/17 || Holders fit great.  Base, not so much.&lt;br /&gt;
|-&lt;br /&gt;
| Reprinted water level float switch base. Investigated PWM output from Smoothieboard. || James + Tom || 5/7/17 || Pin 4.2 and GND work for PWM signal.  PWM to DC breadboard isn&#039;t working. Laser power supply 5V circuit for safety switches doesn&#039;t have enough current to illuminate the trouble lamps on front panel.&lt;br /&gt;
|-&lt;br /&gt;
| Install float switch. || James || 5/11/17 || Not seeming to function as of 5/14 - remains conductive even when open?&lt;br /&gt;
|-&lt;br /&gt;
| Successful CNC laser firing on circle laser test. || James + Tom || 5/14/17 || Some kind of beam splitting or 2-layer reflection is going on. PWM out can be set using laser_module_pwm_pin in smoothieboard config.&lt;br /&gt;
|-&lt;br /&gt;
| Setup the auto-man power level control switch. General stuff. || James + Tom || 5/28/17 || We&#039;ve got some stray AC current in the case.&lt;br /&gt;
|-&lt;br /&gt;
| Installed RasPI as webhost. Replaced USB cable. || James + Tom || 6/4/17 || URL goes here.&lt;br /&gt;
|-&lt;br /&gt;
| Test cut Pepe the frog on opaque acrylic with painters tape mask. || James + [[user:Andrew|Andrew]] || 6/5/17 || Auto fire signal still isn&#039;t working.&lt;br /&gt;
|-&lt;br /&gt;
| Added circuitry to breadboard to automate the firing signal. || James || 6/6/17 || Will test on Thursday.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Additional Reading==&lt;br /&gt;
#[http://howell.seattle.wa.us/essays/lasercutter.shtml Laser blog]&lt;br /&gt;
#[https://www.reddit.com/r/lasercutting/wiki/k40 Reddit K40 wiki]&lt;br /&gt;
#[http://www.lightobject.com/Default.aspx Light Object laser retailer]&lt;br /&gt;
&lt;br /&gt;
[[Category:Equipment]]&lt;br /&gt;
[[Category:LaserCutter]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:Ongoing Projects]]&lt;br /&gt;
[[Category:Project Awesome]]&lt;br /&gt;
[[Category:CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13413</id>
		<title>Cheap Chinese Laser</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13413"/>
		<updated>2017-05-30T23:56:08Z</updated>

		<summary type="html">&lt;p&gt;James: listed 12V accessory power supply as installed component&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cheap Chinese Laser]]&lt;br /&gt;
&lt;br /&gt;
This is the page dealing with the [[Cheap Chinese Laser]] at [https://www.hacdc.org HacDC] in the upstairs room at St. Stephen and the Incarnate church in Washington, DC.  This page replaces [[PA LaserCutter]] page from some years ago.  It had high ideals, but poor execution.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
HacDC has a K40, 40W, CO2, water cooled, laser for CNC cutting of various materials, aka a cheap Chinese laser.  It allegedly used to work just fine, but someone decided that wasn&#039;t good enough so she ordered and halfass installed some new parts that only halfass work.  After our intrepid hero, [[user:James|James]], fullyassed the installation of the new parts, the laser still only halfass worked.  [[user:Tom|Tom]] was railroaded into helping with the software, but even so the dynamic duo couldn&#039;t get the damn thing to work.  Then one day at work, boredom struck in a meeting and James had the idea to create this wiki page to guide others through the confusion and misinformation that plagues most equipment at HacDC and often results in subpar operation.  I beseech you, dear reader, to continue your edification on our topic at hand and become your own evil archvillain with laser powers.  (Sharks sold separately.)&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
===Chassis===&lt;br /&gt;
The chassis is the laser itself, the blue metal box with 3 flip up lids.  The main lid users deal with is for the cutting chamber on the left front of the machine.  It includes an orange plastic window.  The cutting chamber contains the transverse and longitudinal axes, aka x and y.  X goes left to right, and y goes back to front.  The material to be cut goes in this chamber.  The second flip up lid is for the controls and power supplies chamber.  This lid contains the front panel controls and indicators.  There are two control boards, the Smoothie board and the K40 ACR plug-and-play board which connects the Smoothie board to the machine hardware.  There are two power supplies as well, the control powersupply which is right below the control boards and the high-voltage (and I mean real high voltage, like around 15kV, not those nambypamby B.S. 120VAC &amp;quot;high voltage&amp;quot; warning labels) laser tube power supply which creates enough voltage to rip the electrons off the CO2 molecules and ionize them and cause them to emit coherent light when the electrons get back together with their matching CO2 ions.  For more about this exciting process, read a science book.  The third lid covers the laser tube chamber at the back of the chassis.  You don&#039;t really need to mess with these last two lids unless you are modifying the equipment or troubleshooting a failure.  All the lids have interlock switches and the laser will not fire if any one is open (unless you flip the override switch, in which case, it&#039;s your own darn fault for burning out your eye, as we say in Charlotte, &amp;quot;you did it to yourself&amp;quot;).&lt;br /&gt;
===Exhaust===&lt;br /&gt;
The exhaust system sucks smoke from the laser chassis cutting chamber and sends it outside through a window.  It was cobbled together using a fan and housing salvaged from a prior laser cutter and is mostly held together with zipties and metal duct tape.  Seriously.  I&#039;m not kidding.  Actual zipties and duct tape.  (I&#039;d like to give a shout-out to Home Depot for selling me the role of metal tape for only one cent.)  If any part of the whole laser system is going to crap out, this would be a good part to bet on.  It also uses 4&amp;quot; diameter (that&#039;s 105mm for those of you on the metric system) flexible metal clothes dryer exhaust duct to carry the exhaust gasses.  There are custom-made, 3d-printed transiton pieces at the back of the laser chassis which replace the original feeble exhaust system.  Read about them [[K40_Exhaust_Assembly|here]]&lt;br /&gt;
&lt;br /&gt;
===Cooling===&lt;br /&gt;
The cooling system presently consists of a 5 gallon pail in the roller cabinet with a submersible pump.  The water should be replaced with distilled.  (The pump power cord got a new plug.  It stays plugged in much better than the original cheap Chinese plug.)  If the water doesn&#039;t flow, the laser will burnout.  Sadness.  The cooling system presently only works based on the heat capacity of the water in the bucket.  Once the water heats up, you just need to wait for it to cool back down all by itself.  You can read about other people with more sophisticated refrigerated cooling systems, but this was quick and easy, like a virgin on prom night.  Julia has mentioned she&#039;s got some thermoelectric coolers in hiding for this project.  We&#039;ll cross that bridge when we get everything else running first.  The cooling system will have 3 interlocks: low water level, low flow, and high temperature.&lt;br /&gt;
&lt;br /&gt;
===Computer===&lt;br /&gt;
This is CNC equipment.  The first C is for Computer.  (No, not for cookie, but we often have cookies anyway.)  You need a computer with a USB port.  You need computer software.  I hope we can have a computer dedicated to the laser, but let&#039;s be real, that&#039;s not likely to happen.  I hope Tom will fill out this section.&lt;br /&gt;
===Cabinet===&lt;br /&gt;
The cabinet is what the chassis sits on.  The cabinet has wheels.  It&#039;s made of particle board and painted white.  The left door has upper and lower latches inside which hold it shut, so don&#039;t yank on it.  The cabinet houses the cooling system, the 12V accessory power supply, the power strip which all the line voltage equipment plugs into: exhaust fan, cooling pump, laser chassis, 12V power supply (marginal one installed currently to power the cutting chamber accessory lights).&lt;br /&gt;
&lt;br /&gt;
==Safety Interlocks==&lt;br /&gt;
&#039;&#039;&#039;Only some of these safeties are installed presently.&#039;&#039;&#039;  Don&#039;t go futzing around with stuff unless you know exactly what you are doing.  And tell James or Tom.  For troubleshooting purposes, there is a safety override switch on the control panel (middle of three).&lt;br /&gt;
===Ventilation===&lt;br /&gt;
#Exhaust - If the exhaust fan isn&#039;t moving air, we don&#039;t want the laser to fire and make lots of smoke which would then fill the room&lt;br /&gt;
#Lens - Eventually we plan to install an air shroud nozzle around the laser lens to keep smoke from coating the lens and reducing cutting power.&lt;br /&gt;
===Coolant===&lt;br /&gt;
#Level - Installed&lt;br /&gt;
#Flow&lt;br /&gt;
#Temp&lt;br /&gt;
===Doors===&lt;br /&gt;
#Cutting Chamber - Installed&lt;br /&gt;
#Control Chamber - Installed&lt;br /&gt;
#Laser Chamber - Probably not going to install this switch because the door is in back and control panel space is at a premium&lt;br /&gt;
#Cabinet - Probably not going to install this switch because there&#039;s not much harm in the cabinet and control panel space is at a premium&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
===Prestart===&lt;br /&gt;
#Come up with design&lt;br /&gt;
#Create SVG using software like [https://inkscape.org/ Inkscape]&lt;br /&gt;
#Upload SVG to computer&lt;br /&gt;
#Convert SVG to toolpath using software like [http://www.scorchworks.com/LaserDRW_extension/laserdrw_extension.html Laser Draw]&lt;br /&gt;
&lt;br /&gt;
===Startup===&lt;br /&gt;
#Roll cabinet out from under shelf&lt;br /&gt;
#Get extension cord out of cabinet and plug laser into extension cord and extension cord into live receptacle&lt;br /&gt;
#Turn on laser master power switch&lt;br /&gt;
#Close cabinet door&lt;br /&gt;
#Load material to be cut in laser cabinet&lt;br /&gt;
#Shut lid on cutting chamber&lt;br /&gt;
#Turn on laser cabinet power switch&lt;br /&gt;
===Operations===&lt;br /&gt;
#Ensure all safety interlocks are operable by checking indicator lights&lt;br /&gt;
#Run program without laser powered on to observe tool path and ensure material to be cut in properly arranged in the cutting chamber&lt;br /&gt;
#Run program with laser powered on to cut material&lt;br /&gt;
===Shutdown===&lt;br /&gt;
#Turn off laser chassis and master power switches&lt;br /&gt;
#Unplug laser and extension cord&lt;br /&gt;
#Coilup and store extension cord&lt;br /&gt;
#Shut cabinet door&lt;br /&gt;
#Roll cabinet back under the shelf&lt;br /&gt;
#Continue with your evil plans for world domination&lt;br /&gt;
&lt;br /&gt;
==Custom Wiring== &lt;br /&gt;
Julia had some LED strips she wanted installed.  We succeeded.  The illuminate when the main power is turned on.&lt;br /&gt;
[[File:Laser-leds1.jpg]]&lt;br /&gt;
&lt;br /&gt;
They are white LEDs but the orange laser viewing window colors them.&lt;br /&gt;
&lt;br /&gt;
[[File:Laser-leds2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sully really likes relays and discrete, analogue circuits, so he jimmied up a bunch of stuff to make it less likely for you to poke your eye out or burn out the laser.&lt;br /&gt;
The laser power supply from the factory takes input from 3 front panel controls: off-on laser switch, momentary-on laser switch, power control potentiometer knob.  The off-on switch was a cheap latching push button which was connected to the leftmost two terminals of the 6 terminal plug with black wires.  It was replaced with an off-on, metal, toggle switch on 3-23-17.  The middle two terminals of the block connect to the momentary on push button switch on the front panel which causes the laser to fire (when the left two terminals are shorted together by the toggle switch).  The right 3 terminals (which overlap with the right center terminal going to the push button switch) connect to the front panel potentiometer which controls the laser current.  Do not turn the knob to full clockwise, because increasing the laser firing current past a certain point doesn&#039;t provide any benefit and just reduces the tube lifespan.  The plan is to parallelize the push button firing switch with a solid-state relay controlled directly by the Smoothie board and bypassing the K40 ACR board (which was supposed to make the Smoothie board plug-and-play, but as mentioned earlier did a halfassed job).  The potentiometer will be connected to a 3PDT switch for computerized or manual power level control.  A PWM to DC circuit will do the automatic control and the original pot will remain for the manual control.&lt;br /&gt;
The safety interlocks are basically a whole bunch of microswitches in series so if any one of them gets tripped the left two pins of the power supply 6 pin connector won&#039;t be shorted together and the laser won&#039;t fire.  There&#039;s also a plan to have lights illuminate to show which safeties are operating properly or tripped.  Plus indicator lights are cool.  And for the remaining manual firing switches we plan on getting those flip-up red covers like in those military movies where they&#039;re firing nuclear missiles and stuff like that.  These would aid in troubleshooting, and look really cool, even if they are kinda spendy.  Man, this is really turning into a wall of text.  Someone should do something about this sometime.  Anyway, schematic drawings would go here, or links to them would go here.&lt;br /&gt;
&lt;br /&gt;
Terminal Block Connections&lt;br /&gt;
#Cutting chamber door safety switch - common&lt;br /&gt;
#Cutting chamber door safety switch - n.o.&lt;br /&gt;
#Cutting chamber door safety switch - n.c.&lt;br /&gt;
#Control chamber door safety switch - common&lt;br /&gt;
#Control chamber door safety switch - n.o.&lt;br /&gt;
#Control chamber door safety switch - n.c.&lt;br /&gt;
#Cooling water level float safety switch - common&lt;br /&gt;
#Cooling water level float safety switch - n.o.&lt;br /&gt;
#Cooling water level float safety switch - n.c.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#Laser power supply power level control potentiometer GND&lt;br /&gt;
#Auto power control voltage divided between +V and GND - connects to auto-hand control panel switch and to PWM-DC converter circuit output&lt;br /&gt;
#Laser power supply power level control potentiometer +V&lt;br /&gt;
&lt;br /&gt;
==Custom Parts==&lt;br /&gt;
Images of custom parts like the exhaust nozzles and eventually a new control panel and source files for 3d printed or laser cut parts can go here.&lt;br /&gt;
&lt;br /&gt;
[[CCL front panel]]&lt;br /&gt;
&lt;br /&gt;
[[Air flow switch holder]]&lt;br /&gt;
&lt;br /&gt;
[[Exhaust nozzle]]&lt;br /&gt;
&lt;br /&gt;
[[Terminal block holder]]&lt;br /&gt;
&lt;br /&gt;
This image is colored for 3d printing using it as a height map: black=0mm, gray=1mm, white=2mm. 174mm wide, 184mm tall.&lt;br /&gt;
The SVG file was created by a Ruby program to modularize the positions and sizes of cutouts for switches, nobs, lamps, etc.&lt;br /&gt;
&lt;br /&gt;
[[file:Control-panel.png]]&lt;br /&gt;
&lt;br /&gt;
==Bill of Materials, a.k.a. Donation Wishlist, and Hardware Store Shopping List==&lt;br /&gt;
#Laser goggles&lt;br /&gt;
#USB A-B cord, i.e. printer cable, which doesn&#039;t suck&lt;br /&gt;
#Solid state relays -- we used [http://www.clare.com/home/pdfs.nsf/www/LBA110.pdf/$file/LBA110.pdf] this one.  --This should move to custom parts and off the wishlist (JS 4-20).&lt;br /&gt;
#Stuff to cut&lt;br /&gt;
##1/8&amp;quot; Baltic birch plywood&lt;br /&gt;
##Plastic sheets, e.g. acrylic&lt;br /&gt;
##Masonite?&lt;br /&gt;
#Cabinet reinforcements&lt;br /&gt;
##dimensional lumber, e.g. 2x4, 2x2, 1x3&lt;br /&gt;
##unidirectional casters&lt;br /&gt;
#Cooling system stuff&lt;br /&gt;
##Distilled water&lt;br /&gt;
##Float switch&lt;br /&gt;
##Thermocouple or thermistor/RTD temperature sensor probe&lt;br /&gt;
##Radiator and fans&lt;br /&gt;
##Solidstate heat pump&lt;br /&gt;
##Working water fountain chiller (for future use on the 100W downstairs)&lt;br /&gt;
##PLC/Microcontroller with A/D inputs for temperature probe conditioning and temp display (advanced task)&lt;br /&gt;
#Green connectors for smoothieboard and laser powersupply [https://www.amazon.com/uxcell-Terminals-Pitch-Mount-Terminal/dp/B00E6Q4FE6/ref=sr_1_9?ie=UTF8&amp;amp;qid=1493691567&amp;amp;sr=8-9&amp;amp;keywords=pluggable+terminal+block+connector]&lt;br /&gt;
&lt;br /&gt;
==To-Do Tasks==&lt;br /&gt;
#Airflow switch housing&lt;br /&gt;
##manufacture&lt;br /&gt;
##install&lt;br /&gt;
#Coolant interlocks&lt;br /&gt;
##Flow sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Temp sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
#Door switches&lt;br /&gt;
##Cabinet door&lt;br /&gt;
##Laser tube chamber door&lt;br /&gt;
#Chassis wiring&lt;br /&gt;
##Wire up the safety switches as they are installed&lt;br /&gt;
##Draw a wiring diagram of custom components&lt;br /&gt;
#CNC firing control - This svg file can be used to test run the laser: [[Laser circle test]]&lt;br /&gt;
##find firing signal on Smoothie board&lt;br /&gt;
##in the config you specify this with laser_module_ttl_pin&lt;br /&gt;
##determine relay requirements&lt;br /&gt;
##purchase and receive relay&lt;br /&gt;
##install firing relay&lt;br /&gt;
#software&lt;br /&gt;
##determine best software to use&lt;br /&gt;
##develop workflows for various programs and operating systems&lt;br /&gt;
##update this page to explain the above&lt;br /&gt;
##We&#039;re gonna use Laserweb I think so setup a RasPi or something as a Laserweb server.&lt;br /&gt;
&lt;br /&gt;
==Completed Tasks==&lt;br /&gt;
If you do work on the laser, please record it here.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Task !! Fixer !! Date !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Create Wiki page || [[user:James|James]] || 3/24/2017 || Ongoing updates needed&lt;br /&gt;
|-&lt;br /&gt;
| Install operational exhaust system || James || 2/2017 || Still needs interlocks&lt;br /&gt;
|-&lt;br /&gt;
| Install cooling system || James || 2/2017 || Air cooling or refrigeration could be added&lt;br /&gt;
|-&lt;br /&gt;
| Connect control power supply to switched mains || James || 3/2017 || Done&lt;br /&gt;
|-&lt;br /&gt;
| Get x and y axis movements working || [[user:Tom|Tom]] || 3/2017 || Firing still needs to be fixed&lt;br /&gt;
|-&lt;br /&gt;
| Replaced cooling pump power cord plug || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed door closure bolts on left cabinet door || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed cutting chamber illumination LEDs and 12VDC powersupply || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Control + interlock circuits design/brainstorm session || James + Tom || 3/27/2017 || See webpages below for Smothieboard help&lt;br /&gt;
|-&lt;br /&gt;
| Mocked up and tested control circuit for PWM from smoothieboard || James + Tom || 3/27/2017 || http://smoothieware.org/laser-cutter-guide&lt;br /&gt;
|-&lt;br /&gt;
| Scoped out various pins on the smoothieboard to find PWM out || James + Tom || 3/27/2017 || http://smoothieware.org/smoothieboard-v1&lt;br /&gt;
|-&lt;br /&gt;
| Removed control panel || James || 3/30/17 || Don&#039;t mess with nothing until a new one gets installed!&lt;br /&gt;
|-&lt;br /&gt;
| Tried to 3d print a new control panel || James || 4/2/17 || Lulzbot Taz either didn&#039;t extrude or made bird poop. :( It&#039;s too bad we don&#039;t have a working laser cutter.&lt;br /&gt;
|-&lt;br /&gt;
| Adjusted program size parameters based on failed print and added ammeter mounting screw holes to control panel design || James || 4/11/17 || Still need to upload new SVG here and print it&lt;br /&gt;
|-&lt;br /&gt;
| Ordered self adhesive cable tie mounting squares and SSR for PWM-&amp;gt; DC || Tom || 4/11/17 || Delivery expected Thursday&lt;br /&gt;
|-&lt;br /&gt;
| Design 3d-printed mounting bracket/clip to hold switches for door interlocks || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Design, breadboard and test PWM circuit with solid state relay and newly determined time constant || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded exhaust nozzle and exhaust flow switch scad files || James || 4/20/17 || Flow switch needs printing and Tom&#039;s nacelle needs dimension tweeking.&lt;br /&gt;
|-&lt;br /&gt;
| Tried printing control panel on the Ultimaker&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; || James || 4/25/17 || Print failed twice, but third time looked good before I left.&lt;br /&gt;
|-&lt;br /&gt;
| Installed control panel 3d printed on Tuesday || James || 4/27/17 || Controls and indicators are installed but not operational, yet.  It looks sweet! Could be thicker, maybe 4mm.  Dimensions could use tweeking too: toggle switches moved down, corner radii reduced,...&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded source code and stl for water level float switch and for terminal block holders.  Installed v5 of door switch holder and soldered wires to switches. || James || 5/1/17 || Still need to print float switch parts and terminal block holders. New parts fit well. A very productive day overall.&lt;br /&gt;
|-&lt;br /&gt;
| Installed terminal block with manually modified v1 terminal block holder parts.  Wired up cutting chamber and control chamber door safety switches.  Connected laser power supply wiring to new control panel switches. || James || 5/4/17 || Need to adjust terminal block holder dimensions and reprint.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded v2 source code and stl for terminal block holder. || James || 5/5/17 || Need to print float switch parts and terminal block holders.&lt;br /&gt;
|-&lt;br /&gt;
| Printed and installed new terminal block holders (v2). Printed new air flow switch and water level float switch head and base. Remodeled exhaust header. || James || 5/6/17 || Holders fit great.  Base, not so much.&lt;br /&gt;
|-&lt;br /&gt;
| Reprinted water level float switch base. Investigated PWM output from Smoothieboard. || Tom &amp;amp; James || 5/7/17 || Pin 4.2 and GND work for PWM signal.  PWM to DC breadboard isn&#039;t working. Laser power supply 5V circuit for safety switches doesn&#039;t have enough current to illuminate the trouble lamps on front panel.&lt;br /&gt;
|-&lt;br /&gt;
| Install float switch. || James || 5/11/17 || Not seeming to function as of 5/14 - remains conductive even when open?&lt;br /&gt;
|-&lt;br /&gt;
| Successful CNC laser firing on circle laser test. || Tom &amp;amp; James || 5/14/17 || Some kind of beam splitting or 2-layer reflection is going on. PWM out can be set using laser_module_pwm_pin in smoothieboard config.&lt;br /&gt;
|-&lt;br /&gt;
| Setup the auto-man power level control switch. General stuff. || Tom and James || 5/28/17 || We&#039;ve got some stray AC current in the case.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Equipment]]&lt;br /&gt;
[[Category:LaserCutter]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:Ongoing Projects]]&lt;br /&gt;
[[Category:Project Awesome]]&lt;br /&gt;
[[Category:CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13412</id>
		<title>Cheap Chinese Laser</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13412"/>
		<updated>2017-05-30T23:51:04Z</updated>

		<summary type="html">&lt;p&gt;James: listed door switches remaining to be installed. removed terminal block install, since it&amp;#039;s done.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cheap Chinese Laser]]&lt;br /&gt;
&lt;br /&gt;
This is the page dealing with the [[Cheap Chinese Laser]] at [https://www.hacdc.org HacDC] in the upstairs room at St. Stephen and the Incarnate church in Washington, DC.  This page replaces [[PA LaserCutter]] page from some years ago.  It had high ideals, but poor execution.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
HacDC has a K40, 40W, CO2, water cooled, laser for CNC cutting of various materials, aka a cheap Chinese laser.  It allegedly used to work just fine, but someone decided that wasn&#039;t good enough so she ordered and halfass installed some new parts that only halfass work.  After our intrepid hero, [[user:James|James]], fullyassed the installation of the new parts, the laser still only halfass worked.  [[user:Tom|Tom]] was railroaded into helping with the software, but even so the dynamic duo couldn&#039;t get the damn thing to work.  Then one day at work, boredom struck in a meeting and James had the idea to create this wiki page to guide others through the confusion and misinformation that plagues most equipment at HacDC and often results in subpar operation.  I beseech you, dear reader, to continue your edification on our topic at hand and become your own evil archvillain with laser powers.  (Sharks sold separately.)&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
===Chassis===&lt;br /&gt;
The chassis is the laser itself, the blue metal box with 3 flip up lids.  The main lid users deal with is for the cutting chamber on the left front of the machine.  It includes an orange plastic window.  The cutting chamber contains the transverse and longitudinal axes, aka x and y.  X goes left to right, and y goes back to front.  The material to be cut goes in this chamber.  The second flip up lid is for the controls and power supplies chamber.  This lid contains the front panel controls and indicators.  There are two control boards, the Smoothie board and the K40 ACR plug-and-play board which connects the Smoothie board to the machine hardware.  There are two power supplies as well, the control powersupply which is right below the control boards and the high-voltage (and I mean real high voltage, like around 15kV, not those nambypamby B.S. 120VAC &amp;quot;high voltage&amp;quot; warning labels) laser tube power supply which creates enough voltage to rip the electrons off the CO2 molecules and ionize them and cause them to emit coherent light when the electrons get back together with their matching CO2 ions.  For more about this exciting process, read a science book.  The third lid covers the laser tube chamber at the back of the chassis.  You don&#039;t really need to mess with these last two lids unless you are modifying the equipment or troubleshooting a failure.  All the lids have interlock switches and the laser will not fire if any one is open (unless you flip the override switch, in which case, it&#039;s your own darn fault for burning out your eye, as we say in Charlotte, &amp;quot;you did it to yourself&amp;quot;).&lt;br /&gt;
===Exhaust===&lt;br /&gt;
The exhaust system sucks smoke from the laser chassis cutting chamber and sends it outside through a window.  It was cobbled together using a fan and housing salvaged from a prior laser cutter and is mostly held together with zipties and metal duct tape.  Seriously.  I&#039;m not kidding.  Actual zipties and duct tape.  (I&#039;d like to give a shout-out to Home Depot for selling me the role of metal tape for only one cent.)  If any part of the whole laser system is going to crap out, this would be a good part to bet on.  It also uses 4&amp;quot; diameter (that&#039;s 105mm for those of you on the metric system) flexible metal clothes dryer exhaust duct to carry the exhaust gasses.  There are custom-made, 3d-printed transiton pieces at the back of the laser chassis which replace the original feeble exhaust system.  Read about them [[K40_Exhaust_Assembly|here]]&lt;br /&gt;
&lt;br /&gt;
===Cooling===&lt;br /&gt;
The cooling system presently consists of a 5 gallon pail in the roller cabinet with a submersible pump.  The water should be replaced with distilled.  (The pump power cord got a new plug.  It stays plugged in much better than the original cheap Chinese plug.)  If the water doesn&#039;t flow, the laser will burnout.  Sadness.  The cooling system presently only works based on the heat capacity of the water in the bucket.  Once the water heats up, you just need to wait for it to cool back down all by itself.  You can read about other people with more sophisticated refrigerated cooling systems, but this was quick and easy, like a virgin on prom night.  Julia has mentioned she&#039;s got some thermoelectric coolers in hiding for this project.  We&#039;ll cross that bridge when we get everything else running first.  The cooling system will have 3 interlocks: low water level, low flow, and high temperature.&lt;br /&gt;
&lt;br /&gt;
===Computer===&lt;br /&gt;
This is CNC equipment.  The first C is for Computer.  (No, not for cookie, but we often have cookies anyway.)  You need a computer with a USB port.  You need computer software.  I hope we can have a computer dedicated to the laser, but let&#039;s be real, that&#039;s not likely to happen.  I hope Tom will fill out this section.&lt;br /&gt;
===Cabinet===&lt;br /&gt;
The cabinet is what the chassis sits on.  The cabinet has wheels.  It&#039;s made of particle board and painted white.  The left door has upper and lower latches inside which hold it shut, so don&#039;t yank on it.  The cabinet houses the cooling system, the power strip which all the line voltage equipment plugs into: exhaust fan, cooling pump, laser chassis, 12V power supply (not yet installed).&lt;br /&gt;
&lt;br /&gt;
==Safety Interlocks==&lt;br /&gt;
&#039;&#039;&#039;Only some of these safeties are installed presently.&#039;&#039;&#039;  Don&#039;t go futzing around with stuff unless you know exactly what you are doing.  And tell James or Tom.  For troubleshooting purposes, there is a safety override switch on the control panel (middle of three).&lt;br /&gt;
===Ventilation===&lt;br /&gt;
#Exhaust - If the exhaust fan isn&#039;t moving air, we don&#039;t want the laser to fire and make lots of smoke which would then fill the room&lt;br /&gt;
#Lens - Eventually we plan to install an air shroud nozzle around the laser lens to keep smoke from coating the lens and reducing cutting power.&lt;br /&gt;
===Coolant===&lt;br /&gt;
#Level - Installed&lt;br /&gt;
#Flow&lt;br /&gt;
#Temp&lt;br /&gt;
===Doors===&lt;br /&gt;
#Cutting Chamber - Installed&lt;br /&gt;
#Control Chamber - Installed&lt;br /&gt;
#Laser Chamber - Probably not going to install this switch because the door is in back and control panel space is at a premium&lt;br /&gt;
#Cabinet - Probably not going to install this switch because there&#039;s not much harm in the cabinet and control panel space is at a premium&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
===Prestart===&lt;br /&gt;
#Come up with design&lt;br /&gt;
#Create SVG using software like [https://inkscape.org/ Inkscape]&lt;br /&gt;
#Upload SVG to computer&lt;br /&gt;
#Convert SVG to toolpath using software like [http://www.scorchworks.com/LaserDRW_extension/laserdrw_extension.html Laser Draw]&lt;br /&gt;
&lt;br /&gt;
===Startup===&lt;br /&gt;
#Roll cabinet out from under shelf&lt;br /&gt;
#Get extension cord out of cabinet and plug laser into extension cord and extension cord into live receptacle&lt;br /&gt;
#Turn on laser master power switch&lt;br /&gt;
#Close cabinet door&lt;br /&gt;
#Load material to be cut in laser cabinet&lt;br /&gt;
#Shut lid on cutting chamber&lt;br /&gt;
#Turn on laser cabinet power switch&lt;br /&gt;
===Operations===&lt;br /&gt;
#Ensure all safety interlocks are operable by checking indicator lights&lt;br /&gt;
#Run program without laser powered on to observe tool path and ensure material to be cut in properly arranged in the cutting chamber&lt;br /&gt;
#Run program with laser powered on to cut material&lt;br /&gt;
===Shutdown===&lt;br /&gt;
#Turn off laser chassis and master power switches&lt;br /&gt;
#Unplug laser and extension cord&lt;br /&gt;
#Coilup and store extension cord&lt;br /&gt;
#Shut cabinet door&lt;br /&gt;
#Roll cabinet back under the shelf&lt;br /&gt;
#Continue with your evil plans for world domination&lt;br /&gt;
&lt;br /&gt;
==Custom Wiring== &lt;br /&gt;
Julia had some LED strips she wanted installed.  We succeeded.  The illuminate when the main power is turned on.&lt;br /&gt;
[[File:Laser-leds1.jpg]]&lt;br /&gt;
&lt;br /&gt;
They are white LEDs but the orange laser viewing window colors them.&lt;br /&gt;
&lt;br /&gt;
[[File:Laser-leds2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sully really likes relays and discrete, analogue circuits, so he jimmied up a bunch of stuff to make it less likely for you to poke your eye out or burn out the laser.&lt;br /&gt;
The laser power supply from the factory takes input from 3 front panel controls: off-on laser switch, momentary-on laser switch, power control potentiometer knob.  The off-on switch was a cheap latching push button which was connected to the leftmost two terminals of the 6 terminal plug with black wires.  It was replaced with an off-on, metal, toggle switch on 3-23-17.  The middle two terminals of the block connect to the momentary on push button switch on the front panel which causes the laser to fire (when the left two terminals are shorted together by the toggle switch).  The right 3 terminals (which overlap with the right center terminal going to the push button switch) connect to the front panel potentiometer which controls the laser current.  Do not turn the knob to full clockwise, because increasing the laser firing current past a certain point doesn&#039;t provide any benefit and just reduces the tube lifespan.  The plan is to parallelize the push button firing switch with a solid-state relay controlled directly by the Smoothie board and bypassing the K40 ACR board (which was supposed to make the Smoothie board plug-and-play, but as mentioned earlier did a halfassed job).  The potentiometer will be connected to a 3PDT switch for computerized or manual power level control.  A PWM to DC circuit will do the automatic control and the original pot will remain for the manual control.&lt;br /&gt;
The safety interlocks are basically a whole bunch of microswitches in series so if any one of them gets tripped the left two pins of the power supply 6 pin connector won&#039;t be shorted together and the laser won&#039;t fire.  There&#039;s also a plan to have lights illuminate to show which safeties are operating properly or tripped.  Plus indicator lights are cool.  And for the remaining manual firing switches we plan on getting those flip-up red covers like in those military movies where they&#039;re firing nuclear missiles and stuff like that.  These would aid in troubleshooting, and look really cool, even if they are kinda spendy.  Man, this is really turning into a wall of text.  Someone should do something about this sometime.  Anyway, schematic drawings would go here, or links to them would go here.&lt;br /&gt;
&lt;br /&gt;
Terminal Block Connections&lt;br /&gt;
#Cutting chamber door safety switch - common&lt;br /&gt;
#Cutting chamber door safety switch - n.o.&lt;br /&gt;
#Cutting chamber door safety switch - n.c.&lt;br /&gt;
#Control chamber door safety switch - common&lt;br /&gt;
#Control chamber door safety switch - n.o.&lt;br /&gt;
#Control chamber door safety switch - n.c.&lt;br /&gt;
#Cooling water level float safety switch - common&lt;br /&gt;
#Cooling water level float safety switch - n.o.&lt;br /&gt;
#Cooling water level float safety switch - n.c.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#Laser power supply power level control potentiometer GND&lt;br /&gt;
#Auto power control voltage divided between +V and GND - connects to auto-hand control panel switch and to PWM-DC converter circuit output&lt;br /&gt;
#Laser power supply power level control potentiometer +V&lt;br /&gt;
&lt;br /&gt;
==Custom Parts==&lt;br /&gt;
Images of custom parts like the exhaust nozzles and eventually a new control panel and source files for 3d printed or laser cut parts can go here.&lt;br /&gt;
&lt;br /&gt;
[[CCL front panel]]&lt;br /&gt;
&lt;br /&gt;
[[Air flow switch holder]]&lt;br /&gt;
&lt;br /&gt;
[[Exhaust nozzle]]&lt;br /&gt;
&lt;br /&gt;
[[Terminal block holder]]&lt;br /&gt;
&lt;br /&gt;
This image is colored for 3d printing using it as a height map: black=0mm, gray=1mm, white=2mm. 174mm wide, 184mm tall.&lt;br /&gt;
The SVG file was created by a Ruby program to modularize the positions and sizes of cutouts for switches, nobs, lamps, etc.&lt;br /&gt;
&lt;br /&gt;
[[file:Control-panel.png]]&lt;br /&gt;
&lt;br /&gt;
==Bill of Materials, a.k.a. Donation Wishlist, and Hardware Store Shopping List==&lt;br /&gt;
#Laser goggles&lt;br /&gt;
#USB A-B cord, i.e. printer cable, which doesn&#039;t suck&lt;br /&gt;
#Solid state relays -- we used [http://www.clare.com/home/pdfs.nsf/www/LBA110.pdf/$file/LBA110.pdf] this one.  --This should move to custom parts and off the wishlist (JS 4-20).&lt;br /&gt;
#Stuff to cut&lt;br /&gt;
##1/8&amp;quot; Baltic birch plywood&lt;br /&gt;
##Plastic sheets, e.g. acrylic&lt;br /&gt;
##Masonite?&lt;br /&gt;
#Cabinet reinforcements&lt;br /&gt;
##dimensional lumber, e.g. 2x4, 2x2, 1x3&lt;br /&gt;
##unidirectional casters&lt;br /&gt;
#Cooling system stuff&lt;br /&gt;
##Distilled water&lt;br /&gt;
##Float switch&lt;br /&gt;
##Thermocouple or thermistor/RTD temperature sensor probe&lt;br /&gt;
##Radiator and fans&lt;br /&gt;
##Solidstate heat pump&lt;br /&gt;
##Working water fountain chiller (for future use on the 100W downstairs)&lt;br /&gt;
##PLC/Microcontroller with A/D inputs for temperature probe conditioning and temp display (advanced task)&lt;br /&gt;
#Green connectors for smoothieboard and laser powersupply [https://www.amazon.com/uxcell-Terminals-Pitch-Mount-Terminal/dp/B00E6Q4FE6/ref=sr_1_9?ie=UTF8&amp;amp;qid=1493691567&amp;amp;sr=8-9&amp;amp;keywords=pluggable+terminal+block+connector]&lt;br /&gt;
&lt;br /&gt;
==To-Do Tasks==&lt;br /&gt;
#Airflow switch housing&lt;br /&gt;
##manufacture&lt;br /&gt;
##install&lt;br /&gt;
#Coolant interlocks&lt;br /&gt;
##Flow sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Temp sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
#Door switches&lt;br /&gt;
##Cabinet door&lt;br /&gt;
##Laser tube chamber door&lt;br /&gt;
#Chassis wiring&lt;br /&gt;
##Wire up the safety switches as they are installed&lt;br /&gt;
##Draw a wiring diagram of custom components&lt;br /&gt;
#CNC firing control - This svg file can be used to test run the laser: [[Laser circle test]]&lt;br /&gt;
##find firing signal on Smoothie board&lt;br /&gt;
##in the config you specify this with laser_module_ttl_pin&lt;br /&gt;
##determine relay requirements&lt;br /&gt;
##purchase and receive relay&lt;br /&gt;
##install firing relay&lt;br /&gt;
#software&lt;br /&gt;
##determine best software to use&lt;br /&gt;
##develop workflows for various programs and operating systems&lt;br /&gt;
##update this page to explain the above&lt;br /&gt;
##We&#039;re gonna use Laserweb I think so setup a RasPi or something as a Laserweb server.&lt;br /&gt;
&lt;br /&gt;
==Completed Tasks==&lt;br /&gt;
If you do work on the laser, please record it here.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Task !! Fixer !! Date !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Create Wiki page || [[user:James|James]] || 3/24/2017 || Ongoing updates needed&lt;br /&gt;
|-&lt;br /&gt;
| Install operational exhaust system || James || 2/2017 || Still needs interlocks&lt;br /&gt;
|-&lt;br /&gt;
| Install cooling system || James || 2/2017 || Air cooling or refrigeration could be added&lt;br /&gt;
|-&lt;br /&gt;
| Connect control power supply to switched mains || James || 3/2017 || Done&lt;br /&gt;
|-&lt;br /&gt;
| Get x and y axis movements working || [[user:Tom|Tom]] || 3/2017 || Firing still needs to be fixed&lt;br /&gt;
|-&lt;br /&gt;
| Replaced cooling pump power cord plug || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed door closure bolts on left cabinet door || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed cutting chamber illumination LEDs and 12VDC powersupply || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Control + interlock circuits design/brainstorm session || James + Tom || 3/27/2017 || See webpages below for Smothieboard help&lt;br /&gt;
|-&lt;br /&gt;
| Mocked up and tested control circuit for PWM from smoothieboard || James + Tom || 3/27/2017 || http://smoothieware.org/laser-cutter-guide&lt;br /&gt;
|-&lt;br /&gt;
| Scoped out various pins on the smoothieboard to find PWM out || James + Tom || 3/27/2017 || http://smoothieware.org/smoothieboard-v1&lt;br /&gt;
|-&lt;br /&gt;
| Removed control panel || James || 3/30/17 || Don&#039;t mess with nothing until a new one gets installed!&lt;br /&gt;
|-&lt;br /&gt;
| Tried to 3d print a new control panel || James || 4/2/17 || Lulzbot Taz either didn&#039;t extrude or made bird poop. :( It&#039;s too bad we don&#039;t have a working laser cutter.&lt;br /&gt;
|-&lt;br /&gt;
| Adjusted program size parameters based on failed print and added ammeter mounting screw holes to control panel design || James || 4/11/17 || Still need to upload new SVG here and print it&lt;br /&gt;
|-&lt;br /&gt;
| Ordered self adhesive cable tie mounting squares and SSR for PWM-&amp;gt; DC || Tom || 4/11/17 || Delivery expected Thursday&lt;br /&gt;
|-&lt;br /&gt;
| Design 3d-printed mounting bracket/clip to hold switches for door interlocks || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Design, breadboard and test PWM circuit with solid state relay and newly determined time constant || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded exhaust nozzle and exhaust flow switch scad files || James || 4/20/17 || Flow switch needs printing and Tom&#039;s nacelle needs dimension tweeking.&lt;br /&gt;
|-&lt;br /&gt;
| Tried printing control panel on the Ultimaker&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; || James || 4/25/17 || Print failed twice, but third time looked good before I left.&lt;br /&gt;
|-&lt;br /&gt;
| Installed control panel 3d printed on Tuesday || James || 4/27/17 || Controls and indicators are installed but not operational, yet.  It looks sweet! Could be thicker, maybe 4mm.  Dimensions could use tweeking too: toggle switches moved down, corner radii reduced,...&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded source code and stl for water level float switch and for terminal block holders.  Installed v5 of door switch holder and soldered wires to switches. || James || 5/1/17 || Still need to print float switch parts and terminal block holders. New parts fit well. A very productive day overall.&lt;br /&gt;
|-&lt;br /&gt;
| Installed terminal block with manually modified v1 terminal block holder parts.  Wired up cutting chamber and control chamber door safety switches.  Connected laser power supply wiring to new control panel switches. || James || 5/4/17 || Need to adjust terminal block holder dimensions and reprint.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded v2 source code and stl for terminal block holder. || James || 5/5/17 || Need to print float switch parts and terminal block holders.&lt;br /&gt;
|-&lt;br /&gt;
| Printed and installed new terminal block holders (v2). Printed new air flow switch and water level float switch head and base. Remodeled exhaust header. || James || 5/6/17 || Holders fit great.  Base, not so much.&lt;br /&gt;
|-&lt;br /&gt;
| Reprinted water level float switch base. Investigated PWM output from Smoothieboard. || Tom &amp;amp; James || 5/7/17 || Pin 4.2 and GND work for PWM signal.  PWM to DC breadboard isn&#039;t working. Laser power supply 5V circuit for safety switches doesn&#039;t have enough current to illuminate the trouble lamps on front panel.&lt;br /&gt;
|-&lt;br /&gt;
| Install float switch. || James || 5/11/17 || Not seeming to function as of 5/14 - remains conductive even when open?&lt;br /&gt;
|-&lt;br /&gt;
| Successful CNC laser firing on circle laser test. || Tom &amp;amp; James || 5/14/17 || Some kind of beam splitting or 2-layer reflection is going on. PWM out can be set using laser_module_pwm_pin in smoothieboard config.&lt;br /&gt;
|-&lt;br /&gt;
| Setup the auto-man power level control switch. General stuff. || Tom and James || 5/28/17 || We&#039;ve got some stray AC current in the case.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Equipment]]&lt;br /&gt;
[[Category:LaserCutter]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:Ongoing Projects]]&lt;br /&gt;
[[Category:Project Awesome]]&lt;br /&gt;
[[Category:CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13411</id>
		<title>Cheap Chinese Laser</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13411"/>
		<updated>2017-05-30T23:47:36Z</updated>

		<summary type="html">&lt;p&gt;James: updated power level control point labels following Sunday soldering session&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cheap Chinese Laser]]&lt;br /&gt;
&lt;br /&gt;
This is the page dealing with the [[Cheap Chinese Laser]] at [https://www.hacdc.org HacDC] in the upstairs room at St. Stephen and the Incarnate church in Washington, DC.  This page replaces [[PA LaserCutter]] page from some years ago.  It had high ideals, but poor execution.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
HacDC has a K40, 40W, CO2, water cooled, laser for CNC cutting of various materials, aka a cheap Chinese laser.  It allegedly used to work just fine, but someone decided that wasn&#039;t good enough so she ordered and halfass installed some new parts that only halfass work.  After our intrepid hero, [[user:James|James]], fullyassed the installation of the new parts, the laser still only halfass worked.  [[user:Tom|Tom]] was railroaded into helping with the software, but even so the dynamic duo couldn&#039;t get the damn thing to work.  Then one day at work, boredom struck in a meeting and James had the idea to create this wiki page to guide others through the confusion and misinformation that plagues most equipment at HacDC and often results in subpar operation.  I beseech you, dear reader, to continue your edification on our topic at hand and become your own evil archvillain with laser powers.  (Sharks sold separately.)&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
===Chassis===&lt;br /&gt;
The chassis is the laser itself, the blue metal box with 3 flip up lids.  The main lid users deal with is for the cutting chamber on the left front of the machine.  It includes an orange plastic window.  The cutting chamber contains the transverse and longitudinal axes, aka x and y.  X goes left to right, and y goes back to front.  The material to be cut goes in this chamber.  The second flip up lid is for the controls and power supplies chamber.  This lid contains the front panel controls and indicators.  There are two control boards, the Smoothie board and the K40 ACR plug-and-play board which connects the Smoothie board to the machine hardware.  There are two power supplies as well, the control powersupply which is right below the control boards and the high-voltage (and I mean real high voltage, like around 15kV, not those nambypamby B.S. 120VAC &amp;quot;high voltage&amp;quot; warning labels) laser tube power supply which creates enough voltage to rip the electrons off the CO2 molecules and ionize them and cause them to emit coherent light when the electrons get back together with their matching CO2 ions.  For more about this exciting process, read a science book.  The third lid covers the laser tube chamber at the back of the chassis.  You don&#039;t really need to mess with these last two lids unless you are modifying the equipment or troubleshooting a failure.  All the lids have interlock switches and the laser will not fire if any one is open (unless you flip the override switch, in which case, it&#039;s your own darn fault for burning out your eye, as we say in Charlotte, &amp;quot;you did it to yourself&amp;quot;).&lt;br /&gt;
===Exhaust===&lt;br /&gt;
The exhaust system sucks smoke from the laser chassis cutting chamber and sends it outside through a window.  It was cobbled together using a fan and housing salvaged from a prior laser cutter and is mostly held together with zipties and metal duct tape.  Seriously.  I&#039;m not kidding.  Actual zipties and duct tape.  (I&#039;d like to give a shout-out to Home Depot for selling me the role of metal tape for only one cent.)  If any part of the whole laser system is going to crap out, this would be a good part to bet on.  It also uses 4&amp;quot; diameter (that&#039;s 105mm for those of you on the metric system) flexible metal clothes dryer exhaust duct to carry the exhaust gasses.  There are custom-made, 3d-printed transiton pieces at the back of the laser chassis which replace the original feeble exhaust system.  Read about them [[K40_Exhaust_Assembly|here]]&lt;br /&gt;
&lt;br /&gt;
===Cooling===&lt;br /&gt;
The cooling system presently consists of a 5 gallon pail in the roller cabinet with a submersible pump.  The water should be replaced with distilled.  (The pump power cord got a new plug.  It stays plugged in much better than the original cheap Chinese plug.)  If the water doesn&#039;t flow, the laser will burnout.  Sadness.  The cooling system presently only works based on the heat capacity of the water in the bucket.  Once the water heats up, you just need to wait for it to cool back down all by itself.  You can read about other people with more sophisticated refrigerated cooling systems, but this was quick and easy, like a virgin on prom night.  Julia has mentioned she&#039;s got some thermoelectric coolers in hiding for this project.  We&#039;ll cross that bridge when we get everything else running first.  The cooling system will have 3 interlocks: low water level, low flow, and high temperature.&lt;br /&gt;
&lt;br /&gt;
===Computer===&lt;br /&gt;
This is CNC equipment.  The first C is for Computer.  (No, not for cookie, but we often have cookies anyway.)  You need a computer with a USB port.  You need computer software.  I hope we can have a computer dedicated to the laser, but let&#039;s be real, that&#039;s not likely to happen.  I hope Tom will fill out this section.&lt;br /&gt;
===Cabinet===&lt;br /&gt;
The cabinet is what the chassis sits on.  The cabinet has wheels.  It&#039;s made of particle board and painted white.  The left door has upper and lower latches inside which hold it shut, so don&#039;t yank on it.  The cabinet houses the cooling system, the power strip which all the line voltage equipment plugs into: exhaust fan, cooling pump, laser chassis, 12V power supply (not yet installed).&lt;br /&gt;
&lt;br /&gt;
==Safety Interlocks==&lt;br /&gt;
&#039;&#039;&#039;Only some of these safeties are installed presently.&#039;&#039;&#039;  Don&#039;t go futzing around with stuff unless you know exactly what you are doing.  And tell James or Tom.  For troubleshooting purposes, there is a safety override switch on the control panel (middle of three).&lt;br /&gt;
===Ventilation===&lt;br /&gt;
#Exhaust - If the exhaust fan isn&#039;t moving air, we don&#039;t want the laser to fire and make lots of smoke which would then fill the room&lt;br /&gt;
#Lens - Eventually we plan to install an air shroud nozzle around the laser lens to keep smoke from coating the lens and reducing cutting power.&lt;br /&gt;
===Coolant===&lt;br /&gt;
#Level - Installed&lt;br /&gt;
#Flow&lt;br /&gt;
#Temp&lt;br /&gt;
===Doors===&lt;br /&gt;
#Cutting Chamber - Installed&lt;br /&gt;
#Control Chamber - Installed&lt;br /&gt;
#Laser Chamber - Probably not going to install this switch because the door is in back and control panel space is at a premium&lt;br /&gt;
#Cabinet - Probably not going to install this switch because there&#039;s not much harm in the cabinet and control panel space is at a premium&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
===Prestart===&lt;br /&gt;
#Come up with design&lt;br /&gt;
#Create SVG using software like [https://inkscape.org/ Inkscape]&lt;br /&gt;
#Upload SVG to computer&lt;br /&gt;
#Convert SVG to toolpath using software like [http://www.scorchworks.com/LaserDRW_extension/laserdrw_extension.html Laser Draw]&lt;br /&gt;
&lt;br /&gt;
===Startup===&lt;br /&gt;
#Roll cabinet out from under shelf&lt;br /&gt;
#Get extension cord out of cabinet and plug laser into extension cord and extension cord into live receptacle&lt;br /&gt;
#Turn on laser master power switch&lt;br /&gt;
#Close cabinet door&lt;br /&gt;
#Load material to be cut in laser cabinet&lt;br /&gt;
#Shut lid on cutting chamber&lt;br /&gt;
#Turn on laser cabinet power switch&lt;br /&gt;
===Operations===&lt;br /&gt;
#Ensure all safety interlocks are operable by checking indicator lights&lt;br /&gt;
#Run program without laser powered on to observe tool path and ensure material to be cut in properly arranged in the cutting chamber&lt;br /&gt;
#Run program with laser powered on to cut material&lt;br /&gt;
===Shutdown===&lt;br /&gt;
#Turn off laser chassis and master power switches&lt;br /&gt;
#Unplug laser and extension cord&lt;br /&gt;
#Coilup and store extension cord&lt;br /&gt;
#Shut cabinet door&lt;br /&gt;
#Roll cabinet back under the shelf&lt;br /&gt;
#Continue with your evil plans for world domination&lt;br /&gt;
&lt;br /&gt;
==Custom Wiring== &lt;br /&gt;
Julia had some LED strips she wanted installed.  We succeeded.  The illuminate when the main power is turned on.&lt;br /&gt;
[[File:Laser-leds1.jpg]]&lt;br /&gt;
&lt;br /&gt;
They are white LEDs but the orange laser viewing window colors them.&lt;br /&gt;
&lt;br /&gt;
[[File:Laser-leds2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sully really likes relays and discrete, analogue circuits, so he jimmied up a bunch of stuff to make it less likely for you to poke your eye out or burn out the laser.&lt;br /&gt;
The laser power supply from the factory takes input from 3 front panel controls: off-on laser switch, momentary-on laser switch, power control potentiometer knob.  The off-on switch was a cheap latching push button which was connected to the leftmost two terminals of the 6 terminal plug with black wires.  It was replaced with an off-on, metal, toggle switch on 3-23-17.  The middle two terminals of the block connect to the momentary on push button switch on the front panel which causes the laser to fire (when the left two terminals are shorted together by the toggle switch).  The right 3 terminals (which overlap with the right center terminal going to the push button switch) connect to the front panel potentiometer which controls the laser current.  Do not turn the knob to full clockwise, because increasing the laser firing current past a certain point doesn&#039;t provide any benefit and just reduces the tube lifespan.  The plan is to parallelize the push button firing switch with a solid-state relay controlled directly by the Smoothie board and bypassing the K40 ACR board (which was supposed to make the Smoothie board plug-and-play, but as mentioned earlier did a halfassed job).  The potentiometer will be connected to a 3PDT switch for computerized or manual power level control.  A PWM to DC circuit will do the automatic control and the original pot will remain for the manual control.&lt;br /&gt;
The safety interlocks are basically a whole bunch of microswitches in series so if any one of them gets tripped the left two pins of the power supply 6 pin connector won&#039;t be shorted together and the laser won&#039;t fire.  There&#039;s also a plan to have lights illuminate to show which safeties are operating properly or tripped.  Plus indicator lights are cool.  And for the remaining manual firing switches we plan on getting those flip-up red covers like in those military movies where they&#039;re firing nuclear missiles and stuff like that.  These would aid in troubleshooting, and look really cool, even if they are kinda spendy.  Man, this is really turning into a wall of text.  Someone should do something about this sometime.  Anyway, schematic drawings would go here, or links to them would go here.&lt;br /&gt;
&lt;br /&gt;
Terminal Block Connections&lt;br /&gt;
#Cutting chamber door safety switch - common&lt;br /&gt;
#Cutting chamber door safety switch - n.o.&lt;br /&gt;
#Cutting chamber door safety switch - n.c.&lt;br /&gt;
#Control chamber door safety switch - common&lt;br /&gt;
#Control chamber door safety switch - n.o.&lt;br /&gt;
#Control chamber door safety switch - n.c.&lt;br /&gt;
#Cooling water level float safety switch - common&lt;br /&gt;
#Cooling water level float safety switch - n.o.&lt;br /&gt;
#Cooling water level float safety switch - n.c.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#Laser power supply power level control potentiometer GND&lt;br /&gt;
#Auto power control voltage divided between +V and GND - connects to auto-hand control panel switch and to PWM-DC converter circuit output&lt;br /&gt;
#Laser power supply power level control potentiometer +V&lt;br /&gt;
&lt;br /&gt;
==Custom Parts==&lt;br /&gt;
Images of custom parts like the exhaust nozzles and eventually a new control panel and source files for 3d printed or laser cut parts can go here.&lt;br /&gt;
&lt;br /&gt;
[[CCL front panel]]&lt;br /&gt;
&lt;br /&gt;
[[Air flow switch holder]]&lt;br /&gt;
&lt;br /&gt;
[[Exhaust nozzle]]&lt;br /&gt;
&lt;br /&gt;
[[Terminal block holder]]&lt;br /&gt;
&lt;br /&gt;
This image is colored for 3d printing using it as a height map: black=0mm, gray=1mm, white=2mm. 174mm wide, 184mm tall.&lt;br /&gt;
The SVG file was created by a Ruby program to modularize the positions and sizes of cutouts for switches, nobs, lamps, etc.&lt;br /&gt;
&lt;br /&gt;
[[file:Control-panel.png]]&lt;br /&gt;
&lt;br /&gt;
==Bill of Materials, a.k.a. Donation Wishlist, and Hardware Store Shopping List==&lt;br /&gt;
#Laser goggles&lt;br /&gt;
#USB A-B cord, i.e. printer cable, which doesn&#039;t suck&lt;br /&gt;
#Solid state relays -- we used [http://www.clare.com/home/pdfs.nsf/www/LBA110.pdf/$file/LBA110.pdf] this one.  --This should move to custom parts and off the wishlist (JS 4-20).&lt;br /&gt;
#Stuff to cut&lt;br /&gt;
##1/8&amp;quot; Baltic birch plywood&lt;br /&gt;
##Plastic sheets, e.g. acrylic&lt;br /&gt;
##Masonite?&lt;br /&gt;
#Cabinet reinforcements&lt;br /&gt;
##dimensional lumber, e.g. 2x4, 2x2, 1x3&lt;br /&gt;
##unidirectional casters&lt;br /&gt;
#Cooling system stuff&lt;br /&gt;
##Distilled water&lt;br /&gt;
##Float switch&lt;br /&gt;
##Thermocouple or thermistor/RTD temperature sensor probe&lt;br /&gt;
##Radiator and fans&lt;br /&gt;
##Solidstate heat pump&lt;br /&gt;
##Working water fountain chiller (for future use on the 100W downstairs)&lt;br /&gt;
##PLC/Microcontroller with A/D inputs for temperature probe conditioning and temp display (advanced task)&lt;br /&gt;
#Green connectors for smoothieboard and laser powersupply [https://www.amazon.com/uxcell-Terminals-Pitch-Mount-Terminal/dp/B00E6Q4FE6/ref=sr_1_9?ie=UTF8&amp;amp;qid=1493691567&amp;amp;sr=8-9&amp;amp;keywords=pluggable+terminal+block+connector]&lt;br /&gt;
&lt;br /&gt;
==To-Do Tasks==&lt;br /&gt;
#Airflow switch housing&lt;br /&gt;
##manufacture&lt;br /&gt;
##install&lt;br /&gt;
#Coolant interlocks&lt;br /&gt;
##Flow sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Temp sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
#Door switches&lt;br /&gt;
##wire up switches&lt;br /&gt;
#Chassis wiring&lt;br /&gt;
##Mount one of the terminal strips and wire up the safety switches&lt;br /&gt;
##Draw a wiring diagram of custom components and label/number the terminals&lt;br /&gt;
#CNC firing control - This svg file can be used to test run the laser: [[Laser circle test]]&lt;br /&gt;
##find firing signal on Smoothie board&lt;br /&gt;
##in the config you specify this with laser_module_ttl_pin&lt;br /&gt;
##determine relay requirements&lt;br /&gt;
##purchase and receive relay&lt;br /&gt;
##install firing relay&lt;br /&gt;
#software&lt;br /&gt;
##determine best software to use&lt;br /&gt;
##develop workflows for various programs and operating systems&lt;br /&gt;
##update this page to explain the above&lt;br /&gt;
##We&#039;re gonna use Laserweb I think so setup a RasPi or something as a Laserweb server.&lt;br /&gt;
&lt;br /&gt;
==Completed Tasks==&lt;br /&gt;
If you do work on the laser, please record it here.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Task !! Fixer !! Date !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Create Wiki page || [[user:James|James]] || 3/24/2017 || Ongoing updates needed&lt;br /&gt;
|-&lt;br /&gt;
| Install operational exhaust system || James || 2/2017 || Still needs interlocks&lt;br /&gt;
|-&lt;br /&gt;
| Install cooling system || James || 2/2017 || Air cooling or refrigeration could be added&lt;br /&gt;
|-&lt;br /&gt;
| Connect control power supply to switched mains || James || 3/2017 || Done&lt;br /&gt;
|-&lt;br /&gt;
| Get x and y axis movements working || [[user:Tom|Tom]] || 3/2017 || Firing still needs to be fixed&lt;br /&gt;
|-&lt;br /&gt;
| Replaced cooling pump power cord plug || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed door closure bolts on left cabinet door || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed cutting chamber illumination LEDs and 12VDC powersupply || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Control + interlock circuits design/brainstorm session || James + Tom || 3/27/2017 || See webpages below for Smothieboard help&lt;br /&gt;
|-&lt;br /&gt;
| Mocked up and tested control circuit for PWM from smoothieboard || James + Tom || 3/27/2017 || http://smoothieware.org/laser-cutter-guide&lt;br /&gt;
|-&lt;br /&gt;
| Scoped out various pins on the smoothieboard to find PWM out || James + Tom || 3/27/2017 || http://smoothieware.org/smoothieboard-v1&lt;br /&gt;
|-&lt;br /&gt;
| Removed control panel || James || 3/30/17 || Don&#039;t mess with nothing until a new one gets installed!&lt;br /&gt;
|-&lt;br /&gt;
| Tried to 3d print a new control panel || James || 4/2/17 || Lulzbot Taz either didn&#039;t extrude or made bird poop. :( It&#039;s too bad we don&#039;t have a working laser cutter.&lt;br /&gt;
|-&lt;br /&gt;
| Adjusted program size parameters based on failed print and added ammeter mounting screw holes to control panel design || James || 4/11/17 || Still need to upload new SVG here and print it&lt;br /&gt;
|-&lt;br /&gt;
| Ordered self adhesive cable tie mounting squares and SSR for PWM-&amp;gt; DC || Tom || 4/11/17 || Delivery expected Thursday&lt;br /&gt;
|-&lt;br /&gt;
| Design 3d-printed mounting bracket/clip to hold switches for door interlocks || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Design, breadboard and test PWM circuit with solid state relay and newly determined time constant || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded exhaust nozzle and exhaust flow switch scad files || James || 4/20/17 || Flow switch needs printing and Tom&#039;s nacelle needs dimension tweeking.&lt;br /&gt;
|-&lt;br /&gt;
| Tried printing control panel on the Ultimaker&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; || James || 4/25/17 || Print failed twice, but third time looked good before I left.&lt;br /&gt;
|-&lt;br /&gt;
| Installed control panel 3d printed on Tuesday || James || 4/27/17 || Controls and indicators are installed but not operational, yet.  It looks sweet! Could be thicker, maybe 4mm.  Dimensions could use tweeking too: toggle switches moved down, corner radii reduced,...&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded source code and stl for water level float switch and for terminal block holders.  Installed v5 of door switch holder and soldered wires to switches. || James || 5/1/17 || Still need to print float switch parts and terminal block holders. New parts fit well. A very productive day overall.&lt;br /&gt;
|-&lt;br /&gt;
| Installed terminal block with manually modified v1 terminal block holder parts.  Wired up cutting chamber and control chamber door safety switches.  Connected laser power supply wiring to new control panel switches. || James || 5/4/17 || Need to adjust terminal block holder dimensions and reprint.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded v2 source code and stl for terminal block holder. || James || 5/5/17 || Need to print float switch parts and terminal block holders.&lt;br /&gt;
|-&lt;br /&gt;
| Printed and installed new terminal block holders (v2). Printed new air flow switch and water level float switch head and base. Remodeled exhaust header. || James || 5/6/17 || Holders fit great.  Base, not so much.&lt;br /&gt;
|-&lt;br /&gt;
| Reprinted water level float switch base. Investigated PWM output from Smoothieboard. || Tom &amp;amp; James || 5/7/17 || Pin 4.2 and GND work for PWM signal.  PWM to DC breadboard isn&#039;t working. Laser power supply 5V circuit for safety switches doesn&#039;t have enough current to illuminate the trouble lamps on front panel.&lt;br /&gt;
|-&lt;br /&gt;
| Install float switch. || James || 5/11/17 || Not seeming to function as of 5/14 - remains conductive even when open?&lt;br /&gt;
|-&lt;br /&gt;
| Successful CNC laser firing on circle laser test. || Tom &amp;amp; James || 5/14/17 || Some kind of beam splitting or 2-layer reflection is going on. PWM out can be set using laser_module_pwm_pin in smoothieboard config.&lt;br /&gt;
|-&lt;br /&gt;
| Setup the auto-man power level control switch. General stuff. || Tom and James || 5/28/17 || We&#039;ve got some stray AC current in the case.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Equipment]]&lt;br /&gt;
[[Category:LaserCutter]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:Ongoing Projects]]&lt;br /&gt;
[[Category:Project Awesome]]&lt;br /&gt;
[[Category:CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13410</id>
		<title>Cheap Chinese Laser</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13410"/>
		<updated>2017-05-30T22:40:46Z</updated>

		<summary type="html">&lt;p&gt;James: listed installed safeties: cutting chamber, control chamber, water level&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cheap Chinese Laser]]&lt;br /&gt;
&lt;br /&gt;
This is the page dealing with the [[Cheap Chinese Laser]] at [https://www.hacdc.org HacDC] in the upstairs room at St. Stephen and the Incarnate church in Washington, DC.  This page replaces [[PA LaserCutter]] page from some years ago.  It had high ideals, but poor execution.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
HacDC has a K40, 40W, CO2, water cooled, laser for CNC cutting of various materials, aka a cheap Chinese laser.  It allegedly used to work just fine, but someone decided that wasn&#039;t good enough so she ordered and halfass installed some new parts that only halfass work.  After our intrepid hero, [[user:James|James]], fullyassed the installation of the new parts, the laser still only halfass worked.  [[user:Tom|Tom]] was railroaded into helping with the software, but even so the dynamic duo couldn&#039;t get the damn thing to work.  Then one day at work, boredom struck in a meeting and James had the idea to create this wiki page to guide others through the confusion and misinformation that plagues most equipment at HacDC and often results in subpar operation.  I beseech you, dear reader, to continue your edification on our topic at hand and become your own evil archvillain with laser powers.  (Sharks sold separately.)&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
===Chassis===&lt;br /&gt;
The chassis is the laser itself, the blue metal box with 3 flip up lids.  The main lid users deal with is for the cutting chamber on the left front of the machine.  It includes an orange plastic window.  The cutting chamber contains the transverse and longitudinal axes, aka x and y.  X goes left to right, and y goes back to front.  The material to be cut goes in this chamber.  The second flip up lid is for the controls and power supplies chamber.  This lid contains the front panel controls and indicators.  There are two control boards, the Smoothie board and the K40 ACR plug-and-play board which connects the Smoothie board to the machine hardware.  There are two power supplies as well, the control powersupply which is right below the control boards and the high-voltage (and I mean real high voltage, like around 15kV, not those nambypamby B.S. 120VAC &amp;quot;high voltage&amp;quot; warning labels) laser tube power supply which creates enough voltage to rip the electrons off the CO2 molecules and ionize them and cause them to emit coherent light when the electrons get back together with their matching CO2 ions.  For more about this exciting process, read a science book.  The third lid covers the laser tube chamber at the back of the chassis.  You don&#039;t really need to mess with these last two lids unless you are modifying the equipment or troubleshooting a failure.  All the lids have interlock switches and the laser will not fire if any one is open (unless you flip the override switch, in which case, it&#039;s your own darn fault for burning out your eye, as we say in Charlotte, &amp;quot;you did it to yourself&amp;quot;).&lt;br /&gt;
===Exhaust===&lt;br /&gt;
The exhaust system sucks smoke from the laser chassis cutting chamber and sends it outside through a window.  It was cobbled together using a fan and housing salvaged from a prior laser cutter and is mostly held together with zipties and metal duct tape.  Seriously.  I&#039;m not kidding.  Actual zipties and duct tape.  (I&#039;d like to give a shout-out to Home Depot for selling me the role of metal tape for only one cent.)  If any part of the whole laser system is going to crap out, this would be a good part to bet on.  It also uses 4&amp;quot; diameter (that&#039;s 105mm for those of you on the metric system) flexible metal clothes dryer exhaust duct to carry the exhaust gasses.  There are custom-made, 3d-printed transiton pieces at the back of the laser chassis which replace the original feeble exhaust system.  Read about them [[K40_Exhaust_Assembly|here]]&lt;br /&gt;
&lt;br /&gt;
===Cooling===&lt;br /&gt;
The cooling system presently consists of a 5 gallon pail in the roller cabinet with a submersible pump.  The water should be replaced with distilled.  (The pump power cord got a new plug.  It stays plugged in much better than the original cheap Chinese plug.)  If the water doesn&#039;t flow, the laser will burnout.  Sadness.  The cooling system presently only works based on the heat capacity of the water in the bucket.  Once the water heats up, you just need to wait for it to cool back down all by itself.  You can read about other people with more sophisticated refrigerated cooling systems, but this was quick and easy, like a virgin on prom night.  Julia has mentioned she&#039;s got some thermoelectric coolers in hiding for this project.  We&#039;ll cross that bridge when we get everything else running first.  The cooling system will have 3 interlocks: low water level, low flow, and high temperature.&lt;br /&gt;
&lt;br /&gt;
===Computer===&lt;br /&gt;
This is CNC equipment.  The first C is for Computer.  (No, not for cookie, but we often have cookies anyway.)  You need a computer with a USB port.  You need computer software.  I hope we can have a computer dedicated to the laser, but let&#039;s be real, that&#039;s not likely to happen.  I hope Tom will fill out this section.&lt;br /&gt;
===Cabinet===&lt;br /&gt;
The cabinet is what the chassis sits on.  The cabinet has wheels.  It&#039;s made of particle board and painted white.  The left door has upper and lower latches inside which hold it shut, so don&#039;t yank on it.  The cabinet houses the cooling system, the power strip which all the line voltage equipment plugs into: exhaust fan, cooling pump, laser chassis, 12V power supply (not yet installed).&lt;br /&gt;
&lt;br /&gt;
==Safety Interlocks==&lt;br /&gt;
&#039;&#039;&#039;Only some of these safeties are installed presently.&#039;&#039;&#039;  Don&#039;t go futzing around with stuff unless you know exactly what you are doing.  And tell James or Tom.  For troubleshooting purposes, there is a safety override switch on the control panel (middle of three).&lt;br /&gt;
===Ventilation===&lt;br /&gt;
#Exhaust - If the exhaust fan isn&#039;t moving air, we don&#039;t want the laser to fire and make lots of smoke which would then fill the room&lt;br /&gt;
#Lens - Eventually we plan to install an air shroud nozzle around the laser lens to keep smoke from coating the lens and reducing cutting power.&lt;br /&gt;
===Coolant===&lt;br /&gt;
#Level - Installed&lt;br /&gt;
#Flow&lt;br /&gt;
#Temp&lt;br /&gt;
===Doors===&lt;br /&gt;
#Cutting Chamber - Installed&lt;br /&gt;
#Control Chamber - Installed&lt;br /&gt;
#Laser Chamber - Probably not going to install this switch because the door is in back and control panel space is at a premium&lt;br /&gt;
#Cabinet - Probably not going to install this switch because there&#039;s not much harm in the cabinet and control panel space is at a premium&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
===Prestart===&lt;br /&gt;
#Come up with design&lt;br /&gt;
#Create SVG using software like [https://inkscape.org/ Inkscape]&lt;br /&gt;
#Upload SVG to computer&lt;br /&gt;
#Convert SVG to toolpath using software like [http://www.scorchworks.com/LaserDRW_extension/laserdrw_extension.html Laser Draw]&lt;br /&gt;
&lt;br /&gt;
===Startup===&lt;br /&gt;
#Roll cabinet out from under shelf&lt;br /&gt;
#Get extension cord out of cabinet and plug laser into extension cord and extension cord into live receptacle&lt;br /&gt;
#Turn on laser master power switch&lt;br /&gt;
#Close cabinet door&lt;br /&gt;
#Load material to be cut in laser cabinet&lt;br /&gt;
#Shut lid on cutting chamber&lt;br /&gt;
#Turn on laser cabinet power switch&lt;br /&gt;
===Operations===&lt;br /&gt;
#Ensure all safety interlocks are operable by checking indicator lights&lt;br /&gt;
#Run program without laser powered on to observe tool path and ensure material to be cut in properly arranged in the cutting chamber&lt;br /&gt;
#Run program with laser powered on to cut material&lt;br /&gt;
===Shutdown===&lt;br /&gt;
#Turn off laser chassis and master power switches&lt;br /&gt;
#Unplug laser and extension cord&lt;br /&gt;
#Coilup and store extension cord&lt;br /&gt;
#Shut cabinet door&lt;br /&gt;
#Roll cabinet back under the shelf&lt;br /&gt;
#Continue with your evil plans for world domination&lt;br /&gt;
&lt;br /&gt;
==Custom Wiring== &lt;br /&gt;
Julia had some LED strips she wanted installed.  We succeeded.  The illuminate when the main power is turned on.&lt;br /&gt;
[[File:Laser-leds1.jpg]]&lt;br /&gt;
&lt;br /&gt;
They are white LEDs but the orange laser viewing window colors them.&lt;br /&gt;
&lt;br /&gt;
[[File:Laser-leds2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sully really likes relays and discrete, analogue circuits, so he jimmied up a bunch of stuff to make it less likely for you to poke your eye out or burn out the laser.&lt;br /&gt;
The laser power supply from the factory takes input from 3 front panel controls: off-on laser switch, momentary-on laser switch, power control potentiometer knob.  The off-on switch was a cheap latching push button which was connected to the leftmost two terminals of the 6 terminal plug with black wires.  It was replaced with an off-on, metal, toggle switch on 3-23-17.  The middle two terminals of the block connect to the momentary on push button switch on the front panel which causes the laser to fire (when the left two terminals are shorted together by the toggle switch).  The right 3 terminals (which overlap with the right center terminal going to the push button switch) connect to the front panel potentiometer which controls the laser current.  Do not turn the knob to full clockwise, because increasing the laser firing current past a certain point doesn&#039;t provide any benefit and just reduces the tube lifespan.  The plan is to parallelize the push button firing switch with a solid-state relay controlled directly by the Smoothie board and bypassing the K40 ACR board (which was supposed to make the Smoothie board plug-and-play, but as mentioned earlier did a halfassed job).  The potentiometer will be connected to a 3PDT switch for computerized or manual power level control.  A PWM to DC circuit will do the automatic control and the original pot will remain for the manual control.&lt;br /&gt;
The safety interlocks are basically a whole bunch of microswitches in series so if any one of them gets tripped the left two pins of the power supply 6 pin connector won&#039;t be shorted together and the laser won&#039;t fire.  There&#039;s also a plan to have lights illuminate to show which safeties are operating properly or tripped.  Plus indicator lights are cool.  And for the remaining manual firing switches we plan on getting those flip-up red covers like in those military movies where they&#039;re firing nuclear missiles and stuff like that.  These would aid in troubleshooting, and look really cool, even if they are kinda spendy.  Man, this is really turning into a wall of text.  Someone should do something about this sometime.  Anyway, schematic drawings would go here, or links to them would go here.&lt;br /&gt;
&lt;br /&gt;
Terminal Block Connections&lt;br /&gt;
#Cutting chamber door safety switch - common&lt;br /&gt;
#Cutting chamber door safety switch - n.o.&lt;br /&gt;
#Cutting chamber door safety switch - n.c.&lt;br /&gt;
#Control chamber door safety switch - common&lt;br /&gt;
#Control chamber door safety switch - n.o.&lt;br /&gt;
#Control chamber door safety switch - n.c.&lt;br /&gt;
#Cooling water level float safety switch - common&lt;br /&gt;
#Cooling water level float safety switch - n.o.&lt;br /&gt;
#Cooling water level float safety switch - n.c.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#Auto-hand power control switch - common&lt;br /&gt;
#Auto-hand power control switch - n.o.&lt;br /&gt;
#Auto-hand power control switch - n.c.&lt;br /&gt;
&lt;br /&gt;
==Custom Parts==&lt;br /&gt;
Images of custom parts like the exhaust nozzles and eventually a new control panel and source files for 3d printed or laser cut parts can go here.&lt;br /&gt;
&lt;br /&gt;
[[CCL front panel]]&lt;br /&gt;
&lt;br /&gt;
[[Air flow switch holder]]&lt;br /&gt;
&lt;br /&gt;
[[Exhaust nozzle]]&lt;br /&gt;
&lt;br /&gt;
[[Terminal block holder]]&lt;br /&gt;
&lt;br /&gt;
This image is colored for 3d printing using it as a height map: black=0mm, gray=1mm, white=2mm. 174mm wide, 184mm tall.&lt;br /&gt;
The SVG file was created by a Ruby program to modularize the positions and sizes of cutouts for switches, nobs, lamps, etc.&lt;br /&gt;
&lt;br /&gt;
[[file:Control-panel.png]]&lt;br /&gt;
&lt;br /&gt;
==Bill of Materials, a.k.a. Donation Wishlist, and Hardware Store Shopping List==&lt;br /&gt;
#Laser goggles&lt;br /&gt;
#USB A-B cord, i.e. printer cable, which doesn&#039;t suck&lt;br /&gt;
#Solid state relays -- we used [http://www.clare.com/home/pdfs.nsf/www/LBA110.pdf/$file/LBA110.pdf] this one.  --This should move to custom parts and off the wishlist (JS 4-20).&lt;br /&gt;
#Stuff to cut&lt;br /&gt;
##1/8&amp;quot; Baltic birch plywood&lt;br /&gt;
##Plastic sheets, e.g. acrylic&lt;br /&gt;
##Masonite?&lt;br /&gt;
#Cabinet reinforcements&lt;br /&gt;
##dimensional lumber, e.g. 2x4, 2x2, 1x3&lt;br /&gt;
##unidirectional casters&lt;br /&gt;
#Cooling system stuff&lt;br /&gt;
##Distilled water&lt;br /&gt;
##Float switch&lt;br /&gt;
##Thermocouple or thermistor/RTD temperature sensor probe&lt;br /&gt;
##Radiator and fans&lt;br /&gt;
##Solidstate heat pump&lt;br /&gt;
##Working water fountain chiller (for future use on the 100W downstairs)&lt;br /&gt;
##PLC/Microcontroller with A/D inputs for temperature probe conditioning and temp display (advanced task)&lt;br /&gt;
#Green connectors for smoothieboard and laser powersupply [https://www.amazon.com/uxcell-Terminals-Pitch-Mount-Terminal/dp/B00E6Q4FE6/ref=sr_1_9?ie=UTF8&amp;amp;qid=1493691567&amp;amp;sr=8-9&amp;amp;keywords=pluggable+terminal+block+connector]&lt;br /&gt;
&lt;br /&gt;
==To-Do Tasks==&lt;br /&gt;
#Airflow switch housing&lt;br /&gt;
##manufacture&lt;br /&gt;
##install&lt;br /&gt;
#Coolant interlocks&lt;br /&gt;
##Flow sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Temp sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
#Door switches&lt;br /&gt;
##wire up switches&lt;br /&gt;
#Chassis wiring&lt;br /&gt;
##Mount one of the terminal strips and wire up the safety switches&lt;br /&gt;
##Draw a wiring diagram of custom components and label/number the terminals&lt;br /&gt;
#CNC firing control - This svg file can be used to test run the laser: [[Laser circle test]]&lt;br /&gt;
##find firing signal on Smoothie board&lt;br /&gt;
##in the config you specify this with laser_module_ttl_pin&lt;br /&gt;
##determine relay requirements&lt;br /&gt;
##purchase and receive relay&lt;br /&gt;
##install firing relay&lt;br /&gt;
#software&lt;br /&gt;
##determine best software to use&lt;br /&gt;
##develop workflows for various programs and operating systems&lt;br /&gt;
##update this page to explain the above&lt;br /&gt;
##We&#039;re gonna use Laserweb I think so setup a RasPi or something as a Laserweb server.&lt;br /&gt;
&lt;br /&gt;
==Completed Tasks==&lt;br /&gt;
If you do work on the laser, please record it here.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Task !! Fixer !! Date !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Create Wiki page || [[user:James|James]] || 3/24/2017 || Ongoing updates needed&lt;br /&gt;
|-&lt;br /&gt;
| Install operational exhaust system || James || 2/2017 || Still needs interlocks&lt;br /&gt;
|-&lt;br /&gt;
| Install cooling system || James || 2/2017 || Air cooling or refrigeration could be added&lt;br /&gt;
|-&lt;br /&gt;
| Connect control power supply to switched mains || James || 3/2017 || Done&lt;br /&gt;
|-&lt;br /&gt;
| Get x and y axis movements working || [[user:Tom|Tom]] || 3/2017 || Firing still needs to be fixed&lt;br /&gt;
|-&lt;br /&gt;
| Replaced cooling pump power cord plug || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed door closure bolts on left cabinet door || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed cutting chamber illumination LEDs and 12VDC powersupply || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Control + interlock circuits design/brainstorm session || James + Tom || 3/27/2017 || See webpages below for Smothieboard help&lt;br /&gt;
|-&lt;br /&gt;
| Mocked up and tested control circuit for PWM from smoothieboard || James + Tom || 3/27/2017 || http://smoothieware.org/laser-cutter-guide&lt;br /&gt;
|-&lt;br /&gt;
| Scoped out various pins on the smoothieboard to find PWM out || James + Tom || 3/27/2017 || http://smoothieware.org/smoothieboard-v1&lt;br /&gt;
|-&lt;br /&gt;
| Removed control panel || James || 3/30/17 || Don&#039;t mess with nothing until a new one gets installed!&lt;br /&gt;
|-&lt;br /&gt;
| Tried to 3d print a new control panel || James || 4/2/17 || Lulzbot Taz either didn&#039;t extrude or made bird poop. :( It&#039;s too bad we don&#039;t have a working laser cutter.&lt;br /&gt;
|-&lt;br /&gt;
| Adjusted program size parameters based on failed print and added ammeter mounting screw holes to control panel design || James || 4/11/17 || Still need to upload new SVG here and print it&lt;br /&gt;
|-&lt;br /&gt;
| Ordered self adhesive cable tie mounting squares and SSR for PWM-&amp;gt; DC || Tom || 4/11/17 || Delivery expected Thursday&lt;br /&gt;
|-&lt;br /&gt;
| Design 3d-printed mounting bracket/clip to hold switches for door interlocks || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Design, breadboard and test PWM circuit with solid state relay and newly determined time constant || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded exhaust nozzle and exhaust flow switch scad files || James || 4/20/17 || Flow switch needs printing and Tom&#039;s nacelle needs dimension tweeking.&lt;br /&gt;
|-&lt;br /&gt;
| Tried printing control panel on the Ultimaker&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; || James || 4/25/17 || Print failed twice, but third time looked good before I left.&lt;br /&gt;
|-&lt;br /&gt;
| Installed control panel 3d printed on Tuesday || James || 4/27/17 || Controls and indicators are installed but not operational, yet.  It looks sweet! Could be thicker, maybe 4mm.  Dimensions could use tweeking too: toggle switches moved down, corner radii reduced,...&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded source code and stl for water level float switch and for terminal block holders.  Installed v5 of door switch holder and soldered wires to switches. || James || 5/1/17 || Still need to print float switch parts and terminal block holders. New parts fit well. A very productive day overall.&lt;br /&gt;
|-&lt;br /&gt;
| Installed terminal block with manually modified v1 terminal block holder parts.  Wired up cutting chamber and control chamber door safety switches.  Connected laser power supply wiring to new control panel switches. || James || 5/4/17 || Need to adjust terminal block holder dimensions and reprint.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded v2 source code and stl for terminal block holder. || James || 5/5/17 || Need to print float switch parts and terminal block holders.&lt;br /&gt;
|-&lt;br /&gt;
| Printed and installed new terminal block holders (v2). Printed new air flow switch and water level float switch head and base. Remodeled exhaust header. || James || 5/6/17 || Holders fit great.  Base, not so much.&lt;br /&gt;
|-&lt;br /&gt;
| Reprinted water level float switch base. Investigated PWM output from Smoothieboard. || Tom &amp;amp; James || 5/7/17 || Pin 4.2 and GND work for PWM signal.  PWM to DC breadboard isn&#039;t working. Laser power supply 5V circuit for safety switches doesn&#039;t have enough current to illuminate the trouble lamps on front panel.&lt;br /&gt;
|-&lt;br /&gt;
| Install float switch. || James || 5/11/17 || Not seeming to function as of 5/14 - remains conductive even when open?&lt;br /&gt;
|-&lt;br /&gt;
| Successful CNC laser firing on circle laser test. || Tom &amp;amp; James || 5/14/17 || Some kind of beam splitting or 2-layer reflection is going on. PWM out can be set using laser_module_pwm_pin in smoothieboard config.&lt;br /&gt;
|-&lt;br /&gt;
| Setup the auto-man power level control switch. General stuff. || Tom and James || 5/28/17 || We&#039;ve got some stray AC current in the case.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Equipment]]&lt;br /&gt;
[[Category:LaserCutter]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:Ongoing Projects]]&lt;br /&gt;
[[Category:Project Awesome]]&lt;br /&gt;
[[Category:CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13349</id>
		<title>Cheap Chinese Laser</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13349"/>
		<updated>2017-05-15T02:17:47Z</updated>

		<summary type="html">&lt;p&gt;James: added float switch and auto-hand switch&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cheap Chinese Laser]]&lt;br /&gt;
&lt;br /&gt;
This is the page dealing with the [[Cheap Chinese Laser]] at [https://www.hacdc.org HacDC] in the upstairs room at St. Stephen and the Incarnate church in Washington, DC.  This page replaces [[PA LaserCutter]] page from some years ago.  It had high ideals, but poor execution.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
HacDC has a K40, 40W, CO2, water cooled, laser for CNC cutting of various materials, aka a cheap Chinese laser.  It allegedly used to work just fine, but someone decided that wasn&#039;t good enough so she ordered and halfass installed some new parts that only halfass work.  After our intrepid hero, [[user:James|James]], fullyassed the installation of the new parts, the laser still only halfass worked.  [[user:Tom|Tom]] was railroaded into helping with the software, but even so the dynamic duo couldn&#039;t get the damn thing to work.  Then one day at work, boredom struck in a meeting and James had the idea to create this wiki page to guide others through the confusion and misinformation that plagues most equipment at HacDC and often results in subpar operation.  I beseech you, dear reader, to continue your edification on our topic at hand and become your own evil archvillain with laser powers.  (Sharks sold separately.)&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
===Chassis===&lt;br /&gt;
The chassis is the laser itself, the blue metal box with 3 flip up lids.  The main lid users deal with is for the cutting chamber on the left front of the machine.  It includes an orange plastic window.  The cutting chamber contains the transverse and longitudinal axes, aka x and y.  X goes left to right, and y goes back to front.  The material to be cut goes in this chamber.  The second flip up lid is for the controls and power supplies chamber.  This lid contains the front panel controls and indicators.  There are two control boards, the Smoothie board and the K40 ACR plug-and-play board which connects the Smoothie board to the machine hardware.  There are two power supplies as well, the control powersupply which is right below the control boards and the high-voltage (and I mean real high voltage, like around 15kV, not those nambypamby B.S. 120VAC &amp;quot;high voltage&amp;quot; warning labels) laser tube power supply which creates enough voltage to rip the electrons off the CO2 molecules and ionize them and cause them to emit coherent light when the electrons get back together with their matching CO2 ions.  For more about this exciting process, read a science book.  The third lid covers the laser tube chamber at the back of the chassis.  You don&#039;t really need to mess with these last two lids unless you are modifying the equipment or troubleshooting a failure.  All the lids have interlock switches and the laser will not fire if any one is open (unless you flip the override switch, in which case, it&#039;s your own darn fault for burning out your eye, as we say in Charlotte, &amp;quot;you did it to yourself&amp;quot;).&lt;br /&gt;
===Exhaust===&lt;br /&gt;
The exhaust system sucks smoke from the laser chassis cutting chamber and sends it outside through a window.  It was cobbled together using a fan and housing salvaged from a prior laser cutter and is mostly held together with zipties and metal duct tape.  Seriously.  I&#039;m not kidding.  Actual zipties and duct tape.  (I&#039;d like to give a shout-out to Home Depot for selling me the role of metal tape for only one cent.)  If any part of the whole laser system is going to crap out, this would be a good part to bet on.  It also uses 4&amp;quot; diameter (that&#039;s 105mm for those of you on the metric system) flexible metal clothes dryer exhaust duct to carry the exhaust gasses.  There are custom-made, 3d-printed transiton pieces at the back of the laser chassis which replace the original feeble exhaust system.  Read about them [[K40_Exhaust_Assembly|here]]&lt;br /&gt;
&lt;br /&gt;
===Cooling===&lt;br /&gt;
The cooling system presently consists of a 5 gallon pail in the roller cabinet with a submersible pump.  The water should be replaced with distilled.  (The pump power cord got a new plug.  It stays plugged in much better than the original cheap Chinese plug.)  If the water doesn&#039;t flow, the laser will burnout.  Sadness.  The cooling system presently only works based on the heat capacity of the water in the bucket.  Once the water heats up, you just need to wait for it to cool back down all by itself.  You can read about other people with more sophisticated refrigerated cooling systems, but this was quick and easy, like a virgin on prom night.  Julia has mentioned she&#039;s got some thermoelectric coolers in hiding for this project.  We&#039;ll cross that bridge when we get everything else running first.  The cooling system will have 3 interlocks: low water level, low flow, and high temperature.&lt;br /&gt;
&lt;br /&gt;
===Computer===&lt;br /&gt;
This is CNC equipment.  The first C is for Computer.  (No, not for cookie, but we often have cookies anyway.)  You need a computer with a USB port.  You need computer software.  I hope we can have a computer dedicated to the laser, but let&#039;s be real, that&#039;s not likely to happen.  I hope Tom will fill out this section.&lt;br /&gt;
===Cabinet===&lt;br /&gt;
The cabinet is what the chassis sits on.  The cabinet has wheels.  It&#039;s made of particle board and painted white.  The left door has upper and lower latches inside which hold it shut, so don&#039;t yank on it.  The cabinet houses the cooling system, the power strip which all the line voltage equipment plugs into: exhaust fan, cooling pump, laser chassis, 12V power supply (not yet installed).&lt;br /&gt;
&lt;br /&gt;
==Safety Interlocks==&lt;br /&gt;
&#039;&#039;&#039;None of these safeties are installed yet.&#039;&#039;&#039;  Don&#039;t go futzing around with stuff unless you know exactly what you are doing.  And tell James or Tom.&lt;br /&gt;
===Ventilation===&lt;br /&gt;
#Exhaust - If the exhaust fan isn&#039;t moving air, we don&#039;t want the laser to fire and make lots of smoke which would then fill the room&lt;br /&gt;
#Lens - Eventually we plan to install an air shroud nozzle around the laser lens to keep smoke from coating the lens and reducing cutting power.&lt;br /&gt;
===Coolant===&lt;br /&gt;
#Level - &lt;br /&gt;
#Flow&lt;br /&gt;
#Temp&lt;br /&gt;
===Doors===&lt;br /&gt;
#Cutting Chamber&lt;br /&gt;
#Control Chamber&lt;br /&gt;
#Laser Chamber - Probably not going to install this switch because the door is in back and control panel space is at a premium&lt;br /&gt;
#Cabinet - Probably not going to install this switch because there&#039;s not much harm in the cabinet and control panel space is at a premium&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
===Prestart===&lt;br /&gt;
#Come up with design&lt;br /&gt;
#Create SVG using software like [https://inkscape.org/ Inkscape]&lt;br /&gt;
#Upload SVG to computer&lt;br /&gt;
#Convert SVG to toolpath using software like [http://www.scorchworks.com/LaserDRW_extension/laserdrw_extension.html Laser Draw]&lt;br /&gt;
&lt;br /&gt;
===Startup===&lt;br /&gt;
#Roll cabinet out from under shelf&lt;br /&gt;
#Get extension cord out of cabinet and plug laser into extension cord and extension cord into live receptacle&lt;br /&gt;
#Turn on laser master power switch&lt;br /&gt;
#Close cabinet door&lt;br /&gt;
#Load material to be cut in laser cabinet&lt;br /&gt;
#Shut lid on cutting chamber&lt;br /&gt;
#Turn on laser cabinet power switch&lt;br /&gt;
===Operations===&lt;br /&gt;
#Ensure all safety interlocks are operable by checking indicator lights&lt;br /&gt;
#Run program without laser powered on to observe tool path and ensure material to be cut in properly arranged in the cutting chamber&lt;br /&gt;
#Run program with laser powered on to cut material&lt;br /&gt;
===Shutdown===&lt;br /&gt;
#Turn off laser chassis and master power switches&lt;br /&gt;
#Unplug laser and extension cord&lt;br /&gt;
#Coilup and store extension cord&lt;br /&gt;
#Shut cabinet door&lt;br /&gt;
#Roll cabinet back under the shelf&lt;br /&gt;
#Continue with your evil plans for world domination&lt;br /&gt;
&lt;br /&gt;
==Custom Wiring== &lt;br /&gt;
Julia had some LED strips she wanted installed.  We succeeded.  The illuminate when the main power is turned on.&lt;br /&gt;
[[File:Laser-leds1.jpg]]&lt;br /&gt;
&lt;br /&gt;
They are white LEDs but the orange laser viewing window colors them.&lt;br /&gt;
&lt;br /&gt;
[[File:Laser-leds2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sully really likes relays and discrete, analogue circuits, so he jimmied up a bunch of stuff to make it less likely for you to poke your eye out or burn out the laser.&lt;br /&gt;
The laser power supply from the factory takes input from 3 front panel controls: off-on laser switch, momentary-on laser switch, power control potentiometer knob.  The off-on switch was a cheap latching push button which was connected to the leftmost two terminals of the 6 terminal plug with black wires.  It was replaced with an off-on, metal, toggle switch on 3-23-17.  The middle two terminals of the block connect to the momentary on push button switch on the front panel which causes the laser to fire (when the left two terminals are shorted together by the toggle switch).  The right 3 terminals (which overlap with the right center terminal going to the push button switch) connect to the front panel potentiometer which controls the laser current.  Do not turn the knob to full clockwise, because increasing the laser firing current past a certain point doesn&#039;t provide any benefit and just reduces the tube lifespan.  The plan is to parallelize the push button firing switch with a solid-state relay controlled directly by the Smoothie board and bypassing the K40 ACR board (which was supposed to make the Smoothie board plug-and-play, but as mentioned earlier did a halfassed job).  The potentiometer will be connected to a 3PDT switch for computerized or manual power level control.  A PWM to DC circuit will do the automatic control and the original pot will remain for the manual control.&lt;br /&gt;
The safety interlocks are basically a whole bunch of microswitches in series so if any one of them gets tripped the left two pins of the power supply 6 pin connector won&#039;t be shorted together and the laser won&#039;t fire.  There&#039;s also a plan to have lights illuminate to show which safeties are operating properly or tripped.  Plus indicator lights are cool.  And for the remaining manual firing switches we plan on getting those flip-up red covers like in those military movies where they&#039;re firing nuclear missiles and stuff like that.  These would aid in troubleshooting, and look really cool, even if they are kinda spendy.  Man, this is really turning into a wall of text.  Someone should do something about this sometime.  Anyway, schematic drawings would go here, or links to them would go here.&lt;br /&gt;
&lt;br /&gt;
Terminal Block Connections&lt;br /&gt;
#Cutting chamber door safety switch - common&lt;br /&gt;
#Cutting chamber door safety switch - n.o.&lt;br /&gt;
#Cutting chamber door safety switch - n.c.&lt;br /&gt;
#Control chamber door safety switch - common&lt;br /&gt;
#Control chamber door safety switch - n.o.&lt;br /&gt;
#Control chamber door safety switch - n.c.&lt;br /&gt;
#Cooling water level float safety switch - common&lt;br /&gt;
#Cooling water level float safety switch - n.o.&lt;br /&gt;
#Cooling water level float safety switch - n.c.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#Auto-hand power control switch - common&lt;br /&gt;
#Auto-hand power control switch - n.o.&lt;br /&gt;
#Auto-hand power control switch - n.c.&lt;br /&gt;
&lt;br /&gt;
==Custom Parts==&lt;br /&gt;
Images of custom parts like the exhaust nozzles and eventually a new control panel and source files for 3d printed or laser cut parts can go here.&lt;br /&gt;
&lt;br /&gt;
[[CCL front panel]]&lt;br /&gt;
&lt;br /&gt;
[[Air flow switch holder]]&lt;br /&gt;
&lt;br /&gt;
[[Exhaust nozzle]]&lt;br /&gt;
&lt;br /&gt;
[[Terminal block holder]]&lt;br /&gt;
&lt;br /&gt;
This image is colored for 3d printing using it as a height map: black=0mm, gray=1mm, white=2mm. 174mm wide, 184mm tall.&lt;br /&gt;
The SVG file was created by a Ruby program to modularize the positions and sizes of cutouts for switches, nobs, lamps, etc.&lt;br /&gt;
&lt;br /&gt;
[[file:Control-panel.png]]&lt;br /&gt;
&lt;br /&gt;
==Bill of Materials, a.k.a. Donation Wishlist, and Hardware Store Shopping List==&lt;br /&gt;
#Laser goggles&lt;br /&gt;
#USB A-B cord, i.e. printer cable, which doesn&#039;t suck&lt;br /&gt;
#Solid state relays -- we used [http://www.clare.com/home/pdfs.nsf/www/LBA110.pdf/$file/LBA110.pdf] this one.  --This should move to custom parts and off the wishlist (JS 4-20).&lt;br /&gt;
#Stuff to cut&lt;br /&gt;
##1/8&amp;quot; Baltic birch plywood&lt;br /&gt;
##Plastic sheets, e.g. acrylic&lt;br /&gt;
##Masonite?&lt;br /&gt;
#Cabinet reinforcements&lt;br /&gt;
##dimensional lumber, e.g. 2x4, 2x2, 1x3&lt;br /&gt;
##unidirectional casters&lt;br /&gt;
#Cooling system stuff&lt;br /&gt;
##Distilled water&lt;br /&gt;
##Float switch&lt;br /&gt;
##Thermocouple or thermistor/RTD temperature sensor probe&lt;br /&gt;
##Radiator and fans&lt;br /&gt;
##Solidstate heat pump&lt;br /&gt;
##Working water fountain chiller (for future use on the 100W downstairs)&lt;br /&gt;
##PLC/Microcontroller with A/D inputs for temperature probe conditioning and temp display (advanced task)&lt;br /&gt;
#Green connectors for smoothieboard and laser powersupply [https://www.amazon.com/uxcell-Terminals-Pitch-Mount-Terminal/dp/B00E6Q4FE6/ref=sr_1_9?ie=UTF8&amp;amp;qid=1493691567&amp;amp;sr=8-9&amp;amp;keywords=pluggable+terminal+block+connector]&lt;br /&gt;
&lt;br /&gt;
==To-Do Tasks==&lt;br /&gt;
#Airflow switch housing&lt;br /&gt;
##manufacture&lt;br /&gt;
##install&lt;br /&gt;
#Coolant interlocks&lt;br /&gt;
##Level sensor&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Flow sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Temp sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
#Door switches&lt;br /&gt;
##wire up switches&lt;br /&gt;
#Chassis wiring&lt;br /&gt;
##Mount one of the terminal strips and wire up the safety switches&lt;br /&gt;
##Draw a wiring diagram of custom components and label/number the terminals&lt;br /&gt;
#CNC firing control - This svg file can be used to test run the laser: [[Laser circle test]]&lt;br /&gt;
##find firing signal on Smoothie board&lt;br /&gt;
##determine relay requirements&lt;br /&gt;
##purchase and receive relay&lt;br /&gt;
##install firing relay&lt;br /&gt;
#CNC power control&lt;br /&gt;
##find PWM power level control signal on Smoothie board - PWM duration 300us&lt;br /&gt;
##fabricate converter - breadboarded and bench tested&lt;br /&gt;
##install converter&lt;br /&gt;
#software&lt;br /&gt;
##determine best software to use&lt;br /&gt;
##develop workflows for various programs and operating systems&lt;br /&gt;
##update this page to explain the above&lt;br /&gt;
&lt;br /&gt;
==Completed Tasks==&lt;br /&gt;
If you do work on the laser, please record it here.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Task !! Fixer !! Date !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Create Wiki page || [[user:James|James]] || 3/24/2017 || Ongoing updates needed&lt;br /&gt;
|-&lt;br /&gt;
| Install operational exhaust system || James || 2/2017 || Still needs interlocks&lt;br /&gt;
|-&lt;br /&gt;
| Install cooling system || James || 2/2017 || Air cooling or refrigeration could be added&lt;br /&gt;
|-&lt;br /&gt;
| Connect control power supply to switched mains || James || 3/2017 || Done&lt;br /&gt;
|-&lt;br /&gt;
| Get x and y axis movements working || [[user:Tom|Tom]] || 3/2017 || Firing still needs to be fixed&lt;br /&gt;
|-&lt;br /&gt;
| Replaced cooling pump power cord plug || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed door closure bolts on left cabinet door || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed cutting chamber illumination LEDs and 12VDC powersupply || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Control + interlock circuits design/brainstorm session || James + Tom || 3/27/2017 || See webpages below for Smothieboard help&lt;br /&gt;
|-&lt;br /&gt;
| Mocked up and tested control circuit for PWM from smoothieboard || James + Tom || 3/27/2017 || http://smoothieware.org/laser-cutter-guide&lt;br /&gt;
|-&lt;br /&gt;
| Scoped out various pins on the smoothieboard to find PWM out || James + Tom || 3/27/2017 || http://smoothieware.org/smoothieboard-v1&lt;br /&gt;
|-&lt;br /&gt;
| Removed control panel || James || 3/30/17 || Don&#039;t mess with nothing until a new one gets installed!&lt;br /&gt;
|-&lt;br /&gt;
| Tried to 3d print a new control panel || James || 4/2/17 || Lulzbot Taz either didn&#039;t extrude or made bird poop. :( It&#039;s too bad we don&#039;t have a working laser cutter.&lt;br /&gt;
|-&lt;br /&gt;
| Adjusted program size parameters based on failed print and added ammeter mounting screw holes to control panel design || James || 4/11/17 || Still need to upload new SVG here and print it&lt;br /&gt;
|-&lt;br /&gt;
| Ordered self adhesive cable tie mounting squares and SSR for PWM-&amp;gt; DC || Tom || 4/11/17 || Delivery expected Thursday&lt;br /&gt;
|-&lt;br /&gt;
| Design 3d-printed mounting bracket/clip to hold switches for door interlocks || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Design, breadboard and test PWM circuit with solid state relay and newly determined time constant || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded exhaust nozzle and exhaust flow switch scad files || James || 4/20/17 || Flow switch needs printing and Tom&#039;s nacelle needs dimension tweeking.&lt;br /&gt;
|-&lt;br /&gt;
| Tried printing control panel on the Ultimaker&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; || James || 4/25/17 || Print failed twice, but third time looked good before I left.&lt;br /&gt;
|-&lt;br /&gt;
| Installed control panel 3d printed on Tuesday || James || 4/27/17 || Controls and indicators are installed but not operational, yet.  It looks sweet! Could be thicker, maybe 4mm.  Dimensions could use tweeking too: toggle switches moved down, corner radii reduced,...&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded source code and stl for water level float switch and for terminal block holders.  Installed v5 of door switch holder and soldered wires to switches. || James || 5/1/17 || Still need to print float switch parts and terminal block holders. New parts fit well. A very productive day overall.&lt;br /&gt;
|-&lt;br /&gt;
| Installed terminal block with manually modified v1 terminal block holder parts.  Wired up cutting chamber and control chamber door safety switches.  Connected laser power supply wiring to new control panel switches. || James || 5/4/17 || Need to adjust terminal block holder dimensions and reprint.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded v2 source code and stl for terminal block holder. || James || 5/5/17 || Need to print float switch parts and terminal block holders.&lt;br /&gt;
|-&lt;br /&gt;
| Printed and installed new terminal block holders (v2). Printed new air flow switch and water level float switch head and base. Remodeled exhaust header. || James || 5/6/17 || Holders fit great.  Base, not so much.&lt;br /&gt;
|-&lt;br /&gt;
| Reprinted water level float switch base. Investigated PWM output from Smoothieboard. || Tom &amp;amp; James || 5/7/17 || Pin 4.2 and GND work for PWM signal.  PWM to DC breadboard isn&#039;t working. Laser power supply 5V circuit for safety switches doesn&#039;t have enough current to illuminate the trouble lamps on front panel.&lt;br /&gt;
|-&lt;br /&gt;
| Install float switch. || James || 5/11/17 || Not seeming to function as of 5/14 - remains conductive even when open?&lt;br /&gt;
|-&lt;br /&gt;
| Successful CNC laser firing on circle laser test. || Tom &amp;amp; James || 5/14/17 || Some kind of beam splitting or 2-layer reflection is going on.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Equipment]]&lt;br /&gt;
[[Category:LaserCutter]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:Ongoing Projects]]&lt;br /&gt;
[[Category:Project Awesome]]&lt;br /&gt;
[[Category:CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=File:Float-switch-base.stl&amp;diff=13342</id>
		<title>File:Float-switch-base.stl</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=File:Float-switch-base.stl&amp;diff=13342"/>
		<updated>2017-05-10T05:12:21Z</updated>

		<summary type="html">&lt;p&gt;James: James uploaded a new version of &amp;amp;quot;File:Float-switch-base.stl&amp;amp;quot;: v5 update to adjust screw threads&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Base of cooling water level float switch.  Needs 1/4-20 all thread legs, or I could redesign it to use two packs of chopsticks.  Version 2.&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Float_switch&amp;diff=13341</id>
		<title>Float switch</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Float_switch&amp;diff=13341"/>
		<updated>2017-05-10T05:10:14Z</updated>

		<summary type="html">&lt;p&gt;James: v5 update to adjust foot threads, etc.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the source code for the float switch 3d printed parts for the water level detector for the [[Cheap Chinese Laser]].&lt;br /&gt;
It is made in two parts: the head and the base.&lt;br /&gt;
You also need 4 pieces of 1/4-20 all thread to connect the two of them and 8 nuts.&lt;br /&gt;
The base is internally threaded.  The head needs nuts top and bottom.  Washers would be good too.&lt;br /&gt;
&lt;br /&gt;
[[File:Float-switch-head.stl]] rendered on 5/1/2017&lt;br /&gt;
&lt;br /&gt;
[[File:Float-switch-base.stl]] rendered on 5/7/2017&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
low water level detector&lt;br /&gt;
safety interlock for cheap Chinese laser at Hac DC&lt;br /&gt;
This water level detector is a two piece assembly connected by threaded rod.  This model uses 1/4-20 rod.  The lower foot has a 40mm home in the bottom to insert a pingpong ball as the float.&lt;br /&gt;
James Sullivan&lt;br /&gt;
5-8-17&lt;br /&gt;
Mk 5 - removed tolerance variable and adjusted threads, ppbd, and head threaded rod holes diameters&lt;br /&gt;
OpenSCAD version 2015.03-1 &lt;br /&gt;
*/&lt;br /&gt;
ppbd=41;    //ping pong ball diameter, includes 1mm tolerance&lt;br /&gt;
ppbw=2.7;   //ping pong ball weight in grams&lt;br /&gt;
shd=2;  //switch hole diameter&lt;br /&gt;
shp=10; //switch hole pitch, i.e. center to center spacing of mounting holes on microswitch&lt;br /&gt;
wlh=200;    //water level height&lt;br /&gt;
sbw=6;  //switch body width&lt;br /&gt;
nfw=4;  //nut face width, switch mounting nuts&lt;br /&gt;
nt=1;   //nut thickness, switch mounting nuts&lt;br /&gt;
thick=5;    //thickness&lt;br /&gt;
eps=0.1;    //epsilon&lt;br /&gt;
br=50;      //base radius&lt;br /&gt;
rod=25.4/4; //rod outer diameter&lt;br /&gt;
tpi=20;     //threads per inch&lt;br /&gt;
td=13.74/tpi;   //thread depth&lt;br /&gt;
fph=25.4*5/tpi;//foot pillar height&lt;br /&gt;
bfw=ppbd+2*thick;  //base flange width&lt;br /&gt;
$fn=48; &lt;br /&gt;
function mod(num,den) = num - floor(num/den)*den; &lt;br /&gt;
//dimensions taken from Front Door Switch Holder&lt;br /&gt;
wr=4;			//wrench size for nuts width across flats&lt;br /&gt;
nh=1;			//nut height, depth of nut sockets&lt;br /&gt;
&lt;br /&gt;
//head&lt;br /&gt;
module head() {&lt;br /&gt;
    color(&amp;quot;cyan&amp;quot;) difference(){&lt;br /&gt;
        union(){&lt;br /&gt;
            for(angle=[45:90:315]){&lt;br /&gt;
                rotate([0,0,angle]) translate([ppbd/2+rod/2+td,0,0]) cylinder(d=rod+thick*2,h=thick); //leg cylinders&lt;br /&gt;
            }&lt;br /&gt;
            cylinder(h=thick,r=ppbd/2+rod/2+td-thick/2);&lt;br /&gt;
        }&lt;br /&gt;
        translate([0,0,-thick/2]) cylinder(h=thick*2,r=ppbd/2+rod/2-3*thick/2);  //center bore to reduce material amount and print time&lt;br /&gt;
        for(angle=[45:90:315]){&lt;br /&gt;
            rotate([0,0,angle]) translate([ppbd/2+rod/2+td,0,-thick/2]) cylinder(d=rod*1.1,h=thick*2); //leg holes for threaded rods&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    translate([sbw/2,(ppbd+rod-2*thick)/(-2),0]) cube([thick,ppbd+rod-2*thick,thick]);  //support for switch mounting block&lt;br /&gt;
    translate([sbw/2,shp/2,thick]) difference(){ //switch mounting block, aligned with z-plane and x-plane, centered on y-plane&lt;br /&gt;
        translate([0,-shp/2-nfw,0]) color(&amp;quot;green&amp;quot;) cube([thick,shp+2*nfw,2*nfw]);&lt;br /&gt;
        for (y=[-shp/2,shp/2]) {&lt;br /&gt;
            translate([thick/2,y,nfw]) rotate([0,90,0]) cylinder(d=shd,h=thick*2,center=true);    //screw holes&lt;br /&gt;
            translate([sbw-nh,y,nfw]) union(){  //nut sockets&lt;br /&gt;
                for (ang=[0,120,240]) rotate([ang,0,0]) cube([nh*2,wr,wr/sqrt(3)],center=true);&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
        translate([sbw/2+thick,bfw/2-nfw-shp,nfw]) union(){  //center nut socket&lt;br /&gt;
            cube([nh*2,wr,wr/sqrt(3)],center=true);&lt;br /&gt;
            rotate([120,0,0]) cube([nh*2,wr,wr/sqrt(3)],center=true);&lt;br /&gt;
            rotate([240,0,0]) cube([nh*2,wr,wr/sqrt(3)],center=true);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
module socket(nd,tpi,tl,thick) {&lt;br /&gt;
    //nd = nominal diameter&lt;br /&gt;
    //tpi = threads per inch&lt;br /&gt;
    //tl = thread length&lt;br /&gt;
    ror=nd/2;       //rod outer radius&lt;br /&gt;
    pitch=25.4/tpi; //thread pitch in mm&lt;br /&gt;
    td=13.74/tpi;   //thread depth in mm&lt;br /&gt;
    rir=ror-td;     //rod inner radius&lt;br /&gt;
    sor=ror+thick;  //socket outer radius&lt;br /&gt;
    vert= [for (ang=[0:360/$fn:720]) ang&amp;lt;=90 ? [cos(ang),sin(ang)]*rir : &lt;br /&gt;
        ang&amp;lt;202.5 ? [cos(ang),sin(ang)]*(rir+td*(ang-90)/112.5) : &lt;br /&gt;
        ang&amp;lt;=247.5 ? [cos(ang),sin(ang)]*ror : &lt;br /&gt;
        ang&amp;lt;360 ?[cos(ang),sin(ang)]*(rir+td*(360-ang)/112.5) : &lt;br /&gt;
        [cos(ang),sin(ang)]*sor];&lt;br /&gt;
    path1=[for(p=[0:$fn]) p&amp;lt;$fn ? p : 0 ];&lt;br /&gt;
    path2=[for(p=[$fn:2*$fn]) p&amp;lt;2*$fn ? p : $fn ];&lt;br /&gt;
    color(&amp;quot;green&amp;quot;) difference(){&lt;br /&gt;
        linear_extrude(height=tl,center=false,convexivity=20,twist=tl/25.4*tpi*360){&lt;br /&gt;
            polygon(points=vert,paths=[path1,path2]);&lt;br /&gt;
        }&lt;br /&gt;
        translate([0,0,tl-ror*tan(30)]) cylinder(r2=ror,r1=0,h=ror*tan(30));  //inlet chamfer&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
//foot&lt;br /&gt;
module foot(){&lt;br /&gt;
    difference(){&lt;br /&gt;
        union(){&lt;br /&gt;
            translate([0,0,thick/2]) cube([ppbd+2*thick,ppbd+2*thick,thick],center=true);&lt;br /&gt;
            for (angle=[45:90:315]){&lt;br /&gt;
                rotate([0,0,angle]){&lt;br /&gt;
                    translate([ppbd/2+rod/2+13.74/tpi,0,thick]) socket(rod*1.1,tpi,fph,thick);  //pillar&lt;br /&gt;
                    translate([0,-thick,0]) cube([br-thick,thick*2,thick]); //leg&lt;br /&gt;
                    translate([br-thick,0,0]) cylinder(r=thick,h=thick);    //foot&lt;br /&gt;
                }  //end rotate&lt;br /&gt;
            }  //end for&lt;br /&gt;
        }  //end union&lt;br /&gt;
        translate([0,0,-eps/2]) cylinder(d=ppbd,h=fph+eps+thick); //ping pong ball entry&lt;br /&gt;
    }   //end difference&lt;br /&gt;
}   //end foot module&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
//head();&lt;br /&gt;
foot();&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13310</id>
		<title>Cheap Chinese Laser</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13310"/>
		<updated>2017-05-08T03:47:28Z</updated>

		<summary type="html">&lt;p&gt;James: noted low 5V circuit current capacity on 5/7&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cheap Chinese Laser]]&lt;br /&gt;
&lt;br /&gt;
This is the page dealing with the [[Cheap Chinese Laser]] at [https://www.hacdc.org HacDC] in the upstairs room at St. Stephen and the Incarnate church in Washington, DC.  This page replaces [[PA LaserCutter]] page from some years ago.  It had high ideals, but poor execution.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
HacDC has a K40, 40W, CO2, water cooled, laser for CNC cutting of various materials, aka a cheap Chinese laser.  It allegedly used to work just fine, but someone decided that wasn&#039;t good enough so she ordered and halfass installed some new parts that only halfass work.  After our intrepid hero, [[user:James|James]], fullyassed the installation of the new parts, the laser still only halfass worked.  [[user:Tom|Tom]] was railroaded into helping with the software, but even so the dynamic duo couldn&#039;t get the damn thing to work.  Then one day at work, boredom struck in a meeting and James had the idea to create this wiki page to guide others through the confusion and misinformation that plagues most equipment at HacDC and often results in subpar operation.  I beseech you, dear reader, to continue your edification on our topic at hand and become your own evil archvillain with laser powers.  (Sharks sold separately.)&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
===Chassis===&lt;br /&gt;
The chassis is the laser itself, the blue metal box with 3 flip up lids.  The main lid users deal with is for the cutting chamber on the left front of the machine.  It includes an orange plastic window.  The cutting chamber contains the transverse and longitudinal axes, aka x and y.  X goes left to right, and y goes back to front.  The material to be cut goes in this chamber.  The second flip up lid is for the controls and power supplies chamber.  This lid contains the front panel controls and indicators.  There are two control boards, the Smoothie board and the K40 ACR plug-and-play board which connects the Smoothie board to the machine hardware.  There are two power supplies as well, the control powersupply which is right below the control boards and the high-voltage (and I mean real high voltage, like around 15kV, not those nambypamby B.S. 120VAC &amp;quot;high voltage&amp;quot; warning labels) laser tube power supply which creates enough voltage to rip the electrons off the CO2 molecules and ionize them and cause them to emit coherent light when the electrons get back together with their matching CO2 ions.  For more about this exciting process, read a science book.  The third lid covers the laser tube chamber at the back of the chassis.  You don&#039;t really need to mess with these last two lids unless you are modifying the equipment or troubleshooting a failure.  All the lids have interlock switches and the laser will not fire if any one is open (unless you flip the override switch, in which case, it&#039;s your own darn fault for burning out your eye, as we say in Charlotte, &amp;quot;you did it to yourself&amp;quot;).&lt;br /&gt;
===Exhaust===&lt;br /&gt;
The exhaust system sucks smoke from the laser chassis cutting chamber and sends it outside through a window.  It was cobbled together using a fan and housing salvaged from a prior laser cutter and is mostly held together with zipties and metal duct tape.  Seriously.  I&#039;m not kidding.  Actual zipties and duct tape.  (I&#039;d like to give a shout-out to Home Depot for selling me the role of metal tape for only one cent.)  If any part of the whole laser system is going to crap out, this would be a good part to bet on.  It also uses 4&amp;quot; diameter (that&#039;s 105mm for those of you on the metric system) flexible metal clothes dryer exhaust duct to carry the exhaust gasses.  There are custom-made, 3d-printed transiton pieces at the back of the laser chassis which replace the original feeble exhaust system.  Read about them [[K40_Exhaust_Assembly|here]]&lt;br /&gt;
&lt;br /&gt;
===Cooling===&lt;br /&gt;
The cooling system presently consists of a 5 gallon pail in the roller cabinet with a submersible pump.  The water should be replaced with distilled.  (The pump power cord got a new plug.  It stays plugged in much better than the original cheap Chinese plug.)  If the water doesn&#039;t flow, the laser will burnout.  Sadness.  The cooling system presently only works based on the heat capacity of the water in the bucket.  Once the water heats up, you just need to wait for it to cool back down all by itself.  You can read about other people with more sophisticated refrigerated cooling systems, but this was quick and easy, like a virgin on prom night.  Julia has mentioned she&#039;s got some thermoelectric coolers in hiding for this project.  We&#039;ll cross that bridge when we get everything else running first.  The cooling system will have 3 interlocks: low water level, low flow, and high temperature.&lt;br /&gt;
&lt;br /&gt;
===Computer===&lt;br /&gt;
This is CNC equipment.  The first C is for Computer.  (No, not for cookie, but we often have cookies anyway.)  You need a computer with a USB port.  You need computer software.  I hope we can have a computer dedicated to the laser, but let&#039;s be real, that&#039;s not likely to happen.  I hope Tom will fill out this section.&lt;br /&gt;
===Cabinet===&lt;br /&gt;
The cabinet is what the chassis sits on.  The cabinet has wheels.  It&#039;s made of particle board and painted white.  The left door has upper and lower latches inside which hold it shut, so don&#039;t yank on it.  The cabinet houses the cooling system, the power strip which all the line voltage equipment plugs into: exhaust fan, cooling pump, laser chassis, 12V power supply (not yet installed).&lt;br /&gt;
&lt;br /&gt;
==Safety Interlocks==&lt;br /&gt;
&#039;&#039;&#039;None of these safeties are installed yet.&#039;&#039;&#039;  Don&#039;t go futzing around with stuff unless you know exactly what you are doing.  And tell James or Tom.&lt;br /&gt;
===Ventilation===&lt;br /&gt;
#Exhaust - If the exhaust fan isn&#039;t moving air, we don&#039;t want the laser to fire and make lots of smoke which would then fill the room&lt;br /&gt;
#Lens - Eventually we plan to install an air shroud nozzle around the laser lens to keep smoke from coating the lens and reducing cutting power.&lt;br /&gt;
===Coolant===&lt;br /&gt;
#Level - &lt;br /&gt;
#Flow&lt;br /&gt;
#Temp&lt;br /&gt;
===Doors===&lt;br /&gt;
#Cutting Chamber&lt;br /&gt;
#Control Chamber&lt;br /&gt;
#Laser Chamber - Probably not going to install this switch because the door is in back and control panel space is at a premium&lt;br /&gt;
#Cabinet - Probably not going to install this switch because there&#039;s not much harm in the cabinet and control panel space is at a premium&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
===Prestart===&lt;br /&gt;
#Come up with design&lt;br /&gt;
#Create SVG using software like [https://inkscape.org/ Inkscape]&lt;br /&gt;
#Upload SVG to computer&lt;br /&gt;
#Convert SVG to toolpath using software like [http://www.scorchworks.com/LaserDRW_extension/laserdrw_extension.html Laser Draw]&lt;br /&gt;
&lt;br /&gt;
===Startup===&lt;br /&gt;
#Roll cabinet out from under shelf&lt;br /&gt;
#Get extension cord out of cabinet and plug laser into extension cord and extension cord into live receptacle&lt;br /&gt;
#Turn on laser master power switch&lt;br /&gt;
#Close cabinet door&lt;br /&gt;
#Load material to be cut in laser cabinet&lt;br /&gt;
#Shut lid on cutting chamber&lt;br /&gt;
#Turn on laser cabinet power switch&lt;br /&gt;
===Operations===&lt;br /&gt;
#Ensure all safety interlocks are operable by checking indicator lights&lt;br /&gt;
#Run program without laser powered on to observe tool path and ensure material to be cut in properly arranged in the cutting chamber&lt;br /&gt;
#Run program with laser powered on to cut material&lt;br /&gt;
===Shutdown===&lt;br /&gt;
#Turn off laser chassis and master power switches&lt;br /&gt;
#Unplug laser and extension cord&lt;br /&gt;
#Coilup and store extension cord&lt;br /&gt;
#Shut cabinet door&lt;br /&gt;
#Roll cabinet back under the shelf&lt;br /&gt;
#Continue with your evil plans for world domination&lt;br /&gt;
&lt;br /&gt;
==Custom Wiring== &lt;br /&gt;
Julia had some LED strips she wanted installed.  We succeeded.  The illuminate when the main power is turned on.&lt;br /&gt;
[[File:Laser-leds1.jpg]]&lt;br /&gt;
&lt;br /&gt;
They are white LEDs but the orange laser viewing window colors them.&lt;br /&gt;
&lt;br /&gt;
[[File:Laser-leds2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sully really likes relays and discrete, analogue circuits, so he jimmied up a bunch of stuff to make it less likely for you to poke your eye out or burn out the laser.&lt;br /&gt;
The laser power supply from the factory takes input from 3 front panel controls: off-on laser switch, momentary-on laser switch, power control potentiometer knob.  The off-on switch was a cheap latching push button which was connected to the leftmost two terminals of the 6 terminal plug with black wires.  It was replaced with an off-on, metal, toggle switch on 3-23-17.  The middle two terminals of the block connect to the momentary on push button switch on the front panel which causes the laser to fire (when the left two terminals are shorted together by the toggle switch).  The right 3 terminals (which overlap with the right center terminal going to the push button switch) connect to the front panel potentiometer which controls the laser current.  Do not turn the knob to full clockwise, because increasing the laser firing current past a certain point doesn&#039;t provide any benefit and just reduces the tube lifespan.  The plan is to parallelize the push button firing switch with a solid-state relay controlled directly by the Smoothie board and bypassing the K40 ACR board (which was supposed to make the Smoothie board plug-and-play, but as mentioned earlier did a halfassed job).  The potentiometer will be connected to a 3PDT switch for computerized or manual power level control.  A PWM to DC circuit will do the automatic control and the original pot will remain for the manual control.&lt;br /&gt;
The safety interlocks are basically a whole bunch of microswitches in series so if any one of them gets tripped the left two pins of the power supply 6 pin connector won&#039;t be shorted together and the laser won&#039;t fire.  There&#039;s also a plan to have lights illuminate to show which safeties are operating properly or tripped.  Plus indicator lights are cool.  And for the remaining manual firing switches we plan on getting those flip-up red covers like in those military movies where they&#039;re firing nuclear missiles and stuff like that.  These would aid in troubleshooting, and look really cool, even if they are kinda spendy.  Man, this is really turning into a wall of text.  Someone should do something about this sometime.  Anyway, schematic drawings would go here, or links to them would go here.&lt;br /&gt;
&lt;br /&gt;
Terminal Block Connections&lt;br /&gt;
#Cutting chamber safety switch - common&lt;br /&gt;
#Cutting chamber safety switch - n.o.&lt;br /&gt;
#Cutting chamber safety switch - n.c.&lt;br /&gt;
#Control chamber safety switch - common&lt;br /&gt;
#Control chamber safety switch - n.o.&lt;br /&gt;
#Control chamber safety switch - n.c.&lt;br /&gt;
&lt;br /&gt;
==Custom Parts==&lt;br /&gt;
Images of custom parts like the exhaust nozzles and eventually a new control panel and source files for 3d printed or laser cut parts can go here.&lt;br /&gt;
&lt;br /&gt;
[[CCL front panel]]&lt;br /&gt;
&lt;br /&gt;
[[Air flow switch holder]]&lt;br /&gt;
&lt;br /&gt;
[[Exhaust nozzle]]&lt;br /&gt;
&lt;br /&gt;
[[Terminal block holder]]&lt;br /&gt;
&lt;br /&gt;
This image is colored for 3d printing using it as a height map: black=0mm, gray=1mm, white=2mm. 174mm wide, 184mm tall.&lt;br /&gt;
The SVG file was created by a Ruby program to modularize the positions and sizes of cutouts for switches, nobs, lamps, etc.&lt;br /&gt;
&lt;br /&gt;
[[file:Control-panel.png]]&lt;br /&gt;
&lt;br /&gt;
==Bill of Materials, a.k.a. Donation Wishlist, and Hardware Store Shopping List==&lt;br /&gt;
#Laser goggles&lt;br /&gt;
#USB A-B cord, i.e. printer cable, which doesn&#039;t suck&lt;br /&gt;
#Solid state relays -- we used [http://www.clare.com/home/pdfs.nsf/www/LBA110.pdf/$file/LBA110.pdf] this one.  --This should move to custom parts and off the wishlist (JS 4-20).&lt;br /&gt;
#Stuff to cut&lt;br /&gt;
##1/8&amp;quot; Baltic birch plywood&lt;br /&gt;
##Plastic sheets, e.g. acrylic&lt;br /&gt;
##Masonite?&lt;br /&gt;
#Cabinet reinforcements&lt;br /&gt;
##dimensional lumber, e.g. 2x4, 2x2, 1x3&lt;br /&gt;
##unidirectional casters&lt;br /&gt;
#Cooling system stuff&lt;br /&gt;
##Distilled water&lt;br /&gt;
##Float switch&lt;br /&gt;
##Thermocouple or thermistor/RTD temperature sensor probe&lt;br /&gt;
##Radiator and fans&lt;br /&gt;
##Solidstate heat pump&lt;br /&gt;
##Working water fountain chiller (for future use on the 100W downstairs)&lt;br /&gt;
##PLC/Microcontroller with A/D inputs for temperature probe conditioning and temp display (advanced task)&lt;br /&gt;
#Green connectors for smoothieboard and laser powersupply [https://www.amazon.com/uxcell-Terminals-Pitch-Mount-Terminal/dp/B00E6Q4FE6/ref=sr_1_9?ie=UTF8&amp;amp;qid=1493691567&amp;amp;sr=8-9&amp;amp;keywords=pluggable+terminal+block+connector]&lt;br /&gt;
&lt;br /&gt;
==To-Do Tasks==&lt;br /&gt;
#Airflow switch housing&lt;br /&gt;
##manufacture&lt;br /&gt;
##install&lt;br /&gt;
#Coolant interlocks&lt;br /&gt;
##Level sensor&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Flow sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Temp sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
#Door switches&lt;br /&gt;
##wire up switches&lt;br /&gt;
#Chassis wiring&lt;br /&gt;
##Mount one of the terminal strips and wire up the safety switches&lt;br /&gt;
##Draw a wiring diagram of custom components and label/number the terminals&lt;br /&gt;
#CNC firing control - This svg file can be used to test run the laser: [[Laser circle test]]&lt;br /&gt;
##find firing signal on Smoothie board&lt;br /&gt;
##determine relay requirements&lt;br /&gt;
##purchase and receive relay&lt;br /&gt;
##install firing relay&lt;br /&gt;
#CNC power control&lt;br /&gt;
##find PWM power level control signal on Smoothie board - PWM duration 300us&lt;br /&gt;
##fabricate converter - breadboarded and bench tested&lt;br /&gt;
##install converter&lt;br /&gt;
#software&lt;br /&gt;
##determine best software to use&lt;br /&gt;
##develop workflows for various programs and operating systems&lt;br /&gt;
##update this page to explain the above&lt;br /&gt;
&lt;br /&gt;
==Completed Tasks==&lt;br /&gt;
If you do work on the laser, please record it here.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Task !! Fixer !! Date !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Create Wiki page || [[user:James|James]] || 3/24/2017 || Ongoing updates needed&lt;br /&gt;
|-&lt;br /&gt;
| Install operational exhaust system || James || 2/2017 || Still needs interlocks&lt;br /&gt;
|-&lt;br /&gt;
| Install cooling system || James || 2/2017 || Air cooling or refrigeration could be added&lt;br /&gt;
|-&lt;br /&gt;
| Connect control power supply to switched mains || James || 3/2017 || Done&lt;br /&gt;
|-&lt;br /&gt;
| Get x and y axis movements working || [[user:Tom|Tom]] || 3/2017 || Firing still needs to be fixed&lt;br /&gt;
|-&lt;br /&gt;
| Replaced cooling pump power cord plug || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed door closure bolts on left cabinet door || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed cutting chamber illumination LEDs and 12VDC powersupply || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Control + interlock circuits design/brainstorm session || James + Tom || 3/27/2017 || See webpages below for Smothieboard help&lt;br /&gt;
|-&lt;br /&gt;
| Mocked up and tested control circuit for PWM from smoothieboard || James + Tom || 3/27/2017 || http://smoothieware.org/laser-cutter-guide&lt;br /&gt;
|-&lt;br /&gt;
| Scoped out various pins on the smoothieboard to find PWM out || James + Tom || 3/27/2017 || http://smoothieware.org/smoothieboard-v1&lt;br /&gt;
|-&lt;br /&gt;
| Removed control panel || James || 3/30/17 || Don&#039;t mess with nothing until a new one gets installed!&lt;br /&gt;
|-&lt;br /&gt;
| Tried to 3d print a new control panel || James || 4/2/17 || Lulzbot Taz either didn&#039;t extrude or made bird poop. :( It&#039;s too bad we don&#039;t have a working laser cutter.&lt;br /&gt;
|-&lt;br /&gt;
| Adjusted program size parameters based on failed print and added ammeter mounting screw holes to control panel design || James || 4/11/17 || Still need to upload new SVG here and print it&lt;br /&gt;
|-&lt;br /&gt;
| Ordered self adhesive cable tie mounting squares and SSR for PWM-&amp;gt; DC || Tom || 4/11/17 || Delivery expected Thursday&lt;br /&gt;
|-&lt;br /&gt;
| Design 3d-printed mounting bracket/clip to hold switches for door interlocks || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Design, breadboard and test PWM circuit with solid state relay and newly determined time constant || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded exhaust nozzle and exhaust flow switch scad files || James || 4/20/17 || Flow switch needs printing and Tom&#039;s nacelle needs dimension tweeking.&lt;br /&gt;
|-&lt;br /&gt;
| Tried printing control panel on the Ultimaker&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; || James || 4/25/17 || Print failed twice, but third time looked good before I left.&lt;br /&gt;
|-&lt;br /&gt;
| Installed control panel 3d printed on Tuesday || James || 4/27/17 || Controls and indicators are installed but not operational, yet.  It looks sweet! Could be thicker, maybe 4mm.  Dimensions could use tweeking too: toggle switches moved down, corner radii reduced,...&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded source code and stl for water level float switch and for terminal block holders.  Installed v5 of door switch holder and soldered wires to switches. || James || 5/1/17 || Still need to print float switch parts and terminal block holders. New parts fit well. A very productive day overall.&lt;br /&gt;
|-&lt;br /&gt;
| Installed terminal block with manually modified v1 terminal block holder parts.  Wired up cutting chamber and control chamber door safety switches.  Connected laser power supply wiring to new control panel switches. || James || 5/4/17 || Need to adjust terminal block holder dimensions and reprint.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded v2 source code and stl for terminal block holder. || James || 5/5/17 || Need to print float switch parts and terminal block holders.&lt;br /&gt;
|-&lt;br /&gt;
| Printed and installed new terminal block holders (v2). Printed new air flow switch and water level float switch head and base. Remodeled exhaust header. || James || 5/6/17 || Holders fit great.  Base, not so much.&lt;br /&gt;
|-&lt;br /&gt;
| Reprinted water level float switch base. Investigated PWM output from Smoothieboard. || Tom &amp;amp; James || 5/7/17 || Pin 4.2 and GND work for PWM signal.  PWM to DC breadboard isn&#039;t working. Laser power supply 5V circuit for safety switches doesn&#039;t have enough current to illuminate the trouble lamps on front panel.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Equipment]]&lt;br /&gt;
[[Category:LaserCutter]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:Ongoing Projects]]&lt;br /&gt;
[[Category:Project Awesome]]&lt;br /&gt;
[[Category:CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13309</id>
		<title>Cheap Chinese Laser</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13309"/>
		<updated>2017-05-08T03:44:33Z</updated>

		<summary type="html">&lt;p&gt;James: added 5/7&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cheap Chinese Laser]]&lt;br /&gt;
&lt;br /&gt;
This is the page dealing with the [[Cheap Chinese Laser]] at [https://www.hacdc.org HacDC] in the upstairs room at St. Stephen and the Incarnate church in Washington, DC.  This page replaces [[PA LaserCutter]] page from some years ago.  It had high ideals, but poor execution.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
HacDC has a K40, 40W, CO2, water cooled, laser for CNC cutting of various materials, aka a cheap Chinese laser.  It allegedly used to work just fine, but someone decided that wasn&#039;t good enough so she ordered and halfass installed some new parts that only halfass work.  After our intrepid hero, [[user:James|James]], fullyassed the installation of the new parts, the laser still only halfass worked.  [[user:Tom|Tom]] was railroaded into helping with the software, but even so the dynamic duo couldn&#039;t get the damn thing to work.  Then one day at work, boredom struck in a meeting and James had the idea to create this wiki page to guide others through the confusion and misinformation that plagues most equipment at HacDC and often results in subpar operation.  I beseech you, dear reader, to continue your edification on our topic at hand and become your own evil archvillain with laser powers.  (Sharks sold separately.)&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
===Chassis===&lt;br /&gt;
The chassis is the laser itself, the blue metal box with 3 flip up lids.  The main lid users deal with is for the cutting chamber on the left front of the machine.  It includes an orange plastic window.  The cutting chamber contains the transverse and longitudinal axes, aka x and y.  X goes left to right, and y goes back to front.  The material to be cut goes in this chamber.  The second flip up lid is for the controls and power supplies chamber.  This lid contains the front panel controls and indicators.  There are two control boards, the Smoothie board and the K40 ACR plug-and-play board which connects the Smoothie board to the machine hardware.  There are two power supplies as well, the control powersupply which is right below the control boards and the high-voltage (and I mean real high voltage, like around 15kV, not those nambypamby B.S. 120VAC &amp;quot;high voltage&amp;quot; warning labels) laser tube power supply which creates enough voltage to rip the electrons off the CO2 molecules and ionize them and cause them to emit coherent light when the electrons get back together with their matching CO2 ions.  For more about this exciting process, read a science book.  The third lid covers the laser tube chamber at the back of the chassis.  You don&#039;t really need to mess with these last two lids unless you are modifying the equipment or troubleshooting a failure.  All the lids have interlock switches and the laser will not fire if any one is open (unless you flip the override switch, in which case, it&#039;s your own darn fault for burning out your eye, as we say in Charlotte, &amp;quot;you did it to yourself&amp;quot;).&lt;br /&gt;
===Exhaust===&lt;br /&gt;
The exhaust system sucks smoke from the laser chassis cutting chamber and sends it outside through a window.  It was cobbled together using a fan and housing salvaged from a prior laser cutter and is mostly held together with zipties and metal duct tape.  Seriously.  I&#039;m not kidding.  Actual zipties and duct tape.  (I&#039;d like to give a shout-out to Home Depot for selling me the role of metal tape for only one cent.)  If any part of the whole laser system is going to crap out, this would be a good part to bet on.  It also uses 4&amp;quot; diameter (that&#039;s 105mm for those of you on the metric system) flexible metal clothes dryer exhaust duct to carry the exhaust gasses.  There are custom-made, 3d-printed transiton pieces at the back of the laser chassis which replace the original feeble exhaust system.  Read about them [[K40_Exhaust_Assembly|here]]&lt;br /&gt;
&lt;br /&gt;
===Cooling===&lt;br /&gt;
The cooling system presently consists of a 5 gallon pail in the roller cabinet with a submersible pump.  The water should be replaced with distilled.  (The pump power cord got a new plug.  It stays plugged in much better than the original cheap Chinese plug.)  If the water doesn&#039;t flow, the laser will burnout.  Sadness.  The cooling system presently only works based on the heat capacity of the water in the bucket.  Once the water heats up, you just need to wait for it to cool back down all by itself.  You can read about other people with more sophisticated refrigerated cooling systems, but this was quick and easy, like a virgin on prom night.  Julia has mentioned she&#039;s got some thermoelectric coolers in hiding for this project.  We&#039;ll cross that bridge when we get everything else running first.  The cooling system will have 3 interlocks: low water level, low flow, and high temperature.&lt;br /&gt;
&lt;br /&gt;
===Computer===&lt;br /&gt;
This is CNC equipment.  The first C is for Computer.  (No, not for cookie, but we often have cookies anyway.)  You need a computer with a USB port.  You need computer software.  I hope we can have a computer dedicated to the laser, but let&#039;s be real, that&#039;s not likely to happen.  I hope Tom will fill out this section.&lt;br /&gt;
===Cabinet===&lt;br /&gt;
The cabinet is what the chassis sits on.  The cabinet has wheels.  It&#039;s made of particle board and painted white.  The left door has upper and lower latches inside which hold it shut, so don&#039;t yank on it.  The cabinet houses the cooling system, the power strip which all the line voltage equipment plugs into: exhaust fan, cooling pump, laser chassis, 12V power supply (not yet installed).&lt;br /&gt;
&lt;br /&gt;
==Safety Interlocks==&lt;br /&gt;
&#039;&#039;&#039;None of these safeties are installed yet.&#039;&#039;&#039;  Don&#039;t go futzing around with stuff unless you know exactly what you are doing.  And tell James or Tom.&lt;br /&gt;
===Ventilation===&lt;br /&gt;
#Exhaust - If the exhaust fan isn&#039;t moving air, we don&#039;t want the laser to fire and make lots of smoke which would then fill the room&lt;br /&gt;
#Lens - Eventually we plan to install an air shroud nozzle around the laser lens to keep smoke from coating the lens and reducing cutting power.&lt;br /&gt;
===Coolant===&lt;br /&gt;
#Level - &lt;br /&gt;
#Flow&lt;br /&gt;
#Temp&lt;br /&gt;
===Doors===&lt;br /&gt;
#Cutting Chamber&lt;br /&gt;
#Control Chamber&lt;br /&gt;
#Laser Chamber - Probably not going to install this switch because the door is in back and control panel space is at a premium&lt;br /&gt;
#Cabinet - Probably not going to install this switch because there&#039;s not much harm in the cabinet and control panel space is at a premium&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
===Prestart===&lt;br /&gt;
#Come up with design&lt;br /&gt;
#Create SVG using software like [https://inkscape.org/ Inkscape]&lt;br /&gt;
#Upload SVG to computer&lt;br /&gt;
#Convert SVG to toolpath using software like [http://www.scorchworks.com/LaserDRW_extension/laserdrw_extension.html Laser Draw]&lt;br /&gt;
&lt;br /&gt;
===Startup===&lt;br /&gt;
#Roll cabinet out from under shelf&lt;br /&gt;
#Get extension cord out of cabinet and plug laser into extension cord and extension cord into live receptacle&lt;br /&gt;
#Turn on laser master power switch&lt;br /&gt;
#Close cabinet door&lt;br /&gt;
#Load material to be cut in laser cabinet&lt;br /&gt;
#Shut lid on cutting chamber&lt;br /&gt;
#Turn on laser cabinet power switch&lt;br /&gt;
===Operations===&lt;br /&gt;
#Ensure all safety interlocks are operable by checking indicator lights&lt;br /&gt;
#Run program without laser powered on to observe tool path and ensure material to be cut in properly arranged in the cutting chamber&lt;br /&gt;
#Run program with laser powered on to cut material&lt;br /&gt;
===Shutdown===&lt;br /&gt;
#Turn off laser chassis and master power switches&lt;br /&gt;
#Unplug laser and extension cord&lt;br /&gt;
#Coilup and store extension cord&lt;br /&gt;
#Shut cabinet door&lt;br /&gt;
#Roll cabinet back under the shelf&lt;br /&gt;
#Continue with your evil plans for world domination&lt;br /&gt;
&lt;br /&gt;
==Custom Wiring== &lt;br /&gt;
Julia had some LED strips she wanted installed.  We succeeded.  The illuminate when the main power is turned on.&lt;br /&gt;
[[File:Laser-leds1.jpg]]&lt;br /&gt;
&lt;br /&gt;
They are white LEDs but the orange laser viewing window colors them.&lt;br /&gt;
&lt;br /&gt;
[[File:Laser-leds2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sully really likes relays and discrete, analogue circuits, so he jimmied up a bunch of stuff to make it less likely for you to poke your eye out or burn out the laser.&lt;br /&gt;
The laser power supply from the factory takes input from 3 front panel controls: off-on laser switch, momentary-on laser switch, power control potentiometer knob.  The off-on switch was a cheap latching push button which was connected to the leftmost two terminals of the 6 terminal plug with black wires.  It was replaced with an off-on, metal, toggle switch on 3-23-17.  The middle two terminals of the block connect to the momentary on push button switch on the front panel which causes the laser to fire (when the left two terminals are shorted together by the toggle switch).  The right 3 terminals (which overlap with the right center terminal going to the push button switch) connect to the front panel potentiometer which controls the laser current.  Do not turn the knob to full clockwise, because increasing the laser firing current past a certain point doesn&#039;t provide any benefit and just reduces the tube lifespan.  The plan is to parallelize the push button firing switch with a solid-state relay controlled directly by the Smoothie board and bypassing the K40 ACR board (which was supposed to make the Smoothie board plug-and-play, but as mentioned earlier did a halfassed job).  The potentiometer will be connected to a 3PDT switch for computerized or manual power level control.  A PWM to DC circuit will do the automatic control and the original pot will remain for the manual control.&lt;br /&gt;
The safety interlocks are basically a whole bunch of microswitches in series so if any one of them gets tripped the left two pins of the power supply 6 pin connector won&#039;t be shorted together and the laser won&#039;t fire.  There&#039;s also a plan to have lights illuminate to show which safeties are operating properly or tripped.  Plus indicator lights are cool.  And for the remaining manual firing switches we plan on getting those flip-up red covers like in those military movies where they&#039;re firing nuclear missiles and stuff like that.  These would aid in troubleshooting, and look really cool, even if they are kinda spendy.  Man, this is really turning into a wall of text.  Someone should do something about this sometime.  Anyway, schematic drawings would go here, or links to them would go here.&lt;br /&gt;
&lt;br /&gt;
Terminal Block Connections&lt;br /&gt;
#Cutting chamber safety switch - common&lt;br /&gt;
#Cutting chamber safety switch - n.o.&lt;br /&gt;
#Cutting chamber safety switch - n.c.&lt;br /&gt;
#Control chamber safety switch - common&lt;br /&gt;
#Control chamber safety switch - n.o.&lt;br /&gt;
#Control chamber safety switch - n.c.&lt;br /&gt;
&lt;br /&gt;
==Custom Parts==&lt;br /&gt;
Images of custom parts like the exhaust nozzles and eventually a new control panel and source files for 3d printed or laser cut parts can go here.&lt;br /&gt;
&lt;br /&gt;
[[CCL front panel]]&lt;br /&gt;
&lt;br /&gt;
[[Air flow switch holder]]&lt;br /&gt;
&lt;br /&gt;
[[Exhaust nozzle]]&lt;br /&gt;
&lt;br /&gt;
[[Terminal block holder]]&lt;br /&gt;
&lt;br /&gt;
This image is colored for 3d printing using it as a height map: black=0mm, gray=1mm, white=2mm. 174mm wide, 184mm tall.&lt;br /&gt;
The SVG file was created by a Ruby program to modularize the positions and sizes of cutouts for switches, nobs, lamps, etc.&lt;br /&gt;
&lt;br /&gt;
[[file:Control-panel.png]]&lt;br /&gt;
&lt;br /&gt;
==Bill of Materials, a.k.a. Donation Wishlist, and Hardware Store Shopping List==&lt;br /&gt;
#Laser goggles&lt;br /&gt;
#USB A-B cord, i.e. printer cable, which doesn&#039;t suck&lt;br /&gt;
#Solid state relays -- we used [http://www.clare.com/home/pdfs.nsf/www/LBA110.pdf/$file/LBA110.pdf] this one.  --This should move to custom parts and off the wishlist (JS 4-20).&lt;br /&gt;
#Stuff to cut&lt;br /&gt;
##1/8&amp;quot; Baltic birch plywood&lt;br /&gt;
##Plastic sheets, e.g. acrylic&lt;br /&gt;
##Masonite?&lt;br /&gt;
#Cabinet reinforcements&lt;br /&gt;
##dimensional lumber, e.g. 2x4, 2x2, 1x3&lt;br /&gt;
##unidirectional casters&lt;br /&gt;
#Cooling system stuff&lt;br /&gt;
##Distilled water&lt;br /&gt;
##Float switch&lt;br /&gt;
##Thermocouple or thermistor/RTD temperature sensor probe&lt;br /&gt;
##Radiator and fans&lt;br /&gt;
##Solidstate heat pump&lt;br /&gt;
##Working water fountain chiller (for future use on the 100W downstairs)&lt;br /&gt;
##PLC/Microcontroller with A/D inputs for temperature probe conditioning and temp display (advanced task)&lt;br /&gt;
#Green connectors for smoothieboard and laser powersupply [https://www.amazon.com/uxcell-Terminals-Pitch-Mount-Terminal/dp/B00E6Q4FE6/ref=sr_1_9?ie=UTF8&amp;amp;qid=1493691567&amp;amp;sr=8-9&amp;amp;keywords=pluggable+terminal+block+connector]&lt;br /&gt;
&lt;br /&gt;
==To-Do Tasks==&lt;br /&gt;
#Airflow switch housing&lt;br /&gt;
##manufacture&lt;br /&gt;
##install&lt;br /&gt;
#Coolant interlocks&lt;br /&gt;
##Level sensor&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Flow sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Temp sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
#Door switches&lt;br /&gt;
##wire up switches&lt;br /&gt;
#Chassis wiring&lt;br /&gt;
##Mount one of the terminal strips and wire up the safety switches&lt;br /&gt;
##Draw a wiring diagram of custom components and label/number the terminals&lt;br /&gt;
#CNC firing control - This svg file can be used to test run the laser: [[Laser circle test]]&lt;br /&gt;
##find firing signal on Smoothie board&lt;br /&gt;
##determine relay requirements&lt;br /&gt;
##purchase and receive relay&lt;br /&gt;
##install firing relay&lt;br /&gt;
#CNC power control&lt;br /&gt;
##find PWM power level control signal on Smoothie board - PWM duration 300us&lt;br /&gt;
##fabricate converter - breadboarded and bench tested&lt;br /&gt;
##install converter&lt;br /&gt;
#software&lt;br /&gt;
##determine best software to use&lt;br /&gt;
##develop workflows for various programs and operating systems&lt;br /&gt;
##update this page to explain the above&lt;br /&gt;
&lt;br /&gt;
==Completed Tasks==&lt;br /&gt;
If you do work on the laser, please record it here.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Task !! Fixer !! Date !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Create Wiki page || [[user:James|James]] || 3/24/2017 || Ongoing updates needed&lt;br /&gt;
|-&lt;br /&gt;
| Install operational exhaust system || James || 2/2017 || Still needs interlocks&lt;br /&gt;
|-&lt;br /&gt;
| Install cooling system || James || 2/2017 || Air cooling or refrigeration could be added&lt;br /&gt;
|-&lt;br /&gt;
| Connect control power supply to switched mains || James || 3/2017 || Done&lt;br /&gt;
|-&lt;br /&gt;
| Get x and y axis movements working || [[user:Tom|Tom]] || 3/2017 || Firing still needs to be fixed&lt;br /&gt;
|-&lt;br /&gt;
| Replaced cooling pump power cord plug || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed door closure bolts on left cabinet door || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed cutting chamber illumination LEDs and 12VDC powersupply || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Control + interlock circuits design/brainstorm session || James + Tom || 3/27/2017 || See webpages below for Smothieboard help&lt;br /&gt;
|-&lt;br /&gt;
| Mocked up and tested control circuit for PWM from smoothieboard || James + Tom || 3/27/2017 || http://smoothieware.org/laser-cutter-guide&lt;br /&gt;
|-&lt;br /&gt;
| Scoped out various pins on the smoothieboard to find PWM out || James + Tom || 3/27/2017 || http://smoothieware.org/smoothieboard-v1&lt;br /&gt;
|-&lt;br /&gt;
| Removed control panel || James || 3/30/17 || Don&#039;t mess with nothing until a new one gets installed!&lt;br /&gt;
|-&lt;br /&gt;
| Tried to 3d print a new control panel || James || 4/2/17 || Lulzbot Taz either didn&#039;t extrude or made bird poop. :( It&#039;s too bad we don&#039;t have a working laser cutter.&lt;br /&gt;
|-&lt;br /&gt;
| Adjusted program size parameters based on failed print and added ammeter mounting screw holes to control panel design || James || 4/11/17 || Still need to upload new SVG here and print it&lt;br /&gt;
|-&lt;br /&gt;
| Ordered self adhesive cable tie mounting squares and SSR for PWM-&amp;gt; DC || Tom || 4/11/17 || Delivery expected Thursday&lt;br /&gt;
|-&lt;br /&gt;
| Design 3d-printed mounting bracket/clip to hold switches for door interlocks || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Design, breadboard and test PWM circuit with solid state relay and newly determined time constant || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded exhaust nozzle and exhaust flow switch scad files || James || 4/20/17 || Flow switch needs printing and Tom&#039;s nacelle needs dimension tweeking.&lt;br /&gt;
|-&lt;br /&gt;
| Tried printing control panel on the Ultimaker&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; || James || 4/25/17 || Print failed twice, but third time looked good before I left.&lt;br /&gt;
|-&lt;br /&gt;
| Installed control panel 3d printed on Tuesday || James || 4/27/17 || Controls and indicators are installed but not operational, yet.  It looks sweet! Could be thicker, maybe 4mm.  Dimensions could use tweeking too: toggle switches moved down, corner radii reduced,...&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded source code and stl for water level float switch and for terminal block holders.  Installed v5 of door switch holder and soldered wires to switches. || James || 5/1/17 || Still need to print float switch parts and terminal block holders. New parts fit well. A very productive day overall.&lt;br /&gt;
|-&lt;br /&gt;
| Installed terminal block with manually modified v1 terminal block holder parts.  Wired up cutting chamber and control chamber door safety switches.  Connected laser power supply wiring to new control panel switches. || James || 5/4/17 || Need to adjust terminal block holder dimensions and reprint.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded v2 source code and stl for terminal block holder. || James || 5/5/17 || Need to print float switch parts and terminal block holders.&lt;br /&gt;
|-&lt;br /&gt;
| Printed and installed new terminal block holders (v2). Printed new air flow switch and water level float switch head and base. Remodeled exhaust header. || James || 5/6/17 || Holders fit great.  Base, not so much.&lt;br /&gt;
|-&lt;br /&gt;
| Reprinted water level float switch base. Investigated PWM output from Smoothieboard. || Tom &amp;amp; James || 5/7/17 || Pin 4.2 and GND work for PWM signal.  PWM to DC breadboard isn&#039;t working.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Equipment]]&lt;br /&gt;
[[Category:LaserCutter]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:Ongoing Projects]]&lt;br /&gt;
[[Category:Project Awesome]]&lt;br /&gt;
[[Category:CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=File:Float-switch-base.stl&amp;diff=13308</id>
		<title>File:Float-switch-base.stl</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=File:Float-switch-base.stl&amp;diff=13308"/>
		<updated>2017-05-08T03:38:59Z</updated>

		<summary type="html">&lt;p&gt;James: James uploaded a new version of &amp;amp;quot;File:Float-switch-base.stl&amp;amp;quot;: Version 3.
Shortened thread sockets to 5 threads.
Added inlet chamfer to threads.
Added 0.5mm diameter tolerance to threads.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Base of cooling water level float switch.  Needs 1/4-20 all thread legs, or I could redesign it to use two packs of chopsticks.  Version 2.&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Float_switch&amp;diff=13307</id>
		<title>Float switch</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Float_switch&amp;diff=13307"/>
		<updated>2017-05-08T03:35:28Z</updated>

		<summary type="html">&lt;p&gt;James: v3 updated foot section to increase tolerance and socket to add inlet chamfer&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the source code for the float switch 3d printed parts for the water level detector for the [[Cheap Chinese Laser]].&lt;br /&gt;
It is made in two parts: the head and the base.&lt;br /&gt;
You also need 4 pieces of 1/4-20 all thread to connect the two of them and 8 nuts.&lt;br /&gt;
The base is internally threaded.  The head needs nuts top and bottom.  Washers would be good too.&lt;br /&gt;
&lt;br /&gt;
[[File:Float-switch-head.stl]] rendered on 5/1/2017&lt;br /&gt;
&lt;br /&gt;
[[File:Float-switch-base.stl]] rendered on 5/7/2017&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
low water level detector&lt;br /&gt;
safety interlock for cheap Chinese laser at Hac DC&lt;br /&gt;
This water level detector is a two piece assembly connected by threaded rod.  This model uses 1/4-20 rod.  The lower foot has a 40mm home in the bottom to insert a pingpong ball as the float.&lt;br /&gt;
James Sullivan&lt;br /&gt;
4-30-17&lt;br /&gt;
Mk 2 - calculated threads&lt;br /&gt;
OpenSCAD version 2015.03-1 &lt;br /&gt;
*/&lt;br /&gt;
ppbd=40;    //ping pong ball diameter&lt;br /&gt;
ppbw=2.7;   //ping pong ball weight in grams&lt;br /&gt;
shd=2;  //switch hole diameter&lt;br /&gt;
shp=10; //switch hole pitch, i.e. center to center spacing of mounting holes on microswitch&lt;br /&gt;
wlh=200;    //water level height&lt;br /&gt;
sbw=6;  //switch body width&lt;br /&gt;
nfw=4;  //nut face width, switch mounting nuts&lt;br /&gt;
nt=1;   //nut thickness, switch mounting nuts&lt;br /&gt;
thick=5;    //thickness&lt;br /&gt;
eps=0.1;    //epsilon&lt;br /&gt;
tol=0.5;    //tolerance&lt;br /&gt;
br=50;      //base radius&lt;br /&gt;
rod=25.4/4; //rod outer diameter&lt;br /&gt;
tpi=20;     //threads per inch&lt;br /&gt;
fph=25.4*5/tpi;//foot pillar height&lt;br /&gt;
bfw=ppbd+2*thick;  //base flange width&lt;br /&gt;
$fn=40; &lt;br /&gt;
function mod(num,den) = num - floor(num/den)*den; &lt;br /&gt;
//dimensions taken from Front Door Switch Holder&lt;br /&gt;
wr=4;			//wrench size for nuts width across flats&lt;br /&gt;
nh=1;			//nut height, depth of nut sockets&lt;br /&gt;
&lt;br /&gt;
//head&lt;br /&gt;
module head() {&lt;br /&gt;
    difference(){&lt;br /&gt;
        union(){&lt;br /&gt;
            for(angle=[45:90:315]){&lt;br /&gt;
                rotate([0,0,angle]) translate([ppbd/2+rod/2+tol,0,0]) cylinder(d=rod+thick*2,h=thick); //leg cylinders&lt;br /&gt;
            }&lt;br /&gt;
            cylinder(h=thick,r=ppbd/2+rod/2+tol-thick/2);&lt;br /&gt;
        }&lt;br /&gt;
        translate([0,0,-thick/2]) cylinder(h=thick*2,r=ppbd/2+rod/2+tol-3*thick/2);&lt;br /&gt;
        for(angle=[45:90:315]){&lt;br /&gt;
            rotate([0,0,angle]) translate([ppbd/2+rod/2+tol,0,-thick/2]) cylinder(d=rod,h=fph); //leg holes&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    translate([sbw/2,(ppbd+rod+tol-2*thick)/(-2),0]) cube([thick,ppbd+rod+tol-2*thick,thick]);&lt;br /&gt;
    translate([sbw/2,shp/2,thick]) difference(){ //switch mounting block, aligned with z-plane and x-plane, centered on y-plane&lt;br /&gt;
        translate([0,-shp/2-nfw,0]) color(&amp;quot;green&amp;quot;) cube([thick,shp+2*nfw,2*nfw]);&lt;br /&gt;
        for (y=[-shp/2,shp/2]) {&lt;br /&gt;
            translate([thick/2,y,nfw]) rotate([0,90,0]) cylinder(d=shd,h=thick*2,center=true);    //screw holes&lt;br /&gt;
            translate([sbw-nh,y,nfw]) union(){  //nut sockets&lt;br /&gt;
                for (ang=[0,120,240]) rotate([ang,0,0]) cube([nh*2,wr,wr/sqrt(3)],center=true);&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
        translate([sbw/2+thick,bfw/2-nfw-shp,nfw]) union(){  //center nut socket&lt;br /&gt;
            cube([nh*2,wr,wr/sqrt(3)],center=true);&lt;br /&gt;
            rotate([120,0,0]) cube([nh*2,wr,wr/sqrt(3)],center=true);&lt;br /&gt;
            rotate([240,0,0]) cube([nh*2,wr,wr/sqrt(3)],center=true);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
module socket(nd,tpi,tl,thick) {&lt;br /&gt;
    //nd = nominal diameter&lt;br /&gt;
    //tpi = threads per inch&lt;br /&gt;
    //tl = thread length&lt;br /&gt;
    ror=nd/2;       //rod outer radius&lt;br /&gt;
    pitch=25.4/tpi; //thread pitch in mm&lt;br /&gt;
    td=pitch*3/4;   //thread depth in mm&lt;br /&gt;
    rir=ror-td;     //rod inner radius&lt;br /&gt;
    sor=ror+thick;  //socket outer radius&lt;br /&gt;
    vert= [for (ang=[0:360/$fn:720]) ang&amp;lt;=45 ? [cos(ang),sin(ang)]*rir : ang&amp;lt;180 ? [cos(ang),sin(ang)]*(rir+td*(ang-45)/135) : ang&amp;lt;=225 ? [cos(ang),sin(ang)]*ror : ang&amp;lt;360 ?[cos(ang),sin(ang)]*(rir+td*(360-ang)/135) : [cos(ang),sin(ang)]*sor];&lt;br /&gt;
    path1=[for(p=[0:$fn]) mod(p,$fn) ];&lt;br /&gt;
    path2=[for(p=[0:$fn]) mod(p,$fn)+$fn ];&lt;br /&gt;
    difference(){&lt;br /&gt;
        linear_extrude(height=tl,center=false,convexivity=20,twist=tl/25.4*tpi*360){&lt;br /&gt;
            polygon(points=vert,paths=[path1,path2]);&lt;br /&gt;
        }&lt;br /&gt;
        translate([0,0,tl-ror*tan(30)]) cylinder(r2=ror,r1=0,h=ror*tan(30));  //inlet chamfer&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
//foot&lt;br /&gt;
module foot(){&lt;br /&gt;
    difference(){&lt;br /&gt;
        union(){&lt;br /&gt;
            translate([0,0,thick/2]) cube([ppbd+2*thick,ppbd+2*thick,thick],center=true);&lt;br /&gt;
            for (angle=[45:90:315]){&lt;br /&gt;
                rotate([0,0,angle]){&lt;br /&gt;
                    translate([ppbd/2+rod/2+tol,0,thick]) socket(rod,tpi,fph,thick);  //pillar&lt;br /&gt;
                    translate([0,-thick,0]) cube([br-thick,thick*2,thick]); //leg&lt;br /&gt;
                    translate([br-thick,0,0]) cylinder(r=thick,h=thick);    //foot&lt;br /&gt;
                }  //end rotate&lt;br /&gt;
            }  //end for&lt;br /&gt;
        }  //end union&lt;br /&gt;
        translate([0,0,-eps/2]) cylinder(d=ppbd+tol,h=fph+eps+thick); //ping pong ball entry&lt;br /&gt;
    }   //end difference&lt;br /&gt;
}   //end foot module&lt;br /&gt;
&lt;br /&gt;
foot();&lt;br /&gt;
//head();&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=File:Airflow-switch.stl&amp;diff=13306</id>
		<title>File:Airflow-switch.stl</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=File:Airflow-switch.stl&amp;diff=13306"/>
		<updated>2017-05-07T06:11:31Z</updated>

		<summary type="html">&lt;p&gt;James: added v2 problems&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Version 2 airflow switch holder for [[Cheap Chinese Laser]].&lt;br /&gt;
This model was created from the source code here [[Air flow switch holder]].&lt;br /&gt;
There are still problems with this design.  The flap doesn&#039;t clear the switch, the flap probably doesn&#039;t make enough torque to switch the switch, the axle holes are too small, and the switch mounting screws will run into the attached header.&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=File:Airflow-switch.stl&amp;diff=13305</id>
		<title>File:Airflow-switch.stl</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=File:Airflow-switch.stl&amp;diff=13305"/>
		<updated>2017-05-07T04:22:55Z</updated>

		<summary type="html">&lt;p&gt;James: James uploaded a new version of &amp;amp;quot;File:Airflow-switch.stl&amp;amp;quot;: adjusted filler block between switch and wafer to unblock hinge pin hole&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Version 2 airflow switch holder for [[Cheap Chinese Laser]].&lt;br /&gt;
This model was created from the source code here [[Air flow switch holder]].&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Air_flow_switch_holder&amp;diff=13304</id>
		<title>Air flow switch holder</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Air_flow_switch_holder&amp;diff=13304"/>
		<updated>2017-05-07T04:22:02Z</updated>

		<summary type="html">&lt;p&gt;James: adjusted height and position of filler block between switch holder and wafer flanges to unblock hinge pin hole&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the OpenSCAD code to create a wafer air flow sensor (and backflow preventer) to hold a microswitch to stop the laser from firing if the exhaust flow stops.  Dimensions have been set to match the exhaust nozzle.  The current version of the header doesn&#039;t quite match, even though the nozzle was reverse engineered from it.&lt;br /&gt;
&lt;br /&gt;
This was printed on 5/1 and it has some issues.  &lt;br /&gt;
#The arms which hold the switch body interfere with the flap plate.  &lt;br /&gt;
#The flap plate axis of rotation could be lowered to improve the balance.  &lt;br /&gt;
#The thickness of the wafer can be increased to reduce the warpage of the piece.&lt;br /&gt;
Model was redesigned on 5/5:&lt;br /&gt;
#Switch holder moved to side from top center&lt;br /&gt;
#Flap axis of rotation lowered&lt;br /&gt;
#Up arrow added&lt;br /&gt;
#Thickness increased from 3 to 5 mm&lt;br /&gt;
#Wire holes relocated 180°&lt;br /&gt;
You can find the stl file here [[File:Airflow-switch.stl]]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
exhaust airflow detector&lt;br /&gt;
safety interlock for cheap Chinese laser at Hac DC&lt;br /&gt;
This switch is a lug style wafer for insertion between the exhaust collector and the exhaust nozzle on the back of the laser chassis.&lt;br /&gt;
  When the exhaust fan is running and air is flowing the switch will operate to allow the laser to fire.  This switch is upstream of&lt;br /&gt;
  the exhaust fan so air will leak into the exhaust stream, not exhaust leaking out into room air.&lt;br /&gt;
James Sullivan&lt;br /&gt;
5-5-17, v2&lt;br /&gt;
OpenSCAD version 2015.03-1 &lt;br /&gt;
&lt;br /&gt;
--dimensions from mating exhaust nozzle--&lt;br /&gt;
nid=60;     //nozzle inner diameter&lt;br /&gt;
nod=80;     //nozzle outer diameter&lt;br /&gt;
mod=100;    //maximum outer diameter&lt;br /&gt;
sh=30;      //step height&lt;br /&gt;
sw=5;       //step width&lt;br /&gt;
oah=50;     //over-all height&lt;br /&gt;
tlw=3;      //top ledge width&lt;br /&gt;
bcd=46.8*2; //bolt circle diameter&lt;br /&gt;
bhd=3.6;    //bolt hole diameter&lt;br /&gt;
fw=12;      //foot width&lt;br /&gt;
fh=15;      //foot height&lt;br /&gt;
fod=108;    //foot outside dimension, from outside edge to outside edge&lt;br /&gt;
fid=(nid+nod)/2;//foot inside dimension, from inside edge to inside edge&lt;br /&gt;
*/&lt;br /&gt;
fid=60;  //flange inner diameter, same as nid&lt;br /&gt;
fod=80;  //flange outer diameter, same as nod&lt;br /&gt;
bhd=3.6; //bolt hole diameter&lt;br /&gt;
bcd=93.6;//bolt circle diameter&lt;br /&gt;
thick=5; //thickness of flange - originally 3, but warped when removing from printer bed&lt;br /&gt;
flap=3;  //thickness of flap - originally 3, but warped when removing from printer bed&lt;br /&gt;
hph=bhd*2;   //hinge pin height above center line, i.e. butterfly offset.  Reduce to make switch more sensitive.  Increse to make switch more stable. - originally 10&lt;br /&gt;
sfw=fid-thick*2; //switch flap width - originally sqrt(fid*fid-4*hph*hph)&lt;br /&gt;
shd=2;  //switch hole diameter&lt;br /&gt;
shp=10; //switch hole pitch, i.e. center to center spacing of mounting holes on microswitch&lt;br /&gt;
srh=12;  //switch roller height, i.e. height above switch hole centerline where switching action occurs&lt;br /&gt;
sbw=6;  //switch body width&lt;br /&gt;
nfw=5;  //nut face width&lt;br /&gt;
nt=1;   //nut thickness&lt;br /&gt;
$fn=80;&lt;br /&gt;
&lt;br /&gt;
difference(){ //wafer body&lt;br /&gt;
    union(){&lt;br /&gt;
        cylinder(d=fod,h=thick);    &lt;br /&gt;
        for(ang=[0,90]){&lt;br /&gt;
            rotate([0,0,ang]) hull(){  //lugs&lt;br /&gt;
                translate([bcd/2,0,0]) cylinder(d=3*bhd, h=thick);&lt;br /&gt;
                translate([-bcd/2,0,0]) cylinder(d=3*bhd, h=thick);&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
        translate([sfw/2+thick/2,0,thick]) rotate([-90,0,0]) cylinder(d1=shd*1.6,d2=0,h=shd*2);//up direction arrow head&lt;br /&gt;
        translate([sfw/2+thick/2,0,thick]) rotate([90,0,0]) cylinder(d=shd*0.8,h=shd*2); //up direction arrow shaft&lt;br /&gt;
    }&lt;br /&gt;
    translate([0,0,-thick/2]) intersection(){ //bore&lt;br /&gt;
        cylinder(d=fid, h=2*thick);           //circular top and bottom&lt;br /&gt;
        cube([sfw,fod,thick*4],true);         //vertical left and right&lt;br /&gt;
    }&lt;br /&gt;
    for (angle=[0:90:270]){ //bolt holes in lugs&lt;br /&gt;
        rotate([0,0,angle]) translate([bcd/2,0,-thick/2]) cylinder(d=bhd,h=thick*2);&lt;br /&gt;
    }&lt;br /&gt;
    for (angle=[235:5:245]){  //wire holes through flange&lt;br /&gt;
        translate([0,0,thick-flap/2]) rotate([0,90,angle]) cylinder(d=1,h=bcd/2);&lt;br /&gt;
    }&lt;br /&gt;
    translate([0,hph,flap/2]) rotate([0,90,0]) cylinder(d=1,h=bcd+4*bhd,center=true);  //hinge pin axle hole&lt;br /&gt;
} //end of wafer body&lt;br /&gt;
translate([-thick/2-sfw/2,0,flap/2+srh]){   //switch holder&lt;br /&gt;
    difference(){&lt;br /&gt;
        union(){&lt;br /&gt;
            cube([thick,shp+3*shd,3*shd],center=true);//mount flange&lt;br /&gt;
            color(&amp;quot;blue&amp;quot;) translate([0,0,-srh/2-flap/4+thick/2-3*shd/4]) cube([thick,shp+3*shd,srh+flap/2-thick-3*shd/2],center=true); //support for mount flange&lt;br /&gt;
            translate([-thick/2,0,-shd*2]) cylinder(d2=shd*1.6,d1=0,h=shd*2.0);//flow direction arrow head&lt;br /&gt;
            translate([-thick/2,0,-shd/2]) cylinder(d=shd*0.8,h=shd*2.0); //flow direction arrow shaft&lt;br /&gt;
        }&lt;br /&gt;
        for (dy=[-shp/2,shp/2]) {&lt;br /&gt;
            translate([0,dy,0]) rotate([0,90,0]) cylinder(d=shd,h=2*thick,center=true);   //bolt holes&lt;br /&gt;
            for (angle=[0:120:240]){&lt;br /&gt;
                translate([-thick/2,dy,0]) rotate([angle,0,0]) cube([nt*2,nfw,nfw/sqrt(3)],center=true); //nut sockets&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
translate([0,fid/2+bcd/2+bhd*2,0]) difference(){    //flap disk&lt;br /&gt;
    intersection(){   //bore&lt;br /&gt;
        cylinder(d=fid-0.5, h=flap);  //circular top and bottom&lt;br /&gt;
        cube([sfw-0.5,fod,flap*2],true);    //vertical left and right&lt;br /&gt;
    }&lt;br /&gt;
    translate([0,hph,flap/2]) rotate([0,90,0]) cylinder(d=1,h=bcd+4*bhd,center=true);  //hinge pin axis&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13303</id>
		<title>Cheap Chinese Laser</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13303"/>
		<updated>2017-05-07T04:19:43Z</updated>

		<summary type="html">&lt;p&gt;James: added terminal number listing&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cheap Chinese Laser]]&lt;br /&gt;
&lt;br /&gt;
This is the page dealing with the [[Cheap Chinese Laser]] at [https://www.hacdc.org HacDC] in the upstairs room at St. Stephen and the Incarnate church in Washington, DC.  This page replaces [[PA LaserCutter]] page from some years ago.  It had high ideals, but poor execution.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
HacDC has a K40, 40W, CO2, water cooled, laser for CNC cutting of various materials, aka a cheap Chinese laser.  It allegedly used to work just fine, but someone decided that wasn&#039;t good enough so she ordered and halfass installed some new parts that only halfass work.  After our intrepid hero, [[user:James|James]], fullyassed the installation of the new parts, the laser still only halfass worked.  [[user:Tom|Tom]] was railroaded into helping with the software, but even so the dynamic duo couldn&#039;t get the damn thing to work.  Then one day at work, boredom struck in a meeting and James had the idea to create this wiki page to guide others through the confusion and misinformation that plagues most equipment at HacDC and often results in subpar operation.  I beseech you, dear reader, to continue your edification on our topic at hand and become your own evil archvillain with laser powers.  (Sharks sold separately.)&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
===Chassis===&lt;br /&gt;
The chassis is the laser itself, the blue metal box with 3 flip up lids.  The main lid users deal with is for the cutting chamber on the left front of the machine.  It includes an orange plastic window.  The cutting chamber contains the transverse and longitudinal axes, aka x and y.  X goes left to right, and y goes back to front.  The material to be cut goes in this chamber.  The second flip up lid is for the controls and power supplies chamber.  This lid contains the front panel controls and indicators.  There are two control boards, the Smoothie board and the K40 ACR plug-and-play board which connects the Smoothie board to the machine hardware.  There are two power supplies as well, the control powersupply which is right below the control boards and the high-voltage (and I mean real high voltage, like around 15kV, not those nambypamby B.S. 120VAC &amp;quot;high voltage&amp;quot; warning labels) laser tube power supply which creates enough voltage to rip the electrons off the CO2 molecules and ionize them and cause them to emit coherent light when the electrons get back together with their matching CO2 ions.  For more about this exciting process, read a science book.  The third lid covers the laser tube chamber at the back of the chassis.  You don&#039;t really need to mess with these last two lids unless you are modifying the equipment or troubleshooting a failure.  All the lids have interlock switches and the laser will not fire if any one is open (unless you flip the override switch, in which case, it&#039;s your own darn fault for burning out your eye, as we say in Charlotte, &amp;quot;you did it to yourself&amp;quot;).&lt;br /&gt;
===Exhaust===&lt;br /&gt;
The exhaust system sucks smoke from the laser chassis cutting chamber and sends it outside through a window.  It was cobbled together using a fan and housing salvaged from a prior laser cutter and is mostly held together with zipties and metal duct tape.  Seriously.  I&#039;m not kidding.  Actual zipties and duct tape.  (I&#039;d like to give a shout-out to Home Depot for selling me the role of metal tape for only one cent.)  If any part of the whole laser system is going to crap out, this would be a good part to bet on.  It also uses 4&amp;quot; diameter (that&#039;s 105mm for those of you on the metric system) flexible metal clothes dryer exhaust duct to carry the exhaust gasses.  There are custom-made, 3d-printed transiton pieces at the back of the laser chassis which replace the original feeble exhaust system.  Read about them [[K40_Exhaust_Assembly|here]]&lt;br /&gt;
&lt;br /&gt;
===Cooling===&lt;br /&gt;
The cooling system presently consists of a 5 gallon pail in the roller cabinet with a submersible pump.  The water should be replaced with distilled.  (The pump power cord got a new plug.  It stays plugged in much better than the original cheap Chinese plug.)  If the water doesn&#039;t flow, the laser will burnout.  Sadness.  The cooling system presently only works based on the heat capacity of the water in the bucket.  Once the water heats up, you just need to wait for it to cool back down all by itself.  You can read about other people with more sophisticated refrigerated cooling systems, but this was quick and easy, like a virgin on prom night.  Julia has mentioned she&#039;s got some thermoelectric coolers in hiding for this project.  We&#039;ll cross that bridge when we get everything else running first.  The cooling system will have 3 interlocks: low water level, low flow, and high temperature.&lt;br /&gt;
&lt;br /&gt;
===Computer===&lt;br /&gt;
This is CNC equipment.  The first C is for Computer.  (No, not for cookie, but we often have cookies anyway.)  You need a computer with a USB port.  You need computer software.  I hope we can have a computer dedicated to the laser, but let&#039;s be real, that&#039;s not likely to happen.  I hope Tom will fill out this section.&lt;br /&gt;
===Cabinet===&lt;br /&gt;
The cabinet is what the chassis sits on.  The cabinet has wheels.  It&#039;s made of particle board and painted white.  The left door has upper and lower latches inside which hold it shut, so don&#039;t yank on it.  The cabinet houses the cooling system, the power strip which all the line voltage equipment plugs into: exhaust fan, cooling pump, laser chassis, 12V power supply (not yet installed).&lt;br /&gt;
&lt;br /&gt;
==Safety Interlocks==&lt;br /&gt;
&#039;&#039;&#039;None of these safeties are installed yet.&#039;&#039;&#039;  Don&#039;t go futzing around with stuff unless you know exactly what you are doing.  And tell James or Tom.&lt;br /&gt;
===Ventilation===&lt;br /&gt;
#Exhaust - If the exhaust fan isn&#039;t moving air, we don&#039;t want the laser to fire and make lots of smoke which would then fill the room&lt;br /&gt;
#Lens - Eventually we plan to install an air shroud nozzle around the laser lens to keep smoke from coating the lens and reducing cutting power.&lt;br /&gt;
===Coolant===&lt;br /&gt;
#Level - &lt;br /&gt;
#Flow&lt;br /&gt;
#Temp&lt;br /&gt;
===Doors===&lt;br /&gt;
#Cutting Chamber&lt;br /&gt;
#Control Chamber&lt;br /&gt;
#Laser Chamber - Probably not going to install this switch because the door is in back and control panel space is at a premium&lt;br /&gt;
#Cabinet - Probably not going to install this switch because there&#039;s not much harm in the cabinet and control panel space is at a premium&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
===Prestart===&lt;br /&gt;
#Come up with design&lt;br /&gt;
#Create SVG using software like [https://inkscape.org/ Inkscape]&lt;br /&gt;
#Upload SVG to computer&lt;br /&gt;
#Convert SVG to toolpath using software like [http://www.scorchworks.com/LaserDRW_extension/laserdrw_extension.html Laser Draw]&lt;br /&gt;
&lt;br /&gt;
===Startup===&lt;br /&gt;
#Roll cabinet out from under shelf&lt;br /&gt;
#Get extension cord out of cabinet and plug laser into extension cord and extension cord into live receptacle&lt;br /&gt;
#Turn on laser master power switch&lt;br /&gt;
#Close cabinet door&lt;br /&gt;
#Load material to be cut in laser cabinet&lt;br /&gt;
#Shut lid on cutting chamber&lt;br /&gt;
#Turn on laser cabinet power switch&lt;br /&gt;
===Operations===&lt;br /&gt;
#Ensure all safety interlocks are operable by checking indicator lights&lt;br /&gt;
#Run program without laser powered on to observe tool path and ensure material to be cut in properly arranged in the cutting chamber&lt;br /&gt;
#Run program with laser powered on to cut material&lt;br /&gt;
===Shutdown===&lt;br /&gt;
#Turn off laser chassis and master power switches&lt;br /&gt;
#Unplug laser and extension cord&lt;br /&gt;
#Coilup and store extension cord&lt;br /&gt;
#Shut cabinet door&lt;br /&gt;
#Roll cabinet back under the shelf&lt;br /&gt;
#Continue with your evil plans for world domination&lt;br /&gt;
&lt;br /&gt;
==Custom Wiring== &lt;br /&gt;
Julia had some LED strips she wanted installed.  We succeeded.  The illuminate when the main power is turned on.&lt;br /&gt;
[[File:Laser-leds1.jpg]]&lt;br /&gt;
&lt;br /&gt;
They are white LEDs but the orange laser viewing window colors them.&lt;br /&gt;
&lt;br /&gt;
[[File:Laser-leds2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sully really likes relays and discrete, analogue circuits, so he jimmied up a bunch of stuff to make it less likely for you to poke your eye out or burn out the laser.&lt;br /&gt;
The laser power supply from the factory takes input from 3 front panel controls: off-on laser switch, momentary-on laser switch, power control potentiometer knob.  The off-on switch was a cheap latching push button which was connected to the leftmost two terminals of the 6 terminal plug with black wires.  It was replaced with an off-on, metal, toggle switch on 3-23-17.  The middle two terminals of the block connect to the momentary on push button switch on the front panel which causes the laser to fire (when the left two terminals are shorted together by the toggle switch).  The right 3 terminals (which overlap with the right center terminal going to the push button switch) connect to the front panel potentiometer which controls the laser current.  Do not turn the knob to full clockwise, because increasing the laser firing current past a certain point doesn&#039;t provide any benefit and just reduces the tube lifespan.  The plan is to parallelize the push button firing switch with a solid-state relay controlled directly by the Smoothie board and bypassing the K40 ACR board (which was supposed to make the Smoothie board plug-and-play, but as mentioned earlier did a halfassed job).  The potentiometer will be connected to a 3PDT switch for computerized or manual power level control.  A PWM to DC circuit will do the automatic control and the original pot will remain for the manual control.&lt;br /&gt;
The safety interlocks are basically a whole bunch of microswitches in series so if any one of them gets tripped the left two pins of the power supply 6 pin connector won&#039;t be shorted together and the laser won&#039;t fire.  There&#039;s also a plan to have lights illuminate to show which safeties are operating properly or tripped.  Plus indicator lights are cool.  And for the remaining manual firing switches we plan on getting those flip-up red covers like in those military movies where they&#039;re firing nuclear missiles and stuff like that.  These would aid in troubleshooting, and look really cool, even if they are kinda spendy.  Man, this is really turning into a wall of text.  Someone should do something about this sometime.  Anyway, schematic drawings would go here, or links to them would go here.&lt;br /&gt;
&lt;br /&gt;
Terminal Block Connections&lt;br /&gt;
#Cutting chamber safety switch - common&lt;br /&gt;
#Cutting chamber safety switch - n.o.&lt;br /&gt;
#Cutting chamber safety switch - n.c.&lt;br /&gt;
#Control chamber safety switch - common&lt;br /&gt;
#Control chamber safety switch - n.o.&lt;br /&gt;
#Control chamber safety switch - n.c.&lt;br /&gt;
&lt;br /&gt;
==Custom Parts==&lt;br /&gt;
Images of custom parts like the exhaust nozzles and eventually a new control panel and source files for 3d printed or laser cut parts can go here.&lt;br /&gt;
&lt;br /&gt;
[[CCL front panel]]&lt;br /&gt;
&lt;br /&gt;
[[Air flow switch holder]]&lt;br /&gt;
&lt;br /&gt;
[[Exhaust nozzle]]&lt;br /&gt;
&lt;br /&gt;
[[Terminal block holder]]&lt;br /&gt;
&lt;br /&gt;
This image is colored for 3d printing using it as a height map: black=0mm, gray=1mm, white=2mm. 174mm wide, 184mm tall.&lt;br /&gt;
The SVG file was created by a Ruby program to modularize the positions and sizes of cutouts for switches, nobs, lamps, etc.&lt;br /&gt;
&lt;br /&gt;
[[file:Control-panel.png]]&lt;br /&gt;
&lt;br /&gt;
==Bill of Materials, a.k.a. Donation Wishlist, and Hardware Store Shopping List==&lt;br /&gt;
#Laser goggles&lt;br /&gt;
#USB A-B cord, i.e. printer cable, which doesn&#039;t suck&lt;br /&gt;
#Solid state relays -- we used [http://www.clare.com/home/pdfs.nsf/www/LBA110.pdf/$file/LBA110.pdf] this one.  --This should move to custom parts and off the wishlist (JS 4-20).&lt;br /&gt;
#Stuff to cut&lt;br /&gt;
##1/8&amp;quot; Baltic birch plywood&lt;br /&gt;
##Plastic sheets, e.g. acrylic&lt;br /&gt;
##Masonite?&lt;br /&gt;
#Cabinet reinforcements&lt;br /&gt;
##dimensional lumber, e.g. 2x4, 2x2, 1x3&lt;br /&gt;
##unidirectional casters&lt;br /&gt;
#Cooling system stuff&lt;br /&gt;
##Distilled water&lt;br /&gt;
##Float switch&lt;br /&gt;
##Thermocouple or thermistor/RTD temperature sensor probe&lt;br /&gt;
##Radiator and fans&lt;br /&gt;
##Solidstate heat pump&lt;br /&gt;
##Working water fountain chiller (for future use on the 100W downstairs)&lt;br /&gt;
##PLC/Microcontroller with A/D inputs for temperature probe conditioning and temp display (advanced task)&lt;br /&gt;
#Green connectors for smoothieboard and laser powersupply [https://www.amazon.com/uxcell-Terminals-Pitch-Mount-Terminal/dp/B00E6Q4FE6/ref=sr_1_9?ie=UTF8&amp;amp;qid=1493691567&amp;amp;sr=8-9&amp;amp;keywords=pluggable+terminal+block+connector]&lt;br /&gt;
&lt;br /&gt;
==To-Do Tasks==&lt;br /&gt;
#Airflow switch housing&lt;br /&gt;
##manufacture&lt;br /&gt;
##install&lt;br /&gt;
#Coolant interlocks&lt;br /&gt;
##Level sensor&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Flow sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Temp sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
#Door switches&lt;br /&gt;
##wire up switches&lt;br /&gt;
#Chassis wiring&lt;br /&gt;
##Mount one of the terminal strips and wire up the safety switches&lt;br /&gt;
##Draw a wiring diagram of custom components and label/number the terminals&lt;br /&gt;
#CNC firing control - This svg file can be used to test run the laser: [[Laser circle test]]&lt;br /&gt;
##find firing signal on Smoothie board&lt;br /&gt;
##determine relay requirements&lt;br /&gt;
##purchase and receive relay&lt;br /&gt;
##install firing relay&lt;br /&gt;
#CNC power control&lt;br /&gt;
##find PWM power level control signal on Smoothie board - PWM duration 300us&lt;br /&gt;
##fabricate converter - breadboarded and bench tested&lt;br /&gt;
##install converter&lt;br /&gt;
#software&lt;br /&gt;
##determine best software to use&lt;br /&gt;
##develop workflows for various programs and operating systems&lt;br /&gt;
##update this page to explain the above&lt;br /&gt;
&lt;br /&gt;
==Completed Tasks==&lt;br /&gt;
If you do work on the laser, please record it here.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Task !! Fixer !! Date !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Create Wiki page || [[user:James|James]] || 3/24/2017 || Ongoing updates needed&lt;br /&gt;
|-&lt;br /&gt;
| Install operational exhaust system || James || 2/2017 || Still needs interlocks&lt;br /&gt;
|-&lt;br /&gt;
| Install cooling system || James || 2/2017 || Air cooling or refrigeration could be added&lt;br /&gt;
|-&lt;br /&gt;
| Connect control power supply to switched mains || James || 3/2017 || Done&lt;br /&gt;
|-&lt;br /&gt;
| Get x and y axis movements working || [[user:Tom|Tom]] || 3/2017 || Firing still needs to be fixed&lt;br /&gt;
|-&lt;br /&gt;
| Replaced cooling pump power cord plug || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed door closure bolts on left cabinet door || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed cutting chamber illumination LEDs and 12VDC powersupply || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Control + interlock circuits design/brainstorm session || James + Tom || 3/27/2017 || See webpages below for Smothieboard help&lt;br /&gt;
|-&lt;br /&gt;
| Mocked up and tested control circuit for PWM from smoothieboard || James + Tom || 3/27/2017 || http://smoothieware.org/laser-cutter-guide&lt;br /&gt;
|-&lt;br /&gt;
| Scoped out various pins on the smoothieboard to find PWM out || James + Tom || 3/27/2017 || http://smoothieware.org/smoothieboard-v1&lt;br /&gt;
|-&lt;br /&gt;
| Removed control panel || James || 3/30/17 || Don&#039;t mess with nothing until a new one gets installed!&lt;br /&gt;
|-&lt;br /&gt;
| Tried to 3d print a new control panel || James || 4/2/17 || Lulzbot Taz either didn&#039;t extrude or made bird poop. :( It&#039;s too bad we don&#039;t have a working laser cutter.&lt;br /&gt;
|-&lt;br /&gt;
| Adjusted program size parameters based on failed print and added ammeter mounting screw holes to control panel design || James || 4/11/17 || Still need to upload new SVG here and print it&lt;br /&gt;
|-&lt;br /&gt;
| Ordered self adhesive cable tie mounting squares and SSR for PWM-&amp;gt; DC || Tom || 4/11/17 || Delivery expected Thursday&lt;br /&gt;
|-&lt;br /&gt;
| Design 3d-printed mounting bracket/clip to hold switches for door interlocks || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Design, breadboard and test PWM circuit with solid state relay and newly determined time constant || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded exhaust nozzle and exhaust flow switch scad files || James || 4/20/17 || Flow switch needs printing and Tom&#039;s nacelle needs dimension tweeking.&lt;br /&gt;
|-&lt;br /&gt;
| Tried printing control panel on the Ultimaker&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; || James || 4/25/17 || Print failed twice, but third time looked good before I left.&lt;br /&gt;
|-&lt;br /&gt;
| Installed control panel 3d printed on Tuesday || James || 4/27/17 || Controls and indicators are installed but not operational, yet.  It looks sweet! Could be thicker, maybe 4mm.  Dimensions could use tweeking too: toggle switches moved down, corner radii reduced,...&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded source code and stl for water level float switch and for terminal block holders.  Installed v5 of door switch holder and soldered wires to switches. || James || 5/1/17 || Still need to print float switch parts and terminal block holders. New parts fit well. A very productive day overall.&lt;br /&gt;
|-&lt;br /&gt;
| Installed terminal block with manually modified v1 terminal block holder parts.  Wired up cutting chamber and control chamber door safety switches.  Connected laser power supply wiring to new control panel switches. || James || 5/4/17 || Need to adjust terminal block holder dimensions and reprint.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded v2 source code and stl for terminal block holder. || James || 5/5/17 || Need to print float switch parts and terminal block holders.&lt;br /&gt;
|-&lt;br /&gt;
| Printed and installed new terminal block holders (v2). Printed new air flow switch. Remodeled exhaust header. || James || 5/6/17 || Holders fit great.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Equipment]]&lt;br /&gt;
[[Category:LaserCutter]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:Ongoing Projects]]&lt;br /&gt;
[[Category:Project Awesome]]&lt;br /&gt;
[[Category:CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13299</id>
		<title>Cheap Chinese Laser</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13299"/>
		<updated>2017-05-07T02:09:56Z</updated>

		<summary type="html">&lt;p&gt;James: 5/6 update&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cheap Chinese Laser]]&lt;br /&gt;
&lt;br /&gt;
This is the page dealing with the [[Cheap Chinese Laser]] at [https://www.hacdc.org HacDC] in the upstairs room at St. Stephen and the Incarnate church in Washington, DC.  This page replaces [[PA LaserCutter]] page from some years ago.  It had high ideals, but poor execution.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
HacDC has a K40, 40W, CO2, water cooled, laser for CNC cutting of various materials, aka a cheap Chinese laser.  It allegedly used to work just fine, but someone decided that wasn&#039;t good enough so she ordered and halfass installed some new parts that only halfass work.  After our intrepid hero, [[user:James|James]], fullyassed the installation of the new parts, the laser still only halfass worked.  [[user:Tom|Tom]] was railroaded into helping with the software, but even so the dynamic duo couldn&#039;t get the damn thing to work.  Then one day at work, boredom struck in a meeting and James had the idea to create this wiki page to guide others through the confusion and misinformation that plagues most equipment at HacDC and often results in subpar operation.  I beseech you, dear reader, to continue your edification on our topic at hand and become your own evil archvillain with laser powers.  (Sharks sold separately.)&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
===Chassis===&lt;br /&gt;
The chassis is the laser itself, the blue metal box with 3 flip up lids.  The main lid users deal with is for the cutting chamber on the left front of the machine.  It includes an orange plastic window.  The cutting chamber contains the transverse and longitudinal axes, aka x and y.  X goes left to right, and y goes back to front.  The material to be cut goes in this chamber.  The second flip up lid is for the controls and power supplies chamber.  This lid contains the front panel controls and indicators.  There are two control boards, the Smoothie board and the K40 ACR plug-and-play board which connects the Smoothie board to the machine hardware.  There are two power supplies as well, the control powersupply which is right below the control boards and the high-voltage (and I mean real high voltage, like around 15kV, not those nambypamby B.S. 120VAC &amp;quot;high voltage&amp;quot; warning labels) laser tube power supply which creates enough voltage to rip the electrons off the CO2 molecules and ionize them and cause them to emit coherent light when the electrons get back together with their matching CO2 ions.  For more about this exciting process, read a science book.  The third lid covers the laser tube chamber at the back of the chassis.  You don&#039;t really need to mess with these last two lids unless you are modifying the equipment or troubleshooting a failure.  All the lids have interlock switches and the laser will not fire if any one is open (unless you flip the override switch, in which case, it&#039;s your own darn fault for burning out your eye, as we say in Charlotte, &amp;quot;you did it to yourself&amp;quot;).&lt;br /&gt;
===Exhaust===&lt;br /&gt;
The exhaust system sucks smoke from the laser chassis cutting chamber and sends it outside through a window.  It was cobbled together using a fan and housing salvaged from a prior laser cutter and is mostly held together with zipties and metal duct tape.  Seriously.  I&#039;m not kidding.  Actual zipties and duct tape.  (I&#039;d like to give a shout-out to Home Depot for selling me the role of metal tape for only one cent.)  If any part of the whole laser system is going to crap out, this would be a good part to bet on.  It also uses 4&amp;quot; diameter (that&#039;s 105mm for those of you on the metric system) flexible metal clothes dryer exhaust duct to carry the exhaust gasses.  There are custom-made, 3d-printed transiton pieces at the back of the laser chassis which replace the original feeble exhaust system.  Read about them [[K40_Exhaust_Assembly|here]]&lt;br /&gt;
&lt;br /&gt;
===Cooling===&lt;br /&gt;
The cooling system presently consists of a 5 gallon pail in the roller cabinet with a submersible pump.  The water should be replaced with distilled.  (The pump power cord got a new plug.  It stays plugged in much better than the original cheap Chinese plug.)  If the water doesn&#039;t flow, the laser will burnout.  Sadness.  The cooling system presently only works based on the heat capacity of the water in the bucket.  Once the water heats up, you just need to wait for it to cool back down all by itself.  You can read about other people with more sophisticated refrigerated cooling systems, but this was quick and easy, like a virgin on prom night.  Julia has mentioned she&#039;s got some thermoelectric coolers in hiding for this project.  We&#039;ll cross that bridge when we get everything else running first.  The cooling system will have 3 interlocks: low water level, low flow, and high temperature.&lt;br /&gt;
&lt;br /&gt;
===Computer===&lt;br /&gt;
This is CNC equipment.  The first C is for Computer.  (No, not for cookie, but we often have cookies anyway.)  You need a computer with a USB port.  You need computer software.  I hope we can have a computer dedicated to the laser, but let&#039;s be real, that&#039;s not likely to happen.  I hope Tom will fill out this section.&lt;br /&gt;
===Cabinet===&lt;br /&gt;
The cabinet is what the chassis sits on.  The cabinet has wheels.  It&#039;s made of particle board and painted white.  The left door has upper and lower latches inside which hold it shut, so don&#039;t yank on it.  The cabinet houses the cooling system, the power strip which all the line voltage equipment plugs into: exhaust fan, cooling pump, laser chassis, 12V power supply (not yet installed).&lt;br /&gt;
&lt;br /&gt;
==Safety Interlocks==&lt;br /&gt;
&#039;&#039;&#039;None of these safeties are installed yet.&#039;&#039;&#039;  Don&#039;t go futzing around with stuff unless you know exactly what you are doing.  And tell James or Tom.&lt;br /&gt;
===Ventilation===&lt;br /&gt;
#Exhaust - If the exhaust fan isn&#039;t moving air, we don&#039;t want the laser to fire and make lots of smoke which would then fill the room&lt;br /&gt;
#Lens - Eventually we plan to install an air shroud nozzle around the laser lens to keep smoke from coating the lens and reducing cutting power.&lt;br /&gt;
===Coolant===&lt;br /&gt;
#Level - &lt;br /&gt;
#Flow&lt;br /&gt;
#Temp&lt;br /&gt;
===Doors===&lt;br /&gt;
#Cutting Chamber&lt;br /&gt;
#Control Chamber&lt;br /&gt;
#Laser Chamber - Probably not going to install this switch because the door is in back and control panel space is at a premium&lt;br /&gt;
#Cabinet - Probably not going to install this switch because there&#039;s not much harm in the cabinet and control panel space is at a premium&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
===Prestart===&lt;br /&gt;
#Come up with design&lt;br /&gt;
#Create SVG using software like [https://inkscape.org/ Inkscape]&lt;br /&gt;
#Upload SVG to computer&lt;br /&gt;
#Convert SVG to toolpath using software like [http://www.scorchworks.com/LaserDRW_extension/laserdrw_extension.html Laser Draw]&lt;br /&gt;
&lt;br /&gt;
===Startup===&lt;br /&gt;
#Roll cabinet out from under shelf&lt;br /&gt;
#Get extension cord out of cabinet and plug laser into extension cord and extension cord into live receptacle&lt;br /&gt;
#Turn on laser master power switch&lt;br /&gt;
#Close cabinet door&lt;br /&gt;
#Load material to be cut in laser cabinet&lt;br /&gt;
#Shut lid on cutting chamber&lt;br /&gt;
#Turn on laser cabinet power switch&lt;br /&gt;
===Operations===&lt;br /&gt;
#Ensure all safety interlocks are operable by checking indicator lights&lt;br /&gt;
#Run program without laser powered on to observe tool path and ensure material to be cut in properly arranged in the cutting chamber&lt;br /&gt;
#Run program with laser powered on to cut material&lt;br /&gt;
===Shutdown===&lt;br /&gt;
#Turn off laser chassis and master power switches&lt;br /&gt;
#Unplug laser and extension cord&lt;br /&gt;
#Coilup and store extension cord&lt;br /&gt;
#Shut cabinet door&lt;br /&gt;
#Roll cabinet back under the shelf&lt;br /&gt;
#Continue with your evil plans for world domination&lt;br /&gt;
&lt;br /&gt;
==Custom Wiring== &lt;br /&gt;
Julia had some LED strips she wanted installed.  We succeeded.  The illuminate when the main power is turned on.&lt;br /&gt;
[[File:Laser-leds1.jpg]]&lt;br /&gt;
&lt;br /&gt;
They are white LEDs but the orange laser viewing window colors them.&lt;br /&gt;
&lt;br /&gt;
[[File:Laser-leds2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sully really likes relays and discrete, analogue circuits, so he jimmied up a bunch of stuff to make it less likely for you to poke your eye out or burn out the laser.&lt;br /&gt;
The laser power supply from the factory takes input from 3 front panel controls: off-on laser switch, momentary-on laser switch, power control potentiometer knob.  The off-on switch was a cheap latching push button which was connected to the leftmost two terminals of the 6 terminal plug with black wires.  It was replaced with an off-on, metal, toggle switch on 3-23-17.  The middle two terminals of the block connect to the momentary on push button switch on the front panel which causes the laser to fire (when the left two terminals are shorted together by the toggle switch).  The right 3 terminals (which overlap with the right center terminal going to the push button switch) connect to the front panel potentiometer which controls the laser current.  Do not turn the knob to full clockwise, because increasing the laser firing current past a certain point doesn&#039;t provide any benefit and just reduces the tube lifespan.  The plan is to parallelize the push button firing switch with a solid-state relay controlled directly by the Smoothie board and bypassing the K40 ACR board (which was supposed to make the Smoothie board plug-and-play, but as mentioned earlier did a halfassed job).  The potentiometer will be connected to a 3PDT switch for computerized or manual power level control.  A PWM to DC circuit will do the automatic control and the original pot will remain for the manual control.&lt;br /&gt;
The safety interlocks are basically a whole bunch of microswitches in series so if any one of them gets tripped the left two pins of the power supply 6 pin connector won&#039;t be shorted together and the laser won&#039;t fire.  There&#039;s also a plan to have lights illuminate to show which safeties are operating properly or tripped.  Plus indicator lights are cool.  And for the remaining manual firing switches we plan on getting those flip-up red covers like in those military movies where they&#039;re firing nuclear missiles and stuff like that.  These would aid in troubleshooting, and look really cool, even if they are kinda spendy.  Man, this is really turning into a wall of text.  Someone should do something about this sometime.  Anyway, schematic drawings would go here, or links to them would go here.&lt;br /&gt;
&lt;br /&gt;
==Custom Parts==&lt;br /&gt;
Images of custom parts like the exhaust nozzles and eventually a new control panel and source files for 3d printed or laser cut parts can go here.&lt;br /&gt;
&lt;br /&gt;
[[CCL front panel]]&lt;br /&gt;
&lt;br /&gt;
[[Air flow switch holder]]&lt;br /&gt;
&lt;br /&gt;
[[Exhaust nozzle]]&lt;br /&gt;
&lt;br /&gt;
[[Terminal block holder]]&lt;br /&gt;
&lt;br /&gt;
This image is colored for 3d printing using it as a height map: black=0mm, gray=1mm, white=2mm. 174mm wide, 184mm tall.&lt;br /&gt;
The SVG file was created by a Ruby program to modularize the positions and sizes of cutouts for switches, nobs, lamps, etc.&lt;br /&gt;
&lt;br /&gt;
[[file:Control-panel.png]]&lt;br /&gt;
&lt;br /&gt;
==Bill of Materials, a.k.a. Donation Wishlist, and Hardware Store Shopping List==&lt;br /&gt;
#Laser goggles&lt;br /&gt;
#USB A-B cord, i.e. printer cable, which doesn&#039;t suck&lt;br /&gt;
#Solid state relays -- we used [http://www.clare.com/home/pdfs.nsf/www/LBA110.pdf/$file/LBA110.pdf] this one.  --This should move to custom parts and off the wishlist (JS 4-20).&lt;br /&gt;
#Stuff to cut&lt;br /&gt;
##1/8&amp;quot; Baltic birch plywood&lt;br /&gt;
##Plastic sheets, e.g. acrylic&lt;br /&gt;
##Masonite?&lt;br /&gt;
#Cabinet reinforcements&lt;br /&gt;
##dimensional lumber, e.g. 2x4, 2x2, 1x3&lt;br /&gt;
##unidirectional casters&lt;br /&gt;
#Cooling system stuff&lt;br /&gt;
##Distilled water&lt;br /&gt;
##Float switch&lt;br /&gt;
##Thermocouple or thermistor/RTD temperature sensor probe&lt;br /&gt;
##Radiator and fans&lt;br /&gt;
##Solidstate heat pump&lt;br /&gt;
##Working water fountain chiller (for future use on the 100W downstairs)&lt;br /&gt;
##PLC/Microcontroller with A/D inputs for temperature probe conditioning and temp display (advanced task)&lt;br /&gt;
#Green connectors for smoothieboard and laser powersupply [https://www.amazon.com/uxcell-Terminals-Pitch-Mount-Terminal/dp/B00E6Q4FE6/ref=sr_1_9?ie=UTF8&amp;amp;qid=1493691567&amp;amp;sr=8-9&amp;amp;keywords=pluggable+terminal+block+connector]&lt;br /&gt;
&lt;br /&gt;
==To-Do Tasks==&lt;br /&gt;
#Airflow switch housing&lt;br /&gt;
##manufacture&lt;br /&gt;
##install&lt;br /&gt;
#Coolant interlocks&lt;br /&gt;
##Level sensor&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Flow sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Temp sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
#Door switches&lt;br /&gt;
##wire up switches&lt;br /&gt;
#Chassis wiring&lt;br /&gt;
##Mount one of the terminal strips and wire up the safety switches&lt;br /&gt;
##Draw a wiring diagram of custom components and label/number the terminals&lt;br /&gt;
#CNC firing control - This svg file can be used to test run the laser: [[Laser circle test]]&lt;br /&gt;
##find firing signal on Smoothie board&lt;br /&gt;
##determine relay requirements&lt;br /&gt;
##purchase and receive relay&lt;br /&gt;
##install firing relay&lt;br /&gt;
#CNC power control&lt;br /&gt;
##find PWM power level control signal on Smoothie board - PWM duration 300us&lt;br /&gt;
##fabricate converter - breadboarded and bench tested&lt;br /&gt;
##install converter&lt;br /&gt;
#software&lt;br /&gt;
##determine best software to use&lt;br /&gt;
##develop workflows for various programs and operating systems&lt;br /&gt;
##update this page to explain the above&lt;br /&gt;
&lt;br /&gt;
==Completed Tasks==&lt;br /&gt;
If you do work on the laser, please record it here.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Task !! Fixer !! Date !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Create Wiki page || [[user:James|James]] || 3/24/2017 || Ongoing updates needed&lt;br /&gt;
|-&lt;br /&gt;
| Install operational exhaust system || James || 2/2017 || Still needs interlocks&lt;br /&gt;
|-&lt;br /&gt;
| Install cooling system || James || 2/2017 || Air cooling or refrigeration could be added&lt;br /&gt;
|-&lt;br /&gt;
| Connect control power supply to switched mains || James || 3/2017 || Done&lt;br /&gt;
|-&lt;br /&gt;
| Get x and y axis movements working || [[user:Tom|Tom]] || 3/2017 || Firing still needs to be fixed&lt;br /&gt;
|-&lt;br /&gt;
| Replaced cooling pump power cord plug || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed door closure bolts on left cabinet door || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed cutting chamber illumination LEDs and 12VDC powersupply || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Control + interlock circuits design/brainstorm session || James + Tom || 3/27/2017 || See webpages below for Smothieboard help&lt;br /&gt;
|-&lt;br /&gt;
| Mocked up and tested control circuit for PWM from smoothieboard || James + Tom || 3/27/2017 || http://smoothieware.org/laser-cutter-guide&lt;br /&gt;
|-&lt;br /&gt;
| Scoped out various pins on the smoothieboard to find PWM out || James + Tom || 3/27/2017 || http://smoothieware.org/smoothieboard-v1&lt;br /&gt;
|-&lt;br /&gt;
| Removed control panel || James || 3/30/17 || Don&#039;t mess with nothing until a new one gets installed!&lt;br /&gt;
|-&lt;br /&gt;
| Tried to 3d print a new control panel || James || 4/2/17 || Lulzbot Taz either didn&#039;t extrude or made bird poop. :( It&#039;s too bad we don&#039;t have a working laser cutter.&lt;br /&gt;
|-&lt;br /&gt;
| Adjusted program size parameters based on failed print and added ammeter mounting screw holes to control panel design || James || 4/11/17 || Still need to upload new SVG here and print it&lt;br /&gt;
|-&lt;br /&gt;
| Ordered self adhesive cable tie mounting squares and SSR for PWM-&amp;gt; DC || Tom || 4/11/17 || Delivery expected Thursday&lt;br /&gt;
|-&lt;br /&gt;
| Design 3d-printed mounting bracket/clip to hold switches for door interlocks || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Design, breadboard and test PWM circuit with solid state relay and newly determined time constant || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded exhaust nozzle and exhaust flow switch scad files || James || 4/20/17 || Flow switch needs printing and Tom&#039;s nacelle needs dimension tweeking.&lt;br /&gt;
|-&lt;br /&gt;
| Tried printing control panel on the Ultimaker&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; || James || 4/25/17 || Print failed twice, but third time looked good before I left.&lt;br /&gt;
|-&lt;br /&gt;
| Installed control panel 3d printed on Tuesday || James || 4/27/17 || Controls and indicators are installed but not operational, yet.  It looks sweet! Could be thicker, maybe 4mm.  Dimensions could use tweeking too: toggle switches moved down, corner radii reduced,...&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded source code and stl for water level float switch and for terminal block holders.  Installed v5 of door switch holder and soldered wires to switches. || James || 5/1/17 || Still need to print float switch parts and terminal block holders. New parts fit well. A very productive day overall.&lt;br /&gt;
|-&lt;br /&gt;
| Installed terminal block with manually modified v1 terminal block holder parts.  Wired up cutting chamber and control chamber door safety switches.  Connected laser power supply wiring to new control panel switches. || James || 5/4/17 || Need to adjust terminal block holder dimensions and reprint.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded v2 source code and stl for terminal block holder. || James || 5/5/17 || Need to print float switch parts and terminal block holders.&lt;br /&gt;
|-&lt;br /&gt;
| Printed and installed new terminal block holders (v2). Printed new air flow switch. Remodeled exhaust header. || James || 5/6/17 || Holders fit great.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Equipment]]&lt;br /&gt;
[[Category:LaserCutter]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:Ongoing Projects]]&lt;br /&gt;
[[Category:Project Awesome]]&lt;br /&gt;
[[Category:CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=File:Airflow-switch.stl&amp;diff=13298</id>
		<title>File:Airflow-switch.stl</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=File:Airflow-switch.stl&amp;diff=13298"/>
		<updated>2017-05-07T02:01:31Z</updated>

		<summary type="html">&lt;p&gt;James: James uploaded a new version of &amp;amp;quot;File:Airflow-switch.stl&amp;amp;quot;: changed height of switch screw holes and enlarged flow direction arrow&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Version 2 airflow switch holder for [[Cheap Chinese Laser]].&lt;br /&gt;
This model was created from the source code here [[Air flow switch holder]].&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Air_flow_switch_holder&amp;diff=13297</id>
		<title>Air flow switch holder</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Air_flow_switch_holder&amp;diff=13297"/>
		<updated>2017-05-07T01:51:52Z</updated>

		<summary type="html">&lt;p&gt;James: changed value of switch roller height (srh) and elevation of switch holder&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the OpenSCAD code to create a wafer air flow sensor (and backflow preventer) to hold a microswitch to stop the laser from firing if the exhaust flow stops.  Dimensions have been set to match the exhaust nozzle.  The current version of the header doesn&#039;t quite match, even though the nozzle was reverse engineered from it.&lt;br /&gt;
&lt;br /&gt;
This was printed on 5/1 and it has some issues.  &lt;br /&gt;
#The arms which hold the switch body interfere with the flap plate.  &lt;br /&gt;
#The flap plate axis of rotation could be lowered to improve the balance.  &lt;br /&gt;
#The thickness of the wafer can be increased to reduce the warpage of the piece.&lt;br /&gt;
Model was redesigned on 5/5:&lt;br /&gt;
#Switch holder moved to side from top center&lt;br /&gt;
#Flap axis of rotation lowered&lt;br /&gt;
#Up arrow added&lt;br /&gt;
#Thickness increased from 3 to 5 mm&lt;br /&gt;
#Wire holes relocated 180°&lt;br /&gt;
You can find the stl file here [[File:Airflow-switch.stl]]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
exhaust airflow detector&lt;br /&gt;
safety interlock for cheap Chinese laser at Hac DC&lt;br /&gt;
This switch is a lug style wafer for insertion between the exhaust collector and the exhaust nozzle on the back of the laser chassis.&lt;br /&gt;
  When the exhaust fan is running and air is flowing the switch will operate to allow the laser to fire.  This switch is upstream of&lt;br /&gt;
  the exhaust fan so air will leak into the exhaust stream, not exhaust leaking out into room air.&lt;br /&gt;
James Sullivan&lt;br /&gt;
5-5-17, v2&lt;br /&gt;
OpenSCAD version 2015.03-1 &lt;br /&gt;
&lt;br /&gt;
--dimensions from mating exhaust nozzle--&lt;br /&gt;
nid=60;     //nozzle inner diameter&lt;br /&gt;
nod=80;     //nozzle outer diameter&lt;br /&gt;
mod=100;    //maximum outer diameter&lt;br /&gt;
sh=30;      //step height&lt;br /&gt;
sw=5;       //step width&lt;br /&gt;
oah=50;     //over-all height&lt;br /&gt;
tlw=3;      //top ledge width&lt;br /&gt;
bcd=46.8*2; //bolt circle diameter&lt;br /&gt;
bhd=3.6;    //bolt hole diameter&lt;br /&gt;
fw=12;      //foot width&lt;br /&gt;
fh=15;      //foot height&lt;br /&gt;
fod=108;    //foot outside dimension, from outside edge to outside edge&lt;br /&gt;
fid=(nid+nod)/2;//foot inside dimension, from inside edge to inside edge&lt;br /&gt;
*/&lt;br /&gt;
fid=60;  //flange inner diameter, same as nid&lt;br /&gt;
fod=80;  //flange outer diameter, same as nod&lt;br /&gt;
bhd=3.6; //bolt hole diameter&lt;br /&gt;
bcd=93.6;//bolt circle diameter&lt;br /&gt;
thick=5; //thickness of flange - originally 3, but warped when removing from printer bed&lt;br /&gt;
flap=3;  //thickness of flap - originally 3, but warped when removing from printer bed&lt;br /&gt;
hph=bhd*2;   //hinge pin height above center line, i.e. butterfly offset.  Reduce to make switch more sensitive.  Increse to make switch more stable. - originally 10&lt;br /&gt;
sfw=fid-thick*2; //switch flap width - originally sqrt(fid*fid-4*hph*hph)&lt;br /&gt;
shd=2;  //switch hole diameter&lt;br /&gt;
shp=10; //switch hole pitch, i.e. center to center spacing of mounting holes on microswitch&lt;br /&gt;
srh=12;  //switch roller height, i.e. height above switch hole centerline where switching action occurs&lt;br /&gt;
sbw=6;  //switch body width&lt;br /&gt;
nfw=5;  //nut face width&lt;br /&gt;
nt=1;   //nut thickness&lt;br /&gt;
$fn=80;&lt;br /&gt;
&lt;br /&gt;
difference(){ //wafer body&lt;br /&gt;
    union(){&lt;br /&gt;
        cylinder(d=fod,h=thick);    &lt;br /&gt;
        for(ang=[0,90]){&lt;br /&gt;
            rotate([0,0,ang]) hull(){  //lugs&lt;br /&gt;
                translate([bcd/2,0,0]) cylinder(d=3*bhd, h=thick);&lt;br /&gt;
                translate([-bcd/2,0,0]) cylinder(d=3*bhd, h=thick);&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
        translate([sfw/2+thick/2,0,thick]) rotate([-90,0,0]) cylinder(d1=shd*1.6,d2=0,h=shd*2);//up direction arrow head&lt;br /&gt;
        translate([sfw/2+thick/2,0,thick]) rotate([90,0,0]) cylinder(d=shd*0.8,h=shd*2); //up direction arrow shaft&lt;br /&gt;
&lt;br /&gt;
    }&lt;br /&gt;
    translate([0,0,-thick/2]) intersection(){ //bore&lt;br /&gt;
        cylinder(d=fid, h=2*thick);           //circular top and bottom&lt;br /&gt;
        cube([sfw,fod,thick*4],true);         //vertical left and right&lt;br /&gt;
    }&lt;br /&gt;
    for (angle=[0:90:270]){ //bolt holes in lugs&lt;br /&gt;
        rotate([0,0,angle]) translate([bcd/2,0,-thick/2]) cylinder(d=bhd,h=thick*2);&lt;br /&gt;
    }&lt;br /&gt;
    for (angle=[235:5:245]){  //wire holes through flange&lt;br /&gt;
        translate([0,0,thick-flap/2]) rotate([0,90,angle]) cylinder(d=1,h=bcd/2);&lt;br /&gt;
    }&lt;br /&gt;
    translate([0,hph,flap/2]) rotate([0,90,0]) cylinder(d=1,h=bcd+4*bhd,center=true);  //hinge pin axle hole&lt;br /&gt;
} //end of wafer body&lt;br /&gt;
translate([-thick/2-sfw/2,0,flap/2+srh]){   //switch holder&lt;br /&gt;
    difference(){&lt;br /&gt;
        union(){&lt;br /&gt;
            cube([thick,shp+3*shd,3*shd],center=true);//mount flange&lt;br /&gt;
            color(&amp;quot;blue&amp;quot;) translate([0,0,-srh/2-shd/2]) cube([thick,shp+3*shd,srh],center=true); //support for mount flange&lt;br /&gt;
            translate([-thick/2,0,-shd*1.5]) cylinder(d2=shd*1.2,d1=0,h=shd*1.5);//flow direction arrow head&lt;br /&gt;
            translate([-thick/2,0,0]) cylinder(d=shd*0.6,h=shd*1.5); //flow direction arrow shaft&lt;br /&gt;
        }&lt;br /&gt;
        for (dy=[-shp/2,shp/2]) {&lt;br /&gt;
            translate([0,dy,0]) rotate([0,90,0]) cylinder(d=shd,h=2*thick,center=true);   //bolt holes&lt;br /&gt;
            for (angle=[0:120:240]){&lt;br /&gt;
                translate([-thick/2,dy,0]) rotate([angle,0,0]) cube([nt*2,nfw,nfw/sqrt(3)],center=true); //nut sockets&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
translate([0,fid/2+bcd/2+bhd*2,0]) difference(){    //flap disk&lt;br /&gt;
    intersection(){   //bore&lt;br /&gt;
        cylinder(d=fid-0.5, h=flap);  //circular top and bottom&lt;br /&gt;
        cube([sfw-0.5,fod,flap*2],true);    //vertical left and right&lt;br /&gt;
    }&lt;br /&gt;
    translate([0,hph,flap/2]) rotate([0,90,0]) cylinder(d=1,h=bcd+4*bhd,center=true);  //hinge pin axis&lt;br /&gt;
}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Air_flow_switch_holder&amp;diff=13293</id>
		<title>Air flow switch holder</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Air_flow_switch_holder&amp;diff=13293"/>
		<updated>2017-05-05T23:28:56Z</updated>

		<summary type="html">&lt;p&gt;James: added newlines to initial comment to prevent text running off the edge of the screen&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the OpenSCAD code to create a wafer air flow sensor (and backflow preventer) to hold a microswitch to stop the laser from firing if the exhaust flow stops.  Dimensions have been set to match the exhaust nozzle.  The current version of the header doesn&#039;t quite match, even though the nozzle was reverse engineered from it.&lt;br /&gt;
&lt;br /&gt;
This was printed on 5/1 and it has some issues.  &lt;br /&gt;
#The arms which hold the switch body interfere with the flap plate.  &lt;br /&gt;
#The flap plate axis of rotation could be lowered to improve the balance.  &lt;br /&gt;
#The thickness of the wafer can be increased to reduce the warpage of the piece.&lt;br /&gt;
Model was redesigned on 5/5:&lt;br /&gt;
#Switch holder moved to side from top center&lt;br /&gt;
#Flap axis of rotation lowered&lt;br /&gt;
#Up arrow added&lt;br /&gt;
#Thickness increased from 3 to 5 mm&lt;br /&gt;
#Wire holes relocated 180°&lt;br /&gt;
You can find the stl file here [[File:Airflow-switch.stl]]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
exhaust airflow detector&lt;br /&gt;
safety interlock for cheap Chinese laser at Hac DC&lt;br /&gt;
This switch is a lug style wafer for insertion between the exhaust collector and the exhaust nozzle on the back of the laser chassis.&lt;br /&gt;
  When the exhaust fan is running and air is flowing the switch will operate to allow the laser to fire.  This switch is upstream of&lt;br /&gt;
  the exhaust fan so air will leak into the exhaust stream, not exhaust leaking out into room air.&lt;br /&gt;
James Sullivan&lt;br /&gt;
5-5-17, v2&lt;br /&gt;
OpenSCAD version 2015.03-1 &lt;br /&gt;
&lt;br /&gt;
--dimensions from mating exhaust nozzle--&lt;br /&gt;
nid=60;     //nozzle inner diameter&lt;br /&gt;
nod=80;     //nozzle outer diameter&lt;br /&gt;
mod=100;    //maximum outer diameter&lt;br /&gt;
sh=30;      //step height&lt;br /&gt;
sw=5;       //step width&lt;br /&gt;
oah=50;     //over-all height&lt;br /&gt;
tlw=3;      //top ledge width&lt;br /&gt;
bcd=46.8*2; //bolt circle diameter&lt;br /&gt;
bhd=3.6;    //bolt hole diameter&lt;br /&gt;
fw=12;      //foot width&lt;br /&gt;
fh=15;      //foot height&lt;br /&gt;
fod=108;    //foot outside dimension, from outside edge to outside edge&lt;br /&gt;
fid=(nid+nod)/2;//foot inside dimension, from inside edge to inside edge&lt;br /&gt;
*/&lt;br /&gt;
fid=60;  //flange inner diameter, same as nid&lt;br /&gt;
fod=80;  //flange outer diameter, same as nod&lt;br /&gt;
bhd=3.6; //bolt hole diameter&lt;br /&gt;
bcd=93.6;//bolt circle diameter&lt;br /&gt;
thick=5; //thickness of flange - originally 3, but warped when removing from printer bed&lt;br /&gt;
flap=3;  //thickness of flap - originally 3, but warped when removing from printer bed&lt;br /&gt;
hph=bhd*2;   //hinge pin height above center line, i.e. butterfly offset.  Reduce to make switch more sensitive.  Increse to make switch more stable. - originally 10&lt;br /&gt;
sfw=fid-thick*2; //switch flap width - originally sqrt(fid*fid-4*hph*hph)&lt;br /&gt;
shd=2;  //switch hole diameter&lt;br /&gt;
shp=10; //switch hole pitch, i.e. center to center spacing of mounting holes on microswitch&lt;br /&gt;
srh=8;  //switch roller height, i.e. height above switch hole centerline where switching action occurs&lt;br /&gt;
sbw=6;  //switch body width&lt;br /&gt;
nfw=5;  //nut face width&lt;br /&gt;
nt=1;   //nut thickness&lt;br /&gt;
$fn=80;&lt;br /&gt;
&lt;br /&gt;
difference(){ //wafer body&lt;br /&gt;
    union(){&lt;br /&gt;
        cylinder(d=fod,h=thick);    &lt;br /&gt;
        for(ang=[0,90]){&lt;br /&gt;
            rotate([0,0,ang]) hull(){  //lugs&lt;br /&gt;
                translate([bcd/2,0,0]) cylinder(d=3*bhd, h=thick);&lt;br /&gt;
                translate([-bcd/2,0,0]) cylinder(d=3*bhd, h=thick);&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
        translate([sfw/2+thick/2,0,thick]) rotate([-90,0,0]) cylinder(d1=shd*1.6,d2=0,h=shd*2);//up direction arrow head&lt;br /&gt;
        translate([sfw/2+thick/2,0,thick]) rotate([90,0,0]) cylinder(d=shd*0.8,h=shd*2); //up direction arrow shaft&lt;br /&gt;
&lt;br /&gt;
    }&lt;br /&gt;
    translate([0,0,-thick/2]) intersection(){ //bore&lt;br /&gt;
        cylinder(d=fid, h=2*thick);           //circular top and bottom&lt;br /&gt;
        cube([sfw,fod,thick*4],true);         //vertical left and right&lt;br /&gt;
    }&lt;br /&gt;
    for (angle=[0:90:270]){ //bolt holes in lugs&lt;br /&gt;
        rotate([0,0,angle]) translate([bcd/2,0,-thick/2]) cylinder(d=bhd,h=thick*2);&lt;br /&gt;
    }&lt;br /&gt;
    for (angle=[235:5:245]){  //wire holes through flange&lt;br /&gt;
        translate([0,0,thick-flap/2]) rotate([0,90,angle]) cylinder(d=1,h=bcd/2);&lt;br /&gt;
    }&lt;br /&gt;
    translate([0,hph,flap/2]) rotate([0,90,0]) cylinder(d=1,h=bcd+4*bhd,center=true);  //hinge pin axle hole&lt;br /&gt;
} //end of wafer body&lt;br /&gt;
translate([-thick/2-sfw/2,0,thick+srh]){   //switch holder&lt;br /&gt;
    difference(){&lt;br /&gt;
        union(){&lt;br /&gt;
            cube([thick,shp+3*shd,3*shd],center=true);//mount flange&lt;br /&gt;
            color(&amp;quot;blue&amp;quot;) translate([0,0,-srh/2-shd/2]) cube([thick,shp+3*shd,srh],center=true); //support for mount flange&lt;br /&gt;
            translate([-thick/2,0,-shd*1.5]) cylinder(d2=shd*1.2,d1=0,h=shd*1.5);//flow direction arrow head&lt;br /&gt;
            translate([-thick/2,0,0]) cylinder(d=shd*0.6,h=shd*1.5); //flow direction arrow shaft&lt;br /&gt;
        }&lt;br /&gt;
        for (dy=[-shp/2,shp/2]) {&lt;br /&gt;
            translate([0,dy,0]) rotate([0,90,0]) cylinder(d=shd,h=2*thick,center=true);   //bolt holes&lt;br /&gt;
            for (angle=[0:120:240]){&lt;br /&gt;
                translate([-thick/2,dy,0]) rotate([angle,0,0]) cube([nt*2,nfw,nfw/sqrt(3)],center=true); //nut sockets&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
translate([0,fid/2+bcd/2+bhd*2,0]) difference(){    //flap disk&lt;br /&gt;
    intersection(){   //bore&lt;br /&gt;
        cylinder(d=fid-0.5, h=flap);  //circular top and bottom&lt;br /&gt;
        cube([sfw-0.5,fod,flap*2],true);    //vertical left and right&lt;br /&gt;
    }&lt;br /&gt;
    translate([0,hph,flap/2]) rotate([0,90,0]) cylinder(d=1,h=bcd+4*bhd,center=true);  //hinge pin axis&lt;br /&gt;
}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Air_flow_switch_holder&amp;diff=13292</id>
		<title>Air flow switch holder</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Air_flow_switch_holder&amp;diff=13292"/>
		<updated>2017-05-05T23:27:45Z</updated>

		<summary type="html">&lt;p&gt;James: added link to stl file&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the OpenSCAD code to create a wafer air flow sensor (and backflow preventer) to hold a microswitch to stop the laser from firing if the exhaust flow stops.  Dimensions have been set to match the exhaust nozzle.  The current version of the header doesn&#039;t quite match, even though the nozzle was reverse engineered from it.&lt;br /&gt;
&lt;br /&gt;
This was printed on 5/1 and it has some issues.  &lt;br /&gt;
#The arms which hold the switch body interfere with the flap plate.  &lt;br /&gt;
#The flap plate axis of rotation could be lowered to improve the balance.  &lt;br /&gt;
#The thickness of the wafer can be increased to reduce the warpage of the piece.&lt;br /&gt;
Model was redesigned on 5/5:&lt;br /&gt;
#Switch holder moved to side from top center&lt;br /&gt;
#Flap axis of rotation lowered&lt;br /&gt;
#Up arrow added&lt;br /&gt;
#Thickness increased from 3 to 5 mm&lt;br /&gt;
#Wire holes relocated 180°&lt;br /&gt;
You can find the stl file here [[File:Airflow-switch.stl]]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
exhaust airflow detector&lt;br /&gt;
safety interlock for cheap Chinese laser at Hac DC&lt;br /&gt;
This switch is a lug style wafer for insertion between the exhaust collector and the exhaust nozzle on the back of the laser chassis.  When the exhaust fan is running and air is flowing the switch will operate to allow the laser to fire.  This switch is upstream of the exhaust fan so air will leak into the exhaust stream, not exhaust leaking out into room air.&lt;br /&gt;
James Sullivan&lt;br /&gt;
5-5-17, v2&lt;br /&gt;
OpenSCAD version 2015.03-1 &lt;br /&gt;
&lt;br /&gt;
--dimensions from mating exhaust nozzle--&lt;br /&gt;
nid=60;     //nozzle inner diameter&lt;br /&gt;
nod=80;     //nozzle outer diameter&lt;br /&gt;
mod=100;    //maximum outer diameter&lt;br /&gt;
sh=30;      //step height&lt;br /&gt;
sw=5;       //step width&lt;br /&gt;
oah=50;     //over-all height&lt;br /&gt;
tlw=3;      //top ledge width&lt;br /&gt;
bcd=46.8*2; //bolt circle diameter&lt;br /&gt;
bhd=3.6;    //bolt hole diameter&lt;br /&gt;
fw=12;      //foot width&lt;br /&gt;
fh=15;      //foot height&lt;br /&gt;
fod=108;    //foot outside dimension, from outside edge to outside edge&lt;br /&gt;
fid=(nid+nod)/2;//foot inside dimension, from inside edge to inside edge&lt;br /&gt;
*/&lt;br /&gt;
fid=60;  //flange inner diameter, same as nid&lt;br /&gt;
fod=80;  //flange outer diameter, same as nod&lt;br /&gt;
bhd=3.6; //bolt hole diameter&lt;br /&gt;
bcd=93.6;//bolt circle diameter&lt;br /&gt;
thick=5; //thickness of flange - originally 3, but warped when removing from printer bed&lt;br /&gt;
flap=3;  //thickness of flap - originally 3, but warped when removing from printer bed&lt;br /&gt;
hph=bhd*2;   //hinge pin height above center line, i.e. butterfly offset.  Reduce to make switch more sensitive.  Increse to make switch more stable. - originally 10&lt;br /&gt;
sfw=fid-thick*2; //switch flap width - originally sqrt(fid*fid-4*hph*hph)&lt;br /&gt;
shd=2;  //switch hole diameter&lt;br /&gt;
shp=10; //switch hole pitch, i.e. center to center spacing of mounting holes on microswitch&lt;br /&gt;
srh=8;  //switch roller height, i.e. height above switch hole centerline where switching action occurs&lt;br /&gt;
sbw=6;  //switch body width&lt;br /&gt;
nfw=5;  //nut face width&lt;br /&gt;
nt=1;   //nut thickness&lt;br /&gt;
$fn=80;&lt;br /&gt;
&lt;br /&gt;
difference(){ //wafer body&lt;br /&gt;
    union(){&lt;br /&gt;
        cylinder(d=fod,h=thick);    &lt;br /&gt;
        for(ang=[0,90]){&lt;br /&gt;
            rotate([0,0,ang]) hull(){  //lugs&lt;br /&gt;
                translate([bcd/2,0,0]) cylinder(d=3*bhd, h=thick);&lt;br /&gt;
                translate([-bcd/2,0,0]) cylinder(d=3*bhd, h=thick);&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
        translate([sfw/2+thick/2,0,thick]) rotate([-90,0,0]) cylinder(d1=shd*1.6,d2=0,h=shd*2);//up direction arrow head&lt;br /&gt;
        translate([sfw/2+thick/2,0,thick]) rotate([90,0,0]) cylinder(d=shd*0.8,h=shd*2); //up direction arrow shaft&lt;br /&gt;
&lt;br /&gt;
    }&lt;br /&gt;
    translate([0,0,-thick/2]) intersection(){ //bore&lt;br /&gt;
        cylinder(d=fid, h=2*thick);           //circular top and bottom&lt;br /&gt;
        cube([sfw,fod,thick*4],true);         //vertical left and right&lt;br /&gt;
    }&lt;br /&gt;
    for (angle=[0:90:270]){ //bolt holes in lugs&lt;br /&gt;
        rotate([0,0,angle]) translate([bcd/2,0,-thick/2]) cylinder(d=bhd,h=thick*2);&lt;br /&gt;
    }&lt;br /&gt;
    for (angle=[235:5:245]){  //wire holes through flange&lt;br /&gt;
        translate([0,0,thick-flap/2]) rotate([0,90,angle]) cylinder(d=1,h=bcd/2);&lt;br /&gt;
    }&lt;br /&gt;
    translate([0,hph,flap/2]) rotate([0,90,0]) cylinder(d=1,h=bcd+4*bhd,center=true);  //hinge pin axle hole&lt;br /&gt;
} //end of wafer body&lt;br /&gt;
translate([-thick/2-sfw/2,0,thick+srh]){   //switch holder&lt;br /&gt;
    difference(){&lt;br /&gt;
        union(){&lt;br /&gt;
            cube([thick,shp+3*shd,3*shd],center=true);//mount flange&lt;br /&gt;
            color(&amp;quot;blue&amp;quot;) translate([0,0,-srh/2-shd/2]) cube([thick,shp+3*shd,srh],center=true); //support for mount flange&lt;br /&gt;
            translate([-thick/2,0,-shd*1.5]) cylinder(d2=shd*1.2,d1=0,h=shd*1.5);//flow direction arrow head&lt;br /&gt;
            translate([-thick/2,0,0]) cylinder(d=shd*0.6,h=shd*1.5); //flow direction arrow shaft&lt;br /&gt;
        }&lt;br /&gt;
        for (dy=[-shp/2,shp/2]) {&lt;br /&gt;
            translate([0,dy,0]) rotate([0,90,0]) cylinder(d=shd,h=2*thick,center=true);   //bolt holes&lt;br /&gt;
            for (angle=[0:120:240]){&lt;br /&gt;
                translate([-thick/2,dy,0]) rotate([angle,0,0]) cube([nt*2,nfw,nfw/sqrt(3)],center=true); //nut sockets&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
translate([0,fid/2+bcd/2+bhd*2,0]) difference(){    //flap disk&lt;br /&gt;
    intersection(){   //bore&lt;br /&gt;
        cylinder(d=fid-0.5, h=flap);  //circular top and bottom&lt;br /&gt;
        cube([sfw-0.5,fod,flap*2],true);    //vertical left and right&lt;br /&gt;
    }&lt;br /&gt;
    translate([0,hph,flap/2]) rotate([0,90,0]) cylinder(d=1,h=bcd+4*bhd,center=true);  //hinge pin axis&lt;br /&gt;
}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=File:Airflow-switch.stl&amp;diff=13291</id>
		<title>File:Airflow-switch.stl</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=File:Airflow-switch.stl&amp;diff=13291"/>
		<updated>2017-05-05T23:26:04Z</updated>

		<summary type="html">&lt;p&gt;James: Version 2 airflow switch holder for Cheap Chinese Laser.
This model was created from the source code here Air flow switch holder.
Category: CheapChineseLaser&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Version 2 airflow switch holder for [[Cheap Chinese Laser]].&lt;br /&gt;
This model was created from the source code here [[Air flow switch holder]].&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Air_flow_switch_holder&amp;diff=13290</id>
		<title>Air flow switch holder</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Air_flow_switch_holder&amp;diff=13290"/>
		<updated>2017-05-05T23:23:17Z</updated>

		<summary type="html">&lt;p&gt;James: version 2&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the OpenSCAD code to create a wafer air flow sensor (and backflow preventer) to hold a microswitch to stop the laser from firing if the exhaust flow stops.  Dimensions have been set to match the exhaust nozzle.  The current version of the header doesn&#039;t quite match, even though the nozzle was reverse engineered from it.&lt;br /&gt;
&lt;br /&gt;
This was printed on 5/1 and it has some issues.  &lt;br /&gt;
#The arms which hold the switch body interfere with the flap plate.  &lt;br /&gt;
#The flap plate axis of rotation could be lowered to improve the balance.  &lt;br /&gt;
#The thickness of the wafer can be increased to reduce the warpage of the piece.&lt;br /&gt;
Model was redesigned on 5/5:&lt;br /&gt;
#Switch holder moved to side from top center&lt;br /&gt;
#Flap axis of rotation lowered&lt;br /&gt;
#Up arrow added&lt;br /&gt;
#Thickness increased from 3 to 5 mm&lt;br /&gt;
#Wire holes relocated 180°&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
exhaust airflow detector&lt;br /&gt;
safety interlock for cheap Chinese laser at Hac DC&lt;br /&gt;
This switch is a lug style wafer for insertion between the exhaust collector and the exhaust nozzle on the back of the laser chassis.  When the exhaust fan is running and air is flowing the switch will operate to allow the laser to fire.  This switch is upstream of the exhaust fan so air will leak into the exhaust stream, not exhaust leaking out into room air.&lt;br /&gt;
James Sullivan&lt;br /&gt;
5-5-17, v2&lt;br /&gt;
OpenSCAD version 2015.03-1 &lt;br /&gt;
&lt;br /&gt;
--dimensions from mating exhaust nozzle--&lt;br /&gt;
nid=60;     //nozzle inner diameter&lt;br /&gt;
nod=80;     //nozzle outer diameter&lt;br /&gt;
mod=100;    //maximum outer diameter&lt;br /&gt;
sh=30;      //step height&lt;br /&gt;
sw=5;       //step width&lt;br /&gt;
oah=50;     //over-all height&lt;br /&gt;
tlw=3;      //top ledge width&lt;br /&gt;
bcd=46.8*2; //bolt circle diameter&lt;br /&gt;
bhd=3.6;    //bolt hole diameter&lt;br /&gt;
fw=12;      //foot width&lt;br /&gt;
fh=15;      //foot height&lt;br /&gt;
fod=108;    //foot outside dimension, from outside edge to outside edge&lt;br /&gt;
fid=(nid+nod)/2;//foot inside dimension, from inside edge to inside edge&lt;br /&gt;
*/&lt;br /&gt;
fid=60;  //flange inner diameter, same as nid&lt;br /&gt;
fod=80;  //flange outer diameter, same as nod&lt;br /&gt;
bhd=3.6; //bolt hole diameter&lt;br /&gt;
bcd=93.6;//bolt circle diameter&lt;br /&gt;
thick=5; //thickness of flange - originally 3, but warped when removing from printer bed&lt;br /&gt;
flap=3;  //thickness of flap - originally 3, but warped when removing from printer bed&lt;br /&gt;
hph=bhd*2;   //hinge pin height above center line, i.e. butterfly offset.  Reduce to make switch more sensitive.  Increse to make switch more stable. - originally 10&lt;br /&gt;
sfw=fid-thick*2; //switch flap width - originally sqrt(fid*fid-4*hph*hph)&lt;br /&gt;
shd=2;  //switch hole diameter&lt;br /&gt;
shp=10; //switch hole pitch, i.e. center to center spacing of mounting holes on microswitch&lt;br /&gt;
srh=8;  //switch roller height, i.e. height above switch hole centerline where switching action occurs&lt;br /&gt;
sbw=6;  //switch body width&lt;br /&gt;
nfw=5;  //nut face width&lt;br /&gt;
nt=1;   //nut thickness&lt;br /&gt;
$fn=80;&lt;br /&gt;
&lt;br /&gt;
difference(){ //wafer body&lt;br /&gt;
    union(){&lt;br /&gt;
        cylinder(d=fod,h=thick);    &lt;br /&gt;
        for(ang=[0,90]){&lt;br /&gt;
            rotate([0,0,ang]) hull(){  //lugs&lt;br /&gt;
                translate([bcd/2,0,0]) cylinder(d=3*bhd, h=thick);&lt;br /&gt;
                translate([-bcd/2,0,0]) cylinder(d=3*bhd, h=thick);&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
        translate([sfw/2+thick/2,0,thick]) rotate([-90,0,0]) cylinder(d1=shd*1.6,d2=0,h=shd*2);//up direction arrow head&lt;br /&gt;
        translate([sfw/2+thick/2,0,thick]) rotate([90,0,0]) cylinder(d=shd*0.8,h=shd*2); //up direction arrow shaft&lt;br /&gt;
&lt;br /&gt;
    }&lt;br /&gt;
    translate([0,0,-thick/2]) intersection(){ //bore&lt;br /&gt;
        cylinder(d=fid, h=2*thick);           //circular top and bottom&lt;br /&gt;
        cube([sfw,fod,thick*4],true);         //vertical left and right&lt;br /&gt;
    }&lt;br /&gt;
    for (angle=[0:90:270]){ //bolt holes in lugs&lt;br /&gt;
        rotate([0,0,angle]) translate([bcd/2,0,-thick/2]) cylinder(d=bhd,h=thick*2);&lt;br /&gt;
    }&lt;br /&gt;
    for (angle=[235:5:245]){  //wire holes through flange&lt;br /&gt;
        translate([0,0,thick-flap/2]) rotate([0,90,angle]) cylinder(d=1,h=bcd/2);&lt;br /&gt;
    }&lt;br /&gt;
    translate([0,hph,flap/2]) rotate([0,90,0]) cylinder(d=1,h=bcd+4*bhd,center=true);  //hinge pin axle hole&lt;br /&gt;
} //end of wafer body&lt;br /&gt;
translate([-thick/2-sfw/2,0,thick+srh]){   //switch holder&lt;br /&gt;
    difference(){&lt;br /&gt;
        union(){&lt;br /&gt;
            cube([thick,shp+3*shd,3*shd],center=true);//mount flange&lt;br /&gt;
            color(&amp;quot;blue&amp;quot;) translate([0,0,-srh/2-shd/2]) cube([thick,shp+3*shd,srh],center=true); //support for mount flange&lt;br /&gt;
            translate([-thick/2,0,-shd*1.5]) cylinder(d2=shd*1.2,d1=0,h=shd*1.5);//flow direction arrow head&lt;br /&gt;
            translate([-thick/2,0,0]) cylinder(d=shd*0.6,h=shd*1.5); //flow direction arrow shaft&lt;br /&gt;
        }&lt;br /&gt;
        for (dy=[-shp/2,shp/2]) {&lt;br /&gt;
            translate([0,dy,0]) rotate([0,90,0]) cylinder(d=shd,h=2*thick,center=true);   //bolt holes&lt;br /&gt;
            for (angle=[0:120:240]){&lt;br /&gt;
                translate([-thick/2,dy,0]) rotate([angle,0,0]) cube([nt*2,nfw,nfw/sqrt(3)],center=true); //nut sockets&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
translate([0,fid/2+bcd/2+bhd*2,0]) difference(){    //flap disk&lt;br /&gt;
    intersection(){   //bore&lt;br /&gt;
        cylinder(d=fid-0.5, h=flap);  //circular top and bottom&lt;br /&gt;
        cube([sfw-0.5,fod,flap*2],true);    //vertical left and right&lt;br /&gt;
    }&lt;br /&gt;
    translate([0,hph,flap/2]) rotate([0,90,0]) cylinder(d=1,h=bcd+4*bhd,center=true);  //hinge pin axis&lt;br /&gt;
}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13289</id>
		<title>Cheap Chinese Laser</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13289"/>
		<updated>2017-05-05T21:10:54Z</updated>

		<summary type="html">&lt;p&gt;James: 4/5 &amp;amp; 5/5 added&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cheap Chinese Laser]]&lt;br /&gt;
&lt;br /&gt;
This is the page dealing with the [[Cheap Chinese Laser]] at [https://www.hacdc.org HacDC] in the upstairs room at St. Stephen and the Incarnate church in Washington, DC.  This page replaces [[PA LaserCutter]] page from some years ago.  It had high ideals, but poor execution.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
HacDC has a K40, 40W, CO2, water cooled, laser for CNC cutting of various materials, aka a cheap Chinese laser.  It allegedly used to work just fine, but someone decided that wasn&#039;t good enough so she ordered and halfass installed some new parts that only halfass work.  After our intrepid hero, [[user:James|James]], fullyassed the installation of the new parts, the laser still only halfass worked.  [[user:Tom|Tom]] was railroaded into helping with the software, but even so the dynamic duo couldn&#039;t get the damn thing to work.  Then one day at work, boredom struck in a meeting and James had the idea to create this wiki page to guide others through the confusion and misinformation that plagues most equipment at HacDC and often results in subpar operation.  I beseech you, dear reader, to continue your edification on our topic at hand and become your own evil archvillain with laser powers.  (Sharks sold separately.)&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
===Chassis===&lt;br /&gt;
The chassis is the laser itself, the blue metal box with 3 flip up lids.  The main lid users deal with is for the cutting chamber on the left front of the machine.  It includes an orange plastic window.  The cutting chamber contains the transverse and longitudinal axes, aka x and y.  X goes left to right, and y goes back to front.  The material to be cut goes in this chamber.  The second flip up lid is for the controls and power supplies chamber.  This lid contains the front panel controls and indicators.  There are two control boards, the Smoothie board and the K40 ACR plug-and-play board which connects the Smoothie board to the machine hardware.  There are two power supplies as well, the control powersupply which is right below the control boards and the high-voltage (and I mean real high voltage, like around 15kV, not those nambypamby B.S. 120VAC &amp;quot;high voltage&amp;quot; warning labels) laser tube power supply which creates enough voltage to rip the electrons off the CO2 molecules and ionize them and cause them to emit coherent light when the electrons get back together with their matching CO2 ions.  For more about this exciting process, read a science book.  The third lid covers the laser tube chamber at the back of the chassis.  You don&#039;t really need to mess with these last two lids unless you are modifying the equipment or troubleshooting a failure.  All the lids have interlock switches and the laser will not fire if any one is open (unless you flip the override switch, in which case, it&#039;s your own darn fault for burning out your eye, as we say in Charlotte, &amp;quot;you did it to yourself&amp;quot;).&lt;br /&gt;
===Exhaust===&lt;br /&gt;
The exhaust system sucks smoke from the laser chassis cutting chamber and sends it outside through a window.  It was cobbled together using a fan and housing salvaged from a prior laser cutter and is mostly held together with zipties and metal duct tape.  Seriously.  I&#039;m not kidding.  Actual zipties and duct tape.  (I&#039;d like to give a shout-out to Home Depot for selling me the role of metal tape for only one cent.)  If any part of the whole laser system is going to crap out, this would be a good part to bet on.  It also uses 4&amp;quot; diameter (that&#039;s 105mm for those of you on the metric system) flexible metal clothes dryer exhaust duct to carry the exhaust gasses.  There are custom-made, 3d-printed transiton pieces at the back of the laser chassis which replace the original feeble exhaust system.  Read about them [[K40_Exhaust_Assembly|here]]&lt;br /&gt;
&lt;br /&gt;
===Cooling===&lt;br /&gt;
The cooling system presently consists of a 5 gallon pail in the roller cabinet with a submersible pump.  The water should be replaced with distilled.  (The pump power cord got a new plug.  It stays plugged in much better than the original cheap Chinese plug.)  If the water doesn&#039;t flow, the laser will burnout.  Sadness.  The cooling system presently only works based on the heat capacity of the water in the bucket.  Once the water heats up, you just need to wait for it to cool back down all by itself.  You can read about other people with more sophisticated refrigerated cooling systems, but this was quick and easy, like a virgin on prom night.  Julia has mentioned she&#039;s got some thermoelectric coolers in hiding for this project.  We&#039;ll cross that bridge when we get everything else running first.  The cooling system will have 3 interlocks: low water level, low flow, and high temperature.&lt;br /&gt;
&lt;br /&gt;
===Computer===&lt;br /&gt;
This is CNC equipment.  The first C is for Computer.  (No, not for cookie, but we often have cookies anyway.)  You need a computer with a USB port.  You need computer software.  I hope we can have a computer dedicated to the laser, but let&#039;s be real, that&#039;s not likely to happen.  I hope Tom will fill out this section.&lt;br /&gt;
===Cabinet===&lt;br /&gt;
The cabinet is what the chassis sits on.  The cabinet has wheels.  It&#039;s made of particle board and painted white.  The left door has upper and lower latches inside which hold it shut, so don&#039;t yank on it.  The cabinet houses the cooling system, the power strip which all the line voltage equipment plugs into: exhaust fan, cooling pump, laser chassis, 12V power supply (not yet installed).&lt;br /&gt;
&lt;br /&gt;
==Safety Interlocks==&lt;br /&gt;
&#039;&#039;&#039;None of these safeties are installed yet.&#039;&#039;&#039;  Don&#039;t go futzing around with stuff unless you know exactly what you are doing.  And tell James or Tom.&lt;br /&gt;
===Ventilation===&lt;br /&gt;
#Exhaust - If the exhaust fan isn&#039;t moving air, we don&#039;t want the laser to fire and make lots of smoke which would then fill the room&lt;br /&gt;
#Lens - Eventually we plan to install an air shroud nozzle around the laser lens to keep smoke from coating the lens and reducing cutting power.&lt;br /&gt;
===Coolant===&lt;br /&gt;
#Level - &lt;br /&gt;
#Flow&lt;br /&gt;
#Temp&lt;br /&gt;
===Doors===&lt;br /&gt;
#Cutting Chamber&lt;br /&gt;
#Control Chamber&lt;br /&gt;
#Laser Chamber - Probably not going to install this switch because the door is in back and control panel space is at a premium&lt;br /&gt;
#Cabinet - Probably not going to install this switch because there&#039;s not much harm in the cabinet and control panel space is at a premium&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
===Prestart===&lt;br /&gt;
#Come up with design&lt;br /&gt;
#Create SVG using software like [https://inkscape.org/ Inkscape]&lt;br /&gt;
#Upload SVG to computer&lt;br /&gt;
#Convert SVG to toolpath using software like [http://www.scorchworks.com/LaserDRW_extension/laserdrw_extension.html Laser Draw]&lt;br /&gt;
&lt;br /&gt;
===Startup===&lt;br /&gt;
#Roll cabinet out from under shelf&lt;br /&gt;
#Get extension cord out of cabinet and plug laser into extension cord and extension cord into live receptacle&lt;br /&gt;
#Turn on laser master power switch&lt;br /&gt;
#Close cabinet door&lt;br /&gt;
#Load material to be cut in laser cabinet&lt;br /&gt;
#Shut lid on cutting chamber&lt;br /&gt;
#Turn on laser cabinet power switch&lt;br /&gt;
===Operations===&lt;br /&gt;
#Ensure all safety interlocks are operable by checking indicator lights&lt;br /&gt;
#Run program without laser powered on to observe tool path and ensure material to be cut in properly arranged in the cutting chamber&lt;br /&gt;
#Run program with laser powered on to cut material&lt;br /&gt;
===Shutdown===&lt;br /&gt;
#Turn off laser chassis and master power switches&lt;br /&gt;
#Unplug laser and extension cord&lt;br /&gt;
#Coilup and store extension cord&lt;br /&gt;
#Shut cabinet door&lt;br /&gt;
#Roll cabinet back under the shelf&lt;br /&gt;
#Continue with your evil plans for world domination&lt;br /&gt;
&lt;br /&gt;
==Custom Wiring== &lt;br /&gt;
Julia had some LED strips she wanted installed.  We succeeded.  The illuminate when the main power is turned on.&lt;br /&gt;
[[File:Laser-leds1.jpg]]&lt;br /&gt;
&lt;br /&gt;
They are white LEDs but the orange laser viewing window colors them.&lt;br /&gt;
&lt;br /&gt;
[[File:Laser-leds2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sully really likes relays and discrete, analogue circuits, so he jimmied up a bunch of stuff to make it less likely for you to poke your eye out or burn out the laser.&lt;br /&gt;
The laser power supply from the factory takes input from 3 front panel controls: off-on laser switch, momentary-on laser switch, power control potentiometer knob.  The off-on switch was a cheap latching push button which was connected to the leftmost two terminals of the 6 terminal plug with black wires.  It was replaced with an off-on, metal, toggle switch on 3-23-17.  The middle two terminals of the block connect to the momentary on push button switch on the front panel which causes the laser to fire (when the left two terminals are shorted together by the toggle switch).  The right 3 terminals (which overlap with the right center terminal going to the push button switch) connect to the front panel potentiometer which controls the laser current.  Do not turn the knob to full clockwise, because increasing the laser firing current past a certain point doesn&#039;t provide any benefit and just reduces the tube lifespan.  The plan is to parallelize the push button firing switch with a solid-state relay controlled directly by the Smoothie board and bypassing the K40 ACR board (which was supposed to make the Smoothie board plug-and-play, but as mentioned earlier did a halfassed job).  The potentiometer will be connected to a 3PDT switch for computerized or manual power level control.  A PWM to DC circuit will do the automatic control and the original pot will remain for the manual control.&lt;br /&gt;
The safety interlocks are basically a whole bunch of microswitches in series so if any one of them gets tripped the left two pins of the power supply 6 pin connector won&#039;t be shorted together and the laser won&#039;t fire.  There&#039;s also a plan to have lights illuminate to show which safeties are operating properly or tripped.  Plus indicator lights are cool.  And for the remaining manual firing switches we plan on getting those flip-up red covers like in those military movies where they&#039;re firing nuclear missiles and stuff like that.  These would aid in troubleshooting, and look really cool, even if they are kinda spendy.  Man, this is really turning into a wall of text.  Someone should do something about this sometime.  Anyway, schematic drawings would go here, or links to them would go here.&lt;br /&gt;
&lt;br /&gt;
==Custom Parts==&lt;br /&gt;
Images of custom parts like the exhaust nozzles and eventually a new control panel and source files for 3d printed or laser cut parts can go here.&lt;br /&gt;
&lt;br /&gt;
[[CCL front panel]]&lt;br /&gt;
&lt;br /&gt;
[[Air flow switch holder]]&lt;br /&gt;
&lt;br /&gt;
[[Exhaust nozzle]]&lt;br /&gt;
&lt;br /&gt;
[[Terminal block holder]]&lt;br /&gt;
&lt;br /&gt;
This image is colored for 3d printing using it as a height map: black=0mm, gray=1mm, white=2mm. 174mm wide, 184mm tall.&lt;br /&gt;
The SVG file was created by a Ruby program to modularize the positions and sizes of cutouts for switches, nobs, lamps, etc.&lt;br /&gt;
&lt;br /&gt;
[[file:Control-panel.png]]&lt;br /&gt;
&lt;br /&gt;
==Bill of Materials, a.k.a. Donation Wishlist, and Hardware Store Shopping List==&lt;br /&gt;
#Laser goggles&lt;br /&gt;
#USB A-B cord, i.e. printer cable, which doesn&#039;t suck&lt;br /&gt;
#Solid state relays -- we used [http://www.clare.com/home/pdfs.nsf/www/LBA110.pdf/$file/LBA110.pdf] this one.  --This should move to custom parts and off the wishlist (JS 4-20).&lt;br /&gt;
#Stuff to cut&lt;br /&gt;
##1/8&amp;quot; Baltic birch plywood&lt;br /&gt;
##Plastic sheets, e.g. acrylic&lt;br /&gt;
##Masonite?&lt;br /&gt;
#Cabinet reinforcements&lt;br /&gt;
##dimensional lumber, e.g. 2x4, 2x2, 1x3&lt;br /&gt;
##unidirectional casters&lt;br /&gt;
#Cooling system stuff&lt;br /&gt;
##Distilled water&lt;br /&gt;
##Float switch&lt;br /&gt;
##Thermocouple or thermistor/RTD temperature sensor probe&lt;br /&gt;
##Radiator and fans&lt;br /&gt;
##Solidstate heat pump&lt;br /&gt;
##Working water fountain chiller (for future use on the 100W downstairs)&lt;br /&gt;
##PLC/Microcontroller with A/D inputs for temperature probe conditioning and temp display (advanced task)&lt;br /&gt;
#Green connectors for smoothieboard and laser powersupply [https://www.amazon.com/uxcell-Terminals-Pitch-Mount-Terminal/dp/B00E6Q4FE6/ref=sr_1_9?ie=UTF8&amp;amp;qid=1493691567&amp;amp;sr=8-9&amp;amp;keywords=pluggable+terminal+block+connector]&lt;br /&gt;
&lt;br /&gt;
==To-Do Tasks==&lt;br /&gt;
#Airflow switch housing&lt;br /&gt;
##manufacture&lt;br /&gt;
##install&lt;br /&gt;
#Coolant interlocks&lt;br /&gt;
##Level sensor&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Flow sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Temp sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
#Door switches&lt;br /&gt;
##wire up switches&lt;br /&gt;
#Chassis wiring&lt;br /&gt;
##Mount one of the terminal strips and wire up the safety switches&lt;br /&gt;
##Draw a wiring diagram of custom components and label/number the terminals&lt;br /&gt;
#CNC firing control - This svg file can be used to test run the laser: [[Laser circle test]]&lt;br /&gt;
##find firing signal on Smoothie board&lt;br /&gt;
##determine relay requirements&lt;br /&gt;
##purchase and receive relay&lt;br /&gt;
##install firing relay&lt;br /&gt;
#CNC power control&lt;br /&gt;
##find PWM power level control signal on Smoothie board - PWM duration 300us&lt;br /&gt;
##fabricate converter - breadboarded and bench tested&lt;br /&gt;
##install converter&lt;br /&gt;
#software&lt;br /&gt;
##determine best software to use&lt;br /&gt;
##develop workflows for various programs and operating systems&lt;br /&gt;
##update this page to explain the above&lt;br /&gt;
&lt;br /&gt;
==Completed Tasks==&lt;br /&gt;
If you do work on the laser, please record it here.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Task !! Fixer !! Date !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Create Wiki page || [[user:James|James]] || 3/24/2017 || Ongoing updates needed&lt;br /&gt;
|-&lt;br /&gt;
| Install operational exhaust system || James || 2/2017 || Still needs interlocks&lt;br /&gt;
|-&lt;br /&gt;
| Install cooling system || James || 2/2017 || Air cooling or refrigeration could be added&lt;br /&gt;
|-&lt;br /&gt;
| Connect control power supply to switched mains || James || 3/2017 || Done&lt;br /&gt;
|-&lt;br /&gt;
| Get x and y axis movements working || [[user:Tom|Tom]] || 3/2017 || Firing still needs to be fixed&lt;br /&gt;
|-&lt;br /&gt;
| Replaced cooling pump power cord plug || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed door closure bolts on left cabinet door || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed cutting chamber illumination LEDs and 12VDC powersupply || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Control + interlock circuits design/brainstorm session || James + Tom || 3/27/2017 || See webpages below for Smothieboard help&lt;br /&gt;
|-&lt;br /&gt;
| Mocked up and tested control circuit for PWM from smoothieboard || James + Tom || 3/27/2017 || http://smoothieware.org/laser-cutter-guide&lt;br /&gt;
|-&lt;br /&gt;
| Scoped out various pins on the smoothieboard to find PWM out || James + Tom || 3/27/2017 || http://smoothieware.org/smoothieboard-v1&lt;br /&gt;
|-&lt;br /&gt;
| Removed control panel || James || 3/30/17 || Don&#039;t mess with nothing until a new one gets installed!&lt;br /&gt;
|-&lt;br /&gt;
| Tried to 3d print a new control panel || James || 4/2/17 || Lulzbot Taz either didn&#039;t extrude or made bird poop. :( It&#039;s too bad we don&#039;t have a working laser cutter.&lt;br /&gt;
|-&lt;br /&gt;
| Adjusted program size parameters based on failed print and added ammeter mounting screw holes to control panel design || James || 4/11/17 || Still need to upload new SVG here and print it&lt;br /&gt;
|-&lt;br /&gt;
| Ordered self adhesive cable tie mounting squares and SSR for PWM-&amp;gt; DC || Tom || 4/11/17 || Delivery expected Thursday&lt;br /&gt;
|-&lt;br /&gt;
| Design 3d-printed mounting bracket/clip to hold switches for door interlocks || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Design, breadboard and test PWM circuit with solid state relay and newly determined time constant || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded exhaust nozzle and exhaust flow switch scad files || James || 4/20/17 || Flow switch needs printing and Tom&#039;s nacelle needs dimension tweeking.&lt;br /&gt;
|-&lt;br /&gt;
| Tried printing control panel on the Ultimaker&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; || James || 4/25/17 || Print failed twice, but third time looked good before I left.&lt;br /&gt;
|-&lt;br /&gt;
| Installed control panel 3d printed on Tuesday || James || 4/27/17 || Controls and indicators are installed but not operational, yet.  It looks sweet! Could be thicker, maybe 4mm.  Dimensions could use tweeking too: toggle switches moved down, corner radii reduced,...&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded source code and stl for water level float switch and for terminal block holders.  Installed v5 of door switch holder and soldered wires to switches. || James || 5/1/17 || Still need to print float switch parts and terminal block holders. New parts fit well. A very productive day overall.&lt;br /&gt;
|-&lt;br /&gt;
| Installed terminal block with manually modified v1 terminal block holder parts.  Wired up cutting chamber and control chamber door safety switches.  Connected laser power supply wiring to new control panel switches. || James || 5/4/17 || Need to adjust terminal block holder dimensions and reprint.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded v2 source code and stl for terminal block holder. || James || 5/5/17 || Need to print float switch parts and terminal block holders.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Equipment]]&lt;br /&gt;
[[Category:LaserCutter]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:Ongoing Projects]]&lt;br /&gt;
[[Category:Project Awesome]]&lt;br /&gt;
[[Category:CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13288</id>
		<title>Cheap Chinese Laser</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13288"/>
		<updated>2017-05-05T21:04:36Z</updated>

		<summary type="html">&lt;p&gt;James: Added terminal block holder link to custom parts section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cheap Chinese Laser]]&lt;br /&gt;
&lt;br /&gt;
This is the page dealing with the [[Cheap Chinese Laser]] at [https://www.hacdc.org HacDC] in the upstairs room at St. Stephen and the Incarnate church in Washington, DC.  This page replaces [[PA LaserCutter]] page from some years ago.  It had high ideals, but poor execution.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
HacDC has a K40, 40W, CO2, water cooled, laser for CNC cutting of various materials, aka a cheap Chinese laser.  It allegedly used to work just fine, but someone decided that wasn&#039;t good enough so she ordered and halfass installed some new parts that only halfass work.  After our intrepid hero, [[user:James|James]], fullyassed the installation of the new parts, the laser still only halfass worked.  [[user:Tom|Tom]] was railroaded into helping with the software, but even so the dynamic duo couldn&#039;t get the damn thing to work.  Then one day at work, boredom struck in a meeting and James had the idea to create this wiki page to guide others through the confusion and misinformation that plagues most equipment at HacDC and often results in subpar operation.  I beseech you, dear reader, to continue your edification on our topic at hand and become your own evil archvillain with laser powers.  (Sharks sold separately.)&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
===Chassis===&lt;br /&gt;
The chassis is the laser itself, the blue metal box with 3 flip up lids.  The main lid users deal with is for the cutting chamber on the left front of the machine.  It includes an orange plastic window.  The cutting chamber contains the transverse and longitudinal axes, aka x and y.  X goes left to right, and y goes back to front.  The material to be cut goes in this chamber.  The second flip up lid is for the controls and power supplies chamber.  This lid contains the front panel controls and indicators.  There are two control boards, the Smoothie board and the K40 ACR plug-and-play board which connects the Smoothie board to the machine hardware.  There are two power supplies as well, the control powersupply which is right below the control boards and the high-voltage (and I mean real high voltage, like around 15kV, not those nambypamby B.S. 120VAC &amp;quot;high voltage&amp;quot; warning labels) laser tube power supply which creates enough voltage to rip the electrons off the CO2 molecules and ionize them and cause them to emit coherent light when the electrons get back together with their matching CO2 ions.  For more about this exciting process, read a science book.  The third lid covers the laser tube chamber at the back of the chassis.  You don&#039;t really need to mess with these last two lids unless you are modifying the equipment or troubleshooting a failure.  All the lids have interlock switches and the laser will not fire if any one is open (unless you flip the override switch, in which case, it&#039;s your own darn fault for burning out your eye, as we say in Charlotte, &amp;quot;you did it to yourself&amp;quot;).&lt;br /&gt;
===Exhaust===&lt;br /&gt;
The exhaust system sucks smoke from the laser chassis cutting chamber and sends it outside through a window.  It was cobbled together using a fan and housing salvaged from a prior laser cutter and is mostly held together with zipties and metal duct tape.  Seriously.  I&#039;m not kidding.  Actual zipties and duct tape.  (I&#039;d like to give a shout-out to Home Depot for selling me the role of metal tape for only one cent.)  If any part of the whole laser system is going to crap out, this would be a good part to bet on.  It also uses 4&amp;quot; diameter (that&#039;s 105mm for those of you on the metric system) flexible metal clothes dryer exhaust duct to carry the exhaust gasses.  There are custom-made, 3d-printed transiton pieces at the back of the laser chassis which replace the original feeble exhaust system.  Read about them [[K40_Exhaust_Assembly|here]]&lt;br /&gt;
&lt;br /&gt;
===Cooling===&lt;br /&gt;
The cooling system presently consists of a 5 gallon pail in the roller cabinet with a submersible pump.  The water should be replaced with distilled.  (The pump power cord got a new plug.  It stays plugged in much better than the original cheap Chinese plug.)  If the water doesn&#039;t flow, the laser will burnout.  Sadness.  The cooling system presently only works based on the heat capacity of the water in the bucket.  Once the water heats up, you just need to wait for it to cool back down all by itself.  You can read about other people with more sophisticated refrigerated cooling systems, but this was quick and easy, like a virgin on prom night.  Julia has mentioned she&#039;s got some thermoelectric coolers in hiding for this project.  We&#039;ll cross that bridge when we get everything else running first.  The cooling system will have 3 interlocks: low water level, low flow, and high temperature.&lt;br /&gt;
&lt;br /&gt;
===Computer===&lt;br /&gt;
This is CNC equipment.  The first C is for Computer.  (No, not for cookie, but we often have cookies anyway.)  You need a computer with a USB port.  You need computer software.  I hope we can have a computer dedicated to the laser, but let&#039;s be real, that&#039;s not likely to happen.  I hope Tom will fill out this section.&lt;br /&gt;
===Cabinet===&lt;br /&gt;
The cabinet is what the chassis sits on.  The cabinet has wheels.  It&#039;s made of particle board and painted white.  The left door has upper and lower latches inside which hold it shut, so don&#039;t yank on it.  The cabinet houses the cooling system, the power strip which all the line voltage equipment plugs into: exhaust fan, cooling pump, laser chassis, 12V power supply (not yet installed).&lt;br /&gt;
&lt;br /&gt;
==Safety Interlocks==&lt;br /&gt;
&#039;&#039;&#039;None of these safeties are installed yet.&#039;&#039;&#039;  Don&#039;t go futzing around with stuff unless you know exactly what you are doing.  And tell James or Tom.&lt;br /&gt;
===Ventilation===&lt;br /&gt;
#Exhaust - If the exhaust fan isn&#039;t moving air, we don&#039;t want the laser to fire and make lots of smoke which would then fill the room&lt;br /&gt;
#Lens - Eventually we plan to install an air shroud nozzle around the laser lens to keep smoke from coating the lens and reducing cutting power.&lt;br /&gt;
===Coolant===&lt;br /&gt;
#Level - &lt;br /&gt;
#Flow&lt;br /&gt;
#Temp&lt;br /&gt;
===Doors===&lt;br /&gt;
#Cutting Chamber&lt;br /&gt;
#Control Chamber&lt;br /&gt;
#Laser Chamber - Probably not going to install this switch because the door is in back and control panel space is at a premium&lt;br /&gt;
#Cabinet - Probably not going to install this switch because there&#039;s not much harm in the cabinet and control panel space is at a premium&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
===Prestart===&lt;br /&gt;
#Come up with design&lt;br /&gt;
#Create SVG using software like [https://inkscape.org/ Inkscape]&lt;br /&gt;
#Upload SVG to computer&lt;br /&gt;
#Convert SVG to toolpath using software like [http://www.scorchworks.com/LaserDRW_extension/laserdrw_extension.html Laser Draw]&lt;br /&gt;
&lt;br /&gt;
===Startup===&lt;br /&gt;
#Roll cabinet out from under shelf&lt;br /&gt;
#Get extension cord out of cabinet and plug laser into extension cord and extension cord into live receptacle&lt;br /&gt;
#Turn on laser master power switch&lt;br /&gt;
#Close cabinet door&lt;br /&gt;
#Load material to be cut in laser cabinet&lt;br /&gt;
#Shut lid on cutting chamber&lt;br /&gt;
#Turn on laser cabinet power switch&lt;br /&gt;
===Operations===&lt;br /&gt;
#Ensure all safety interlocks are operable by checking indicator lights&lt;br /&gt;
#Run program without laser powered on to observe tool path and ensure material to be cut in properly arranged in the cutting chamber&lt;br /&gt;
#Run program with laser powered on to cut material&lt;br /&gt;
===Shutdown===&lt;br /&gt;
#Turn off laser chassis and master power switches&lt;br /&gt;
#Unplug laser and extension cord&lt;br /&gt;
#Coilup and store extension cord&lt;br /&gt;
#Shut cabinet door&lt;br /&gt;
#Roll cabinet back under the shelf&lt;br /&gt;
#Continue with your evil plans for world domination&lt;br /&gt;
&lt;br /&gt;
==Custom Wiring== &lt;br /&gt;
Julia had some LED strips she wanted installed.  We succeeded.  The illuminate when the main power is turned on.&lt;br /&gt;
[[File:Laser-leds1.jpg]]&lt;br /&gt;
&lt;br /&gt;
They are white LEDs but the orange laser viewing window colors them.&lt;br /&gt;
&lt;br /&gt;
[[File:Laser-leds2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sully really likes relays and discrete, analogue circuits, so he jimmied up a bunch of stuff to make it less likely for you to poke your eye out or burn out the laser.&lt;br /&gt;
The laser power supply from the factory takes input from 3 front panel controls: off-on laser switch, momentary-on laser switch, power control potentiometer knob.  The off-on switch was a cheap latching push button which was connected to the leftmost two terminals of the 6 terminal plug with black wires.  It was replaced with an off-on, metal, toggle switch on 3-23-17.  The middle two terminals of the block connect to the momentary on push button switch on the front panel which causes the laser to fire (when the left two terminals are shorted together by the toggle switch).  The right 3 terminals (which overlap with the right center terminal going to the push button switch) connect to the front panel potentiometer which controls the laser current.  Do not turn the knob to full clockwise, because increasing the laser firing current past a certain point doesn&#039;t provide any benefit and just reduces the tube lifespan.  The plan is to parallelize the push button firing switch with a solid-state relay controlled directly by the Smoothie board and bypassing the K40 ACR board (which was supposed to make the Smoothie board plug-and-play, but as mentioned earlier did a halfassed job).  The potentiometer will be connected to a 3PDT switch for computerized or manual power level control.  A PWM to DC circuit will do the automatic control and the original pot will remain for the manual control.&lt;br /&gt;
The safety interlocks are basically a whole bunch of microswitches in series so if any one of them gets tripped the left two pins of the power supply 6 pin connector won&#039;t be shorted together and the laser won&#039;t fire.  There&#039;s also a plan to have lights illuminate to show which safeties are operating properly or tripped.  Plus indicator lights are cool.  And for the remaining manual firing switches we plan on getting those flip-up red covers like in those military movies where they&#039;re firing nuclear missiles and stuff like that.  These would aid in troubleshooting, and look really cool, even if they are kinda spendy.  Man, this is really turning into a wall of text.  Someone should do something about this sometime.  Anyway, schematic drawings would go here, or links to them would go here.&lt;br /&gt;
&lt;br /&gt;
==Custom Parts==&lt;br /&gt;
Images of custom parts like the exhaust nozzles and eventually a new control panel and source files for 3d printed or laser cut parts can go here.&lt;br /&gt;
&lt;br /&gt;
[[CCL front panel]]&lt;br /&gt;
&lt;br /&gt;
[[Air flow switch holder]]&lt;br /&gt;
&lt;br /&gt;
[[Exhaust nozzle]]&lt;br /&gt;
&lt;br /&gt;
[[Terminal block holder]]&lt;br /&gt;
&lt;br /&gt;
This image is colored for 3d printing using it as a height map: black=0mm, gray=1mm, white=2mm. 174mm wide, 184mm tall.&lt;br /&gt;
The SVG file was created by a Ruby program to modularize the positions and sizes of cutouts for switches, nobs, lamps, etc.&lt;br /&gt;
&lt;br /&gt;
[[file:Control-panel.png]]&lt;br /&gt;
&lt;br /&gt;
==Bill of Materials, a.k.a. Donation Wishlist, and Hardware Store Shopping List==&lt;br /&gt;
#Laser goggles&lt;br /&gt;
#USB A-B cord, i.e. printer cable, which doesn&#039;t suck&lt;br /&gt;
#Solid state relays -- we used [http://www.clare.com/home/pdfs.nsf/www/LBA110.pdf/$file/LBA110.pdf] this one.  --This should move to custom parts and off the wishlist (JS 4-20).&lt;br /&gt;
#Stuff to cut&lt;br /&gt;
##1/8&amp;quot; Baltic birch plywood&lt;br /&gt;
##Plastic sheets, e.g. acrylic&lt;br /&gt;
##Masonite?&lt;br /&gt;
#Cabinet reinforcements&lt;br /&gt;
##dimensional lumber, e.g. 2x4, 2x2, 1x3&lt;br /&gt;
##unidirectional casters&lt;br /&gt;
#Cooling system stuff&lt;br /&gt;
##Distilled water&lt;br /&gt;
##Float switch&lt;br /&gt;
##Thermocouple or thermistor/RTD temperature sensor probe&lt;br /&gt;
##Radiator and fans&lt;br /&gt;
##Solidstate heat pump&lt;br /&gt;
##Working water fountain chiller (for future use on the 100W downstairs)&lt;br /&gt;
##PLC/Microcontroller with A/D inputs for temperature probe conditioning and temp display (advanced task)&lt;br /&gt;
#Green connectors for smoothieboard and laser powersupply [https://www.amazon.com/uxcell-Terminals-Pitch-Mount-Terminal/dp/B00E6Q4FE6/ref=sr_1_9?ie=UTF8&amp;amp;qid=1493691567&amp;amp;sr=8-9&amp;amp;keywords=pluggable+terminal+block+connector]&lt;br /&gt;
&lt;br /&gt;
==To-Do Tasks==&lt;br /&gt;
#Airflow switch housing&lt;br /&gt;
##manufacture&lt;br /&gt;
##install&lt;br /&gt;
#Coolant interlocks&lt;br /&gt;
##Level sensor&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Flow sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Temp sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
#Door switches&lt;br /&gt;
##wire up switches&lt;br /&gt;
#Chassis wiring&lt;br /&gt;
##Mount one of the terminal strips and wire up the safety switches&lt;br /&gt;
##Draw a wiring diagram of custom components and label/number the terminals&lt;br /&gt;
#CNC firing control - This svg file can be used to test run the laser: [[Laser circle test]]&lt;br /&gt;
##find firing signal on Smoothie board&lt;br /&gt;
##determine relay requirements&lt;br /&gt;
##purchase and receive relay&lt;br /&gt;
##install firing relay&lt;br /&gt;
#CNC power control&lt;br /&gt;
##find PWM power level control signal on Smoothie board - PWM duration 300us&lt;br /&gt;
##fabricate converter - breadboarded and bench tested&lt;br /&gt;
##install converter&lt;br /&gt;
#software&lt;br /&gt;
##determine best software to use&lt;br /&gt;
##develop workflows for various programs and operating systems&lt;br /&gt;
##update this page to explain the above&lt;br /&gt;
&lt;br /&gt;
==Completed Tasks==&lt;br /&gt;
If you do work on the laser, please record it here.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Task !! Fixer !! Date !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Create Wiki page || [[user:James|James]] || 3/24/2017 || Ongoing updates needed&lt;br /&gt;
|-&lt;br /&gt;
| Install operational exhaust system || James || 2/2017 || Still needs interlocks&lt;br /&gt;
|-&lt;br /&gt;
| Install cooling system || James || 2/2017 || Air cooling or refrigeration could be added&lt;br /&gt;
|-&lt;br /&gt;
| Connect control power supply to switched mains || James || 3/2017 || Done&lt;br /&gt;
|-&lt;br /&gt;
| Get x and y axis movements working || [[user:Tom|Tom]] || 3/2017 || Firing still needs to be fixed&lt;br /&gt;
|-&lt;br /&gt;
| Replaced cooling pump power cord plug || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed door closure bolts on left cabinet door || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed cutting chamber illumination LEDs and 12VDC powersupply || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Control + interlock circuits design/brainstorm session || James + Tom || 3/27/2017 || See webpages below for Smothieboard help&lt;br /&gt;
|-&lt;br /&gt;
| Mocked up and tested control circuit for PWM from smoothieboard || James + Tom || 3/27/2017 || http://smoothieware.org/laser-cutter-guide&lt;br /&gt;
|-&lt;br /&gt;
| Scoped out various pins on the smoothieboard to find PWM out || James + Tom || 3/27/2017 || http://smoothieware.org/smoothieboard-v1&lt;br /&gt;
|-&lt;br /&gt;
| Removed control panel || James || 3/30/17 || Don&#039;t mess with nothing until a new one gets installed!&lt;br /&gt;
|-&lt;br /&gt;
| Tried to 3d print a new control panel || James || 4/2/17 || Lulzbot Taz either didn&#039;t extrude or made bird poop. :( It&#039;s too bad we don&#039;t have a working laser cutter.&lt;br /&gt;
|-&lt;br /&gt;
| Adjusted program size parameters based on failed print and added ammeter mounting screw holes to control panel design || James || 4/11/17 || Still need to upload new SVG here and print it&lt;br /&gt;
|-&lt;br /&gt;
| Ordered self adhesive cable tie mounting squares and SSR for PWM-&amp;gt; DC || Tom || 4/11/17 || Delivery expected Thursday&lt;br /&gt;
|-&lt;br /&gt;
| Design 3d-printed mounting bracket/clip to hold switches for door interlocks || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Design, breadboard and test PWM circuit with solid state relay and newly determined time constant || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded exhaust nozzle and exhaust flow switch scad files || James || 4/20/17 || Flow switch needs printing and Tom&#039;s nacelle needs dimension tweeking.&lt;br /&gt;
|-&lt;br /&gt;
| Tried printing control panel on the Ultimaker&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; || James || 4/25/17 || Print failed twice, but third time looked good before I left.&lt;br /&gt;
|-&lt;br /&gt;
| Installed control panel 3d printed on Tuesday || James || 4/27/17 || Controls and indicators are installed but not operational, yet.  It looks sweet! Could be thicker, maybe 4mm.  Dimensions could use tweeking too: toggle switches moved down, corner radii reduced,...&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded source code and stl for water level float switch and for terminal block holders.  Installed v5 of door switch holder and soldered wires to switches. || James || 5/1/17 || Still need to print float switch parts and terminal block holders. New parts fit well. A very productive day overall.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Equipment]]&lt;br /&gt;
[[Category:LaserCutter]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:Ongoing Projects]]&lt;br /&gt;
[[Category:Project Awesome]]&lt;br /&gt;
[[Category:CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=File:Tbh.stl&amp;diff=13287</id>
		<title>File:Tbh.stl</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=File:Tbh.stl&amp;diff=13287"/>
		<updated>2017-05-05T21:00:36Z</updated>

		<summary type="html">&lt;p&gt;James: James uploaded a new version of &amp;amp;quot;File:Tbh.stl&amp;amp;quot;: v2 upload with adjusted dimensions of the individual parts and relocated mirror image to reduce travel time of extruder when going from left hand to right hand parts during printing.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Terminal block holder stl file.&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Terminal_block_holder&amp;diff=13286</id>
		<title>Terminal block holder</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Terminal_block_holder&amp;diff=13286"/>
		<updated>2017-05-05T20:57:34Z</updated>

		<summary type="html">&lt;p&gt;James: updated dimensions to make v2 after trial fit of v1 didn&amp;#039;t work so well.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Tbh.stl]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
//Terminal Block Holder v2 - reduced height from 15 to 10 and raised screw hole 2mm by reducing end width (EW) from 12 to 8.&lt;br /&gt;
//James Sullivan&lt;br /&gt;
//5/1/17&lt;br /&gt;
//OpenSCAD version 2015.03-1 &lt;br /&gt;
//HacDC, cheap Chinese laser, K40, 40 watt&lt;br /&gt;
//These parts hold a terminal block for landing of the wires going to the safety interlock switches.  It is designed to use self threading&lt;br /&gt;
    screws without nuts.  Handedness is based upon which end of the terminal strip the mount sets on when looking at the terminal strip.&lt;br /&gt;
    The right piece goes toward the back of the machine, and the left piece goes toward the front.  The first version was too tall to slide&lt;br /&gt;
    on the front of the chassis and too long to fit on the back, so both dimensions are reduced here in version 2.&lt;br /&gt;
thick=5;	//thickness of part&lt;br /&gt;
metal=1;	//metal thickness of the chassis sheet metal&lt;br /&gt;
slot=16;	//width of slot in mount, width of flange on machine, full width outside to outside!&lt;br /&gt;
height = 10;	//z distance of mount, extrusion height, installed length&lt;br /&gt;
tw=slot+2*thick;    //total width&lt;br /&gt;
$fn=40;&lt;br /&gt;
bhd=4.0;    //bolt hole diameter&lt;br /&gt;
et=4.0;     //end thickness between bolt hole perimeter and square end&lt;br /&gt;
ew=8.0;     //end width: height of mounting boss&lt;br /&gt;
foo=6.7;    //width of cylinders&lt;br /&gt;
foo2=8.7;   //thickness of terminal strip in axial direction of mounting screws&lt;br /&gt;
rd=2.8;     //root diameter of mounting screws&lt;br /&gt;
module right(){ difference(){&lt;br /&gt;
	union(){&lt;br /&gt;
		cube([tw,thick,height]); //top horizontal&lt;br /&gt;
		translate([thick+metal,-thick-metal,0]) cube([slot+thick-metal,thick,height]); //lower horizontal&lt;br /&gt;
		translate([0,-metal-thick*1.5,0]) cube([thick,metal+thick*2.5,height]); //left vertical&lt;br /&gt;
		translate([thick+metal,-1.5*thick-metal,0]) cube([thick,thick*1.5,height]); //center vertical&lt;br /&gt;
		translate([slot+thick,-metal-thick,0]) cube([thick,metal+thick*2,height]); //right vertical&lt;br /&gt;
        translate([thick*2,-ew-metal,0]) cube([slot-thick,ew,height+bhd+2*et]);&lt;br /&gt;
 	}&lt;br /&gt;
    translate([0,-ew/2-metal,height+et+bhd/2]) rotate([0,90,0]) cylinder(d=rd,h=tw);    &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
right();&lt;br /&gt;
translate([0,-ew*2-metal*3,0]) mirror([0,1,0]) right();&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Air_flow_switch_holder&amp;diff=13280</id>
		<title>Air flow switch holder</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Air_flow_switch_holder&amp;diff=13280"/>
		<updated>2017-05-03T04:47:54Z</updated>

		<summary type="html">&lt;p&gt;James: added points for improvement&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the OpenSCAD code to create a wafer air flow sensor (and backflow preventer) to hold a microswitch to stop the laser from firing if the exhaust flow stops.  Dimensions have been set to match the exhaust nozzle.  The current version of the nacelle doesn&#039;t quite match, even though the nozzle was reverse engineered from it.&lt;br /&gt;
&lt;br /&gt;
This was printed on 5/1 and it has some issues.  &lt;br /&gt;
#The arms which hold the switch body interfere with the flap plate.  &lt;br /&gt;
#The flap plate axis of rotation could be lowered to improve the balance.  &lt;br /&gt;
#The thickness of the wafer can be increased to reduce the warpage of the piece.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
exhaust airflow detector&lt;br /&gt;
safety interlock for cheap Chinese laser at Hac DC&lt;br /&gt;
This switch is a lug style wafer for insertion between the exhaust collector and the exhaust nozzle on the back of the laser chassis.  When the exhaust fan is running and air is flowing the switch will operate to allow the laser to fire.  This switch is upstream of the exhaust fan so air will leak into the exhaust stream, not exhaust leaking out into room air.&lt;br /&gt;
James Sullivan&lt;br /&gt;
4-20-17&lt;br /&gt;
OpenSCAD version 2015.03-1 &lt;br /&gt;
&lt;br /&gt;
--dimensions from mating exhaust nozzle--&lt;br /&gt;
nid=60;     //nozzle inner diameter&lt;br /&gt;
nod=80;     //nozzle outer diameter&lt;br /&gt;
mod=100;    //maximum outer diameter&lt;br /&gt;
sh=30;      //step height&lt;br /&gt;
sw=5;       //step width&lt;br /&gt;
oah=50;     //over-all height&lt;br /&gt;
tlw=3;      //top ledge width&lt;br /&gt;
bcd=46.8*2; //bolt circle diameter&lt;br /&gt;
bhd=3.6;    //bolt hole diameter&lt;br /&gt;
fw=12;      //foot width&lt;br /&gt;
fh=15;      //foot height&lt;br /&gt;
fod=108;    //foot outside dimension, from outside edge to outside edge&lt;br /&gt;
fid=(nid+nod)/2;//foot inside dimension, from inside edge to inside edge&lt;br /&gt;
&lt;br /&gt;
*/&lt;br /&gt;
fid=60;  //flange inner diameter, same as nid&lt;br /&gt;
fod=80;  //flange outer diameter, same as nod&lt;br /&gt;
bhd=3.6; //bolt hole diameter&lt;br /&gt;
bcd=93.6;//bolt circle diameter&lt;br /&gt;
hph=10;  //hinge pin height above center line, i.e. butterfly offset.  Reduce to make switch more sensitive.  Increse to make switch more stable.&lt;br /&gt;
sfw=sqrt(fid*fid-4*hph*hph); //switch flap width&lt;br /&gt;
shd=2;  //switch hole diameter&lt;br /&gt;
shp=10; //switch hole pitch, i.e. center to center spacing of mounting holes on microswitch&lt;br /&gt;
srh=8;  //switch roller height, i.e. height above switch hole centerline where switching action occurs&lt;br /&gt;
sbw=6;  //switch body width&lt;br /&gt;
nfw=5;  //nut face width&lt;br /&gt;
nt=1;   //nut thickness&lt;br /&gt;
thick=3;    //thickness of flange&lt;br /&gt;
$fn=80;&lt;br /&gt;
&lt;br /&gt;
difference(){&lt;br /&gt;
    union(){&lt;br /&gt;
        cylinder(d=fod,h=thick);    //wafer body&lt;br /&gt;
        hull(){ //horizontal lugs&lt;br /&gt;
            translate([bcd/2,0,0]) cylinder(d=3*bhd, h=thick);&lt;br /&gt;
            translate([-bcd/2,0,0]) cylinder(d=3*bhd, h=thick);&lt;br /&gt;
        }&lt;br /&gt;
        rotate([0,0,90]) hull(){  //vertical lugs&lt;br /&gt;
            translate([bcd/2,0,0]) cylinder(d=3*bhd, h=thick);&lt;br /&gt;
            translate([-bcd/2,0,0]) cylinder(d=3*bhd, h=thick);&lt;br /&gt;
        } &lt;br /&gt;
    }&lt;br /&gt;
    translate([0,0,-thick/2]) intersection(){   //bore&lt;br /&gt;
        cylinder(d=fid, h=2*thick);  //circular top and bottom&lt;br /&gt;
        cube([sfw,fod,thick*4],true);    //vertical left and right&lt;br /&gt;
    }&lt;br /&gt;
    for (angle=[0:90:270]){ //bolt holes in lugs&lt;br /&gt;
        rotate([0,0,angle]) translate([bcd/2,0,-thick/2]) cylinder(d=bhd,h=thick*2);&lt;br /&gt;
    }&lt;br /&gt;
    for (angle=[55:5:65]){  //wire holes through flange&lt;br /&gt;
        translate([0,0,thick/2]) rotate([0,90,angle]) cylinder(d=1,h=bcd/2);&lt;br /&gt;
    }&lt;br /&gt;
    translate([0,hph,thick/2]) rotate([0,90,0]) cylinder(d=1,h=bcd+4*bhd,center=true);  //hinge pin axle hole&lt;br /&gt;
}&lt;br /&gt;
translate([0,fid/2-shp-3*shd,0]){   //switch holder&lt;br /&gt;
    difference(){&lt;br /&gt;
        union(){&lt;br /&gt;
            translate([sbw/2,0,0]) cube([thick,shp+3*shd,3*shd]);   //left mount flange&lt;br /&gt;
            translate([-sbw/2-thick,0,0]) cube([thick,shp+3*shd,3*shd]);//right mount flange&lt;br /&gt;
        }&lt;br /&gt;
        translate([-sbw/2-3/2*thick,3/2*shd,3/2*shd]) rotate([0,90,0]) cylinder(d=shd,h=sbw+3*thick);   //lower bolt hole&lt;br /&gt;
        translate([-sbw/2-3/2*thick,shp+3/2*shd,3/2*shd]) rotate([0,90,0]) cylinder(d=shd,h=sbw+3*thick);//upper bolt hole&lt;br /&gt;
        for (angle=[0:120:240]){&lt;br /&gt;
            translate([-sbw/2-thick,3/2*shd,3/2*shd]) rotate([angle,0,0]) cube([nt*2,nfw,nfw/sqrt(3)],center=true); //lower nut socket&lt;br /&gt;
            translate([-sbw/2-thick,shp+3/2*shd,3/2*shd]) rotate([angle,0,0]) cube([nt*2,nfw,nfw/sqrt(3)],center=true); //upper nut socket&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    translate([sbw/2+thick,shp/2+shd*1.5,shd*1.5]) cylinder(d1=shd*1.2,d2=0,h=shd*1.5); //flow direction arrow head&lt;br /&gt;
    translate([sbw/2+thick,shp/2+shd*1.5,0]) cylinder(d=shd*0.6,h=shd*1.5); //flow direction arrow shaft&lt;br /&gt;
    translate([-sbw/2-thick,shp/2+shd*1.5,shd*1.5]) cylinder(d1=shd*1.2,d2=0,h=shd*1.5);//flow direction arrow head&lt;br /&gt;
    translate([-sbw/2-thick,shp/2+shd*1.5,0]) cylinder(d=shd*0.6,h=shd*1.5); //flow direction arrow shaft&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
translate([0,fid/2+bcd/2+bhd*2,0]) difference(){    //flap disk&lt;br /&gt;
    intersection(){   //bore&lt;br /&gt;
        cylinder(d=fid-0.5, h=thick);  //circular top and bottom&lt;br /&gt;
        cube([sfw-0.5,fod,thick*2],true);    //vertical left and right&lt;br /&gt;
    }&lt;br /&gt;
    translate([0,hph,thick/2]) rotate([0,90,0]) cylinder(d=1,h=bcd+4*bhd,center=true);  //hinge pin axis&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13268</id>
		<title>Cheap Chinese Laser</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13268"/>
		<updated>2017-05-02T03:50:17Z</updated>

		<summary type="html">&lt;p&gt;James: updated 5/1/17 entry&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cheap Chinese Laser]]&lt;br /&gt;
&lt;br /&gt;
This is the page dealing with the [[Cheap Chinese Laser]] at [https://www.hacdc.org HacDC] in the upstairs room at St. Stephen and the Incarnate church in Washington, DC.  This page replaces [[PA LaserCutter]] page from some years ago.  It had high ideals, but poor execution.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
HacDC has a K40, 40W, CO2, water cooled, laser for CNC cutting of various materials, aka a cheap Chinese laser.  It allegedly used to work just fine, but someone decided that wasn&#039;t good enough so she ordered and halfass installed some new parts that only halfass work.  After our intrepid hero, [[user:James|James]], fullyassed the installation of the new parts, the laser still only halfass worked.  [[user:Tom|Tom]] was railroaded into helping with the software, but even so the dynamic duo couldn&#039;t get the damn thing to work.  Then one day at work, boredom struck in a meeting and James had the idea to create this wiki page to guide others through the confusion and misinformation that plagues most equipment at HacDC and often results in subpar operation.  I beseech you, dear reader, to continue your edification on our topic at hand and become your own evil archvillain with laser powers.  (Sharks sold separately.)&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
===Chassis===&lt;br /&gt;
The chassis is the laser itself, the blue metal box with 3 flip up lids.  The main lid users deal with is for the cutting chamber on the left front of the machine.  It includes an orange plastic window.  The cutting chamber contains the transverse and longitudinal axes, aka x and y.  X goes left to right, and y goes back to front.  The material to be cut goes in this chamber.  The second flip up lid is for the controls and power supplies chamber.  This lid contains the front panel controls and indicators.  There are two control boards, the Smoothie board and the K40 ACR plug-and-play board which connects the Smoothie board to the machine hardware.  There are two power supplies as well, the control powersupply which is right below the control boards and the high-voltage (and I mean real high voltage, like around 15kV, not those nambypamby B.S. 120VAC &amp;quot;high voltage&amp;quot; warning labels) laser tube power supply which creates enough voltage to rip the electrons off the CO2 molecules and ionize them and cause them to emit coherent light when the electrons get back together with their matching CO2 ions.  For more about this exciting process, read a science book.  The third lid covers the laser tube chamber at the back of the chassis.  You don&#039;t really need to mess with these last two lids unless you are modifying the equipment or troubleshooting a failure.  All the lids have interlock switches and the laser will not fire if any one is open (unless you flip the override switch, in which case, it&#039;s your own darn fault for burning out your eye, as we say in Charlotte, &amp;quot;you did it to yourself&amp;quot;).&lt;br /&gt;
===Exhaust===&lt;br /&gt;
The exhaust system sucks smoke from the laser chassis cutting chamber and sends it outside through a window.  It was cobbled together using a fan and housing salvaged from a prior laser cutter and is mostly held together with zipties and metal duct tape.  Seriously.  I&#039;m not kidding.  Actual zipties and duct tape.  (I&#039;d like to give a shout-out to Home Depot for selling me the role of metal tape for only one cent.)  If any part of the whole laser system is going to crap out, this would be a good part to bet on.  It also uses 4&amp;quot; diameter (that&#039;s 105mm for those of you on the metric system) flexible metal clothes dryer exhaust duct to carry the exhaust gasses.  There are custom-made, 3d-printed transiton pieces at the back of the laser chassis which replace the original feeble exhaust system.  Read about them [[K40_Exhaust_Assembly|here]]&lt;br /&gt;
&lt;br /&gt;
===Cooling===&lt;br /&gt;
The cooling system presently consists of a 5 gallon pail in the roller cabinet with a submersible pump.  The water should be replaced with distilled.  (The pump power cord got a new plug.  It stays plugged in much better than the original cheap Chinese plug.)  If the water doesn&#039;t flow, the laser will burnout.  Sadness.  The cooling system presently only works based on the heat capacity of the water in the bucket.  Once the water heats up, you just need to wait for it to cool back down all by itself.  You can read about other people with more sophisticated refrigerated cooling systems, but this was quick and easy, like a virgin on prom night.  Julia has mentioned she&#039;s got some thermoelectric coolers in hiding for this project.  We&#039;ll cross that bridge when we get everything else running first.  The cooling system will have 3 interlocks: low water level, low flow, and high temperature.&lt;br /&gt;
&lt;br /&gt;
===Computer===&lt;br /&gt;
This is CNC equipment.  The first C is for Computer.  (No, not for cookie, but we often have cookies anyway.)  You need a computer with a USB port.  You need computer software.  I hope we can have a computer dedicated to the laser, but let&#039;s be real, that&#039;s not likely to happen.  I hope Tom will fill out this section.&lt;br /&gt;
===Cabinet===&lt;br /&gt;
The cabinet is what the chassis sits on.  The cabinet has wheels.  It&#039;s made of particle board and painted white.  The left door has upper and lower latches inside which hold it shut, so don&#039;t yank on it.  The cabinet houses the cooling system, the power strip which all the line voltage equipment plugs into: exhaust fan, cooling pump, laser chassis, 12V power supply (not yet installed).&lt;br /&gt;
&lt;br /&gt;
==Safety Interlocks==&lt;br /&gt;
&#039;&#039;&#039;None of these safeties are installed yet.&#039;&#039;&#039;  Don&#039;t go futzing around with stuff unless you know exactly what you are doing.  And tell James or Tom.&lt;br /&gt;
===Ventilation===&lt;br /&gt;
#Exhaust - If the exhaust fan isn&#039;t moving air, we don&#039;t want the laser to fire and make lots of smoke which would then fill the room&lt;br /&gt;
#Lens - Eventually we plan to install an air shroud nozzle around the laser lens to keep smoke from coating the lens and reducing cutting power.&lt;br /&gt;
===Coolant===&lt;br /&gt;
#Level - &lt;br /&gt;
#Flow&lt;br /&gt;
#Temp&lt;br /&gt;
===Doors===&lt;br /&gt;
#Cutting Chamber&lt;br /&gt;
#Control Chamber&lt;br /&gt;
#Laser Chamber - Probably not going to install this switch because the door is in back and control panel space is at a premium&lt;br /&gt;
#Cabinet - Probably not going to install this switch because there&#039;s not much harm in the cabinet and control panel space is at a premium&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
===Prestart===&lt;br /&gt;
#Come up with design&lt;br /&gt;
#Create SVG using software like [https://inkscape.org/ Inkscape]&lt;br /&gt;
#Upload SVG to computer&lt;br /&gt;
#Convert SVG to toolpath using software like [http://www.scorchworks.com/LaserDRW_extension/laserdrw_extension.html Laser Draw]&lt;br /&gt;
&lt;br /&gt;
===Startup===&lt;br /&gt;
#Roll cabinet out from under shelf&lt;br /&gt;
#Get extension cord out of cabinet and plug laser into extension cord and extension cord into live receptacle&lt;br /&gt;
#Turn on laser master power switch&lt;br /&gt;
#Close cabinet door&lt;br /&gt;
#Load material to be cut in laser cabinet&lt;br /&gt;
#Shut lid on cutting chamber&lt;br /&gt;
#Turn on laser cabinet power switch&lt;br /&gt;
===Operations===&lt;br /&gt;
#Ensure all safety interlocks are operable by checking indicator lights&lt;br /&gt;
#Run program without laser powered on to observe tool path and ensure material to be cut in properly arranged in the cutting chamber&lt;br /&gt;
#Run program with laser powered on to cut material&lt;br /&gt;
===Shutdown===&lt;br /&gt;
#Turn off laser chassis and master power switches&lt;br /&gt;
#Unplug laser and extension cord&lt;br /&gt;
#Coilup and store extension cord&lt;br /&gt;
#Shut cabinet door&lt;br /&gt;
#Roll cabinet back under the shelf&lt;br /&gt;
#Continue with your evil plans for world domination&lt;br /&gt;
&lt;br /&gt;
==Custom Wiring== &lt;br /&gt;
Julia had some LED strips she wanted installed.  We succeeded.  The illuminate when the main power is turned on.&lt;br /&gt;
[[File:Laser-leds1.jpg]]&lt;br /&gt;
&lt;br /&gt;
They are white LEDs but the orange laser viewing window colors them.&lt;br /&gt;
&lt;br /&gt;
[[File:Laser-leds2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sully really likes relays and discrete, analogue circuits, so he jimmied up a bunch of stuff to make it less likely for you to poke your eye out or burn out the laser.&lt;br /&gt;
The laser power supply from the factory takes input from 3 front panel controls: off-on laser switch, momentary-on laser switch, power control potentiometer knob.  The off-on switch was a cheap latching push button which was connected to the leftmost two terminals of the 6 terminal plug with black wires.  It was replaced with an off-on, metal, toggle switch on 3-23-17.  The middle two terminals of the block connect to the momentary on push button switch on the front panel which causes the laser to fire (when the left two terminals are shorted together by the toggle switch).  The right 3 terminals (which overlap with the right center terminal going to the push button switch) connect to the front panel potentiometer which controls the laser current.  Do not turn the knob to full clockwise, because increasing the laser firing current past a certain point doesn&#039;t provide any benefit and just reduces the tube lifespan.  The plan is to parallelize the push button firing switch with a solid-state relay controlled directly by the Smoothie board and bypassing the K40 ACR board (which was supposed to make the Smoothie board plug-and-play, but as mentioned earlier did a halfassed job).  The potentiometer will be connected to a 3PDT switch for computerized or manual power level control.  A PWM to DC circuit will do the automatic control and the original pot will remain for the manual control.&lt;br /&gt;
The safety interlocks are basically a whole bunch of microswitches in series so if any one of them gets tripped the left two pins of the power supply 6 pin connector won&#039;t be shorted together and the laser won&#039;t fire.  There&#039;s also a plan to have lights illuminate to show which safeties are operating properly or tripped.  Plus indicator lights are cool.  And for the remaining manual firing switches we plan on getting those flip-up red covers like in those military movies where they&#039;re firing nuclear missiles and stuff like that.  These would aid in troubleshooting, and look really cool, even if they are kinda spendy.  Man, this is really turning into a wall of text.  Someone should do something about this sometime.  Anyway, schematic drawings would go here, or links to them would go here.&lt;br /&gt;
&lt;br /&gt;
==Custom Parts==&lt;br /&gt;
Images of custom parts like the exhaust nozzles and eventually a new control panel and source files for 3d printed or laser cut parts can go here.&lt;br /&gt;
&lt;br /&gt;
[[CCL front panel]]&lt;br /&gt;
&lt;br /&gt;
[[Air flow switch holder]]&lt;br /&gt;
&lt;br /&gt;
[[Exhaust nozzle]]&lt;br /&gt;
&lt;br /&gt;
This image is colored for 3d printing using it as a height map: black=0mm, gray=1mm, white=2mm. 174mm wide, 184mm tall.&lt;br /&gt;
The SVG file was created by a Ruby program to modularize the positions and sizes of cutouts for switches, nobs, lamps, etc.&lt;br /&gt;
&lt;br /&gt;
[[file:Control-panel.png]]&lt;br /&gt;
&lt;br /&gt;
==Bill of Materials, a.k.a. Donation Wishlist, and Hardware Store Shopping List==&lt;br /&gt;
#Laser goggles&lt;br /&gt;
#USB A-B cord, i.e. printer cable, which doesn&#039;t suck&lt;br /&gt;
#Solid state relays -- we used [http://www.clare.com/home/pdfs.nsf/www/LBA110.pdf/$file/LBA110.pdf] this one.  --This should move to custom parts and off the wishlist (JS 4-20).&lt;br /&gt;
#Stuff to cut&lt;br /&gt;
##1/8&amp;quot; Baltic birch plywood&lt;br /&gt;
##Plastic sheets, e.g. acrylic&lt;br /&gt;
##Masonite?&lt;br /&gt;
#Cabinet reinforcements&lt;br /&gt;
##dimensional lumber, e.g. 2x4, 2x2, 1x3&lt;br /&gt;
##unidirectional casters&lt;br /&gt;
#Cooling system stuff&lt;br /&gt;
##Distilled water&lt;br /&gt;
##Float switch&lt;br /&gt;
##Thermocouple or thermistor/RTD temperature sensor probe&lt;br /&gt;
##Radiator and fans&lt;br /&gt;
##Solidstate heat pump&lt;br /&gt;
##Working water fountain chiller (for future use on the 100W downstairs)&lt;br /&gt;
##PLC/Microcontroller with A/D inputs for temperature probe conditioning and temp display (advanced task)&lt;br /&gt;
#Green connectors for smoothieboard and laser powersupply [https://www.amazon.com/uxcell-Terminals-Pitch-Mount-Terminal/dp/B00E6Q4FE6/ref=sr_1_9?ie=UTF8&amp;amp;qid=1493691567&amp;amp;sr=8-9&amp;amp;keywords=pluggable+terminal+block+connector]&lt;br /&gt;
&lt;br /&gt;
==To-Do Tasks==&lt;br /&gt;
#Airflow switch housing&lt;br /&gt;
##manufacture&lt;br /&gt;
##install&lt;br /&gt;
#Coolant interlocks&lt;br /&gt;
##Level sensor&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Flow sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Temp sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
#Door switches&lt;br /&gt;
##wire up switches&lt;br /&gt;
#Chassis wiring&lt;br /&gt;
##Mount one of the terminal strips and wire up the safety switches&lt;br /&gt;
##Draw a wiring diagram of custom components and label/number the terminals&lt;br /&gt;
#CNC firing control - This svg file can be used to test run the laser: [[Laser circle test]]&lt;br /&gt;
##find firing signal on Smoothie board&lt;br /&gt;
##determine relay requirements&lt;br /&gt;
##purchase and receive relay&lt;br /&gt;
##install firing relay&lt;br /&gt;
#CNC power control&lt;br /&gt;
##find PWM power level control signal on Smoothie board - PWM duration 300us&lt;br /&gt;
##fabricate converter - breadboarded and bench tested&lt;br /&gt;
##install converter&lt;br /&gt;
#software&lt;br /&gt;
##determine best software to use&lt;br /&gt;
##develop workflows for various programs and operating systems&lt;br /&gt;
##update this page to explain the above&lt;br /&gt;
&lt;br /&gt;
==Completed Tasks==&lt;br /&gt;
If you do work on the laser, please record it here.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Task !! Fixer !! Date !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Create Wiki page || [[user:James|James]] || 3/24/2017 || Ongoing updates needed&lt;br /&gt;
|-&lt;br /&gt;
| Install operational exhaust system || James || 2/2017 || Still needs interlocks&lt;br /&gt;
|-&lt;br /&gt;
| Install cooling system || James || 2/2017 || Air cooling or refrigeration could be added&lt;br /&gt;
|-&lt;br /&gt;
| Connect control power supply to switched mains || James || 3/2017 || Done&lt;br /&gt;
|-&lt;br /&gt;
| Get x and y axis movements working || [[user:Tom|Tom]] || 3/2017 || Firing still needs to be fixed&lt;br /&gt;
|-&lt;br /&gt;
| Replaced cooling pump power cord plug || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed door closure bolts on left cabinet door || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed cutting chamber illumination LEDs and 12VDC powersupply || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Control + interlock circuits design/brainstorm session || James + Tom || 3/27/2017 || See webpages below for Smothieboard help&lt;br /&gt;
|-&lt;br /&gt;
| Mocked up and tested control circuit for PWM from smoothieboard || James + Tom || 3/27/2017 || http://smoothieware.org/laser-cutter-guide&lt;br /&gt;
|-&lt;br /&gt;
| Scoped out various pins on the smoothieboard to find PWM out || James + Tom || 3/27/2017 || http://smoothieware.org/smoothieboard-v1&lt;br /&gt;
|-&lt;br /&gt;
| Removed control panel || James || 3/30/17 || Don&#039;t mess with nothing until a new one gets installed!&lt;br /&gt;
|-&lt;br /&gt;
| Tried to 3d print a new control panel || James || 4/2/17 || Lulzbot Taz either didn&#039;t extrude or made bird poop. :( It&#039;s too bad we don&#039;t have a working laser cutter.&lt;br /&gt;
|-&lt;br /&gt;
| Adjusted program size parameters based on failed print and added ammeter mounting screw holes to control panel design || James || 4/11/17 || Still need to upload new SVG here and print it&lt;br /&gt;
|-&lt;br /&gt;
| Ordered self adhesive cable tie mounting squares and SSR for PWM-&amp;gt; DC || Tom || 4/11/17 || Delivery expected Thursday&lt;br /&gt;
|-&lt;br /&gt;
| Design 3d-printed mounting bracket/clip to hold switches for door interlocks || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Design, breadboard and test PWM circuit with solid state relay and newly determined time constant || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded exhaust nozzle and exhaust flow switch scad files || James || 4/20/17 || Flow switch needs printing and Tom&#039;s nacelle needs dimension tweeking.&lt;br /&gt;
|-&lt;br /&gt;
| Tried printing control panel on the Ultimaker&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; || James || 4/25/17 || Print failed twice, but third time looked good before I left.&lt;br /&gt;
|-&lt;br /&gt;
| Installed control panel 3d printed on Tuesday || James || 4/27/17 || Controls and indicators are installed but not operational, yet.  It looks sweet! Could be thicker, maybe 4mm.  Dimensions could use tweeking too: toggle switches moved down, corner radii reduced,...&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded source code and stl for water level float switch and for terminal block holders.  Installed v5 of door switch holder and soldered wires to switches. || James || 5/1/17 || Still need to print float switch parts and terminal block holders. New parts fit well. A very productive day overall.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Equipment]]&lt;br /&gt;
[[Category:LaserCutter]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:Ongoing Projects]]&lt;br /&gt;
[[Category:Project Awesome]]&lt;br /&gt;
[[Category:CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13267</id>
		<title>Cheap Chinese Laser</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13267"/>
		<updated>2017-05-02T03:47:29Z</updated>

		<summary type="html">&lt;p&gt;James: clean up of interlock tasks&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cheap Chinese Laser]]&lt;br /&gt;
&lt;br /&gt;
This is the page dealing with the [[Cheap Chinese Laser]] at [https://www.hacdc.org HacDC] in the upstairs room at St. Stephen and the Incarnate church in Washington, DC.  This page replaces [[PA LaserCutter]] page from some years ago.  It had high ideals, but poor execution.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
HacDC has a K40, 40W, CO2, water cooled, laser for CNC cutting of various materials, aka a cheap Chinese laser.  It allegedly used to work just fine, but someone decided that wasn&#039;t good enough so she ordered and halfass installed some new parts that only halfass work.  After our intrepid hero, [[user:James|James]], fullyassed the installation of the new parts, the laser still only halfass worked.  [[user:Tom|Tom]] was railroaded into helping with the software, but even so the dynamic duo couldn&#039;t get the damn thing to work.  Then one day at work, boredom struck in a meeting and James had the idea to create this wiki page to guide others through the confusion and misinformation that plagues most equipment at HacDC and often results in subpar operation.  I beseech you, dear reader, to continue your edification on our topic at hand and become your own evil archvillain with laser powers.  (Sharks sold separately.)&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
===Chassis===&lt;br /&gt;
The chassis is the laser itself, the blue metal box with 3 flip up lids.  The main lid users deal with is for the cutting chamber on the left front of the machine.  It includes an orange plastic window.  The cutting chamber contains the transverse and longitudinal axes, aka x and y.  X goes left to right, and y goes back to front.  The material to be cut goes in this chamber.  The second flip up lid is for the controls and power supplies chamber.  This lid contains the front panel controls and indicators.  There are two control boards, the Smoothie board and the K40 ACR plug-and-play board which connects the Smoothie board to the machine hardware.  There are two power supplies as well, the control powersupply which is right below the control boards and the high-voltage (and I mean real high voltage, like around 15kV, not those nambypamby B.S. 120VAC &amp;quot;high voltage&amp;quot; warning labels) laser tube power supply which creates enough voltage to rip the electrons off the CO2 molecules and ionize them and cause them to emit coherent light when the electrons get back together with their matching CO2 ions.  For more about this exciting process, read a science book.  The third lid covers the laser tube chamber at the back of the chassis.  You don&#039;t really need to mess with these last two lids unless you are modifying the equipment or troubleshooting a failure.  All the lids have interlock switches and the laser will not fire if any one is open (unless you flip the override switch, in which case, it&#039;s your own darn fault for burning out your eye, as we say in Charlotte, &amp;quot;you did it to yourself&amp;quot;).&lt;br /&gt;
===Exhaust===&lt;br /&gt;
The exhaust system sucks smoke from the laser chassis cutting chamber and sends it outside through a window.  It was cobbled together using a fan and housing salvaged from a prior laser cutter and is mostly held together with zipties and metal duct tape.  Seriously.  I&#039;m not kidding.  Actual zipties and duct tape.  (I&#039;d like to give a shout-out to Home Depot for selling me the role of metal tape for only one cent.)  If any part of the whole laser system is going to crap out, this would be a good part to bet on.  It also uses 4&amp;quot; diameter (that&#039;s 105mm for those of you on the metric system) flexible metal clothes dryer exhaust duct to carry the exhaust gasses.  There are custom-made, 3d-printed transiton pieces at the back of the laser chassis which replace the original feeble exhaust system.  Read about them [[K40_Exhaust_Assembly|here]]&lt;br /&gt;
&lt;br /&gt;
===Cooling===&lt;br /&gt;
The cooling system presently consists of a 5 gallon pail in the roller cabinet with a submersible pump.  The water should be replaced with distilled.  (The pump power cord got a new plug.  It stays plugged in much better than the original cheap Chinese plug.)  If the water doesn&#039;t flow, the laser will burnout.  Sadness.  The cooling system presently only works based on the heat capacity of the water in the bucket.  Once the water heats up, you just need to wait for it to cool back down all by itself.  You can read about other people with more sophisticated refrigerated cooling systems, but this was quick and easy, like a virgin on prom night.  Julia has mentioned she&#039;s got some thermoelectric coolers in hiding for this project.  We&#039;ll cross that bridge when we get everything else running first.  The cooling system will have 3 interlocks: low water level, low flow, and high temperature.&lt;br /&gt;
&lt;br /&gt;
===Computer===&lt;br /&gt;
This is CNC equipment.  The first C is for Computer.  (No, not for cookie, but we often have cookies anyway.)  You need a computer with a USB port.  You need computer software.  I hope we can have a computer dedicated to the laser, but let&#039;s be real, that&#039;s not likely to happen.  I hope Tom will fill out this section.&lt;br /&gt;
===Cabinet===&lt;br /&gt;
The cabinet is what the chassis sits on.  The cabinet has wheels.  It&#039;s made of particle board and painted white.  The left door has upper and lower latches inside which hold it shut, so don&#039;t yank on it.  The cabinet houses the cooling system, the power strip which all the line voltage equipment plugs into: exhaust fan, cooling pump, laser chassis, 12V power supply (not yet installed).&lt;br /&gt;
&lt;br /&gt;
==Safety Interlocks==&lt;br /&gt;
&#039;&#039;&#039;None of these safeties are installed yet.&#039;&#039;&#039;  Don&#039;t go futzing around with stuff unless you know exactly what you are doing.  And tell James or Tom.&lt;br /&gt;
===Ventilation===&lt;br /&gt;
#Exhaust - If the exhaust fan isn&#039;t moving air, we don&#039;t want the laser to fire and make lots of smoke which would then fill the room&lt;br /&gt;
#Lens - Eventually we plan to install an air shroud nozzle around the laser lens to keep smoke from coating the lens and reducing cutting power.&lt;br /&gt;
===Coolant===&lt;br /&gt;
#Level - &lt;br /&gt;
#Flow&lt;br /&gt;
#Temp&lt;br /&gt;
===Doors===&lt;br /&gt;
#Cutting Chamber&lt;br /&gt;
#Control Chamber&lt;br /&gt;
#Laser Chamber - Probably not going to install this switch because the door is in back and control panel space is at a premium&lt;br /&gt;
#Cabinet - Probably not going to install this switch because there&#039;s not much harm in the cabinet and control panel space is at a premium&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
===Prestart===&lt;br /&gt;
#Come up with design&lt;br /&gt;
#Create SVG using software like [https://inkscape.org/ Inkscape]&lt;br /&gt;
#Upload SVG to computer&lt;br /&gt;
#Convert SVG to toolpath using software like [http://www.scorchworks.com/LaserDRW_extension/laserdrw_extension.html Laser Draw]&lt;br /&gt;
&lt;br /&gt;
===Startup===&lt;br /&gt;
#Roll cabinet out from under shelf&lt;br /&gt;
#Get extension cord out of cabinet and plug laser into extension cord and extension cord into live receptacle&lt;br /&gt;
#Turn on laser master power switch&lt;br /&gt;
#Close cabinet door&lt;br /&gt;
#Load material to be cut in laser cabinet&lt;br /&gt;
#Shut lid on cutting chamber&lt;br /&gt;
#Turn on laser cabinet power switch&lt;br /&gt;
===Operations===&lt;br /&gt;
#Ensure all safety interlocks are operable by checking indicator lights&lt;br /&gt;
#Run program without laser powered on to observe tool path and ensure material to be cut in properly arranged in the cutting chamber&lt;br /&gt;
#Run program with laser powered on to cut material&lt;br /&gt;
===Shutdown===&lt;br /&gt;
#Turn off laser chassis and master power switches&lt;br /&gt;
#Unplug laser and extension cord&lt;br /&gt;
#Coilup and store extension cord&lt;br /&gt;
#Shut cabinet door&lt;br /&gt;
#Roll cabinet back under the shelf&lt;br /&gt;
#Continue with your evil plans for world domination&lt;br /&gt;
&lt;br /&gt;
==Custom Wiring== &lt;br /&gt;
Julia had some LED strips she wanted installed.  We succeeded.  The illuminate when the main power is turned on.&lt;br /&gt;
[[File:Laser-leds1.jpg]]&lt;br /&gt;
&lt;br /&gt;
They are white LEDs but the orange laser viewing window colors them.&lt;br /&gt;
&lt;br /&gt;
[[File:Laser-leds2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sully really likes relays and discrete, analogue circuits, so he jimmied up a bunch of stuff to make it less likely for you to poke your eye out or burn out the laser.&lt;br /&gt;
The laser power supply from the factory takes input from 3 front panel controls: off-on laser switch, momentary-on laser switch, power control potentiometer knob.  The off-on switch was a cheap latching push button which was connected to the leftmost two terminals of the 6 terminal plug with black wires.  It was replaced with an off-on, metal, toggle switch on 3-23-17.  The middle two terminals of the block connect to the momentary on push button switch on the front panel which causes the laser to fire (when the left two terminals are shorted together by the toggle switch).  The right 3 terminals (which overlap with the right center terminal going to the push button switch) connect to the front panel potentiometer which controls the laser current.  Do not turn the knob to full clockwise, because increasing the laser firing current past a certain point doesn&#039;t provide any benefit and just reduces the tube lifespan.  The plan is to parallelize the push button firing switch with a solid-state relay controlled directly by the Smoothie board and bypassing the K40 ACR board (which was supposed to make the Smoothie board plug-and-play, but as mentioned earlier did a halfassed job).  The potentiometer will be connected to a 3PDT switch for computerized or manual power level control.  A PWM to DC circuit will do the automatic control and the original pot will remain for the manual control.&lt;br /&gt;
The safety interlocks are basically a whole bunch of microswitches in series so if any one of them gets tripped the left two pins of the power supply 6 pin connector won&#039;t be shorted together and the laser won&#039;t fire.  There&#039;s also a plan to have lights illuminate to show which safeties are operating properly or tripped.  Plus indicator lights are cool.  And for the remaining manual firing switches we plan on getting those flip-up red covers like in those military movies where they&#039;re firing nuclear missiles and stuff like that.  These would aid in troubleshooting, and look really cool, even if they are kinda spendy.  Man, this is really turning into a wall of text.  Someone should do something about this sometime.  Anyway, schematic drawings would go here, or links to them would go here.&lt;br /&gt;
&lt;br /&gt;
==Custom Parts==&lt;br /&gt;
Images of custom parts like the exhaust nozzles and eventually a new control panel and source files for 3d printed or laser cut parts can go here.&lt;br /&gt;
&lt;br /&gt;
[[CCL front panel]]&lt;br /&gt;
&lt;br /&gt;
[[Air flow switch holder]]&lt;br /&gt;
&lt;br /&gt;
[[Exhaust nozzle]]&lt;br /&gt;
&lt;br /&gt;
This image is colored for 3d printing using it as a height map: black=0mm, gray=1mm, white=2mm. 174mm wide, 184mm tall.&lt;br /&gt;
The SVG file was created by a Ruby program to modularize the positions and sizes of cutouts for switches, nobs, lamps, etc.&lt;br /&gt;
&lt;br /&gt;
[[file:Control-panel.png]]&lt;br /&gt;
&lt;br /&gt;
==Bill of Materials, a.k.a. Donation Wishlist, and Hardware Store Shopping List==&lt;br /&gt;
#Laser goggles&lt;br /&gt;
#USB A-B cord, i.e. printer cable, which doesn&#039;t suck&lt;br /&gt;
#Solid state relays -- we used [http://www.clare.com/home/pdfs.nsf/www/LBA110.pdf/$file/LBA110.pdf] this one.  --This should move to custom parts and off the wishlist (JS 4-20).&lt;br /&gt;
#Stuff to cut&lt;br /&gt;
##1/8&amp;quot; Baltic birch plywood&lt;br /&gt;
##Plastic sheets, e.g. acrylic&lt;br /&gt;
##Masonite?&lt;br /&gt;
#Cabinet reinforcements&lt;br /&gt;
##dimensional lumber, e.g. 2x4, 2x2, 1x3&lt;br /&gt;
##unidirectional casters&lt;br /&gt;
#Cooling system stuff&lt;br /&gt;
##Distilled water&lt;br /&gt;
##Float switch&lt;br /&gt;
##Thermocouple or thermistor/RTD temperature sensor probe&lt;br /&gt;
##Radiator and fans&lt;br /&gt;
##Solidstate heat pump&lt;br /&gt;
##Working water fountain chiller (for future use on the 100W downstairs)&lt;br /&gt;
##PLC/Microcontroller with A/D inputs for temperature probe conditioning and temp display (advanced task)&lt;br /&gt;
#Green connectors for smoothieboard and laser powersupply [https://www.amazon.com/uxcell-Terminals-Pitch-Mount-Terminal/dp/B00E6Q4FE6/ref=sr_1_9?ie=UTF8&amp;amp;qid=1493691567&amp;amp;sr=8-9&amp;amp;keywords=pluggable+terminal+block+connector]&lt;br /&gt;
&lt;br /&gt;
==To-Do Tasks==&lt;br /&gt;
#Airflow switch housing&lt;br /&gt;
##manufacture&lt;br /&gt;
##install&lt;br /&gt;
#Coolant interlocks&lt;br /&gt;
##Level sensor&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Flow sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Temp sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
#Door switches&lt;br /&gt;
##wire up switches&lt;br /&gt;
#Chassis wiring&lt;br /&gt;
##Mount one of the terminal strips and wire up the safety switches&lt;br /&gt;
##Draw a wiring diagram of custom components and label/number the terminals&lt;br /&gt;
#CNC firing control - This svg file can be used to test run the laser: [[Laser circle test]]&lt;br /&gt;
##find firing signal on Smoothie board&lt;br /&gt;
##determine relay requirements&lt;br /&gt;
##purchase and receive relay&lt;br /&gt;
##install firing relay&lt;br /&gt;
#CNC power control&lt;br /&gt;
##find PWM power level control signal on Smoothie board - PWM duration 300us&lt;br /&gt;
##fabricate converter - breadboarded and bench tested&lt;br /&gt;
##install converter&lt;br /&gt;
#software&lt;br /&gt;
##determine best software to use&lt;br /&gt;
##develop workflows for various programs and operating systems&lt;br /&gt;
##update this page to explain the above&lt;br /&gt;
&lt;br /&gt;
==Completed Tasks==&lt;br /&gt;
If you do work on the laser, please record it here.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Task !! Fixer !! Date !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Create Wiki page || [[user:James|James]] || 3/24/2017 || Ongoing updates needed&lt;br /&gt;
|-&lt;br /&gt;
| Install operational exhaust system || James || 2/2017 || Still needs interlocks&lt;br /&gt;
|-&lt;br /&gt;
| Install cooling system || James || 2/2017 || Air cooling or refrigeration could be added&lt;br /&gt;
|-&lt;br /&gt;
| Connect control power supply to switched mains || James || 3/2017 || Done&lt;br /&gt;
|-&lt;br /&gt;
| Get x and y axis movements working || [[user:Tom|Tom]] || 3/2017 || Firing still needs to be fixed&lt;br /&gt;
|-&lt;br /&gt;
| Replaced cooling pump power cord plug || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed door closure bolts on left cabinet door || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed cutting chamber illumination LEDs and 12VDC powersupply || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Control + interlock circuits design/brainstorm session || James + Tom || 3/27/2017 || See webpages below for Smothieboard help&lt;br /&gt;
|-&lt;br /&gt;
| Mocked up and tested control circuit for PWM from smoothieboard || James + Tom || 3/27/2017 || http://smoothieware.org/laser-cutter-guide&lt;br /&gt;
|-&lt;br /&gt;
| Scoped out various pins on the smoothieboard to find PWM out || James + Tom || 3/27/2017 || http://smoothieware.org/smoothieboard-v1&lt;br /&gt;
|-&lt;br /&gt;
| Removed control panel || James || 3/30/17 || Don&#039;t mess with nothing until a new one gets installed!&lt;br /&gt;
|-&lt;br /&gt;
| Tried to 3d print a new control panel || James || 4/2/17 || Lulzbot Taz either didn&#039;t extrude or made bird poop. :( It&#039;s too bad we don&#039;t have a working laser cutter.&lt;br /&gt;
|-&lt;br /&gt;
| Adjusted program size parameters based on failed print and added ammeter mounting screw holes to control panel design || James || 4/11/17 || Still need to upload new SVG here and print it&lt;br /&gt;
|-&lt;br /&gt;
| Ordered self adhesive cable tie mounting squares and SSR for PWM-&amp;gt; DC || Tom || 4/11/17 || Delivery expected Thursday&lt;br /&gt;
|-&lt;br /&gt;
| Design 3d-printed mounting bracket/clip to hold switches for door interlocks || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Design, breadboard and test PWM circuit with solid state relay and newly determined time constant || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded exhaust nozzle and exhaust flow switch scad files || James || 4/20/17 || Flow switch needs printing and Tom&#039;s nacelle needs dimension tweeking.&lt;br /&gt;
|-&lt;br /&gt;
| Tried printing control panel on the Ultimaker&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; || James || 4/25/17 || Print failed twice, but third time looked good before I left.&lt;br /&gt;
|-&lt;br /&gt;
| Installed control panel 3d printed on Tuesday || James || 4/27/17 || Controls and indicators are installed but not operational, yet.  It looks sweet! Could be thicker, maybe 4mm.  Dimensions could use tweeking too: toggle switches moved down, corner radii reduced,...&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded source code and stl for float switch || James || 5/1/17 || Still need to print them.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Equipment]]&lt;br /&gt;
[[Category:LaserCutter]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:Ongoing Projects]]&lt;br /&gt;
[[Category:Project Awesome]]&lt;br /&gt;
[[Category:CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Terminal_block_holder&amp;diff=13266</id>
		<title>Terminal block holder</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Terminal_block_holder&amp;diff=13266"/>
		<updated>2017-05-02T03:43:22Z</updated>

		<summary type="html">&lt;p&gt;James: added link to stl file&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Tbh.stl]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
//Terminal Block Holder v1&lt;br /&gt;
//James Sullivan&lt;br /&gt;
//5/1/17&lt;br /&gt;
//OpenSCAD version 2015.03-1 &lt;br /&gt;
//HacDC, cheap Chinese laser, K40, 40 watt&lt;br /&gt;
//These parts hold a terminal block for landing of the wires going to the safety interlock switches.  It is designed to use self threading screws without nuts.  Handedness is based upon which end of the terminal strip the mount sets on when looking at the terminal strip.  The right piece goes toward the back of the machine and is installed first.  The left piece goes toward the front of the machine and is installed second.&lt;br /&gt;
thick=5;	//thickness of part&lt;br /&gt;
metal=1;	//metal thickness of the chassis sheet metal&lt;br /&gt;
slot=16;	//width of slot in mount, width of flange on machine, full width outside to outside!&lt;br /&gt;
height = 15;	//z distance of mount, extrusion height, installed length&lt;br /&gt;
tw=slot+2*thick;    //total width&lt;br /&gt;
$fn=40;&lt;br /&gt;
bhd=4.0;   //bolt hole diameter&lt;br /&gt;
et=4.0;     //end thickness between bolt hold perimeter and square end&lt;br /&gt;
ew=12.0;    //end width&lt;br /&gt;
foo=6.7;    //width of cylinders&lt;br /&gt;
foo2=8.7;   //thickness of terminal strip in axial direction of mounting screws&lt;br /&gt;
rd=2.8;     //root diameter of mounting screws&lt;br /&gt;
module right(){ difference(){&lt;br /&gt;
	union(){&lt;br /&gt;
		cube([tw,thick,height]); //top horizontal&lt;br /&gt;
		translate([thick+metal,-thick-metal,0]) cube([slot+thick-metal,thick,height]); //lower horizontal&lt;br /&gt;
		translate([0,-metal-thick*1.5,0]) cube([thick,metal+thick*2.5,height]); //left vertical&lt;br /&gt;
		translate([thick+metal,-1.5*thick-metal,0]) cube([thick,thick*1.5,height]); //center vertical&lt;br /&gt;
		translate([slot+thick,-metal-thick,0]) cube([thick,metal+thick*2,height]); //right vertical&lt;br /&gt;
        translate([thick*2,-ew-metal,0]) cube([slot-thick,ew,height+bhd+2*et]);&lt;br /&gt;
 	}&lt;br /&gt;
    translate([0,-ew/2-metal,height+et+bhd/2]) rotate([0,90,0]) cylinder(d=rd,h=tw);    &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
right();&lt;br /&gt;
translate([0,20,0]) mirror([0,1,0]) right();&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=File:Tbh.stl&amp;diff=13265</id>
		<title>File:Tbh.stl</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=File:Tbh.stl&amp;diff=13265"/>
		<updated>2017-05-02T03:42:20Z</updated>

		<summary type="html">&lt;p&gt;James: Terminal block holder stl file.
Category: CheapChineseLaser&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Terminal block holder stl file.&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Terminal_block_holder&amp;diff=13264</id>
		<title>Terminal block holder</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Terminal_block_holder&amp;diff=13264"/>
		<updated>2017-05-02T03:36:03Z</updated>

		<summary type="html">&lt;p&gt;James: page created&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
//Front Door Switch Holder v1&lt;br /&gt;
//James Sullivan&lt;br /&gt;
//5/1/17&lt;br /&gt;
//OpenSCAD version 2015.03-1 &lt;br /&gt;
//HacDC, cheap Chinese laser, K40, 40 watt&lt;br /&gt;
//These parts hold a terminal block for landing of the wires going to the safety interlock switches.  It is designed to use self threading screws without nuts.  Handedness is based upon which end of the terminal strip the mount sets on when looking at the terminal strip.  The right piece goes toward the back of the machine and is installed first.  The left piece goes toward the front of the machine and is installed second.&lt;br /&gt;
thick=5;	//thickness of part&lt;br /&gt;
metal=1;	//metal thickness of the chassis sheet metal&lt;br /&gt;
slot=16;	//width of slot in mount, width of flange on machine, full width outside to outside!&lt;br /&gt;
height = 15;	//z distance of mount, extrusion height, installed length&lt;br /&gt;
tw=slot+2*thick;    //total width&lt;br /&gt;
$fn=40;&lt;br /&gt;
bhd=4.0;   //bolt hole diameter&lt;br /&gt;
et=4.0;     //end thickness between bolt hold perimeter and square end&lt;br /&gt;
ew=12.0;    //end width&lt;br /&gt;
foo=6.7;    //width of cylinders&lt;br /&gt;
foo2=8.7;   //thickness of terminal strip in axial direction of mounting screws&lt;br /&gt;
rd=2.8;     //root diameter of mounting screws&lt;br /&gt;
module right(){ difference(){&lt;br /&gt;
	union(){&lt;br /&gt;
		cube([tw,thick,height]); //top horizontal&lt;br /&gt;
		translate([thick+metal,-thick-metal,0]) cube([slot+thick-metal,thick,height]); //lower horizontal&lt;br /&gt;
		translate([0,-metal-thick*1.5,0]) cube([thick,metal+thick*2.5,height]); //left vertical&lt;br /&gt;
		translate([thick+metal,-1.5*thick-metal,0]) cube([thick,thick*1.5,height]); //center vertical&lt;br /&gt;
		translate([slot+thick,-metal-thick,0]) cube([thick,metal+thick*2,height]); //right vertical&lt;br /&gt;
        translate([thick*2,-ew-metal,0]) cube([slot-thick,ew,height+bhd+2*et]);&lt;br /&gt;
 	}&lt;br /&gt;
    translate([0,-ew/2-metal,height+et+bhd/2]) rotate([0,90,0]) cylinder(d=rd,h=tw);    &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
right();&lt;br /&gt;
translate([0,20,0]) mirror([0,1,0]) right();&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Air_flow_switch_holder&amp;diff=13258</id>
		<title>Air flow switch holder</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Air_flow_switch_holder&amp;diff=13258"/>
		<updated>2017-05-02T00:02:27Z</updated>

		<summary type="html">&lt;p&gt;James: added &amp;lt;pre&amp;gt; tags and category&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the OpenSCAD code to create a wafer air flow sensor (and backflow preventer) to hold a microswitch to stop the laser from firing if the exhaust flow stops.  Dimensions have been set to match the exhaust nozzle.  The current version of the nacelle doesn&#039;t quite match, even though the nozzle was reverse engineered from it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
exhaust airflow detector&lt;br /&gt;
safety interlock for cheap Chinese laser at Hac DC&lt;br /&gt;
This switch is a lug style wafer for insertion between the exhaust collector and the exhaust nozzle on the back of the laser chassis.  When the exhaust fan is running and air is flowing the switch will operate to allow the laser to fire.  This switch is upstream of the exhaust fan so air will leak into the exhaust stream, not exhaust leaking out into room air.&lt;br /&gt;
James Sullivan&lt;br /&gt;
4-20-17&lt;br /&gt;
OpenSCAD version 2015.03-1 &lt;br /&gt;
&lt;br /&gt;
--dimensions from mating exhaust nozzle--&lt;br /&gt;
nid=60;     //nozzle inner diameter&lt;br /&gt;
nod=80;     //nozzle outer diameter&lt;br /&gt;
mod=100;    //maximum outer diameter&lt;br /&gt;
sh=30;      //step height&lt;br /&gt;
sw=5;       //step width&lt;br /&gt;
oah=50;     //over-all height&lt;br /&gt;
tlw=3;      //top ledge width&lt;br /&gt;
bcd=46.8*2; //bolt circle diameter&lt;br /&gt;
bhd=3.6;    //bolt hole diameter&lt;br /&gt;
fw=12;      //foot width&lt;br /&gt;
fh=15;      //foot height&lt;br /&gt;
fod=108;    //foot outside dimension, from outside edge to outside edge&lt;br /&gt;
fid=(nid+nod)/2;//foot inside dimension, from inside edge to inside edge&lt;br /&gt;
&lt;br /&gt;
*/&lt;br /&gt;
fid=60;  //flange inner diameter, same as nid&lt;br /&gt;
fod=80;  //flange outer diameter, same as nod&lt;br /&gt;
bhd=3.6; //bolt hole diameter&lt;br /&gt;
bcd=93.6;//bolt circle diameter&lt;br /&gt;
hph=10;  //hinge pin height above center line, i.e. butterfly offset.  Reduce to make switch more sensitive.  Increse to make switch more stable.&lt;br /&gt;
sfw=sqrt(fid*fid-4*hph*hph); //switch flap width&lt;br /&gt;
shd=2;  //switch hole diameter&lt;br /&gt;
shp=10; //switch hole pitch, i.e. center to center spacing of mounting holes on microswitch&lt;br /&gt;
srh=8;  //switch roller height, i.e. height above switch hole centerline where switching action occurs&lt;br /&gt;
sbw=6;  //switch body width&lt;br /&gt;
nfw=5;  //nut face width&lt;br /&gt;
nt=1;   //nut thickness&lt;br /&gt;
thick=3;    //thickness of flange&lt;br /&gt;
$fn=80;&lt;br /&gt;
&lt;br /&gt;
difference(){&lt;br /&gt;
    union(){&lt;br /&gt;
        cylinder(d=fod,h=thick);    //wafer body&lt;br /&gt;
        hull(){ //horizontal lugs&lt;br /&gt;
            translate([bcd/2,0,0]) cylinder(d=3*bhd, h=thick);&lt;br /&gt;
            translate([-bcd/2,0,0]) cylinder(d=3*bhd, h=thick);&lt;br /&gt;
        }&lt;br /&gt;
        rotate([0,0,90]) hull(){  //vertical lugs&lt;br /&gt;
            translate([bcd/2,0,0]) cylinder(d=3*bhd, h=thick);&lt;br /&gt;
            translate([-bcd/2,0,0]) cylinder(d=3*bhd, h=thick);&lt;br /&gt;
        } &lt;br /&gt;
    }&lt;br /&gt;
    translate([0,0,-thick/2]) intersection(){   //bore&lt;br /&gt;
        cylinder(d=fid, h=2*thick);  //circular top and bottom&lt;br /&gt;
        cube([sfw,fod,thick*4],true);    //vertical left and right&lt;br /&gt;
    }&lt;br /&gt;
    for (angle=[0:90:270]){ //bolt holes in lugs&lt;br /&gt;
        rotate([0,0,angle]) translate([bcd/2,0,-thick/2]) cylinder(d=bhd,h=thick*2);&lt;br /&gt;
    }&lt;br /&gt;
    for (angle=[55:5:65]){  //wire holes through flange&lt;br /&gt;
        translate([0,0,thick/2]) rotate([0,90,angle]) cylinder(d=1,h=bcd/2);&lt;br /&gt;
    }&lt;br /&gt;
    translate([0,hph,thick/2]) rotate([0,90,0]) cylinder(d=1,h=bcd+4*bhd,center=true);  //hinge pin axle hole&lt;br /&gt;
}&lt;br /&gt;
translate([0,fid/2-shp-3*shd,0]){   //switch holder&lt;br /&gt;
    difference(){&lt;br /&gt;
        union(){&lt;br /&gt;
            translate([sbw/2,0,0]) cube([thick,shp+3*shd,3*shd]);   //left mount flange&lt;br /&gt;
            translate([-sbw/2-thick,0,0]) cube([thick,shp+3*shd,3*shd]);//right mount flange&lt;br /&gt;
        }&lt;br /&gt;
        translate([-sbw/2-3/2*thick,3/2*shd,3/2*shd]) rotate([0,90,0]) cylinder(d=shd,h=sbw+3*thick);   //lower bolt hole&lt;br /&gt;
        translate([-sbw/2-3/2*thick,shp+3/2*shd,3/2*shd]) rotate([0,90,0]) cylinder(d=shd,h=sbw+3*thick);//upper bolt hole&lt;br /&gt;
        for (angle=[0:120:240]){&lt;br /&gt;
            translate([-sbw/2-thick,3/2*shd,3/2*shd]) rotate([angle,0,0]) cube([nt*2,nfw,nfw/sqrt(3)],center=true); //lower nut socket&lt;br /&gt;
            translate([-sbw/2-thick,shp+3/2*shd,3/2*shd]) rotate([angle,0,0]) cube([nt*2,nfw,nfw/sqrt(3)],center=true); //upper nut socket&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    translate([sbw/2+thick,shp/2+shd*1.5,shd*1.5]) cylinder(d1=shd*1.2,d2=0,h=shd*1.5); //flow direction arrow head&lt;br /&gt;
    translate([sbw/2+thick,shp/2+shd*1.5,0]) cylinder(d=shd*0.6,h=shd*1.5); //flow direction arrow shaft&lt;br /&gt;
    translate([-sbw/2-thick,shp/2+shd*1.5,shd*1.5]) cylinder(d1=shd*1.2,d2=0,h=shd*1.5);//flow direction arrow head&lt;br /&gt;
    translate([-sbw/2-thick,shp/2+shd*1.5,0]) cylinder(d=shd*0.6,h=shd*1.5); //flow direction arrow shaft&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
translate([0,fid/2+bcd/2+bhd*2,0]) difference(){    //flap disk&lt;br /&gt;
    intersection(){   //bore&lt;br /&gt;
        cylinder(d=fid-0.5, h=thick);  //circular top and bottom&lt;br /&gt;
        cube([sfw-0.5,fod,thick*2],true);    //vertical left and right&lt;br /&gt;
    }&lt;br /&gt;
    translate([0,hph,thick/2]) rotate([0,90,0]) cylinder(d=1,h=bcd+4*bhd,center=true);  //hinge pin axis&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=CCL_front_panel&amp;diff=13256</id>
		<title>CCL front panel</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=CCL_front_panel&amp;diff=13256"/>
		<updated>2017-05-01T22:54:40Z</updated>

		<summary type="html">&lt;p&gt;James: added &amp;lt;pre&amp;gt; tag to maintain source code whitespace&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;svg width=&amp;quot;174mm&amp;quot; height=&amp;quot;184mm&amp;quot; viewBox=&amp;quot;-87 -92.0 174 184&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;symbol id=&amp;quot;Fan&amp;quot; fill=&amp;quot;gray&amp;quot; &amp;gt;&lt;br /&gt;
    &amp;lt;circle r=&amp;quot;7&amp;quot; cx=&amp;quot;50&amp;quot; cy=&amp;quot;50&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;g id=&amp;quot;blade&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;rect x=&amp;quot;48&amp;quot; y=&amp;quot;32&amp;quot; width=&amp;quot;4&amp;quot; height=&amp;quot;16&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;circle r=&amp;quot;6&amp;quot; cx=&amp;quot;50&amp;quot; cy=&amp;quot;35&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;circle r=&amp;quot;9&amp;quot; cx=&amp;quot;50&amp;quot; cy=&amp;quot;9&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;path d=&amp;quot;M50 9 h9 l-3 26 h-12 l -3 -26z&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/g&amp;gt;&lt;br /&gt;
    &amp;lt;use xlink:href=&amp;quot;#blade&amp;quot; transform=&amp;quot;rotate(72,50,50)&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;use xlink:href=&amp;quot;#blade&amp;quot; transform=&amp;quot;rotate(144,50,50)&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;use xlink:href=&amp;quot;#blade&amp;quot; transform=&amp;quot;rotate(216,50,50)&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;use xlink:href=&amp;quot;#blade&amp;quot; transform=&amp;quot;rotate(288,50,50)&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/symbol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;symbol id=&amp;quot;Pump&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;g fill=&amp;quot;gray&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;path d=&amp;quot;M50 4 h7 a 2 2 0 0 1 2 2 v 2 a 2 2 0 0 1 -2 2 h -5 v 20 h 6 a 6 6 0 0 1 6 6 v 56 a 6 6 0 0 1 -6 6 h -16 a 6 6 0 0 1 -6 -6 v -56 a 6 6 0 0 1 6 -6 h 6 m 0 4 h -5 a 3 3 0 0 0 -3 3 v 54 a 3 3 0 0 0 3 3 h 14 a 3 3 0 0 0 3 -3 v -54 a 3 3 0 0 0 -3 -3 h -5 v 6 h 2 a 3 3 0 0 1 3 3 v 16 a 3 3 0 0 1 -3 3 h -8 a 3 3 0 0 1 -3 -3 v -16 a 3 3 0 0 1 3 -3 h 2 v -6 m 0 -4 v -20 h -5 a 2 2 0 0 1 -2 -2  v -2 a 2 2 0 0 1 2 -2 h 7 z&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;path d=&amp;quot;M3 56 q7.5 6 15 0 t15 0 v8 q-7.5 -6 -15 0 t-15 0 z&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;path d=&amp;quot;M3 70 q7.5 6 15 0 t15 0 v8 q-7.5 -6 -15 0 t-15 0 z&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;path d=&amp;quot;M3 84 q7.5 6 15 0 t15 0 v8 q-7.5 -6 -15 0 t-15 0 z&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;path d=&amp;quot;M67 56 q7.5 6 15 0 t15 0 v8 q-7.5 -6 -15 0 t-15 0 z&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;path d=&amp;quot;M67 70 q7.5 6 15 0 t15 0 v8 q-7.5 -6 -15 0 t-15 0 z&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;path d=&amp;quot;M67 84 q7.5 6 15 0 t15 0 v8 q-7.5 -6 -15 0 t-15 0 z&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/g&amp;gt;&lt;br /&gt;
  &amp;lt;/symbol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;symbol id=&amp;quot;Temp&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;65&amp;quot; cy=&amp;quot;15&amp;quot; r=&amp;quot;2.5&amp;quot; stroke-width=&amp;quot;2&amp;quot; stroke=&amp;quot;gray&amp;quot; fill=&amp;quot;white&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;50&amp;quot; cy=&amp;quot;40&amp;quot; r=&amp;quot;12&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;42&amp;quot; y=&amp;quot;0&amp;quot; width=&amp;quot;16&amp;quot; height=&amp;quot;45&amp;quot; fill=&amp;quot;gray&amp;quot; rx=&amp;quot;10&amp;quot; r=&amp;quot;10&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;50&amp;quot; cy=&amp;quot;40&amp;quot; r=&amp;quot;9&amp;quot; fill=&amp;quot;white&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;45&amp;quot; y=&amp;quot;3&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;42&amp;quot; fill=&amp;quot;white&amp;quot; rx=&amp;quot;7&amp;quot; r=&amp;quot;7&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;50&amp;quot; cy=&amp;quot;40&amp;quot; r=&amp;quot;5&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;48&amp;quot; y=&amp;quot;6&amp;quot; width=&amp;quot;4&amp;quot; height=&amp;quot;39&amp;quot; fill=&amp;quot;gray&amp;quot; rx=&amp;quot;4&amp;quot; r=&amp;quot;4&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;50&amp;quot; cy=&amp;quot;25&amp;quot; r=&amp;quot;2&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;line x1=&amp;quot;50&amp;quot; y1=&amp;quot;40&amp;quot; x2=&amp;quot;50&amp;quot; y2=&amp;quot;25&amp;quot; stroke-width=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;path d=&amp;quot;M 5 60 q 15 10 30 0 t 30 0 30 0 v 10 q -15 10 -30 0 t -30 0 -30 0 z&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;path d=&amp;quot;M 5 80 q 15 10 30 0 t 30 0 30 0 v 10 q -15 10 -30 0 t -30 0 -30 0 z&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/symbol&amp;gt;&lt;br /&gt;
  &amp;lt;symbol id=&amp;quot;Level&amp;quot; fill=&amp;quot;gray&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;path d=&amp;quot;M 0 20 v 65 a 15 15 0 0 0 15 15 h 70 a 15 15 0 0 0 15 -15 v -65 h -8 v 62 a 10 10 0 0 1 -10 10 h -64 a 10 10 0 0 1 -10 -10 v -62 z&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;path d=&amp;quot;M 12 75 q 9.5 10 19 0 t 19 0 19 0 19 0 v 10 q -9.5 -10 -19 0 t -19 0 -19 0 -19 0 z&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;path d=&amp;quot;M45 10 h 10 v 39 l 12 -12 7 7 -24 24 -24 -24 7 -7 12 12 z&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/symbol&amp;gt;&lt;br /&gt;
  &amp;lt;symbol id=&amp;quot;Laser&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;0&amp;quot; y=&amp;quot;0&amp;quot; width=&amp;quot;60&amp;quot; height=&amp;quot;90&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;5&amp;quot; y=&amp;quot;5&amp;quot; width=&amp;quot;50&amp;quot; height=&amp;quot;80&amp;quot; fill=&amp;quot;white&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;g transform=&amp;quot;scale(0.9,1) skewY(10)&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;line x1=&amp;quot;10&amp;quot; y1=&amp;quot;40&amp;quot; x2=&amp;quot;82&amp;quot; y2=&amp;quot;40&amp;quot; stroke-width=&amp;quot;5&amp;quot; stroke=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;circle cx=&amp;quot;88&amp;quot; cy=&amp;quot;40&amp;quot; r=&amp;quot;4&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;g transform=&amp;quot;translate(88,40)&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;line x1=&amp;quot;0&amp;quot; y1=&amp;quot;-8&amp;quot; x2=&amp;quot;0&amp;quot; y2=&amp;quot;-16&amp;quot; stroke=&amp;quot;gray&amp;quot; stroke-width=&amp;quot;5&amp;quot; transform=&amp;quot;rotate(-45)&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;line x1=&amp;quot;0&amp;quot; y1=&amp;quot;-8&amp;quot; x2=&amp;quot;0&amp;quot; y2=&amp;quot;-16&amp;quot; stroke=&amp;quot;gray&amp;quot; stroke-width=&amp;quot;5&amp;quot; transform=&amp;quot;rotate(0)&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;line x1=&amp;quot;0&amp;quot; y1=&amp;quot;-8&amp;quot; x2=&amp;quot;0&amp;quot; y2=&amp;quot;-16&amp;quot; stroke=&amp;quot;gray&amp;quot; stroke-width=&amp;quot;5&amp;quot; transform=&amp;quot;rotate(45)&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;line x1=&amp;quot;0&amp;quot; y1=&amp;quot;-8&amp;quot; x2=&amp;quot;0&amp;quot; y2=&amp;quot;-16&amp;quot; stroke=&amp;quot;gray&amp;quot; stroke-width=&amp;quot;5&amp;quot; transform=&amp;quot;rotate(90)&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;line x1=&amp;quot;0&amp;quot; y1=&amp;quot;-8&amp;quot; x2=&amp;quot;0&amp;quot; y2=&amp;quot;-16&amp;quot; stroke=&amp;quot;gray&amp;quot; stroke-width=&amp;quot;5&amp;quot; transform=&amp;quot;rotate(135)&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;line x1=&amp;quot;0&amp;quot; y1=&amp;quot;-8&amp;quot; x2=&amp;quot;0&amp;quot; y2=&amp;quot;-16&amp;quot; stroke=&amp;quot;gray&amp;quot; stroke-width=&amp;quot;5&amp;quot; transform=&amp;quot;rotate(180)&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;line x1=&amp;quot;0&amp;quot; y1=&amp;quot;-8&amp;quot; x2=&amp;quot;0&amp;quot; y2=&amp;quot;-16&amp;quot; stroke=&amp;quot;gray&amp;quot; stroke-width=&amp;quot;5&amp;quot; transform=&amp;quot;rotate(225)&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;/g&amp;gt;&lt;br /&gt;
    &amp;lt;/g&amp;gt;&lt;br /&gt;
    &amp;lt;g transform=&amp;quot;scale(0.8,1) skewY(20)&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;rect x=&amp;quot;0&amp;quot; y=&amp;quot;0&amp;quot; width=&amp;quot;60&amp;quot; height=&amp;quot;90&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;rect x=&amp;quot;5&amp;quot; y=&amp;quot;5&amp;quot; width=&amp;quot;50&amp;quot; height=&amp;quot;80&amp;quot; fill=&amp;quot;white&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;circle cx=&amp;quot;48&amp;quot; cy=&amp;quot;48&amp;quot; r=&amp;quot;4&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/g&amp;gt;&lt;br /&gt;
  &amp;lt;/symbol&amp;gt;&lt;br /&gt;
  &amp;lt;symbol id=&amp;quot;Control&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;0&amp;quot; y=&amp;quot;0&amp;quot; width=&amp;quot;60&amp;quot; height=&amp;quot;90&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;5&amp;quot; y=&amp;quot;5&amp;quot; width=&amp;quot;50&amp;quot; height=&amp;quot;80&amp;quot; fill=&amp;quot;white&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;g transform=&amp;quot;translate(90,10) rotate(45)&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;path d=&amp;quot;M 0 0 l -10 22 10 10 -10 25 10 10 0 20 10 -22 -10 -10 10 -25 -10 -10 0 -20 z&amp;quot; stroke=&amp;quot;gray&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/g&amp;gt;&lt;br /&gt;
    &amp;lt;g transform=&amp;quot;scale(0.8,1) skewY(20)&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;rect x=&amp;quot;0&amp;quot; y=&amp;quot;0&amp;quot; width=&amp;quot;60&amp;quot; height=&amp;quot;90&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;rect x=&amp;quot;5&amp;quot; y=&amp;quot;5&amp;quot; width=&amp;quot;50&amp;quot; height=&amp;quot;80&amp;quot; fill=&amp;quot;white&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;circle cx=&amp;quot;48&amp;quot; cy=&amp;quot;48&amp;quot; r=&amp;quot;4&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/g&amp;gt;&lt;br /&gt;
  &amp;lt;/symbol&amp;gt;&lt;br /&gt;
  &amp;lt;g&amp;gt;&lt;br /&gt;
    &amp;lt;title&amp;gt;Control Panel&amp;lt;/title&amp;gt;&amp;quot;&lt;br /&gt;
    #background&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;-87&amp;quot; y=&amp;quot;-92.0&amp;quot; width=&amp;quot;174&amp;quot; height=&amp;quot;184&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
    #mounting tabs&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;57.0&amp;quot; y=&amp;quot;-92.0&amp;quot; width=&amp;quot;18&amp;quot; height=&amp;quot;184&amp;quot; rx=&amp;quot;9.0&amp;quot; ry=&amp;quot;9.0&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&amp;quot;&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;-75.0&amp;quot; y=&amp;quot;-92.0&amp;quot; width=&amp;quot;18&amp;quot; height=&amp;quot;184&amp;quot; rx=&amp;quot;9.0&amp;quot; ry=&amp;quot;9.0&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&amp;quot;&lt;br /&gt;
    #mounting holes for studs in control cabinet&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;66&amp;quot; cy=&amp;quot;83&amp;quot; r=&amp;quot;3&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;66&amp;quot; cy=&amp;quot;-83&amp;quot; r=&amp;quot;3&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;-66&amp;quot; cy=&amp;quot;83&amp;quot; r=&amp;quot;3&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;-66&amp;quot; cy=&amp;quot;-83&amp;quot; r=&amp;quot;3&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
    #panal flange with rounded corners&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;-87&amp;quot; y=&amp;quot;-75&amp;quot; width=&amp;quot;174&amp;quot; height=&amp;quot;149&amp;quot; rx=&amp;quot;22&amp;quot; ry=&amp;quot;22&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&amp;quot;&lt;br /&gt;
    #panal face with rounded corners&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;-84&amp;quot; y=&amp;quot;-72&amp;quot; width=&amp;quot;168&amp;quot; height=&amp;quot;143&amp;quot; rx=&amp;quot;19&amp;quot; ry=&amp;quot;19&amp;quot; fill=&amp;quot;white&amp;quot;/&amp;gt;&amp;quot;&lt;br /&gt;
  &amp;lt;circle cx=&amp;quot;-55.05&amp;quot; cy=&amp;quot;-43.05&amp;quot; r=&amp;quot;19.95&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;circle cx=&amp;quot;-38.05&amp;quot; cy=&amp;quot;-25.499999999999996&amp;quot; r=&amp;quot;1.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;circle cx=&amp;quot;-72.05&amp;quot; cy=&amp;quot;-25.499999999999996&amp;quot; r=&amp;quot;1.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;-65.8&amp;quot; y=&amp;quot;24.5&amp;quot; width=&amp;quot;21.5&amp;quot; height=&amp;quot;27.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;-73.35&amp;quot; y=&amp;quot;-11.1&amp;quot; width=&amp;quot;36.6&amp;quot; height=&amp;quot;23.6&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;-28.75&amp;quot; y=&amp;quot;-63.0&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;11.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;-9.7&amp;quot; y=&amp;quot;-63.0&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;11.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;9.35&amp;quot; y=&amp;quot;-63.0&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;11.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;28.4&amp;quot; y=&amp;quot;-63.0&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;11.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;47.45&amp;quot; y=&amp;quot;-63.0&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;11.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;66.5&amp;quot; y=&amp;quot;-63.0&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;11.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;-28.75&amp;quot; y=&amp;quot;-34.6&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;11.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;-9.7&amp;quot; y=&amp;quot;-34.6&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;11.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;9.35&amp;quot; y=&amp;quot;-34.6&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;11.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;28.4&amp;quot; y=&amp;quot;-34.6&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;11.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;47.45&amp;quot; y=&amp;quot;-34.6&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;11.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;66.5&amp;quot; y=&amp;quot;-34.6&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;11.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/g&amp;gt;&lt;br /&gt;
  &amp;lt;g fill=&amp;quot;black&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;-10&amp;quot; cy=&amp;quot;4&amp;quot; r=&amp;quot;5&amp;quot;/&amp;gt;        # power level potentiometer&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;-10&amp;quot; cy=&amp;quot;44&amp;quot; r=&amp;quot;6&amp;quot;/&amp;gt;       # power auto-hand switch&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;24&amp;quot; cy=&amp;quot;44&amp;quot; r=&amp;quot;6&amp;quot;/&amp;gt;        # safety override switch&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;56&amp;quot; cy=&amp;quot;44&amp;quot; r=&amp;quot;6&amp;quot;/&amp;gt;        # manual fire switch&lt;br /&gt;
  &amp;lt;/g&amp;gt;&lt;br /&gt;
  &amp;lt;g transform=&amp;quot;scale(0.13,0.13)&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;use transform=&amp;quot;translate(-230.0,-380)&amp;quot; xlink:href=&amp;quot;#Fan&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;use transform=&amp;quot;translate(-83.46,-380)&amp;quot; xlink:href=&amp;quot;#Pump&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;use transform=&amp;quot;translate(63.08,-380)&amp;quot; xlink:href=&amp;quot;#Temp&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;use transform=&amp;quot;translate(209.62,-380)&amp;quot; xlink:href=&amp;quot;#Level&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;use transform=&amp;quot;translate(356.15,-380)&amp;quot; xlink:href=&amp;quot;#Laser&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;use transform=&amp;quot;translate(502.69,-380)&amp;quot; xlink:href=&amp;quot;#Control&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/g&amp;gt;&lt;br /&gt;
&amp;lt;/svg&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=CCL_front_panel&amp;diff=13255</id>
		<title>CCL front panel</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=CCL_front_panel&amp;diff=13255"/>
		<updated>2017-05-01T22:53:24Z</updated>

		<summary type="html">&lt;p&gt;James: added category&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;svg width=&amp;quot;174mm&amp;quot; height=&amp;quot;184mm&amp;quot; viewBox=&amp;quot;-87 -92.0 174 184&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;symbol id=&amp;quot;Fan&amp;quot; fill=&amp;quot;gray&amp;quot; &amp;gt;&lt;br /&gt;
    &amp;lt;circle r=&amp;quot;7&amp;quot; cx=&amp;quot;50&amp;quot; cy=&amp;quot;50&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;g id=&amp;quot;blade&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;rect x=&amp;quot;48&amp;quot; y=&amp;quot;32&amp;quot; width=&amp;quot;4&amp;quot; height=&amp;quot;16&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;circle r=&amp;quot;6&amp;quot; cx=&amp;quot;50&amp;quot; cy=&amp;quot;35&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;circle r=&amp;quot;9&amp;quot; cx=&amp;quot;50&amp;quot; cy=&amp;quot;9&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;path d=&amp;quot;M50 9 h9 l-3 26 h-12 l -3 -26z&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/g&amp;gt;&lt;br /&gt;
    &amp;lt;use xlink:href=&amp;quot;#blade&amp;quot; transform=&amp;quot;rotate(72,50,50)&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;use xlink:href=&amp;quot;#blade&amp;quot; transform=&amp;quot;rotate(144,50,50)&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;use xlink:href=&amp;quot;#blade&amp;quot; transform=&amp;quot;rotate(216,50,50)&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;use xlink:href=&amp;quot;#blade&amp;quot; transform=&amp;quot;rotate(288,50,50)&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/symbol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;symbol id=&amp;quot;Pump&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;g fill=&amp;quot;gray&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;path d=&amp;quot;M50 4 h7 a 2 2 0 0 1 2 2 v 2 a 2 2 0 0 1 -2 2 h -5 v 20 h 6 a 6 6 0 0 1 6 6 v 56 a 6 6 0 0 1 -6 6 h -16 a 6 6 0 0 1 -6 -6 v -56 a 6 6 0 0 1 6 -6 h 6 m 0 4 h -5 a 3 3 0 0 0 -3 3 v 54 a 3 3 0 0 0 3 3 h 14 a 3 3 0 0 0 3 -3 v -54 a 3 3 0 0 0 -3 -3 h -5 v 6 h 2 a 3 3 0 0 1 3 3 v 16 a 3 3 0 0 1 -3 3 h -8 a 3 3 0 0 1 -3 -3 v -16 a 3 3 0 0 1 3 -3 h 2 v -6 m 0 -4 v -20 h -5 a 2 2 0 0 1 -2 -2  v -2 a 2 2 0 0 1 2 -2 h 7 z&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;path d=&amp;quot;M3 56 q7.5 6 15 0 t15 0 v8 q-7.5 -6 -15 0 t-15 0 z&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;path d=&amp;quot;M3 70 q7.5 6 15 0 t15 0 v8 q-7.5 -6 -15 0 t-15 0 z&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;path d=&amp;quot;M3 84 q7.5 6 15 0 t15 0 v8 q-7.5 -6 -15 0 t-15 0 z&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;path d=&amp;quot;M67 56 q7.5 6 15 0 t15 0 v8 q-7.5 -6 -15 0 t-15 0 z&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;path d=&amp;quot;M67 70 q7.5 6 15 0 t15 0 v8 q-7.5 -6 -15 0 t-15 0 z&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;path d=&amp;quot;M67 84 q7.5 6 15 0 t15 0 v8 q-7.5 -6 -15 0 t-15 0 z&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/g&amp;gt;&lt;br /&gt;
  &amp;lt;/symbol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;symbol id=&amp;quot;Temp&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;65&amp;quot; cy=&amp;quot;15&amp;quot; r=&amp;quot;2.5&amp;quot; stroke-width=&amp;quot;2&amp;quot; stroke=&amp;quot;gray&amp;quot; fill=&amp;quot;white&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;50&amp;quot; cy=&amp;quot;40&amp;quot; r=&amp;quot;12&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;42&amp;quot; y=&amp;quot;0&amp;quot; width=&amp;quot;16&amp;quot; height=&amp;quot;45&amp;quot; fill=&amp;quot;gray&amp;quot; rx=&amp;quot;10&amp;quot; r=&amp;quot;10&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;50&amp;quot; cy=&amp;quot;40&amp;quot; r=&amp;quot;9&amp;quot; fill=&amp;quot;white&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;45&amp;quot; y=&amp;quot;3&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;42&amp;quot; fill=&amp;quot;white&amp;quot; rx=&amp;quot;7&amp;quot; r=&amp;quot;7&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;50&amp;quot; cy=&amp;quot;40&amp;quot; r=&amp;quot;5&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;48&amp;quot; y=&amp;quot;6&amp;quot; width=&amp;quot;4&amp;quot; height=&amp;quot;39&amp;quot; fill=&amp;quot;gray&amp;quot; rx=&amp;quot;4&amp;quot; r=&amp;quot;4&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;50&amp;quot; cy=&amp;quot;25&amp;quot; r=&amp;quot;2&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;line x1=&amp;quot;50&amp;quot; y1=&amp;quot;40&amp;quot; x2=&amp;quot;50&amp;quot; y2=&amp;quot;25&amp;quot; stroke-width=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;path d=&amp;quot;M 5 60 q 15 10 30 0 t 30 0 30 0 v 10 q -15 10 -30 0 t -30 0 -30 0 z&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;path d=&amp;quot;M 5 80 q 15 10 30 0 t 30 0 30 0 v 10 q -15 10 -30 0 t -30 0 -30 0 z&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/symbol&amp;gt;&lt;br /&gt;
  &amp;lt;symbol id=&amp;quot;Level&amp;quot; fill=&amp;quot;gray&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;path d=&amp;quot;M 0 20 v 65 a 15 15 0 0 0 15 15 h 70 a 15 15 0 0 0 15 -15 v -65 h -8 v 62 a 10 10 0 0 1 -10 10 h -64 a 10 10 0 0 1 -10 -10 v -62 z&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;path d=&amp;quot;M 12 75 q 9.5 10 19 0 t 19 0 19 0 19 0 v 10 q -9.5 -10 -19 0 t -19 0 -19 0 -19 0 z&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;path d=&amp;quot;M45 10 h 10 v 39 l 12 -12 7 7 -24 24 -24 -24 7 -7 12 12 z&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/symbol&amp;gt;&lt;br /&gt;
  &amp;lt;symbol id=&amp;quot;Laser&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;0&amp;quot; y=&amp;quot;0&amp;quot; width=&amp;quot;60&amp;quot; height=&amp;quot;90&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;5&amp;quot; y=&amp;quot;5&amp;quot; width=&amp;quot;50&amp;quot; height=&amp;quot;80&amp;quot; fill=&amp;quot;white&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;g transform=&amp;quot;scale(0.9,1) skewY(10)&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;line x1=&amp;quot;10&amp;quot; y1=&amp;quot;40&amp;quot; x2=&amp;quot;82&amp;quot; y2=&amp;quot;40&amp;quot; stroke-width=&amp;quot;5&amp;quot; stroke=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;circle cx=&amp;quot;88&amp;quot; cy=&amp;quot;40&amp;quot; r=&amp;quot;4&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;g transform=&amp;quot;translate(88,40)&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;line x1=&amp;quot;0&amp;quot; y1=&amp;quot;-8&amp;quot; x2=&amp;quot;0&amp;quot; y2=&amp;quot;-16&amp;quot; stroke=&amp;quot;gray&amp;quot; stroke-width=&amp;quot;5&amp;quot; transform=&amp;quot;rotate(-45)&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;line x1=&amp;quot;0&amp;quot; y1=&amp;quot;-8&amp;quot; x2=&amp;quot;0&amp;quot; y2=&amp;quot;-16&amp;quot; stroke=&amp;quot;gray&amp;quot; stroke-width=&amp;quot;5&amp;quot; transform=&amp;quot;rotate(0)&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;line x1=&amp;quot;0&amp;quot; y1=&amp;quot;-8&amp;quot; x2=&amp;quot;0&amp;quot; y2=&amp;quot;-16&amp;quot; stroke=&amp;quot;gray&amp;quot; stroke-width=&amp;quot;5&amp;quot; transform=&amp;quot;rotate(45)&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;line x1=&amp;quot;0&amp;quot; y1=&amp;quot;-8&amp;quot; x2=&amp;quot;0&amp;quot; y2=&amp;quot;-16&amp;quot; stroke=&amp;quot;gray&amp;quot; stroke-width=&amp;quot;5&amp;quot; transform=&amp;quot;rotate(90)&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;line x1=&amp;quot;0&amp;quot; y1=&amp;quot;-8&amp;quot; x2=&amp;quot;0&amp;quot; y2=&amp;quot;-16&amp;quot; stroke=&amp;quot;gray&amp;quot; stroke-width=&amp;quot;5&amp;quot; transform=&amp;quot;rotate(135)&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;line x1=&amp;quot;0&amp;quot; y1=&amp;quot;-8&amp;quot; x2=&amp;quot;0&amp;quot; y2=&amp;quot;-16&amp;quot; stroke=&amp;quot;gray&amp;quot; stroke-width=&amp;quot;5&amp;quot; transform=&amp;quot;rotate(180)&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;line x1=&amp;quot;0&amp;quot; y1=&amp;quot;-8&amp;quot; x2=&amp;quot;0&amp;quot; y2=&amp;quot;-16&amp;quot; stroke=&amp;quot;gray&amp;quot; stroke-width=&amp;quot;5&amp;quot; transform=&amp;quot;rotate(225)&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;/g&amp;gt;&lt;br /&gt;
    &amp;lt;/g&amp;gt;&lt;br /&gt;
    &amp;lt;g transform=&amp;quot;scale(0.8,1) skewY(20)&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;rect x=&amp;quot;0&amp;quot; y=&amp;quot;0&amp;quot; width=&amp;quot;60&amp;quot; height=&amp;quot;90&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;rect x=&amp;quot;5&amp;quot; y=&amp;quot;5&amp;quot; width=&amp;quot;50&amp;quot; height=&amp;quot;80&amp;quot; fill=&amp;quot;white&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;circle cx=&amp;quot;48&amp;quot; cy=&amp;quot;48&amp;quot; r=&amp;quot;4&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/g&amp;gt;&lt;br /&gt;
  &amp;lt;/symbol&amp;gt;&lt;br /&gt;
  &amp;lt;symbol id=&amp;quot;Control&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;0&amp;quot; y=&amp;quot;0&amp;quot; width=&amp;quot;60&amp;quot; height=&amp;quot;90&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;5&amp;quot; y=&amp;quot;5&amp;quot; width=&amp;quot;50&amp;quot; height=&amp;quot;80&amp;quot; fill=&amp;quot;white&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;g transform=&amp;quot;translate(90,10) rotate(45)&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;path d=&amp;quot;M 0 0 l -10 22 10 10 -10 25 10 10 0 20 10 -22 -10 -10 10 -25 -10 -10 0 -20 z&amp;quot; stroke=&amp;quot;gray&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/g&amp;gt;&lt;br /&gt;
    &amp;lt;g transform=&amp;quot;scale(0.8,1) skewY(20)&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;rect x=&amp;quot;0&amp;quot; y=&amp;quot;0&amp;quot; width=&amp;quot;60&amp;quot; height=&amp;quot;90&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;rect x=&amp;quot;5&amp;quot; y=&amp;quot;5&amp;quot; width=&amp;quot;50&amp;quot; height=&amp;quot;80&amp;quot; fill=&amp;quot;white&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;circle cx=&amp;quot;48&amp;quot; cy=&amp;quot;48&amp;quot; r=&amp;quot;4&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/g&amp;gt;&lt;br /&gt;
  &amp;lt;/symbol&amp;gt;&lt;br /&gt;
  &amp;lt;g&amp;gt;&lt;br /&gt;
    &amp;lt;title&amp;gt;Control Panel&amp;lt;/title&amp;gt;&amp;quot;&lt;br /&gt;
    #background&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;-87&amp;quot; y=&amp;quot;-92.0&amp;quot; width=&amp;quot;174&amp;quot; height=&amp;quot;184&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
    #mounting tabs&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;57.0&amp;quot; y=&amp;quot;-92.0&amp;quot; width=&amp;quot;18&amp;quot; height=&amp;quot;184&amp;quot; rx=&amp;quot;9.0&amp;quot; ry=&amp;quot;9.0&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&amp;quot;&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;-75.0&amp;quot; y=&amp;quot;-92.0&amp;quot; width=&amp;quot;18&amp;quot; height=&amp;quot;184&amp;quot; rx=&amp;quot;9.0&amp;quot; ry=&amp;quot;9.0&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&amp;quot;&lt;br /&gt;
    #mounting holes for studs in control cabinet&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;66&amp;quot; cy=&amp;quot;83&amp;quot; r=&amp;quot;3&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;66&amp;quot; cy=&amp;quot;-83&amp;quot; r=&amp;quot;3&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;-66&amp;quot; cy=&amp;quot;83&amp;quot; r=&amp;quot;3&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;-66&amp;quot; cy=&amp;quot;-83&amp;quot; r=&amp;quot;3&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
    #panal flange with rounded corners&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;-87&amp;quot; y=&amp;quot;-75&amp;quot; width=&amp;quot;174&amp;quot; height=&amp;quot;149&amp;quot; rx=&amp;quot;22&amp;quot; ry=&amp;quot;22&amp;quot; fill=&amp;quot;gray&amp;quot;/&amp;gt;&amp;quot;&lt;br /&gt;
    #panal face with rounded corners&lt;br /&gt;
    &amp;lt;rect x=&amp;quot;-84&amp;quot; y=&amp;quot;-72&amp;quot; width=&amp;quot;168&amp;quot; height=&amp;quot;143&amp;quot; rx=&amp;quot;19&amp;quot; ry=&amp;quot;19&amp;quot; fill=&amp;quot;white&amp;quot;/&amp;gt;&amp;quot;&lt;br /&gt;
  &amp;lt;circle cx=&amp;quot;-55.05&amp;quot; cy=&amp;quot;-43.05&amp;quot; r=&amp;quot;19.95&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;circle cx=&amp;quot;-38.05&amp;quot; cy=&amp;quot;-25.499999999999996&amp;quot; r=&amp;quot;1.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;circle cx=&amp;quot;-72.05&amp;quot; cy=&amp;quot;-25.499999999999996&amp;quot; r=&amp;quot;1.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;-65.8&amp;quot; y=&amp;quot;24.5&amp;quot; width=&amp;quot;21.5&amp;quot; height=&amp;quot;27.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;-73.35&amp;quot; y=&amp;quot;-11.1&amp;quot; width=&amp;quot;36.6&amp;quot; height=&amp;quot;23.6&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;-28.75&amp;quot; y=&amp;quot;-63.0&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;11.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;-9.7&amp;quot; y=&amp;quot;-63.0&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;11.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;9.35&amp;quot; y=&amp;quot;-63.0&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;11.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;28.4&amp;quot; y=&amp;quot;-63.0&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;11.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;47.45&amp;quot; y=&amp;quot;-63.0&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;11.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;66.5&amp;quot; y=&amp;quot;-63.0&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;11.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;-28.75&amp;quot; y=&amp;quot;-34.6&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;11.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;-9.7&amp;quot; y=&amp;quot;-34.6&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;11.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;9.35&amp;quot; y=&amp;quot;-34.6&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;11.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;28.4&amp;quot; y=&amp;quot;-34.6&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;11.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;47.45&amp;quot; y=&amp;quot;-34.6&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;11.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;rect x=&amp;quot;66.5&amp;quot; y=&amp;quot;-34.6&amp;quot; width=&amp;quot;10&amp;quot; height=&amp;quot;11.5&amp;quot; fill=&amp;quot;black&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/g&amp;gt;&lt;br /&gt;
  &amp;lt;g fill=&amp;quot;black&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;-10&amp;quot; cy=&amp;quot;4&amp;quot; r=&amp;quot;5&amp;quot;/&amp;gt;        # power level potentiometer&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;-10&amp;quot; cy=&amp;quot;44&amp;quot; r=&amp;quot;6&amp;quot;/&amp;gt;       # power auto-hand switch&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;24&amp;quot; cy=&amp;quot;44&amp;quot; r=&amp;quot;6&amp;quot;/&amp;gt;        # safety override switch&lt;br /&gt;
    &amp;lt;circle cx=&amp;quot;56&amp;quot; cy=&amp;quot;44&amp;quot; r=&amp;quot;6&amp;quot;/&amp;gt;        # manual fire switch&lt;br /&gt;
  &amp;lt;/g&amp;gt;&lt;br /&gt;
  &amp;lt;g transform=&amp;quot;scale(0.13,0.13)&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;use transform=&amp;quot;translate(-230.0,-380)&amp;quot; xlink:href=&amp;quot;#Fan&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;use transform=&amp;quot;translate(-83.46,-380)&amp;quot; xlink:href=&amp;quot;#Pump&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;use transform=&amp;quot;translate(63.08,-380)&amp;quot; xlink:href=&amp;quot;#Temp&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;use transform=&amp;quot;translate(209.62,-380)&amp;quot; xlink:href=&amp;quot;#Level&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;use transform=&amp;quot;translate(356.15,-380)&amp;quot; xlink:href=&amp;quot;#Laser&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;use transform=&amp;quot;translate(502.69,-380)&amp;quot; xlink:href=&amp;quot;#Control&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/g&amp;gt;&lt;br /&gt;
&amp;lt;/svg&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13254</id>
		<title>Cheap Chinese Laser</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Cheap_Chinese_Laser&amp;diff=13254"/>
		<updated>2017-05-01T22:51:56Z</updated>

		<summary type="html">&lt;p&gt;James: added float switch file uploads on 5/1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Cheap Chinese Laser]]&lt;br /&gt;
&lt;br /&gt;
This is the page dealing with the [[Cheap Chinese Laser]] at [https://www.hacdc.org HacDC] in the upstairs room at St. Stephen and the Incarnate church in Washington, DC.  This page replaces [[PA LaserCutter]] page from some years ago.  It had high ideals, but poor execution.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
HacDC has a K40, 40W, CO2, water cooled, laser for CNC cutting of various materials, aka a cheap Chinese laser.  It allegedly used to work just fine, but someone decided that wasn&#039;t good enough so she ordered and halfass installed some new parts that only halfass work.  After our intrepid hero, [[user:James|James]], fullyassed the installation of the new parts, the laser still only halfass worked.  [[user:Tom|Tom]] was railroaded into helping with the software, but even so the dynamic duo couldn&#039;t get the damn thing to work.  Then one day at work, boredom struck in a meeting and James had the idea to create this wiki page to guide others through the confusion and misinformation that plagues most equipment at HacDC and often results in subpar operation.  I beseech you, dear reader, to continue your edification on our topic at hand and become your own evil archvillain with laser powers.  (Sharks sold separately.)&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
===Chassis===&lt;br /&gt;
The chassis is the laser itself, the blue metal box with 3 flip up lids.  The main lid users deal with is for the cutting chamber on the left front of the machine.  It includes an orange plastic window.  The cutting chamber contains the transverse and longitudinal axes, aka x and y.  X goes left to right, and y goes back to front.  The material to be cut goes in this chamber.  The second flip up lid is for the controls and power supplies chamber.  This lid contains the front panel controls and indicators.  There are two control boards, the Smoothie board and the K40 ACR plug-and-play board which connects the Smoothie board to the machine hardware.  There are two power supplies as well, the control powersupply which is right below the control boards and the high-voltage (and I mean real high voltage, like around 15kV, not those nambypamby B.S. 120VAC &amp;quot;high voltage&amp;quot; warning labels) laser tube power supply which creates enough voltage to rip the electrons off the CO2 molecules and ionize them and cause them to emit coherent light when the electrons get back together with their matching CO2 ions.  For more about this exciting process, read a science book.  The third lid covers the laser tube chamber at the back of the chassis.  You don&#039;t really need to mess with these last two lids unless you are modifying the equipment or troubleshooting a failure.  All the lids have interlock switches and the laser will not fire if any one is open (unless you flip the override switch, in which case, it&#039;s your own darn fault for burning out your eye, as we say in Charlotte, &amp;quot;you did it to yourself&amp;quot;).&lt;br /&gt;
===Exhaust===&lt;br /&gt;
The exhaust system sucks smoke from the laser chassis cutting chamber and sends it outside through a window.  It was cobbled together using a fan and housing salvaged from a prior laser cutter and is mostly held together with zipties and metal duct tape.  Seriously.  I&#039;m not kidding.  Actual zipties and duct tape.  (I&#039;d like to give a shout-out to Home Depot for selling me the role of metal tape for only one cent.)  If any part of the whole laser system is going to crap out, this would be a good part to bet on.  It also uses 4&amp;quot; diameter (that&#039;s 105mm for those of you on the metric system) flexible metal clothes dryer exhaust duct to carry the exhaust gasses.  There are custom-made, 3d-printed transiton pieces at the back of the laser chassis which replace the original feeble exhaust system.  Read about them [[K40_Exhaust_Assembly|here]]&lt;br /&gt;
&lt;br /&gt;
===Cooling===&lt;br /&gt;
The cooling system presently consists of a 5 gallon pail in the roller cabinet with a submersible pump.  The water should be replaced with distilled.  (The pump power cord got a new plug.  It stays plugged in much better than the original cheap Chinese plug.)  If the water doesn&#039;t flow, the laser will burnout.  Sadness.  The cooling system presently only works based on the heat capacity of the water in the bucket.  Once the water heats up, you just need to wait for it to cool back down all by itself.  You can read about other people with more sophisticated refrigerated cooling systems, but this was quick and easy, like a virgin on prom night.  Julia has mentioned she&#039;s got some thermoelectric coolers in hiding for this project.  We&#039;ll cross that bridge when we get everything else running first.  The cooling system will have 3 interlocks: low water level, low flow, and high temperature.&lt;br /&gt;
&lt;br /&gt;
===Computer===&lt;br /&gt;
This is CNC equipment.  The first C is for Computer.  (No, not for cookie, but we often have cookies anyway.)  You need a computer with a USB port.  You need computer software.  I hope we can have a computer dedicated to the laser, but let&#039;s be real, that&#039;s not likely to happen.  I hope Tom will fill out this section.&lt;br /&gt;
===Cabinet===&lt;br /&gt;
The cabinet is what the chassis sits on.  The cabinet has wheels.  It&#039;s made of particle board and painted white.  The left door has upper and lower latches inside which hold it shut, so don&#039;t yank on it.  The cabinet houses the cooling system, the power strip which all the line voltage equipment plugs into: exhaust fan, cooling pump, laser chassis, 12V power supply (not yet installed).&lt;br /&gt;
&lt;br /&gt;
==Safety Interlocks==&lt;br /&gt;
&#039;&#039;&#039;None of these safeties are installed yet.&#039;&#039;&#039;  Don&#039;t go futzing around with stuff unless you know exactly what you are doing.  And tell James or Tom.&lt;br /&gt;
===Ventilation===&lt;br /&gt;
#Exhaust - If the exhaust fan isn&#039;t moving air, we don&#039;t want the laser to fire and make lots of smoke which would then fill the room&lt;br /&gt;
#Lens - Eventually we plan to install an air shroud nozzle around the laser lens to keep smoke from coating the lens and reducing cutting power.&lt;br /&gt;
===Coolant===&lt;br /&gt;
#Level - &lt;br /&gt;
#Flow&lt;br /&gt;
#Temp&lt;br /&gt;
===Doors===&lt;br /&gt;
#Cutting Chamber&lt;br /&gt;
#Control Chamber&lt;br /&gt;
#Laser Chamber - Probably not going to install this switch because the door is in back and control panel space is at a premium&lt;br /&gt;
#Cabinet - Probably not going to install this switch because there&#039;s not much harm in the cabinet and control panel space is at a premium&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
===Prestart===&lt;br /&gt;
#Come up with design&lt;br /&gt;
#Create SVG using software like [https://inkscape.org/ Inkscape]&lt;br /&gt;
#Upload SVG to computer&lt;br /&gt;
#Convert SVG to toolpath using software like [http://www.scorchworks.com/LaserDRW_extension/laserdrw_extension.html Laser Draw]&lt;br /&gt;
&lt;br /&gt;
===Startup===&lt;br /&gt;
#Roll cabinet out from under shelf&lt;br /&gt;
#Get extension cord out of cabinet and plug laser into extension cord and extension cord into live receptacle&lt;br /&gt;
#Turn on laser master power switch&lt;br /&gt;
#Close cabinet door&lt;br /&gt;
#Load material to be cut in laser cabinet&lt;br /&gt;
#Shut lid on cutting chamber&lt;br /&gt;
#Turn on laser cabinet power switch&lt;br /&gt;
===Operations===&lt;br /&gt;
#Ensure all safety interlocks are operable by checking indicator lights&lt;br /&gt;
#Run program without laser powered on to observe tool path and ensure material to be cut in properly arranged in the cutting chamber&lt;br /&gt;
#Run program with laser powered on to cut material&lt;br /&gt;
===Shutdown===&lt;br /&gt;
#Turn off laser chassis and master power switches&lt;br /&gt;
#Unplug laser and extension cord&lt;br /&gt;
#Coilup and store extension cord&lt;br /&gt;
#Shut cabinet door&lt;br /&gt;
#Roll cabinet back under the shelf&lt;br /&gt;
#Continue with your evil plans for world domination&lt;br /&gt;
&lt;br /&gt;
==Custom Wiring== &lt;br /&gt;
Julia had some LED strips she wanted installed.  We succeeded.  The illuminate when the main power is turned on.&lt;br /&gt;
[[File:Laser-leds1.jpg]]&lt;br /&gt;
&lt;br /&gt;
They are white LEDs but the orange laser viewing window colors them.&lt;br /&gt;
&lt;br /&gt;
[[File:Laser-leds2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Sully really likes relays and discrete, analogue circuits, so he jimmied up a bunch of stuff to make it less likely for you to poke your eye out or burn out the laser.&lt;br /&gt;
The laser power supply from the factory takes input from 3 front panel controls: off-on laser switch, momentary-on laser switch, power control potentiometer knob.  The off-on switch was a cheap latching push button which was connected to the leftmost two terminals of the 6 terminal plug with black wires.  It was replaced with an off-on, metal, toggle switch on 3-23-17.  The middle two terminals of the block connect to the momentary on push button switch on the front panel which causes the laser to fire (when the left two terminals are shorted together by the toggle switch).  The right 3 terminals (which overlap with the right center terminal going to the push button switch) connect to the front panel potentiometer which controls the laser current.  Do not turn the knob to full clockwise, because increasing the laser firing current past a certain point doesn&#039;t provide any benefit and just reduces the tube lifespan.  The plan is to parallelize the push button firing switch with a solid-state relay controlled directly by the Smoothie board and bypassing the K40 ACR board (which was supposed to make the Smoothie board plug-and-play, but as mentioned earlier did a halfassed job).  The potentiometer will be connected to a 3PDT switch for computerized or manual power level control.  A PWM to DC circuit will do the automatic control and the original pot will remain for the manual control.&lt;br /&gt;
The safety interlocks are basically a whole bunch of microswitches in series so if any one of them gets tripped the left two pins of the power supply 6 pin connector won&#039;t be shorted together and the laser won&#039;t fire.  There&#039;s also a plan to have lights illuminate to show which safeties are operating properly or tripped.  Plus indicator lights are cool.  And for the remaining manual firing switches we plan on getting those flip-up red covers like in those military movies where they&#039;re firing nuclear missiles and stuff like that.  These would aid in troubleshooting, and look really cool, even if they are kinda spendy.  Man, this is really turning into a wall of text.  Someone should do something about this sometime.  Anyway, schematic drawings would go here, or links to them would go here.&lt;br /&gt;
&lt;br /&gt;
==Custom Parts==&lt;br /&gt;
Images of custom parts like the exhaust nozzles and eventually a new control panel and source files for 3d printed or laser cut parts can go here.&lt;br /&gt;
&lt;br /&gt;
[[CCL front panel]]&lt;br /&gt;
&lt;br /&gt;
[[Air flow switch holder]]&lt;br /&gt;
&lt;br /&gt;
[[Exhaust nozzle]]&lt;br /&gt;
&lt;br /&gt;
This image is colored for 3d printing using it as a height map: black=0mm, gray=1mm, white=2mm. 174mm wide, 184mm tall.&lt;br /&gt;
The SVG file was created by a Ruby program to modularize the positions and sizes of cutouts for switches, nobs, lamps, etc.&lt;br /&gt;
&lt;br /&gt;
[[file:Control-panel.png]]&lt;br /&gt;
&lt;br /&gt;
==Bill of Materials, a.k.a. Donation Wishlist, and Hardware Store Shopping List==&lt;br /&gt;
#Laser goggles&lt;br /&gt;
#USB A-B cord, i.e. printer cable, which doesn&#039;t suck&lt;br /&gt;
#Solid state relays -- we used [http://www.clare.com/home/pdfs.nsf/www/LBA110.pdf/$file/LBA110.pdf] this one.  --This should move to custom parts and off the wishlist (JS 4-20).&lt;br /&gt;
#Stuff to cut&lt;br /&gt;
##1/8&amp;quot; Baltic birch plywood&lt;br /&gt;
##Plastic sheets, e.g. acrylic&lt;br /&gt;
##Masonite?&lt;br /&gt;
#Cabinet reinforcements&lt;br /&gt;
##dimensional lumber, e.g. 2x4, 2x2, 1x3&lt;br /&gt;
##unidirectional casters&lt;br /&gt;
#Cooling system stuff&lt;br /&gt;
##Distilled water&lt;br /&gt;
##Float switch&lt;br /&gt;
##Thermocouple or thermistor/RTD temperature sensor probe&lt;br /&gt;
##Radiator and fans&lt;br /&gt;
##Solidstate heat pump&lt;br /&gt;
##Working water fountain chiller (for future use on the 100W downstairs)&lt;br /&gt;
##PLC/Microcontroller with A/D inputs for temperature probe conditioning and temp display (advanced task)&lt;br /&gt;
#Green connectors for smoothieboard and laser powersupply&lt;br /&gt;
&lt;br /&gt;
==To-Do Tasks==&lt;br /&gt;
#Receive new parts ordered April ?: machine screws and nuts for microswitches&lt;br /&gt;
#Airflow switch housing&lt;br /&gt;
##manufacture&lt;br /&gt;
##install&lt;br /&gt;
#Coolant interlocks&lt;br /&gt;
##Level sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Flow sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
##Temp sensor&lt;br /&gt;
###design&lt;br /&gt;
###manufacture&lt;br /&gt;
###install&lt;br /&gt;
#Hourmeter&lt;br /&gt;
##design&lt;br /&gt;
##install&lt;br /&gt;
#Door switches&lt;br /&gt;
##3d print v5 mounting block and install  [[Door switch mounting block]]&lt;br /&gt;
##wire up switches&lt;br /&gt;
#Chassis wiring&lt;br /&gt;
##Mount one of the terminal strips and wire up the safety switches&lt;br /&gt;
##Draw a wiring diagram of custom components and label/number the terminals&lt;br /&gt;
#CNC firing control - This svg file can be used to test run the laser: [[Laser circle test]]&lt;br /&gt;
##find firing signal on Smoothie board&lt;br /&gt;
##determine relay requirements&lt;br /&gt;
##purchase and receive relay&lt;br /&gt;
##install firing relay&lt;br /&gt;
#CNC power control&lt;br /&gt;
##find PWM power level control signal on Smoothie board - PWM duration 300us&lt;br /&gt;
##fabricate converter - breadboarded and bench tested&lt;br /&gt;
##install converter&lt;br /&gt;
#software&lt;br /&gt;
##determine best software to use&lt;br /&gt;
##develop workflows for various programs and operating systems&lt;br /&gt;
##update this page to explain the above&lt;br /&gt;
&lt;br /&gt;
==Completed Tasks==&lt;br /&gt;
If you do work on the laser, please record it here.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Task !! Fixer !! Date !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Create Wiki page || [[user:James|James]] || 3/24/2017 || Ongoing updates needed&lt;br /&gt;
|-&lt;br /&gt;
| Install operational exhaust system || James || 2/2017 || Still needs interlocks&lt;br /&gt;
|-&lt;br /&gt;
| Install cooling system || James || 2/2017 || Air cooling or refrigeration could be added&lt;br /&gt;
|-&lt;br /&gt;
| Connect control power supply to switched mains || James || 3/2017 || Done&lt;br /&gt;
|-&lt;br /&gt;
| Get x and y axis movements working || [[user:Tom|Tom]] || 3/2017 || Firing still needs to be fixed&lt;br /&gt;
|-&lt;br /&gt;
| Replaced cooling pump power cord plug || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed door closure bolts on left cabinet door || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Installed cutting chamber illumination LEDs and 12VDC powersupply || James || 3/26/2017 ||&lt;br /&gt;
|-&lt;br /&gt;
| Control + interlock circuits design/brainstorm session || James + Tom || 3/27/2017 || See webpages below for Smothieboard help&lt;br /&gt;
|-&lt;br /&gt;
| Mocked up and tested control circuit for PWM from smoothieboard || James + Tom || 3/27/2017 || http://smoothieware.org/laser-cutter-guide&lt;br /&gt;
|-&lt;br /&gt;
| Scoped out various pins on the smoothieboard to find PWM out || James + Tom || 3/27/2017 || http://smoothieware.org/smoothieboard-v1&lt;br /&gt;
|-&lt;br /&gt;
| Removed control panel || James || 3/30/17 || Don&#039;t mess with nothing until a new one gets installed!&lt;br /&gt;
|-&lt;br /&gt;
| Tried to 3d print a new control panel || James || 4/2/17 || Lulzbot Taz either didn&#039;t extrude or made bird poop. :( It&#039;s too bad we don&#039;t have a working laser cutter.&lt;br /&gt;
|-&lt;br /&gt;
| Adjusted program size parameters based on failed print and added ammeter mounting screw holes to control panel design || James || 4/11/17 || Still need to upload new SVG here and print it&lt;br /&gt;
|-&lt;br /&gt;
| Ordered self adhesive cable tie mounting squares and SSR for PWM-&amp;gt; DC || Tom || 4/11/17 || Delivery expected Thursday&lt;br /&gt;
|-&lt;br /&gt;
| Design 3d-printed mounting bracket/clip to hold switches for door interlocks || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Design, breadboard and test PWM circuit with solid state relay and newly determined time constant || James + Tom || 4/15/17 || Impromptu Saturday night productivity session.&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded exhaust nozzle and exhaust flow switch scad files || James || 4/20/17 || Flow switch needs printing and Tom&#039;s nacelle needs dimension tweeking.&lt;br /&gt;
|-&lt;br /&gt;
| Tried printing control panel on the Ultimaker&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; || James || 4/25/17 || Print failed twice, but third time looked good before I left.&lt;br /&gt;
|-&lt;br /&gt;
| Installed control panel 3d printed on Tuesday || James || 4/27/17 || Controls and indicators are installed but not operational, yet.  It looks sweet! Could be thicker, maybe 4mm.  Dimensions could use tweeking too: toggle switches moved down, corner radii reduced,...&lt;br /&gt;
|-&lt;br /&gt;
| Uploaded source code and stl for float switch || James || 5/1/17 || Still need to print them.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Equipment]]&lt;br /&gt;
[[Category:LaserCutter]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
[[Category:Ongoing Projects]]&lt;br /&gt;
[[Category:Project Awesome]]&lt;br /&gt;
[[Category:CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Float_switch&amp;diff=13253</id>
		<title>Float switch</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Float_switch&amp;diff=13253"/>
		<updated>2017-05-01T22:49:58Z</updated>

		<summary type="html">&lt;p&gt;James: added links to stl files.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the source code for the float switch 3d printed parts for the water level detector for the [[Cheap Chinese Laser]].&lt;br /&gt;
It is made in two parts: the head and the base.&lt;br /&gt;
You also need 4 pieces of 1/4-20 all thread to connect the two of them and 8 nuts.&lt;br /&gt;
The base is internally threaded.  The head needs nuts top and bottom.  Washers would be good too.&lt;br /&gt;
&lt;br /&gt;
[[File:Float-switch-head.stl]]&lt;br /&gt;
&lt;br /&gt;
[[File:Float-switch-base.stl]]&lt;br /&gt;
&lt;br /&gt;
stl files rendered on 5/1/2017&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
low water level detector&lt;br /&gt;
safety interlock for cheap Chinese laser at Hac DC&lt;br /&gt;
This water level detector is a two piece assembly connected by threaded rod.  This model uses 1/4-20 rod.  The lower foot has a 40mm home in the bottom to insert a pingpong ball as the float.&lt;br /&gt;
James Sullivan&lt;br /&gt;
4-30-17&lt;br /&gt;
Mk 2 - calculated threads&lt;br /&gt;
OpenSCAD version 2015.03-1 &lt;br /&gt;
*/&lt;br /&gt;
ppbd=40;    //ping pong ball diameter&lt;br /&gt;
ppbw=2.7;   //ping pong ball weight in grams&lt;br /&gt;
shd=2;  //switch hole diameter&lt;br /&gt;
shp=10; //switch hole pitch, i.e. center to center spacing of mounting holes on microswitch&lt;br /&gt;
wlh=200;    //water level height&lt;br /&gt;
sbw=6;  //switch body width&lt;br /&gt;
nfw=4;  //nut face width, switch mounting nuts&lt;br /&gt;
nt=1;   //nut thickness, switch mounting nuts&lt;br /&gt;
thick=5;    //thickness&lt;br /&gt;
fph=thick*3;//foot pillar height&lt;br /&gt;
eps=0.1;    //epsilon&lt;br /&gt;
tol=0.5;    //tolerance&lt;br /&gt;
br=50;      //base radius&lt;br /&gt;
rod=25.4/4; //rod outer diameter&lt;br /&gt;
tpi=20;     //threads per inch&lt;br /&gt;
bfw=ppbd+2*thick;  //base flange width&lt;br /&gt;
$fn=40; &lt;br /&gt;
function mod(num,den) = num - floor(num/den)*den; &lt;br /&gt;
//dimensions taken from Front Door Switch Holder&lt;br /&gt;
wr=4;			//wrench size for nuts width across flats&lt;br /&gt;
nh=1;			//nut height, depth of nut sockets&lt;br /&gt;
$fn=40;&lt;br /&gt;
&lt;br /&gt;
//head&lt;br /&gt;
module head() {&lt;br /&gt;
    difference(){&lt;br /&gt;
        union(){&lt;br /&gt;
            for(angle=[45:90:315]){&lt;br /&gt;
                rotate([0,0,angle]) translate([ppbd/2+rod/2+tol,0,0]) cylinder(d=rod+thick*2,h=thick); //leg cylinders&lt;br /&gt;
            }&lt;br /&gt;
            cylinder(h=thick,r=ppbd/2+rod/2+tol-thick/2);&lt;br /&gt;
        }&lt;br /&gt;
        translate([0,0,-thick/2]) cylinder(h=thick*2,r=ppbd/2+rod/2+tol-3*thick/2);&lt;br /&gt;
        for(angle=[45:90:315]){&lt;br /&gt;
            rotate([0,0,angle]) translate([ppbd/2+rod/2+tol,0,-thick/2]) cylinder(d=rod,h=fph); //leg holes&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    translate([sbw/2,(ppbd+rod+tol-2*thick)/(-2),0]) cube([thick,ppbd+rod+tol-2*thick,thick]);&lt;br /&gt;
    translate([sbw/2,shp/2,thick]) difference(){ //switch mounting block, aligned with z-plane and x-plane, centered on y-plane&lt;br /&gt;
        translate([0,-shp/2-nfw,0]) color(&amp;quot;green&amp;quot;) cube([thick,shp+2*nfw,2*nfw]);&lt;br /&gt;
        for (y=[-shp/2,shp/2]) {&lt;br /&gt;
            translate([thick/2,y,nfw]) rotate([0,90,0]) cylinder(d=shd,h=thick*2,center=true);    //screw holes&lt;br /&gt;
            translate([sbw-nh,y,nfw]) union(){  //nut sockets&lt;br /&gt;
                for (ang=[0,120,240]) rotate([ang,0,0]) cube([nh*2,wr,wr/sqrt(3)],center=true);&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
        translate([sbw/2+thick,bfw/2-nfw-shp,nfw]) union(){  //center nut socket&lt;br /&gt;
            cube([nh*2,wr,wr/sqrt(3)],center=true);&lt;br /&gt;
            rotate([120,0,0]) cube([nh*2,wr,wr/sqrt(3)],center=true);&lt;br /&gt;
            rotate([240,0,0]) cube([nh*2,wr,wr/sqrt(3)],center=true);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
module socket(nd,tpi,tl,thick) {&lt;br /&gt;
    ror=nd/2;       //rod outer radius&lt;br /&gt;
    pitch=25.4/tpi; //thread pitch in mm&lt;br /&gt;
    td=pitch*3/4;   //thread depth in mm&lt;br /&gt;
    rir=ror-td;     //rod inner radius&lt;br /&gt;
    sor=ror+thick;  //socket outer radius&lt;br /&gt;
    vert= [for (ang=[0:360/$fn:720]) ang&amp;lt;=45 ? [cos(ang),sin(ang)]*rir : ang&amp;lt;180 ? [cos(ang),sin(ang)]*(rir+td*(ang-45)/135) : ang&amp;lt;=225 ? [cos(ang),sin(ang)]*ror : ang&amp;lt;360 ?[cos(ang),sin(ang)]*(rir+td*(360-ang)/135) : [cos(ang),sin(ang)]*sor];&lt;br /&gt;
        path1=[for(p=[0:$fn]) mod(p,$fn) ];&lt;br /&gt;
        path2=[for(p=[0:$fn]) mod(p,$fn)+$fn ];&lt;br /&gt;
    linear_extrude(height=tl,center=false,convexivity=20,twist=tl/25.4*tpi*360){&lt;br /&gt;
    polygon(points=vert,paths=[path1,path2]);&lt;br /&gt;
        &lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
//foot&lt;br /&gt;
module foot(){&lt;br /&gt;
    difference(){&lt;br /&gt;
        union(){&lt;br /&gt;
            translate([0,0,thick/2]) cube([ppbd+2*thick,ppbd+2*thick,thick],center=true);&lt;br /&gt;
            for (angle=[45:90:315]){&lt;br /&gt;
                rotate([0,0,angle]){&lt;br /&gt;
                    translate([ppbd/2+rod/2+tol,0,0]) socket(rod,tpi,fph,thick);  //pillar&lt;br /&gt;
                    translate([0,-thick,0]) cube([br-thick,thick*2,thick]); //leg&lt;br /&gt;
                    translate([br-thick,0,0]) cylinder(r=thick,h=thick);    //foot&lt;br /&gt;
                }  //end rotate&lt;br /&gt;
            }  //end for&lt;br /&gt;
        }  //end union&lt;br /&gt;
        translate([0,0,-eps/2]) cylinder(d=ppbd+tol,h=fph+eps); //ping pong ball entry&lt;br /&gt;
    }   //end difference&lt;br /&gt;
}   //end foot module&lt;br /&gt;
    &lt;br /&gt;
head();&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=Float_switch&amp;diff=13252</id>
		<title>Float switch</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=Float_switch&amp;diff=13252"/>
		<updated>2017-05-01T22:47:16Z</updated>

		<summary type="html">&lt;p&gt;James: created page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the source code for the float switch 3d printed parts for the water level detector for the [[Cheap Chinese Laser]].&lt;br /&gt;
It is made in two parts: the head and the base.&lt;br /&gt;
You also need 4 pieces of 1/4-20 all thread to connect the two of them and 8 nuts.&lt;br /&gt;
The base is internally threaded.  The head needs nuts top and bottom.  Washers would be good too.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
low water level detector&lt;br /&gt;
safety interlock for cheap Chinese laser at Hac DC&lt;br /&gt;
This water level detector is a two piece assembly connected by threaded rod.  This model uses 1/4-20 rod.  The lower foot has a 40mm home in the bottom to insert a pingpong ball as the float.&lt;br /&gt;
James Sullivan&lt;br /&gt;
4-30-17&lt;br /&gt;
Mk 2 - calculated threads&lt;br /&gt;
OpenSCAD version 2015.03-1 &lt;br /&gt;
*/&lt;br /&gt;
ppbd=40;    //ping pong ball diameter&lt;br /&gt;
ppbw=2.7;   //ping pong ball weight in grams&lt;br /&gt;
shd=2;  //switch hole diameter&lt;br /&gt;
shp=10; //switch hole pitch, i.e. center to center spacing of mounting holes on microswitch&lt;br /&gt;
wlh=200;    //water level height&lt;br /&gt;
sbw=6;  //switch body width&lt;br /&gt;
nfw=4;  //nut face width, switch mounting nuts&lt;br /&gt;
nt=1;   //nut thickness, switch mounting nuts&lt;br /&gt;
thick=5;    //thickness&lt;br /&gt;
fph=thick*3;//foot pillar height&lt;br /&gt;
eps=0.1;    //epsilon&lt;br /&gt;
tol=0.5;    //tolerance&lt;br /&gt;
br=50;      //base radius&lt;br /&gt;
rod=25.4/4; //rod outer diameter&lt;br /&gt;
tpi=20;     //threads per inch&lt;br /&gt;
bfw=ppbd+2*thick;  //base flange width&lt;br /&gt;
$fn=40; &lt;br /&gt;
function mod(num,den) = num - floor(num/den)*den; &lt;br /&gt;
//dimensions taken from Front Door Switch Holder&lt;br /&gt;
wr=4;			//wrench size for nuts width across flats&lt;br /&gt;
nh=1;			//nut height, depth of nut sockets&lt;br /&gt;
$fn=40;&lt;br /&gt;
&lt;br /&gt;
//head&lt;br /&gt;
module head() {&lt;br /&gt;
    difference(){&lt;br /&gt;
        union(){&lt;br /&gt;
            for(angle=[45:90:315]){&lt;br /&gt;
                rotate([0,0,angle]) translate([ppbd/2+rod/2+tol,0,0]) cylinder(d=rod+thick*2,h=thick); //leg cylinders&lt;br /&gt;
            }&lt;br /&gt;
            cylinder(h=thick,r=ppbd/2+rod/2+tol-thick/2);&lt;br /&gt;
        }&lt;br /&gt;
        translate([0,0,-thick/2]) cylinder(h=thick*2,r=ppbd/2+rod/2+tol-3*thick/2);&lt;br /&gt;
        for(angle=[45:90:315]){&lt;br /&gt;
            rotate([0,0,angle]) translate([ppbd/2+rod/2+tol,0,-thick/2]) cylinder(d=rod,h=fph); //leg holes&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    translate([sbw/2,(ppbd+rod+tol-2*thick)/(-2),0]) cube([thick,ppbd+rod+tol-2*thick,thick]);&lt;br /&gt;
    translate([sbw/2,shp/2,thick]) difference(){ //switch mounting block, aligned with z-plane and x-plane, centered on y-plane&lt;br /&gt;
        translate([0,-shp/2-nfw,0]) color(&amp;quot;green&amp;quot;) cube([thick,shp+2*nfw,2*nfw]);&lt;br /&gt;
        for (y=[-shp/2,shp/2]) {&lt;br /&gt;
            translate([thick/2,y,nfw]) rotate([0,90,0]) cylinder(d=shd,h=thick*2,center=true);    //screw holes&lt;br /&gt;
            translate([sbw-nh,y,nfw]) union(){  //nut sockets&lt;br /&gt;
                for (ang=[0,120,240]) rotate([ang,0,0]) cube([nh*2,wr,wr/sqrt(3)],center=true);&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
        translate([sbw/2+thick,bfw/2-nfw-shp,nfw]) union(){  //center nut socket&lt;br /&gt;
            cube([nh*2,wr,wr/sqrt(3)],center=true);&lt;br /&gt;
            rotate([120,0,0]) cube([nh*2,wr,wr/sqrt(3)],center=true);&lt;br /&gt;
            rotate([240,0,0]) cube([nh*2,wr,wr/sqrt(3)],center=true);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
module socket(nd,tpi,tl,thick) {&lt;br /&gt;
    ror=nd/2;       //rod outer radius&lt;br /&gt;
    pitch=25.4/tpi; //thread pitch in mm&lt;br /&gt;
    td=pitch*3/4;   //thread depth in mm&lt;br /&gt;
    rir=ror-td;     //rod inner radius&lt;br /&gt;
    sor=ror+thick;  //socket outer radius&lt;br /&gt;
    vert= [for (ang=[0:360/$fn:720]) ang&amp;lt;=45 ? [cos(ang),sin(ang)]*rir : ang&amp;lt;180 ? [cos(ang),sin(ang)]*(rir+td*(ang-45)/135) : ang&amp;lt;=225 ? [cos(ang),sin(ang)]*ror : ang&amp;lt;360 ?[cos(ang),sin(ang)]*(rir+td*(360-ang)/135) : [cos(ang),sin(ang)]*sor];&lt;br /&gt;
        path1=[for(p=[0:$fn]) mod(p,$fn) ];&lt;br /&gt;
        path2=[for(p=[0:$fn]) mod(p,$fn)+$fn ];&lt;br /&gt;
    linear_extrude(height=tl,center=false,convexivity=20,twist=tl/25.4*tpi*360){&lt;br /&gt;
    polygon(points=vert,paths=[path1,path2]);&lt;br /&gt;
        &lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
//foot&lt;br /&gt;
module foot(){&lt;br /&gt;
    difference(){&lt;br /&gt;
        union(){&lt;br /&gt;
            translate([0,0,thick/2]) cube([ppbd+2*thick,ppbd+2*thick,thick],center=true);&lt;br /&gt;
            for (angle=[45:90:315]){&lt;br /&gt;
                rotate([0,0,angle]){&lt;br /&gt;
                    translate([ppbd/2+rod/2+tol,0,0]) socket(rod,tpi,fph,thick);  //pillar&lt;br /&gt;
                    translate([0,-thick,0]) cube([br-thick,thick*2,thick]); //leg&lt;br /&gt;
                    translate([br-thick,0,0]) cylinder(r=thick,h=thick);    //foot&lt;br /&gt;
                }  //end rotate&lt;br /&gt;
            }  //end for&lt;br /&gt;
        }  //end union&lt;br /&gt;
        translate([0,0,-eps/2]) cylinder(d=ppbd+tol,h=fph+eps); //ping pong ball entry&lt;br /&gt;
    }   //end difference&lt;br /&gt;
}   //end foot module&lt;br /&gt;
    &lt;br /&gt;
head();&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
	<entry>
		<id>https://old.hacdc.org/index.php?title=File:Float-switch-head.stl&amp;diff=13251</id>
		<title>File:Float-switch-head.stl</title>
		<link rel="alternate" type="text/html" href="https://old.hacdc.org/index.php?title=File:Float-switch-head.stl&amp;diff=13251"/>
		<updated>2017-05-01T22:41:33Z</updated>

		<summary type="html">&lt;p&gt;James: See float switch base.  This is the matching head.
Category: CheapChineseLaser&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See float switch base.  This is the matching head.&lt;br /&gt;
[[Category: CheapChineseLaser]]&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
</feed>