101 (edited by evanboothe 2018-09-07 01:14:57)

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

carl_m1968 wrote:

Based on the M119 at home it is not seeing that switch close. Are the wires correct? Is the contact point on the bed frame actually pressing the switch? I did say home all axis by hand. That includes turning up the bed if needed.

is home for the bed all the way to the bottom of the printer or to the top of the printer frame? I never moved the bed (z axis) to the top of the printer allowing it to depress the switch because I didn’t feel like manually screwing the bed all the way to the top of the printer to have it depress the switch. I did however depress it by hand with the other axis homed and it’s value went to 1, along with y and x


Here is the m119 with all 3 axis PHYSICALLY set to home

20:59:10.321 : X_min:1 Y_min:1 Z_min:1 pins- (X)P1.24:1 (Y)P1.26:1 (Z)P1.28:1

With all axis homed, I tried to move axis and nothing moved or made noise. Even tried a G1 command and nothing moved.

Da Vinci 1.0 Azteeg x5 mini WiFi running Smoothieware, e3d v6.

102 (edited by carl_m1968 2018-09-07 12:47:59)

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

evanboothe wrote:
carl_m1968 wrote:

Based on the M119 at home it is not seeing that switch close. Are the wires correct? Is the contact point on the bed frame actually pressing the switch? I did say home all axis by hand. That includes turning up the bed if needed.

is home for the bed all the way to the bottom of the printer or to the top of the printer frame? I never moved the bed (z axis) to the top of the printer allowing it to depress the switch because I didn’t feel like manually screwing the bed all the way to the top of the printer to have it depress the switch. I did however depress it by hand with the other axis homed and it’s value went to 1, along with y and x


Here is the m119 with all 3 axis PHYSICALLY set to home

20:59:10.321 : X_min:1 Y_min:1 Z_min:1 pins- (X)P1.24:1 (Y)P1.26:1 (Z)P1.28:1

With all axis homed, I tried to move axis and nothing moved or made noise. Even tried a G1 command and nothing moved.


I was looking back at your post and specifically at this image.

http://soliforum.com/i/?y9HJdDL.jpg

Unless you have changed something since this was posted your wires are not correct. This is based on the image I got from that Frankenvinci site.

http://soliforum.com/i/?DKXZ5Yo.jpg

If you extend this spreadsheet out to include the Azteeg connections using the Axis name as the pin one indicator you get the following..

http://soliforum.com/i/?4GoP1XF.jpg

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

103

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

I will go over wiring on the motors tonight after work. I probably have them wired wrong I don’t doubt it.

Da Vinci 1.0 Azteeg x5 mini WiFi running Smoothieware, e3d v6.

104

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

Actually I was just thinking about the wiring and I remember now.. I could not find a diagram of the actually stepper motor pin out. Say you had no harness at all and the motors were all you had to reference from. Making your own harness’s from scratch. How would I know why male pin does what or what male pin goes to what wit no reference. I’m sorry if that doesn’t make sense, I’m not the greatest at trying to put together questions in good contex sometimes.

Da Vinci 1.0 Azteeg x5 mini WiFi running Smoothieware, e3d v6.

105

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

On stepper motors if you short two leads and feel resistance when you turn the shaft you know you have the correct wires for one phase. Once you isolate the phases it is just a matter of polarity and that is trial and error once you have a driver connected and can test. As long as the phases are not opposing each other the motor will turn. If it is backwards from expected either swap the phases or just mod the firmware to invert the direction pin.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

106

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

carl_m1968 wrote:

On stepper motors if you short two leads and feel resistance when you turn the shaft you know you have the correct wires for one phase. Once you isolate the phases it is just a matter of polarity and that is trial and error once you have a driver connected and can test. As long as the phases are not opposing each other the motor will turn. If it is backwards from expected either swap the phases or just mod the firmware to invert the direction pin.

Actually now that I think of it, when I wired the motors I remember I would use a DMM, on ohms, would touch two terminals until I have a resistant reading instead of o.l or open. Which then told me that those two pins were on the same side. I’m almost positive the wiring is correct, the picture you mentioned a few posts ago that I took the wire colors may be not right as I didn’t keep them in the same color scheme as the diagram you posted. But I will go over it again and double check each motors wiring. What is the best way to wire these up correctly using a DMM

