By continuing to use this site, you agree to our use of cookies. Find out more
Forum sponsored by:
Forum sponsored by Forum House Ad Zone

Electronic Lead Screw Project

The aim of this thread is to detail the build and give help where needed

All Topics | Latest Posts

Search for:  in Thread Title in  
Phil Grant08/02/2020 20:07:55
107 forum posts
21 photos

Dias,

You're Welcome.

Answers o your questions: -

1. I'm not sure, other than power everything up on the bench I've not yet had it connected to my lathe properly, I would suggest a visit to Clough42s GIT page and ask the question there.

2. sad I haven't yet see answer No. 1. I was thinking of using a Dymo type printer and varnish over the top of the label.

3. I also have a NEMA23 double shaft I bought from steppersonline, I also bought a DM542T controller Digital Controller I believe they are smoother than the cheaper Chinese non DSP controllers.

I hope that helps, I know it's probably the answers you were hoping for.

Phil

dcosta15/02/2020 18:19:11
496 forum posts
207 photos

Hi Phil,
I have already assembled the cover you offered on the box I bought from England. It fits well but only after cutting the small curved edge at the corners. My box is therefore different from yours. Interestingly, the day after the assembly of the lid you offered me, the box ordered from China arrived and I could verify that the lid is exactly the same as the one I bought here in Portugal.
So, I have this part of the project almost ready.

I didn't find on the WWW anyone who sold the driver DM542T to Portugal and that's why I bought the DM542. Whatever the differences, I'm not sure, but I read that basically, for my purpose, they are the same. Later, eventually, when the COVID-19 crisis is over, I can buy the DM542T.
I want to go ahead and make the connections to the PCB interface you made.
I now need help with the following: The interface you manufactured, has connections that are visually different from those of the Clough interface and also the driver that I have has different connection point designations than the driver that Clough uses. So I can't use the diagram he makes available to support the connections.
Could you please show me the point-to-point connections between the interface board and the DM542T driver?

Can you tell me, please, what does ALM mean? I looked in acronym finder but I didn't find an answer that fit.

Thanks in advance
Dias Costa


 
Limpet15/02/2020 18:25:31
136 forum posts
5 photos

Hi Dias

I can answer one of your questions ALM would be for Alarm both + and -

Lionel

Phil Grant15/02/2020 20:53:27
107 forum posts
21 photos

Hi Dias,

There is a pinout diagram in the other thread and a link to a document I put together tho show how it is assembled, does this pinout help?

screw terminal connections.jpg

As far as I know the ALM (Alarm) is a signal that comes from t and if you use a stepper it's not used anyway.he servo controller when there is something wrong like missed steps etc. the last I read it wasn't implemented yet.

I hope that helps.

Phil

dcosta15/02/2020 21:46:48
496 forum posts
207 photos

Hello Limpet.

I really appreciate your help.
For someone like me who is a "turnip" in electronics and does not have English as his native language, it is sometimes difficult to discover the meaning of some words, especially if contained in idiomatic expressions, let alone acronyms!

Best regards
Dias Costa

dcosta15/02/2020 21:58:06
496 forum posts
207 photos

Hi Phil,

I really appreciate your quick help.
Please consider the wiring diagram for the DM542 interface driver, ***HERE*** .
Which interface pin do I connect to VCC? It seems to me that it should be the positive 5V output. Am I right?
I assume that Pulse should be connected to Step, Direction should be connected to DIR and Enable should be connected to EN.
What about the negative pole? Can I understand that it is passed by each of the STEP, DIR and EN? And so, in addition to ALM, do I also ignore GND?

Thanks and regards
Dias Costa

Roy Vaughn15/02/2020 22:33:30
70 forum posts
4 photos

Dias, connect +5V to the + terminals of each signal as shown in the wiring diagram. Yes, ignore GND from the interface board. Hope this helps. Roy

Phil Grant15/02/2020 22:50:20
107 forum posts
21 photos
Posted by dcosta on 15/02/2020 21:58:06:

Hi Phil,

I really appreciate your quick help.
Please consider the wiring diagram for the DM542 interface driver, ***HERE*** .
Which interface pin do I connect to VCC? It seems to me that it should be the positive 5V output. Am I right?
I assume that Pulse should be connected to Step, Direction should be connected to DIR and Enable should be connected to EN.
What about the negative pole? Can I understand that it is passed by each of the STEP, DIR and EN? And so, in addition to ALM, do I also ignore GND?

Thanks and regards
Dias Costa

Dias,

As Roy says, VCC == +5V, the others are as you said. Clough42 recommends that the power for the stepper driver and the electronics remain seperate so do not connect the grounds together, the 5V and GND from the PCB should only be used to power the optocouplers in the driver.

