#robotics Logs

Oct 09 2017

#robotics Calendar

12:08 AM rue_house: new box altogethor
12:11 AM rue_house: for a new or the really old machine
12:26 AM rue_house: biab, kernel module problems
12:58 AM rue_shop3: ffffffffffffffffff
12:59 AM rue_shop3: what idiot decided that loading every ************** kernel module was a good idea?
01:07 AM rue_shop3: http://4.bp.blogspot.com/-57TnAdgLBTY/TcloKc7bGkI/AAAAAAAAASk/TYCudsb7Mus/s1600/dc-motor-speed-controller.jpg
01:07 AM rue_shop3: uh
02:56 AM rue_shop3: hmm, how can I turn a value in to a freq
02:57 AM rue_shop3: as the value goes up, the freq goes up
02:57 AM rue_shop3: sounds like delay(k-n)
02:57 AM rue_shop3: I suppose there is a conversion constant anyhow
02:57 AM rue_shop3: min and max freq
02:59 AM rue_shop3: Tom_L, do you ever 'dial a distance' on your cnc pendant?
02:59 AM rue_shop3: or you just turn it till the machine is where you want it
03:01 AM Jak_o_Shadows: what about just different step sizes?
03:01 AM rue_shop3: well
03:02 AM rue_shop3: the idea thats just come up is to use a dc motor as a dial for a pendant
03:02 AM Jak_o_Shadows: The Boeing CST-100 space capsule uses impulses of fixed size
03:02 AM rue_shop3: taking the voltage from the motor and getting a number is easy
03:02 AM rue_shop3: so then I need to convert that to a "step rate"
03:03 AM rue_shop3: the problem I'm having is grasping what range of freq I want
03:03 AM rue_shop3: I have a real problem properly working out how fast someone can spin a control wheel
03:03 AM rue_shop3: I'v underestimated a few times now
03:03 AM Jak_o_Shadows: Probs shoul dput a limit on it anyway
03:04 AM rue_shop3: I"m running at 19200 baud
03:04 AM rue_shop3: I'm sending 1 character
03:04 AM rue_shop3: 1920 steps/second
03:04 AM rue_shop3: resolution is...
03:08 AM rue_shop3: 100ppr
03:08 AM rue_shop3: so, thats 2rev/sec
03:08 AM rue_shop3: no
03:08 AM rue_shop3: 19 rps
03:08 AM rue_shop3: 1140rpm
03:08 AM rue_shop3: no I have quadrature decoding
03:08 AM rue_shop3: so 400pps
03:08 AM rue_shop3: 5rps
03:08 AM rue_shop3: 300 rpm
03:09 AM rue_shop3: but wait
03:09 AM rue_shop3: I missed my stop
03:09 AM rue_shop3: the point is, at max speed I want 1920 pulses/sec
03:09 AM rue_shop3: which is about 4V
03:10 AM rue_shop3: no, it'll be 2.5V, cause I'm centered on the rails
03:11 AM rue_shop3: so
03:11 AM rue_shop3: lets say I have a dead zone of 12
03:12 AM rue_shop3: so if I round off 1920 to 2000
03:12 AM rue_shop3: then 500 counts is 2Khz
03:13 AM rue_shop3: na, round the other way
03:13 AM rue_shop3: 500 counts 1500steps/sec
03:13 AM rue_shop3: factor of 3
03:13 AM rue_shop3: so
03:13 AM rue_shop3: 1 count is 3 something
03:15 AM rue_shop3: I need a min freq
03:17 AM rue_shop3: 1 sec/step is way too slow
03:17 AM rue_shop3: 4hz maybe
03:18 AM rue_shop3: ok
03:18 AM rue_shop3: so, a 16 bit counter will roll over at 4Hz if clocked at a rate of _____________________
03:19 AM rue_shop3: 262Khz
03:20 AM rue_shop3: each clock is ________________ us
03:21 AM rue_shop3: 3.8us
03:21 AM rue_shop3: 1500hz is __________us
03:21 AM rue_shop3: 667
03:22 AM rue_shop3: top speed is a value of 174
03:23 AM rue_shop3: so the values go from 174 to 65536
03:23 AM rue_shop3: delta is 65362
03:24 AM rue_shop3: and I need to split that over 500 speeds
03:25 AM rue_shop3: as a copout, I'll use the map function
03:25 AM rue_shop3: 0-500 65535-174
03:31 AM rue_shop3: only 1am, but I'm too tired to code this
03:48 AM drekipus: get some proper sleep
04:53 AM new: hi
05:16 AM drekipus: guys
05:17 AM drekipus: I've found it
05:17 AM drekipus: I've found the intense desire for a goth gf
06:41 AM Tom_L: rue_shop3, you can 'dial a distance' with MDI input but if i'm using the pendant it just moves along with it
06:42 AM Tom_L: the thing about the pendant is it moves a known distance for each 'click' so sometimes i count clicks as i go and i don't have to keep looking at the screen
06:50 AM deshipu: all this jewelry talk
01:23 PM rue_shop3: RPM meter says that a knob can be spun upwards of 1200rpm
01:23 PM rue_shop3: Tom_L, hmm
01:36 PM SpeedEvil: Depends on the shaft diameter I guess.
01:36 PM rue_shop3: thats a 2" wheel
01:36 PM rue_shop3: spinning it
01:37 PM rue_shop3: not just turning it
03:49 PM Tom_L: there's a function on mine that if i spin it like you say, it will remember the counts and execute them all even if the feedrate isn't as fast as the spin up to the point that it reaches the axis limit or end of counts whichever comes first
03:50 PM rue_shop3: so it buffers it up on ya?
03:50 PM Tom_L: yes
03:50 PM rue_shop3: aka you stop the knob and it keeps going?
03:50 PM Tom_L: gotta be careful with that on a coarse jog setting
03:50 PM Tom_L: yes
03:50 PM rue_shop3: :/ I would't like that
03:50 PM Tom_L: up to the counts you asked for
03:50 PM rue_shop3: I think the old mach3 do that, the wireless ones all over the internet
03:50 PM Tom_L: it's how the big ones work
03:51 PM rue_shop3: mine are realtime
03:51 PM rue_shop3: the step sizes aren't large enough to overrun it
03:51 PM Tom_L: as an operator you are supposed to be more responsible than spinning it like a kid's top
03:51 PM Tom_L: i have 3 step rates on my MPG
03:52 PM rue_shop3: were talking the same society that puts a chair on an industrial robot arm and has it throw and flip people around a room
03:52 PM rue_shop3: I have 4 :)
03:52 PM rue_shop3: x1 x2 x4 x8
03:52 PM Tom_L: without the function i described, it will just stop if it can't keep up with the count with the current feedrate
03:53 PM Tom_L: that's called a carnival ride :)
03:53 PM rue_shop3: yea, I increase the step rate when the multiplier is higher
03:53 PM rue_shop3: were also talking the society that puts a sling on the same arm and has it toss fridges
03:54 PM Tom_L: and pumpkins
03:54 PM Tom_L: it's just about that time of year again..
03:55 PM Tom_L: https://www.youtube.com/watch?v=xCktTFsh1Ng
03:56 PM Tom_L: just finished building a toy box for my niece's kid
03:57 PM rue_shop3: :) a simple project every so often is nice eh?
03:57 PM Tom_L: yeah
03:58 PM Tom_L: hope it'll fit in their car
03:58 PM rue_shop3: heh
03:58 PM Tom_L: they live in Ga and are coming up to Ks for the shower
03:59 PM Tom_L: we're flying down there next month some time
03:59 PM Tom_L: .... don't panic if you miss me :)
04:01 PM rue_shop3: ah right
04:01 PM rue_shop3: np
04:01 PM rue_shop3: what your checkin time then, 3 mo?
04:01 PM rue_shop3: :)
04:02 PM rue_shop3: good to know your getting out :)
04:03 PM rue_shop3: ok, this thing of using a motor as a cnc handwheel sensor is working
04:03 PM rue_shop3: the values are nice, I just need to convert them to a freq
04:04 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/temp/toybox.jpg
04:05 PM Tom_L: gonna paint it i suppose
04:05 PM Tom_L: not by my choice
04:08 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/temp/toybox1.jpg
04:08 PM Tom_L: had to model it first though :)
04:11 PM rue_shop3: nice
04:12 PM rue_shop3: is the front t&g or formed ply?
04:12 PM Tom_L: took a bit to remember some of it since i don't use it that often
04:12 PM Tom_L: t&g
04:12 PM Tom_L: wainscoating
04:13 PM Tom_L: the model doesn
04:13 PM Tom_L: 't have the handles either
04:14 PM rue_shop3: yesterday I made quick and dirty storage boxes, 14 of them
04:14 PM Tom_L: i suppose i should add those
04:14 PM Tom_L: wood?
04:14 PM rue_shop3: yup
04:14 PM rue_shop3: I still have material left for more, thought I might run it out
04:14 PM Tom_L: hope that fits in a honda civic coupe
04:15 PM Tom_L: that's what they're bringing down
04:19 PM Tom_L: s10 still running?
04:19 PM Tom_L: the kid that bought mine wrecked it
04:19 PM Tom_L: i was kinda sad
04:20 PM rue_shop3: :/
04:20 PM rue_shop3: yea, I still have mine
04:22 PM Tom_L: if it wouldn't cost an arm and a leg i should send you these books
04:30 PM rue_shop3: hmm
04:31 PM rue_shop3: wanna see what its worth, usually expensive as they are heavy things
04:47 PM Tom_L: can't today anyway. it's a holiday
05:19 PM rue_shop3: I thought we did thanksgiving on different dates?
05:47 PM rue_shop3: GRRR 32 ISN'T an availeble divider for timer 1
06:02 PM deshipu: how about 31.9999999?
06:12 PM rue_shop3: I'd prefer that over 64 :/
07:05 PM rue_shop3: I think I should have used an integrator
07:46 PM rue_shop3: ok, it looks like doing a regular integration of the speed gives ok results
07:49 PM rue_shop3: the encoder I have on the current pendant isn't detented anyhow, so you cant just dial it an amount
07:51 PM rue_shop3: it behaves a bit like a mouse with acceleration
07:58 PM rue_shop3: inductors intregrate voltage as current
07:59 PM rue_shop3: so If I use an LC across the motor, I should be able to watch the current on the resistor and know the integral of the voltage acorss it
07:59 PM rue_shop3: pff
08:08 PM Tom_L: columbus day? heck i dunno...
09:47 PM rue_shop3: heh, technically the truck runs after it starts which depends on if the BATTERY HAS BEEN RUN DRY BY TEH DAMN STEREO AGAIN
10:21 PM Tom_L: got a small continuous drain on it?