Da Vinci 1.0 Azteeg x5 mini WiFi running Smoothieware, e3d v6.

107 (edited by carl_m1968 2018-09-07 16:32:28)

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

The snippet from Frankenvinci is correct. So just match the phases from the Da Vinci board to the Azteeg board. It is critical that 1A and 1B are correct and 2A and 2B are correct as 1 is a phase and 2 is a phase. In fact just look at my extended spreadsheet as it should be correct.

If you have the information available as you do, then use it, don't use a DMM. If you only have a DMM then like I said the pair with the lowest resistance should be a phase or the pair that makes the shaft harder to turn when shorted should be a pair.

Neither of these will help you know which wire is A or B though and you will still need to get that right through testing. If you have one wrong then the phases will just push against each other and the motor will just do nothing or sit and humm. So you know if it is right or not.

Again use the chart. If the tools or information is available then don't give yourself extra work.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

108 (edited by evanboothe 2018-09-07 23:15:55)

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

Here’s my issue. I’m not using the factory supplied Da Vinci wires from the original machine. So for that being said the harnesses are differnt colors, I know I could pretend they are the colors in the diagram displayed above and reference off of it but before I do hat I need to know the answer to this question.. the motors have 6 pins. You only use 4 of those pins, off the supplied snippets you gave me above they don’t reference the pins on the motors themselves because they are just passed off of a stock 4 wire non touched plug. I might not have my 4 wires in the correct place is my issue.

***Update****
X,Y,and Z axis colors and plugs were OEM order! 2 center pins and 2 outter pins correct?? Only harness that was wrong colors was the extruder harness. As long as out of the 6 pins we are only using the 2 center ones and the two outter ones I now have it wired correctly. I flipped the switch with all of the axis at there home positions and the motors are instantly making noise.. not sure what the noise is from. It’s like there idling at a really low RPM type of noise but I’m not sure. As soon as I command a axis to move all of the motors instantly stop making noise but nothing moves.. also this noise doesn’t cause the motor to move in one or the other direction but it causes it to “lock” in its position that it is in.

http://soliforum.com/i/?9xLo9VJ.jpg

http://soliforum.com/i/?DY1GK3t.jpg

http://soliforum.com/i/?VZmaXx8.jpg

Da Vinci 1.0 Azteeg x5 mini WiFi running Smoothieware, e3d v6.

109

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

6 Wire Motors
6 wire motors have a wire attached to the center of the coils.  This allows you to use the full coil or only half of the coil. 

The empty pin between each wire would be the center pin of the coil. They are using the full coil on each phase.

So yellow and orange is one phase and blue and green is the other phase. If the motor does not run then try swapping the wires in phase. You may also need to bump the current up to 1.0 for each motor in the firmware. They may not be getting enough. Once all is working you can tune the current to just what is needed.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

110

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

carl_m1968 wrote:

6 Wire Motors
6 wire motors have a wire attached to the center of the coils.  This allows you to use the full coil or only half of the coil. 

The empty pin between each wire would be the center pin of the coil. They are using the full coil on each phase.

So yellow and orange is one phase and blue and green is the other phase. If the motor does not run then try swapping the wires in phase. You may also need to bump the current up to 1.0 for each motor in the firmware. They may not be getting enough. Once all is working you can tune the current to just what is needed.

Please explain what you mean by swapping the wires in phase.

Da Vinci 1.0 Azteeg x5 mini WiFi running Smoothieware, e3d v6.

111

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

Yellow and Orange are one phase they would be connected at 1a and 1b or 2a and 2b. If the motor does not run. Then you swap 1a to 1b and 1b to 1a. Same could be done on the blue and green pair. Keep in mind this is just an example but what I can tell you based on the motor and its wires is that one phase either 1a and 1b or 2a and 2b will have to be yellow and orange. The other will be blue and green. Make sure you get the correct a and b paired.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

112

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

carl_m1968 wrote:

