#robotics | Logs for 2016-08-27

Back
[00:16:27] <Jak_o_Shadows> How do I start a 4 stroke mower? Choke full, fuel full. Then pull cod. Then choke down.
[00:16:35] <Jak_o_Shadows> yeah? Cause ti starts, but won't stay on
[00:17:28] <Casper> yes, but the choke may need to stay on for a bit
[00:17:30] <Casper> also
[00:17:49] <Casper> there may be problem with the carburetor, like plugged high speed jet
[00:18:05] <Jak_o_Shadows> Hmm. I pull back, and it starts sounding nicer. Then it gets worse again and dies
[00:18:57] <rue_shop3> you used ethenol gas, and the tank is full of water, when you move it, it snorts the water and stalls
[00:19:14] <Jak_o_Shadows> I doubt it, trhis is australia
[00:19:24] <rue_shop3> drain the tank, drain and clean the carb, use high grade gas in the mower
[00:19:37] <rue_shop3> do not use ethenol gas in small engines
[00:19:57] <Casper> E15 work fine here
[00:20:11] <Casper> and is actually about all what you can get
[00:20:45] <rue_shop3> hmm, they dont have low, medium, and high octane gas?
[00:21:12] <Casper> yes, all with up to 15% ethanol on all grades
[00:21:39] <Casper> except shell, which I have started doubting the gas quality this year, and last week end may have been a proof
[00:22:50] <Casper> rue_shop3: linear actuator, diy, what diameter of threaded rod would you use for 400lbs?
[00:23:04] <rue_shop3> tension or compression?
[00:23:22] <Casper> compression
[00:23:28] <Casper> table legs
[00:23:37] <rue_shop3> a 1600 lb table?
[00:23:53] <rue_shop3> geez
[00:24:10] <rue_shop3> how long an actuator?
[00:24:30] <Casper> 24" maybe
[00:24:41] <Casper> but yeah... 1600 seems.. too much
[00:24:45] <Casper> make it 300lbs
[00:24:55] <rue_shop3> imperial or metric?
[00:25:00] <rue_shop3> oh duh
[00:25:02] <rue_shop3> wait
[00:25:04] <rue_shop3> imperial or metric?
[00:25:07] <rue_shop3> rod?
[00:25:15] <Casper> imperial
[00:25:26] <rue_shop3> bigger than...
[00:25:53] <Casper> I'm planning a 2x4' table with 1/4" steel top maybe... so finally it may be 200lbs per actuator...
[00:26:02] <Casper> but better overengineer
[00:26:27] <rue_shop3> 3/4" 20tpi
[00:26:44] <rue_shop3> link nuts not regular ones
[00:28:05] <Casper> link nut? oh the coupler kind
[00:28:09] <rue_shop3> yea
[00:28:15] <Casper> 20tpi...
[00:28:18] <rue_shop3> and lots of grease
[00:28:29] <rue_shop3> 20 is the finest pitch for that size
[00:28:36] <Casper> 2000rpm motor
[00:28:47] <Casper> if I go with a 2:1 gearbox
[00:29:05] <Casper> 10lbin torque...
[00:29:07] <rue_shop3> 50 ipm
[00:30:07] <rue_shop3> most of the force is friction so I cant tell you the final force
[00:30:53] <Casper> I assumed 25% loss
[00:31:06] <Casper> but with such a big nut... might have to assume 50%
[00:31:17] <rue_shop3> yea it'll be high
[00:31:31] <rue_shop3> you have to be that big to get enough core size to not buckle under compression
[00:31:31] <Casper> so 11.25lbin
[00:31:47] <rue_shop3> no yo ahve to convert it as energy
[00:31:51] <Casper> do you have some tables somewhere for that?
[00:32:20] <rue_shop3> 2000rpm*10lb-in -> 50ipm @ lbs
[00:32:37] <rue_shop3> joules
[00:32:44] <rue_shop3> I think is what you need to use
[00:32:57] <rue_shop3> yea, not power, energy
[00:33:15] <rue_shop3> I'm fighting to keep myself awake, so I cant help much more than that
[00:33:39] <rue_shop3> so it over 1 minute to lose the time factor
[00:33:45] <rue_shop3> do it...
[00:34:34] <rue_shop3> units 10inch*lbs*force*2000rpm watts
[00:34:34] <rue_shop3> * 236.63487
[00:34:39] <Casper> 1/3hp
[00:34:53] <rue_shop3> units 10inch*lbs*force*2000rpm*1minute joules
[00:34:54] <rue_shop3> * 14198.092
[00:35:05] <Casper> yikes... 255W...
[00:38:24] <rue_shop3> units 14198joules/50inches lbs*force
[00:38:24] <rue_shop3> * 2513.2578
[00:38:39] <rue_shop3> so, 2500lbs @ 100% eff
[00:38:55] <rue_shop3> so I'd say good for 625lbs
[00:39:17] <rue_shop3> ok?
[00:39:28] <Casper> I lost you with the joules stuff
[00:39:37] <rue_shop3> the motor outputs watts
[00:39:49] <rue_shop3> measure it over 1 minute to see what the energy is
[00:39:55] <rue_shop3> its 14198 joules
[00:40:42] <rue_shop3> so how many lbs can you pick up something with 14198joules over 50inches (which is how far you move in the minute)
[00:40:46] <rue_shop3> answer: 2500lbs
[00:41:13] <rue_shop3> dude, I'm asleep and I worked it out :)
[00:41:21] <Casper> HP = (rpm*lbft)/5252 = (rpm*lbin)/(5252*12) 2000*11.25/5252*12 = 0.3427
[00:41:27] <rue_shop3> thanks to the best units converter on the planet
[00:41:55] <rue_shop3> screw HP, its 10 inch-lbs and 2000rpm
[00:42:04] <rue_shop3> units 10inch*lbs*force*2000rpm*1minute joules
[00:42:20] <rue_shop3> 10inch*lbs of force, 2000rpm, over 1 minute
[00:42:23] <Casper> W = hp*746
[00:42:23] <rue_shop3> energy
[00:42:26] <Casper> :D
[00:42:41] <rue_shop3> get units, awesome program
[00:42:57] <Casper> localc + google, quite good :D
[00:43:07] <rue_shop3> root@blackie2:/files/programming/c/avr/Atmega8/16chADC# units 1lightyear3 teaspoons
[00:43:07] <rue_shop3> * 1.7179958e+53
[00:43:22] <rue_shop3> 1 cubic lightyear in teaspoons
[00:44:03] <rue_shop3> like wolfram-aplha, most of the work is figuring out HOW to ask the question
[00:45:13] <rue_shop3> must....code....adc....
[00:45:43] <rue_shop3> ADMUX = (1<<REFS0)|(1<<REFS1)|(1<<MUX1); // 1.1V external cap at AREF, sensor on ADC2
[00:45:43] <rue_shop3> ADCSRA = (1<<ADEN)|(1<<ADPS2)|(1<<ADPS0)|(1<<ADIE);
[00:45:47] <rue_shop3> damnit, wrong window
[00:48:01] <rue_shop3> oh I see what happened, my eyes closed and my imagination made me think they were still open,
[00:48:20] <rue_shop3> expalins why I couldn't see the code I was looking at
[00:50:19] <Casper> did you worked with accelerometers?
[00:56:59] <rue_shop3> no, I have a bunch I'd like to get talking
[01:04:16] <Casper> my plan was to make a self leveling table
[01:04:58] <Casper> but the 250W/motor annoy me...
[01:07:41] <rue_shop3> wtf is wrong with 2500lbs?
[01:07:47] <rue_shop3> per actuator?
[01:08:17] <Jak_o_Shadows> Ok, I think the problem was that I was putting the choke down too fast
[01:08:31] <rue_shop3> nobody listens to me,
[01:08:37] <rue_shop3> if you push it, it stalls right?
[01:08:49] <rue_shop3> aka it runs fine until you try to use it?
[01:09:07] <Jak_o_Shadows> I don't push it :D It pulls itself when I squeeze the trigger
[01:09:16] <rue_shop3> same difference
[01:09:31] <Jak_o_Shadows> But yeah, that's what was happening.
[01:09:33] <rue_shop3> people are always stalling on symantics
[01:09:42] <Jak_o_Shadows> It's working, but it's got this weird surging.
[01:09:44] <rue_shop3> WATER IN THE CARB CAUSE THE TANK IS FULL OF IT
[01:09:51] <rue_shop3> your not going to listen tho
[01:10:11] <Jak_o_Shadows> Not my mower. So I have no idea about that.
[01:10:20] <rue_shop3> your going to keep putting ethenol gas in it, and the carb will corrode out from all the water and you will keep buying new mowers saying they are all crap
[01:10:22] <Jak_o_Shadows> But there's this surging at like, 1/2 Hz or so?
[01:10:31] <rue_shop3> ^^^^^^^
[01:11:49] <rue_shop3> it'll take about half an hour to get all the water out of it, but your going to spend all day f*****ing with it
[01:12:17] <rue_shop3> I'm guessing there is about ... 200ml of water in it total
[01:12:23] <Jak_o_Shadows> Nah, tbh, it's done now, so it'll go back in the shed for a few months
[01:12:52] <rue_shop3> you wont think its water, cause at first thats all there is, but if you put it in something clear or translucent, you will see the line
[01:13:14] <rue_shop3> the water corrodes out the aluminum carb, permanently destroying it
[01:13:27] <rue_shop3> often eats a hole thru the float
[01:13:37] <rue_shop3> unless its a plastic float
[01:14:04] <rue_shop3> the gas at the line of the water turns to gel, and really cloggs things up
[01:14:54] <rue_shop3> I'm not saying this to tell you, your not listening, I'm saying this for the person who googles it and is reading the irc log on the internet
[01:15:19] <rue_shop3> hello googling person, I hope you learn from Jak_o_Shadows erronious ways.
[01:15:28] <Jak_o_Shadows> aha
[01:15:49] <Jak_o_Shadows> The mower does need a bunch of work, the clutch isn't working either
[01:16:21] <rue_shop3> it will be scrap metal by next year, because of the wrecked carb
[01:16:45] <rue_shop3> just keep buying them and wrecking them with the ethenol fuel
[01:16:57] <rue_shop3> your funding a market
[01:18:44] <rue_shop3> googling person: please mention me in your blog, the one about how I was right and it was an easy fix when you got into it. I am Ruediger Nahc Mohr, but you can call me Rue Mohr
[01:19:52] <rue_shop3> And to the aliens who find this text after the humans are extinct, congrads! thats a lot of digging!
[01:20:51] <rue_shop3> And to me, who finds this after the aliens go extinct, cause I'v turned myself into a machine that propetually exists, finish the damned time machine and give me some clues eh? geez.
[01:21:17] <Jak_o_Shadows> Would just get the carb replaced. Not going to replace a Scott Bonnar lawn mower
[01:21:34] <rue_shop3> if you did it now, you just need to empty the water out of the damend thing
[01:29:09] <rue_shop3> oh I see why the adc isn't working
[01:29:19] <rue_shop3> a) I didn't call the adcInit()
[01:29:26] <rue_shop3> b) I didn't enable the interrupts
[01:30:38] <rue_shop3> yay!
[01:30:48] <rue_shop3> 16 channels of adc to one chip!
[01:31:25] <rue_shop3> 00=03E8 01=03E1 02=03DB 03=03FF 04=03FC 05=03F0 06=03FF 07=03FF 08=03FF 09=03FF 0A=03FF 0B=03FF 0C=03FF 0D=03FF 0E=03FF 0F=0000
[01:31:47] <rue_shop3> now I have to hook it up to the 16 channel pwm chip
[01:36:19] <rue_shop3> I wonder if I should have just used a mux
[02:07:57] <z64555> yeah, Jak needs to clean out the carb, and maybe replace it
[02:08:22] <z64555> need to put additives in it to take care of the water from the ethanol
[02:10:40] <rue_shop3> no JUST STOP USING ETHENOL GAS
[02:11:13] <z64555> right, like that's gonna happen
[02:11:40] <rue_shop3> its freaking 4L or less, it dosn't cost a lot
[02:11:57] <rue_shop3> and it keeps the damn mower fine, even if you leave itout in the weather all winter
[11:31:15] <rue_shop3> ok , so I have 10 bit adc values to feed into a 12 bit pwm genorator
[11:31:37] <rue_shop3> so I shift them left 2 bits...
[20:08:02] <anonnumberanon> Arm programming turns out to be kinda complicated on stm32F cortex m3.
[21:21:40] <mrdata> why
[21:23:31] <anonnumberanon> because in the guide I'm reading you set a clock when you want to turn on/off one of the GPIOs
[21:23:37] <anonnumberanon> it's kinda odd
[21:23:58] <mrdata> multiple different clocks for differing pwm?
[21:24:23] <anonnumberanon> something like that
[21:24:48] <mrdata> that may be an advantage
[21:24:58] <mrdata> flexbility-wise
[21:25:10] <anonnumberanon> http://www.cs.indiana.edu/~geobrown/book.pdf
[21:25:30] <anonnumberanon> ill tell you what page just a minute
[21:26:25] <mrdata> i'm cooking dinner; may get to it in a bit
[21:26:48] <anonnumberanon> 58
[21:27:28] <SpeedEvil> Handling of GPIOs varies on different CPUs
[21:30:14] <Jak_o_Shadows> Yeah. On the stm32 ones, you can switch the bans of GPIO off so it uses less power