MarkusBec is now known as MarkusBec_away
jt-plasma: Do a google search on webcam software. There are several free software packages out there to do that via Windows. I would image there are linux versions also.
Dave911: I'm looking at webcam for linux at the moment :0
i'm sad to say I've forgotten the name of the package that was perfect for that application
it has a security camera mode
Don't you sometimes wonder if you have forgotten more than you know.... ;-)
I'm sure of it
Bah! 2 x $20 servodrives on eBay become $99 servodrives with shipping. VAT and handling charges this end adds $30, so I pay more in tax than the parts cost. That can't be right.
jt-plasma: not going to convert it?
jt-plasma, try the package motion it has web support
LOL not if it works
* jt-plasma looks at motion
* jt-plasma hears the dinner bell ringing :)
say goodnight Gracie
jt-plasma, mine too... cul
Ooh! I am fuming now. I asked the servo drive chap if he would ship to a US-based friend instead (who can then bring them over with him). His response?
andypugh on blocked bidder list so go find someone else to scam with ship
to "my friend..."
Bye Bye andypugh the scam man.
you have to recognize that scammers are everywhere
How he has managed 8 years and 100% positive is a mystery to me.
as soon as the requests get flaky, people smell the scam
Yes, but every email shows my 9 years and 100% positive record. And these are $20 parts
eBay puts the stuff in for a reason, but he sees to be oblivious.
what he doesn't know is that my completely genuine friend in Wisconsin has already bought them.
(I hope, unless he cancels that transaction for some reason0
andypugh look at scooter motors
I have motors on their way (from Thailand) and (hopefully) drives from CA.
scammers often ask to ship to different addresses to the billing address
Yes? Is that so strange?
* skunkworks lives in wisconsin....
My friend is a retired lawyer in Madison. So I suspect you are not acquainted.
The closest he gets to CNC is owning a Bimota (famous for their CNC-milled parts)
I am near lock and dam no. 6. (trempealeau wi)
I looked on google maps. Quite a walk from Madison.
yes - few hours drive
we are closer to the twin cities
Buda and Pest? Ankh and Morpork?
Minneapolis 2013 Saint Paul
any cabinet builders in the room?
anybody know how to get pncconf running?
I just git updated
compiled with run in place
but it cant find it
nvm probably tracking the wrong branch or something
it should be in master
git checkout master
EbiDK is now known as EbiDK|AWAY
AAAARRRRGH. shitty drill + shitty press + shitty vice = shitty hole
+ shitty workman of course :)
things I did wrong 1) used a nail as a scriber 2) used a screw as a centre punch 3) didn't square the piece in the vice 4) didn't square the drill in the press 5) tapped 10mm by hand without checking alignment
first 2 I can't do anything about. cash = 0
MarkusBec_away is now known as MarkusBec
the grub screw was perfect
I'm gonna bolt a big vice to this press. it has plenty of height
my first brass chips ever \o/ we went straight from copper to steel in school
oh no, tell a lie, we made a dinky brass nameplate. sheet work and punches
alex_joni: I've been looking for a simple webcam capture and ftp software for linux but have not had stellar results. Do you know of any off hand? Or anyone else?
I've looked at Motion but only need a simple one I can turn on and off as needed...
JT-Work, vgrabbj maybe?
SWPadnos: I'll check it out thanks
you might even find some scripts on jmk's blog - he used that a couple of years ago to make the "FestCam"
JT-Work: gtk-recordmydesktop works with my hardy emc2 install. low framerates sound like a good idea, but the ogg to mpg dont like it. i think you should keep above 20. dunno about auto ftp but that should script ok.
records gl windows like axis fine
tom3p, I think he was looking for something that would use a webcam and update a web page with image captures periodically
not a screen capture program
camorama has ftp
and theers software that auto detects changes in the view field to trigger the next frame capture/upload ( not good for time delay type stuff, good for surveilance)
does anyone know what he is talking about? http://www.cnczone.com/forums/showthread.php?t=94566
oh - I think I know - he want to drive the h-bridge dirctly from emc.
he may want a 3-phase H-bridge output
but an h bridge isn't enough for a multiphase motor
yeah what he says
PCW: you might want to reply to this... (I know you have talked about it before...)
and of course he needs feedback of some kind
yeah - knowing the commutation is the hard part, from what I hear
jmkasunich wrote the hals for it.. (clarke stuff)
you can generate sinusoidal waveforms - 3-phase even, I think - with those clarke transforms
but I think that's for a standard 3-phase motor
I don't know how that differs from a 3-phase servo though
I know pete had thought emc could handle it - with a 5khz update or something like that.
I don't remember pcb-gcode doing clearing.. (that is one of the reasons why I like the one you guys wrote)
I wonder if it would be quicker to outline the traces once with the clearing mill - then go into a sweep - left to right dropping the bit at each area that needed to be cleared. Kinda like image to g-code.
ok. ;) I just need a faster machine.
I guess I could explain my thought process, couldn't I? :)
na - I trust you.
I was basically thinking that because you have to split every raster move into some number of shorter moves plus Z motion, each line will take longer. Plus, you're moving over area that you don't want to mill, so that's also wasted time
argh. I hate the flu
yes - we had it a few weeks ago. It knocks you out.
unless you keep having to get work done, in which case it knocks you out for longer
we were lucky enough to be able to say 'the hell with it' and stayed home.
hey - you guys went to zLAs Vegas earlier this year, didn't you?
the rasterising program could shorten and miss passes that can be
SWPadnos: yes - (was it this year..) I think so.
did you catch any shows?
No - we thought about going to the Cirque d'Ole but didn't. we did the
travel to the grand canyon and red rock canyon - stuff like that.
(rented a convertable - it was fun)
we finally saw some shows (it was about my 15th time there and I had never seen any)
they were really fantastic
we saw the original Cirque show "Mystere", which was awesome
and "Jersey Boys", which is a play about Frankie Valli and the Four Seasons
we really kept busy - so it wasn't like we thought we missed anything. I think the beatles version of cirque was playing when we where in vegas
which was also awesome
I had a chance to see that last February, but I decided to visit my cousin and have a nice Sushi dinner instead :)
* Jymmm snickers
btw - remember to dress warm going to the grand canyon. (it was funny as we got closer and noticed snow) dawned on me that there was a slight elevation change... ;)
yeah, the north rim is at about 8000 feet elevation
a little out of place in shorts.. (we just said 'we are from wisconsin' and everyone understood. ;)
skunkworks_: dont you you guys have those cheese hats?
I think I'm just gong to stop helping ppl anymore (unless they REALLY REALLY want it), too much drain
the stupidity (not ignorance) is just killing me!
wait - weren't you helping me?? ;)
skunkworks_: I was? with what?
skunkworks_: And I seriously doubt you could ever fit into the stupidity category
;) I have my moments.
Jymmm: you have to triage
cradek: how's that?
skunkworks_: Um, a brain fart is NOT stupidity
do the stupider people go first? Or do you just say 'this one isn't going to make it'?
hm.. is there any way besides a pulse-generator and 'trying out' do find proper timing specs for a stepper driver?
skunkworks_: Just call me Dr. Dvorkian
or the other was around: is a feedrate of 1000mm/min decent enough not to worry any more about optimizing ?
I usually go - set accelleration low. Keep increasing velocity until it starts stalling consistanly - back off 20%. increase accelleration until stalling consistantly - back off 20%
skunkworks: my problem is that i got not specs for my drivers. they do 1 to 100 microsteps per step, config-able via dipswitches. currently i use 10 microsteps
the motors seem to do 200 steps per turn, the ballscrews are 5, 4, 4 mm per turn for X Y Z
the X and Y motors are 3, something NM guessing from size, the Z is 'longer'
the psu does 7.3A on 48V and there are of the em in parallel
about 700W in total
1000mm/min seems pretty fast to me, especially since the table is heavy (something like 40-50kg) and the feeds inside material are much lower anyways, so its only for homing and fast moves
then it sounds like you got it. :)
i am more worried about the spikes in the rtai timing
have you been getting realtime delay prompts?
usually get one error per boot, then everything is fine. latency tester spikes occasionally, but ive never lost steps or so while doing real work
its a via chipset based machine with an extra 2 parports via pci
i feel it got worse when i added that. but have no proof since its not that reproduceable
sometimes i see spurious irq7 action, but thats not clear to me. played around with acpi, but doesnt help. powersaving is disabled
i guess i should invest in a mesa board some time anyhow.
is the video on board?
nope. agp radeon9000
its a duron1600 on a socketA board from msi if i remember correctly. via chipset. never made any trouble
do you have any usb memory sticks plugged in at the time>
are the base addresses of the add-in paraprt card overlapping the video card?
also got a saa7134 on pci afaik (video capture and encoder board)
have you tried disabling the on-board paraport?
Jymmm nope. i use all 3 ports and didnt have any troubles there. different pci regions
no usb memory. keyboard and trackball are ps2 connected
both serials and 3 parports are in use
i suspected pulseaudio, but removing it completely didnt make any difference so far
you will only get one prompt per emc boot. (if you read the prompt it tells you that it will only show once)
well... in the end using parports will be futile anyhow since new boards sometimes have no legacy ports anymore at all.. i guess putting a 100E on a mesa partport/usb board will be best
skunkworks_ ah.. ok.. i thought its once per invocation
i sometimes have the suspicion it has to do with disk-io, but i havent got a way of prooving it yet
doesnt make a differnce how loaded the box is
does the count of used io in emc make any difference? i mean one parport vs 3 parports?
i got 7 encoders in total on the other 2
roh, it takes some time to talk to all those ports
hm.. 3 pci mmio accesses per port, right?
[17:24:03] <roh> http://yamato.hyte.de/tmp/repstrap/syil_bf20/configs/syil_bf20/
has my config
* roh wants real feedback from the table at some point anyhow, so i'll guess as soon as i want encoders or linear encoders on the 3 axis i will need mesa hw anyhow
Anyone resolved situation of homing axis on index with a gear on it?
resolved without additional encoder on axis
what's the issue?
eric_unterhausen: I just realised how to resolve my issue (sorry for bothering) ;)
(sometimes it is good saying problem alaud)
thats the debug-teddy phenomena.
resolving a problem by only reformulating it so another being can understand it. (and thus thinking about it from another angle in the process)
in addition in another language ;)
now somebody tell me why my drives don't answer the phone :(
the good thing is I was playing around with the communications software and found out that they had published the communications protocol
the bad news is that the documentation for the protocol is only found in a windows help file
you have to download the software and install it to get the help file
eric_unterhausen: Do you have the file?
I could get it,
is there a help file reader for linux?
eric_unterhausen: toss it on http://filebin.ca
ok, I'll go get it
there is chmsee
[17:58:17] <eric_mill> http://filebin.ca/ujjay
would be nice to have a linux version of the setup software
try it in wine
SWPadnos: I just read the vgrabbj and that might work for me... I'll give it a try this evening
thought about that
eric_unterhausen: can't open that file
that didn't work at all, smell of burning electronics
I guess it's time to gut the control cabinet again
advice in the manual should just be "bend over"
Any opinions on a sensible time constant for a PWM-voltage convertor?
depends on the pwm frequency
Currently I am using 200Hz PWM for the VFD control, but with servos on the way and a 7i43 that can do MHz I am thinking of going higher
I am guessing that PDM makes more sense, being faster and lower CPU overhead?
if your using mesa - you don't have to worry about the overhead...
But I am guessing (and it is a guess) that a MHz PDM will be more stable and more responsive than a kHz PWM?
what does the drive want?
ah - so are you using a simple r/c circuit before it?
I currently have an opto-coupler with precision current source into an RC network.
So "Yes" but with slight elaboration
heh - don't want to spring for the mesa servo interface? (gives you analog out... )
When I bought the Mesa I hadn't just found two servos cheap.
Also, the drive is 0-10V + direction, not +/-10V
Sorry, 0-5V + direction.
ugh this servo swap is getting to be expensive
i found a guy that has the same machine i do but with servos, and he'll sell me everything i need for 1600
it's got resolvers, but he said he'd give me encoders for it
Why not just swap machines?
thought about it
he waants 2500 for it
but then i'm still stuck with the resolvers so that's another 500 for the pico boards
To buy outright, or to swap?
to buy it
has a bandit control on it now
It isn't a completely working system then?
Yeah, I was typing as you mentioned the Bandit
problem is i'm out of room
i have 10 tons of equipment in a small 2 car garage
another 3 tons and i think my slab will cave in and end up in china lol
I only have a 1-car garage, which is partly why my machine is a cheap chinese toy. ]
you saw the pictures of my mill, right?
it's close to 6000lbs i think
I will take the spare off your hands, if you deliver
(I could pretend that was Upper Kentucky until you commit to the idea)
kentucky is a couple thousand miles away
i'm in southern california
It just seems a bit daft to pull all the parts off of one machine and then bolt them to another.
i dont have the money or room for the second m,achine
And what does he imagine he is going to do with the stripped machine?
plus i have a toolchanger on mine, his doesnt
Which machine is in the better condition?
probably about the same
mine only has .0017" backlash
which isnt too bad IMO
yea, in the x
could be in the coupler too
i had new prototracks that had .007"
.007 on a ballscrew means it's defective or totally ruined. .0017 is pretty bad and needs serious investigation IMO
it's a hefty table, it could be in the couplers
rubber could be a little broken down from 30 years of use
Could also be the thrust bearings need adjusting
there is rubber in the couplers, but i havent investigated too much into them
Spider couplings, I assume
thrust bearings have never been touched, i'm sure
not entirely sure andy
so you think i'm crazy for stripping down that machine?
Do they look like this? http://www.mcmaster.com/#shaft-couplings/=4rd4zf
1600USD for servos and drives?
It saves moving the other machine to your workshop and your machine to the scrap. If you can shift the motors etc in a car then that is a big cost saving
that price sure sounds a little on the crazy side to me
they dont look like anything in there andy
complete machine, working, MIGHT be worth that
if he's scrapping it, he knows scrap value with/without motors is the same
servos, drives, encoders, power supply, cables
Yeah, it all adds up. And you know all those parts work together.
and all the brackets/motor mounts for my machine
you know they workED together before he stripped it
can you go do the disassembly yourself?
That too :-)
i know the previous owner of the machine
the guy who has it now is a machinery mover
i could strip it but he's probably better at it than i am
plus he'll warranty it if it doesnt work when i get it
$1600 is <£1000 I can see even eBay parts reaching that level pretty quickly. Once you add in the couplings, connectors etc it probably makes sense.
i cant find much cheaper
the longer i wait, the more money i loose
Only 603 Bahrain Dinars. A bargain.
and if i have to spend a week fabbing stuff up to get it to fit, that'll cost me a bit
i know another guy locally selling some mitsubishi drives and motors, but he doesnt know much about them and i havent been able to find any info on them online
Ooh, even better: The price is 455 Kuwait Dinars. That makes it sound a lot cheaper.
the us dollar is worth less than a kuwait dollar??
Yup, $3.5 = 1KWD
our country went down the shitter
The £ UK comes in a lowly 5th on the worlds big currency list, behind Kuwait, Bahrain, Oman and Latvia.
danimal_garage i know of friends who basically financed another week of stay in the us by shopping the notebook there instead of at home
euro vs usd
usually that doesnt make it worth... atleast for most goods.
Yeah, generally for computer stuff the UK price == the US price, despite the fact that the £ is 1.6$
e.g. when buying consumer electronics in taiwan, one only saves whats less on taxes. they got 5%vat, we got 19%
i know shopping in mexico doesnt save you anything
roh you are from germany?
still its too much hassle to be worth it, especially since we got evil nice customer laws here
means 2 years warranty for end-consumers
on anything which is not 'wear'
ah wir haben schon zusammen geschrieben^^
ok i gotta get some work done, adios
roh: I have almost my EMCRepStrap wokring, however there are some probelms and with EMC2.... I get this line on a .skf file: M108 S6.136
eek. what should it do?
i means.. S6.136 doesnt sound like a temperature
roh: but I see on EMC2 program list instead: S6.136
M108 is a custom m-code
in that case, M108 will put the motor speed on extruder of 6.136...
s is for spindle speed usually... which is weird
custom M codes in emc2 take P and Q arguments, not S
my EMC2 controls correctly the heater tem, but do not start the motor :-( -- all seems ok but just not motor start...
[19:58:35] <cradek> http://www.linuxcnc.org/docs/devel/html/gcode.html
[19:58:39] <roh> http://yamato.hyte.de/tmp/repstrap/syil_bf20/nc_files/README
thats the m-code spec i worked at
cradek seems reprap violates some of the ground-rules.
M108 takes a P value as parameter for temperature in deg celsius
roh: you also have that M1xx executable files, right?
its also in the tarball i linked to
I also have, and the M108 is never executed :-( that's why my motor do no start :-(
M104 does the same, but not wait
motors are not controlled with m104 at all
roh: I was seing your files, I can't understand how you control extruder temp and motor speed...
Casainho i set values in emc2 hal via halcmd
the readme is the interface spec. the M-files are shellscripts called by emc
actually they are symlinks to shellscripts
but that doesnt matter
roh: well, later I will try to understand your system.. because the one I am working on looks very different approcach
roh: can you guess my problem? why I have on the .skf file the line: "M108 S6.136" but I see on EMC2 just "S6.136" ?
dunno. do you have the m-code scripts installed?
or atleast stubs
i havent played around enough with skeinforge yet.. so i dunno exactly
i guess some of the output needs to be fixed
I already saw on my python M108 file that is never executed, while others like M109 and 110 works...
roh: but why EMC2 changes the gcode?
are the files properly capitalized? (ie, M108, not m108)
Sam Wong made a script file that changes skeinforge output files...
Casainho can you pastebin your .skf somewhere?
roh: it's the mini mug: http://pastebin.com/m5c6dbff9
SWPadnos: yes I have...
SWPadnos: I even don't get any error from EMC2... today I didn't had one of that files as executed and I got an error everytime the fle got called...
OK. just a thought
Casainho i think all 'Sxxx' behind a Mxxx should be Pxxx
and M108 should get a proper temp.
roh: well, that scheme of S works at least for heater... because at start, the EMC2 waits that heater gets the proper temp before starts printing...
since a M104 S235.0 follows... one should exchange the 2 lines for one which says 'M108 P235' which does the right thing. heat to extrusion temp and wait for it to reach it
Casainho you forward the commands to the serial?
roh: yes, the commands go to serial... and AVR on extruder interprets that values...
can you give a look at this sreenshot from EMCs?
[20:17:29] <Casainho> http://www.flickr.com/photos/43558168@N00/4153144661/sizes/l/
you will see that at line 36, the "M108" is missing to the original "M108 S6.136"... why?
i think your file is via that spec: http://forums.reprap.org/read.php?1,12143
M108 - Set extrusion diameter.
M109 - Set extrusion width.
M110 - Set layer thickness.
M111 - Set infill bridge width over thickness.
so all these m-codes mean nothing to the extrusion process, they are only for the cam chain.
the M108 i speak of is by a (afaik) newer spec. which version is your skeinforge? could it be old?
maybe no, because M108 is as comment on python script:
elif mcode == 108:
# Set future extruder speed
# Won't take effect until next M101/M102
which python script?
roh: I simple asked for a .skf file that Sam Wong printed... I didn't pass that file for skeingfogr... I got that file by e-mail, and printed was like this: http://picasaweb.google.com/sam0737/HRepStrap#5386947883791027650
[20:24:24] <roh> http://reprap.org/bin/view/Main/MCodeReference
the python script is a bit big, but you can find there the M108 if: http://picasaweb.google.com/sam0737/HRepStrap#5386947883791027650
the latter one describes the M108 in a post of brendanjerwin Date: May 23, 2008 09:24PM
I contacted brendanjerwin before I start on this task, he tolds me that he his no more working on this and that his files needs a lot of rework... Sam Wong just made his work on recent months... and looks very complete, however not perfect ;-)
roh: could you saw on http://www.flickr.com/photos/43558168@N00/4153144661/sizes/l/
the line 36 on program?
but as said before. using S and not P is a stupid idea, and the gcode looks like done by 'old skeinforge'
i don't think i got that problem here at all
so why EMC2 shows it like that instead of what is on the original .skf file "M108 S6.136" ????
why EMC2 removes the "M108 " ???
or I am missing something....
(<creator> skeinforge June 8, 2009 </creator>)
EMC2 doesn't edit the gcode
thats what is in my files
look at the same file in a text editor, and you should see the exact same text
hm.. the thing in yours is different #
unless your editor is changing it on you
(<version> 2009-11-09 </version>)
weird... so the newer skeinforge does more invalid gcode? thats bad
I don't care yet about skeinforge, because I have a script to change the output of skeingforge code, to adapt for my EMCRepRap...
well.. then its a question of removing these lines and be done with em
that M108 means something not important to extrusion at all, so remove it.
... could it be a filter on EMC2 changing that line?
no, M108 will set the speed of my motor, and after it my motor will work. My motor do not work now because that M108 is not being executed...
if you have set up a filter for .skf files, then yes, it could be removing or otherwise altering things
oh, so it's that.... I have this lines on EMC2 init: PROGRAM_EXTENSION = .skf Skeinforge Output
skf = /home/cas/emc2/configs/zenbot-emcrepstrap/skeinforge2emc.pl
and the code listing in AXIS will show you the G-code output of the filter, not the input
yep. fix that :)
oh... there is a lot of small files for this project, a lot of diferent scripts...
[20:36:01] <roh> http://github.com/sam0737/hrepstrap/tree/master/hal/
says The scripts has been broken in the last refactoring. for skeinforge2emc.pl
he does something like using the spindle motor control for extruder speed... i guess its more custom than even mine
roh: yes, looks much more complex this work... but I have it almost working :-)
Casainho: nice project.
skunkworks_: yes it is :-) and I think we are already a few using EMC2 for this task ;-)
ok, problem is here on that filter:
if ($1 eq '108')
# Set extrusion speed
print "M108 P$2\n";
the newer config may be using the spindle output as a way of getting nearly-automatic wait for temperature
maybe also print "$1 P$2\n";
there's now a "spindle-at-speed" input, which is fed from HAL
so you can connect that to a temperature sensor or whatever inst
instead of a VFD at-speed output
SWPadnos well.. i have a pid-loop for the temp and use the hal and a shell-loop to wait
no, $1 will just be "108", not "M108"
if that if is correct
SWPadnos: right, it worked with print "M108 P$2\n";
now I have some other problem that is negative speed motor but that I will take care :-)
so, the use of spindle command is for this:
In fact I just made some breakthrough in printing, and did print one
functional object yesterday. (http://hellosam.net/lang/en/post/854)
As you experiment with your system, you will find that invoking the user
script actually results in a great deal of latency, which is not acceptable
with the Extruder On/Off operation. The lags will introduce ooze.
So now I just use the Spindle command as a communication bridge instead. I
also wrote a script to convert the Skienforge output to something that EMC2
can read (like M1xx Sxxx parameter to M1xx Pxxx, and adding those spindle
emergency stop switch
This is driving me mad! I can double click to select a search box, have it highlighted, and still have my typing go into IRC chat rather than the web browser.
im beginning to be sure of a bug with the input to the gui
I see a couple of repeatable bugs, one is mouse hover over a button, you see the button be pressed but the program behind misses it
the other is kb presses being duplicated when the system is under load
what program are you talking about?
the gui in ubuntu not any particular program
hmm, that's gtk, then?
and also on a none live CD box
I was complaining about the GUI in MacOS 10.6
could be related as mac has a stolen bsd iirc
I had a bad case of key repeats at particular time during a mysql build and test , we changed the thread setting yesterday and no fault today
I think I have just about got a repeatable test case, but its hard pinning it down
I think people blaming keyboards may actually be hitting this bug
Am I right in thinking that any pin on a 7i43 or 5i20 can be configured as either an input or an output?
except of course pins that are configured for use in advanced functions, such as stepgens, PWMs, and encoder inputs
I am mainly wondering if I am missing something, prompted by the chap on the mailing list with 2x5i2 and 4x7i43 for a 3-axis machine
i thought i went overkill with 1 5i20
i'd be pretty satisfied with 1/3 5i20
336 pins and wondering how to wire a multiplexer for his remote pendant.
to think someone needs two..
i use one 7i42 on my 5i20 and that's it
and barely any of that is even used
he has 2 5i20, that gives 144 pins
i just ordered a 7i33 and a 7i37 so i'm pretty excited to get those going
which is way more than he probably needs, but far less than 339 :)
Plus the 4 x 48 from the 7i46?
if i ever find reasonibly priced servos
no, those are 7i37 cards, the I/O daughtercard
i wonder if one could use an avr microcontroller and some hal module to do something similar to the mesa cards (realtime hw foo)
not the 7i48, the parallel/USB card
Ah, I am talking rubbish then.
would be self-Ãbrew-able and could use some arduino pcb or so for the people who cannot solder
roh, not very easily
USB won't do it
I best head back there and admit to my error before it is pointed out to me.
so you need serial or parallel, and serial is probably too slow
unless you can do 921.6Kbaud
SWPadnos sure.. parport would be my choice then. but counting some pinwiggles for encoders and put out pwm in hw is easy
and maybe even then
it sure seems like it should be :)
depends on the clocks. measuring up to 1/4 of the cpuclock can be very accurate when using hw-counters in there.
PWM would be easy with almost any Mega AVR
and they to 20mhz, so measuring uo to 5mhz with a few ppm accuracy is possible.
stepgen is a little harder, and encoder counting is also not trivial (but still easy) if you want to catch error conditions
sure, I just made 2 designs with the mega644 at 20 MHz
encoder counting is something to be done with pin-change irq i guess.
or the xmega, which can do quadrature with that weird IRQ routing infrastructure
didnt check that yet.. xmega is a bit new yet. not easyly available everywhere
what's interesting is that you don't actually gain any I/Os (though you do gain functionality on those I/Os) until you get to the 64-pin chips
the parallel port gives you 17 I/Os, almost all (or possibly all) of which need to be connected to the PC for parallel communications with the PC
so you are left with 15 or 18 I/Os on the 44-pin chips
SWPadnos not gaining io, but less pc-timing dependancy
and for only a few bucks.
I think you still need a 64-pin chip to make it really worthwhile
well, not just a few bucks when you buy the IC, the PCB, the crystal, the connectors, the caps, and the programming kit
not to mention the I/O terminals
SWPadnos the whole modules are avail as arduinos for 15-50E
sure, but you still need a carrier PCB with I/O terminals
and 50E is $75, which is darned close to the cost of a 7i43
isnt that individual anyhow?
i mean.. the mesa stuff is also in need of shitloads of external pcbs and wiring
for the do-it-yourselfer, it's a fun project. for someone trying to save some money, it's unlikely to be worth the effort
and 99E is only the cheapest board
some, that's true
err, $89 or $99, nodollars, not euros
manhattan style PCB!
so instead of 99-300E for the mesa board + 100Ã E for output modules... it would be something like 150E in parts including a premade one
You need wiring anyway, but I am expecting to wire the 7i43 direct to the stepper drivers, only buffering the relay drivers (and that is only one ULN2003)
SWPadnos the cheapest ive seen mesa around here was around 100E from austria.
I suppose with shipping and VAT it gets up there
$86 direct from Mesa.
they sell direct though
+VAT on arrival, but no customs charges
SWPadnos also warranty. its 2 years limited warranty by law in europe
And it just works. EMC has the drivers pre-installed.
If it shipped from Eu maybe
no, european laws are sometimes stricter than here
you aren't allowed to ship into the EU unless you comply with CE/RoHS/WEEE/whatever
you can't enforce a EU law in US,
sure. just thinking of what is possible/makes sense with emc. and arduino is much more avail than mesa for sure
would be a future project for sure
SWPadnos: I dont ship internationally anyway
Jymmm, you can seize the goods at the border though
SWPadnos: That's the buyer's responsability
private shipments into eu are mostly less problematic
I do. Mesa card from Mesa, servo drives from eBay from California via Wisconsin and servo motors from Thailand. I have bought a fair bit of stuff direct from Hong Kong too.
which, foran upstanding company that wants the business (andrepeat business), means complying with the laws
no, it is clearly not
but you wouldnt get warranty or anything in the end, and shipping costs are high and it takes time
SWPadnos: Under my TOS, Yes, it is.
well, I wouldn't buy from you then :)
and yes.. somebody collects vat on recieving the stuff, so the papers need to be done correctly
SWPadnos: then i won't ship to your international country!
well OK then
SWPadnos: For you... PICK UP AND CASH ONLY, NO REFUNDS, NO EXCHANGES, AS-IS, FOB
Except when (as is the case with my servo drives) they are going to a US address then coming over in airline baggage with a friend.
or evening, whatever
my steppers have 6 wires, whats the best way to wire it considering my machine is pretty massive and i'm losing step
Bipolar is twice the Oomph
And Bipolar parallel will give you more speed for the same voltage, if your drivers can handle it.
you need 8 wires for bipolar parallel
ok i might have them unipolar
with 6 wires you can't put the coils in parallel. best way you have available is to use a bipolar wiring, ignoring the middle wire of each triple
(Ah, 6 wires? Has to be series then)
crappers i think thats how i have them
Sorry, I can't type and think
i was hoping for a cure
Is it missing steps at high speed or high load? I assume high load, as at high speed they tend to stall and sing
whats the best way to figure out if i in fact am leaving out the middle wires?
under load i believe
DC resistance will do. There will be obvious triples, and you want to wire across the highest resistance pairs. Leaving out one end would be wrong.
actually, you can run coils effectively in parallel with 6 wires with proper electronics
It is less obvious with 8-wire, you can wire in opposed series. You get voltage, and currrent, but no torque at all. (The datasheet was wrong, so it took me a while to figure it out)
hmm ok thanks for the help, i'll try and figure it out
Easy enough to test. Join the ends of one set together, and apply a current from the ends to the middle with a current-limited bench PSU. If you get any holding torque at all, then you can wire that way. Though it won't help with low-speed torque for the same driver current
i need to wait untill i'm in between setups before i can do that
Are the motors direct-drive?
Adding a toothed belt ratio will help.
wont i loose top speed?
i already max out at 80-90ipm
Probably, but maybe not.
before the motors stall
It depends on the slope of the speed/torque curve
If it takes 1 Nm to move the table at 90ipm and your motors make 1Nm at 500rpm and 0.5Nm at 1000rpm, top speed stays the same
i'm assuming it's wired correctly, it's wired the same as the original drives
If you have a problem, then that might be the time to stop assuming
You could try more current. How hot do the motors get?
nothing that concerned me though
they get warmer if i have it holding at max current
which i do
I think motors are rated to something surprisingly high, 100C or so.
100c is pretty toasty
neodinium magnet based ones will demagnatise around there
i'd guess "pretty warm" is something like 50-60°C
they're about 34c
Curie temperature of Nd magnets is at least 300C
if you say so
I cheated. http://www.mcmaster.com/#shaft-couplings/=4rd4zf
I meant http://en.wikipedia.org/wiki/Neodymium_magnet
opps i had holding torque at half current
misread the label
regardless, it still has issues since i just switched them recently
That shouldn't matter when moving though
well it just means they'll get about 10-20f warmer
Servos. You know you want to
but i cant find any for cheap enough
it's gunna cost me nearly 2k no matter what it looks like
Demagnetization : Rare Earth magnets have a high resistance to demagnetization, unlike most other types of magnets. They will not lose their magnetization around other magnets or if dropped. They will however, begin to lose strength if they are heated above their maximum operating temperature, which is 176°F (80°C) for standard N grades. They will completely lose their magnetization if heated above their Curie temperature, which is 590°F
I wonder what the mechanism is there then? I (naively) thought that Curie temperature was all that matterd
I just know that the cheaper ones if you hit ~100C demagnatise and dont come back
80°C is usually the maximum operating temperature of stuff using neodymium magnets
(As an aside, curie temperature is how those tip-controlled thermostatic Weller soldering irons work, the tip curie temp is carefully set by alloying, and then when the temp is high enough it releases the magnetic relay)
but i guess steppers don't usually use those?
they are probably using slightly higher temperature grade ones
From that wiki link.
Neodymium magnets have higher remanence, much higher coercivity and energy product, but often lower Curie temperature than other types. Neodymium is alloyed with http://en.wikipedia.org/wiki/Terbium
in order to preserve its magnetic properties at high temperatures.
ok terminals 1,3,and 6 have about 0 ohms
and same with 2,4, and 5
I think I am confusing Curie temperature (the point at which a material ceases to be magnetic) with the temperature at which a magnet loses its magnetism. I am not half as clever as I pretend to be, you know.
dammit so now what