Yellow and Orange are one phase they would be connected at 1a and 1b or 2a and 2b. If the motor does not run. Then you swap 1a to 1b and 1b to 1a. Same could be done on the blue and green pair. Keep in mind this is just an example but what I can tell you based on the motor and its wires is that one phase either 1a and 1b or 2a and 2b will have to be yellow and orange. The other will be blue and green. Make sure you get the correct a and b paired.

Ok and like I said they are all making noise when I turn the printer on.. where do I adjust the voltage to 1.0

Da Vinci 1.0 Azteeg x5 mini WiFi running Smoothieware, e3d v6.

113

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

In the config in the stepper module section there is a current pin for each motor. Try setting it to 1.0 for each.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

114

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

carl_m1968 wrote:

In the config in the stepper module section there is a current pin for each motor. Try setting it to 1.0 for each.

they were already at 1.0 should I try above that

Da Vinci 1.0 Azteeg x5 mini WiFi running Smoothieware, e3d v6.

115

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

Try inverting the motor direction pin. Could be they are trying to run the wrong way.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

116

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

What I would do is just work on getting one axis to run as expected. Once you get one running you can repeat for the others. It took me weeks to get my Delta running. The issue is you have to have motor direction, motor phase, homing direction, endstop polarity, endstop homing direction, motor current, all set correctly to get it to move.

I found it was best once I confirmed the endstops showed as active when closed I moved the axis to the middle of the machine. It is supposed to auto home at power. So if you move it to the middle then you should get some movement. If not a setting or something else is wrong or it thinks it is at one of it's hard or soft limits.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

117 (edited by evanboothe 2018-09-08 01:32:21)

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

X and Z home perfectly! But Y is going home in the wrong direction, how do I invert that. It is reading as when the y axis is running toward the front door of the machine that move is in negative steps instead of positive steps

Here is the x axis moving manually and then homing. I set max position on x to 458 which left very little space from hitting. It was pre set to 200 on repetier host.

Here is Y, if you look I am moving in a negative direction and it is moving forward toward the front of the machine. When I press home it homes in the right direction towards the back of the printer but it only travels one step then stops, at first it would home fully but would move in the wrong direction so I quickly shut the machine off before it hit the front of the printer. I inverted one of the lines for Y’s homing but now I forget off the top of my head which line it was that I edited.  NOW when I hit the home y axis button again it moves one step stops, one step, stops, and so on, until it hits the end stop. But like I said it does move in the correct position when I press home.

Da Vinci 1.0 Azteeg x5 mini WiFi running Smoothieware, e3d v6.

118 (edited by carl_m1968 2018-09-08 15:27:05)

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

Copy and post your endstop module and stepper module from the config as it is now so I can compare it versus the videos.

There is one thing I notice and correct me if I am wrong but we are looking at movement from the back of the machine, not the front. If that is the case then all your movement is wrong. You pushed the move right arrow so if we are looking from the back of the machine it should move left. All your movement and settings are and should be based on the fact you are looking at the front of the machine.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

119

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

carl_m1968 wrote:

Copy and post your endstop module and stepper module from the config as it is now so I can compare it versus the videos.

Sadly I work Saturdays so I’ll have to send it around 530 this afternoon. ES Time, not sure where your located but if your around then I’ll post it regardless.

How does the X axis look to you? Seems pretty solid to me, finding out the max input was pretty simple.

Da Vinci 1.0 Azteeg x5 mini WiFi running Smoothieware, e3d v6.

120 (edited by carl_m1968 2018-09-08 16:41:49)

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

evanboothe wrote:
carl_m1968 wrote:

Copy and post your endstop module and stepper module from the config as it is now so I can compare it versus the videos.

Sadly I work Saturdays so I’ll have to send it around 530 this afternoon. ES Time, not sure where your located but if your around then I’ll post it regardless.

How does the X axis look to you? Seems pretty solid to me, finding out the max input was pretty simple.


I added to my reply. In the video it appears that we are looking at the back of the machine. if that is the case then when you press right it should move left. if you press forward it should move back. All your movement and settings are supposed be based on you looking at the front of the machine. Homing looks correct but manual movement looks wrong. There is a setting in Repetier to invert the X and Y so see if that works.

