Re: [Emc-users] Arduino Communication issues

2011-12-09 Thread gene heskett
On Friday, December 09, 2011 03:55:38 PM sam sokolik did opine: > Heh - no - we purchase 2 of these K&T's and are using 1 as parts. > > sam > Well, I did have to ask you know... :) Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use

Re: [Emc-users] Arduino Communication issues

2011-12-09 Thread sam sokolik
Heh - no - we purchase 2 of these K&T's and are using 1 as parts. sam On 12/9/2011 3:42 PM, gene heskett wrote: > On Friday, December 09, 2011 03:29:59 PM sa...@empirescreen.com did opine: > >> This is the spindle guts.. (the front is preloaded - the back floats on >> a single bearing) The tooli

Re: [Emc-users] Arduino Communication issues

2011-12-09 Thread gene heskett
On Friday, December 09, 2011 03:29:59 PM sa...@empirescreen.com did opine: > This is the spindle guts.. (the front is preloaded - the back floats on > a single bearing) The tooling shank is 2.25 iirc. > > http://electronicsam.com/images/KandT/conversion/spindle/spindle.JPG Humm, I am assuming

Re: [Emc-users] Arduino Communication issues

2011-12-09 Thread samco
This is the spindle guts.. (the front is preloaded - the back floats on a single bearing) The tooling shank is 2.25 iirc. http://electronicsam.com/images/KandT/conversion/spindle/spindle.JPG On Fri, 9 Dec 2011 13:04:36 -0500 gene heskett wrote: > On Friday, December 09, 2011 12:59:38 PM sa..

Re: [Emc-users] Arduino Communication issues

2011-12-09 Thread gene heskett
On Friday, December 09, 2011 12:59:38 PM sa...@empirescreen.com did opine: > The spindle bearings are preloaded taper. (I think) they may be > preloaded ball - I don't remember at the moment. We keep the shop > pretty cool in the winter. (Around 60ish) The spindle running at > around 2000rpm wi

Re: [Emc-users] Arduino Communication issues

2011-12-09 Thread Eric Keller
On Fri, Dec 9, 2011 at 11:19 AM, wrote: > So imagine what the temp of the spindle would be if the shop temp was say > 90deg... All the manual says is - make sure the spindle doesn't get hotter > than 140F. > > Like I say - the old control did this automagically also. ;) > > sam > > We have a g

Re: [Emc-users] Arduino Communication issues

2011-12-09 Thread samco
The spindle bearings are preloaded taper. (I think) they may be preloaded ball - I don't remember at the moment. We keep the shop pretty cool in the winter. (Around 60ish) The spindle running at around 2000rpm will get up to 110deg. We can go up to about 3000rpm (but we don't like to run it

Re: [Emc-users] Arduino Communication issues

2011-12-09 Thread Dave
Interesting. From a practical standpoint wouldn't it make sense to temperature control the room the machine is in rather than compensate for temperature? Or does that part of the machine vary in temp regardless of room temp?Regardless, I am sure that this has applications other than temp c

Re: [Emc-users] Arduino Communication issues

2011-12-09 Thread sam sokolik
So far so good.. http://youtu.be/h-CdFd2Zakc sorry (loud video) (I wrote this in a forum) So I just scaled and offset the voltage signal from the arduino and sent that through a few components - It goes in to a mux2 so that I don't apply the offset while the machine is homing.. Then through a l

Re: [Emc-users] Arduino Communication issues

2011-12-06 Thread sam sokolik
Jeff Went and updated his blog with the pertinent info. Thank you Jeff! Yay - now it is all in one place again. http://emergent.unpythonic.net/01198594294 sam On 12/6/2011 8:42 AM, sam sokolik wrote: > Ok - the last error was this... > > http://pastebin.com/CvEBeCHg > > which happened atleast 2

Re: [Emc-users] Arduino Communication issues