Phil

dcosta15/02/2020 23:22:30
496 forum posts
207 photos

Hi Phil,
Hi Limpet,

I really appreciate your quick help.
There was a "disgrace" ...
Is there a way to test the integrity of the TI LaunchXL F280049C?
I think I just burned one more, the second.
I connected the DM542 driver to the interface, as suggested, and when I powered on the interface, the display showed nothing. The DM542 driver was not connected.
As it is the second I burn in similar circumstances, I must have made some mistake in the interface.
The two serial ports that the "Code Composer Studio" software uses to communicate with the F280049C are no longer present in device management as they did when I burned the first board.

Thanks and regards
Dias Costa

Edited By dcosta on 15/02/2020 23:25:06

dcosta16/02/2020 00:31:26
496 forum posts
207 photos

Hi Phil,
Hi Limpet,

I'm sorry, it was a false alarm. I rushed in alarm without having tested what was within my reach and knowing how.
I did the computer reset and, in the end, the two serial ports were present and it was once again possible via the "Code Composer Studio" and again flash the program for the TI LaunchXL F280049C.

I also discovered that there was a broken cable that connects the LED & Key Display to the interface. Nasty coincidence!
I soldered it again and, finally, everything is working fine.

Tomorrow I will test the connection again.

Best Regards
Dias Costa

Phil Grant16/02/2020 08:34:06
107 forum posts
21 photos
Posted by dcosta on 16/02/2020 00:31:26:

Hi Phil,
Hi Limpet,

I'm sorry, it was a false alarm. I rushed in alarm without having tested what was within my reach and knowing how.
I did the computer reset and, in the end, the two serial ports were present and it was once again possible via the "Code Composer Studio" and again flash the program for the TI LaunchXL F280049C.

I also discovered that there was a broken cable that connects the LED & Key Display to the interface. Nasty coincidence!
I soldered it again and, finally, everything is working fine.

Tomorrow I will test the connection again.

Best Regards
Dias Costa

Phew! that's good news, glad you sorted it out.

dcosta23/02/2020 21:08:26
496 forum posts
207 photos

Hi Phil and others,

I finally managed to make an assembly of the system that works. And this time I didn't "burn" any components.
I used an 8-wire network cable to communicate between the control box and the interface board. I also used a network cable between the interface board and the DM542 driver.
As I said before, I used the DM542 driver and the motor spins when I move the rotary encoder.
I am currently using version 1.0.03 of the software.
During tests the stepper motor is stopped most of the time and, perhaps because of that, it warmed up a lot and quickly, and I tried to select 2.84A peak in the driver. Now it seems to heat up less and less quickly.

Questions:
1 - Should I follow any specific sequence when turning the TI LaunchXL F280049C and DM542 driver on and off? Is there any risk of turning on / off one before the other?
2 - The power supply for the driver / motor delivers 24V and goes up to 6.5A of current and the motor supports up to 2.5A. Should I be careful about the relationship between the power supply and the driver that only supports up to 4.5A even though it has over-voltage and over-current protections?
Any recommendations, please?

best regards
Dias Costa

Phil Grant23/02/2020 21:28:47
107 forum posts
21 photos

Good news Dias,

As they are isolated with opto isolators they are electrically independant of each other having said that I would always power up the micro-controller side first so if there was any spurious signals prior to being in a steady state the should drive the stepper motor, not that there should be any spurious signals!

I'm my driver there is a jumper to set the stationary current to less than the drive current, does yours have one?

Phil

dcosta25/02/2020 00:21:15
496 forum posts
207 photos

Hi Phil,

Thanks for your help.
The DM542 driver also has the option to automatically limit the current when the stepper motor is not running.
But to activate this option, it is necessary to switch on / switch off / switch on the SW4 and the effect on lowering the heat of stepper motor is not noticeable.
About an hour after being turned on it is unbearably hot!
I still don't know (I haven't researched enough...) if there will be any aspect of the driver configuration that can be changed to lower the engine temperature.

best regards
Dias Costa

Phil Grant25/02/2020 06:26:54
107 forum posts
21 photos

Hi Dias,

I'm at a loss really, on my driver the SW4 halves the current in idle mode, it only needs to be switched once and left, this is from the instruction manual

"Standstill Current Setting SW4 is used for this purpose. OFF meaning that the standstill current is set to be half of the selected dynamic current, and ON meaning that standstill current is set to be the same as the selected dynamic current. The current automatically reduced to 50% of the selected dynamic current 0.4 second after the last pulse."

Maybe you need to get the DM542T

Phil

Rockingdodge25/02/2020 09:43:11
avatar
396 forum posts
111 photos

Hi Dias,

