Z-Axis Only Turns One Direction

Home Forums gShield grblShield Support Z-Axis Only Turns One Direction

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9252
    prajwal1121
    Member

    Hi guys!
    Let me start off by saying that I am new to CNC so please excuse my naivety. That being said, a few months ago I decided to make a homemade CNC milling machine and I was running it with the g-shield and arduino. Everything worked perfectly then, but I stopped using it for a couple months as I was busy with other things. When I decided to power it up again yesterday, I found the the z-axis only moved in one direction regardless of what command I gave it while the other axes moved correctly. I don’t think the problem is with the motor as I tried switching the Y and Z and saw that the z-axis motor worked properly but the problem on the g-shield z-axis persisted. I am using Universal G-Code Sender to control it. What could be the cause of this problem and how can I fix it?
    Thank you!

    #9273
    dsteury
    Member

    First you should determine if the issue lies with the arduino or the g-shield. The DRV8818 on the g-shield receives the direction signal from the arduino in the form of a high or low signal. You should unplug the shield from the arduino and stick a pin in D7 and measure the voltage between that pin and ground. If the voltage changes from 0V to 5V when you change direction (send G91G0Z100 and then G91G0Z-100). If the voltage is changing, plug the shield back in and test the same pin. If the voltage is now not changing then there is some issue on the g-shield.

    If the voltage was not changing when the board was unplugged then the issue is on the arduino board.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.