#emc | Logs for 2011-12-24

[00:04:04] -!- theorb [theorb!~theorb@] has joined #emc
[00:04:10] -!- theorbtwo has quit [Ping timeout: 240 seconds]
[00:05:01] -!- adb [adb!~adb@178-211-235-133.dhcp.voenergies.net] has joined #emc
[00:05:25] -!- seb_kuzminsky has quit [Read error: Operation timed out]
[00:10:38] -!- stormlight has quit [Quit: stormlight]
[00:30:29] -!- Turtl3boi [Turtl3boi!~chatzilla@ip72-199-20-172.sd.sd.cox.net] has joined #emc
[00:31:10] -!- adb has quit [Ping timeout: 244 seconds]
[00:36:21] <syyl_ws> http://dl.dropbox.com/u/24396704/absignal
[00:36:39] <syyl_ws> this are the pins from the encoder in the hal scope
[00:36:42] <syyl_ws> a/b signal
[00:37:12] <syyl_ws> phase shiftet, a bit rough as the spindle rotation was a bit low during testing
[00:37:15] <syyl_ws> but should be ok?
[00:37:46] <syyl_ws> ah sry
[00:37:47] <syyl_ws> http://dl.dropbox.com/u/24396704/absignal.png
[00:37:51] <syyl_ws> now works
[00:38:34] <skunkKandT> doesn't look like they over-lap..
[00:38:49] <syyl_ws> yeah
[00:38:54] <syyl_ws> seems to be ok?
[00:39:36] <skunkKandT> like - http://electronicsam.com/images/KandT/servostart/Fastermouse.png
[00:40:16] <syyl_ws> oh, it needs to overlap?
[00:40:19] <syyl_ws> Oo
[00:40:42] <skunkKandT> The light went on? ;)
[00:40:57] <syyl_ws> crap
[00:41:05] <syyl_ws> thank you :)
[00:44:14] <syyl_ws> i built that encoder absolute aware of what i did
[00:44:22] <syyl_ws> but totaly wrong
[00:44:27] <syyl_ws> could cry
[00:45:11] <Tom_itx> you can't shift one phase of it?
[00:46:04] <syyl_ws> oh, its a great design, no need for adjustment...
[00:46:04] <syyl_ws> http://dl.dropbox.com/u/24396704/encoder3.jpg
[00:46:08] <skunkKandT> I would think so.. It doesn't have to be perfect 50/50 if the counter is fast enough.. (which the mesa is)
[00:46:19] <syyl_ws> (at least, thats what i though)
[00:47:43] <Loetmichel> syyl_ws: make the slots in the wheel wider
[00:47:51] <Loetmichel> than it should overlap
[00:48:11] <syyl_ws> before i change the wheel, i rebuild the encoder...
[00:48:25] <syyl_ws> uhm
[00:48:45] <syyl_ws> the lightbarriers
[00:50:04] <skunkKandT> doesn't learning after the fact suck.. (I do it all the time)
[00:50:14] <Tom_itx> got any pics of it?
[00:50:28] <syyl_ws> http://dl.dropbox.com/u/24396704/2011-12-05_21-58-29_419.jpg
[00:50:54] <syyl_ws> maybe if i shift the slot of the photo-diode a bit
[00:51:00] <syyl_ws> i would get a overlap?
[00:51:10] <skunkKandT> sure.. all you have to do is shift one..
[00:51:27] <syyl_ws> i will use magic, a mill and glue..
[00:51:36] <Tom_itx> yeah i'd shift the diode over making the slots wider
[00:52:06] <Tom_itx> how much more do you need?
[00:52:17] <Tom_itx> maybe half a slot width?
[00:52:21] <syyl_ws> yeah
[00:52:23] <skunkKandT> looks like it..
[00:52:28] <syyl_ws> the slot is 0,8mm
[00:52:37] <syyl_ws> seems possible
[00:52:57] <skunkKandT> either direction
[00:53:07] <Tom_itx> or a little from each one
[00:53:14] <skunkKandT> sure
[00:53:26] <Tom_itx> so you don't screw something up
[00:53:30] <skunkKandT> tapping tapping tapping....
[00:53:32] <syyl_ws> now i am confused
[00:53:33] <syyl_ws> Oo
[00:53:42] <syyl_ws> i enlarge one slot in one direction?
[00:53:57] <Tom_itx> yeah and the other in the other direction i believe
[00:54:03] <syyl_ws> ah
[00:54:05] <syyl_ws> now i got it
[00:54:08] <Tom_itx> but i don't know how your encoder works
[00:54:21] <Tom_itx> either spread them apart or move them closer
[00:54:38] <Tom_itx> as long as your slots are spaced evenly
[00:54:52] -!- El_Matarife has quit [Quit: Nettalk6 - www.ntalk.de]
[00:57:15] <skunkKandT> syyl_ws:
[00:57:17] <skunkKandT> http://thedenneys.org/pub/robot/encoders/
[00:57:48] <skunkKandT> Optical Encoder with 2 Sensors
[00:58:12] <syyl_ws> damn ;)
[00:58:17] <syyl_ws> ok, got it :D
[01:03:23] -!- Turtl3boi has quit [Read error: Connection reset by peer]
[01:04:23] -!- clytle374 [clytle374!~clytle374@] has joined #emc
[01:08:53] <Tom_itx> syyl_ws it looks pretty though
[01:08:57] -!- adb [adb!~adb@178-211-235-133.dhcp.voenergies.net] has joined #emc
[01:11:30] -!- bootnecklad has quit [Quit: WeeChat 0.2.6]
[01:12:50] <syyl_ws> yeah, modified it
[01:13:14] <syyl_ws> used eyeball mk.2 to machine 0,4mm away
[01:13:15] <syyl_ws> ;)
[01:13:47] <syyl_ws> and its counting backwards...
[01:13:54] <syyl_ws> AND forward!
[01:13:58] <syyl_ws> thank you guys :D
[01:14:42] -!- bootnecklad [bootnecklad!~bootneckl@vm4.telegraphics.com.au] has joined #emc
[01:15:13] <skunkKandT> Yay!
[01:16:33] <clytle374> What are my options for intefacing user panel? ie start/stop/single block ect
[01:17:42] <skunkKandT> physically? or in emc?
[01:17:58] <clytle374> physically
[01:18:17] -!- rob_h has quit [Ping timeout: 252 seconds]
[01:18:48] <skunkKandT> printer port? Mesa i/o?
[01:19:27] <clytle374> Sorry, mesa io...
[01:20:01] <Tom_itx> pendant?
[01:20:14] <clytle374> yeah, kitmiria mycenter-4
[01:20:21] <clytle374> fanuc 6m
[01:21:07] <clytle374> I don't need all the buttons, but many people hate not having a real start/stop
[01:21:28] <clytle374> just thinking I'll run out of pins quick
[01:21:49] <skunkKandT> what are you usiing for interface hardware?
[01:25:24] <clytle374> 520 7i37 and 7i38
[01:26:12] <clytle374> I want start/stop/coolant/over rides as hardware switches
[01:26:24] -!- The_Ball has quit [Ping timeout: 268 seconds]
[01:26:26] <clytle374> single block
[01:30:44] <skunkKandT> I ended up using 2 5i20's for all my i/o - but I thought that mesa had a smart serial i/o expander.. gave you a bunch of i/o just using 2 pins on the 5i20.. but You would have to ask peter
[01:31:14] <skunkKandT> there is a lot of cool stuff coming out of mesa recently
[01:31:52] <clytle374> I've been away for ~2 years... then boss bought a machine for me to 'do'
[01:32:15] <clytle374> peter=pcw?
[01:32:18] <skunkKandT> yes
[01:33:44] <syyl_ws> hmm
[01:33:49] <syyl_ws> still not perfect...
[01:33:52] <Tom_itx> it's state of the art stuff right now
[01:34:08] <Tom_itx> new boards i think they have the code tweaked on
[01:34:08] <syyl_ws> i think i need to make the lightbarrierthing new
[01:34:39] <syyl_ws> tooggles sometimes between forward and backward counting :D
[01:34:40] <skunkKandT> syyl_ws: paint it black?
[01:34:48] <clytle374> great, I had the first working 7i48 in emc ;)
[01:34:49] <syyl_ws> good song!
[01:34:58] <Tom_itx> flat black
[01:35:09] <syyl_ws> ah
[01:35:15] <syyl_ws> against reflections?
[01:35:23] <Tom_itx> borrow some paint from the F117
[01:35:45] <Tom_itx> or B2
[01:35:58] <syyl_ws> then the cia might set a killer on me...
[01:36:51] <syyl_ws> black spray paint should do...
[01:37:04] <Tom_itx> yeah
[01:37:21] <clytle374> is the mesa SPI stuff working now days?
[01:37:24] <Tom_itx> think what absorbs IR
[01:38:49] <clytle374> 7I50 SPI I/O expander
[01:38:57] -!- GoSebGo has quit [Ping timeout: 252 seconds]
[01:39:04] <Tom_itx> sserial
[01:40:35] <Tom_itx> Smart Serial remote I/O, BISS, SSI, SPI, UART interfaces and more.
[01:40:44] <Tom_itx> on the 5I25
[01:40:58] <skunkKandT> clytle374: does this help? http://www.linuxcnc.org/index.php/english/component/kunena/?func=view&id=1325&catid=27#1325
[01:43:00] -!- bootnecklad has quit [Ping timeout: 252 seconds]
[01:44:26] <clytle374> yeah, looks like I'm starting over with what I've got.
[01:44:55] <clytle374> The cards I got may just get saved for when I finish my mini mill and lathe
[01:45:14] <jdhNC> you could finish my mini mill and lathe
[01:45:16] -!- factor has quit [Quit: Leaving]
[01:45:42] <skunkKandT> I converted a large hmc with 2 5i20's and a 7i33 and 7i48
[01:46:28] <clytle374> Did you do the one with the rings on the tool holders that numbered the tools?
[01:46:42] <syyl_ws> hrhr
[01:46:47] <syyl_ws> you are famous, skunkKandT
[01:47:26] <skunkKandT> clytle374: yes - that would be me :)
[01:47:37] <skunkKandT> I had lots of help from the emc group...
[01:48:11] <clytle374> I was working on mine and was around then. Ran out of money and spring came..fram got crazy
[01:48:21] * skunkKandT is actually running parts as we are chatting..
[01:49:07] <syyl_ws> ah, i think the spindle pid is working
[01:49:24] <syyl_ws> cracy things happen if i change the pid parameters randomly ;)
[01:49:56] <clytle374> Boss got tired of me talking about doing a retrofit, and bought a mill... put up or shut up?
[01:50:11] <skunkKandT> heh
[01:50:54] <clytle374> makes sense PIDs are not random numbers
[01:51:14] <syyl_ws> yeah ;)
[01:51:27] <syyl_ws> only wanted to see, if at least, something happens
[01:52:25] -!- bootnecklad [bootnecklad!~bootneckl@vm4.telegraphics.com.au] has joined #emc
[01:52:57] <Tom_itx> syyl, you might also consider painting the ring in case it's reflecting off the sides of the slots
[01:53:25] <syyl_ws> good point, noted
[01:53:37] <Tom_itx> i'd wait and do that as a last resort
[01:53:50] <syyl_ws> right now, it seems to work
[01:53:55] <syyl_ws> but its late ;)
[01:54:13] <skunkKandT> what was it doing that you thought it didn't work just a bit ago?
[01:55:56] <syyl_ws> until now, i only watched the encoder-pins
[01:56:13] <skunkKandT> ah - halscope isn't fast enough...
[01:56:20] <syyl_ws> now, after widening the slot and black paint i get a real count in both directions
[01:56:40] <skunkKandT> ah - cool
[01:56:47] <clytle374> looks like the 750 works with the 420
[01:56:53] <clytle374> 5i20
[01:57:28] <syyl_ws> and now i am going for closed loop spindle controll..
[01:59:03] -!- Jymmm has quit [Read error: Operation timed out]
[01:59:34] -!- bootnecklad has quit [Quit: WeeChat 0.2.6]
[01:59:50] -!- bootnecklad [bootnecklad!~bootneckl@vm4.telegraphics.com.au] has joined #emc
[02:04:51] -!- mhaberler has quit [Quit: mhaberler]
[02:05:26] -!- skunkKandT has quit [Remote host closed the connection]
[02:10:32] -!- clytle374 has quit [Quit: Leaving]
[02:17:53] -!- factor [factor!~factor@] has joined #emc
[02:25:17] -!- syyl_ws has quit [Quit: Verlassend]
[02:35:10] -!- The_Ball [The_Ball!~The_Ball@] has joined #emc
[02:51:24] <mikegg> danimal: I got my stepper running :)
[02:57:36] -!- Jymmm [Jymmm!~jymmm@unaffiliated/jymmm] has joined #emc
[03:00:21] -!- packrat has quit [Ping timeout: 252 seconds]
[03:07:10] -!- russk [russk!~russ@dyn-170-241-173.myactv.net] has joined #emc
[03:09:30] <russk> Hey my awesome wife is getting me a zen toolworks 7x7 CNC machine for Christmas
[03:09:37] <alex4nder-> sick
[03:09:39] <alex4nder-> that'll be fun
[03:09:51] <russk> i'm a complete novice !!
[03:10:16] <russk> i want to carve a pinewood derby car for my cub scout by January 8th
[03:10:25] <russk> Can it be done ?
[03:10:44] <alex4nder-> anything can be done
[03:10:51] <alex4nder-> just a matter of money and time
[03:10:56] <russk> i'm fairly skilled with linux
[03:12:17] <russk> so i would need to assemble the machine, interface it with a PC, get it working(!!), design a car, and carve it
[03:12:51] <russk> i'm not sure i can do all that ... probably too big of a learning curve
[03:13:12] <Tom_itx> you can start now
[03:13:37] <Tom_itx> the design and gcode part can be done way ahead of time
[03:13:47] <russk> that's what i was hoping
[03:14:19] <russk> any recommendation for the CAD tool ?
[03:14:35] -!- crib has quit [Remote host closed the connection]
[03:14:40] <Tom_itx> i dunno, i use commercial software
[03:18:32] <mikegg> same here, look in the wiki: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Cam
[03:18:32] <russk> i see varicad has a 30 day free trial
[03:19:45] <Tom_itx> btw, i doubt you can buy endmills on christmas morning either
[03:20:58] <russk> that's a nice list, thanks
[03:24:39] theorb is now known as theorbtwo
[03:27:08] -!- morfic has quit [Changing host]
[03:27:08] -!- morfic [morfic!morfic@unaffiliated/morfic] has joined #emc
[03:28:21] <ds3> anyone know anything about miniemc2?
[03:29:44] <mikegg> my only advice, considering that a child's feelings are on the line. If you find yourself saying "I should only need one of these" - buy three or four
[03:30:23] <mikegg> and good luck! pinewood derby is awesome
[03:42:25] <alex4nder-> ds3: yah, I saw the project page
[03:43:24] -!- hackrat [hackrat!~packrator@c-98-209-146-133.hsd1.mi.comcast.net] has joined #emc
[03:49:51] -!- hackrat has quit [Ping timeout: 252 seconds]
[03:54:37] -!- packrat [packrat!~packrator@c-98-209-146-133.hsd1.mi.comcast.net] has joined #emc
[03:57:53] -!- stormlight [stormlight!~jasonandt@c-50-131-96-59.hsd1.ca.comcast.net] has joined #emc
[04:02:03] <russk> i'm going to try brl-cad
[04:16:39] -!- toastyde1th [toastyde1th!~toast@c-69-140-223-139.hsd1.md.comcast.net] has joined #emc
[04:16:39] -!- ear [ear!~Eartaker@c-67-185-76-100.hsd1.wa.comcast.net] has joined #emc
[04:16:39] ear is now known as Guest57792
[04:16:56] -!- toastydeath has quit [Ping timeout: 240 seconds]
[04:17:36] -!- Eartaker has quit [Ping timeout: 240 seconds]
[04:24:30] -!- crib [crib!~chris@port-92-202-44-78.dynamic.qsc.de] has joined #emc
[04:28:16] -!- logger[psha] has quit [Ping timeout: 240 seconds]
[04:29:28] -!- logger[psha]_ [logger[psha]_!~loggerpsh@] has joined #emc
[04:29:34] -!- logger[psha] has quit [Ping timeout: 240 seconds]
[04:33:26] <russk> hmm ... so much for brl-cad ... maybe blender
[04:42:41] -!- Guest57792 has quit [Quit: Leaving]
[04:43:13] -!- Eartaker [Eartaker!~Eartaker@c-67-185-76-100.hsd1.wa.comcast.net] has joined #emc
[04:43:14] -!- Eartaker has quit [Changing host]
[04:43:14] -!- Eartaker [Eartaker!~Eartaker@unaffiliated/eartaker] has joined #emc
[04:45:20] -!- stormlight has quit [Quit: stormlight]
[04:55:12] -!- Calyp has quit [Quit: Leaving]
[05:02:12] -!- syyl_ [syyl_!~syyl@p4FD14929.dip.t-dialin.net] has joined #emc
[05:05:25] -!- syyl has quit [Ping timeout: 248 seconds]
[05:39:20] -!- ve7it has quit [Remote host closed the connection]
[06:06:58] -!- LawrenceSeattle [LawrenceSeattle!~lawrence@] has joined #emc
[06:25:18] -!- psha [psha!~psha@] has joined #emc
[07:05:59] -!- mhaberler [mhaberler!~mhaberler@] has joined #emc
[07:18:26] -!- dgarr has quit [Quit: Leaving.]
[07:21:47] -!- chester88 has quit [Ping timeout: 252 seconds]
[07:26:56] -!- psha has quit [Read error: Connection reset by peer]
[07:27:49] -!- chester88 has quit [Ping timeout: 248 seconds]
[07:30:44] -!- psha [psha!~psha@] has joined #emc
[07:41:42] -!- psha has quit [Quit: Lost terminal]
[07:43:13] -!- acemi [acemi!~acemi@unaffiliated/acemi] has joined #emc
[07:53:13] -!- IG-garage [IG-garage!~ig@unaffiliated/mazafaka] has joined #emc
[08:44:50] -!- Mjolinor [Mjolinor!~Mjolinor@cpc1-burn3-0-0-cust572.10-1.cable.virginmedia.com] has joined #emc
[09:03:03] -!- rob_h [rob_h!~rob_h@5ace7094.bb.sky.com] has joined #emc
[09:16:18] -!- rob__H [rob__H!rob_h@] has joined #emc
[09:18:55] -!- factor has quit [Read error: Connection reset by peer]
[09:19:30] -!- rob_h has quit [Ping timeout: 240 seconds]
[09:27:36] -!- psha [psha!~psha@] has joined #emc
[09:34:10] -!- LawrenceSeattle has quit [Quit: LawrenceSeattle]
[09:36:42] -!- factor [factor!~factor@] has joined #emc
[09:39:23] -!- rob__H has quit [Quit: Leaving]
[09:45:04] -!- Calyp [Calyp!~Caly@unaffiliated/calyptratus-tzm] has joined #emc
[09:51:14] -!- mhaberler has quit [Quit: mhaberler]
[10:04:09] <Loetmichel> moin
[10:52:50] -!- rob_h [rob_h!~rob_h@5ace7094.bb.sky.com] has joined #emc
[11:01:33] <Loetmichel> sooo, auf zu den 3 stresstagen, Familienfeiern abklappern :-(
[11:02:43] <Loetmichel> oh, sorry, amsg.. i wrote: so, going to do three stressdays: have to attend to 3 family holiday parties
[11:08:04] <Spida> Loetmichel: BTDT
[11:26:47] -!- psha has quit [Quit: Lost terminal]
[11:27:28] <IG-garage> Loetmichel: my 'promo' welding is the wooden stove: http://img-fotki.yandex.ru/get/3415/137304751.1/0_75f67_f6c35318_XXL.jpg
[11:28:16] <IG-garage> Also, http://img-fotki.yandex.ru/get/3416/137304751.1/0_75f66_859f0d2d_XXL.jpg and http://img-fotki.yandex.ru/get/3416/137304751.1/0_75f65_b7d5008b_XXL.jpg
[11:48:01] <jthornton> no flue damper?
[11:49:41] -!- Loetmichel has quit [Ping timeout: 248 seconds]
[11:54:06] -!- Loetmichel [Loetmichel!Cylly@p54B13A3A.dip.t-dialin.net] has joined #emc
[12:09:56] -!- mhaberler [mhaberler!~mhaberler@] has joined #emc
[12:27:04] -!- isssy [isssy!WebseitenU@78-83-48-88.spectrumnet.bg] has joined #emc
[12:27:15] -!- isssy has quit [Client Quit]
[12:45:25] -!- maximilian_h [maximilian_h!~bonsai@] has parted #emc
[12:48:21] <jthornton> well after some googling it seems I can make a pwm output from a 555 and a potentiometer but not vary the frequency which is what I wanted to do :/
[12:49:09] <Mjolinor> why do you want to vary the frequency?
[12:53:03] <Mjolinor> I think if oyu use soemthign like http://www.dprg.org/tutorials/2005-11a/index.html
[12:53:20] <Mjolinor> that for PWM and add a bit to vary the voltage on pin 5 that should change hte frequency
[12:53:37] <Mjolinor> though it has been a long time since I messed with %%%s, horrible things :)
[12:53:37] <jthornton> I want to drive a stepper at 5 to 10 RPM to stir with
[12:55:52] <jthornton> so I need 1000 to 2000 pulses a minute, or I could just put in a high low switch...
[12:56:22] <Mjolinor> so why PWM?@
[12:57:44] <jthornton> I don't want pwm, it seems to be all I find when I google for 555 and potentiometer
[12:57:59] <Mjolinor> ok, how confused am I :)
[12:58:16] <Mjolinor> you jsut want a variable frequency oscillator?
[12:58:29] <jthornton> yea, I think so
[12:58:39] <Mjolinor> well thats what a 555 does
[13:00:08] <Mjolinor> but for soemthign so simple I owuld jsut use a schmitt inverter wiht a resistor feedback adn a capacitor
[13:00:15] <jthornton> lol I just needed the right search words for goglle
[13:00:29] <Mjolinor> 555 vairable frequency oscillator
[13:00:43] <Mjolinor> whoops, spell it right though or google goes off searchign for random things
[13:00:46] <jthornton> yea, that is what I searched for just now and found
[13:00:52] <Mjolinor> a million?
[13:00:54] <jthornton> some circuits
[13:01:17] <Mjolinor> still a lot simpler with a schmitt inverter
[13:01:31] <jthornton> only if you know how :)
[13:02:00] <Mjolinor> I think it is hte most basic easy to understand inverter you can get
[13:02:23] <jthornton> I don't know what a schmitt inverter is :/
[13:02:27] <Mjolinor> on the input you have a capacitor to ground and from the output you have a resistor connected to the input
[13:02:35] <Mjolinor> ok, welk theres yer pronblem
[13:02:56] <jthornton> yea, a real noob with electronics
[13:03:04] <Mjolinor> its a inverter ie output is opposite to input but the switching threshold varies depending on whether the input is high or low
[13:04:09] <Mjolinor> so if the input increases slowly at soem voltage, say 2.5 volts for example, the output will switch to 5 volts, if you decrease the voltage on the input the output will not switch back to low again until you get significantly lower than 2.5 volts, say perhaps 1.5 volts
[13:04:22] <Mjolinor> that gives "hysteresis" to the operation
[13:04:27] <MattyMatt> I bought some 74hc14 to mod my huangdong 4axis, but it seems the easiest fix is to just bypass the optos, so I've been wondering what to do with them :)
[13:05:05] <Mjolinor> so itmeans that with a capacitor between input and ground and a feedback resistor frmo the output the input is varies slowly because of the capacitor not able to change voltage quickly and hte thing oscilaltes
[13:05:33] <Mjolinor> 74hc14 will do that job perfectly
[13:06:05] <jthornton> I wonder if Rat Shack has them
[13:06:40] <MattyMatt> they had 74ls and 4000 series, when I was in there (30 years ago)
[13:06:53] <Mjolinor> i would use 4000 rather than ttl
[13:07:18] <Mjolinor> http://www.simmonmt.org/hardware/writeups/simple-relaxation-oscillator
[13:07:23] <Mjolinor> that si the circuit I mean
[13:07:37] <Mjolinor> very simple method of operation, not incredibly stable thoguh :)
[13:08:10] <Mjolinor> better explanaiton of how it works than I gave you too :)
[13:08:13] <jthornton> not stable in what way?
[13:08:33] <Mjolinor> it will vary frequency with temperature
[13:08:41] <Mjolinor> I dont think it will be any worse than a 555
[13:08:52] <Mjolinor> and it will not crowbar the power supply when the output switches
[13:09:00] <Mjolinor> but it will not go as fast as a 555 can
[13:09:11] <Mjolinor> though it will do the frequencies you need eqasily I think
[13:09:34] <jthornton> I want slow and we are just stirring a pot of candy so if the speed changes a bit no one will notice
[13:09:47] <Mjolinor> thats what I understood
[13:10:04] <Mjolinor> so I think it iwll be fine for what you need with jsut that schmitt inverter relaxation oscillator
[13:10:12] <Mjolinor> but what are you doing with the signal?
[13:10:21] <Mjolinor> that will only give you a square wave
[13:10:26] <jthornton> driving a $15 stepper board
[13:10:32] <jthornton> from sparkfun
[13:10:34] <Mjolinor> ok
[13:10:41] <Mjolinor> so you need step adn direction only?
[13:10:56] <Mjolinor> you are not driving hte stepper directly?
[13:10:56] <jthornton> direction is just a switch really
[13:11:02] <Mjolinor> yes
[13:11:19] <jthornton> via the stepper driver board
[13:11:28] <Mjolinor> but you could do away with the sparkfun board altogether by sticking an inverter on the output and driving 2 transistors jsut for the pwoer part
[13:11:50] <jthornton> http://www.sparkfun.com/products/10267
[13:11:58] <Mjolinor> but your way will be easier I suppose, jsut the oscillator adn a switched line for direction going int0oo a stepper driver
[13:12:17] <jthornton> do you have a circuit for the inverter thingy
[13:12:41] <Mjolinor> the oscillator?
[13:14:03] <Mjolinor> http://www.simmonmt.org/hardware/writeups/simple-relaxation-oscillator
[13:14:20] <Mjolinor> that si the oscillator but beware, you shoudl put another resistor in the feedback loop
[13:14:27] <jthornton> no, the circuit to drive the stepper
[13:14:48] <Mjolinor> because in that circuit if you turn the pot all the way to 0 the inverter will melt as you will be driving the oupt and input to the sam evoltage
[13:15:23] <jthornton> I saw some warnings about that on the 555 circuits too
[13:16:00] <Mjolinor> how many wires has your stepper motor?
[13:17:37] -!- mhaberler has quit [Quit: mhaberler]
[13:17:52] <jthornton> 4
[13:18:05] <Mjolinor> ok
[13:18:14] <Mjolinor> then you should use the driver board
[13:18:32] <jthornton> ok
[13:18:36] <Mjolinor> 4 wire steppers ahve to be driven by a reversing voltage which in terms of components is a lot
[13:18:50] <Mjolinor> you have to chagne + adn - on the drive circuit
[13:19:02] <Mjolinor> it's sort of difficult
[13:19:31] <Mjolinor> it can be done but it will cos t you more than that board to do it discretely with transistors and resistors adn stuff
[13:19:42] <jthornton> simple is great :)
[13:20:24] <jthornton> even on the web site of the board maker he gives the schematic for that board if you want to make your own but for $15...
[13:20:36] <Mjolinor> not worth the hastle
[13:20:45] <jthornton> yea
[13:21:01] <jthornton> I better get back to work :) or I'
[13:21:07] <jthornton> ll get fired or a pay cut
[13:21:08] <Mjolinor> that board and a schmitt inverter will work perfectly for what you need, total cost $16 or so, the schmitt inverters are jsut a few pennies
[13:21:23] <Mjolinor> have fun :)
[13:21:24] <jthornton> ok, thanks for the help on that
[13:21:31] <Mjolinor> no one shoudl have to work on christmas eve
[13:22:09] <jthornton> I'm just working on the EMC docs :)
[13:22:22] <Mjolinor> :)
[13:22:33] <jthornton> and drinking some coffee
[13:22:38] <Mjolinor> now those are an achievement
[13:22:48] <Mjolinor> best documented linux software I have ever seen
[13:24:32] <jthornton> it's getting even better I hope
[13:28:14] -!- mhaberler [mhaberler!~mhaberler@] has joined #emc
[13:46:13] <Tom_itx> fired on christmas eve?
[13:46:16] <Tom_itx> nonsense
[13:47:35] <jthornton> and my crutch is broken, I have to use a stick
[14:02:01] -!- mhaberler has quit [Quit: mhaberler]
[14:07:09] -!- mhaberler [mhaberler!~mhaberler@] has joined #emc
[14:22:10] -!- mhaberler has quit [Quit: mhaberler]
[15:15:13] -!- mozmck has quit [Quit: Leaving.]
[15:18:13] -!- mozmck [mozmck!~moses@client-] has joined #emc
[15:20:55] -!- skunkworks_ [skunkworks_!~chatzilla@str-bb-cable-south2-static-6-425.dsl.airstreamcomm.net] has joined #emc
[15:22:21] <skunkworks_> http://www.cnczone.com/forums/1039625-post35.html
[15:24:12] <archivist> a convert!
[15:25:23] <skunkworks_> :)
[15:26:54] <archivist> I didnt know smooth stepper was buggy too :)
[15:27:27] <skunkworks_> yes
[15:27:31] <skunkworks_> from what I have read
[15:28:08] <archivist> expensive bag of nails then :)
[15:31:20] <skunkworks_> I think the people that say 'I have never had any issues' don't know what 'never' means.
[15:31:35] <TekniQue> in CNC controller jargon, what is a screen?
[15:32:42] <skunkworks_> mach supposedly has a screen editor so you can re-arrange buttons and such... (the GUI)
[15:33:40] <TekniQue> ah
[15:33:50] <TekniQue> like our widget configuration
[15:34:44] <TekniQue> axis
[15:39:56] -!- theorb [theorb!~theorb@] has joined #emc
[15:40:27] -!- theorbtwo has quit [Ping timeout: 252 seconds]
[15:40:40] -!- GoSebGo [GoSebGo!~Seb@184-229-165-133.pools.spcsdns.net] has joined #emc
[15:49:43] <pcw_home> jthornton my 2 cents says stay with the 555, its a much more stable OSC
[15:54:48] <TekniQue> agreed
[15:55:13] -!- owhite [owhite!~chatzilla@c-68-49-157-167.hsd1.md.comcast.net] has joined #emc
[15:55:20] <TekniQue> although I have made oscillators with the 74hc14 before
[15:56:37] <owhite> anyone know if jepler has been active on the channel recently?
[15:57:45] <TekniQue> according to my logs, the last time he spoke was december 15th 2010
[15:57:48] <TekniQue> so over a year ago
[15:58:00] <owhite> that's a bad sign. :-)
[16:02:17] <jthornton> pcw_home: thanks, I have a couple of 555's to mess with
[16:02:20] -!- owhite [owhite!~chatzilla@c-68-49-157-167.hsd1.md.comcast.net] has parted #emc
[16:02:37] <jthornton> jepler: is usually on the developer channel
[16:03:42] <jthornton> pcw_home: you just saved my wife from stopping at Rat Shack for me :)
[16:16:09] <pcw_home> We use 74HC14 on some things but its stability is terrible (OK if you just need a clock signal with +-30% )
[16:16:30] <jthornton> that's pretty wide
[16:17:28] <pcw_home> for a lot of things that's fine (charge pumps etc)
[16:19:03] <Mjolinor> personally I owuld stick wit h the inverter but aht's because I have an unholy hate of 555 timers
[16:19:58] <pcw_home> (I mean the power supply charge pump, not the safety device)
[16:20:06] <cpresser> you can always attach a crystal and some caps to a inverter to get a stable frequency
[16:20:26] <Mjolinor> I've never had them vary by 30%
[16:22:36] <pcw_home> We use them in our 7I37 for the isolation transformer clock , the problem is that the thresholds are not accurately controlled
[16:22:37] <pcw_home> (we dont really care +-30% is fine for what the are used for)
[16:31:02] <jthornton> pcw_home: something like this? http://www.electronicecircuits.com/electronic-circuits/555-variable-frequency-square-wave-generator
[16:33:23] -!- Gast443 [Gast443!~Gast443@adsl-74-178-32-71.gnv.bellsouth.net] has joined #emc
[16:33:30] -!- Gast443 has quit [Client Quit]
[16:33:56] -!- mozmck has quit [Ping timeout: 240 seconds]
[16:33:58] -!- ANTICHIP [ANTICHIP!~ANTICHIP@adsl-74-178-32-71.gnv.bellsouth.net] has joined #emc
[16:37:25] -!- mozmck [mozmck!~moses@client-] has joined #emc
[16:37:57] <pcw_home> jthornton yep
[16:38:04] <jthornton> thanks
[16:49:09] -!- owhite has quit [Ping timeout: 240 seconds]
[16:51:29] -!- stormlight [stormlight!~jasonandt@c-50-131-96-59.hsd1.ca.comcast.net] has joined #emc
[16:57:25] -!- me345 [me345!~me345@adsl-71-131-129-120.dsl.sntc01.pacbell.net] has joined #emc
[17:05:22] <Nick001> jthornton - What encoders did you use on the Hardinge?
[17:05:33] -!- maximilian_h [maximilian_h!~bonsai@f051135022.adsl.alicedsl.de] has joined #emc
[17:05:40] -!- maximilian_h has quit [Client Quit]
[17:10:10] <jthornton> I used the ones that came on it, I think they are Heidi's
[17:10:19] -!- GoSebGo has quit [Quit: Bye]
[17:10:35] -!- GoSebGo [GoSebGo!~Seb@184-229-165-133.pools.spcsdns.net] has joined #emc
[17:11:49] <Nick001> Oh - someone here changed their resolvers for encoders and I didn't write it down-(
[17:16:24] <jthornton> you might search the logs...
[17:20:27] <Nick001> where are they?
[17:22:02] <jthornton> you go like this logger[psha]_ log
[17:22:11] <jthornton> logger[psha]_: log
[17:22:43] <jthornton> http://psha.org.ru/irc/
[17:23:36] <Nick001> thanks - I'll try to find it Merry Christmas all
[17:33:47] -!- stormlight has quit [Quit: stormlight]
[17:45:45] -!- tlab [tlab!~tlab@50-45-101-101.dklb.il.frontiernet.net] has joined #emc
[17:59:05] -!- Mjolinor has quit [Quit: Leaving]
[18:24:47] -!- mhaberler [mhaberler!~mhaberler@] has joined #emc
[18:29:33] <alex4nder-> hey
[18:31:29] -!- tfmacz has quit [Ping timeout: 240 seconds]
[18:33:41] -!- me345 has quit [Remote host closed the connection]
[18:43:53] -!- tfmacz [tfmacz!~ted@S0106001310428b76.pi.shawcable.net] has joined #emc
[19:01:42] -!- Roguish [Roguish!~chatzilla@c-67-174-215-143.hsd1.ca.comcast.net] has joined #emc
[19:08:17] -!- atom1 [atom1!~tom@ip68-102-110-116.ks.ok.cox.net] has joined #emc
[19:08:42] -!- atom1 has quit [Remote host closed the connection]
[19:37:36] -!- ANTICHIP has quit [Ping timeout: 240 seconds]
[19:49:28] -!- GoSebGo has quit [Quit: Bye]
[19:50:30] -!- jy76 [jy76!WebseitenU@host-64-179-15-94.syr.choiceone.net] has joined #emc
[19:52:17] -!- russk has quit [Quit: Leaving.]
[20:01:28] -!- mhaberler has quit [Quit: mhaberler]
[20:06:35] -!- factor has quit [Read error: Connection reset by peer]
[20:07:13] -!- ve7it [ve7it!~LawrenceG@S0106001c10b7770f.pk.shawcable.net] has joined #emc
[20:09:59] -!- mhaberler [mhaberler!~mhaberler@] has joined #emc
[20:23:18] -!- factor [factor!~factor@] has joined #emc
[20:23:37] -!- owhite [owhite!~chatzilla@c-68-49-157-167.hsd1.md.comcast.net] has joined #emc
[20:26:08] <owhite> Folks, I have a question for the EMC to arduino: http://axis.unpy.net/01198594294
[20:26:10] <owhite> For the code that gets loaded onto the arduino, described here: http://media.unpythonic.net/axis-files/01198594294/halintf.pde could I add extra instructions? I want to send some signals via I2C to the arduino, and I'm wondering if extra instructions would cause problems with the timing to the python code reading the arduino?
[20:29:30] <owhite> /me twiddles thumbs.
[20:32:19] <jy76> owhite i dont know in fact i am clueless but was wondering if you know how to get an active cursur in gedit so i can change my grub file thanx and merry xmas
[20:33:17] <owhite> sorry I dont use gedit. but there are other editors out there. I like emacs, but the start up curve on that is a little difficult.
[20:34:51] <jy76> geez thats informative im thinkin this linux learning curve is a bit steep :)
[20:37:40] <owhite> It is, to be honest. Typically people have some sort of experience at the job or from school prior to jumping into something like EMC2. And playing with grub is non-fun.
[20:37:44] <owhite> Do you have nedit?
[20:39:24] -!- UnderSampled|cnc [UnderSampled|cnc!~cncrouter@cpe-174-097-224-028.nc.res.rr.com] has joined #emc
[20:39:44] <UnderSampled|cnc> hello?
[20:40:14] <jy76> ive been a week trying to even find this grub to edit it now ive found it i cant figure out how to do it!!!!!! i actually am a cnc programmer and have lots of experience with other controls , ie mazak, fanuc,matsura and mach , this emc looks very promising if only i can figure it out, i do not know if i have nedit all i have is whats on the most recent live cd.
[20:40:19] <UnderSampled|cnc> http://pastebin.com/3RzkxBCS
[20:40:28] <UnderSampled|cnc> what does that mean?
[20:40:58] <UnderSampled|cnc> jy76, try gedit?
[20:41:35] <jy76> gedit wont givwe me an active cursor to change address line any thoughts?
[20:42:01] <UnderSampled|cnc> jy76, is the file read only for you?
[20:43:22] <jy76> i believe thats the sitch im trying to activate lapic in grub, (opened from graphics) cannot get to open in terminal
[20:44:10] <UnderSampled|cnc> try sudo gedit
[20:46:15] -!- mhaberler has quit [Quit: mhaberler]
[20:48:08] <elmo40> jy76: you need root access to edit the /boot/grub/menu.list
[20:48:10] <jy76> sudo gedit from terminal then howdo i open etc grub to edit itsudo gedit
[20:48:29] <elmo40> jy76: have you used Linux much? vim is your friend ;)
[20:48:34] <pcw_home> sudo gedit filename
[20:50:54] <pcw_home> Someone had a clever scheme to enable the LAPIC automagically (to avoid this nonsense) I wonder if that can be incorporated in 2.5
[20:51:28] -!- mhaberler [mhaberler!~mhaberler@] has joined #emc
[20:51:37] <jy76> elmo what is vim and no havent used linux much
[20:55:31] -!- UnderSampled|cnc has quit [Ping timeout: 276 seconds]
[20:56:31] <mozmck> vim?!? Not your friend if you haven't used linux much. You might have to reboot to get out of it :)
[20:57:29] <mozmck> nano is *much* more newbie/infrequent user friendly. It has key hints at the bottom of the screen.
[20:58:29] <jy76> where do i find nano?
[20:59:14] <mozmck> It's command line editor, type 'nano' (without quotes) in a terminal.
[20:59:54] <mozmck> gedit will probably be easiest for you though like pcw_home said.
[21:02:57] <owhite> Sorry for the resend. I have a question for the EMC to arduino: http://axis.unpy.net/01198594294 ... For the code that gets loaded onto the arduino, described here: http://media.unpythonic.net/axis-files/01198594294/halintf.pde could I add extra instructions? I want to send some signals via I2C to the arduino, and I'm wondering if extra instructions would cause problems with the timing to...
[21:02:59] <owhite> ...the python code reading the arduino?
[21:05:03] -!- syyl [syyl!~syyl@p4FD14929.dip.t-dialin.net] has joined #emc
[21:07:34] -!- syyl_ has quit [Ping timeout: 255 seconds]
[21:08:45] -!- bootnecklad has quit [Quit: WeeChat 0.2.6]
[21:09:01] -!- bootnecklad [bootnecklad!~bootneckl@vm4.telegraphics.com.au] has joined #emc
[21:11:56] <owhite> /me twiddles several thumbs.
[21:14:09] <jthornton> I think you got an answer on the devel channel
[21:15:31] <owhite> I didnt see it. My irc client timed out before I saw it.
[21:16:18] <owhite> I'm checking to see if the client saves the buffer. Could you cut and paste it?
[21:16:41] <jthornton> just use the logger
[21:17:06] <Jymmm> ...Luke!
[21:17:17] <jy76> ok fellas found the grub file that i need to edit it opens when clicked on it is read only in gedit sudo gedit says it cant ????
[21:17:19] <owhite> sorry how does the logger work?
[21:17:56] <Jymmm> JT-Shop: So, what's on the Holiday Menu this year?
[21:17:57] <jthornton> you just say logger[psha]_ log
[21:18:07] <jthornton> peanuts and ham
[21:18:37] <Jymmm> jthornton: Um, I can toss some dead flesh your way if needed
[21:19:06] <jthornton> you run over a reindeer?
[21:19:09] -!- syyl_ws [syyl_ws!~sg@p4FD14929.dip.t-dialin.net] has joined #emc
[21:19:37] <Jymmm> jthornton: two of them! Dancer was coping a serious attitude!
[21:19:42] <owhite> oh hey I got a response from jepler himself.
[21:20:15] <owhite> thanks for the info on logger
[21:20:49] <Jymmm> jthornton: whatcha workin on?
[21:23:51] <jthornton> bbl, going to walk the doggy
[21:23:58] <Jymmm> woof
[21:29:11] <syyl_ws> hmm
[21:29:48] <syyl_ws> has anybody an example hal for spindlecontrol/closed loop with a mesa card?
[21:30:06] <syyl_ws> (using the hardware encoder of the mesa)
[21:31:49] <pcw_home> basically is just a PID loop (though a velocity loop)
[21:32:13] <syyl_ws> jep, i struggle a bit with the settings
[21:32:38] <syyl_ws> input_scale, output_scale, max_output, etc
[21:33:36] <syyl_ws> oh
[21:33:37] -!- owhite has quit [Quit: ChatZilla 0.9.88 [Firefox 8.0.1/20111120135848]]
[21:33:41] <syyl_ws> just found that: http://wiki.linuxcnc.org/emcinfo.pl?Tuning_EMC2/HAL_PID_Loops
[21:33:44] <syyl_ws> might help ;)
[21:35:37] <syyl_ws> i have an encoder with 120 slots, that gives me 480 counts/rev
[21:35:41] <syyl_ws> so input_scale would be 480?
[21:35:46] <pcw_home> if command is in RPM
[21:35:47] <pcw_home> input scale is set so the encoder velocity pin reads in RPM
[21:35:49] <pcw_home> output scale set the same
[21:35:51] <pcw_home> max output set for max RPM
[21:35:52] <pcw_home>
[21:36:36] <jy76> does anyone know how to edit etc defaualt grub? i need to enable lapic and i can only get the file to open read only
[21:37:27] -!- mhaberler has quit [Quit: mhaberler]
[21:37:50] <pcw_home> sudo gedit filename
[21:37:52] <pcw_home> does not work?
[21:37:59] <syyl_ws> ok, thank you
[21:38:57] <jy76> sudo gedit says it cant open it then it displays blank page titled etc default grub
[21:39:26] <pcw_home> what file are you trying to edit?
[21:40:31] <jy76> i am trying to edit grub to enable lapic gene wrote to change cmd line to quiet splash lapic
[21:43:35] <pcw_home> you are in /etc/default
[21:43:37] <pcw_home> and you type:
[21:43:39] <pcw_home> sudo gedit grub
[21:44:02] <jy76> from terminal?
[21:44:09] <pcw_home> yes
[21:44:24] <jy76> ill try that and let u know
[21:45:36] <pcw_home> cd /etc/default
[21:45:38] <pcw_home> sudo gedit grub
[21:45:40] <pcw_home> sudo update-grub
[21:45:41] <pcw_home> (from the wiki)
[21:46:44] <jy76> no such file or directory for etc default
[21:47:13] <jy76> pcw yes from the wiki
[21:47:47] <pcw_home> cd /etc
[21:47:49] <pcw_home> cd default
[21:47:51] <pcw_home> fails?
[21:48:48] <jy76> cd command not found
[21:49:30] <SWPadnos> something is seriously wrong if you don't have cd
[21:49:36] <SWPadnos> you could try chdir
[21:49:56] <SWPadnos> but every OS since CP/M, and probably some from before that, has had a cd command
[21:50:13] <SWPadnos> (every OS with a command line that I can think of anyway)
[21:50:20] <pcw_home> are you typing in capital letters? this all has to be lower case
[21:50:47] <jy76> seriously!! thats not good :) i downloaded live cd 10 days ago??? they are all lower case
[21:50:53] -!- Poincare has quit [Read error: Operation timed out]
[21:51:04] -!- Poincare [Poincare!~jefffnode@dst.ampersant.be] has joined #emc
[21:51:31] <jy76> it has no problem with cd by itself
[21:51:48] <pcw_home> how about
[21:51:49] <pcw_home> ls
[21:52:43] <jy76> populates terminal with apps and places
[21:53:49] <pcw_home> so if you type
[21:53:51] <pcw_home> cd /etc
[21:53:51] -!- kanzure has quit [Read error: Operation timed out]
[21:53:52] <pcw_home> it fails
[21:53:54] <pcw_home> that is cd space forward slash (under ?)etc enter
[21:55:41] <Jymmm> SWPadnos: I think I still have CP/M around here somewhere
[21:55:51] -!- kanzure [kanzure!~kanzure@] has joined #emc
[21:56:47] <pcw_home> bbl
[21:57:53] -!- jstenback has quit [Ping timeout: 268 seconds]
[21:59:50] <jy76> that gets me etc$ now what /default/grub or sudo gedit default/ grub?
[22:01:07] -!- jstenback [jstenback!~jstenback@2620:101:8003:200:224:e8ff:fe39:34c2] has joined #emc
[22:02:40] -!- Poincare has quit [Quit: changing servers]
[22:03:20] -!- Poincare [Poincare!~jefffnode@2001:470:cb24:4::2] has joined #emc
[22:07:02] <jy76> got it now how do i update grub?
[22:08:57] <jy76> and thanx very very much
[22:13:37] <jy76> yeeeeesssss!!!!!! thank you so much pcw finally emc runs!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! i hope christmas treats you well as you have made mine thank you
[22:51:02] -!- bootnecklad_ [bootnecklad_!~bootneckl@host-78-151-86-124.as13285.net] has joined #emc
[22:52:19] <Jymmm> jepler: Just read your java blog entry, another reason to dislike ubuntu imo.
[22:52:52] -!- jy76 has quit [Quit: Bye Bye]
[22:53:30] <syyl_ws> mh, is spindle speed control via pwm and a encoder for closed loop via a mesa card so uncommon?
[22:53:38] <syyl_ws> i cant find an example
[22:57:37] -!- Eartaker has quit [Quit: Leaving]
[23:08:22] -!- bootnecklad__ [bootnecklad__!~bootneckl@host-2-99-39-80.as13285.net] has joined #emc
[23:11:16] -!- bootnecklad_ has quit [Ping timeout: 268 seconds]
[23:12:23] <mikegg> I tried it on a once per rev pulse, one time
[23:12:49] <mikegg> it worked, but was not very stable
[23:14:42] <mikegg> look at the hm2-servo config files.
[23:15:08] -!- bootnecklad has quit [Quit: WeeChat 0.2.6]
[23:19:27] -!- LawrenceSeattle [LawrenceSeattle!~lawrence@] has joined #emc
[23:25:23] -!- Ze1982 [Ze1982!~Ze1982@ppp255-131.static.internode.on.net] has joined #emc
[23:25:34] -!- Ze1982 has quit [Client Quit]
[23:41:56] -!- packrat has quit [Ping timeout: 252 seconds]
[23:44:45] -!- packrat [packrat!~packrator@c-98-209-146-133.hsd1.mi.comcast.net] has joined #emc
[23:58:22] -!- tlab has quit [Remote host closed the connection]