Robot using already existing servo amplifiers
23 Jul 2014 06:52 #49039
by andypugh
I think you can take the sel0, sel1, sel2 signals out through parport pins to activate each axis in turn.
Replied by andypugh on topic Robot using already existing servo amplifiers
If you remember I also need a bit to open each channel.
I think you can take the sel0, sel1, sel2 signals out through parport pins to activate each axis in turn.
The following user(s) said Thank You: dimech
Please Log in or Create an account to join the conversation.
29 Jul 2014 14:03 #49242
by dimech
Replied by dimech on topic Robot using already existing servo amplifiers
Andy your idea with self-driving muxes was brilliant (it took me almost a month to figure it) and works
Now I think I have another problem!
I made all the trials, clocking (PIN 16 continuous clock) from the old cpu because it looked easier than load a realtime HAL comp.
But I noticed that this clock is 2 MHz i.e. 500ns. My jitter is approximately 14.000ns. I think I cannot generate this clock.
Now I think I have another problem!
I made all the trials, clocking (PIN 16 continuous clock) from the old cpu because it looked easier than load a realtime HAL comp.
But I noticed that this clock is 2 MHz i.e. 500ns. My jitter is approximately 14.000ns. I think I cannot generate this clock.
Please Log in or Create an account to join the conversation.
29 Jul 2014 15:20 #49245
by andypugh
No, that is certainly outside what can be generated with oftware and a parport.
Does it just need to be a continuous 2Mhz signal? There are many ways to generate that, one of the simplest (if not the cheapest) would be:
www.ebay.co.uk/itm/New-DDS-Function-Sign...e-Wave-/281225637298
(and that might be a useful device to have access to anyway)
You could build something from a quartz oscillator and support components, but that probably wouldn't end up being any cheaper in the end.
An alternative (more compact) might be:
www.ebay.co.uk/itm/Pro-Mini-Atmega328-5V...&hash=item3ce22fc3df
and the code here forum.arduino.cc/index.php/topic,65434.0.html
Replied by andypugh on topic Robot using already existing servo amplifiers
made all the trials, clocking (PIN 16 continuous clock) from the old cpu because it looked easier than load a realtime HAL comp.
But I noticed that this clock is 2 MHz i.e. 500ns. My jitter is approximately 14.000ns. I think I cannot generate this clock.
No, that is certainly outside what can be generated with oftware and a parport.
Does it just need to be a continuous 2Mhz signal? There are many ways to generate that, one of the simplest (if not the cheapest) would be:
www.ebay.co.uk/itm/New-DDS-Function-Sign...e-Wave-/281225637298
(and that might be a useful device to have access to anyway)
You could build something from a quartz oscillator and support components, but that probably wouldn't end up being any cheaper in the end.
An alternative (more compact) might be:
www.ebay.co.uk/itm/Pro-Mini-Atmega328-5V...&hash=item3ce22fc3df
and the code here forum.arduino.cc/index.php/topic,65434.0.html
The following user(s) said Thank You: dimech
Please Log in or Create an account to join the conversation.
28 Aug 2014 18:51 - 28 Aug 2014 19:02 #50391
by dimech
Replied by dimech on topic Robot using already existing servo amplifiers
Hello again!
Back to the lab after summer break!
I thought that grip would be an easy issue. Although seems more sophisticated
This is the schematic for the grip
GRIP
I also have a strobe, direction select pin and hand select pin. I think pin1 pin2 pin3 controls the speed of closing (or opening) and pin1 pin2.not the direction
I bought a second parport so I have got plenty of pins to work this section idividual
Every attempt, control it, by me failed. I need your wisdom
Back to the lab after summer break!
I thought that grip would be an easy issue. Although seems more sophisticated
This is the schematic for the grip
GRIP
I also have a strobe, direction select pin and hand select pin. I think pin1 pin2 pin3 controls the speed of closing (or opening) and pin1 pin2.not the direction
I bought a second parport so I have got plenty of pins to work this section idividual
Every attempt, control it, by me failed. I need your wisdom
Last edit: 28 Aug 2014 19:02 by dimech.
Please Log in or Create an account to join the conversation.
21 Sep 2014 08:13 #51390
by vre
Replied by vre on topic Robot using already existing servo amplifiers
An alternative method to generate clocks / other signals / logic circuits is a cheap cpld .
www.ebay.com/itm/5V-MAX-II-EPM240-CPLD-M...-Board-/181436990446
You can take the base 50mhz clock divide by 25 and get 2MHZ clock also can make a lot of other things.
These chips are programmed with logic schematic/verilog/vhdl.
www.ebay.com/itm/5V-MAX-II-EPM240-CPLD-M...-Board-/181436990446
You can take the base 50mhz clock divide by 25 and get 2MHZ clock also can make a lot of other things.
These chips are programmed with logic schematic/verilog/vhdl.
Please Log in or Create an account to join the conversation.
07 Nov 2014 00:08 #52881
by dimech
Replied by dimech on topic Robot using already existing servo amplifiers
After 9 moths i finally finish the project!
I would like to thank the entire LinxCNC community and especially Andypugh. You were the brain of all this effort I was the executor
Thank you again! I hope be useful as you someday for someone
I would like to thank the entire LinxCNC community and especially Andypugh. You were the brain of all this effort I was the executor
Thank you again! I hope be useful as you someday for someone
Please Log in or Create an account to join the conversation.
07 Nov 2014 00:38 #52882
by andypugh
Replied by andypugh on topic Robot using already existing servo amplifiers
Do you have a video? That would be fun to see.
Please Log in or Create an account to join the conversation.
Time to create page: 0.117 seconds