#robotics | Logs for 2016-08-21

Back
[00:11:06] <rue_shop4> ace4016, mine are going to be in a servo loop, so, no comp neccisary
[00:11:23] <rue_shop4> I came up with a new idea for a pressure sensor
[00:11:33] <rue_shop4> P1*V1 = P2*V2
[00:12:45] <ace4016> that's an equation rue
[00:12:47] <ace4016> :P
[00:13:36] <rue_shop4> if I have a 'black' bubble in a pipe, I can use light to measure the position, and therefore the presssure
[00:13:52] <rue_shop4> its not a whole explination, but its cheap if it works
[00:15:07] <ace4016> could be cool
[00:28:50] <Casper> Jak_o_Shadows: do you mig weld?
[00:31:17] <rue_shop4> he dosn't cause he cant get the materials togethor
[00:31:30] <Casper> and you?
[00:31:44] <rue_shop4> tig, when I feel spendy enough forgas
[00:31:53] <rue_shop4> otherwise stick
[00:32:13] <rue_shop4> and sew
[00:32:28] <rue_shop4> I have propane/oxy too, but again, gas
[00:32:30] <Casper> ok so no mig...
[00:32:35] <rue_shop4> I'm gonna buy a tank
[00:32:58] <rue_shop4> I have two wire feed welders, dont use them cause no gas, and flux core SUCKS
[00:33:27] <Casper> I have flux core, and I have issue understanding why everyone say it suck that much
[00:33:56] <Casper> I saw what the before cleanup of C25 give, and it dosen't look that much better to what I got...
[00:34:42] <Casper> and on mine, I didn't noticed any slag that needed to be hammered off, just some "smoke"... that actually rince away with water
[00:37:44] <Casper> neway, bed time, I have a gutter to install before the rain today...
[00:41:04] <rue_shop4> ?
[00:43:38] <rue_shop4> nwo I just have to write the data packing alg...
[00:51:58] <Jak_o_Shadows> ahah, yeah, I don't weld. Don't do a lot of work with metal. I have before.
[00:52:07] <rue_shop4> #define PackBits(V,P) (((V << 5) & 0xFF00)|(V & 0x07)|0x8000|(P<<3))
[00:52:17] <rue_shop4> haha I love it when I find work I did that saves me time
[00:53:12] <Jak_o_Shadows> rue, have you considered force snsors somehow and making them into pressure sensors?
[00:53:20] <rue_shop4> $$
[00:53:29] <rue_shop4> the budget for the 12' mecha is $240
[00:55:49] <Jak_o_Shadows> and I suppose the cheap ones don't have enough range, and no spec
[00:56:12] <Jak_o_Shadows> or are more for changes in pressure, not absolute
[00:56:37] <rue_shop4> I just have to know the pressure diff between the two sides
[00:56:50] <rue_shop4> you have to know if you should unload one side or load the other
[00:57:08] <rue_shop4> ok packets work
[00:57:22] <rue_shop4> now I have to transfer via synchronous serial
[00:59:05] <Jak_o_Shadows> There's no point even in trying to measure displacement somehow, cause linear pots are expensive as well.
[00:59:30] <rue_shop4> if pb3 on the tiny26 is supposed to be used as a SS, they didn't make it easy
[00:59:52] <rue_shop4> I'm using pots to measure position
[01:00:28] <rue_shop4> 0080 0FFF 17FF 1FFF 27FF 2FFF 37FF 3FFF 47FF 4880
[01:00:28] <rue_shop4> 0080 0FFF 17FF 1FFF 27FF 2FFF 37FF 3FFF 47FF 4880
[01:00:28] <rue_shop4> 0080 0FFF 17FF 1FFF 27FF 2FFF 37FF 3FFF 47FF 4880
[01:00:33] <rue_shop4> its pushing packets find tho
[01:02:29] <rue_shop4> it looks like I have to pol it
[01:05:04] <mrdata_> DEAD C0ED
[01:17:01] <rue_shop4> DEAD BEEF?
[01:18:13] <rue_shop4> so, I'll have to pulse the slaves to write their values, clock it all in
[01:18:29] <rue_shop4> not sure I know how to avoid manually clocking it
[01:18:55] <rue_shop4> tho, if I'm running at 16Mhz, my understanding is that the system will clock it for me at up to 4Mhz
[01:19:36] <rue_shop4> if I'm polling the SS line, I wonder what my max latency is
[01:19:48] <rue_shop4> I suppose if it just went into the adc interrupt..
[01:22:15] <zhanx-> One day I will stop wr on the walls
[01:22:32] <zhanx-> Chalk is awesome
[01:24:45] <rue_shop4> freaking like 60 cycles
[01:26:15] <rue_shop4> hmm
[01:26:22] <rue_shop4> 4us
[01:31:42] <rue_shop4> 8us, I'm running at 8Mhz, not 16
[01:45:09] <theBear> if the 4th reich is anything to go by, your SS latency could easily be measured in centuries needing at most one decimal places of resolution
[01:45:46] <theBear> too soon ? 'sif, it's been 0.5 centuries since we started thinking "don't mention the war" was hilarious and to be joked abou
[01:45:47] <theBear> t
[01:51:53] <z64555> I don't think such jokes will ever be considered tasteful
[01:58:24] <theBear> aww, you may well be right, and that makes me think people take life too seriously
[01:59:50] <z64555> only when they're sober. :)
[02:02:09] <Jak_o_Shadows> I have a sorta-friend ho consistentlymakes apalling jokes
[02:02:23] <theBear> is it me ?
[02:03:02] <mrdata_> could be
[02:03:13] <mrdata_> ;)
[02:06:21] <Jak_o_Shadows> nah. Real life
[02:06:50] <DagoRed> :q
[02:09:02] <rue_shop4> I hate the part where I need to make a project to know if my project works
[02:09:45] <rue_shop4> ok I just have to write the code that initialises the spi
[02:10:23] <rue_shop4> oh great, my mind is shutting down
[02:10:39] <rue_shop4> arg, these are the wrong cheat codes
[02:13:26] <mrdata_> time to dance a jig
[02:23:08] <z64555> 1:41:44 AM - rue_shop4: I hate the part where I need to make a project to know if my project works
[02:23:17] <z64555> thats when the fun starts. presumably
[02:24:26] <rue_shop4> I have an led strip I think I can substitute
[02:24:45] <rue_shop4> I think the code should work, I can test tommorow
[02:24:52] <rue_shop4> if I dont die tonight
[02:27:29] <rue_shop4> but i wrote a serial lib for the tiny avrs, for transmitt anyhow
[02:28:04] <rue_shop4> ok, I'm trying to make sure I'm done a file->save in irc... better go to sleep
[02:29:23] <rue_shop4> I think it'll work, the main loop waits for the sync to go low, at which time it puts the data into the usi data register, where it can be clocked out by the master
[02:29:51] <rue_shop4> I can chain several chips togethor, and read them all at once
[02:30:02] <rue_shop4> 6 bytes at a time
[02:30:12] <rue_shop4> er, 3
[02:30:14] <rue_shop4> anyhow
[02:31:55] <rue_shop4> the only thing it lacks is a sync between the uart and the adc sampling
[02:32:06] <rue_shop4> I wonder what the data rate will be
[02:32:25] <rue_shop4> I wonder how long the control loop calcs will take while doing eveything else
[02:33:25] <rue_shop4> with only 10 channels from the tiny26, I need the mega8 to do 6 channels, I need to be taking serial commands, calculating the loop values, and clocking out the pwm values
[02:33:51] <rue_shop4> and with any luck, I'll have a 8 channel, force feedback servo controller
[02:34:03] <rue_shop4> vref, drat...
[02:34:04] <rue_shop4> hmmm
[02:34:19] <rue_shop4> 1v...
[02:34:38] <rue_shop4> oh I just need to lower the vcc for the position feedback post
[02:34:40] <rue_shop4> pots
[02:35:00] <rue_shop4> hmm, 3.3V
[02:35:14] <rue_shop4> the current feedback goes to 1V
[02:36:09] <rue_shop4> 614, so about 9 bits, not too bad
[02:36:45] <rue_shop4> and I'm waiting for driver transistors to arrive
[02:36:48] <rue_shop4> gngiht
[02:38:40] <Jak_o_Shadows> nn
[02:56:15] <z64555> blah, I need to look for my electronics notebook. forgot how to analyze op amp circuits
[02:57:26] <z64555> oh lol.
[02:57:39] <z64555> Found my notebook on controls systems
[02:58:22] <z64555> flipped to a page where I drew a thumb over the denominator roots of an equation
[13:07:07] <rue_house> phase/bode plot?
[14:08:59] <z64555> yeah, for bode plots
[14:36:40] <z64555> thought you'd might enjoy a chuckle http://www.smbc-comics.com/comic/chaos
[16:46:31] <rue_house> so just think, once upon a time the denominator was written on your thumb for that page
[16:58:44] <z64555> nah
[16:58:52] <z64555> I did it as an illustraction
[16:59:30] <z64555> First I wrote the denominator, then I traced the outline of my thumb over the root, then I erased the root that was inside the thumb, and finally drew the rest of the thumb
[16:59:42] <z64555> (illustraction? lol.)
[17:00:02] <z64555> Illustration.
[17:47:52] <Casper> Does anyone here do mig welding with fluxcore, C25 and C100?
[17:49:08] <Tom_itx> why?
[17:51:31] <Casper> wondering about the real difference between the 3 process, in an 'unbiased' manner
[17:54:32] <Casper> all what I find is not that trustable... Like those that are professional welder that just refuse to touch C100 or fluxcore and will find all the small issues and make them appear as if they are worse... Those that are too cheap to weld and worship C100 since it's cheaper and those that don't know how to weld with the different process and just don't adapt/adjust to it... like not changing the machine settings when they switch between
[17:54:32] <Casper> the process (or even the polarity for fluxcore)
[17:55:22] <Tom_itx> i've got a spool of fluxcore but haven't used it much
[17:56:13] <Casper> my experience with fluxcore is: easy to clean up, not much slag, infact, I didn't noticed any beside the 'smoke dust', and it rince with water
[17:57:32] <Tom_itx> i haven't really welded enough to get proficient with it since i got rid of my stick welder and got the mig
[17:57:58] <Tom_itx> i should have kept it..
[17:59:08] <Casper> why?
[18:00:00] <Tom_itx> no particular reason except i had more stick experience
[18:00:24] <Tom_itx> it was getting really hard to start (gas powered)
[18:00:38] <Casper> ok
[18:00:43] <Casper> how many amps?
[18:01:03] <Tom_itx> i forget but similar to a lincoln brick
[18:02:10] <Casper> which is how much?
[18:05:16] <Tom_itx> http://welderbros.nil1420481576.netdna-cdn.com/wp-content/uploads/2015/10/Lincoln-Electric-K1170.jpg
[18:05:20] <Tom_itx> like one of those
[18:05:35] <Tom_itx> maybe 225A?
[18:05:38] <Tom_itx> i forget
[18:05:57] <Casper> not too bad
[18:06:58] <Casper> mine is supposelly able to go to 225A too
[18:07:01] <Casper> on stick
[18:07:24] <Tom_itx> https://i.ytimg.com/vi/a2_BgJDsQFk/hqdefault.jpg
[18:07:36] <Tom_itx> similar to that but not electric start
[18:07:44] <Casper> http://i.imgur.com/ICsmatn.jpg my current kit
[18:08:07] <Tom_itx> can't view image
[18:08:29] <orlock> One month to go
[18:08:32] <orlock> to complete my robot
[18:08:33] <Casper> broken imgur? or you just can't?
[18:08:41] <orlock> I think the CAD is all done
[18:08:46] <orlock> well, the hard part
[18:08:54] <Tom_itx> says it contains errors
[18:09:01] <Tom_itx> i get that on some imageurls
[18:11:01] <Casper> https://c7.staticflickr.com/9/8669/29036206342_0bee8a80d8_o.jpg
[18:11:38] <Tom_itx> must be ff, still no go
[18:14:20] <orlock> printed some more gears to test the sizing.. measured up the chassis-floor clearance
[18:14:46] <orlock> it should have ~1mm clearance between the bottom of the chassis and the floow
[18:14:49] <orlock> floor
[18:18:37] <Tom_itx> http://www.jeepfan.com/products/gear/miller175.htm
[18:19:16] <Tom_itx> i mostly do 'repairs' with it anymore
[18:20:56] <Casper> http://www.lincolnelectric.com/en-ca/equipment/Pages/product.aspx?product=K4195-2%28LincolnElectric%29 my machine
[18:21:40] <Tom_itx> looks pretty complete if you got all that with it
[18:21:59] <Casper> yup all that
[18:22:37] <Casper> the pedal was a fucking hell to install
[18:22:54] <Casper> bloody engineer... fuck...
[18:23:15] <Casper> they give you the connector that you need to install yourself in the machine
[18:23:41] <Casper> located behind the inductor and the heavy ground point
[18:23:50] <Casper> behind more wires
[18:24:37] <Casper> had to dissassemble part of it because some wires was not installed correctly in factory (bit twisted) and got in my way
[18:24:46] <Casper> but hey, now it's there
[18:25:03] <Tom_itx> you would have taken it apart anyway out of curiosity :D
[18:37:21] <anonnumberanon> rue_shop4> haha I love it when I find work I did that saves me time
[18:37:24] <anonnumberanon> fuck yeah
[18:47:47] <z64555> hm?
[18:58:18] <anonnumberanon> sup man
[18:58:29] <anonnumberanon> i really didn't understand your cell thing
[18:58:31] <anonnumberanon> problem
[18:58:44] <anonnumberanon> also i need to relearn opamps
[18:59:54] <anonnumberanon> but priorities and shit...sigh
[19:02:53] <z64555> oh that. Yeah, the batteries have leads that are broken out to a balance connector to allow a circuit to charge individual cells as well as monitor their voltage
[19:03:52] <anonnumberanon> yeah and you wanted to pull current out from those???
[19:03:54] <anonnumberanon> heh
[19:04:14] <z64555> yeah, to try and forego the use of an inefficient 3.3V regulator
[19:04:38] <anonnumberanon> You don't have an adaptable SMPS for that?
[19:04:47] <anonnumberanon> little $2 board to get
[19:05:12] <anonnumberanon> i used lm7805 for my drone to feed the uC lol
[19:05:17] <anonnumberanon> it got hot as fuck as times
[19:05:31] <anonnumberanon> but I also used my drone to charge my cell phone one night
[19:05:35] <anonnumberanon> no fucks were given
[19:17:57] <z64555> hm, router decided to take a nap
[19:18:26] <anonnumberanon> <anonnumberanon> yeah and you wanted to pull current out from those???
[19:18:27] <anonnumberanon> <anonnumberanon> heh
[19:18:27] <anonnumberanon> <z64555> yeah, to try and forego the use of an inefficient 3.3V regulator
[19:18:27] <anonnumberanon> <anonnumberanon> You don't have an adaptable SMPS for that?
[19:18:27] <anonnumberanon> <anonnumberanon> little $2 board to get
[19:18:28] <anonnumberanon> <anonnumberanon> i used lm7805 for my drone to feed the uC lol
[19:18:29] <anonnumberanon> <anonnumberanon> it got hot as fuck as times
[19:18:31] <anonnumberanon> <anonnumberanon> but I also used my drone to charge my cell phone one night
[19:18:33] <anonnumberanon> <anonnumberanon> no fucks were given
[19:18:54] <z64555> you forgot <z64555> lol
[19:19:07] <z64555> unless that didn't go through
[19:19:38] <anonnumberanon> http://www.ebay.com/itm/10-PCS-LM2596-DC-DC-buck-adjustable-step-down-Power-Supply-Converter-module-/221920170517?hash=item33ab791215:g:5zEAAOSw~bFWKKJO
[19:19:48] <anonnumberanon> from China though, which sucks
[19:20:26] <z64555> yeah, um. The advantage to pulling from each cell vs. from the entire battery is that you can maintain the balance of the pack by a tiny bit
[19:20:34] <anonnumberanon> oh there are ones in america too 1.95 a piece
[19:20:49] <z64555> although if that really is any significant advantage, I don't know
[19:21:30] <anonnumberanon> well since nobody is doing it and it doesn't feel like something that's too hard to do, it's probably not worth it
[19:21:57] <z64555> lol
[19:50:23] <discardedes> anonnumberanon: you could make the same argument about brushing your teeth
[19:51:31] <discardedes> im heading off in a bit, but i couldnt resist! :P
[20:05:50] <rue_shop4> I need to work out how to test this converter
[22:34:48] <z64555> hmm...
[22:34:55] * z64555 draws up a schematic
[22:35:35] * Tom_itx critiques it
[22:36:59] <z64555> a thing I got me wondering was if it was even necassary for a battery to be balanced if one of its cells was tapped
[22:38:03] <z64555> *to be balanced during discharge
[22:40:02] <Casper> discharge, you need to monitor each cell so they don't drop too low, during charge: too high
[22:44:27] <theBear> definte tapped, and discharge it's generally very impractical/inefficient to try balancing
[22:44:33] <theBear> define that is
[22:48:20] <z64555> "tapped" as in there is a terminal across the cell to which a load can be connected to
[22:48:29] <z64555> *pair of terminals
[22:48:46] <z64555> akin to a "center tapped" transformer
[22:54:55] <z64555> interesting: https://en.wikipedia.org/wiki/Peukert%27s_law
[22:56:52] <rue_shop4> ASD#$^%$@#&#%@$%
[22:57:03] <rue_shop4> my software is waiting for PORTB bit 1 to go low
[23:02:23] <theBear> cool, just checkin, coulda meant effed in this scenario
[23:03:00] <theBear> rue_shop4, sounds like it's working fine then, unless of course tehere's something that pin should be subjected to that we are unaware of cos we ain't in your head :)
[23:03:22] <theBear> well, i'm in your head, but just cos you imagined me doesn't mean i can read your thoughts.. that's just silly talk
[23:04:28] <z64555> if it's an ATtiny he's developing for, PORTB is all he's got
[23:11:49] <rue_shop4> ok, there is data flowing now
[23:12:05] <rue_shop4> I cant make sense of it yet between the scope and the shift registered leds
[23:12:45] <rue_shop4> well, you see, if your reading an input like I was, you check PINx not PORTx
[23:13:02] <rue_shop4> so, it was never loading the data into the shift register
[23:13:16] <rue_shop4> caused a lack of data comming out of it
[23:14:26] <rue_shop4> next step is code to read the data out of it and .. I suppose pass it to a PC
[23:29:17] <theBear> z64555, doesn't matter if it's all he's got, we still don't know what it sposed to be doing or what is or apparently isn't making it do that
[23:30:42] <theBear> oh mmm, i'm sure, but don't care enough to ever likely check, that a bunch of early-avr-gcc days aliases for port/pin choices that we all got used to, all got changed up or removed sometime in recent years