#robotics Logs
Dec 16 2013
#robotics Calendar
00:01 wildmage neat
00:01 rue_shop2 its handy
00:01 wildmage is it timer driven or code driven?
00:01 rue_shop2 its code
00:02 rue_shop2 no interrupts, so its stable
00:02 wildmage how do you time with code?
00:02 rue_shop2 for(; i != 0; i--) asm volatile ("nop"::); // 900 is 0.5ms, 5000 is 2.5ms
00:02 wildmage i see
00:04 rue_shop2 its not library worthy, its just a tool
00:27 rue_shop2 sweet, it works, 2 channels, who wants a copy?
00:27 rue_shop2 0-5V x 2 -> tiny13 -> hobby servo x2
00:28 rue_shop2 damnit bedtime
00:28 rue_shop2 gnight all
00:30 Jak_o_Shadows night
01:08 wildmage good night
09:41 rue_more anyone want a copy of the dual 0-5V to dual hobby servo pwm?
09:41 rue_more code for tiny13?
14:02 MrCurious1 1 interview down, 1 to go
14:15 wildmage interviewing for what?
14:52 R0b0t1 when you walk in they go weak in the knees right
14:52 R0b0t1 oh he left
17:09 GuShh_Lap2 R0b0t1: http://31.media.tumblr.com/a78eb94aa8532e4bf12ef2b91e82fbbe/tumblr_muspj7H1lU1qz63qno1_500.jpg
17:28 R0b0t1 GuShh_Lap2, no.
17:28 R0b0t1 Just... no.
17:28 R0b0t1 Though I do wonder if it's edible.
17:29 GuShh_Lap2 R0b0t1: why not?
17:29 GuShh_Lap2 he looks happy
17:29 R0b0t1 It's not normal looking.
17:29 R0b0t1 No.
17:30 R0b0t1 The part of me that makes snap judgements of sickly/ill is like NOPENOPENOPENOPENOPE
19:33 Guest86202 can anyone shed some light on how to get started on compiling for th eatmeg32
19:33 Guest86202 *atmeg32
19:34 ace4016 sure
19:34 Guest86202 thanks
19:34 ace4016 there are multiple tools, but ultimately gcc usually builds the applications
19:35 Guest86202 ok i think thats the avenue id like to go
19:35 Guest86202 with gcc
19:35 ace4016 you can get the atmega gcc tools from AVR (i believe) or there's AVR Studio if you're on windows
19:35 Guest86202 just linux
19:35 ace4016 there's also avrdude to help you flash/program the chips
19:36 Guest86202 avrdude?
19:36 ace4016 yup
19:36 Tom_itx it's for downloading the hex to the chip
19:36 Guest86202 oh a programmer that plus into usb?
19:37 Guest86202 plugs*
19:37 ace4016 it can
19:37 ace4016 i have two programmers that aren't USB (one serial, one parallel...from rue actually)
19:37 Tom_itx http://tom-itx.dyndns.org:81/~webpage/boards/USBTiny_Mkii/USBTiny_Mkii_index.php
19:37 Tom_itx like that
19:37 ace4016 wait, not rue...from rifraf
19:37 Tom_itx yeah i got one of his too
19:38 Tom_itx Guest86202, http://tom-itx.dyndns.org:81/~webpage/how_to/atmega168/mega168_howto_main_index.php
19:38 Tom_itx will need slight mods to work on the 32 but it will work
19:38 Guest86202 ok
19:38 ace4016 i might want to start looking for a USB programmer though; had to take the serial port card out of the computer for a PCI ethernet NIC :P
19:38 Tom_itx i know some guy that has some good ones
19:38 Guest86202 making a router?
19:39 ace4016 nyet; my onboard NIC corrupts all data that comes through
19:39 Guest86202 oh no
19:39 ace4016 so, rather than using my wifi card, i opted to get an ethernet card :P
19:39 Guest86202 i prefer wired myself aswell
19:40 ace4016 (wifi card was for when i was in uni...couldn't run wire through the apartment :P)
19:40 Guest86202 ah
19:40 Guest86202 http://tom-itx.dyndns.org:81/~webpage/boards/USBTiny_Mkii/USBTiny_Mkii_index.php
19:40 ace4016 heh, not common for a desktop to have wifi :P
19:41 Guest86202 well im just going to reboot my box so i can look at these web pages
19:42 Guest86202 im on a live sesion right now
19:44 moon_ could you guys give me those links again plese
19:45 Tom_itx zlog
19:45 moon_ thanks
19:45 Tom_itx help yourself
20:23 rue_mohr2 ace4016, shall I send you a programmer that works off an ide port?
20:26 ace4016 nyet
20:32 rue_mohr2 ?????? ????
20:37 robotustra he told no
20:38 robotustra chinise lunar rover in 40 years late on the moon
20:38 robotustra after USSR
20:39 rue_mohr2 ??? ??????? ? ???, ??? ??????
20:41 robotustra <rue_mohr2> ??? ??????? ? ???, ??? ??????
20:43 rue_mohr2 ? ???? ???, ????? ?????? ??? ????????? ??????
20:43 rue_mohr2 ????
20:50 rue_mohr2 http://eds.dyndns.org/~ircjunk/tutorials/prog/servoControl2/
20:50 rue_mohr2 there is the code for operating 2 hobby servos from analog signals
20:53 robotustra and?
20:54 Tom_itx wtf you want MORE!?
20:54 robotustra why did you created main.h?
20:54 Tom_itx gotta be there
20:54 Tom_itx to make gcc happy
20:54 rue_mohr2 no, its there to make the makefile happy
20:54 rue_mohr2 as its been told every .c has a .h
20:54 Tom_itx whatever
20:55 robotustra who told you that?
20:55 rue_mohr2 its just a handy thing to have if workign with servos
20:55 rue_mohr2 the makefile template I use was told that by someone
20:55 rue_mohr2 I didn't bother to change it, I just make empty main.h
20:55 robotustra just read ADC and put signal to servo regulating PWM
20:56 rue_mohr2 its about getting the timing right
20:56 rue_mohr2 I'v done the tuning, if you want to quickly operate a servo with a pot, there is the code
20:56 robotustra on your place I would put something /*WTF you want to find here?*/
20:56 robotustra inside main.h
20:57 rue_mohr2 heh
20:57 robotustra thanks, I'll not use servo in my robots :)
20:57 rue_mohr2 you sound russian
20:57 robotustra and drive them such a wierd way
20:57 robotustra no, really
20:58 robotustra I just don't like sound of servos
20:58 robotustra DC motors works fine and with very very small sound
20:58 Jak_o_Shadows I believe that because somebody forgot to turn off the debug key in this pygame release, thejoystick is screwing up.
20:59 rue_mohr2 why are you playing games instead of taking over the world with robots
20:59 robotustra yep, the same question
20:59 rue_mohr2 who is gonna make the robots that battle googles robotic warriors
20:59 robotustra oh
20:59 robotustra yes
21:00 Jak_o_Shadows remote control via a PS2 controller, through a PS2->PC adapter, into pygame, into pyserial, over a bluetooth adapter, to the robot
21:00 rue_mohr2 they bought boston dynamics, I mean, cmon
21:00 rue_mohr2 giddyup
21:00 robotustra this stupid company bought boston dynamics with all vents
21:00 rue_mohr2 ....vents?
21:00 robotustra intestins
21:00 robotustra vants
21:01 robotustra les vants
21:01 robotustra if I remember this word
21:01 Jak_o_Shadows However, the throttle is non-linear, so I should try to figure that out someday
21:01 rue_mohr2 ok...
21:01 rue_mohr2 translation table
21:02 robotustra des abatis
21:02 Jak_o_Shadows Yeah, I just have to sit down and actually find out how it's nonlinear.
21:02 Jak_o_Shadows Also, there is a bare minimum of code on the uC, it's mostly on an android phone or pc
21:02 rue_mohr2 if I sit down anymore I'm gonna fall asleep
21:03 Faek 30 burpees go
21:03 robotustra I have to rework a bit a skull for my robot, mill new version and finally stert to write a selfcalibration code for two eyes
21:03 robotustra start
21:04 robotustra for syncronous motions
21:09 rue_mohr2 would you like to see the protocol I use for synchronous motion control?
21:16 robotustra I have my own, but you can show me as well
21:16 robotustra may be you have something better
21:21 robotustra I send a packet to eye, PWM for each DOF and duration of pulse
21:43 rue_shop2 I know what I ned to do, I need to find the mtoor driver schematic
21:48 Jentrep Has this channel already gone through the whole: Google and robotics Companies discussion? :P
21:51 Jentrep I am just curious to get someones perspective (who would understand implications behind this) on the general story
21:51 Jentrep :)
21:58 robotustra Jentrep: what?
21:59 robotustra what do you want?
22:00 robotustra rue_shop2: thare are plenty of them
22:01 robotustra H bridge?
22:01 rue_shop2 half bridge, I use split supplies
22:01 Jentrep robotustra: a discussion? :P
22:02 robotustra http://fishki.net/3676-samodelnye-roboty-49-shtuk.html
22:06 robotustra rue_shop2:http://i1110.photobucket.com/albums/h458/alhoop1/moco.jpg
22:07 robotustra Jentrep: nothing to discuss, everything is clear
22:07 Jentrep >_
22:07 Jentrep >
22:08 rue_shop2 http://i1110.photobucket.com/albums/h458/alhoop1/moco.jpg
22:09 robotustra I use similar schematic for my robot eyes
22:09 rue_shop2 robotustra, that wont do 60W motors tho
22:10 robotustra so, use MOSFETS + H-bridge
22:10 robotustra you'll get your 60W easily
22:11 robotustra what voltage?
22:11 robotustra 30V
22:11 robotustra ?
22:11 ace4016 you make minature train sets
22:11 robotustra ace4016: kto?
22:12 rue_shop2 driving mosfets is annoying
22:12 ace4016 kto?
22:13 ace4016 whoever owns that schematic also has pictures of miniature train sets
22:13 robotustra who?
22:13 robotustra so, take more powerful driver
22:14 ace4016 http://s1110.photobucket.com/user/alhoop1/media/windmill.jpg.html
22:14 ace4016 not sure why, but i like miniatures :P
22:19 robotustra i go sleep
22:19 robotustra bye bye
22:19 rue_shop2 earth is tiny compared to the size of the universe
22:19 rue_shop2 AND YOU ARE ALL PUNY HUMANS
22:24 MrCurious 2 interviews done today
22:36 wildmage MrCurious, interviews for what?
22:36 MrCurious jobs