#robotics | Logs for 2016-12-02

Back
[00:16:26] <rue_house> did I mention reverse engineering the LM567?
[00:17:09] <rue_house> not at all expected results
[00:17:34] <rue_house> they have verry good misinformation out there
[00:17:58] <rue_house> the engineers were trying to leak info in the app notes tho
[00:18:48] <rue_house> "amplifier" but, its got a fractional gain :)
[00:19:58] <rue_house> quadrature phase detector, but its an XOR gate thats just on a oscillator output that is out by 90 degrees
[00:20:09] <rue_house> instead of the other one thats at 0 degrees
[00:20:35] <rue_house> I'd like to write a software simulator for it
[00:20:42] <rue_house> a software PLL based on the LM567
[00:21:36] <rue_house> did you know a 555 can be an oscillator with just 1resistor and 1 cap?
[00:21:59] <rue_house> instead of using a charge resistor and the disc pin, you use the output pin, with a resistor back to the cap
[00:22:05] <rue_house> its a totem pole driver
[00:22:58] <rue_house> :/
[00:23:04] <rue_house> I still dont know what I want for supper
[00:23:09] <rue_house> other than to not have to eat it
[00:23:45] <rue_house> what can I inject into my bloodstream to just get to skip eating?
[00:24:37] <z64555> nothing like that yet, but there is soylent
[00:24:38] <rue_house> so, a giraffe walks into a bar...
[00:24:48] <z64555> which is a slurry you can drink
[00:25:05] <rue_house> asks why its so low
[00:25:53] <z64555> everyone else just isn't up to the giraffe's level
[00:26:08] <rue_house> someone had to lower the bar
[00:26:53] <orlock> rue_house: TYPE O NEGATIVE HIGH OCTANE!
[00:27:30] <rue_house> hmm
[00:27:46] <orlock> .. seen Fury Road?
[00:27:59] <rue_house> apparently yo be told by blood type I have to donate blood
[00:28:09] <rue_house> no...
[00:28:18] <rue_house> short film?
[00:28:27] <orlock> No, not really, not long either
[00:28:27] * rue_house wants to make a keyboard
[00:28:29] <orlock> but it's good
[00:28:45] <rue_house> if I made a keybaord 10 years ago, I would still be using it
[00:28:52] <rue_house> and I'd have been happy for 10 years
[00:30:13] <rue_house> I just dont like eating, I dont think I ever have
[00:30:27] <rue_house> ugh
[00:31:55] <z64555> You might have not ate any good tasting food for awhile,
[00:32:21] <z64555> (eaten? ate?)
[00:32:24] <z64555> w/e
[00:32:43] <z64555> I had a problem a few years back where I just wouldn't get hungry. Still have that issue but to a lesser extent
[00:33:15] <z64555> Your stomach PH might be out of wack, try drinking a bit of lemonade
[00:34:10] <z64555> well, wait, you said you didn't like eating, not whether or not you were hungry
[00:37:01] <rue_house> system is always upset, being hungry is like a match on a fire
[00:39:32] <z64555> not sure how you mean
[00:42:33] <rue_house> in python, you make things classes to get around variable scopes, eckgh
[00:42:49] <rue_house> z64555, what if I said its a dead mans touch
[00:43:11] <rue_house> match on a fire, dead mans touch, blue on black, tears on a river
[00:43:57] <rue_house> whisper on a scream
[00:44:29] <z64555> nah, i understood that saying as being "pointless," but i didn't under the conext of "system is always upset"
[00:44:38] <z64555> *context
[00:45:24] <rue_house> major tradjedy, I'm out of rice
[00:45:36] <rue_house> how do I go thru 40kg of rice so fast?
[00:45:54] <z64555> b/c its the only thing you cook?
[00:46:28] <z64555> and you may be making inconsistant portions
[00:46:57] <z64555> which would throw off your initial consumption estimation
[00:48:36] * z64555 noms an entire apple
[01:02:44] <rue_house> "what does the program DO tho?" "well, nothing, but thats not the point..."
[01:03:42] <rue_house> :) ok I have a dialog window for selecting and opening a serial port
[01:08:22] <Mindstorm8191> I'll be honest, I don't like eating either... but I'd rather eat than starve, so I eat
[01:12:11] <Jak_o_Shadows> rue_house, what UI program?
[01:15:34] <z64555> Seriously, have none of you enjoyed a club sandwich with a dill pickle garnish?
[01:19:58] <rue_house> tk
[01:20:01] <rue_house> python
[01:20:25] <rue_house> I'm writing a program I call "Tape Runner" for spooling to grbl
[01:20:59] <rue_house> I wont say it'll be "the best", but I'm putting in some features I want
[01:21:07] <rue_house> like seeing the commands being sent
[01:21:25] <rue_house> and being able to filter the speeds or otherwise realtime change the feed rates
[01:21:56] <rue_house> and starting whereever I want on a tape
[01:22:05] <rue_house> and being able to inject commands whenever I want
[01:22:21] <rue_house> even if the tape is paused
[01:23:02] <Jak_o_Shadows> ah, ok.
[01:26:09] <rue_house> trying to work out how to feed grbl the least commands possable without starving the planner
[01:26:36] <rue_house> I dont think it needs more than the next command
[01:26:43] <rue_house> or 3 at once
[01:27:24] <rue_house> if it has 3, it'd always know what to finish the motion like
[01:27:58] <rue_house> I dont want to just load it up, there is another program that does that and its a disaster
[01:28:11] <rue_house> (grblcontrol iirc)
[01:28:42] <rue_house> bcnc is great, most of the time
[01:29:53] <rue_house> I'm sure industrial cnc machines have the ability to scale motion speeds realtime
[01:30:49] * rue_house feels his stomach go from upset-from-lack-of-food to upset-because-of-food
[03:23:58] <Jak_o_Shadows> Just bought a ompletely necessary OBD2 plug thing (J1962 ) to D-sub 15 (2 row) cable
[03:24:19] <Jak_o_Shadows> Have I got a transceiver chip to actually connect to the stm32? Nah, but that's details
[06:59:13] <goppo> hi
[06:59:30] <goppo> i have a shaft-less BLDC like http://www.axadd.com/wp-content/uploads/2016/09/D2804.jpg does anyone know how to add a shaft to it?
[07:01:39] <Jak_o_Shadows> That middle bit looks threaded
[07:04:47] <goppo> Jak_o_Shadows, it's actually not. it's just brushed
[07:05:21] <robopal> http://www.axadd.com/products/motor/platform-series-brushless-motor/3885.html
[07:05:36] <Jak_o_Shadows> So which bit rotates?
[07:05:48] <robopal> so what do you do? you shove a steel rod in the middle and it just spins?
[07:05:55] <robopal> :D
[07:06:25] <Jak_o_Shadows> Is it just the inner bit that rotates?
[07:06:35] <robopal> specialized for gopro4... how do they hook them up?
[07:06:36] <goppo> Jak_o_Shadows, no, the top half rotates
[07:06:36] <Jak_o_Shadows> Or is it the whole above the dark line around the circumference?
[07:06:50] <goppo> Jak_o_Shadows, yeah
[07:07:02] <goppo> Jak_o_Shadows, the whole above incl the two screw holes rotate
[07:07:11] <robopal> ah then you just screw it in!
[07:07:12] <Jak_o_Shadows> Well, you've got 3 mounting holes. Use them for starters
[07:07:35] <Jak_o_Shadows> Depending on the load, you could shove a rod in the middle as well.
[07:07:44] <Jak_o_Shadows> But well, it looks pretty light anyway
[07:08:03] <goppo> Jak_o_Shadows, but there's no grip in the middle hole
[07:08:07] <goppo> robopal, screw in a shaft?!
[07:08:21] <robopal> dont you see the two screw holes on the surface?
[07:08:39] <robopal> turn up your monitor brightness!!!!!!
[07:08:59] <Jak_o_Shadows> Not screw in a shaft. Just jam one in tightly.
[07:09:10] <Jak_o_Shadows> That might help with some of the bending typey loads.
[07:09:18] <Jak_o_Shadows> But really, if it's not got those massively
[07:09:26] <Jak_o_Shadows> Or if you can support the load with an external bearing
[07:09:43] <robopal> I agree
[07:11:15] <goppo> hmm
[08:05:41] <superbia> hi
[08:38:10] <theBear> ho
[09:27:26] <rue_house> Cells increase their division rate to compensate for rates of environmental damage, over a long term, there is a 'cell bred in' bias. Cancer is the 'breeding out' of the division attenuator due to repeated damage over a long time.
[09:28:41] <rue_house> there will be atleast two factors that control the division rate, one that increases it, one that deceases. under normal conditions they bias towards not dividing
[09:43:29] <speedevil> That depends on the celltype, some do not divide at all largely (neurons, muscle cells), some divide continuously - stem cells that go on to produce blood
[09:52:23] <rue_house> hmm
[09:52:24] <rue_house> k
[09:52:46] <rue_house> I need python code to find "OK" in a serial stream
[09:52:58] <rue_house> maybe I should use a state machine
[09:59:59] <veverak> that sounds too easy to even ask on irc ;)
[10:16:42] <theBear> you can't implement a 70's/80s serial protocol in python, it's just err, weird, like i dunno, kissing yer 1st cousin maybe, never had one i wanted to try myself, but i suspect it doesn't feel like kissing normal people, you know, ones you could make a baby with AND have it come out with the right number of fingers and toes and heads <wink
[10:16:43] <theBear> >
[10:55:07] <SorcererX> some motorcontroller I have came with C examples for Android, but only Python and C# for Linux
[13:49:51] <mbrumlow> So I see a lot of robotic competitions, but most are students (from various grades). Are there any competitions for adult hobbies?
[14:26:02] <Mindstorm8191> not that I know of. but you could always make some :)
[14:46:37] <malcom2073> mbrumlow: That's what battlebots is
[14:46:41] <malcom2073> Robot competitions for adults :-D
[14:54:43] <z64555> Battlebots are remote controlled, tho
[14:54:59] <z64555> ah
[14:55:34] <z64555> mbrumlow: DARPA sponsored a few competitions in recent years to do autonomous vehicle races
[14:56:50] <z64555> we're likely to see more robotics hobbiest organizations in the coming years, seeing as there's more items for sale that make the electronics aspect easier
[14:56:54] <z64555> (Arduino)
[14:58:08] <malcom2073> Also, sparkfuns AVC
[14:58:17] <malcom2073> That's one of the big ones
[16:53:15] <SorcererX> something like RoboCup Rescue?
[17:06:51] <mbrumlow> Does battlebots allow autonomous robots?
[17:22:38] <anniepoo_> 8cD mbrumlow, big order placed
[17:22:53] <theBear> err, is that some kinda new mcdonalds burger ?
[17:23:08] <anniepoo_> 8cD <-- my smiley
[17:25:42] <theBear> heh, you got a cute little button nose there, i approve
[17:30:39] <anniepoo_> 8cD
[17:31:31] <anniepoo_> https://github.com/Anniepoo/prolog-examples/blob/master/emoticons.pl
[17:33:02] <SorcererX> Prolog.. haven't written anything in Prolog in 9 years or something
[17:59:01] <z64555> I don't think battlebots allows autonomous robots, since, ya know, they have weapons
[17:59:42] <z64555> the most autonomy you can get is an auto-activating weapon which triggers when it detects a bot within range
[17:59:57] <z64555> or bot
[18:00:06] <z64555> or an unsuspecting human leg and foot
[18:10:30] <theBear> best autonomy you can get is the confidence in yourself to say publically that the whole robot battle thing is stupid, even in that fancy hollywood movie, and really stupid in the existiing tv shows, effing little steel plated lidded trangles with clumsy circular saw lever arms being poorly driven and poorly commentated, not to mention that destroying perfectly good robot parts is just dumb and wasteful, at least with human boxing or caged
[18:10:30] <theBear> death-matches or anything where not-robots kill each other so people can shout and whistle and place bets (which is apparently something you should enjoy, i'm not big on the shouting or gambling myself, don't enjoy either even a tiny bit so ya know, i tend to avoid doing either/both,) you only potentially destroying shitty human bodies and socio-economic associated entities attached to them, which ya know, probly a net good, and if yer don't end up
[18:10:31] <theBear> destroying them by the end of the whole deal they have an uncanny ability to just kinda slowly re-combobulate and heal with little or no outside intervention !
[18:10:58] <theBear> don't be a sheep, be a bear ! they're way more kickass than sheeps !
[18:27:47] <malcom2073> Heh wow
[18:27:58] <malcom2073> Way to hate on a whole group of people who enjoy what they do...
[21:43:02] <justan0theruser> who?
[21:43:33] <justan0theruser> http://antirobotleague.org/
[22:13:23] <pokmo> guys, i'm trying to cut up a plastic box so that i could make some plastic L-brackets out of it. how would you cut a plastic box?
[22:13:31] <pokmo> use a hot knife?
[22:25:28] <z64555> depends on the plastic
[22:25:57] <z64555> Usually cold-working methods work. Hacksaws, shears, and the like
[22:26:26] <z64555> brittle plastics such as acrylic can be scored and broken like you'd do with glass
[22:27:07] <z64555> SInce you mentioned "plastic box" It's most likely ABS or PVC, both do well with a hacksaw
[23:27:10] <rue_shop3> if an 8x8 memory held 8 samples, of 8 channels of pwm bits, stacked in the order they changed
[23:27:43] <rue_shop3> how many sequences would need to be in that memory if it were a statically looked up sequence
[23:27:52] <rue_shop3> I think its 256
[23:28:11] <rue_shop3> once a bit goes low, it cant go high again
[23:28:50] <rue_shop3> so
[23:29:32] <rue_shop3> 8^8?
[23:29:58] <rue_shop3> each digit can be 1 of 8 values, and there are 8 of them
[23:30:28] <rue_shop3> is that the same as 2^64
[23:30:30] <rue_shop3> it cant be
[23:31:18] <rue_shop3> 16777216
[23:31:22] <theBear> i can never remember how them silly memory specs like 8x8 translate to usefull things like bits and bytes and maybe parallel data/addy busses coming in and outta the things, so pfft, i dunno maaaan
[23:31:43] <rue_shop3> is much less than 2^64
[23:33:40] <rue_shop3> 16777216
[23:33:41] <rue_shop3> 2^24
[23:34:17] <Tom_L> kat's been gone a while it seems
[23:34:23] <Tom_L> what did you do?
[23:34:35] <rue_shop3> do I EVER know what I did?
[23:35:12] <theBear> DO you ? what you have for breakfast ?
[23:35:37] <rue_shop3> easy, same thing every day, granola
[23:35:41] <theBear> i gonna have my first bacon and eggs in a long time, i bought it earlier, then i fell asleep in this chair for a while, now it's 1oclock and i don't seem to be cooking
[23:37:50] <rue_shop3> so, the hypothetical pwm system involves 2 memories, one is a 4096x1 bit, thats counted thru, it stores 1's when the next part of the pwm channel seqence is due
[23:38:02] <rue_shop3> the other memory holds the array of changes for the pwm bits
[23:38:29] <rue_shop3> so, each time the 4096x1 outputs a 1, the 8*8 goes to the 'next' part of the sequence
[23:38:44] <theBear> heh, i never seen hypothetical pwm before, sounds hitech
[23:39:12] <rue_shop3> to operate it, its loaded with the bit patterns in order, and the times the next pattern is supposed to be pushed
[23:39:22] <theBear> heh 'next' step eh ? you need to quote that cos we dealing with hypothetical pwm, or you not speaking your mind here ? <grin>
[23:40:06] <rue_shop3> which means, you take the 8 pwm values, sort them, push the 8 bit seuqnces into the 8*8 and set the bits of the values high in the 1*4096
[23:41:43] <rue_shop3> 4096/8 is 512, which is 9 address bits
[23:43:28] <rue_shop3> the 4040 is a 12 bit counter
[23:44:10] <rue_shop3> what if a few memories were used in parallel
[23:44:26] <rue_shop3> what if you just store all 4096 values
[23:44:48] <rue_shop3> it'd take too long to write unless you just make them RS flipflop reset signals
[23:45:17] <rue_shop3> there would need to be a 12 bit address counter
[23:45:22] <rue_shop3> 4040
[23:45:33] <rue_shop3> and you take over it for the next pwm cycle
[23:45:58] <rue_shop3> 32K ram
[23:46:15] <rue_shop3> and a 4040 for 8 channels of 4Mhz resolution pwm
[23:46:18] <rue_shop3> hmm
[23:46:21] <rue_shop3> 12 bit
[23:46:47] <rue_shop3> my 32k sram chips are in the 'junk ram' drawr
[23:47:55] <rue_shop3> so each pwm update is 16 ram writes
[23:49:05] <rue_shop3> ugh, all the muxing to write to the ram wrecks it
[23:50:16] <rue_shop3> [the tlc5940 chips stopped working for me, I hate them]
[23:50:43] <rue_shop3> I need to do fine current control on 8 motors, and I dont have a good system to do it
[23:54:10] <rue_shop3> if that stupid chip were to work like it did on the breadboard, I could prolly be playing with force feedback now
[23:56:04] rue_shop3 changed topic of #robotics to: If you ask a question, you must wait for the answer. | http://tom-itx.no-ip.biz:81/~webpage/index.php | G is for Gyroscope
[23:56:45] <rue_shop3> feedback loop regulates chaotic system