#robotics Logs
Mar 07 2013
#robotics Calendar
01:10 RifRaf yeah need to watch it again for more ideas
01:11 theBear i like the way the truck has windows and wipers that only see yer shins
01:11 theBear is there real trucks like that ?
01:11 RifRaf the MAN truck, i think so
01:11 theBear heh ya gotta wonder why, but i still like it
01:11 RifRaf saw one the other day that was a little similar
01:12 theBear erg just woke up... feel sleepy, but at least i can walk so far
01:13 theBear more coffee i guess
01:14 RifRaf so worn out, overworked this week
01:14 RifRaf they have cut back hours but still expect you to get as much done
01:17 RifRaf turning a packing box into a light testing station
01:53 rue_house rifraf, name a store over there you can buy bits for your lathe from
01:53 rue_house (please)
01:55 theBear err, there aint really any machinist chains or big stores... you might get basic bits at bunnings, triangles and squares....
01:58 rue_house I need a parting tool holder, north america is failig me, so is ebay
01:58 rue_house it should be in the order of $25
01:59 rue_house theBear, ideas?
01:59 theBear heh, i don't think this is the place to order from
01:59 theBear i don't know what a parting tool is
01:59 theBear my lathe experience is very practical
01:59 theBear never really talked or ordered
02:00 RifRaf gasweld
02:01 RifRaf is not cheap buying the lathe in spare parts though
02:02 RifRaf a parting tool cuts off your piece quickly
02:02 rue_house http://www.kmstools.com/magnum-parting-tool-holder-18505
02:02 rue_house RifRaf, they have a website?
02:02 RifRaf is normally about 2-3mm wide and cuts in till the part is cut off
02:02 RifRaf yes
02:03 RifRaf http://www.gasweld.com.au/
02:04 RifRaf rue can't you make a holder to fit on your head
02:07 RifRaf have made a few tool holders, and a ball machineing one as well
02:08 theBear whats the use of putting a lathe bit on my head ? usually i wear a hat
02:08 RifRaf heh
02:08 RifRaf i meant the tool post
02:10 rue_house I cant find any parting tool stuff on there
02:12 RifRaf this is the set i have, is one in there http://www.gasweld.com.au/580510-toolex.html
02:12 rue_house hmm I'm looking for a different design of parting tool
02:14 RifRaf yeah i thought so
02:15 rue_house the blades I prefer are longer
02:15 rue_house you can get into deep stuff
02:15 RifRaf like this i bet http://www.ebay.com.au/itm/PARTING-TOOL-HOLDER-LOW-CENTER-HEIGHT-12mm-T-type-/400166355512?pt=LH_DefaultDomain_15&hash=item5d2bc60238
02:16 rue_house yes!
02:17 rue_house tho should be maybe $30 max
02:18 RifRaf want a link for $44? best i can do for now
02:18 RifRaf http://www.ebay.com.au/itm/PARTING-TOOLHOLDER-includes-5-16-parting-tool-blade-/400166356082?pt=LH_DefaultDomain_15&hash=item5d2bc60472#ht_1997wt_834
02:19 rue_house getting better
02:19 RifRaf you get what you pay for though
02:19 rue_house hard for those to go wrong
02:20 RifRaf i can sell you one for $5 made from plexiglass with a razorblade
02:20 rue_house :)
02:21 rue_house ah I see why those dont come up for me, it knows I'm in canada
02:22 RifRaf odd
02:22 rue_house both the ones you found only ship to australia
02:22 rue_house ok I'm going to bed
02:22 RifRaf oh, well i could reship i guess, but surely you can find some no?
02:23 rue_house the only place I can find that sells them within 100 miles is out of stock, has been for 4 months now
02:23 rue_house I cant find anywhere in the usa
02:23 RifRaf k well let me know if you want one
02:23 rue_house thanks, I'll keep trying to find someone in NA
02:24 rue_house do recon a guess on shipping to me?
02:24 rue_house $
02:24 rue_house 10 or so? something like that?
02:24 RifRaf probly 10 or so
02:24 RifRaf heh
02:25 RifRaf led testing is going good, am liking the values, the K is alot less than i expected though
02:26 rue_house http://www.machineryhouse.com.au/Parting-Tool-Holders ooo the right one is nice too
02:28 RifRaf do they ship to you? they might if they have non gst prices
02:29 rue_house hahahaha
02:29 rue_house I cn use the lathe to mill myself one
02:29 rue_house just realized it while googling
02:30 rue_house ok I know what to try
02:31 RifRaf just spend the 40 rue, will work much better
02:31 RifRaf how can you mill a slot on lathe?
02:31 rue_house I'm gonna try this
02:31 theBear that's what i was wondering
02:31 rue_house put the cutting bit in the chuck
02:32 RifRaf oh yeah
02:32 rue_house feed the holder-to-be into it on the post
02:32 RifRaf crazy
02:32 rue_house seeing as it gets bolted there anyhow
02:32 rue_house I'll try it first, then I can get one I'm sure to be ok with the design of
02:32 rue_house and definitly fits my lathe
02:33 RifRaf i guess, i don't often run my tool holders into the chuck, scares me
02:33 rue_house :)
02:34 rue_house if it all stuffs up I'll prolly be ordering one via you :)
02:34 RifRaf no worries
02:35 RifRaf got the apprentice to print me out a few colour scales and charts, and she has made it bigger than poster size, laminated and all, is easy for me to read though
02:36 rue_bed cut and threading charts?
02:37 RifRaf no cie1931 rgb kelvin scales and stuff
02:38 RifRaf hues hsv hsl, lots of pretty colours,done on a big printer
02:38 RifRaf hence why its filling up the lougeroom floor at moment
02:39 rue_bed ah
02:39 RifRaf all white leds are on the chart where they should be it seems, am trying a few
02:41 rue_bed ah, your testing the colour of the leds?
02:41 RifRaf and the bluish white ones where they should be
02:41 RifRaf yeah and current, brighness etc
02:44 RifRaf rue need to make this hue generating code this weekend
02:45 RifRaf wanna get more into the colour detection as well for gripper
02:45 rue_bed hue generation?
02:46 RifRaf is just converting the rgb values to hsv , and using the h or hue part to differential and give proper names to all colours
02:46 RifRaf er differentiate*
02:47 RifRaf then i can scan for alot more than just rgb
02:49 RifRaf can see the differing and mixed values when using other colours with rgb led but they do not make obvious sence for mixed colours
04:34 theBear haha ! i made it to the bottle-o and back without a stick and both legs still work !
06:34 Hukka Does anyone know of other hacker friendly BT low energy modules, than http://www.inmojo.com/store/jeff-rowberg/item/ble112-bluetooth-low-energy-breakout/ ?
07:06 GuShH_Lap Hukka: hacker? hahaha
07:17 Hukka Er, right
08:34 rue_bed theBear, see, if your disconnected from the track you really wont die.
08:35 theBear huh ?
08:39 GuShH_Lap theBear: HUH
08:39 GuShH_Lap amazing... this insurance company answered my email in under 30 minutes
08:40 GuShH_Lap with actual useful information (not copy/pasted crap)
08:40 theBear i think i gotta leave electronics... noone has talked about electronics AT ALL for days now, and it's just fucking idiots telling other idiots things that are wrong or stupid
08:40 GuShH_Lap if you give me ops I'll make it right for you
08:40 GuShH_Lap I'll make it rain blood.
08:40 Tom_itx theBear, you just figurin that out?
08:40 theBear it
08:41 theBear it's getting MUCH worse... and i suspect the decline is closely linked with the introduction of arduinos
08:41 GuShH_Lap blood... rain.... flyback comes to mind, can't erase the image from my mind... HELP
08:41 theBear i mean literally NO electronics
08:41 theBear he's been banned all year
08:42 GuShH_Lap at one point it used to be a useful channel
08:42 theBear and apparently rue is friends with him now !
08:42 GuShH_Lap after flyback said he was a nigger?
08:42 GuShH_Lap his words
08:42 Tom_itx theBear, i find that suspicious
08:42 GuShH_Lap djangooo
08:42 theBear i seen rue, he's white as the driven snow !
08:42 GuShH_Lap or titties
08:43 GuShH_Lap After I shaved my beard the other day I found a new shade of pale underneath
08:43 GuShH_Lap scary
08:43 GuShH_Lap "national geographic hidden horrors of the moon landings"
08:43 GuShH_Lap heh
08:47 GuShH_Lap theBear: what colour is this??? http://bimg1.mlstatic.com/seat-ibiza-5-puertas-19-tdi_MLA-F-3890513601_022013.jpg
08:47 GuShH_Lap neon blue? gay blue?, electric blue?
08:48 theBear i'm colourblind, but i'd call it kinda matte blue
08:49 GuShH_Lap theBear: if you see blue, you are not colourblind because it is blue, just a very electric one
08:49 GuShH_Lap unless red-green are your problem areas :p
08:50 GuShH_Lap queer blue, that's it.
08:50 ShH_Lap g
08:50 GuShH_Lap not something you see every day
08:50 theBear i see everything if i try hard enough and change the background enough
08:51 GuShH_Lap they also have it in chicken yellow!
08:51 GuShH_Lap better known as yellow snow.
08:51 GuShH_Lap these are NOT sporty colours... they're just weird.
08:54 theBear that's it, left ##electronics for the first time ever
08:54 theBear i wonder if i will go back
08:54 theBear why is it so damned hot in here tonight ?
08:54 GuShH_Lap My offer still stands.
08:55 theBear what offer ?
08:55 GuShH_Lap it's hot 'cos we're sexy
08:55 theBear oh that, i can't do that, i still respect gigs, and he was smart enough to stop visiting years ago :)
08:59 theBear and re: the colours, it's just current fashion, most cars now are coming out in overly pure matte kinda colours
09:01 jennie http://codepad.org/fSzcD5gR , is PIC code and this is http://www4.picturepush.com/photo/a/12355402/img/Anonymous/final.jpg circuit to drive to 3 phase motor, but when I run the motor is only spinning few mm but not taking full spin, please help me
09:02 theBear rofl, you got a preschooler to draw that for you with crayons ?
09:02 jennie ?
09:02 jennie yes
09:02 jennie 2 yo kid did that
09:03 theBear i don't really know pic asm, but it looks a lot like you using 4 wire stepper code to drive a 3phase motor
09:04 rue_house and you cant write too much code on a pic before you have to jump over a memory page
09:04 rue_house jennie,
09:04 jennie I ran that code in PIC simulator too and there it looked fine
09:05 rue_house yes, a simulator will tell you it works fine on a simulator
09:05 theBear i'm pretty sure a pic simulator doesn't have a l293 and a 3phase motor in it
09:05 rue_house :)
09:05 jennie what should I do now ?
09:06 rue_house jennie, pics are EXTREMLY noise sensitive
09:06 rue_house do you have capacitors across the pics power supply?
09:06 jennie No
09:06 rue_house try that
09:06 theBear and a big one across the motor/l293 supply is a general rule of thumb too
09:06 rue_house jennie, pics suck, but this code should be fine
09:06 theBear rue_house, for a 3phase motor ?
09:07 rue_house that code is for a 4 phase
09:07 rue_house uh...
09:07 rue_house !?!?
09:07 jennie is it for 3 phase or 4 pahse :-S
09:08 rue_house nnnno....
09:08 rue_house 3 phase unipolar maybe
09:09 jennie rue_house: there is hard disk drive motor connected in this circuit having 3 wires in output
09:09 rue_house how many wires are on the motor?
09:09 rue_house 4?
09:09 rue_house what did you do with pins 1 and 9 of the driver?
09:09 rue_house mhm
09:10 rue_house one min
09:15 jennie nothing with pin 1 and 9]
09:16 jennie there are 3 wires coming from motor
09:17 rue_house ah
09:19 GuShH_Lap you won't design a brushless driver over night, jennie.
09:19 theBear not if you keep avoiding actually learning how to drive one anyway
09:19 rue_house this isn't as bas as I thought
09:19 GuShH_Lap -_-
09:19 rue_house so, the problems yo uhave right now are that a) you need to tie the enable pins high
09:20 theBear b) get a step sequence for a 3phase delta connected motor
09:20 rue_house and b) those motors are like 1V, so your severly overloading the drivers, you need to put resistors from...
09:20 rue_house I was gonna get to that
09:20 theBear you were too slow, i got impatient
09:20 rue_house theBear, can you find the drive sequence?
09:20 theBear i don't have a channel of 500 idiots to watch anymore
09:20 GuShH_Lap yey
09:21 GuShH_Lap time to start a podcast then
09:21 theBear nah, i'm thinking maybe errr, 110 011 101
09:21 GuShH_Lap ranting, bashing and beary things
09:21 rue_house jennie, what supply voltage are you using for the motor?
09:21 theBear why ? apparently i just always had too much or too little pills, and everyone here already knows stuff, so, pfft
09:21 theBear least i don't need to hear about stupid dave anymore
09:22 jennie 5V
09:22 GuShH_Lap that fucker is still alive?
09:22 GuShH_Lap this world....
09:22 theBear i been crippled again and i got no money for a plane :(
09:22 theBear how can i kill him ?
09:22 rue_house jennie, it can take 600mA, so
09:23 rue_house you want a 10 ohm resistor between, oh lets say, pin 8 and 5V
09:23 rue_house put a BIG capacitor on the 5V line
09:23 rue_house what are you using for a 5V power supply?
09:24 jennie LM7805 and caps are are there at PIC side and Input side of LM7805
09:24 jennie now I am putting 10ohm R
09:24 rue_house hmm
09:24 GuShH_Lap theBear: if everyone were to ignore him, he would die on his own
09:25 GuShH_Lap if rue doesn't explain the why of things, the jennie can't learn but to mimic!
09:25 theBear GuShH_Lap, most people are too stupid :( specially since arduinos came around, every idiot and his learning disability dog is watching the idiot
09:25 GuShH_Lap haha
09:26 GuShH_Lap I've distanced myself from all that....
09:26 GuShH_Lap but I'm sitll angry at other things.
09:26 GuShH_Lap Say how do you distance yourself from things like taxes?
09:26 theBear i've always been angry, but these days the drinking can't keep it down anymore
09:26 rue_house http://patentimages.storage.googleapis.com/EP1061641B1/00210001.png
09:26 theBear that one's easy, don't do them, ignore the fact you lose 20-50% of your income, and err, you've distanced youself from taxes
09:26 GuShH_Lap what I owe right now could buy you the biggest LCD you ever dreamed of
09:27 GuShH_Lap theBear: real estate taxes, whatever you call 'em
09:27 rue_house the datasheet for a 3 phase driver would help
09:27 rue_house land tax
09:27 GuShH_Lap I paid half, they went up... now it's twice what it was.
09:27 GuShH_Lap they're shoving a fist up my arse
09:27 GuShH_Lap that's why I complained about the electrical bill, everything went up and it's just impossible to keep up
09:28 GuShH_Lap I'm not a fucking doctor I don't make millions, not even tenths of millions.
09:28 rue_house GuShH_Lap, australia?
09:28 GuShH_Lap Argentina
09:28 GuShH_Lap same power outlets, wired the wrong way around!
09:28 theBear i think they're the same, bunch of matching letters, at least first and last
09:28 rue_house huh, its part of the economic collapse
09:29 theBear and they both look like austria on the back of speedos that gone up yer bum
09:29 GuShH_Lap they're stripping me of everything I work for, if I saved to buy a big screen, now I can't have it because that money belongs to them
09:29 GuShH_Lap and so on so forth
09:29 GuShH_Lap it's not worth it living like this
09:29 theBear our electricity is up to 25c/kwh, it's craziness !
09:30 GuShH_Lap 33 or 37c/kwh, but that's in local currency. however since it's not adjusted and everything is "in dollars" it's all just way too expensive to bare
09:30 GuShH_Lap I've no idea how I consumed 1900kwh this month
09:30 GuShH_Lap I've checked the meter, nobody is stealing from me... I'm going to complain about the meter
09:30 rue_house leave a light on?
09:31 GuShH_Lap only 20W worth for 10 hours, ran the math it's not up to half of what they're charging me
09:31 theBear if you complain here they check the meter
09:31 GuShH_Lap I've done 900kwh to 1200kwh (depends if I weld) tops
09:31 GuShH_Lap usually it's less.
09:31 rue_house jennie, I'm looking for the proper sequence for you, but I have to go to work soon
09:31 GuShH_Lap theBear: they would make me pay for a new meter, but the meter would not be mine
09:31 GuShH_Lap that's the kind of shit that pisses me off
09:31 GuShH_Lap I could hurt those bastards
09:31 theBear only times my bill has been CRAZY is when i had an idiot live with me that likes passing out with the oven/stove on
09:32 jennie ok rue_house
09:32 jennie Many thanks
09:32 rue_house tell them you paid for the meter and your gonna repair it
09:32 GuShH_Lap it's summer and I don't have any AC units
09:32 GuShH_Lap only a 40W fan that wasn't even on this month
09:32 theBear also the only time my pans have turned to tacos or my pots have gone black and the bottom disc under the ally heat spreader has lifted off :(
09:32 GuShH_Lap I haven't run any of my desktop PCs
09:32 theBear i think my sequence should be fine, or the same thing inverted
09:32 GuShH_Lap just a laptop.... usually it's 10W + screen, running only one lcd because I don't have an adapter for the others
09:33 GuShH_Lap so you see, I should be on an all time low in consumption
09:33 GuShH_Lap I don't even leave the lights on
09:33 ShH_Lap doesn't waste water and tries to save energy whenever he can.... he doesn't deserve to get fucked like
09:34 rue_house jennie, I'm pretty sure you have to be abel to turn a coil completely off
09:34 theBear rue_house, ahh, i was considering that, you'd need to have one coil on both sides of the l293 and make sure you never enabled both
09:34 GuShH_Lap theBear: last time I complained on the previous place I never got an answer, had to pay full price never got a refund
09:34 theBear and it'd be a sneaky-coding 'nightmare'
09:34 theBear GuShH_Lap, mmm, your country is very different to mine... there's no denying it
09:35 GuShH_Lap and if you don't pay, they cut you off
09:35 GuShH_Lap and they charge you if you want the service back
09:35 GuShH_Lap ...
09:35 rue_house I hate googles new intermediate step to see the page an image came from
09:35 GuShH_Lap I'd be happier living off grid
09:35 GuShH_Lap It's just not practical in this country
09:35 rue_house jennie, http://www.edn.com/design/sensors/4407580/Brushless-DC-Motors-Part-II--Control-Principles
09:36 theBear rue_house, me too !
09:36 theBear and the weird grey intermediate page in general
09:36 GuShH_Lap I find it better than it was before
09:36 theBear tho the image or original page option isn't bad, doesn't makeup for the general uselessness of the search page now
09:36 GuShH_Lap they're trying to make it more friendly toward all platforms
09:37 theBear GuShH_Lap, if you get a page full of schematic results you can't tell at all what is what, before you could just mouseover a few and see a useful result
09:37 ShH_Lap suspects there might be a weirdo working for ja
09:37 theBear it's a big company, probably many of them :)
09:38 rue_house jennie, http://www.embedded.com/design/mcus-processors-and-socs/4006779/Implementing-Embedded-Speed-Control-for-Brushless-DC-Motors-Part-3
09:38 theBear oh, on that note, i recall atmel have some generic appnotes on 3phase control
09:38 GuShH_Lap does jennie have mcu experience at all?
09:38 theBear oh wait, 2phase
09:38 theBear i dunno
09:39 GuShH_Lap you should ask first before you all throw random links heh
09:39 theBear i don't throw links :)
09:40 GuShH_Lap worst part about all these problems is I can't focus on things that could ultimately solve them
09:40 rue_house (not jennie ) http://openbookproject.net/electricCircuits/AC/AC_13.html thats a good page on motors in general
09:40 ShH_Lap fr
09:41 GuShH_Lap I need a method to keep all negative thoughts out of my head
09:41 GuShH_Lap ....and it can't involve bullets.
09:41 rue_house aha
09:41 theBear you had one, but you quit drinking
09:41 GuShH_Lap drinking gets expensive
09:41 rue_house er no
09:41 theBear pot works for some
09:41 GuShH_Lap that means you get more in debt
09:41 GuShH_Lap I don't know where to get pot
09:41 GuShH_Lap isn't that funny? it's kinda legal and I don't know where to buy it.
09:41 theBear i'd rather drink and smoke myself into the gutter than see the world as it is
09:42 rue_house jennie, http://openbookproject.net/electricCircuits/AC/02511.png < the sequnce in b MIGHT work better
09:42 theBear kinda legal ? jeez, not here :)
09:42 GuShH_Lap you can smoke pot in front of police officers
09:42 theBear no i can't :)
09:43 theBear altho, in the past i've smoked it behind them
09:43 theBear at the mardi gras, you may have heard of it :)
09:44 GuShH_Lap I think its 5 grams, up to that it's illegal
09:44 theBear oooh, also once at a BIG very illegal rave, a bunch of them came thru for a noise complaint, everyone else was more aware than me in the stairwell, so when they walked past i was sitting alone dazed with a bong idly smoking in my hand... fortunately they had bigger fish to fry, AND someone had dropped a 30sheet of acid as they scurried away !!!! heh, i'd never felt so lucky
09:45 theBear lol, up to that, but a pound is fine eh ?
09:47 GuShH_Lap not sure about growing.... I think it's legal, who knows I'm not into drugs
09:47 GuShH_Lap but I wouldn't mind trying pot
09:47 GuShH_Lap if it means less back pain, less noise... more focus.
09:48 GuShH_Lap less anger heh
09:48 theBear apparently in many countries right now, i'd be prescribed either pot to smoke, or thc-throat-spray (some areas of europe apparently) for my pain
09:48 theBear less anger and harder to care about things
09:48 rue_house jennie,
09:48 rue_house 101
09:48 rue_house 100
09:48 theBear the trick tho is to still want to 'do something' instead of just eat or blanky stare at a tv
09:48 rue_house 110
09:49 rue_house 010
09:49 rue_house 011
09:49 rue_house 001
09:49 theBear that's halfstep, but still the sequence i made up and hour ago
09:49 GuShH_Lap theBear: with debt, pain, etc. it's hard to
09:49 rue_house hmm so it is
09:49 GuShH_Lap specially if nobody supports you
09:49 rue_house I think its for unipolar
09:50 theBear GuShH_Lap, i mean with pot use, tho i know what you mean, wasn't thinking too hard, i mighta just been given something i hadn't seen for a while, perhaps in some way relevant to this very conversation :)
09:50 rue_house GuShH_Lap, show your support for them jacking tings up by geting as many credit cards as you can and maxing them all out
09:50 theBear it should work, just maybe less torque than opening a coil
09:51 rue_house it'll help reset the economy
09:51 theBear i dunno about gush, but once yer crippled and broke here, you can't get a credit card
09:51 GuShH_Lap rue_house: no?
09:51 GuShH_Lap theBear: you can't here either.
09:51 GuShH_Lap you need stable income
09:51 theBear any shitty job you get a ton of them forced on you, but not crippled
09:51 GuShH_Lap proof of at least 6 months to a year
09:52 rue_house prove?
09:52 theBear kinda like always being in a half-stetop
09:52 theBear poof
09:52 GuShH_Lap yes. recipts of payment
09:52 rue_house or say?
09:52 theBear err, proof
09:52 rue_house hmm
09:52 GuShH_Lap you need to show the bank you are good for it
09:52 rue_house heh
09:52 GuShH_Lap you can't just walk in open an account and get the plastic
09:52 theBear next you'll be saying moofies eh ?
09:53 rue_house they must have changed that after everyone else in the country defaulted on all their cards
09:53 GuShH_Lap aparently I'm not good for a piece of plastic.
09:53 theBear GuShH_Lap, here you don't need to show in any realm that you can afford to use a credit card AT ALL, just that you are regularly employed
09:53 rue_house well, there is always bank robbery
09:53 GuShH_Lap come on dude
09:53 theBear these days it aint just putting a kerchief over yer face and waving a pistol around
09:53 rue_house after a while you can show regular bank deposits, and use that to get cards to max out
09:53 theBear hehe
09:53 GuShH_Lap I hate banks, but that's just stupid.
09:54 GuShH_Lap I'd rather work for McDonalds.
09:54 theBear the trick these days is to catch payroll for some big company during transit, or pretend to be the people picking it up
09:55 rue_house while your workign there get a mcdonalds credit card
09:55 rue_house damn I have to go
09:56 GuShH_Lap a what?
09:56 GuShH_Lap I've seen auto-mac cards
09:56 GuShH_Lap but no creditcards
09:56 GuShH_Lap what I mean to say is I'm not a low life thief I'd rather work my ass off.
09:56 GuShH_Lap I would put all thieves, rapists and killers to sleep if I had the power to do so.
09:57 GuShH_Lap theBear: I think the other trick is to fake it 'til you make it, like Dave does.
09:57 GuShH_Lap It works, but I still have morals...
09:57 theBear i don't believe in thieving or raping, and i haven't killed anyone yet, but i'm not against some 'criminal' activities
09:57 GuShH_Lap how can I get rid of my morals?
09:57 theBear stronger drugs than pot )
09:57 theBear :)
09:57 jennie many thanks I am working at it
09:57 GuShH_Lap We all did criminal things at once
09:57 GuShH_Lap or at least, not-too-legal stuff
09:58 GuShH_Lap once / one point
09:58 theBear actually, there is only really one, and even then i have restrictions... all other illegal methods of making money come down to stealing... ok, it's one with two major divisions
10:00 GuShH_Lap working in "black" is also illegal
10:00 GuShH_Lap ie off the books
10:00 theBear oh, hmm, that's not really stealing, maybe that is acceptable too, then again, i don't disapprove of the concept of taxes
10:00 GuShH_Lap I disapprove of how my money is being used
10:01 GuShH_Lap rather, they steal it all
10:01 theBear and if yer talking about just fooling shareholders, that's back to straight stealing
10:01 GuShH_Lap and 10% or less gets used
10:01 GuShH_Lap I mean, working in "black" that's just without benefits, not in the books.... ie. not quite legal.
10:01 GuShH_Lap lots of people employ like that
10:02 GuShH_Lap and if you are still a student, they use it as leverage to pay you less
10:02 GuShH_Lap and give you no benefits whatsoever
10:02 theBear if you work somewhere that you don't negotiate pay stuff like that, you deserve nothing
10:12 GuShH_Lap ?
10:12 ShH_Lap stares at the
10:12 theBear what ?
10:35 theBear hmmm, you know those + rubber lids for honey and maple syrup kinda err, containers, they self close so no drips ? i wonder how that would work for grease
10:50 GuShH_Lap theBear: they would probably work ok, why?
10:51 GuShH_Lap wish I had a grease gun :(
10:51 theBear cos i got a grease gun refiller that's just sitting there all messy like, and no grease gun :)
10:52 GuShH_Lap can't justify buying one so I use an old plastic syringe
10:52 GuShH_Lap it's not the same, but it's ok for now
10:52 theBear ooh, that's nto a bad idea
10:52 theBear hmm, did i have one of those here or at work ?
10:52 theBear hmmmm
10:57 GuShH_Lap only you know...
10:57 theBear i'm not sure even i know <grin>
10:58 theBear but at least i can admit it, that's the first step to recovery :)
10:59 GuShH_Lap o.O
11:12 GuShH_Lap theBear: if you are fed up with arduinians aren't you also annoyed at idiots saying "hack" all the time?
11:13 GuShH_Lap For instance, hooking up an LED to a resistor and a battery is suddenly a "hack"
11:40 theBear i blame hackaday
11:41 theBear heh, donkey oatey
11:48 jennie rue_house jennie,
11:48 jennie rue_house 101
11:48 jennie rue_house 100
11:48 jennie rue_house 110
11:48 jennie rue_house 010
11:48 jennie rue_house 011
11:48 jennie rue_house 001
11:48 jennie opps
11:48 jennie sorry
11:56 GuShH_Lap theBear: wth... all of my smtps are returning 550 or 555
11:56 GuShH_Lap out of the blue
11:57 theBear err, i guess something broken
11:57 theBear run outta quota perhaps
11:57 theBear db down ?
11:58 GuShH_Lap gmail
11:58 GuShH_Lap and my own at a hosting company
11:58 GuShH_Lap weird on both cases....
11:58 theBear reboot the internet !
11:58 GuShH_Lap if that's not it I'll come and fill up your nose with grease!
11:59 theBear it's a deal !
11:59 eBear waits for the internet to go
11:59 GuShH_Lap ok then
11:59 theBear what, you already did it ? that didn't even hurt
12:03 theBear waaaah
12:03 theBear you're multiplying
12:03 GuShh3 theBear: nope, still the same.
12:03 theBear i said THE internet, not yours
12:04 GuShh3 that's not doable.
12:04 theBear i seen it in a cartoon !
12:04 GuShh3 it could've been a router boo-boo
12:06 GuShh3 god damn
12:06 GuShh3 I need my smtp!!
12:08 GuShh3 this has to be the god damned ISP or something...
12:11 Shh3 resets all configs hoping it's a microsoft fuc
12:15 GuShh3 theBear: why is IMAP so shitty by the way? or is it just the clients heh
14:24 jennie hi
14:49 RifRaf hi
14:50 jennie hi RifRaf
16:48 RifRaf i need help :)
16:49 RifRaf http://pastebin.com/EuZtHTR7
16:50 RifRaf trying to make a function RGBtoHSV(); but cannot get the *h value
16:51 RifRaf the function is somewhat working because i get back the values for r g and b which is just R/65335 etc , to get a value from 0 to 1
16:51 RifRaf is it a pointer thang?
16:52 RifRaf example line of output,, Illuminance: 1624.10 x: 0.3567 y: 0.3604 CCT: 4625.63K -- Hue: 0.0000 Clear: 3143 Red: 2076 r: 0.0318 Green: 1542 g: 0.0236 Blue: 1106 b: 0.0169
16:56 ace4016 RifRaf, did you ever check to ensure delta never equals 0?
16:56 ace4016 in the off chance that the max and min are the same numbers for some strange reason
16:59 ace4016 for instance, with the colors white, black, and the shades of grey
16:59 ace4016 black also presents another issue
17:00 ace4016 ah, actually you covered black
17:01 ace4016 but yea; white and greys will cause issues with delta
17:01 RifRaf ace4016 have made a few changes, gonna print out all the variables
17:02 RifRaf making min max and delta global variables has starting making values for hue, but wildly differing
17:02 ace4016 i had a nicer way of translating rgb to hsv...let me see if i can dig up that code
17:03 RifRaf ok cool
17:03 RifRaf an trying to use this http://www.cs.rit.edu/~ncs/color/t_convert.html#RGB to XYZ & XYZ to RGB
17:04 ace4016 although i may have done it using trig functions; this looks like an MCU so might not work...i'll look up the code if i still have it
17:05 RifRaf ok the returned values for min max and delta are all good
17:05 RifRaf Illuminance: 1503.21 x: 0.3564 y: 0.3616 CCT: 4641.38K -- Hue: ovf r: 0.0292 g: 0.0219 b: 0.0155 min: 0.0155 max: 0.0292 delta: 0.0136
17:08 ace4016 so h's value should be 28.23529411764706 by those numbers
17:09 RifRaf i'll check, get values from 0.000 to 360 odd, and then way high to 29229566.0000 and more
17:09 RifRaf with pretty steady room in daylight
17:10 RifRaf will try a green led
17:10 RifRaf Illuminance: 2065.90 x: 0.3211 y: 0.3760 CCT: 5923.64K -- Hue: 99.0019 r: 0.0262 g: 0.0342 b: 0.0220 min: 0.0220 max: 0.0342 delta: 0.0122
17:11 RifRaf wow that looks good on the colour chart
17:12 RifRaf still getting overflows or something, red was 360 for a bit which is good, then jumped to Hue: 50070524.0000 and ovf
17:13 RifRaf blue led is good too Illuminance: 2742.28 x: 0.2340 y: 0.2381 CCT: 33614.78K -- Hue: 222.0039 r: 0.0228 g: 0.0426 b: 0.0921 min: 0.0228 max: 0.0921 delta: 0.0694
17:13 ace4016 sounds like the delta may have been too large or so
17:13 RifRaf so the issue is around 0 degrees
17:14 RifRaf well no, i am not sure, but some colours are working now
17:14 RifRaf ok will print a line that overflows
17:15 RifRaf RED led light, Illuminance: 2427.52 x: 0.4428 y: 0.3611 CCT: 2503.28K -- Hue: ovf r: 0.0804 g: 0.0264 b: 0.0163 min: 0.0163 max: 0.0804 delta: 0.0642
17:17 RifRaf maybe *s and *v should be printed too
17:17 RifRaf maybe its them
17:18 ace4016 errr...that's what i meant; the smaller the delta, the larger the numbers will be
17:18 ace4016 also, when comparing floats, you should never check to see if they're == 0
17:18 RifRaf ok
17:19 ace4016 use a predefined epsilon value to see if it's close to 0
17:19 ace4016 something like .000001 or so...depends on scale
17:20 ace4016 if (max > epsilon)
17:20 ace4016 that way you can better detect getting close to 0
17:20 ace4016 which will cause the numbers to explode
17:24 RifRaf ace4016 you do understand what is going on but i still have no idea, should i make larger values for r g b, i am dividing by 65335 but the max value is around 2500 so i could divide by say 3000 instead
17:24 RifRaf the get the values closer to 1
17:25 GuShh3 RifRaf: why do you need such sensor?
17:26 ace4016 what are your sensor output ranges? you just want to normalize that so that the max value maps to 1 and the minimum maps to 0
17:27 RifRaf GuShh3 because i am playing ok,
17:27 RifRaf ace4016 they max out the 65335
17:27 RifRaf with an ultra bright led torch
17:27 ace4016 hrm
17:27 RifRaf changing to / 3000 did not help, delta values were larger
17:28 ace4016 large is good
17:28 ace4016 goodish
17:28 RifRaf ok will leave that set for now
17:29 ace4016 my MCU knowledge is getting rusty, but iirc when you have the ADC, you can scale the input so that the values respond a certain way for max values and all that good stuff; you might want to make the max value something a little less intense so that in more moderate lighting it isn't difficult to scale
17:30 RifRaf *h *s *v are all returning the same values :/
17:31 GuShh3 RifRaf: Oh
17:31 GuShh3 I thought it was for a robot
17:31 GuShh3 I was curious
17:31 RifRaf GuShh3 well it is
17:31 RifRaf a colour sensing one
17:31 RifRaf der
17:32 ace4016 hrm
17:33 RifRaf 3 consecutive reading in same moderate room light, weird
17:33 RifRaf Illuminance: 1807.57 x: 0.3561 y: 0.3610 CCT: 4648.89K -- H: 0.0000 S: 0.0000 V: 0.0000 r: 0.7640 g: 0.5740 b: 0.4093 min: 0.4093 max: 0.7640 delta: 0.3547
17:33 RifRaf Illuminance: 1654.08 x: 0.3562 y: 0.3596 CCT: 4636.07K -- H: ovf S: ovf V: ovf r: 0.7053 g: 0.5230 b: 0.3787 min: 0.3787 max: 0.7053 delta: 0.3267
17:33 RifRaf Illuminance: 1653.87 x: 0.3562 y: 0.3596 CCT: 4637.44K -- H: 372.0078 S: 372.0078 V: 372.0078 r: 0.7050 g: 0.5230 b: 0.3787 min: 0.3787 max: 0.7050 delta: 0.3263
17:33 ace4016 how are you getting the input? just an ADC connected to some diodes or so?
17:33 RifRaf i2c bus
17:33 ace4016 ah
17:35 RifRaf http://imagebin.org/249028
17:35 ace4016 so when the sensors get saturated their max value is 65335?
17:35 RifRaf yes
17:35 RifRaf no, thats just the vaiables used in this code i assume
17:36 RifRaf the max value displayed is 65335 though
17:36 ace4016 have you captured the max value seen in a bright room or outside but not with a torch in front of the sensor?
17:36 RifRaf but can only do that with this torch, not regular led modules
17:37 RifRaf nope, i need a long usb cable
17:37 ace4016 hrm
17:37 RifRaf or laptop, will go get some readings, is overcast though, no sun
17:38 ace4016 try 32768 for the scaling factor
17:38 ace4016 3000 i noticed was too small
17:38 RifRaf k
17:40 ace4016 it'll break if it gets to a level of light that causes the sensors to go over 50%
17:40 ace4016 but for normal lighting, that should be fine; just a test value
17:40 RifRaf yep, still wild results, the odd one that looks correct
17:42 ace4016 hrm
17:42 ace4016 what does your code look like now?
17:42 RifRaf this is trying to hold a green module stable, not too bright for it,,
17:42 RifRaf Illuminance: 2631.34 x: 0.3150 y: 0.3945 CCT: 6098.71K -- H: 112.0019 S: 112.0019 V: 112.0019 r: 0.0549 g: 0.0909 b: 0.0497 min: 0.0497 max: 0.0909 delta: 0.0412
17:42 RifRaf Illuminance: 2577.24 x: 0.3162 y: 0.3934 CCT: 6059.88K -- H: 470.0078 S: 470.0078 V: 470.0078 r: 0.0550 g: 0.0887 b: 0.0489 min: 0.0489 max: 0.0887 delta: 0.0398
17:42 RifRaf Illuminance: 2552.12 x: 0.3168 y: 0.3928 CCT: 6038.88K -- H: 109.5019 S: 109.5019 V: 109.5019 r: 0.0551 g: 0.0876 b: 0.0485 min: 0.0485 max: 0.0876 delta: 0.0392
17:42 GargantuaSauce do h,s,v even point to anything sane?
17:42 GargantuaSauce i cant find them being initialized
17:43 GargantuaSauce that is not how pointers work
17:43 GargantuaSauce anyway i gotta run
17:43 RifRaf current code http://pastebin.com/9pa6FGwU
17:43 RifRaf GargantuaSauce yes i thought it was a pointer thing at first, likely still is
17:44 RifRaf is that why H S V are all the same
17:44 ace4016 is there a reason why they're pointers BTW?
17:45 RifRaf nope, just the maths example on http://www.cs.rit.edu/~ncs/color/t_convert.html#RGB to XYZ & XYZ to RGB
17:46 ace4016 just in the off chance that it's a pointer issue, change h, s, and v to non-pointer variables and use them as such throughout the code as you have them as globals
17:47 RifRaf ok
17:50 RifRaf H always = 60 now but the S and V are changing
17:50 m_itx thinks RifRaf should finish his c tuto
17:50 RifRaf wait i told it to do that :/
17:52 RifRaf Illuminance: 1784.50 x: 0.3564 y: 0.3610 CCT: 4636.52K -- H: 0.4599 S: 0.4665 V: 0.0693 r: 0.0693 g: 0.0518 b: 0.0370 min: 0.0370 max: 0.0693 delta: 0.0323
17:52 RifRaf Illuminance: 1803.35 x: 0.3564 y: 0.3612 CCT: 4638.61K -- H: 0.4630 S: 0.4666 V: 0.0699 r: 0.0699 g: 0.0524 b: 0.0373 min: 0.0373 max: 0.0699 delta: 0.0326
17:53 RifRaf this current code http://pastebin.com/JCbz03af
17:53 RifRaf there should be no pointers left
17:54 RifRaf Tom_itx this is my C tutorial, or how i want to learn this weekend
17:56 ace4016 RifRaf, try using this as your RGBtoHSV function and add in that variable i mention in the paste: http://pastebin.com/uizHxG7T
17:56 ace4016 kind of silly they didn't account for white, grey, or black
17:56 RifRaf okies
17:57 ace4016 that won't really get rid of all the issues, but it's a start
17:59 RifRaf getting some stable results
18:00 RifRaf no overflows or wild numbers
18:00 RifRaf all between 0.01 and 3.8 for H
18:00 RifRaf with different colours from the RGB led
18:01 RifRaf ambient roomlight Illuminance: 1745.67 x: 0.3566 y: 0.3614 CCT: 4632.92K -- H: 0.4639 S: 0.4682 V: 0.0339 r: 0.0339 g: 0.0254 b: 0.0180 min: 0.0180 max: 0.0339 delta: 0.0159
18:07 RifRaf should i add the pointers back?
18:16 RifRaf tried but all H S V changed to 0.000 all the time, removing again
18:19 Shh3 stares at the
18:20 RifRaf ok this is good
18:21 RifRaf had to add this back in h *= 60; // degrees
18:21 RifRaf i appear to getting a hue returned that seems correct on colour wheel
18:21 RifRaf in degrees
18:22 GuShh3 so long as it doesn't return a rue
18:22 RifRaf now need to make code to change that to a colour name
18:25 RifRaf it does think my room light is a red to orange hue, could that be correct
18:51 Tom_itx incandescent light?
18:51 Tom_itx probably so
18:51 Tom_itx flourescent are more blue
18:51 Tom_itx i think
18:52 Tom_itx depending on the gas mix inside
19:06 RifRaf its a 5000k flouro in daylight room
19:07 RifRaf Tom_itx how do i use a word as a variable?
19:07 RifRaf like colour, so i can change it to red green orange etc and then print it
19:07 RifRaf am sure its basic but cannot find help for anything but numbers
19:21 RifRaf yay its ok, did it differently, is printing RED GREEN or BLUE
19:22 RifRaf now to teach it more colours
20:36 ace4016 Rif
20:36 ace4016 naming and identifying colors in HSV is easier than in RGB :P
20:37 ace4016 it's the angle range
20:37 ace4016 of H
20:44 rue_house how did the 3 phase motor driver go today
20:48 Rif ace4016 thats why i did the conversion
20:49 Rif this is so cool now, it knows all lego colours including white, daylight, and white led
20:49 Rif all led colours from rgb led
20:49 ace4016 Rif, aye; when i did my color system i had to use HSV/HSL to identify colors in any lighting situation
20:50 Rif so now my room is daylight and an orange led or block is orange
20:50 e4016 digs up a pic
20:50 Rif am using s and l values with the h
20:50 Rif having a great time
20:51 Rif can show you code if you are interested
20:51 ace4016 grr...a lot of my pcitures went missing o.0
20:52 Rif http://pastebin.com/eWKtvyFg
20:52 Rif the section with the colour names is where i am working now
20:54 Rif just manually using the HSV values to generate colours as required
20:54 Rif and seems to be working
20:55 ace4016 http://img.photobucket.com/albums/v296/dante4016/private/block_loc.png
20:55 ace4016 hrm...you might not be able to see that image
20:56 Rif yep i can, you are detecting blocks
20:56 ace4016 but it's detecting the blocks and their colors
20:56 Rif cool
20:56 ace4016 in any lighting :P
20:57 ace4016 which was nice; i developed it in my room; took it to the lab and worked perfectly fine; presented in a poorly lit hall and it still worked fine (and even impressed some people from places like the CIA :P)
20:57 ace4016 there's all sorts of color spaces out there that have their advantages to the way you view images
20:58 ace4016 like if you want to compress images, but look good to the human eye, YCbCr is excellent
20:59 ace4016 as we apparently ignore the Cr iirc
20:59 ace4016 so you only need to transmit a low res version of it and compress the other two channels
21:02 Rif cool, sounds like you know your stuff, and thanks for the help to get past the earlier hurdle
21:02 Rif am very happy with this for now
21:05 Rif have to teach it black and grey blocks now
21:06 ace4016 i took an interest in image/signal processing back in uni :P
21:06 ace4016 one of the more useful bits of academia
21:08 ace4016 glad i could help btw
21:08 ace4016 i'm off to bed
21:11 Rif cheers, cya
22:37 Sypheren Oh wow
22:38 Sypheren Finally, typing /join and adding some guessed channel name actually brought me somewhere.
22:38 Tom_itx where did you wanna be?
22:38 Sypheren I just wanted to find some channel about robots, more specifically, swarm intelligence.
22:47 GargantuaSauce we only have swarm unintelligence here
22:59 rue_shop2 if I have a pulley B thats got a 2cm radius, connected by cables to another pulley A what size should pulley A be so that 360 degrees of rotation causes 300 degrees of rotation to pulley B
23:00 rue_shop2 I think 1.6cm radius
23:01 rue_shop2 but why limit it there
23:25 Rif ok i tidied up the colour senceing code to working how i'd like for now
23:25 Rif should be easy or hard to convert from arduino to webbotlibs?
23:25 Rif want to use an lcd and stuff but want to leave arduino ide before then
23:33 rue_shop2 I just successfully milled steel in my lathe by reversing the tool/work and using a carbide router bit
23:38 Rif nice work
23:39 rue_shop2 I need a dovetail bit to make dovetil sliders
23:43 Jak_o_Shadows http://www.roborealm.com/tutorial/Obstacle_Avoidance/slide010.php seems like a suspiciously logical and clear page