Re: [Emc-users] Performance/Features of LinuxCNC compared to Kuka KRC2
On 27 December 2012 01:12, Florian Rist fr...@fs.tum.de wrote: after we did some on-line control experiments using a LinuxCNC controlled 3+1axis router and a Kuka robot I wonder if I would be possible to get rid of the Kuka controller (hard- and software, servo amps, etc.) and replace it with a LinuxCNC based solution. You should be able to keep the servo amps. LinuxCNC is reasonably good at controlling robots, and does so in XYZABC cartesian space. See for exampls http://youtu.be/TLxwAX8G3oI -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Performance/Features of LinuxCNC compared to Kuka KRC2
2012/12/27 Florian Rist fr...@fs.tum.de: Hi, after we did some on-line control experiments using a LinuxCNC controlled 3+1axis router and a Kuka robot I wonder if I would be possible to get rid of the Kuka controller (hard- and software, servo amps, etc.) and replace it with a LinuxCNC based solution. You most certainly can get rid of Kuka controls and get LinuxCNC to control the robot, the question is - how much effort will it take. I agree with Andy about keeping servo amps. I actually think that You should keep as much hardware as You can, as long as You can get it to work with LinuxCNC. The option to throw away any piece of hardware is always available, but getting something useful back might not be that easy/cheap :) So I guess LinuxCNC could give me more controll at less cost. What do you think? LinuxCNC will certainly give You more freedom to adjust the controls. OTOH I have seen some interesting features in Kuka controller that are not yet available in LinuxCNC (more precisely, I do not know, how to do that in LinuxCNC), for example, for any point-to-point moves user can specify, if that move should be done in cartesian space or in joint space - in cartesian space the trajectory is straight line that connects both points, in joint space joints separately move to their new locations in one interpolated move - this ensures that each joint makes smallest required travel. AFAIK there is no simple way to tell LinuxCNC to do this, as this IMHO would require to change kinematics on fly. And process of teaching the robot the trajectory also has been worked out for those robots, while it would take some effort to make it somewhat equally easy in LinuxCNC. So I would say that LinuxCNC will give You more control on how things are done inside (and this does not guarantee that LinuxCNC will do it better, You simply will have more freedom to adjust different things), but there also are some features that are not yet in LinuxCNC and that might prove useful in certain situations. As usually, the answer to Your question is it depends... :) If I understand correctly, the Kuka controls are already working, so it is already there for no additional cost, while implementing LinuxCNC will cost You some materials (probably a PC, wires etc) and _lots_ of time, which could be spent doing other useful things. -- Viesturs If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] we make a top ten list of sorts
Slash geek put together a list of 10 specialty Linux distributions which includes LinuxCNC http://www.slashgeek.net/2012/12/27/10-single-purpose-linux-distributions/ It's nice to be noticed. Regards, Kent -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] New Raspberry Pi like Board with Integrated FPGA
Hey guys check this board out: Chumby Laptop Board http://www.pcworld.com/article/2020968/coming-soon-a-new-open-laptop-from-the-creator-of-chumby.html it has on board fpga?!? awaiting comments... -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Pid saturated, was: Servo error
2012/12/27 Peter C. Wallace p...@mesanet.com: Just thinking that noise on the HAL signals might cause flakey commutation initialization so might be a good thing to halscope Ok, here is a result: http://picpaste.com/hall-1xe8rtyI.png Seems totally fine for me. How can I check consistency of hall signals - if the signals do change every 60 degrees? I could try to finetune the feedback loop to smooth out encoder velocity and then try to scope hall signals again and see, but I would like to find out, if there is any other way to skin the cat. I also tried bldc cfg=qi to find out, if I can make it work without hall sensors. I tried the path suggested by Andy: 1) started up LinuxCNC 2) in HalShow ran: setp hm2_5i23.0.encoder.00.index-enable 1 3) watched counts and rawcounts pins 4) turned motor by hand until counts pin was reset to 0 and index-enable went false; 5) in HalShow I ran: setp hm2_5i23.0.3pwmgen.00.A-value 0.9 setp hm2_5i23.0.3pwmgen.00.B-value -0.9 setp hm2_5i23.0.3pwmgen.00.C-value -0.9 6) enabled pwmgen with F2; 7) wrote down counts pin value of -103 and saved as: setp bldc.0.encoder-offset -103 8) connected bldc.0.init and pwmgen-enable to estop loop so that motor is homed, before motion is enabled to avoid triggering following error; 9) for testing purposes I set PID parameters to following values: P=0.1 Deadband = 0.001 all the remaining values are set to 0 10) if I try to jog that joint, pid immediately gets saturated 11) if I comment out the encoder offset line like this: # setp bldc.0.encoder-offset -103 then I can jog that joint What puzzles me is that in step 11 bldc still manages to home rotor - init-done pin is true. -- Viesturs If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] New Raspberry Pi like Board with Integrated FPGA
On 12/27/2012 3:21 PM, John Holmes wrote: Hey guys check this board out: Chumby Laptop Board http://www.pcworld.com/article/2020968/coming-soon-a-new-open-laptop-from-the-creator-of-chumby.html it has on board fpga?!? awaiting comments... The first thing that struck me about Bunny's latest effort was the projected cost. I'll wait 'til this thing hits production to see what I really think of it. Besides, I'm just starting to exercise a BeagleBone. One step at a time, please. The current ARM climate reminds me of an old joke; in this case it would go: ARM systems are like buses, if you don't like one just wait. Another will be along in a few minutes:-) Trouble is, the churn makes it difficult to hang one's hat on a given product. Regards, Kent -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Pid saturated, was: Servo error
On Thu, 27 Dec 2012, Viesturs L?cis wrote: Date: Thu, 27 Dec 2012 23:36:11 +0200 From: [UTF-8] Viesturs L?cis viesturs.la...@gmail.com Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Pid saturated, was: Servo error 2012/12/27 Peter C. Wallace p...@mesanet.com: Just thinking that noise on the HAL signals might cause flakey commutation initialization so might be a good thing to halscope Ok, here is a result: http://picpaste.com/hall-1xe8rtyI.png Seems totally fine for me. How can I check consistency of hall signals - if the signals do change every 60 degrees? I could try to finetune the feedback loop to smooth out encoder velocity and then try to scope hall signals again and see, but I would like to find out, if there is any other way to skin the cat. I also tried bldc cfg=qi to find out, if I can make it work without hall sensors. I tried the path suggested by Andy: 1) started up LinuxCNC 2) in HalShow ran: setp hm2_5i23.0.encoder.00.index-enable 1 3) watched counts and rawcounts pins 4) turned motor by hand until counts pin was reset to 0 and index-enable went false; 5) in HalShow I ran: setp hm2_5i23.0.3pwmgen.00.A-value 0.9 setp hm2_5i23.0.3pwmgen.00.B-value -0.9 setp hm2_5i23.0.3pwmgen.00.C-value -0.9 This is very unlikely to do what you think it will (assuming default +-1.0 PWM ranges this will be 90% of full scale voltage so the 7I39 will current limit and you will not get anywhere near the current ratios you expect) I would try plain old Q mode (with maybe an init value of .1 or .2) 6) enabled pwmgen with F2; 7) wrote down counts pin value of -103 and saved as: setp bldc.0.encoder-offset -103 8) connected bldc.0.init and pwmgen-enable to estop loop so that motor is homed, before motion is enabled to avoid triggering following error; 9) for testing purposes I set PID parameters to following values: P=0.1 Deadband = 0.001 all the remaining values are set to 0 10) if I try to jog that joint, pid immediately gets saturated 11) if I comment out the encoder offset line like this: # setp bldc.0.encoder-offset -103 then I can jog that joint What puzzles me is that in step 11 bldc still manages to home rotor - init-done pin is true. -- Viesturs If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your ()_() signature to help him gain world domination. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Performance/Features of LinuxCNC compared to Kuka KRC2
Hi Viesturs I agree with Andy about keeping servo amps. The problem is, that these amps are from Kuka and linked to the controller by some kind of bus system. At present I do not know anything about this bus. I actually think that You should keep as much hardware as You can, as long as You can get it to work with LinuxCNC. Sure, on the other hand replacing all the electronics would enable me to by a used plain robot, these are cheap, and add the new LinuxCNC controller. LinuxCNC will certainly give You more freedom to adjust the controls. OTOH I have seen some interesting features in Kuka controller that are not yet available in LinuxCNC (more precisely, I do not know, how to do that in LinuxCNC), for example, for any point-to-point moves user can specify, if that move should be done in cartesian space or in joint space - in cartesian space the trajectory is straight line that connects both points, in joint space joints separately move to their new locations in one interpolated move - this ensures that each joint makes smallest required travel. Indeed that would be difficult, but motion in the Cartesian space (called linear movements in the Kuka Robot control Language (KRL)) would be enough. What about the powerful base coordinate system in KRL? I guess G68 and G92 could be used to partly mimic this feature. But I don't see a way to work in a tool tip coordinate system, neither does G42 provide the possibilities to specify an offset in xyzABC. So this would probably have to be implemented via a custom M command. And process of teaching the robot the trajectory also has been worked out for those robots, while it would take some effort to make it somewhat equally easy in LinuxCNC. Hmm, I don't want to teach moments, but I'd be handy to be able to teach the work piece offset, by teaching three points to specify orientation and location of the XY plane. What LinuxCNC would be able to do out of the box is tool radius compensation, though I don't real know how well this is implements for 5 DOF movements. KRL can't do it at all. So I would say that LinuxCNC will give You more control on how things are done inside (and this does not guarantee that LinuxCNC will do it better, You simply will have more freedom to adjust different things), What I'm mostly interested would be a simple and fast way to control the motion of the robot from an external system by streaming location and orientation data at the speed of the main control loop and/or at the speed of the servo control loop. Almost all or all motion planing an tool path interpolation is than done external only the kinematic would be handled by LinuxCNC. It's possible to get this (at cycle times of around 12ms or from 1-100ms) but both solution would require replacing our old KRC2 controller. So it would be an investment of about 2 EUR or more. If I understand correctly, the Kuka controls are already working, so it is already there for no additional cost, while implementing LinuxCNC will cost You some materials (probably a PC, wires etc) and _lots_ of time, which could be spent doing other useful things. Yes, the current set-up (original Kuka KRC2 controller, slightly modified: more RAM, SSD, faster CPU, KVM extender, KVM over IP (best investment ever as it alowes copy/past to and from the Kuka controller and recording screen shots and videos)) works. My problem is that I would need faster communication to the robots motion planer to get down delays and to speed up movements. If I buy it form Kuka its 20k and up, we don't have that money, but I also don't have a lot of free time. Hmm. It would be so easy if detailed in depth information the Kuka controller and an SDK would be available. The main motion controller is running in VxWorks environment, so in theory I could write a simple program receiving my data stream via UDP and feed it into the motion controller. Unfortunately the VxWorks installed does not include any network interface drivers (network trafic is routed to VxWorks by the Windows NT embedded running in the idle thread of VxWorks) and I was not able to find information on the interfaces of the VxWorks motion control program. See you Florian -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] reverse of a max232?
Greetings; I have now spent several hours doing google searches, looking for a chip that would be the reverse of a max232, so I can power this ttl based sparkfun thing from what is available from the serial port. There appear to be hundreds of variations on how to get from 5 or 3.3 volt powered motherboards to a serial ports voltages, but nothing to reverse that short of find an old ball mouse at a flea market and stealing the chip out of it. Unforch, I have attempted to look some of those chips up if they were marked, with zero luck. Most of that stuff was never a JEDEC registered chip design it seems. Am I going to need to invent what should be just another wheel? Any chance there is a ttl level serial port on a header someplace on the D525MW boards? Cheers, Gene -- There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) My web page: http://coyoteden.dyndns-free.com:85/gene is up! Always do right. This will gratify some people and astonish the rest. -- Mark Twain I was taught to respect my elders, but its getting harder and harder to find any... -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] reverse of a max232?
On 12/27/2012 5:50 PM, Gene Heskett wrote: Greetings; I have now spent several hours doing google searches, looking for a chip that would be the reverse of a max232, so I can power this ttl based sparkfun thing from what is available from the serial port. There appear to be hundreds of variations on how to get from 5 or 3.3 volt powered motherboards to a serial ports voltages, but nothing to reverse that short of find an old ball mouse at a flea market and stealing the chip out of it. Unforch, I have attempted to look some of those chips up if they were marked, with zero luck. Most of that stuff was never a JEDEC registered chip design it seems. Am I going to need to invent what should be just another wheel? Any chance there is a ttl level serial port on a header someplace on the D525MW boards? Cheers, Gene Sorry, Gene, I've lost the bubble. What is the Sparkfun thingy you are working with? I'm looking at their website but your description over the last few messages don't get me to a specific product. Since the max232 is a bidirectional device, I would have thought it would suit what I thought you are trying to do. So maybe I don't understand what you are trying to do. Regards, Kent -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] reverse of a max232?
If you're talking about interfacing RS-232 to TTL levels, then any of the MAX232 style devices will do it -- but generating operating power from RS232 is genera bad idea. The drivers aren't designed to provide much current, only several tens of ma's. On Thu, Dec 27, 2012 at 3:11 PM, Kent A. Reed kentallanr...@gmail.comwrote: On 12/27/2012 5:50 PM, Gene Heskett wrote: Greetings; I have now spent several hours doing google searches, looking for a chip that would be the reverse of a max232, so I can power this ttl based sparkfun thing from what is available from the serial port. There appear to be hundreds of variations on how to get from 5 or 3.3 volt powered motherboards to a serial ports voltages, but nothing to reverse that short of find an old ball mouse at a flea market and stealing the chip out of it. Unforch, I have attempted to look some of those chips up if they were marked, with zero luck. Most of that stuff was never a JEDEC registered chip design it seems. Am I going to need to invent what should be just another wheel? Any chance there is a ttl level serial port on a header someplace on the D525MW boards? Cheers, Gene Sorry, Gene, I've lost the bubble. What is the Sparkfun thingy you are working with? I'm looking at their website but your description over the last few messages don't get me to a specific product. Since the max232 is a bidirectional device, I would have thought it would suit what I thought you are trying to do. So maybe I don't understand what you are trying to do. Regards, Kent -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] reverse of a max232?
On Thursday 27 December 2012 18:12:18 Kent A. Reed did opine: On 12/27/2012 5:50 PM, Gene Heskett wrote: Greetings; I have now spent several hours doing google searches, looking for a chip that would be the reverse of a max232, so I can power this ttl based sparkfun thing from what is available from the serial port. There appear to be hundreds of variations on how to get from 5 or 3.3 volt powered motherboards to a serial ports voltages, but nothing to reverse that short of find an old ball mouse at a flea market and stealing the chip out of it. Unforch, I have attempted to look some of those chips up if they were marked, with zero luck. Most of that stuff was never a JEDEC registered chip design it seems. Am I going to need to invent what should be just another wheel? Any chance there is a ttl level serial port on a header someplace on the D525MW boards? Cheers, Gene Sorry, Gene, I've lost the bubble. What is the Sparkfun thingy you are working with? I'm looking at their website but your description over the last few messages don't get me to a specific product. Since the max232 is a bidirectional device, I would have thought it would suit what I thought you are trying to do. So maybe I don't understand what you are trying to do. Regards, Kent It is bi-di, but its power sources are all universally either 3.3 or 5 volt. I need the reverse to work so I can power a ttl circuit from the nominal 24 volt swings offered by the serial port, using them as the supply. The Sparkfun gizmo (ACS712 on their pages) is a hall effect driven ammeter, which I was going to broadband so as to be able to see, and trip, on the first excursion above 4 or 5 amps, tripping quicker than clearing a $.90 a copy 3.15 amp FB fuse. Or, do as I do on the mills motor, I have a 1.5 amp full scale ammeter on it, with a full wave bridge in series with the motor to make DC for the meter. The mill is about to stall the spindle when the current gets above about 1.25 amps. Sparkfun put an op-amp on the chip output to make it more sensitive, but for my purposes, it should have been a comparator. Minor detail but does complicate its use as an over current trip sensor. I did, when I built the driver box, dedicate 2 inputs for homing switches, but one got used for the spindle encoder, so I guess I'd better give up the other too and use it for this. Then I really am truly out of inputs as I am still considering a jig to drop on the ways and use G38.2 to zero each new tool I mount, so that G38.2 signal is not open for negotiation, it stays. That strikes me at this point as being more useful than homing switches on a lathe anyway. This I can probably rig up in the next day or so, dependent on the weather. The auto-zero jig will take a bit of carving on the mill, which is why I asked if anyone knew the included angle of the front way on the mini lathes bed one day last week. I presume no one knows for sure as no one replied. Thanks Kent, I'll get it sorted this way I believe. Cheers, Gene -- There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) My web page: http://coyoteden.dyndns-free.com:85/gene is up! You have all eternity to be cautious in when you're dead. -- Lois Platford I was taught to respect my elders, but its getting harder and harder to find any... -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] reverse of a max232?
On Thursday 27 December 2012 18:49:49 Joseph Chiu did opine: If you're talking about interfacing RS-232 to TTL levels, then any of the MAX232 style devices will do it -- but generating operating power from RS232 is genera bad idea. The drivers aren't designed to provide much current, only several tens of ma's. The hall device needs 5 to 8 volts abs max, 10 to 13 ma. No clue how much the op-amp draws, its a 5 legged tsop chip about 20 thou thick and about .1 square. If it can draw 10 ma, I'd say its trying to pull down something akin a dead short to vcc. So I think what I will do is use up the remaining input I originally dedicated to a home switch, a dubious function on a lathe anyway, and which has never been a big enough problem to make me wire it up. Thanks Joseph. Cheers, Gene -- There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) My web page: http://coyoteden.dyndns-free.com:85/gene is up! Limited delivery area. I was taught to respect my elders, but its getting harder and harder to find any... -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Pid saturated, was: Servo error
On 27 December 2012 21:36, Viesturs Lācis viesturs.la...@gmail.com wrote: 7) wrote down counts pin value of -103 and saved as: 10) if I try to jog that joint, pid immediately gets saturated 11) if I comment out the encoder offset line like this: # setp bldc.0.encoder-offset -103 then I can jog that joint It is likely that the encoder-offset needs to be the negative of the counts read, ie you need an encoder-offset of 103 so that the motor zero looks like encoder zero. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] reverse of a max232?
On 27 December 2012 22:50, Gene Heskett ghesk...@wdtv.com wrote: There appear to be hundreds of variations on how to get from 5 or 3.3 volt powered motherboards to a serial ports voltages, but nothing to reverse that A regulator? -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] reverse of a max232?
Hi Gene, somehow I don't relay understand your problem, but... Sparkfun put an op-amp on the chip output to make it more sensitive, but for my purposes, it should have been a comparator. You can easily rewire the existing circuit to be a comparator. See http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Sensors/Current/ACS712%20Low%20Current%20Sensor%20Board%20v14.pdf and break the connection between the output and R1 and C1. Or to get a comparator with a adjustable hysteresis additional rewire R3 to get an adjustable resistor between the output and the positive input of the amplifier. The current the circuit draws highly depends on the impedance of the input you connect the output to. The OPA344 its self only draw 150 µA (max. 250) but can deliver up to 15 mA (max. 30 at high temperatures). The ACS713 draws 10 to 13 mA with open output. So you end up with 13 mA min. to 30 mA (in worst case around 45) depending on the load at the output. See you Flo -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] reverse of a max232?
Hi Andy A regulator? But it must be a high efficiency switching regulator and I'd use Schottky diode bridge rectifier as I'd guess you can't assume to be able to draw more than 20 mA from the RS232C (I assume)signal lines. cu Flo -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] reverse of a max232?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/27/2012 4:50 PM, Gene Heskett wrote: Greetings; I have now spent several hours doing google searches, looking for a chip that would be the reverse of a max232, so I can power this ttl based sparkfun thing from what is available from the serial port. There appear to be hundreds of variations on how to get from 5 or 3.3 volt powered motherboards to a serial ports voltages, but nothing to reverse that short of find an old ball mouse at a flea market and stealing the chip out of it. There is no special chip for this other than standard voltage regulators (or in many cases, a simple diode). In the old serial mouse days, the mouse driver would set some of the serial port handshaking pins to known steady-state levels and use those lines as a (low-current) power source to drive the serial mouse's LEDs and micro-controller. There's a reasonable write-up on the basics at this website: http://www.epanorama.net/circuits/rspower.html ...but there are lots of different ways to do this, depending on exactly what you need to power and how much current it's drawing. - -- Charles Steinkuehler char...@steinkuehler.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlDc8KkACgkQLywbqEHdNFw97wCfZBvlzP1prFVS6ritzzs1fkuV JcEAoMosTwiQ4lGF/W6zb0qWkqj1Z+gQ =fWdl -END PGP SIGNATURE- -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] reverse of a max232?
On Thursday 27 December 2012 20:31:12 andy pugh did opine: On 27 December 2012 22:50, Gene Heskett ghesk...@wdtv.com wrote: There appear to be hundreds of variations on how to get from 5 or 3.3 volt powered motherboards to a serial ports voltages, but nothing to reverse that A regulator? A buck switcher would be a lot more efficient. Cheers, Gene -- There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) My web page: http://coyoteden.dyndns-free.com:85/gene is up! Support the Girl Scouts! (Today's Brownie is tomorrow's Cookie!) I was taught to respect my elders, but its getting harder and harder to find any... -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] New Raspberry Pi like Board with Integrated FPGA
On Thu, Dec 27, 2012 at 4:47 PM, Kent A. Reed kentallanr...@gmail.comwrote: The current ARM climate reminds me of an old joke; in this case it would go: ARM systems are like buses, if you don't like one just wait. Another will be along in a few minutes:-) Trouble is, the churn makes it difficult to hang one's hat on a given product. I am maintaining a batch of Beagleboard systems, and this issue really makes me wonder how much effort I should put into it. The Beagleboard email list seems dominated by the Beaglebone, and if you are looking for a stable kernel then nobody is interested in talking to you. Hopefully this will change. Eric -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] reverse of a max232?
On Thursday 27 December 2012 20:34:35 Florian Rist did opine: Hi Gene, somehow I don't relay understand your problem, but... Sparkfun put an op-amp on the chip output to make it more sensitive, but for my purposes, it should have been a comparator. You can easily rewire the existing circuit to be a comparator. See http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Sensors/Current/ACS712%20 Low%20Current%20Sensor%20Board%20v14.pdf Have you looked at that board scaled? I almost need a magnifying glass to find it in the box they shipped it in. The whole board is half a square inch maybe some small change. and break the connection between the output and R1 and C1. That's likely the easiest, thanks. Or to get a comparator with a adjustable hysteresis additional rewire R3 to get an adjustable resistor between the output and the positive input of the amplifier. The current the circuit draws highly depends on the impedance of the input you connect the output to. The OPA344 its self only draw 150 µA (max. 250) but can deliver up to 15 mA (max. 30 at high temperatures). The ACS713 draws 10 to 13 mA with open output. So you end up with 13 mA min. to 30 mA (in worst case around 45) depending on the load at the output. Good to know. See you Flo Thanks Florian. Cheers, Gene -- There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) My web page: http://coyoteden.dyndns-free.com:85/gene is up! Support the Girl Scouts! (Today's Brownie is tomorrow's Cookie!) I was taught to respect my elders, but its getting harder and harder to find any... -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] reverse of a max232?
On Thursday 27 December 2012 20:44:26 Charles Steinkuehler did opine: On 12/27/2012 4:50 PM, Gene Heskett wrote: Greetings; I have now spent several hours doing google searches, looking for a chip that would be the reverse of a max232, so I can power this ttl based sparkfun thing from what is available from the serial port. There appear to be hundreds of variations on how to get from 5 or 3.3 volt powered motherboards to a serial ports voltages, but nothing to reverse that short of find an old ball mouse at a flea market and stealing the chip out of it. There is no special chip for this other than standard voltage regulators (or in many cases, a simple diode). In the old serial mouse days, the mouse driver would set some of the serial port handshaking pins to known steady-state levels and use those lines as a (low-current) power source to drive the serial mouse's LEDs and micro-controller. There's a reasonable write-up on the basics at this website: http://www.epanorama.net/circuits/rspower.html Thanks Charles, bookmarked FFR. ...but there are lots of different ways to do this, depending on exactly what you need to power and how much current it's drawing. Cheers, Gene -- There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) My web page: http://coyoteden.dyndns-free.com:85/gene is up! It's spelled Linux, but it's pronounced `Not Windows' It's spelled Windows, but it's pronounced `Ai!' -- Shannon Hendrix I was taught to respect my elders, but its getting harder and harder to find any... -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Help, out of inputs on my parport
Gene, I know you wanted to derive power from an RS232 port, but why not do a port steal from a USB port. Plenty of ma at 5vdc regulated. Also, there are lots of TTL to USB and RS232 converters already assembled on Ebay - very cheap. Dave On 12/27/2012 12:01 AM, Gene Heskett wrote: On Wednesday 26 December 2012 23:50:52 andy pugh did opine: On 26 December 2012 22:45, Gene Heskettghesk...@wdtv.com wrote: I am out of input pins on the cnc4pc C1G. How about using the serial port status pins? http://www.linuxcnc.org/docs/html/man/man9/serport.9.html Hadn't even crossed my mind Andy, thanks. From the manpage, looks like that could give me 3 more .in pins. Next of course, that would bypass the opto isolation. I wonder if the sparkfun thing could be like an old serial mouse, which was powered by the logic levels of the port? Its marked for ground 5 volt supplies, but it came with zero docs, as in nada, zip, none. Time to do some research on the chip makers site I guess. The sparkfun site itself is no help. Cheers, Gene -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Help, out of inputs on my parport
On Thursday 27 December 2012 22:00:41 Dave did opine: Gene, I know you wanted to derive power from an RS232 port, but why not do a port steal from a USB port. Plenty of ma at 5vdc regulated. Also, there are lots of TTL to USB and RS232 converters already assembled on Ebay - very cheap. Dave Cheap until you check the shipping... :( I have now arrived at the conclusion that the pin I reserved for one of the homing switches is of far less utility than this, so since I never wired it up anyway, it will get re-purposed for this. But I need some slightly warmer weather before embarking on that project. Thanks Dave. Cheers, Gene -- There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) My web page: http://coyoteden.dyndns-free.com:85/gene is up! We can defeat gravity. The problem is the paperwork involved. I was taught to respect my elders, but its getting harder and harder to find any... -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Help, out of inputs on my parport
On Friday 28 December 2012 02:32:37 Eric Keller did opine: On Thu, Dec 27, 2012 at 10:05 PM, Gene Heskett ghesk...@wdtv.com wrote: On Thursday 27 December 2012 22:00:41 Dave did opine: Also, there are lots of TTL to USB and RS232 converters already assembled on Ebay - very cheap. Cheap until you check the shipping... :( I bought 10 for $20 shipped, I don't know how much cheaper you want. Granted, they came from China, so what? Eric Mainly the 3 weeks to a month it takes from mainland china for delivery. But since I've decided to sacrifice the one pin I was saving for a home pin, that is the path I'll take. Cheers, Gene -- There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) My web page: http://coyoteden.dyndns-free.com:85/gene is up! Who will take care of the world after you're gone? I was taught to respect my elders, but its getting harder and harder to find any... -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Help, out of inputs on my parport
On Friday 28 December 2012 02:35:12 Roland Jollivet did opine: On 28 December 2012 05:05, Gene Heskett ghesk...@wdtv.com wrote: On Thursday 27 December 2012 22:00:41 Dave did opine: Gene, I know you wanted to derive power from an RS232 port, but why not do a port steal from a USB port. Plenty of ma at 5vdc regulated. Also, there are lots of TTL to USB and RS232 converters already assembled on Ebay - very cheap. Dave Cheap until you check the shipping... :( I have now arrived at the conclusion that the pin I reserved for one of the homing switches is of far less utility than this, so since I never wired it up anyway, it will get re-purposed for this. But I need some slightly warmer weather before embarking on that project. Thanks Dave. Cheers, Gene -- Why don't you just open the case and bring a 5V wire out from the PSU harness? If it's a long stretch, then use the 12V line and put a 7805 at your end. Roland I already have locally regulated 5 volts available on my terminal strips, so the 48 run to the device is not a huge problem. Thanks Roland. Cheers, Gene -- There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) My web page: http://coyoteden.dyndns-free.com:85/gene is up! Delta: We never make the same mistake three times. -- David Letterman I was taught to respect my elders, but its getting harder and harder to find any... -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users