Serial is not posible. Unless you write a hal module.
jimbo132: serial is too slow to update an external positioning device at a reasonable rate.
What is possable ( trying to use existing VFD DISPLAYS for XYand Z data)
I don't understand what you're trying to do, can you explain further?
oh do you mean you just want a human-readable display of the position?
I have existing XYXZ displays on my controller that is being replace and I would like to use them. If I can get the data I can use pic controllers to write the data to the displays
ok I see
you will need something that reads the position and sends it to serial, probably continuously and as fast as it can
you can do this in python with emcmodule, or if you'd rather write it in C you could maybe add it to halui
Which one is closer to the Data I am looking fore I do know how to code in "C" Never played in python. Where do I find the source to modify and the makefile to do so?
hmm.. any ideas how to 'dim' a single-phase induction motor fluid pump?
seems i need a VFD for it?!
do they make single phase vfd's? would it be easyer to put some sort of bypass valve to control flow?
Depending on the current requirement look into speed controllers for turntables (yes audio turntables). Not that hard to build.
You can test this with an audio amp with +- 60 volt rails and an audio signal generator
* renesis giggles @ thought of his SL-1200 electronics driving a machine spindle
renesis nooooes.. thats sacrilegious
don't laugh with a small indus=ction motor it would work!
its 40 watts
this type: http://www.tradeindia.com/selloffer/1737612/Single-Phase-Induction-Motor.html
i thought if eventually the electronics of a dustsucker works
Given the choice of 3 phase and a VFD or single phase induction and building your own controller I would go with the 3 phase and buy a VFD.
3phase? nope.. its single.. and has one second to start up with a 2.2uF cap
If you are thinking of a vacuum they are not induction motors. They have brushes so you can find inexspensive motor controllers for them.
When you read the discription below they say it is a 3 phase at 380volts 50hz?
jimbo132 chinese foobar
Me or them........
would halui be the same as hal user_comps?
jmkasunich: Did that $94 mobo/cpu work for you? If so url?
Jymmmm, are you talking about the D945GCLF2?
SWPadnos: no idea
something on egghead
the one he used for the robot?
ok, that's the Intel D945GCLF2
the 2 is important, it means the dual-core Atom 330 version
oh cool, did it have an S-Video output by chance?
no, but I think there's a version that does
it has a D suffix maybe
and thats the board or cpu or both?
[02:03:53] <SWPadnos> http://www.newegg.com/Product/Product.aspx?Item=N82E16813121383&Tpk=D945GCLF2D
oh hmm. maybe the D is without the video output
they work nicely, but don't put them in direct sunlight
which is the one with S-Video?
1st or 2nd?
the second one
no D at the end
you can see the connector between the audio stack and the USB/ethernet stack
I'm not sure what cables you need for that output - it's not the standard 4-pin S-video connector
combined with/for something else maybe?
no idea. I don't have any of them here anymore
the manuals are probably all available online at Intel, they were only provided on CD
and good latency?
from what I hear, yes (in the 6k range IIRC)
I didn't use an RT kernel on the ones I built up
SWPadnos: Ah, ok. Think it would fit (height wise) as 1U ?
probably. the I/O panel is the tallest part
including the stock chipset fan
mmmmh.. wish i could go out and buy a c2d board for emc
they're considerably more expensive
the one we have is fast enough for emc, but i need to do video reencoding on another box
I was able to put together 15 systems based on the GCLF2 for <$300 each, including case, power supply, CPU, memory, and a 32GB SSD (a reasonably fast one even)
SWPadnos: I grabbed a HDHomeRun box. the HW is not too shabby. the software or lack there of for controlling it is Eh
huh. what's the Linux scene like for that?
SWPadnos: you can view Tv on any platform using VLC or any other mpeg2 viewer
it's setup as a PUSH to client thiny
SWPadnos: What I was thinking is using that mobo to control as well as transcode on the fly
I'm not sure the Atom 330 is up to that, but it could be
hm. we just push the video to multicast and go on from there to make this: http://m21.hyte.de:8000/
scaling a 3MP image to ~1.5MP, then cropping it to ~1.2MP, took roughly 1.5 seconds
SWPadnos: you man still imge?
single still images took about 1.5 seconds each
maybe a little longer
but to be fair, a Phenom II 955 could only do a few per second (though that was using only one core)
or maybe 1 core plus something - CPU usage was above 25%, but well under 50%
SWPadnos: so transcoding like that will need what kind or cppu power?
but my understanding is that transcoding is a CPU intensive task, and is generally better suited to specialized hardware
transcoding what to what?
SWPadnos: well sure, but that aint gonna happen =)
a reasonable video card is "specialized hardware" :)
but roh brings up a good point - transcoding from what to what
SWPadnos: 1080 to flv
e.g. the stream posted above is 320x240 theora at 25fps and about 256kbit and was 720x576 interlaced mpeg2 with 4-8mbit and 25fps before.. takes about 70-80% cpu to decode, deinterlace, scale and encode
mpeg2ts to flv
on a c2d running at 2ghz, clocked down dynamically to 1600
means 3/4 of one core busy
the decode and encode didn't run in separate processes? (and therefore on both cores)
deinterlacing and scaling is quite heavy compared to encoding theora.. but thats also very optimized it seems
SWPadnos no, but afaik seperate threads
1080 what? h264? with audio? or iso mpeg4? or vc1? which fps, interlaced or not?... ;)
Jymmmm sdtv has about my ratios also for flv i think.
just dunno if there is a free gst-plugin to generate flv.. but i know fluendo sells some for sure
likely 1080i/30 (or /60 if you want the field rate), since it would likely come from broadcast signals
with 1080 you usually 'use' a normal pc pretty well... i guess thats more domain of highend-boxen, not simple c2d stuff
and almost assuredly not an Atom 330
for sure not even decoding
the chipset has some help, but I don't know how good it is
be happy if the nic is fast enough.. usually they use quite crappy stuff
it's not bad actually
it's even supposed to be gigabit
we got a via rhine and a arl something.. which nboth suck onboard.. used EEpro100 pci cards to fix that.
yeah. this is the Intel 945GMA chipset (I think) - hence the 945 in the name
realtek isnt that bad if its gbit. the 100mbit ones suck tho
it's built into the chipset, I believe
intel gfx should be ok. quite good drivers, opensource, not much trouble. shoult just work
SWPadnos we got a elitegroup atom which has the internal mac disabled since the intel phy is more expensive than a cheap chinese 100mbit chip
this is an Intel motherboard, so it seems unlikely they'd do that :)
like, made by Intel
the chinese one being pci and having mac and phy
seen sick stuff lately
Jymmmm: SWPadnos: you can use standard s-video cables with those connectors. See http://en.wikipedia.org/wiki/S-Video
ah, the extra 3 pins are in the center
about 3/4 of the way down they show a pinout.
* jtr wanders off for some ice cream
* SWPadnos wanders off for some sleep
i need a hd for a new stepper box. the old-ish mobo's are ide. why do i want 100+G hd's if i dont watch movies or store music? is a used 10G from weirdstuff a good idea (8$ ide )?
(mobo wont boot from thumb drive :(
tom3p: there are compactflash to ide adaptors
My experiance with compact flash to IDE adapters is they are not ready for prime time. I used one on a linux box for my lighting system it was hard to setup seems to work. SSD drives are better but the Patriot version that I purchased (16) has a 50% failure rate. I purchaed a SSD ide version for use in my tablet PC works fine but the machine goes away rewiting data and locks up during this period.
I have one for a music-player (using mpd, www.musicpd.org). has been working flawlessly for 2 years now.
since these adaptors are just mechanical (the CF-cards speak ide themselves) it may depend on the card you use, though.
I think part of the ide to CF setup issues has to do with the age of your machine and bios. I was working on a PC104 embeded machine 500MHZ. Even my VIA board 2.5 yrs old had issues with the IDE/CF setup.
mine is working with a 3 year old via epia (533MHz)
since the CF-Cards are supposed to speak ide, I can't imagine a way to get incompatibilities except (a) the card is not speaking ide or (b) the systems harddisk driver has problems with the different timing from moving disk drives to flash drives
jimbo132: what operating system did you use?
I use Suse linux 9.0 for my lighting controller and I was using DOS on the VIA.
Is it possable to move the grafix display area in axis to a second monitor or a second window?
[Global Notice] Hi all, it appears we're experiencing some issues at the data centre of one of our sponsors. We're waiting on further information and apologise for any inconvenience caused. Thank you for using freenode and have a good day.
can someone that knows more than me check the spindle feedback example to see if it is correct? http://www.linuxcnc.org/docview/html//examples_spindle.html#r2
BJT-Work: your example has counter and non-counter modes confused
I recommend the example not being counter mode
so, three parport pins to a,b,index
BJT-Work: "Spindle not turning in G33" is probably caused by not having Sxx M3 in the program
so for spindle feedback it should be setp encoder.0.counter-mode 0?
that's the default, so you could just take it out
[13:50:29] <skunkworks_> http://www.electronicsam.com/images/house/enclosed.JPG
[13:51:08] <skunkworks_> http://www.electronicsam.com/images/house/PICT1656.JPG
skunkworks_: neat, what a milestone
what are all the cars doing in there?
* BJT-Work switches to dos
never understood the chipboard on US houses
Oriented strand board.
US houses dont have the lifetime of the rest of the world
I heard it was a stiffening thing?
what do you guys use?
here I think people typically put metal straps diagonally from corner to corner
nailed on to each of the uprights
then some sort of fiberboard?
fiberboard or cladding for a spaceframe house
or brick veneer, which has always seemed like the biggest waste of time ever lol
its a spaceframe house with a non structural single course of bricks over the outside, its almost as hard as building 2 houses
the OSB is probably better in the snow/freezing temperatures, we don't often have days that stay below freezing here
that is done a lot here.
(well most of here anyway)
It seems like it'd just be easier to do double brick and stick a roof on it
we have frost down 4ft here
ey heres a question, I'm on clay here and we get big droughts and then big rains so the house "surfs" a bit, I imagine frost is worse?
yes - if you set it on the ground. (called a floating slab)
but if you put footings down - nothing moves.
I was pondering an automatic house leveler type thing for houses on piers
the footings for the garage go down 4 ft
ahh, the clay is 20-40 meters deep here ( i believe) which would take the edge off
probably more stable the further down you go i spose
some insulation and piss the cars off and it looks like a good place to hang out anyway ;->
our other house was on red clay. footings down to the frost limit also.
I don't think it moved ;)
although I don't think we get the rain you do.
heh rained at my mums place the other day
first time in 18 months
you have a rainy season though - right?
she was a week away from ordering a water truck
up north it rains
I'm further south than that
Tasmania (the little triangle bit at the bottom) is more like england
Heh hows my luck, I was at woomera (rocket range, its about the size of england(the country)) which is in the simpson desert, I get there to launch a payload on an old airforce rocket and it pisses down rain for 24 hours before the launch
Sydney (where I am) is fairly clement, 46C+ summers though
What would you build you "money is (almost)no object" house out of
oh yeah and council regulations can get stuffed
oh good idea though
(sparkfun that is)
Normal framed but plywood and 2X8 walls. 1 inch of foil faced foam on the outside and 8 inches of fiberglass on the inside for walls. More on the ceiling. I also like the basement blocks that are foam and you fill them with concrete.
off the top of my head
so loads of insulation then ;->
we use bricks over here
I like heeble(?) aerated concrete,
probably 50-60cm walls for good insulation, and extra polystiren on the exterior
I want to have a water cannon mounted on the roof with a camera on it to aim with as well, so when birds come at like 9:00 They can be blasted off the roof before they land on the awening and wake me up
... because water cannon are so quiet
come in handy when the bogan over the road decides to do wheeleys on his dirt bike for hours and hours and hours
they are only noisy once and its kinda like rain ;->
big pressure tank, think industrial super soaker
that might be OK
I was thinking of the high pressure hoses we used to clean tanks
after they had been driven around in 4 foot deep mud
Oh i had an inch bore in mind on the thing
~400PSI or so
[#emc] "This is the #emc channel - talk related to the Enhanced Machine Controller and general machining. Website: http://www.linuxcnc.org/,
wiki at http://wiki.linuxcnc.org/"
[17:46:37] <Jymmmm> http://video.telegraph.co.uk/services/player/bcpid1137883380?bctid=1657909896
hello, I'm using EMC with a Sherline CNC system. Using the Tcl/Tk 3D backplotter Copyright 2003. I'm using a 4th axis = "A"
backplotter plots this as rotation about the X-axis, but my rotational 4th axis is around the z-axis
I tried editing the .ini file and even editing the "mini" script to change "A" axis commands to rotation about the z-axis, but it messes up the other plotting functions
When I configure my ini file to use AXES X Y Z C then the program does not sucessfully launch (trying to configure the 4th axis as rotation around the Z-axis)
does anyone have any suggestions?
thanks very much for any ideas
are you using EMC1 as distributed by sherline?
I believe so -- it is indeed the installation distributed by sherline -- how can I verify the version?
(thank you for your reply as well)
my suggestion is to start at linuxcnc.org, get the EMC2 distribution CD, and install that
then, we can be more help here
Sherline have not kept up with the EMC project. They are many years behind and this makes it hard for us to support their customers.
is there a way I can verify my installation version now -- it is possible I am running EMC2 (thank you for your comments as well, I understand your comment there, and if it is indeed and old version I will update)
in EMC1 I don't think you can have only the axes X,Y,Z,C. I think you had to use them in order. But my memory is fuzzy, it's been a long time :-)
maybe at a shell, dpkg -l emc
today we have Help/About on the menu that gives this information, but I don't think you will have that
ah, ok, yes Help/About just gives the copyright / backplot info I mentioned above, and the dpkg command gives 1.0-51 as the version. This answers the question. Thank you very much for your assistance.
We can leave here for now. Thank you again. But, if you have any thoughts about how I might have continued to edit the 'mini' script to swap the axes more successfully (I switched the rotation/translation for A/C axes, but then it interfered with all other plotting in the backplot window) I would be interested to hear. Thanks again.
You're welcome, please ask more questions if you get stuck upgrading.
sorry, I'm not familiar with mini. In AXIS you will find that it has support for all sorts of machine geometry that mini did not understand.
Guest541: have you seen the axis interface in emc2? It preview also. Plus you can setup the geometery the way you want. http://www.electronicsam.com/images/KandT/axis.png
Ah, Ok, Thanks very much. Perhaps I can try AXIS as my viewer and see how that works.
There are sherline configs already in emc2 also. Should get you close.
Guest541: There is a LIVECD of EMC2 that you can just boot from, at least for evaluation purposes.
just burn at 4X spped aand MD5 the ISO after you download it
Ah thank you, this is good to know. I can try the LiveCD / EMC2 to make easier to keep my existing install (which works fine for machining thus far) until I commit to the upgrade. Thank you.
Guest541:i have the sherline 5400,it started /w debian 4.something and these great people got me to ubuntu 8.04. and i'll help you any way i can.
darn, he left. but what a nice offer, thanks.
least i can do
jmkasunich: nice mailing list post on belts
I'm working my way through the pyvcp e-stop demo examples and am having some minor problems. Where does the "panel.xml" file go, in the same directory where I'm starting emc, or someplace else?
KimK: in the config directory (alongside the ini file)
That's where I had it, but I may be starting in a non-standard directory, is that OK? (All my ini files know about it, I think.) It's ~/emc2/configs/kjk
The error is: kasuga-01_postgui.hal:6: pin 'pyvcp.py-estop' does not exist
Line 6 of that file is: net ext-estop classicladder.0.in-00 <= pyvcp.py-estop
Wait, when you say "in the config directory", do you mean where my emc2 config files are, or, the directory ~/emc/configs ?
Dallur1: have you been keeping up with the git talk on the developers list? Since you are a committer it would be nice to hear what you think.