<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.artscienceblr.org/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.artscienceblr.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Dhruva%2FCNC</id>
		<title>Dhruva/CNC - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.artscienceblr.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Dhruva%2FCNC"/>
		<link rel="alternate" type="text/html" href="https://wiki.artscienceblr.org/wiki/index.php?title=Dhruva/CNC&amp;action=history"/>
		<updated>2026-04-22T09:01:00Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.22.6</generator>

	<entry>
		<id>https://wiki.artscienceblr.org/wiki/index.php?title=Dhruva/CNC&amp;diff=3594&amp;oldid=prev</id>
		<title>Dhruva.GS: Created page with &quot;The CNC machine wasn’t working so I was asked to fix it.   The problem was that the x and the y axes moved well, but the z axis made a horrible grinding sound.  Suspecting t...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.artscienceblr.org/wiki/index.php?title=Dhruva/CNC&amp;diff=3594&amp;oldid=prev"/>
				<updated>2018-08-06T05:28:59Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;The CNC machine wasn’t working so I was asked to fix it.   The problem was that the x and the y axes moved well, but the z axis made a horrible grinding sound.  Suspecting t...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The CNC machine wasn’t working so I was asked to fix it. &lt;br /&gt;
&lt;br /&gt;
The problem was that the x and the y axes moved well, but the z axis made a horrible grinding sound.&lt;br /&gt;
&lt;br /&gt;
Suspecting the Z axis stepper driver (which was a DRV8825), I switched the drivers for the Z and Y axes, switching the two Vrefs as well. &lt;br /&gt;
&lt;br /&gt;
Now, the Z axis motor worked fine, but the Y axis made the horrible sound.&lt;br /&gt;
&lt;br /&gt;
So It was the driver. We ordered a new one.&lt;br /&gt;
&lt;br /&gt;
When the new driver arrived, another problem presented itself; The CNC would not drill very deep, and would sort of drag around the drawing it was making leaving drilled lines along its travel path.&lt;br /&gt;
&lt;br /&gt;
I suspected the microstepping here, so I switched from 1/16th step (the previous configuration) to full step. &lt;br /&gt;
&lt;br /&gt;
Now, it could drill properly, but the dimensional accuracy was off. If I wanted to drill 1 cm, it would do 1.2 instead. I don’t know why this happened but I fixed it by altering the GRBL (CNC firmware) settings.&lt;br /&gt;
&lt;br /&gt;
You can do this on Universal Gcode Sender (Ugs platform) by typing &lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; $$&lt;br /&gt;
&lt;br /&gt;
in the commands window.&lt;br /&gt;
&lt;br /&gt;
You will get a long list of settings numbered $0, $1 and so on. &lt;br /&gt;
&lt;br /&gt;
The problem seemed to be with the steps/mm. ugs told the printer to do 10 mm, but it did more. Therefore decreasing the steps/mm should resolve this difference.&lt;br /&gt;
&lt;br /&gt;
To find the steps/mm you need I simply found the ratio between the expected and actual movement, and multiplied by the current steps/mm (200).&lt;br /&gt;
&lt;br /&gt;
(1/1.2)*200 = 166.666&lt;br /&gt;
&lt;br /&gt;
so I set the steps/mm of the Z axis to 167 and all was good. The command used was &lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; $102 = 167&lt;br /&gt;
&lt;br /&gt;
Finally, I found that the X and Y axes were also a bit skewed: an expected movement of 1 cm instead yielded 2.5 centimetres, so I altered the x and y steps/mm accordingly to about 80 steps/mm. &lt;br /&gt;
&lt;br /&gt;
After this, the CNC was perfectly operational. &lt;br /&gt;
&lt;br /&gt;
Future plans include attaching a vacuum cleaner to suck up dust, and adjusting the microstepping to 1/32 to make the motor movements more silent. This would also involve multiplying the steps/mm to account for the changes.&lt;/div&gt;</summary>
		<author><name>Dhruva.GS</name></author>	</entry>

	</feed>