2011-12-06 Thread sam sokolik
Ok - the last error was this... http://pastebin.com/CvEBeCHg which happened atleast 20% of the time and after talking to jepler he suggested adding a if port < 6: to the arduino.py code. You can see it here http://pastebin.com/PMLftHUi line 77 is the extra 'if' statement and then every thing

Re: [Emc-users] Arduino Communication issues

2011-12-04 Thread Schooner
Have you tried loading the module without the -W switch? I seem to remember having problems, when experimenting with serial comms to an Arduino board from emc, if I used the -W(ait_until_ready) switch I loaded it right at the start of the hal file and then didn't link any of its pins until the

Re: [Emc-users] Arduino Communication issues

2011-12-03 Thread samco
> > -Original Message- > > From: sam sokolik [mailto:sa...@empirescreen.com] > > Sent: Saturday, 3 December 2011 9:20 AM > > To: Enhanced Machine Controller (EMC) > > Subject: Re: [Emc-users] Arduino Communication issues > > > > so - it seems to be running pret

Re: [Emc-users] Arduino Communication issues

2011-12-02 Thread Frank Tkalcevic
it is invalid, throw the data away and wait for more. > -Original Message- > From: sam sokolik [mailto:sa...@empirescreen.com] > Sent: Saturday, 3 December 2011 9:20 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Arduino Communication issues > &g

Re: [Emc-users] Arduino Communication issues

2011-12-02 Thread sam sokolik
so - it seems to be running pretty well now the only issue that I see is every so often it doesn't seem to create the pins correctly. (I get) http://pastebin.com/CvEBeCHg snip Waiting for component 'arduino' to become ready.. Traceback (most recent call last): File "/bin/

Re: [Emc-users] Arduino Communication issues

2011-12-02 Thread Frank Tkalcevic
I had similar problems with an AVR32 running as a CDC device. It turned out to be another program grabbing the port - a modem manager (from memory). I used synaptic to find and uninstall it. I've also read the ACM driver is buggy. I blacklisted it and use the general serial device driver. I fo

Re: [Emc-users] Arduino Communication issues

2011-12-02 Thread Jon Elson
sam sokolik wrote: > This is what shows up in dmsg when I uplug/plug > > http://pastebin.com/TDCqJuMn > > How do I dell what the device driver is? > Ah, that's what I thought. This is serial over USB. Yes, USB enumeration is really MESSY, and very often when you unplug and replug the USB devic

Re: [Emc-users] Arduino Communication issues

2011-12-02 Thread sam sokolik
ok - So the back of the arduino I have been testing with seems to have no rev. I don't have any of my other ones here so I borrowed my coworkers that he just bought which says UNO R2. It seems to work every damn time. So - is mine bad? Old? Can firmware be updated? Well that was just annoy

Re: [Emc-users] Arduino Communication issues

2011-12-02 Thread Sebastian Kuzminsky
Does anything else show up in the dmesg when you run the program and get EIO on the open? I think that's abnormal and indicates a real problem with communication to the device. Do you have another Arduino you can test with? On Dec 2, 2011, at 09:20 , sam sokolik wrote: > This is what shows up

Re: [Emc-users] Arduino Communication issues

2011-12-02 Thread sam sokolik
This is what shows up in dmsg when I uplug/plug http://pastebin.com/TDCqJuMn How do I dell what the device driver is? thanks sam On 12/2/2011 11:02 AM, Sebastian Kuzminsky wrote: > On Dec 2, 2011, at 08:47 , sam sokolik wrote: > >> Seb had me run a trace on the port 'strace hd /dev/ttyACM0' and

Re: [Emc-users] Arduino Communication issues

2011-12-02 Thread Sebastian Kuzminsky
On Dec 2, 2011, at 08:47 , sam sokolik wrote: > Seb had me run a trace on the port 'strace hd /dev/ttyACM0' and got > http://pastebin.com/SgMjTbpB EIO from open() is strange. What device driver provides the /dev/ttyACM0 device file? What does dmesg say when you plug in the device and run the