#robotics Logs
Jan 21 2013
#robotics Calendar
00:08 rue_house yes, 4x more than your average UPS
00:08 rue_house I cant wait to see what the runtime is
00:26 rue_house well I didn't get a chance to play with div background images
03:03 Ademan wtf, I apparently placed two orders on aliexpress which I added to my cart but I'm 99.999999999% sure I did NOT continue with, but just left in my cart. has anyone else experienced this?
03:04 Ademan (I've been planning to place the order for some time, however I've been waiting to get a low limit CC to make the purchases with, this has been my plan for some time...)
03:30 RifRaf got 4 of these yesterday and been testing them, worth every cent http://www.ebay.com.au/itm/180947008880#ht_3326wt_1399
03:32 RifRaf can use all me RC batteries as supplies safely, the adjustment is accurate and output stays there with any input voltage
03:32 Ademan RifRaf: all 165 of them? ;-)
03:32 RifRaf every one Ademan
03:33 Triffid_Hunter RifRaf: yeah I got a pack of about 10 of those, they're great
03:33 RifRaf just hooked up some supply wires and all the avrs are churning away, will power most printer motors even
03:34 RifRaf Triffid_Hunter yep they are like less the price of the variable pot at jaycar
03:36 RifRaf and the next best thing it got recently was http://www.ebay.com.au/itm/271046398777?ssPageName=STRK:MEWNX:IT#ht_1311wt_1399
03:37 RifRaf have put the deans on every input power and motor, even for breadboards and avrs
03:37 Tom_itx those regs were pretty darn cheap
03:37 RifRaf so can swap and change easy, they used to be like $6 a pair
03:38 RifRaf Tom_itx yep grab a few, they work as described
03:38 RifRaf easier than messing with a 7805 even
03:38 Tom_itx http://tom-itx.dyndns.org:81/~webpage/misc_stuff/5v_switcher.jpg
03:38 Tom_itx i know
03:38 Tom_itx :)
03:38 Tom_itx mine are fixed though
03:39 RifRaf nice ones tom but can you do it for the price of these chinese?
03:39 RifRaf they must get the parts for peanuts
03:39 Tom_itx nope
03:41 Tom_itx how many did you get??
03:42 RifRaf 4
03:42 RifRaf left one at work but the rest are doing stuff, one at 6v for servos, one 5v for avr and one 12v for motors
03:42 RifRaf all for like $5
03:43 Tom_itx what's the regulated range?
03:43 Tom_itx i know they're good for like 40v or so
03:43 RifRaf 2A
03:43 RifRaf um its on that webpage, will look
03:43 RifRaf 1.Input voltage:4.75V-35V
03:43 RifRaf 2.Output voltage:1.25V-26V(Adjustable)
03:44 RifRaf and have less than 1V drop, so can use a 7.2V rc for a 6V servo pack
03:44 RifRaf when charged they are more like 8v though
03:45 RifRaf have 2 hooked up in series to make a 15V input for the 12V motors
03:45 Tom_itx http://www.ebay.com/itm/DC-to-DC-Buck-Step-Down-Converter-Module-LM2596-Voltage-Regulator-Voltmeter-Red-/400369337180?ssPageName=STRK:MESE:IT
03:46 Tom_itx that would be handy too
03:46 Tom_itx 7 seg shows input or output v
03:46 RifRaf yeah thats a fancy version
03:46 RifRaf am tempted to get a couple though
03:47 RifRaf for safer prototyping
03:49 RifRaf just got a few :) they look very close to the same design and once again cheaper than the 7segs wich could be reused
03:50 Tom_itx caps are 50v too if the pic is correct
03:51 RifRaf yep
03:51 Jak_o_Shadows That's not a bad idea
03:54 Tom_itx you just cost me money!
03:55 RifRaf haha
03:57 Tom_itx iirc i got 6 and 3
03:58 RifRaf also the reverse protection works, hooked up like 16v 50A of RC batteries the wrong wat when i was making the adapter and was all sweet, i did notice the voltage on the meter within seconds though
03:59 Jak_o_Shadows Just go an ebay account, suggest me things!
03:59 Tom_itx some of those
04:00 Jak_o_Shadows Yeah, 2 in cart
04:00 RifRaf Jak_o_Shadows and the deans, they are a great way to hook up multi A current stuff
04:01 Tom_itx using digikey prices it would cost $10 to build those
04:01 RifRaf and i can suggest a few nice camera lenses i have my eye on if you feel like spending big
04:01 RifRaf tom yeah is sad eh
04:02 Tom_itx speaking of... my neighbor got a Nikor macro zoom from a garage sale for $1
04:02 Tom_itx very nice lens
04:02 Jak_o_Shadows Haha, i'm more looking for basic stuff. Caps, resistors, maybe some protoboard
04:02 RifRaf yep i love the garage sales for old camera gear, have some great old slr stuff that was so cheap
04:03 Tom_itx they have 0603 packs of r's and c's you can get for like $12 or so
04:03 RifRaf Jak_o_Shadows get some of these http://www.ebay.com.au/itm/300830037624?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649#ht_1038wt_1166
04:04 RifRaf am waiting on mine, should be able to just heatshrink the whole thing inline nice and easy where i need a uC
04:04 Jak_o_Shadows RifRaf: I have a msp430 that i'm learning, so i'll stick to that atm.
04:04 Jak_o_Shadows Tom_itx: Surface mount?
04:05 Tom_itx the only way
04:05 RifRaf wats that?
04:05 Tom_itx 0603 packs of r's and c's
04:06 RifRaf no a msp430
04:06 Tom_itx oh
04:06 Tom_itx TI chip iirc
04:06 RifRaf is it worth a google or leave it alone
04:06 Tom_itx meh
04:06 Jak_o_Shadows TI chip, decent sized community, was $4.30, has the arduino platform ported to it
04:06 RifRaf i am happy with these new libs, once i work them out avr should be friendly
04:07 RifRaf ah ok, so you can use alot of the same code then
04:07 Jak_o_Shadows Well, maybe.
04:07 RifRaf i forget wat i used to like TI for
04:11 Jak_o_Shadows Where's all the non SMD assorted packs of resistors?
04:11 Tom_itx it's 2013 get with the program
04:12 Tom_itx those went out in the 90's
04:12 RifRaf they are handy for breadboarding still but i use 1k just about all the time
04:13 RifRaf but you can also solder an smt between 2 header pins and breadboard them as well
04:13 Jak_o_Shadows Don't have any header pins. Should pick some up.
04:14 Tom_itx http://www.ebay.com/itm/2000-pcs-Assorted-1-4W-0-25W-5-Through-Hole-Carbon-Film-Resistor-Kit-0-10Mohm-/110927146617?pt=LH_DefaultDomain_0&hash=item19d3c5ee79
04:14 RifRaf get hundreds
04:15 RifRaf of pins, likes several rows, i use heaps
04:15 Tom_itx http://www.ebay.com/itm/23-Pin-Header-Plug-Easy-Snap-Insulator-strip-0-1-2-54mm-5pcs-/250934795226?pt=UK_BOI_Electrical_Components_Supplies_ET&hash=item3a6ce11bda
04:15 Jak_o_Shadows That's pretty good Tom_itx
04:17 Jak_o_Shadows http://www.ebay.com/itm/3pcs-2-54-mm-40-Pin-Single-Row-Pin-Header-Strip-PCB-/221035663499?pt=LH_DefaultDomain_0&hash=item3376c0908b equivalent?
04:18 Tom_itx http://www.ebay.com/itm/Male-to-Male-Solderless-Flexible-Breadboard-Jumper-Cable-Wires-For-Arduino-65Pc-/170972459144?pt=LH_DefaultDomain_0&hash=item27cec0b088
04:18 Jak_o_Shadows Nah, i've got plenty of multi-coloured solid-core wire, and i can get it for free
04:19 RifRaf i use the multicoulered ribbon cable and header pins, and hotglue around the connection, has been working nice
04:29 Jak_o_Shadows What's something like http://www.ebay.com/itm/Micro-9g-9-G-Servo-RC-FOR-Futaba-walkera-Hitec-HS-55-TREX-450-HELICOPTER-NEU-/360499541215?pt=AU_Toys_Hobbies_Radio_Controlled_Vehicles&hash=item53ef7274df like? I'm wanting to cut down on mosfets and just use a dual pole dual throw switch instead of a H bridge (i have one already)
04:38 RifRaf wow they are cheap now, have about 50 here, they are ok, not real strong and some just stop working
04:39 RifRaf there were about $4 each in bulk iirc
04:39 RifRaf the eyes i posted on youtube link the other day are using them, cept one out of 4 was not working
04:40 RifRaf bit jittery in this though http://www.youtube.com/watch?v=XF0JOjMsUPk
04:41 RifRaf has the hotglued breadboard connectors as well
04:43 Kryczek ...I didn't really expect this channel to exist; Freenode is awesome! Hi :D
04:43 RifRaf hello Kryczek
04:44 Kryczek I have a question for which I already have an answer but I'm hoping you guys would know something much better :)
04:45 Jak_o_Shadows Hi Kryczek
04:45 Kryczek I would like to make a "robotic hand" in a way that would type on a numeric pad
04:45 Jak_o_Shadows Anyway, anything else cool and reasonably inexpensive i should get?
04:46 Kryczek I'm thinking of using solenoids but I haven't found some that are thin enough to be put next to each other (I would have to put one close then another further away behind the first one etc)
04:47 Kryczek so I am wondering if there would be a better of way of doing this; like maybe some sort of mechanical matrix?
04:47 theBear few years back i found some nice tiny solenoids, not sure they'd have enough throw for a keypad tho, i was thinking mobile bruteforce
04:47 theBear could make yer own easy enough
04:47 Kryczek mobile bruteforce?
04:47 Kryczek as in a cellphone you mean?
04:47 theBear typing on mobile keypads/screens, yeah
04:48 Kryczek well apart from touchscreen phones I find phones to have harder keys than the kind of keys I would like to type on... :)
04:48 Kryczek how thin were your solenoids?
04:48 theBear harded, but smaller distance
04:49 theBear never got them, but from memory they were maybe 5-6mm square body
04:49 theBear can't even remember where from
04:50 theBear but right now asking me my name or birthday might get the same response... these special pain/nerve pills are strong
04:50 Kryczek too bad, that sounds really nice; anyway still good to know they exist :)
04:51 Kryczek theBear: by the way, was your mechanism adjustable to the different widths & heights of keypads?
04:51 theBear i never made the mechanism, just considered it
04:51 theBear i suspect a lattice arrangement could work tho
04:53 Kryczek interesting
04:53 Kryczek I was thinking of something like that (like those lamps with a "scissor arm") but I didn't know it had a name
04:54 Kryczek thanks
04:55 Kryczek Jak_o_Shadows: I missed your question but "cool" and "inexpensive" makes me want to suggest a Raspberry Pi, in case you don't know about them already :)
04:56 Jak_o_Shadows Haha, I did seriously consider a RPi, but in the end, I managed to get media streaming setup well enough. Now if only it were easier to wire ethernet thruogh the walls...
04:56 Kryczek powerline?
04:58 Jak_o_Shadows Yeah, but the adaptors cost lots.
04:59 fRaf remembers the helicopter that came in the mail today, has onboard camera and saves t
04:59 Jak_o_Shadows RifRaf: Nice.
05:00 RifRaf full gyro stabilising 3.5 channel control and all for $50 :/
05:00 RifRaf gonna play but i am a bit drunk, the gyro better be good
05:00 Kryczek lol :)
05:00 Jak_o_Shadows lol
05:01 Kryczek RifRaf: what's the name of that helicopter? I hadn't heard of it
05:01 GuShH iSpyBoobies
05:01 Kryczek haha
05:02 Jak_o_Shadows Just bought the 2000 pack resistors, a female-female coaxial connector, 2 of those DC 7-seg things, that pack of headers
05:02 RifRaf will find link if it still exists
05:02 Jak_o_Shadows and a small servo
05:03 RifRaf lots so sweet in real life http://www.esold.com.au/spycam-rc-helicopter-with-built-in-video-camera-p1940
05:03 RifRaf looks*
05:04 RifRaf watch the video, pretty decent and stable camera
05:04 GuShH lol I knew it had "spy" somewhere...
05:04 RifRaf GuShH obviously
05:04 GuShH yeah obviously if I see one of those hovering on my property I wouldn't hesitate to shoot it.
05:04 Jak_o_Shadows You'd have the camera in an elastic mount of some kind surely
05:04 RifRaf they have an iphone controlled one as well, but i refuse to but anything with i at the beginning
05:04 GuShH too bad it's not gyro stabilized, the camera :p
05:05 RifRaf well in the video it looks stable because the copter is
05:05 RifRaf am gonna find out soon
05:06 GuShH meh
05:07 RifRaf managed to get it out of the packageing without breaking, spose it needs charging
05:09 Jak_o_Shadows Yeah, so many nice things are made for iOS, which is a bad platform. Basic jQuery/javascript completely fails on it
05:09 RifRaf even has an micro sd card and usb reader
05:09 Kryczek GuShH: shoot it with a rifle or... you could go all dog fight on it with your own aircraft :D
05:10 GuShH lol
05:10 GuShH better build a jammer for those frequencies
05:10 Kryczek haha yeah
05:10 GuShH 27 meg probably
05:10 Kryczek I was thinking of HERF gun
05:10 Kryczek but yeah jammer is much easier
05:10 GuShH or some other crappy low freq
05:11 Kryczek hack the frequency and capture it
05:12 GuShH too bad they can barely lift themselves, so no payload...
05:13 Kryczek what would you make it carry otherwise?
05:13 RifRaf i'll get it to drop lsd in your water supply
05:13 GuShH a 720p camera >_<
05:14 RifRaf a little goes a long way
05:14 GuShH RifRaf: you could sprinkle used condoms on your neighbor's yard, it's awesome.
05:14 Kryczek :D
05:14 RifRaf usb charging for helicopters , but looks likes its charged, time for test flight
05:14 GuShH and with a little practice you could make it so it catches the rotor and...
05:18 RifRaf the controller even has photo button and headlight control, this is too cool
05:18 Kryczek headlight? omg
05:18 Kryczek all it needs now is a loudspeaker
05:18 Kryczek "THIS IS THE POLICE; SURRENDER OR WE WILL SHOOT!"
05:18 GuShH and a screen to stream pr0n
05:21 RifRaf omg is all i can say, compared to any other toy cotpet this still flies soooo stable
05:22 RifRaf but am gonna wait till i am sober for for testing, have not read the directions, but was able to catch it when i didn't know wat i was doing
05:22 RifRaf copter*
05:23 RifRaf ok really stopping now :/ crashed it but is ok
05:24 RifRaf back to imagining i can code one day
05:26 Jak_o_Shadows Coding isn't too bad.
06:58 sw0rdfish hmmmmmm
09:00 rue_house RifRaf,
09:01 rue_house did you find out how to do those things with the serial port using their libary?
10:10 sw0rdfish rue_house, where is kat?
10:11 theBear without net last i heard
10:11 ShH bl
10:12 eBear never blinks, NEV
10:12 theBear everyone knows blinking gives you cancer
10:14 sw0rdfish theBear, without net!
10:15 sw0rdfish how's that even possible in the 21st century
10:15 theBear erm, i'm usually just a few short days away from it myself
10:15 theBear these things take money
10:15 sw0rdfish whut!
10:16 sw0rdfish are you talking about...
10:16 sw0rdfish I'm sure #robotics folks prolly make nuff cash :D
10:17 DagoRed bahahahaah
10:17 GuShH building robots off of old notebooks? not really the case, most people here are into it as a hobby
10:17 DagoRed Why use old notebooks when the raspberry pi and such are available now?
10:17 GuShH DagoRed: the answer may offend everyone
10:18 theBear is that some kind of sick joke ?
10:18 theBear if we were rich we wouldn't be here
10:18 GuShH DagoRed: robotics people are usually not EEs...
10:18 theBear ee has nothing to do with it
10:18 GuShH not in the hobby sense.
10:18 GuShH that's why you'll see a massive shoe box with consumer electronics stuffed in it and they'll call it a robot
10:18 GuShH they're in for the end product
10:20 DagoRed theBear: With you on the rich part.
10:21 GuShH theBear: if I were rich I'd be ... well I can't say it here, you know.
10:21 ShH w
10:21 theBear hehe
10:22 DagoRed That didn't seem dirty at all.
10:22 GuShH It was
10:22 sw0rdfish lol
10:22 sw0rdfish haha
10:27 theBear oh, it was ? <grin>
10:27 theBear we got very different ideas of heaven i spose
10:27 GuShH theBear: did you finish the projector-project
10:28 GuShH I don't know, mine involved women and booze.
10:28 theBear nah, fell asleep for 20 hours or so last night, and now it's now, just had err 'dinner'
10:28 theBear i suppose mine does, more booze tho, and some other things you can't say here
10:28 theBear actually, i think both woman and booze are legal terms here :)\
10:29 GuShH what you do with those two things is probably not!
10:29 goRed has successfully created a hacker space that involves women, booze, and electro
10:29 GuShH oh crap, well they're not things, but you know what I meant.
10:29 goRed
10:29 GuShH DagoRed: lies
10:29 DagoRed I'm not joking.
10:29 GuShH I don't like nerdy women
10:30 GuShH they're like men with tits... more like weed addicted men.
10:30 DagoRed How about nerdy women that help you pick up strippers?
10:30 GuShH don't care for strippers
10:31 DagoRed neither do I, but it makes life interesting in my particular scenario
10:31 GuShH should replace electronics with harleys
10:32 ShH wonders if someone already invented an electric ha
10:32 ShH also wonders if that someone already got killed for such a stupid
10:32 ShH hope
10:33 DagoRed GuShH: That's next on the list again. I sold off my 03 VRod
10:34 DagoRed I'm looking at getting a Victory Judge next or maybe I'll scale back and get a Triumph Bonneville.
10:37 theBear i don't need nerdy women to pick up strippers, i proved this more than a few tiems
10:38 sw0rdfish oh
10:38 DagoRed I don't either, but it makes life more fun.
10:39 theBear nah, more fun is real women, strippers get old after a few rounds
10:39 DagoRed True.
10:40 theBear holy crap ! it's after midnight
10:40 DagoRed g'night
10:41 theBear i didn't say that
10:41 DagoRed theBear: I have some bike questions for in the future.
10:41 theBear time of day doesn't mean quite the same thing when you don't have to work
10:41 DagoRed Ahh, time just flying then
10:41 DagoRed True.......
10:41 theBear not to say i may not fall asleep at any time, just taht i'm not worried :)
10:42 theBear tho i really should do a couple things tomorrow, like tell the govt i'm crippled again
10:42 GuShH speaking of which there's a new series called Legit, quite funny.
10:42 DagoRed Ouch, sorry about that.
10:43 GuShH it involves cripples strippers aussies and whatnot.
10:43 ShH
10:43 DagoRed I'm in the states... hard to find that.
10:43 goRed is intere
10:43 theBear meh, these new pills make my brain distanced from well, everything, so ya know, i kinda can't keep my mind on it
10:43 DagoRed Couch potatoe may become quite busy.
10:44 GuShH what if you really were to grow potatoes on your couch?
10:44 theBear or behind your ears
10:44 GuShH DagoRed: http://eztv.it/ep/41293/legit-s01e01-hdtv-x264-lol/
10:45 DagoRed GuShH: At work, can't view it.
10:45 theBear have some backbone
10:45 GuShH lol the comments
10:46 GuShH it's really the type of shit I would write for tv...
10:46 GuShH (the series)
10:46 GuShH they just forgot to mention hitler, but they couldn't get it all right on the first episode!
10:46 ShH runs
11:00 BarquilloCarrefo hi
11:03 BarquilloCarrefo Has anyone used lipo batteries for a sumo project?
12:50 dunz0r Well, if he hadn't left so fast, I would've answered him :|
12:51 GuShH shoulda coulda woulda!
12:51 GuShH your best friends
13:18 i-make-robots working in a google hangout today, talking about robots. Also responding to IRC live. because why not? http://bit.ly/VVFBva
13:37 RifRaf rue_house am closer but not there yet
13:40 RifRaf am sending data better, one number each time a button is pressed, can send on both ok to terminal, but the recieved data is very inconsistent
13:41 GuShH i-make-robots: I ain't joining no stinking social media bullcrap!
13:42 GuShH gender: male, female, other. what the freck.
13:42 GuShH GET THE HELL OUT OF MY SIGHT GOOGLE
13:42 DagoRed I spent $20 more on sparkfun for this.... damn it http://www.seeedstudio.com/depot/open-workbench-logic-sniffer-p-612.html?cPath=174
13:43 GuShH DagoRed: less impulse, more research
13:43 DagoRed thank you captain obvious
13:43 DagoRed I post... so others may learn.
13:44 GuShH DagoRed: it's not obvious to some people
13:44 GuShH some people are impulsive
13:44 GuShH DagoRed: also did you factor time?
13:44 DagoRed True, I will admit I was impulse after viewing the Salae... or something.
13:44 GuShH because the more we wait the more options we are likely to encounter
13:44 GuShH >_< until it's obsolete
13:46 DagoRed GuShH: I bought the logic sniffer over this: http://www.saleae.com/logic
13:47 DagoRed At that point... saving 50% over what I thought I would have to spend was worth it enough. http://www.saleae.com/logic
13:48 jadew DagoRed, what's wrong with the OLS?
13:48 DagoRed Nothing, other than I spent $20 more at sparkfun than I could have at adafruit.
13:48 jadew ah, how much did you pay for it?
13:48 DagoRed So nothing is wrong except that I didn't do enough homework.
13:49 DagoRed $70. which given what all it does... a damn good deal.
13:49 jadew oh
13:49 jadew yeah, I got it from seed, for $50
13:49 jadew maybe you'll get yours faster
13:49 DagoRed I got mine in less than a week with my bus pirate.
13:50 DagoRed Sweet! I got convenience for that price!
13:50 jadew ah, thought you just bought it
13:50 DagoRed No... weeks later I see that.
13:51 jadew do you have samples for 1-wire in overdrive?
13:51 jadew or jtag? or can? or lin? :P
13:53 jadew do you use it to analyze any hard to find protocols?
13:56 jadew DagoRed, I'm not trolling, I would really need some samples from those protocols if you have any of those saved
13:57 DagoRed jadew: The interface is easy to use, you can do all of those simply. No I don't have samples I can share but they aren't hard to find on google.
13:57 goRed goes back to debugging his c
13:58 jadew I know you can do them, I just need real samples to write protocol parsers for my client
13:59 RifRaf thie first time i try and revieve data with this code i get an error, like an overflow, an ideas? http://pastebin.com/ZkfK8HAb
14:00 jadew what chip is that for?
14:00 RifRaf atmega32
14:00 Tom_itx 168
14:00 Tom_itx 32
14:01 RifRaf using the webbotlibs for the hardware
14:01 jadew well, the code looks ok
14:02 jadew now I don't know what you have in display and what initHardware does
14:02 jadew how do you know you get an error?
14:02 RifRaf it displays on the lcd, webbotlibs error11
14:02 RifRaf have errors directed to the lcd in hardware setup
14:02 jadew then look into that lib and figure out what that error means
14:04 jadew I'd ditch it
14:04 jadew (the library)
14:04 jadew TICK_COUNT appControl(LOOP_COUNT loopCount,TICK_COUNT loopStart)
14:04 jadew this will eat a lot of clock cycles
14:04 RifRaf #define UART_RECEIVE_OVERFLOW -11
14:05 RifRaf The receive character UART buffer has overflowed. Try increasing it.
14:05 RifRaf so i have tryed 250 with no change, how hig could i make it, should be just a single number
14:05 jadew you're not reading them fast enough
14:05 RifRaf big*
14:06 RifRaf hrm
14:06 Tom_itx it should wait until the buffer has emptied before it receives more
14:06 Tom_itx is it keyboard input?
14:07 RifRaf no from another avr, does the same thing from keyboard if i connat to pc
14:07 jadew Tom_itx, well, if you keep receiving data and the buffer is full, there's nothing you can do
14:07 RifRaf the other avr hass 4 buttons
14:07 Tom_itx where does it store the buffer?
14:07 Tom_itx how much memory do you have for the buffer?
14:08 RifRaf have the buffer at 0 now
14:08 RifRaf going to try 1000 for a minute
14:08 Tom_itx well you probably don't want it at 0 but too big and it won't fit in memory
14:08 Tom_itx how much ram does the 32 have?
14:08 RifRaf not sure
14:08 Tom_itx 512?
14:08 Tom_itx me either
14:09 RifRaf 2k?
14:09 RifRaf of sram according to datasheet
14:10 Tom_itx i'm not fond of libs because you don't know what they're doing or not doing for you but i hope you get that one figured out. it looked kinda interesting
14:10 RifRaf same error with buffer of 1000
14:10 Tom_itx do you need to clear the interrupt flag?
14:10 RifRaf its all documented well, i just don't understand it
14:10 Tom_itx i'm not sure on that one
14:11 RifRaf http://webbot.org.uk/WebbotLibDocs2/46000.html
14:12 Tom_itx so what's the longest message you will send to it?
14:12 jadew where are you receiving data from?
14:12 Tom_itx set the buffer to that size
14:12 jadew oh, another avr
14:12 jadew is it sending data continously?
14:12 jadew try to disconnect the other avr
14:12 jadew and see if it still gives the error
14:13 jadew if it doesn't it's because you're not reading the data fast enough
14:13 RifRaf jadew either connected to pc terminial, but currently another avr with 4 buttons, it sends a single digit when i number is pressed
14:13 jadew you're wasiting time with the display.whatever stuff
14:13 jadew which takes a lot of time
14:13 Tom_itx i think i would try the keyboard to rs232 approach first to get it working
14:13 Tom_itx so one byte
14:13 RifRaf yes, can see in putty its just sending one number, can post that code too
14:14 Tom_itx no need really
14:14 RifRaf k
14:14 jadew my opinion is that the library sucks
14:14 Tom_itx i have never used it so i won't curse it just yet
14:14 jadew TICK_COUNT appControl(LOOP_COUNT loopCount,TICK_COUNT loopStart)
14:15 jadew that was enough for me
14:15 jadew that call is going to waste at least 4 cycles (if not more)
14:15 Tom_itx is it trying to imitate a rtos?
14:15 RifRaf jadew maybe for hard core coder like yourself but for me is the only way i will get anything happening this lifetime
14:15 Tom_itx like a scheduler?
14:15 jadew and it appears to be doing that by design
14:15 jadew Tom_itx, no, I think it's just a while () which increments those values and calls the appControl or something like that
14:16 Tom_itx RifRaf, you keep forgetting we are here to help...
14:16 RifRaf yeah they all start like that when you make the example code
14:17 Tom_itx i'm not very good at c either
14:18 i-make-robots GuShH: that is your choice.
14:18 RifRaf ok lcd out of picture, avr connected to pc terminal
14:18 jadew RifRaf, what happens if you comment the entire code inside appControl?
14:19 jadew if the error is gone
14:19 jadew try commenting out the code inside the if (myUart.isRxBufferEmpty()
14:19 jadew if the error is not gone, it means it's something inside isRxBufferEmpty that triggers the error
14:20 jadew if it's gone, start enabling pieces of code in there and figure out which line is triggering the error, or in what conditions it's happening
14:20 jadew RifRaf: http://dumb.ro/debugging.html
14:21 jadew it's not the same language but the idea still applies
14:22 jadew and it's not complete, but that's basically the process you have to go trough each time you're debugging, as silly as it looks
14:22 RifRaf jadew ok thanks, will have a look while at work
14:22 jadew np
14:24 jadew RifRaf, the funny thing is that even tho the book was targetted at php, the debugging happens just the same as on avr
14:24 jadew since most developpers don't have debuggers at hand either
14:25 jadew so they have to figure out the issue with out a debugger
14:30 RifRaf no am getting verify errors when flashing, will have to try tonight
18:08 orlok sivoais: Hi
18:10 sivoais orlok: hello
19:03 RifRaf woops, told router the sheet was 1mm instead of 15mm, flat batteries in keyboard, crashed
19:04 Tom_itx don't use wireless on critical stuff
19:04 Tom_itx 14mm undercut?
19:05 RifRaf yep, but it tripped some saftey stuff so reset ok
19:06 Tom_itx break the bit?
19:06 RifRaf nope, was just doing a 10mm drill hole
19:06 RifRaf into foamex, pretty soft stuff
19:11 RifRaf the wireless keyboard is on my worstation, but yes will get a wired one, safer
19:12 shuggans Rue: on?
19:23 RifRaf shuggings am getting closer with the uart, but still the overflow error
19:23 RifRaf tonight am gonna get it going
19:33 rue_house off
19:33 ace4016 on
19:34 rue_house off
19:34 rue_house RifRaf,
19:34 rue_house whats your current code look like?
19:37 RifRaf i pastebined it this morn, look in log about 5 hours ago
19:37 RifRaf at work so cannot look it up
19:39 RifRaf but i also did something and it was not sending to serial when i left
19:39 shuggans Rif: sweetness! My fiance wants me to watch movies w her for a bit, may be on a bit later tho
19:40 RifRaf yeah i have another 5 hours to go here
19:40 RifRaf 4
19:40 shuggans Rue: did u look @ that scematic?
19:41 rue_house yes
19:41 rue_house your forgot that the source goes to battery -
19:41 rue_house :)
19:45 Tom_itx woops
19:46 shuggans Gah. Other than that?
19:48 shuggans And I forgot if we decided these 1n4003 diodes will work for the relays?
19:48 rue_house they will
19:48 rue_house you want much larger diodes for the motors
19:49 rue_house which we dont have in
19:49 shuggans Coil circuit
19:49 shuggans Diodes
19:49 rue_house but you can leave the pwm transistors out for now while you test
19:49 rue_house it'll just go full speed
19:49 rue_house shuggans, its important to make a good highcentre stand for testing the robot
19:50 rue_house its also important to have an easy-reach kill switch
19:50 shuggans But coil circcuit diodes - 1n4003 ok? :P
19:50 shuggans Lol i read that
19:50 rue_house ok
19:50 shuggans Runawaaaaaaay!
19:50 rue_house yes
19:50 rue_house sorry, I'm about to fall over asleep
19:54 shuggans :P
20:16 shuggans Later all
20:26 shuggans Irc on android :). Ultimate mobilityyyyy!
20:26 shuggans Not too shabby me thinks.
22:06 Tom_itx RifRaf i got a test file for the m32
22:06 Tom_itx just finished converting it from a 168
22:06 Tom_itx working on lcd code for it
22:06 Tom_itx what pins is your lcd connected to?
22:06 Tom_itx so i can follow along
22:08 Tom_itx you need an led on PB5 for the test
22:11 Tom_itx http://tom-itx.dyndns.org:81/~webpage/avr/atmega32/rs232_rx_test/
22:11 Tom_itx rs232 to a pc terminal
22:12 Tom_itx push 1 2 or 3 to see a result on PB5
22:12 Tom_itx (untested on m32)
22:12 Tom_itx did work on my 168 though
22:16 Triffid_Hunter took much converting?
22:16 Tom_itx no
22:16 Tom_itx just removed some 0's from the registers
22:17 Tom_itx since the new chips have more features
22:18 Tom_itx TIMSK0 went to TIMSK etc
22:18 Tom_itx gonna repost in a sec though
22:22 Tom_itx had to check the uart was on the same pins..
22:23 Tom_itx it was
22:23 Tom_itx maybe i'll add the lcd code tomorrow
23:15 rue_house buddy II has a working power system , drive train, computer, and wifi connection
23:16 rue_house rifraf knows the avr works, he wants it to work with the library he found
23:34 RifRaf i am gonna try other rx code this arvo to just make sure
23:34 RifRaf like the stuff i wrote for tiptoes (with lots of help)
23:37 rue_house RifRaf, would you like to show me the code your on now
23:37 rue_house are you still working on that webbots library?
23:41 RifRaf yeah just about to knock off work
23:41 RifRaf fly me copter around the factory and then drive home
23:41 RifRaf 2 min, what a hot day :/
23:41 RifRaf back in an hour
23:48 Jak_o_Shadows Hmph, i made a udev rule so that connecteing via software uart works better to my msp430, but now i'm getting gibberish
23:49 rue_house software uart works better
23:49 rue_house cant say that it all you get is giberish now
23:51 Jak_o_Shadows Well, ok, it didn't really help.
23:56 Jak_o_Shadows I'd be fine with gibberish, if i could connect every time
23:57 Jak_o_Shadows I mean to say: I can connect everytime to upload code to it, but not the serial connection