#robotics Logs

Feb 02 2013

#robotics Calendar


00:49 shuggans My first motor circuit totally workkksss WOOOOOOOOOOOOOOO
00:50 shuggans YES YES YES!
00:50 uggans party's it up
00:50 zhanx sweet!
00:52 shuggans first tryyyyyyy
00:52 shuggans NEVER happens to me
00:52 shuggans need to test my fet gang board now n then integrate it
00:52 shuggans + learn PWM better
00:52 shuggans and BOOOM
00:52 shuggans up to 50A driver boards
00:52 shuggans :D :D :D :D
00:53 zhanx and win
00:53 shuggans that was so freakin awesome to see something I made work
00:53 shuggans likephysical
00:53 RifRaf shuggans awesome work
00:53 shuggans feels liek my first script when I was a kid haha
00:53 shuggans celebratory cig time
00:54 RifRaf lol, the sweet smell of success
00:54 zhanx RifRaf, smelled that once way way back in the day
00:54 shuggans i dno if i want my success to smell like a marlboro but hey, ya take what ya can right? :P
00:55 shuggans brb
01:02 shuggans this is awesome!
01:02 shuggans haha - sorry for my outburst
01:02 RifRaf enjoy it dude\
01:03 RifRaf tank is 1 big step closer
01:03 shuggans hell yeah
01:04 shuggans goign to test my fet board now
01:07 RifRaf redesigned gripper and extra wrist servo + sensor http://imagebin.org/245170
01:07 RifRaf http://imagebin.org/245167
01:07 RifRaf shortened a few limbs to compensate for new weight
01:07 shuggans vga?
01:07 RifRaf vga?
01:08 shuggans whats the vga connector for?
01:08 Jak_o_Shadows IT'S LOOKING AT ME
01:08 RifRaf oh thats serial sir
01:08 RifRaf for the rs232 to computer to control it
01:09 shuggans oh lol
01:09 shuggans doi
01:09 shuggans t first glance thought it was db15
01:09 RifRaf Jak_o_Shadows yes they make nice 'eyes'
01:09 RifRaf db9
01:09 RifRaf before your time possibly :P
01:10 shuggans lol im using serial for tank! :P
01:10 RifRaf i know
01:19 shuggans well hell.
01:19 shuggans I think I cooked these fets dude.
01:19 shuggans damn...
01:19 shuggans they would just be stuck on all the time right?
02:00 Rif had to go get beer, still broken shuggans?
02:23 rue_shop2 ok, the miniitx boards I got are 266Mhz
02:23 rue_shop2 so I can get rid of everything lower than that
03:35 shuggans yep.
03:35 shuggans n fried another
04:11 RifRaf do you know why they are frying yet?
04:27 shuggans lol
04:27 shuggans THey arent
04:27 shuggans im a newb electronics circuit person
04:27 shuggans :P
04:29 shuggans I was hooking the test motor from drain trace to source trace to test. OF COURSE IT WAS STUCK ON. *palm to face*
04:30 rue_shop2 ok I seriously have to be asleep
04:30 shuggans flawless when hooked up right. as most things probably are.
04:30 shuggans I wonder how many designs engineers have scrapped due to bad testing... :P
04:31 RifRaf lol i have ripped up so many breadboards and stuff due to bad wiring on my part
04:32 shuggans lol
04:32 shuggans no
04:32 shuggans all boards work indiviually.
04:32 shuggans rlay board, fet board
04:32 shuggans relay*
04:33 shuggans So adding a heatsink+fan to the back of these pwm/on/off mosfets...
04:33 shuggans its like 3cm by 3cm
04:33 shuggans and has a sensor wire. needed?
04:34 shuggans (cooler master chipset fan+_heatsink)
04:34 RifRaf just have it on the whole time for starters
04:35 shuggans lol, so rip the sensor wire?
04:36 RifRaf nah just don't hook it up, what sort of sensor is it?
04:36 shuggans dk
04:36 shuggans just a 3 wire fan
04:37 shuggans i imagine a temp sensor on the mb
04:37 RifRaf speed control maybe?
04:37 shuggans yea
04:39 shuggans idk that this little guy is gna be worth a dman cooling 3 of these mosfets
04:40 shuggans may be better with a bigger heatsink + mounting an 80 mm fan
04:40 RifRaf yep that'll be plenty
04:44 shuggans brb need some super coffee
04:53 shuggans and I need a resistor between the gate + the source of each fet?
04:59 GuShh3 oh boy, two clueless minds helping each other
04:59 Shh3 gets the pop
05:00 GuShh3 shuggans: cheap heatsink (either active or passive) for 100W and more = athlon xp and such heatsinks
05:00 shuggans GuShh3: suggestions?
05:00 shuggans ok
05:00 GuShh3 it's easy to drill and tap the alu, gives you a nice flat surface to mount them
05:00 GuShh3 and they're readily available
05:01 GuShh3 shuggans: I wouldn't recommend anything else, except if you had an old audio amp and you were to gut it, the heatsinks on those are always nifty
05:01 GuShh3 no need to buy anything special most of the time
05:04 shuggans GuShh3: http://www.visuafusion.com/robotics/IMAG0092.jpg + http://www.visuafusion.com/robotics/IMAG0090.jpg
05:04 shuggans how does the capacitor + resistor thing work from gate to source on the fets?
05:04 GuShh3 that's not bad, reminds me of my first projects
05:05 GuShh3 problem is you should mount your power devices on the edge, so it's easier to heatsink onto random stuff
05:05 GuShh3 shuggans: got a schematic?
05:05 shuggans yes - just dont know how to translate it into building it even though I drew the thing :P
05:05 shuggans not sure if i got that peice quite right on the schematic though after some reading on it...
05:05 shuggans let me find
05:06 shuggans GuShh3: http://www.visuafusion.com/robotics/IMAG0048.jpg
05:07 shuggans let me get a better pic of the right side
05:07 Shh3 twit
05:07 GuShh3 shuggans: there are online tools to make nice schematics these days
05:07 GuShh3 or LTSpiceIV which is free
05:08 GuShh3 shuggans: are you worried about pull-ups or pull-downs? these are N type fets and you want them to stay off? then you use a pull-down
05:09 shuggans GuShh3: http://www.visuafusion.com/robotics/IMAG0093.jpg Need to do in this one what I do here: http://www.visuafusion.com/robotics/IMAG0094.jpg if Im correct?
05:11 GuShh3 why are you using paper :/
05:12 GuShh3 the cap would give you some stability in exchange for making the fet harder to drive and thus slower.
05:12 shuggans Lol - just learned kind of how to make schematics.
05:12 GuShh3 are you trying to depict it's parasitic capacitance by any means?
05:12 GuShh3 theBear: what's this site you use for schematics
05:12 GuShh3 circuitlab I think
05:13 shuggans No clue what you jsut said - Rue + useless suggested I place caps in between gate source
05:13 shuggans these are going to be used for PWM
05:13 shuggans This was a few weeks ago- trying to figure out why we needed them as a refresher
05:14 shuggans or do I jsut need them on the relay coils liek I had already?
05:14 GuShh3 no caps... the resistors would either serve as pull ups or pull downs
05:14 GuShh3 to "set a default state"
05:14 GuShh3 because if your gate goes hi-z (high impedance, floating) the fet's gate would naturally tend to charge itself
05:14 shuggans Do I need them on the relay coil circuit?
05:14 GuShh3 unless you keep it discharged (or charged, based on your requirements)
05:15 GuShh3 shuggans: as part of a snubber? sure
05:15 GuShh3 look these things up and experiment
05:15 shuggans can you define snubber?
05:15 GuShh3 maybe try ltspice and simulate it
05:15 GuShh3 transient supressor
05:15 GuShh3 or damper.
05:16 shuggans kk. So back the resistors - how much of resistor do I need between gate + source?
05:17 GuShh3 how much peanut butter do you need in your sammich
05:17 shuggans alot.
05:17 GuShh3 LOL
05:17 shuggans I dig that stuff
05:17 shuggans Im kind of hungry now, thank you :P
05:17 GuShh3 me too...
05:18 shuggans they are 50 amp, 12v relays
05:18 shuggans and 75amp fets
05:19 shuggans (logic level)
05:19 shuggans How do I figure out how much of a resistor I need in there?
05:24 RifRaf shuggans the datasheet should have examples for those values
05:25 RifRaf what fets are you using now?
05:25 shuggans 76137p
05:29 shuggans so i need 20kW
05:29 shuggans ?
05:30 RifRaf no
05:30 RifRaf thats power not resistance
05:31 shuggans in the data sheet the W is the hms symbol
05:31 shuggans Ohms*
05:31 RifRaf 5.6ohms maybe? not sure, need triffid or someone that can decode the datasheet http://pdf1.alldatasheet.com/datasheet-pdf/view/52862/FAIRCHILD/HUF76137P3.html
05:32 GuShh3 unless you start making real schematics I will refuse to go any further
05:32 shuggans it's actually the intersil one: http://pdf1.alldatasheet.com/datasheet-pdf/view/67393/INTERSIL/HUF76137P3.html
05:32 GuShh3 since it would be a waste of time
05:32 shuggans GuShh3: Im learning
05:32 shuggans you should see when I FIRST started drawing them...
05:33 shuggans these would be a blessing :P
05:33 GuShh3 I know but you can also learn to use software
05:33 shuggans I was jsut never shown any
05:33 GuShh3 both are useful but having a real schematic is a lot more useful than a piece of paper when it comes to sharing and editin
05:33 GuShh3 editing
05:35 shuggans :(
05:35 shuggans so close...
05:38 GuShh3 shuggans: don't give up
05:38 shuggans Drain to Source On Resistance rDS(ON) ID = 75A, VGS = 10V (Figures 9, 10) - 0.0075 0.009 Ohms
05:38 shuggans Is tha twhat I need to be looking at?
05:38 GuShh3 no
05:38 RifRaf Rgs
05:38 GuShh3 those are characteristics of your device
05:39 RifRaf there are values mentioned and test schematics to go with them, your link didn't work for me
05:39 shuggans http://pdf1.alldatasheet.com/datasheet-pdf/view/67393/INTERSIL/HUF76137P3.html
05:40 shuggans here: http://www.alldatasheet.com/datasheet-pdf/pdf/67393/INTERSIL/HUF76137P3.html
05:42 orlok took my CRO home yesterday
05:42 shuggans I have 4 new resistors wondering if they will work...
05:42 GuShh3 :p
05:42 GuShh3 shuggans: schem...
05:42 GuShh3 and not sideways
05:43 GuShh3 you chose a difficult hobby, congratz.
05:43 shuggans sideways? huh?
05:43 GuShh3 90 off
05:43 shuggans the capacitor fet i showed you was from a different part of the schematic
05:44 shuggans (If that's what you are referring to)
05:54 shuggans night all
06:00 shuggans GuShh3: http://www.visuafusion.com/robotics/IMAG0095.jpg <does this work?
06:01 shuggans Or do I just need one if all gates + sources are linked?
06:02 shuggans (Not soldered in yet)
06:02 GuShh3 shuggans: I can't distinguish what you're doing that's why I asked for a proper schematic
06:03 GuShh3 maybe other people are used to guide you based on pictures... I'm not, that's not what engineering is all about
06:04 Skwint it looks like a fairly sharp piece of plastic with 3 resistors and some metal in it
06:04 shuggans ok - what is this software called?
06:05 GuShh3 Skwint: are you the guy who writes the item descriptions for adventure games?
06:05 GuShh3 heh
06:06 GuShh3 shuggans: use whatever you please
06:07 Skwint no, but I may have played a few in my formative years :p
06:07 orlok kill snake
06:07 orlok with your bare hands?
06:07 orlok yes
06:07 Skwint aaah, the original!
06:08 orlok learnt to type playing it
06:08 orlok advent
06:08 Skwint plugh!
06:08 orlok xyzzy
06:09 Skwint wasn't it the dragon you killed with your bare hands?
06:09 orlok yeah, think you might be right
06:09 orlok ever notice it seemed you could drop the birdcage when your inventory was full, and pick something up, then get the cage?
06:09 Skwint nope!
06:10 orlok oh, and the bird scared the snake?
06:10 Skwint "... and in an astounding flurry, chases the snake away"
06:10 Skwint "... and in an astounding flurry, is burnt to a crisp"
06:14 orlok :)
10:25 totick anyone here knows software to simulate
11:01 rue_house playstation 0?
11:49 rue_shop2 "and this pin on the microcontroller MUST be kept low, or its brain will revert back to a keyboard controller"
12:21 shuggans hey all
12:22 rue_shop2 hay
12:35 shuggans rue: how much resistance do I need between gate and source on the mosfets in the relay circuit?
12:36 rue_shop2 10k is fine
12:36 rue_shop2 between 1k and 100k
12:36 rue_shop2 higher is better
12:36 rue_shop2 hmm pretty empty
12:36 rue_shop2 wonder whats going on
12:37 shuggans and I need caps in this circuit too right?
12:37 rue_shop2 I forgot that usually, people cant find this place on the first day
12:37 rue_shop2 shuggans, I wound't do them
12:37 rue_shop2 kat would
12:37 rue_shop2 lets say its optional
12:37 shuggans ok. Reason for not doing them or jsut not necessary?
12:38 rue_shop2 they are to be 'nicer' to the fets
12:38 rue_shop2 those are 40?A fets operating a 0.160A relay coil
12:38 shuggans So totally unneeded?
12:39 rue_shop2 and the coils have flyback diodes that will protect them from 'flyback'
12:39 shuggans bc my fets are overpowered?
12:39 rue_shop2 kats suggestion was to eliminate the flyback in the first place by making the on/off transition really slow
12:39 shuggans I see
12:39 rue_shop2 using the cap
12:40 shuggans So just double checking: red, purple, brown, gold resistor will work?
12:40 rue_shop2 you know in a car if you slam on the brakes and you get thrown forward, but then back again?
12:40 shuggans for relay coil circuit?
12:40 rue_shop2 yes
12:40 rue_shop2 you do NOT want the caps she was suggesting on the speed control fets or they will overheat
12:41 rue_shop2 but you need to put diodes in that are equiv to the flyback diodes in the relay coils, but for the motor
12:41 shuggans will they work for pwm fets or do I need better? and does each fet in the gang need a resistor or just one placed between gate + source trace?
12:42 rue_shop2 just one
12:42 rue_shop2 cause they are all connected togethor
12:42 rue_shop2 the fets you have are fine for pwm
12:42 Tom_itx rue_shop2, your new kid was a no show?
12:42 rue_shop2 the regular is in vancouver today, no new kid so far
12:42 shuggans ok. and the red purple brown gold will workthere too?
12:43 rue_shop2 I forgot that I almost ALWAYS hear the second week, that the first week they couldn't find the place
12:43 rue_shop2 shuggans, 270ohms, no, thats less than 1000
12:43 Tom_itx put a 'Rue's little workshop' sign out by the road
12:43 rue_shop2 heh
12:43 Tom_itx or
12:43 e_shop2 grumbles about a 12' m
12:43 Tom_itx 'All lost stop here'
12:44 rue_shop2 "END OF THE UNIVERSE"
12:44 rue_shop2 (with application for restraunt building permit underneeth)
12:46 shuggans so these wont work for even the relay coil?
12:46 shuggans relay coil circuit fets*
12:46 i-make-robots i finally got pen up/down working in my polargraph kit. www.marginallyclever.com/blog/
12:48 i-make-robots and this morning i finished designing the parts for my 4-armed delta robot. i've already got a 3-arm, now i'm testing if my code works just as well when i change #define NUM_ARMS.
12:51 rue_shop2 :)
12:51 rue_shop2 shuggans, there is another resistor you need called a 'pullup' we were calculating that
12:51 rue_shop2 shuggans, show me the diagram your working off
12:53 shuggans http://www.visuafusion.com/robotics/IMAG0048.jpg
12:57 rue_shop2 oh right, we used logic fets, ok
12:58 rue_shop2 looks good
12:58 rue_shop2 whats the pending question?
12:59 shuggans resistance needed between gate + source foir both the relay coil circuit + the speed control circuit
12:59 rue_shop2 10k
13:00 shuggans on both circuits?
13:02 shuggans so a red, black, green, gold is 2M and should work?
13:11 rue_shop2 too high, go lower
13:11 rue_shop2 try not to go over 100k
13:11 shuggans hmm.
13:14 i-make-robots rue_shop2 - what are you planning for maker fair this year?
13:15 rue_shop2 hmm
13:15 rue_shop2 its sneaking up quick on me isn't it?
13:21 shuggans damn
13:22 shuggans having trouble finding any 10k resistors on the power supplies I have torn apart
13:22 shuggans hmmm...
13:24 shuggans what happens if too much resistance?
13:29 rue_shop2 shuggans,
13:30 rue_shop2 1k 2.2k 3.9k 4.7k 5.1k 5.6k 8.1k 10k
13:31 shuggans any of thoe will work?
13:32 rue_shop2 yes
13:32 rue_shop2 remember I said between 1k and 10k?
13:32 shuggans ah no i didnt catch that
13:33 rue_shop2 the value of resistors in digital circuits is pretty non-critical
13:33 Tom_itx says the chief engineer
13:54 shuggans yellow purple orange gold?
13:55 shuggans its TINY...
14:03 shuggans does the size indicate anythign on these or is a huge resistor of the same color code the same as a tiny one?
14:13 rue_shop2 size is the power dissipation it can do
14:13 rue_shop2 remember wattage?
14:13 shuggans yes
14:13 rue_shop2 if a resistor has 1 amp thru it and 1 volt across it, whats the power dissipation?
14:14 shuggans so will a tiny (2mm long if that, 1mm wide) resisotr be okay for this?
14:14 shuggans 1w
14:15 rue_shop2 the tiny resistor you have is probably 1/8"
14:15 rue_shop2 er
14:15 rue_shop2 the tiny resistor you have is probably 1/8W
14:17 shuggans so nooooot at all right?
14:18 RifRaf will be ok shuggans, do it
14:20 shuggans on the PWM fets?
14:20 shuggans I need something like a 600Watt capable resistor for 12v at up to 50amps right?
14:20 RifRaf no
14:21 RifRaf the power draw through 10k will be small
14:22 shuggans so use this little guy?
14:22 RifRaf yes
14:22 shuggans I need to find another for the other board's fet gang too.
14:23 shuggans may be better off finding a matching set
14:24 RifRaf at 12v it will need about a 0.0144W resistor, so 1/8thw is plenty
14:26 RifRaf rue_shop2 you wanted to see the interface i am using for gait designing, did you look?
14:26 rue_house ok I screwed up, the shops I had to make it to are closed now
14:26 RifRaf goodo
14:26 rue_house RifRaf, I didn't catch the post
14:27 RifRaf :/
14:27 RifRaf will find
14:27 RifRaf [12:37] <RifRaf> http://imagebin.org/245123
14:27 RifRaf [12:38] <RifRaf> http://imagebin.org/245098
14:28 RifRaf just goes from 0 to 100% , i need to be able to control what 100% is
14:28 RifRaf seems to be about 6 seconds now
14:30 RifRaf made new gripper and redid a bunch of joints to get things a bit closer
14:33 shuggans rue: what kind of diodes do I need to get for the motors?
14:34 RifRaf in14004
14:35 shuggans not found?
14:36 RifRaf sorry in4004
14:36 RifRaf its just a basic diode, but ok for a test, and cheap
14:37 RifRaf this would be so much easier if you were biulding to a schematic
14:37 rue_house the mtoors need diodes that can take surge of the same current your driving the motors at
14:37 RifRaf have you googled for fet and driver schems?
14:37 rue_house if your driving a motor at 30A, the flyback will be at 30A
14:37 rue_house shuggans, check the ratings on the transistor shaped diodes in the power supplies
14:37 shuggans So I need 50 amp diodes to match the relays jsut in case, even though I will def most likely not reach 50A
14:38 RifRaf rue_house would be cool if you just made a little schematic with a few values, is taking rather long to add about 4 components together
14:38 RifRaf cannot believe he is still interested actually
14:38 shuggans lol - I am soaking it all in
14:38 rue_house RifRaf, you wanna take over?
14:38 RifRaf no because i cannot
14:39 RifRaf i wish i just give the answers
14:39 rue_house he dosn't read/write schematics yet
14:39 rue_house which is fine, cause he's been doing it for a total of about 4 days now
14:39 shuggans lol - Im going to figure this stuff and have it make sense to me if it's the last thing I do...
14:39 RifRaf but at least i could help if there was some plan to this
14:39 rue_house 8-| ok!??
14:39 rue_house he has a plan
14:40 rue_house he's asking questions about it
14:40 shuggans Rif: I have schematics. just on paper
14:41 RifRaf ok sorry, i just get frustrated when things go so slow
14:41 shuggans Original plan was to buy a premade driver board for $200 that handled the serial signals directly. But after coming here decided to bite off more than I could chew by learnign the electronics circuitry stuff and building myself
14:41 rue_house RifRaf, gait designer is cool
14:41 shuggans But I'm chewing through that
14:41 rue_house so its just controlling the timeline thts being a problem?
14:41 RifRaf thanks rue for looking
14:41 RifRaf yes
14:42 RifRaf please try it, can send you the code for your avr, all you do is plug it in with rs232
14:42 rue_house I have a problem like that I did a long time ago
14:42 shuggans And I can only work on this during weekends + the tank is at my brothers.. so testing will be hard. jsut covering my bases before wasting a trip out there :P
14:42 rue_house no gui tho, been trying to update it for a while
14:42 rue_house RifRaf, whats it called?
14:42 RifRaf gait designer, only one on the internet
14:42 RifRaf http://webbot.org.uk/iPoint/44.page
14:43 rue_house shuggans, I need to draw in the diodes for you, give me some time
14:43 shuggans wilco
14:43 rue_house darn its java
14:43 RifRaf yes is java, works on most platforms easy
14:44 rue_house java on this machine is screwed
14:44 rue_house havn't bothered to fix it because EVERYTHING java I'v ever enountered is slow and unstable
14:44 shuggans are power rectifiers diodes + is this the kind of diode we need?
14:44 rue_house shuggans,
14:44 shuggans noticed they are in circuit with fets on these PSUs
14:44 rue_house http://www.visuafusion.com/robotics/IMAG0048.jpg
14:45 RifRaf well this is cool enough to fix it for, the project designer and stuff are java too so you kinda need it for webbotlibs
14:45 rue_house diode from combined drain of fets, to + of battery, with the + end of the diode by the fets
14:46 rue_house RifRaf, I have a C library for BVH files
14:46 shuggans ok - so overshoot the fets?
14:47 rue_house that diode is 'around' the motors, its just before the reverser relays, same as the diode for the relay coils, can you see?
14:47 rue_house RifRaf, that I made
14:48 rue_house I'm interested in their spline alg tho
14:49 RifRaf the smoothness factor?
14:49 rue_house its a multipoint spline
14:49 rue_house with your 6 values
14:49 RifRaf yep is pretty neat
14:50 RifRaf and by lowering the smoothness all the points become sharp
14:50 rue_house why is time measured in %?
14:50 RifRaf it just is, and i need to lengthen it
14:50 rue_house it almost looks like the timeline is part of a different editor
14:51 RifRaf its fine till you add in about 10 different movements in one gait, then it has to move too fast
14:51 shuggans rue: http://www.visuafusion.com/robotics/motordiode.jpg
14:51 rue_house yes
14:52 shuggans simple enough
14:52 rue_house good diode symbol too
14:52 rue_house if you follow your wires, you will see its right across two of the relay posts
14:52 rue_house :)
14:53 shuggans makes sense, except for how does this not just complete the circuit all the time?
14:53 rue_house something in the sky is making everything outside bright
14:53 rue_house shuggans, see how positive is on the negitive end of the diode?
14:53 shuggans so each relay I can put a diode between 87a and 87, stripe towards 87?
14:54 rue_house so, normally, the diode dosn't conduct
14:54 rue_house I cant read the numbers off that image
14:54 shuggans (two throws)
14:54 rue_house that would be right
14:55 shuggans If I use 2, could I get away with half the max amps each?
14:55 rue_house when the motor generates its spike, the power is sent around in circles, not thru the transistor
14:56 rue_house sure
14:56 rue_house if you use diodes in parallel, you want to have a bit of resistance in series with them, a peice of wire 4" long is enough
14:56 shuggans I see, and eventually dies off due to friction etc?
14:57 rue_house you dont have to worry about the wire guage to the diodes because the surge is really brief
14:57 rue_house shuggans, 'yes'
14:57 rue_house 14 guage wire would be fine
14:58 rue_house the diode may get warm, so if you used 4" of 14 awg wire to the diodes in the power supply with the heatsink it would be awesome
14:58 rue_house hmm, well my day got messed up
14:59 RifRaf rue_house make the most of it and do something else
14:59 rue_house clening the shop is going really well
15:00 RifRaf rue_house have put together a few of the source code files in this paste, somewhere in there it should define to loop for 100%, http://pastebin.com/v3SUVtwL
15:01 rue_house you cant get me t do all your coding for you.. you do knwo that right? thejester tries to do the same thing
15:02 rue_house static void setSpeed(const GAIT_DESIGNER* gait, uint8_t servo, int8_t percent){
15:02 rue_house int16_t temp = (int16_t)percent * DRIVE_SPEED_MAX;
15:02 rue_house DRIVE_SPEED speed = temp / 100;
15:02 rue_house __ACTUATOR* act = getEntry(gait,servo);
15:02 rue_house __act_setSpeed(act,speed);
15:02 rue_house }
15:02 rue_house cant you find a DRIVE_SPEED_MAX defined?
15:03 RifRaf what about if i pay you?
15:03 rue_house still cant, dont have time
15:04 RifRaf can understand that, but i figure i am better off paying someone and going of to work than doing me head in
15:04 RifRaf and i'll do the mechanical side and get ideas
15:04 rue_house in my life relying on other has generally been a complete fail.
15:05 rue_house I can only speak on my experiance, but I suggest your existance may not be much different
15:05 GargantuaSauce not if you can help it :V
15:06 RifRaf yes if you want a job done right do it yourself, but i have limits
15:06 rue_house its just learning to code
15:06 rue_house you got foxy running again yes?
15:06 RifRaf so you think DRIVE_SPEED_MAX is a key?
15:06 RifRaf the computer yes, but her brain is mush
15:06 rue_house I think s
15:07 rue_house ok, gcc works?
15:07 RifRaf yes
15:07 rue_house ok
15:07 rue_house shall we do some coding later?
15:07 rue_house whats your local time?
15:07 rue_house !time
15:07 tobbor My watch says its 12:59PM Sat Feb 02 2013
15:07 RifRaf if you have time, i'd rather see shuggans get somewhere
15:08 rue_house shuggans, is fine, he's pointed in the right direction the rest is up to him
15:08 RifRaf and i have dev c++ on here to thats thats easier than using another computer
15:09 rue_house its easier for me to help you write linux programs
15:09 rue_house you can upload files to foxy via scp right?
15:10 rue_house get this on foxy
15:10 RifRaf yes but that computer if pulled apart again
15:10 rue_house #include <stdio.h>
15:10 RifRaf no psu or anything
15:10 rue_house int main(void) { printf("Hello Rifraf\n"); return 0; }
15:10 rue_house oooh
15:11 rue_house by brain I thogutt you meant software
15:11 rue_house hmm
15:11 rue_house ok, try ^^ that in devc++
15:11 rue_house jus the two lines
15:11 rue_house wow, its really bright outside
15:12 RifRaf #define DRIVE_SPEED_MAX ((DRIVE_SPEED) 127)
15:12 RifRaf thats in actuators.h
15:12 RifRaf which is called by servos.h
15:12 RifRaf from hardware.h
15:12 rue_house try 16 and see if they get faster or slower
15:13 rue_house I'm gonna go sort another 500 screws
15:13 RifRaf don't think i am meant to touch those files cause they are used for all motors, but will have a go
15:13 RifRaf i used a bunch of your sorted screws yesterday :)
15:23 RifRaf rue_house the timeframe and speed seem the same
16:15 Rif anyone about? need ideas on where to mount a distance sensor for gripper, or is there a better sensor?
16:16 rue_shop2 the side of it
16:16 Rif ok so not like this? http://imagebin.org/245170
16:16 Rif was thinking to make it grab an abject if its like 5cm away
16:16 rue_shop2 thats the side
16:17 Rif it is?
16:17 rue_shop2 top side, but whatever
16:17 Rif ok yes
16:17 rue_shop2 ow many servos on that?
16:18 Rif 7
16:18 rue_shop2 prices
16:18 Rif added an extra wrist yesterday
16:18 rue_shop2 y
16:18 Rif about $1 each
16:18 rue_shop2 !?
16:18 Rif the arm has cost me 0 and no trips to shop
16:18 rue_shop2 oh those are micro ones
16:18 rue_shop2 :)
16:18 Rif yeah but getting some metal gear ones
16:18 Rif yes babys, see the lego man, thats for you to scale with
16:19 Rif am trying to make the smallest cheapest arm i can
16:19 Rif and its done :)
16:19 Rif just need to add the sensor back to this new gripper
16:19 Rif revision 4
16:19 rue_shop2 now work on counterbalancing it
16:19 Rif i have been
16:20 Rif want the latest pic?
16:20 Rif whole gripper and wrist has been redesigned twice yesterday
16:20 Rif thank goodness for files hacksaw and acrylic glue
16:20 rue_shop2 ok
16:28 Rif rue_shop2 http://imagebin.org/245259
16:30 Rif any comments on the gripper and wrist design?
16:40 rue_shop2 I dispise side load on the servos
16:40 rue_shop2 gripper is good, rest of it...
16:42 rue_shop2 Rif, can you makea 1:1 pdf with the outline fo the gripper parts?
16:43 rue_shop2 k I think I'm gonna fall asleep
16:43 rue_shop2 its my choice, bed or chair
16:44 Rif yeah is all in cad so could send you that
16:44 Rif designed to be cut with 3mm bit or smaller
16:55 Tom_itx cad as in the model or the cutter path?
16:55 Tom_itx i could retool the model
16:55 Rif model, but still owrk in progress
16:55 Tom_itx what cad?
16:56 Rif auto
16:56 Tom_itx dxf or iges would work
16:56 Tom_itx my acad is old but i've got others
16:57 Rif well if we can get the code working well together wil be happy to share, am thinking of making a few gripper parts since there are none available for these servos
16:58 Tom_itx i cut my boxes with a .032" bit
17:01 Tom_itx http://www.youtube.com/watch?v=-CEqokrtFI4&feature=youtu.be
17:05 Rif looks cool, cute boxes, are they the programmers? still making them?
17:54 Tom_itx yes and yes
17:54 Tom_itx usb programmer
17:55 Rif got a link to them on ebay or anything?
17:56 Tom_itx http://tom-itx.dyndns.org:81/~webpage/boards/USBTiny_Mkii/USBTiny_Mkii_index.php
17:56 Tom_itx http://tom-itx.dyndns.org:81/~webpage/commerce/commerce_index.php
17:57 Tom_itx they do _all_ the 8bit avrs
17:57 Tom_itx ISP PDI and TPI protocols
17:57 Tom_itx PDI is the new xmegas
17:57 Tom_itx TPI is for the attiny 4 5 9 and 10
17:57 Tom_itx 6pin critters
17:58 Tom_itx http://tom-itx.dyndns.org:81/~webpage/temp/tiny/tinyTPI1.jpg
17:58 Tom_itx like that one
17:58 Tom_itx 4 io
17:58 Rif cool, nice gadgets will grab a couple to try
17:58 Tom_itx i got one blue left for now
17:59 Tom_itx gettin ready to build more up
17:59 Tom_itx plenty of the others
17:59 Rif cool good to see that you have sold em then
18:00 Tom_itx several hundred so far
18:00 Rif wow even better
18:00 Tom_itx it was a fun project for sure
18:01 Tom_itx if you get more than one let me know and i'll save you some postage
18:02 Tom_itx i had options for multiples but removed it
18:02 Rif will get one programmer, but also have just odered another usbtiny online cause i thought mine was broken
18:03 Tom_itx if you want one of the breadboard adapters pictured here i'll toss one in:
18:03 Tom_itx http://tom-itx.dyndns.org:81/~webpage/boards/USBTiny_Mkii/new_kits/USBTinyMkII_adapter_kit_desc.jpg
18:04 Tom_itx haven't used many 6 to 10 adapters.. just rue who holds out for the 10 pin plug style
18:07 Tom_itx you won't need the tiny once you get this
18:08 Tom_itx in fact, if you haven't ordered it yet, i'll send ya one
18:08 Tom_itx i got some left over
18:09 Tom_itx http://tom-itx.dyndns.org:81/~webpage/boards/prog/mini_USB_prog1.jpg
18:09 Tom_itx like those
18:10 Tom_itx same as what you got except it has the buffer
18:24 Tom_itx Rif raf n staff!
18:24 Tom_itx where did you go?
18:26 Rif ebay, looking for better cameras for these eyes, making new frames next
18:26 Tom_itx you already ordered the tiny programmer?
18:26 Tom_itx i'd send you one i have
18:26 Tom_itx nobody want's em anymore
18:26 Tom_itx since i got the other one
18:26 Rif no was holding off for a bit
18:27 Tom_itx good
18:27 Tom_itx your old one was the one without the buffer right?
18:27 Rif usbtiny? i'd have one of the originals yeah
18:27 Tom_itx like the early one from ladyada
18:27 Rif have a few, but seems i have salvaged chips from some
18:28 Rif yep
18:28 Tom_itx well, don't buy one.. i'll toss one in if you get a programmer
18:28 Tom_itx just remind me
18:29 Rif yep no worries
18:30 Tom_itx i haven't used one of those in ages
18:30 Tom_itx but they still work
18:30 Tom_itx just slower
18:35 Tom_itx where did you find the gear design for your gripper?
18:35 RifRaf i designed it
18:35 Tom_itx is it a proper gear geometry?
18:35 Tom_itx just curious
18:35 RifRaf using a gear pattern generator i bought
18:35 Tom_itx ahh
18:35 Tom_itx i did one once in my cad for sprockets
18:35 RifRaf yes very good, all sorts of patterns, will show you link
18:36 Tom_itx i doubt i would cut many gears
18:36 RifRaf http://woodgears.ca/gear_cutting/template.html
18:36 RifRaf i been making lots
18:37 RifRaf was so frustrating making them from scratch so money well spent
18:38 Tom_L i thought i might have a gear one but can't seem to find it
18:38 RifRaf and being able to cut them nicely is mega bonus
18:38 Tom_L similar to the one in the link
18:38 RifRaf would like to buy some tiny router bits and see how small i could make the gears then
18:38 Tom_L just gotta cut em slower
18:38 RifRaf 3mm , just under 1/8 is about as small as we go
18:39 Tom_L i was using hss on mine but switched to carbide and it works MUCH better on plastic
18:39 Tom_L the hss would get hot and melt the plastic
18:39 Tom_L and doesn't dull near as quick
18:49 Tom_L haha i think i found it
18:51 Tom_L you gotta know a bit about gear geometry but i found it
18:52 RifRaf yeah had to study a bit to make em right as well
18:52 Tom_L i was pretty sure i had one
18:52 Tom_L i wrote the one for sprockets
18:52 RifRaf nice
18:54 Tom_L these are macros that run in my cad cam but i could post the gear one if you care to look
18:54 RifRaf probly over my head and have working easy solution, but thanks
18:55 Tom_L i like to study stuff like that once in a while just to see
18:56 Tom_L so what do you use to generate the gcode from acad?
18:57 RifRaf enroute
18:57 RifRaf is a pretty full package for machineing
18:58 RifRaf http://www.enroutesoftware.com/
18:58 RifRaf i can't wait to learn more 3d stuff
18:58 RifRaf well 2.5d, but i can rotate parts so is kinda 3d
18:58 Tom_L we did mostly 3d
18:59 Tom_L back when i was helping a friend at his shop
18:59 RifRaf yeah we make 3d sing from 2d parts
18:59 RifRaf signs
18:59 Tom_L http://clearwateren.com/
19:00 RifRaf this stuff i being doing is out of the ordinary for work, but they like that i am doing new stuff, they know i get bored easy
19:00 Tom_L that was his place before he sold it and retired
19:00 Tom_L http://clearwateren.com/gallery.php
19:00 Tom_L some of the parts we dkd
19:00 Tom_L did
19:00 RifRaf looks like a nice factory
19:00 Tom_L i wired most of those machines to the pc
19:01 Tom_L he started in his garage
19:03 Tom_L i rather enjoyed doing that kind of stuff
19:03 RifRaf don't you have lots of servos laying around tom?
19:03 Tom_L i got a few somewhere
19:03 Tom_L not many
19:10 GargantuaSauce http://workman-industries.net/images/hexapod/servoboard_front.jpg http://workman-industries.net/images/hexapod/servoboard_back.jpg
19:11 GargantuaSauce made a shitty board for controlling 32 servos with spi
19:11 Tom_L pretty clean for proto
19:12 GargantuaSauce not sure I agree, thanks though 8)
19:19 RifRaf GargantuaSauce nice work, tested it yet?
19:23 Tom_itx RifRaf, you should set yourself up a small cnc at home and get into linuxcnc
19:24 Tom_itx lotsa guys make em from wood etc for routing
19:24 RifRaf heh this girl at work has got one at home, uses all the same software, bed is about 2feet square, would love one
19:25 RifRaf had to go use it one day when ours was down, still did stuff in 3mm ally
19:25 Tom_itx nice
19:25 RifRaf they had never tryed aluminium but i had to get a job done, dunno how much they would be though
19:25 RifRaf the one at work is about 140k
19:26 Tom_itx yeah
19:26 RifRaf so even a small one would be lots, and the software is a few k per seat
19:26 Tom_itx most commerical ones are that or more
19:26 Tom_itx naw, use linuxcnc
19:26 Tom_itx it's got quite a few features for drawing shapes etc
19:27 RifRaf ok will have a look at it, i feed the machine these plt files
19:27 Tom_itx and runs the mill with regular gcode
19:27 RifRaf not regular gcode
19:27 RifRaf but it looks the same
19:27 Tom_itx hmm
19:27 Tom_itx wonder how it's different
19:28 RifRaf i'll try get it going again, been trying for weeks toi get it going here, something with the dongle
19:28 RifRaf then can show ya
19:28 Tom_itx years back i found a place in ca that broke those dongles
19:28 Tom_itx parport?
19:28 Tom_itx or usb
19:29 RifRaf i have a dongle, off the computer we don't use alot, this is legit
19:29 RifRaf usb
19:29 Tom_itx mine was too but it was parport
19:29 Tom_itx i got tired of messin with it so i got the fix
19:29 RifRaf asked if i could setup at home to do extra stuff
19:30 Tom_itx well, it helps them because you get better with it
19:30 RifRaf yep
19:30 RifRaf and can setup cut files here so i don't have to do it after work, just start it up at lunch and get job done
19:30 Tom_itx ahh, you at work now?
19:31 RifRaf nope is sunday
19:31 RifRaf been working with hacksaw and file all weekend to make this arm
19:31 RifRaf but good to do
19:32 RifRaf make use of of the wrong parts i made, handy having then to be able to drill a few holes in with drill press and use
19:33 RifRaf i think if i replace a few of these mico servos at the base with standard it will make this arm a good one
19:34 RifRaf i just had to do it all with micro onees first cause i knew they would work, even though most would doubt it
19:37 Tom_itx i set up an intel atom board for the mill
19:44 RifRaf cannot find the small one but i use this http://www.tekcel.com.au/cnc_routers_tekcel_routers_enduro.htm the enduro6 with 18 tool changer
19:45 Tom_itx lots of guys build those gantry style mills
19:45 Tom_itx and put a router head or chinese spindle on it
19:46 Tom_itx i need to mill a handfull of boxes but i don't think i'm up for it tonight
19:47 RifRaf up to 120mm Z axis, once had to engrave a design onto 100mm wood and worked
19:47 RifRaf and optional higher, but that would mean a new gantry i guess
19:48 Tom_itx you loose half the height on mills with the tooling
19:48 Tom_itx if you're running something that requires long tools
19:48 RifRaf so you just have to keep turning parts 90° and aligning with the side of the vice?
19:48 Tom_itx we milled a blower hat on one once and had to use really long cutters
19:49 GargantuaSauce RifRaf: tested it with counting input & scope, not with servos yet
19:49 RifRaf for your milling like in the video
19:49 GargantuaSauce need to write the code mcu-side first
19:49 Tom_itx RifRaf, it just depends how i write the code
19:49 RifRaf GargantuaSauce so yu are gonna code it all from scratch? admirable :)
19:49 Tom_itx i did it so i could have a common reference on that one
19:50 GargantuaSauce i am a software guy
19:50 RifRaf yeah was wondering why alingment seemed pretty easy
19:50 Tom_itx x y z zero could be anywhere
19:50 Tom_itx it was by design :)
19:50 RifRaf when i move parts on vacuum table takes ages to realign
19:50 Tom_itx use dowel pins
19:50 RifRaf yeah i use alignment holes when i have to flip parts
19:50 RifRaf works to less than 0.1mm
19:51 rue_shop2 RifRaf, hahah, I have one of the same sensors there as you do
19:51 Tom_itx i was out to see my friend the other day and they've all switched to some pretty cool tooling fixtures
19:51 rue_shop2 I meant to hook it up to the oscilloscope and play with it
19:51 RifRaf rue_bed the eyes?
19:51 rue_shop2 I should do that now
19:51 rue_shop2 ultrasonic
19:51 RifRaf rue_shop2\
19:52 RifRaf yes 5 for about
19:52 Tom_itx they use a grid plate like you saw on mine but with 1" tapped holes the fixtures screw into
19:52 Tom_itx all sorts of different types
19:52 RifRaf $10, and shows me cm instantly with webbotlibs
19:52 Tom_itx makes alignment alot quicker
19:52 RifRaf and was accurate, have 2 hooked upto another board
19:53 RifRaf so rue, would it make a suitable sensor to detect something in front of the gripper?
19:53 RifRaf did i post the finished version?
19:53 rue_shop2 I dunno
19:53 rue_shop2 havn't plyed with mine yet
19:53 RifRaf have moved onto new project now
19:54 RifRaf the arm can go in for show and tell at work tomorrow
19:54 rue_shop2 I have 8 servos left from the set I got for making the biped
19:54 RifRaf gives me more reason to be allowed to use router for me own stuff
19:54 Tom_itx what plastic is that? HDPE?
19:54 RifRaf rue hook them all up and try out the gait designer dude
19:54 Tom_itx something else..
19:55 RifRaf just acrylic scraps
19:55 RifRaf 3mm
19:55 RifRaf plexiglass
19:55 Tom_itx yep
19:55 RifRaf will get delrin sheet for final designs
19:56 RifRaf and go 1mm thinner cause its a bit heavier
19:56 RifRaf but i love it
20:00 rue_shop2 rifraf, ready for this information on those sensors?
20:00 RifRaf it needs a name http://imagebin.org/245278
20:00 RifRaf srf 04?
20:02 rue_shop2 hard surface reflection breaks up at ~50cm
20:02 rue_shop2 (max good range)
20:02 RifRaf i was getting 180cm accuately
20:02 Tom_itx are those devantech?
20:02 RifRaf it would change by 1cm or so sitting there
20:02 Tom_itx i got a few of those
20:02 Tom_itx older versions
20:02 RifRaf no ebay specials
20:02 RifRaf new ones
20:02 RifRaf 5 for 10 bucks
20:02 Tom_itx nice
20:02 Tom_itx what interface?
20:03 RifRaf http://www.ebay.com.au/itm/360515899700?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649
20:03 RifRaf Tom_itx any 2 i/o pins
20:04 RifRaf per device, and there are ways to use 1 i/o
20:04 Tom_itx so you ping one and wait for a reply on the other?
20:04 RifRaf guess so, i guess add the device and it works :)
20:04 RifRaf just*
20:04 Tom_itx black box programming
20:05 RifRaf can't deny i am not getting the stuff done i wanna do though
20:05 Tom_itx yep
20:06 RifRaf like i know i need help to get the gripper to close when the distance is like 5cm or so, but i know thats easy for others, and i hope they can help when i get to that bit
20:06 Tom_itx they?
20:07 RifRaf i am more than happy to help those same people make the hardware that they find so hard to do, so they end up just talking about it
20:07 RifRaf they is the collective others that sit here all day and don't contribute or make things
20:07 Tom_itx ahh
20:08 Tom_itx i thought you meant the guys that wrote the lib
20:08 RifRaf sorry i was on a rant :)
20:08 Tom_itx np
20:08 Tom_itx good for the soul
20:08 rue_shop2 hard surface reflection breaks up at ~50cm (max good range)
20:08 RifRaf the dudes that wrote these libs i am using, one main dude webbot, has done use avr people a big service
20:08 RifRaf and we should make the most of it
20:09 rue_shop2 soft surface reflection breaks up at about 20cm
20:09 rue_shop2 no signal -> output erratic
20:09 rue_shop2 minimum distance is about 3cm
20:09 RifRaf rue_shop2 i have actually used them and they go more than that
20:09 RifRaf but!! i only want to detect an object at 5cm remember
20:09 Tom_itx my polaroid sensors were good for around 26 feet
20:09 RifRaf oh you are saying its too close
20:09 rue_shop2 output pulse is 1.2us at 30cm, .4us at 10cm
20:10 RifRaf well 3 to 6 cm worked good in testing
20:10 rue_shop2 I'm just telling you what I see
20:10 Tom_itx if you get too close the ping time becomes very short
20:10 RifRaf i have put my polaroids into the camera collection, much easier to use these working $2 units
20:10 rue_shop2 u or ms
20:10 RifRaf ok but will you help me try?\
20:11 Tom_itx who you askin?
20:11 rue_shop2 sorry, the us shoudl be md
20:11 rue_shop2 sorry, the us shoudl be ms
20:11 RifRaf cause i have seen the distance displayed on lcd accuratly already a few days ago you see
20:11 RifRaf rue
20:11 rue_shop2 yes rif
20:11 Tom_itx mine were written on the 68332 iirc
20:11 rue_shop2 wonder how you deal with the sperattic output
20:11 RifRaf Tom_itx just asked who
20:11 Tom_itx no code for avr yet
20:11 RifRaf and i said you
20:11 Tom_itx but the principle is the same
20:12 rue_shop2 the modules are $2 on ebay
20:12 RifRaf at the momewnt i am waiting for a responce from the makers\
20:12 Tom_itx for what?
20:12 Tom_itx i explained how i believe they work
20:12 RifRaf to slow down my animation for gaits
20:12 RifRaf so i can do cooler stuff
20:12 rue_shop2 that was the only timer I could find
20:12 RifRaf so for now moved onto making new eyes for foxy
20:13 rue_shop2 the main loop for issuing the positions dosn't seem to be there
20:13 RifRaf rue_shop2 its fine, don't worry about it, they will tell me
20:13 RifRaf yes its magic
20:14 Tom_itx i got lost somewhere
20:14 RifRaf showed em the arm, that has to get a responce at least and show i am havin a go
20:14 RifRaf Tom_itx me too but i just kept walking
20:14 RifRaf or running blindly
20:14 Tom_itx what are you asking about?
20:14 RifRaf nothing, i am fine
20:15 RifRaf ok, maybe i should go back a little
20:15 RifRaf you know how i made the arm move
20:15 rue_shop2 Tom_itx, have you used isp comms to anything yet?
20:15 RifRaf well its like a 6 second sequence, if i add too many moves it all gets too fast
20:16 RifRaf so i wish to extend the animation, or shorten as required
20:16 rue_shop2 RifRaf, do you still have the ssc controller?
20:16 Tom_itx isp comms?
20:16 rue_shop2 I wrote a linux app to spool position data from a BVH file to them
20:16 RifRaf and learn how to play one after the other, to make it like pick up 6 lego men in different places
20:16 RifRaf rue_shop2 yes,
20:16 rue_shop2 I'v only ever set up the serial port for asynchronous
20:16 RifRaf was that for steppers and motion way back?
20:16 rue_shop2 no
20:17 RifRaf oh that was sdcc
20:17 rue_shop2 I'm have my challange going to make a robot dance
20:17 rue_shop2 it was part of that
20:17 RifRaf yes tell me rue
20:17 RifRaf can i enter?
20:17 Tom_itx heh sure
20:17 rue_shop2 yes, nobody has made arobot do a good dance yet
20:17 RifRaf crap
20:17 rue_shop2 its been like 2 years not
20:17 RifRaf i saw some cool ones just the other day
20:17 rue_shop2 w
20:17 rue_shop2 no I mean from us
20:18 rue_shop2 someone on irc
20:18 RifRaf well takes so long to make a motor turn in here
20:18 RifRaf this places needs a makeover
20:19 Tom_itx could be
20:19 RifRaf rue you should be doing amazing things
20:19 Tom_itx life gets in my way nowdays
20:19 Tom_itx or i would do alot more
20:20 RifRaf am sure you are but i still see you bogged down in the little things
20:20 RifRaf rue i mean
20:20 Tom_itx i was lucy to get the mill updated
20:20 RifRaf yes looks like a very nice mill
20:20 Tom_itx the control will run a much bigger one though
20:21 Tom_itx that was the grand plan
20:22 rue_shop2 falling edge start measurement
20:22 Tom_itx then wait for the reply on the other pin
20:23 Tom_itx as i said earlier
20:23 RifRaf rue_bed are you trying the sensors out?
20:23 Tom_itx 1130 ft per sec at my elevation
20:23 RifRaf http://webbot.org.uk/WebbotLibDocs2/device.jsp?device=SRF04
20:24 rue_shop2 RifRaf, THATS how I just got all that information
20:24 Tom_itx divide that by 2 for the return distance
20:24 rue_shop2 I just OPERATED it
20:24 Tom_itx and you got it
20:24 rue_shop2 :)
20:24 RifRaf cool
20:25 Tom_itx mine are similar to those
20:25 RifRaf mine look different but same deal
20:25 rue_shop2 some output an analog votlage eh?
20:25 shuggans rif: Ill be happy with progress after making a 50 amp motor driver for first project :P
20:25 rue_shop2 mine have "HC-SR04"
20:25 Tom_itx some are i2c or spi too
20:25 shuggans no worries :P
20:26 Tom_itx http://tom-itx.dyndns.org:81/~webpage/maxbot/image023.jpg
20:27 Tom_itx http://tom-itx.dyndns.org:81/~webpage/maxbot/image027.jpg
20:27 RifRaf rue_shop2 exactly same here, hc-sr04
20:27 rue_shop2 did you time the pulses on that one?
20:27 Tom_itx yes
20:28 rue_shop2 what was the counter clock at do you remember?
20:28 rue_shop2 ok I have a max7219 I want to try out
20:29 Tom_L The TPU1 has a 250 n_sec period @16mhz so:
20:29 Tom_L Sound is .003387 in/TPU period
20:29 Tom_L So it takes 295.24653 periods/inch
20:29 Tom_L So take the result periods / 295.24653 to get inches
20:29 rue_shop2 I found a good one, 9 channel, 8 bit pwm chip on ebay
20:29 rue_shop2 listed as a 3x rgb controller
20:29 rue_shop2 so you ran the counter at the full 16M, wow
20:29 RifRaf got some nice rgb controllers off ebay
20:30 RifRaf and with the rbg leds from works they are crazy
20:30 rue_shop2 $1 for two of the chips
20:30 rue_shop2 but they have a bit of an annoying serial interface
20:30 rue_shop2 its pwm serial
20:30 RifRaf 1w leds x 4 per chip
20:31 rue_shop2 anyhow I want to see if I can use these rgb controllers for running 9 motors
20:31 RifRaf to make what?
20:32 Tom_L http://pastebin.com/64ibR4G2
20:32 rue_shop2 well, servos can be done with 8 bit
20:32 rue_shop2 C on a motorola!?
20:32 rue_shop2 wow
20:33 Tom_L wait
20:33 rue_shop2 yea, pretty simple
20:33 rue_shop2 esp if you arn't trying to measure real distances
20:34 Tom_L http://pastebin.com/CsmzuQph
20:35 Tom_L oh wait.. that's just the init for the TPU channel
20:37 Tom_L http://pastebin.com/AmXYkhsL
20:38 Tom_L aarg that's the same as the first
20:38 shuggans rue: http://autoplicity.com/products/104706-optima_battery_8073_167_yellowtop_deep_cycle_battery.aspx?utm_source=google&utm_medium=cpc&utm_content=104706NOFITMENT&utm_campaign=GSNOFITMENT&adtype=pla&kw=&utm_term=&adpos=1o3&network=g&gclid=CKz7_umKmbUCFdRbPAodm0QAMw < brother got this battery
20:40 Tom_L rue_bed, use a pin change interrupt
20:40 Tom_L half dozen lines of code or less
20:40 RifRaf shuggans get a few
20:40 shuggans he wants to get 2
20:41 shuggans better than a nomal car battery?
20:41 RifRaf well 2 then
20:41 RifRaf better than 1
20:41 RifRaf guess so, they say it is
20:42 RifRaf i got some nice deep cycle marine batterys recently and happy just them, 100ah
20:42 RifRaf use em for the boat and trolling motor
20:42 rue_shop2 I'm out of milk
20:42 rue_shop2 I'm having to use whipping cream in my tea
20:42 rue_shop2 THIS IS NOT RIGHT
20:42 Jak_o_Shadows1 NEVER
20:42 Tom_L milk in tea!
20:42 RifRaf find the cat rue, might have some
20:42 Tom_L omg
20:44 Tom_L for accuracy find the speed of sound at your distance above sea level
20:44 Tom_L mine was 1129 ft/sec
20:44 e_shop2 has an
20:45 RifRaf i am 150 meters above sea level
20:45 rue_shop2 buying chips on ebay, so he can download the datasheets and colour them in with pencilcrayons
20:45 Tom_L iirc i'm 1300ft above
20:45 RifRaf me? nah about 420 or so
20:45 RifRaf oh you, gee i am getting blind
20:46 RifRaf gonna go get an eye test soon
20:47 RifRaf and know i cannot see so is a no brainer
20:47 Tom_L temp affects it too
20:47 RifRaf took hours and hours to make that arm with good googles on
20:47 RifRaf lol goggles
20:48 Tom_L http://en.wikipedia.org/wiki/File:Comparison_US_standard_atmosphere_1962.svg
20:51 Tom_L http://en.wikipedia.org/wiki/File:FA-18_Hornet_breaking_sound_barrier_%287_July_1999%29_-_filtered.jpg
20:51 Tom_L that's cool
20:53 rue_shop2 wait I have a 74595 avr library
20:53 rue_shop2 that will work
20:54 RifRaf rue using a library?
20:56 Tom_itx probably one he wrote
20:57 RifRaf true :/
20:58 Tom_itx you could too :)
20:59 RifRaf no sir, not enough lifetimes for that
21:00 RifRaf just wanna make things, and complete old projects
21:01 RifRaf and still have to fish and see lots of the country, missing that
21:03 RifRaf could you trust 2 servos working as 1?
21:03 RifRaf like getting the same signals. if 1 stuffed up there could be alot of stress
21:03 RifRaf trying to make joints stronger
21:07 rue_shop2 BLUE 7 SEGMENT IS SWEEEEEET
21:08 RifRaf pretty huh
21:13 rue_shop2 i WAS SURE i HAD A AVR BREADBOARDDED UP
21:13 rue_shop2 oh cap[s
21:14 RifRaf you need an arduino rue, just to have handy
21:15 Tom_itx i think he has one
21:15 Tom_itx a arduino2560
21:15 Tom_itx like me
21:16 RifRaf even these 168 ones have been really handy for me, and loving the $10 nano ones
21:16 Tom_itx that's a good chip
21:16 RifRaf got a few more of them on order, they can go in this arm easy
21:16 RifRaf 328p
21:17 Tom_itx i got one of those on a breadboard
21:19 Tom_itx i suppose i could play with bootloaders tonight
21:19 Tom_itx never done much of that before
21:24 rue_shop2 whereever the beadboarded avrs is, its got one of the last of the breadboard programming adapters
21:25 m_itx points rue_shop2 to a nice shiney new
21:27 rue_shop2 Lola8088, hey
21:28 RifRaf heh i used a 6pin breadboard adapter the other night rue that you made, still worked but the led did not blink
21:29 RifRaf when i thought me programmer was dead
21:29 rue_shop2 I'm gonna throw caution to the wind and try out the mega328
21:30 RifRaf yay
21:30 RifRaf you will like it rue
21:30 Tom_itx is it a p or regular one?
21:33 rue_shop2 oh 324
21:53 rue_shop2 !time
21:53 tobbor My watch says its 07:45PM Sat Feb 02 2013
21:54 RifRaf early
21:54 RifRaf only 2.37pm here
21:56 rue_shop2 rifraf, open up devc++ eh?
21:57 RifRaf k
21:57 rue_shop2 wow, almost every pin is a pin change interrupt pin
21:57 rue_shop2 RifRaf, start a new C program
21:57 Tom_itx rue_shop2, welcome to the new world of updated avrs
21:58 rue_shop2 RifRaf, say when
21:58 RifRaf when
21:58 Tom_itx http://tom-itx.dyndns.org:81/~webpage/avr/atmega328/PCINT0/
21:58 Tom_itx pin change int
21:58 Tom_itx remember that rue?
21:59 Tom_itx the quadrature thing
21:59 rue_shop2 yea, that would work well with this thing
21:59 Tom_itx is why i linked it
21:59 rue_shop2 8 pwm too
22:00 Tom_itx remember pinchange is both edges
22:00 rue_shop2 er, mine is the 324
22:00 Tom_itx unlike the external one
22:00 rue_shop2 yea
22:00 Tom_itx int0 int1
22:00 Tom_itx can be configured
22:00 Tom_itx pcint is both by default
22:00 rue_shop2 !assist avr/programmer
22:00 tobbor Possibly http://eds.dyndns.org/~ircjunk/avr/programmer
22:01 RifRaf i think thats why 2 quadrature worked easy for me on the mega168
22:01 Tom_itx RifRaf, you should play along
22:01 Tom_itx might be fun
22:01 rue_shop2 I did a test with some polling code and it did just as good as the interurpt code
22:01 rue_shop2 hard to make it drop counts
22:01 Tom_itx up to a point yes
22:02 Tom_itx get much else goin on and it would
22:10 rue_shop2 ok, test 1, can I blink an led!
22:12 RifRaf is a wheel round?
22:12 rue_shop2 !seen a round wheel
22:12 tobbor I have never seen a round wheel
22:12 RifRaf come on blink led
22:12 rue_shop2 guess not
22:13 RifRaf if only yu would try these libs
22:14 RifRaf i know blinking the led is a fine art
22:14 rue_shop2 I'mnot doin that to know if the environment is right, its a hardware test
22:14 Jak_o_Shadows1 right, trying to think of something clever to get tobbor to say using !seen. Lets go to google: "I have never seen a...."-> black person?I'm scared.
22:15 Jak_o_Shadows1 Thank you yahoo answers for your contribution to the internet
22:15 RifRaf well it takes the hardware out of the question sir, so you can get on with making what you want
22:15 rue_shop2 hahahah
22:15 rue_shop2 no rif, I dont know if this avr even works
22:15 rue_shop2 I dont know if I connected the programmer properly
22:16 RifRaf well it helps me soon find out if they are any good
22:16 RifRaf cause i knoe the xtal fuses,a nd ewatever are fine
22:16 rue_shop2 this is anew avr, I know its on internal osc
22:16 RifRaf yep
22:17 Tom_itx set to 1Mhz
22:17 RifRaf got black to gnd and 5v to vcc?
22:17 RifRaf :P
22:18 Tom_itx where does the purple wire go?
22:18 RifRaf and the ones on the other side of the chip
22:40 rue_shop2 :/ I dont know if avrdude supports the 324a
22:40 rue_shop2 this is stupid
22:42 Tom_itx 324p
22:42 Tom_itx try that
22:42 Tom_itx it does
22:43 rue_shop2 different signature
22:43 rue_shop2 I apparently got the automotive version
22:43 rue_shop2 I'm sure for good reason
22:44 Tom_itx i'm not
22:44 Tom_itx frickin adobe
22:44 Tom_itx crappin out on this pc now
22:48 rue_shop2 editing avrdude.conf...
22:51 rue_shop2 RifRaf, see, I had the programmer plugged in backwards
22:51 rue_shop2 and avrdude.conf dosn't support the 324a, I had to add it
22:53 rue_shop2 hara! its flashes!
22:54 rue_shop2 no avrs were harmed in the flashing of this led
23:02 Tom_itx the P and PA are both in the newer one
23:02 Tom_itx rue_shop2, what's the signature on it?
23:02 rue_shop2 this isn't P or PA its just A
23:02 rue_shop2 ends with 15
23:03 rue_shop2 1e 95 15
23:03 Tom_itx 0x11
23:03 Tom_itx for the PA
23:03 rue_shop2 nope
23:03 rue_shop2 yea
23:03 Tom_itx 0x1E 0x95 0x11
23:03 rue_shop2 the ones Ihave are 1e 95 15
23:04 rue_shop2 I'm sure its all minor differences
23:04 rue_shop2 gcc-avr understands the 324a, so I'm sure I'm fine
23:04 rue_shop2 programs just like a 324p
23:05 rue_shop2 ok I'm gonna get distacted for a bit
23:05 Tom_itx it's voltage temp or frequency is all
23:05 Tom_itx who dare?
23:47 rue_shop2 wow, time flies, when your sorting scerws
23:49 rue_house RifRaf, did you get devc++ started yet?