I installed Repetier Host and connected my CT'c to see how the software behaves. So here is the deal. If the machine Homes in the correct direction and stops when it hits the endstop then that axis should be good. Now in Repetier under printer settings there is a tab called printer. In that tab at the very bottom there are check boxes to invert the movement of the X Y and Z axis during manual moves. I found on my machine both the X and Y had to be inverted to get manual moves to move in the correct direction..

For the Z access the proper setting based on g-code movement is always in reference to head movement, not bed movement. So on a machine that has a fixed height head and a moving bed, when you press up the bed should move down because the machine is actually interpreting the head moving up. When you press down the bed should move up.

Now this is proper, but some people set it up for their own convenience so that up means the bed moves up and down means the bed moves down. To them the Z axis is the bed and not the toolhead as it should be.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

121 (edited by evanboothe 2018-09-08 23:59:01)

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

Okay I have the printer turned around now, the front of the printer is facing me. I am attaching my current config file. I inverted X and Y in printer setting on host. X is now moving left (when looking at the front of the machine) when I click left on the control arrows. It also homes in the correct direction and stops at its destination when it hits the end stop. Y axis when I press the UP arrow on host (looking at the front of the machine) The axis moves towards me, or towards the front of the machine. Also noticing a issue with this axis is that I cant move very far towards the front of the machine because it is hitting its 0 position while it comes towards the front of the machine. Z axis is responding correctly as when I hit the up arrow it lowers the bed height.



*** Edit****

Also Y homes in the correct location but when I hit the home button it only moves one step then stops.

Post's attachments

config.txt 21.49 kb, 3 downloads since 2018-09-08 

You don't have the permssions to download the attachments of this post.
Da Vinci 1.0 Azteeg x5 mini WiFi running Smoothieware, e3d v6.

122 (edited by evanboothe 2018-09-09 00:41:15)

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

I got Y homing correctly now and motor direction in the right dirtection everything is perfect now! all i had to do was add a ! to the direction line got the y axis. Max for Y axis is set to 396, Homes to 0 in right rear corner!

My next question for you is how does the board learn or know where the print bed is located.. as in like the outter dimensions of the bed itself. Do we manually have to move the axis's to the corners of the bed to set min print and max print locations? If that makes sense..

Da Vinci 1.0 Azteeg x5 mini WiFi running Smoothieware, e3d v6.

123 (edited by carl_m1968 2018-09-09 00:56:08)

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

evanboothe wrote:

I got Y homing correctly now and motor direction in the right dirtection everything is perfect now! all i had to do was add a ! to the direction line got the y axis. Max for Y axis is set to 396, Homes to 0 in right rear corner!

My next question for you is how does the board learn or know where the print bed is located.. as in like the outter dimensions of the bed itself. Do we manually have to move the axis's to the corners of the bed to set min print and max print locations? If that makes sense..


That would be the max endstop position for each axis. You would move them using Repetier so you can see the coordinates of each and then put that into the firmware for each their max. Just make sure the you allow for the hold down screws that hold the glass to the bed.. You don't want the hotend running over them. The number in your original snippet from Frankenvinci should be pretty close. Make sure you put those same numbers whatever you use into Your host as well for the  bed dimensions.

I am getting ready to get an Azteeg X5 GT to replace my X3 Pro. So I am going to have to go through all this mess myself in a few weeks or so. The X5 GT is a dual extruder board and runs on smoothie as well.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

124

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

Ok so max would be the dimensions of the print bed. But what about min of the print bed.
Also I have a question for you. How am I going to set bed height to the correct print thickness height.

You’ll have to send some pictures of your new setup once you get it running

Da Vinci 1.0 Azteeg x5 mini WiFi running Smoothieware, e3d v6.

125

Re: Da Vinci 1.0 Azteeg x5 WiFi Build

Also that snippet from frankenvinci Idk where he got those numbers but mine are way differnt

Da Vinci 1.0 Azteeg x5 mini WiFi running Smoothieware, e3d v6.