The off on off within 1 second is for auto configuration and is done with motor connected, that tests the motor to make optimum setting, after that sw4 should be set to off for half current to work.

Regards

Roger

Johnboy2525/02/2020 14:31:15
avatar
260 forum posts
3 photos

Has any else made the mistake I made with led & key module? I measured the pitch of the led’s & tactile switches a couple of times and convinced myself they were on an 8 mm pitch! - Wrong! The switch are on the ‘industry’ standard grid of 0.1” (2.54mm) so the pitch for the switches & led’s came out to be 0.3” I only noticed this after I had milled the box lid in what I thought was quite an expensive little box! Should have know better - still ‘can’t win ‘em all’!

I’ve added the software mod from JonWoellhaf on github for the push button fast scroll mod - works great. A useful hack which I think improves functionality. The original hardware worked first time out of the ‘box’ after head some scratching with the TI ccs software. 👍Now to procure synchro belts & pulley’s to fit onto my metric Boxford 4.1/2” lathe. This is a great project it’s kept my attention from the first few YouTube videos. Well done James at Clough42!

John

Edited By Johnboy25 on 25/02/2020 14:32:52

Edited By Johnboy25 on 25/02/2020 14:35:59

dcosta25/02/2020 16:22:02
496 forum posts
207 photos

Hi Phil and others,

Thank you for your help.
Maybe the problem is not with the DM542 driver ...
The stepper motor I have been using was purchased at ArcEuroTrade several years ago and I must have missed the specifications as I cannot find them.
It was used, for a short time, until recently in a test application with the TB6560 driver and worked well for hours without overheating as much as it does now. The difference is that he was not idle that long.
It has eight wires and the connections that existed for the test and I kept for the DM542 driver, now, are the following:
YELLOW and BLUE pair connected to each other, PURPLE and BROWN pair connected to each other;
I connected the remaining four wires to the driver as follows:
the WHITE wire to A + and the GREEN wire to A-
the RED wire to B * and the BLACK wire to B-
The power supply supports 24V, 4.5A and is connected like this:
positive to the VCC pin and negative to the GND pin.
From what I remember the configuration of the connections is BIPOLAR.
Would another configuration of the connections from the stepper motor to the diver be better?

The only information I know about the stepper motor comes from the ArcEuroTrade invoice:
Item Code: 160-010-00400
Description: 220Ncm - 10mm Shaft - Hybrid Stepper Motor
More: it has a double axis, 115mm in length.

I would be grateful if any of the participants who have documentation for this stepper motor could share it with me.

The DM542 driver also has the functionality to reduce the current when the motor is stopped and also runs automatically, but only after being manually activated with the on / off / on maneuver.

best regards
Dias Costa

dcosta25/02/2020 16:25:28
496 forum posts
207 photos

Hi Roger,

Thank you for your help.
Yes, this is writen in the documentation. But, activating the option, I didn't feel that the temperature of the stepper motor would rise less.

Are you, by any chance, using the same DM542 driver?
Can you please tell me which stepper motor you are using?

See if you can please the previous message addressed to Phil.

best regards
Dias Costa

Phil Grant25/02/2020 16:30:27
107 forum posts
21 photos

Dias,

I'm at work at the moment so I can't check but what I can say is that with eight wires you have the opportunity to wire the four coils in series or parallel, maybe you've got them wired in parallel which will halve the resistance and double the current?

Use a multimeter to identify the coils and their connections and wire them in series by checking the resistance maybe this is your issue..... or not.

I just realised you've got them wired in series but just check the resistances to make sure the connections are correct.

Phil

Edited By Phil Grant on 25/02/2020 16:35:42

All Topics | Latest Posts

Please login to post a reply.

Magazine Locator

Want the latest issue of Model Engineer or Model Engineers' Workshop? Use our magazine locator links to find your nearest stockist!

Find Model Engineer & Model Engineers' Workshop

Sign up to our Newsletter

Sign up to our newsletter and get a free digital issue.

You can unsubscribe at anytime. View our privacy policy at www.mortons.co.uk/privacy

Latest Forum Posts
Support Our Partners
cowells
Sarik
MERIDIENNE EXHIBITIONS LTD
Subscription Offer

Latest "For Sale" Ads
Latest "Wanted" Ads
Get In Touch!

Do you want to contact the Model Engineer and Model Engineers' Workshop team?

You can contact us by phone, mail or email about the magazines including becoming a contributor, submitting reader's letters or making queries about articles. You can also get in touch about this website, advertising or other general issues.

Click THIS LINK for full contact details.

For subscription issues please see THIS LINK.

Digital Back Issues

Social Media online

'Like' us on Facebook
Follow us on Facebook

Follow us on Twitter
 Twitter Logo

Pin us on Pinterest

 

Donate

donate