#avr | Logs for 2013-07-19

Back
[02:24:58] <megal0maniac> Tom_itx: Which router did you settle on?
[02:25:37] <megal0maniac> braincracker: You /really/ should just get an LCD with a backlight. It's cheaper. China has lots
[03:02:28] <braincracker> megal0maniac<= lol, i just happen to have 4 and none of them has one
[03:25:24] <Roklobsta> packet router or pcb router?
[03:27:34] <megal0maniac> He mentioned one of the Ubiquiti routers last time
[03:29:04] <Tom_itx> edgerouter lite
[03:29:57] <megal0maniac> Nice. Was it as much of a pain to set up as you'd hoped? ;)
[03:30:23] <Valen> you finally replaced your modem thing?
[03:30:36] <Tom_itx> wasn't bad
[03:30:40] <Tom_itx> Valen, yes
[03:30:44] <Valen> oh god
[03:30:54] <Valen> its only been dead for what 2 years? ;->
[03:31:07] <Tom_itx> worked fine...
[03:31:09] <Tom_itx> :)
[03:31:29] * Valen hits Tom_itx's website a few times
[03:31:29] <megal0maniac> http://i.imgur.com/WJfAOVD.jpg
[03:31:44] <Valen> wait what?
[03:31:48] <Valen> what is the foam block?
[03:32:16] <Roklobsta> so far i have only messed with mikrotik
[03:32:21] <Roklobsta> not ubu
[03:32:22] <megal0maniac> It's rubber. The original "heatsink"
[03:32:39] <Valen> is that from somewhere?
[03:32:48] <Valen> i mean is there a story behind the image
[03:33:00] <megal0maniac> Kind of
[03:33:07] <Valen> the pcb design actually looks pretty good
[03:33:52] <megal0maniac> That's the box which allows my router to stop messing around and start routing :P It gets pretty hot though. armv5te clocked at 1.2ghz
[03:34:23] <Valen> i hear the big boys saying good things about mikrotik gear
[03:34:34] <megal0maniac> So I harvested a heatsink from the southbridge of my old PC and bam. It's a Seagate Dockstar
[03:34:56] <Valen> thermal epoxy perhaps?
[03:34:58] <megal0maniac> They're mostly good
[03:35:08] <megal0maniac> Valen: I'm getting there
[03:35:33] <megal0maniac> There is a little bit left over on the heatsink ;)
[03:35:53] <Valen> not thermal paste
[03:35:59] <Valen> you can get thermal "plaster"
[03:36:01] <Valen> thats a glue
[03:36:07] <Roklobsta> though when this sort of this comes along for $100 or so ... http://utilite-computer.com/web/home AMR beast with dual gigabit eth and wifi
[03:36:38] <megal0maniac> I quite like that..
[03:36:38] <Valen> none of the firewall distros run on it though :-<
[03:36:56] <Roklobsta> ehhhh, some linux thing with shorewall will
[03:36:57] <Valen> I reckon when openflow hits mainstream it'll be the next "big thing"
[03:37:31] <Valen> your "firewall" now passes packets at ASIC switch speed, with the CPU just handling the managment
[03:38:04] <megal0maniac> I like the sound of that..
[03:38:04] <Roklobsta> openflows site is 2011.
[03:38:20] <Valen> its still a thing
[03:38:33] <Valen> its big iron though so its not "quick"
[03:39:01] <RikusW> this is a bit iron http://www.projectautox.com/large_soldering_irons.jpg
[03:39:05] <RikusW> *big
[03:39:22] <Valen> google use it i believe for their stuff
[03:39:25] <Valen> or something similar
[03:39:33] <megal0maniac> http://www.openflow.org/wk/index.php/Pantou_:_OpenFlow_1.0_for_OpenWRT
[03:40:01] <Valen> probably running everything through the CPU though
[03:40:02] <megal0maniac> I have irons that came with a blowtorch...
[03:40:18] <megal0maniac> Valen: I'm tempted to benchmark it
[03:40:26] <RikusW> Valen: btw do you own those ?
[03:40:31] <Valen> next thing that you need is the "firewall" for it
[03:40:36] <Valen> RikusW: no ;->
[03:41:41] <Valen> I can see openflow kicking cisco a little, or really helping them
[03:41:45] <Valen> one or the other
[03:41:55] <megal0maniac> Valen: "We were able to get up to 43Mbps performance using a single UDP flow. Switch CPU was 97%."
[03:43:03] <Valen> heh there ya go
[03:45:01] <Roklobsta> no good when you need somehintg that can handle 1GB FTTH
[03:45:04] <Roklobsta> Gb
[03:46:11] <Roklobsta> hardly anyone has cat5 in their home, and wifi is arse
[03:49:24] <Valen> as i said, when they get openflow into silicon
[03:49:47] <Valen> as in the packet engine is an ASIC, with a seperate CPU there doing the fancy stuff
[03:50:53] <Roklobsta> hmm, need proper Gb wireless connectivity
[03:51:35] <Roklobsta> maybe wifi lightbulbs are a plan
[03:51:47] <Valen> pshaw
[03:51:51] <Valen> if you are using gbit, use wires
[03:52:05] <megal0maniac> Wires ftw
[03:52:24] <megal0maniac> I only get +-120mbps on a 300mbps wireless link
[03:52:54] <megal0maniac> Technically there's a 200mbps bottleneck because of USB, but I at least get that using cable
[03:54:10] <Tom_itx> Valen, does it seem better now?
[03:54:47] <Valen> yes actually
[03:55:06] <Valen> loading times for the static pages are much better
[03:55:11] <Valen> images are still slow
[03:57:57] <Valen> *so* looking forward to getting fibre
[03:58:03] <Valen> going to get me some 100/40mbit
[03:58:08] <Valen> 40mbit upload
[03:58:41] <Tom_itx> i was getting 20+ here earlier
[04:01:18] <Valen> we do have an ocean or two between us
[04:01:22] <Valen> that 20 down or up?
[04:01:40] <Tom_itx> both but that wasn't far away
[04:01:49] <Tom_itx> up is generally slower
[04:02:07] <Tom_itx> got 28 and 10 just now
[04:02:15] <Valen> what are you on?
[04:02:20] <Tom_itx> cable
[04:02:27] <Valen> 10 up is good for cable
[04:02:41] <Tom_itx> i got a new modem yesterday too
[04:02:51] <Tom_itx> it was older than the router :)
[04:03:03] <megal0maniac> I have 1/0.512 :(
[04:03:39] * Tom_itx gives megal0maniac his 300 baud modem
[04:04:18] <Tom_itx> i remember feeling good when i got my first 1200 baud modem
[04:04:36] <megal0maniac> Fastest available connection here is 10 down, not sure what up is
[04:05:14] <Valen> http://www.speedtest.net/my-result/2846383364
[04:05:27] <Valen> 20/.1
[04:05:44] <megal0maniac> :/
[04:07:21] <megal0maniac> http://www.speedtest.net/my-result/2846386349
[04:11:31] <Valen> your upload still kills mine
[04:12:32] <megal0maniac> I know. What the heck?
[04:14:31] <Valen> optus suck donkey balls?\
[04:15:01] <twnqx> optus sounds australian
[04:16:36] <Roklobsta> valenL come sept you can kiss 100/40 bye byeeee
[04:17:12] <Valen> I'm schedualed for completion in jan 2014
[04:17:19] <Valen> so I should be good ;->
[04:17:30] <Valen> also I think rudd may have just sunk abbot
[04:17:30] <Roklobsta> get 25Mbit max with Mr Broadbland
[04:17:55] <Roklobsta> hope so
[04:17:56] <Valen> asylum seekers are to be settled in PNG now not in australia
[04:18:13] <Valen> so abbots whole "stop the boats" thing just went "poof"
[04:18:18] <twnqx> aww, reducing people to an image
[04:18:48] <Valen> he never actually said what his "boat" policy was
[04:19:11] <twnqx> what is PNG? Papua New Guinea?
[04:19:14] <braincracker> megal0maniac<= i'm also in 8 segment displays extended with 595's but those can't display all letters nicely
[04:19:15] <Valen> yeah
[04:19:37] <Roklobsta> wow from one hell hole to another
[04:19:39] <Valen> lol that is *not* a great place to be settled
[04:19:51] <Roklobsta> and it's allegedly got cannibals
[04:19:52] <Valen> they have legit cannibals there
[04:19:59] <Valen> yeah they really do
[04:20:01] <twnqx> neither is australia, from what i've heard from a friend who lived there for 5 years :P
[04:20:23] <Valen> whats wrong with .au apart from the monkeys running it
[04:20:27] <twnqx> (and from several australians who preferred to leave)
[04:20:52] <Valen> my uncle used to do flying in PNG, he kept an AK in the plane and never let it out of his sight
[04:21:11] <twnqx> can oyu legally have AKs in australia?
[04:21:23] <Valen> PNG isn't australia, and no
[04:21:33] <Valen> and pretty sure you cant have one there either
[04:21:39] <twnqx> :/ that would have been a pro for .au
[04:22:01] <Valen> if you say so
[04:22:06] <braincracker> twnqx<= you can have an ak anywhere given nobody sees it
[04:22:12] <twnqx> heh
[04:22:17] <twnqx> but i asked for legally.
[04:22:24] <braincracker> stack it in your pants ;>
[04:23:49] <megal0maniac> And make sure the safety is on
[04:23:55] <twnqx> Valen: what my friend disliked most is the fact that almost everything he needed had to be imported (he was doing his phd in chemistry) which took ages
[04:24:21] <megal0maniac> South Africa is the same
[04:24:35] <braincracker> just provide me with everything and i'm good 100m underground in a bunker
[04:24:37] <Valen> dunno, I've never really experienced it
[04:24:56] <Valen> I make my own stuff if i cant get it generally
[04:25:22] <twnqx> yeah.. but i guess with some chemicals or special laboratory atuff that's just not possible
[04:25:44] <Valen> pshaw, in the old days you made your own chemistry stuff ;->
[04:25:44] <twnqx> here it's usually 24h to get whatever you need
[04:25:46] <braincracker> it is, you just need the equipment
[04:26:03] <twnqx> hell, it's 36h for electronic components from the .us to my door
[04:26:06] <braincracker> (and knowledge)
[04:26:29] <twnqx> (given i order at ~1am local time :P)
[04:26:30] <Valen> most US places now seem to acknowledge the presence of other countries now
[04:26:38] <Valen> which is nice
[04:28:34] <twnqx> it's better than japan. hard to get stuff from there without shopping+remailing service
[04:29:18] <Roklobsta> the only japanese export i am consuming of late is miso paste and Ninja Warrior on SBS-2/
[04:29:56] * twnqx ordered some dvds
[04:30:19] <Valen> heh ninja was on after something else we were watching
[04:31:25] <braincracker> Valen<= http://seamonstr.se/wp-content/uploads/2010/09/Here-Be-Dragons-map.jpg
[04:33:14] <braincracker> http://kellyallisonjones.blogspot.hu/2011/02/real-ladies-amuse-themselves-with.html
[04:34:47] <Roklobsta> here be AVR Dragons on my desk
[04:34:53] <twnqx> braincracker: you mean http://1.bp.blogspot.com/_zvCLjsWq_UU/STQWDj0A1tI/AAAAAAAAAo0/Gq_3o1zEX4E/s1600/map_of_american_isolationist_thinking.gif
[04:45:01] <kizmoo> helou evryvan
[04:46:24] <kizmoo> defekt do stal karavan
[04:47:51] <kizmoo> avr il la vigne
[04:48:12] <kizmoo> spi sam i do bre
[04:48:40] <twnqx> why would you steal a defective caravan?
[04:51:48] <kizmoo> d e f e k t d o s t a l k a r a v a n
[04:53:05] <megal0maniac> Tom_itx!!!
[05:01:02] <kizmoo> Tom_atx
[05:01:04] * specing hides his caravan
[05:04:44] * megal0maniac defekts specing's karavan
[05:07:19] <specing> :(
[05:11:18] <kizmoo> sory guys, it was just a joke
[05:18:19] <antto> you have to pay for the defekted karavan now
[05:18:41] <antto> or you won't go to heaven ;]
[05:25:08] <specing> or if you are <18 there is another option for you
[05:27:36] <OndraSter_> if you are >=18 and a woman*
[05:29:25] <antto> yeah, wash the dishes ;]
[05:31:35] <OndraSter_> yeah... surre.....
[05:51:31] <BJfreeman> DOF The degrees of freedom (df) of an estimate is the number of independent pieces of information on which the estimate is based. so if you have a GPS, Barametric Altitude, Gyro, Accelerometer all being evaluated by a 328. how many DOF does that give the module
[05:52:30] <SleepersTide> Hi all
[05:53:08] <SleepersTide> I'm trying to program an AVR32 using one of these dirt-cheap ebay things: http://www.ebay.com/itm/350791901150 (apparently a JTAG ICE mk I clone)
[05:53:47] <SleepersTide> Is it a lost cause? Should I maybe try arduinoISP instead?
[05:55:19] <Roklobsta> avr32?
[05:55:42] <Roklobsta> you need to spend more money
[06:00:18] <SleepersTide> Roklobsta: I'm not trying to debug it or anything, just wondering if it's possible to program it with the hardware I have
[06:00:40] <megal0maniac> zlog
[06:01:11] <megal0maniac> Bootload that motherflipper
[06:01:29] <megal0maniac> http://i.imgur.com/b63lSRT.jpg
[06:01:33] <megal0maniac> It is fixed
[06:02:37] <SleepersTide> yeah, that looks a bit less silly
[06:04:20] <megal0maniac> I just hope that it's actually an improvement
[06:21:41] <OndraSter_> whatcha doin' megal0maniac ?
[06:22:27] <OndraSter_> I have got here cisco 5505 but no serial cable for it ><
[06:22:47] <OndraSter_> and they are using real RS232 signals
[06:24:09] <OndraSter_> oh well I will have to keep some older and smaller laptop with hardware rs232
[06:24:35] <megal0maniac> I still have one of those :) You might be able to get away with using a 5V ttl serial cable and inverting the signals
[06:24:41] <megal0maniac> with some 74 series IC
[06:25:12] <megal0maniac> I was sticking a heatsink on my Dockstar. It comes with a rubber pad and I didn't like it
[06:28:30] <megal0maniac> I bought a "RS232" cable off ebay. It was 5V TTL. Not even inverted :/
[06:28:49] <OndraSter_> china
[06:29:35] <RikusW> megal0maniac: what do you mean not inverted ?
[06:29:44] <megal0maniac> Many transievers will register 0V as a 1 and 5V as a 0. So like I said, you might get away with just inverting the signal
[06:29:57] <RikusW> maybe RS232 is confusing you
[06:30:03] <megal0maniac> RikusW: RS232 is backwards
[06:30:12] <RikusW> Setting DTR will cause the DTR line to go low...
[06:30:21] <RikusW> clearing it will make it go high
[06:30:28] <RikusW> (its active low)
[06:30:51] <RikusW> confused me a lot at first
[06:30:51] <megal0maniac> And the RX and TX lines are a logic 0 at +12V and logic 1 at -12V
[06:30:58] <RikusW> yes
[06:31:07] <RikusW> all lines are that way
[06:31:49] <megal0maniac> So it's inverted
[06:31:56] <RikusW> yes
[06:32:01] <megal0maniac> That's all I was saying :)
[06:32:20] <RikusW> Clear DTR = 0 = +12V
[06:32:34] <RikusW> errr
[06:32:37] <RikusW> Clear DTR = 1 = -12V
[06:32:42] * RikusW still gets confused :-P
[06:32:56] <RikusW> Set DTR = 0 = +12V
[06:33:19] <megal0maniac> Haha :)
[06:33:37] <RikusW> best is to take a DMM and measure it and put a breakpoint in the sw and verify everything
[07:08:19] <Casper> ahh the joy of a car...
[07:08:27] <Casper> flat tire...
[07:08:41] <antto> ++air;
[07:08:45] <Casper> I did
[07:08:55] <Casper> the gauge marked 0...
[07:09:03] <Casper> now, time to go to the garage
[07:09:13] <antto> goto garage;
[07:09:13] <antto> ;]
[07:13:16] <RikusW> patch emptytire fulltire ;)
[07:34:25] <Tom_itx> meh, run it on the rim
[07:36:39] <Tom_itx> megal0maniac, you ring?
[07:37:01] <megal0maniac> There was a noisy troll
[07:37:10] <megal0maniac> defekting karavans
[07:37:27] <megal0maniac> And stealing them
[07:38:00] <Tom_itx> oh
[07:38:03] <Tom_itx> he was short lived
[07:38:43] <Tom_itx> you don't know a troll until you've met flyback
[07:42:06] <megal0maniac> CANUCK!!
[07:42:12] <megal0maniac> I miss tobbor
[07:42:46] <Casper> and fixed
[07:43:14] <Casper> Tom_itx: worse is that flyback is more an insane one than a troll it seems
[07:43:59] <megal0maniac> theBear claims to have had vaguely lucid conversations with him in the past
[07:44:56] <Tom_itx> oh he _could_ make sense and be rather knowledgeable if he had his meds
[07:46:45] <Tom_itx> .. later
[07:47:19] <megal0maniac> Cheers
[07:52:53] <theBear> megal0maniac, only during short periods of lighter than usual insanity...
[07:53:29] <theBear> also it took years of practice and observation to workout how to social-engineer him.. just basic stuff like having him REALLY hear what you are saying
[07:53:44] <theBear> the craziest are often the hardest in that regard
[07:56:22] <Casper> when flyback listen... he is helpfull...
[07:56:26] <Casper> .... when he listen...
[07:57:25] <theBear> yeah, and for that you gotta get him during a rare period of less-insanity, not have pissed him off too badly recently, AND know just the right way to word/phrase what you point at him
[08:01:21] <specing> just call him a dumb redneck ;P
[08:01:30] <specing> its fabulous!
[08:02:08] <theBear> i'm more of a redneck than he'll ever be
[08:02:16] <theBear> he's more like a dumb kid from the suburbs
[08:02:44] <theBear> not even dumb so much as self indulgent and overly dramatic
[08:02:54] <theBear> and FUCKING ANNOYING <grin>
[09:17:23] <mr_boo> i'd like to use one crystal to clock several ATtiny2313
[09:17:33] <mr_boo> can i use a four pin oscillator?
[09:18:16] <mr_boo> similar to this one but 11MHz http://www.wellgainelectronics.com/sccmco810025000mhzxtalosc.aspx
[09:20:07] <mr_boo> i guess it is a waste to equip each one of the ATtinys with its own xtal when one can use one to clock say 8 avrs or more
[09:28:37] <specing> mr_boo: use CKOUT?
[09:29:11] <RikusW> mr_boo: whats the fanout on that crystal ?
[09:31:25] <spillere> hello guys, there is one guy that have a bass pedals company, he wants me to program a microcontroller to make a programable pedal, will need 8ADC and 8 SPI digital potentiometer, work with the eeprom to save the presents and things like this. I will only make the code for the presets and the microcontroller. any idea on where i can get an idea on how much to charge?
[09:32:19] <antto> O_o
[09:33:50] <mr_boo> haven't managed to get a datasheet on the xtal
[09:34:06] <mr_boo> i nicked it from an old Creative labs Audigy 2 card
[09:41:03] <mr_boo> it looks like this http://www.carmi.se/misterstarshine/img/IMG_1726.JPG
[09:49:54] <specing> spillere: how long do you think it will take you? How much is your hour worth?
[09:57:07] <antto> 42
[10:02:01] * RikusW haven't figured out how much to charge either...
[10:02:59] * twnqx charges 180€/h as consultant, consulting RikusW with how much to charge
[10:04:18] <tzanger> damn, I need to lower my rates
[10:05:02] <RikusW> tzanger: so how much do you charge per hour ?
[10:05:14] <specing> 0.o 180EUR/h
[10:05:31] <specing> thats like one computer per two hours!
[10:05:32] <tzanger> depends on the project, complexity, timeframe and travel requirements
[10:06:19] <RikusW> say programming only and no travel ?
[10:06:30] <megal0maniac> I have a daily rate of ZAR500
[10:06:47] <RikusW> nice
[10:07:19] <specing> thats 40 euros per day?
[10:07:25] <megal0maniac> Roughly
[10:07:28] <specing> that sucks
[10:07:44] <megal0maniac> It's not bad in ZAR. And I'm a student :)
[10:07:46] <specing> cleaning gets paid more than that round here
[10:07:51] <specing> also students
[10:07:58] <specing> or maybe not students
[10:08:11] <jadew> depends on the country
[10:08:17] <jadew> that's good in here as well
[10:08:18] <specing> but yeah, you should charge more
[10:08:52] <tzanger> honestly though my rates are around USD$100-150/hr for a typical contract
[10:08:56] <jadew> megal0maniac, what exactly are you doing? programming?
[10:09:36] <braincracker> h
[10:09:47] <megal0maniac> jadew: For that job, anything from soldering cables in studios to client liaison
[10:10:00] <jadew> I see, so it's not like you can find a job in a different country and work from home
[10:10:02] <braincracker> would you mix standard second time with hpet on mcu ?
[10:10:04] <megal0maniac> I was even a debt collector last week
[10:10:21] <megal0maniac> jadew: I'm an extra set of semi-skilled hands for a 1 man company
[10:10:34] <jadew> got it
[10:10:42] <braincracker> i was thinking about either i need second recision or either sub-second precision, never both
[10:10:48] <braincracker> p
[10:10:50] <twnqx> tzanger: sounds reasonable
[10:11:14] <jadew> you guys must earn a lot / mo
[10:11:30] <twnqx> no, i don't work freenlancing :P
[10:11:37] * twnqx is too lazy for that
[10:12:05] <jadew> same here, but my hourly wage is shit compared to what tzanger makes
[10:12:14] <twnqx> hm
[10:12:29] <twnqx> but freelancers have very different cost structure
[10:12:37] <twnqx> and sadly not 100% work
[10:12:42] <jadew> that's true
[10:12:46] <twnqx> so they have to make more per hour.
[10:12:51] * twnqx did that some time ago
[10:13:04] <jadew> tzanger, what would you say you make /yr? if you don't mind the question (no worries if you don't want to answer :) )
[10:13:54] <jadew> yeah, I used to do freelancing as well, but I ended up working in long stretches or not at all, because you don't always find something to do
[10:15:07] <jadew> I think my best freelancing job paid about 5k for 2 weeks of work
[10:15:23] <jadew> still doesn't add up to $100/hr tho
[10:15:54] <megal0maniac> I freelance because I can only work when I have university holidays or the work load is chilled (which is never). Works out pretty well for me. Keep in mind that I still live at home
[10:15:55] <braincracker> $1M / year is fine
[10:16:34] <jadew> megal0maniac, yeah, I guess that's a good deal
[10:16:59] <jadew> braincracker, you could retire after 3 years or so
[10:17:06] <braincracker> why ?
[10:17:10] <twnqx> my best job so far was a year of sitting around, drinking coffee mainly
[10:17:13] <megal0maniac> Most of my classmates don't have any work or the pay is terrible because university makes it pretty inconvenient
[10:17:20] <jadew> braincracker, because work sucks :D
[10:17:25] <megal0maniac> twnqx: I did that too :D
[10:17:30] <megal0maniac> And it was horrible
[10:17:33] <twnqx> for 5k€/month
[10:17:56] <jadew> twnqx, damn, that sounds nice
[10:17:56] <megal0maniac> I got ZAR4k/ month, but that's a different currency ;)
[10:17:59] <megal0maniac> And part-time
[10:18:07] <jadew> twnqx, I could do that my whole life :P
[10:18:10] <twnqx> me too.
[10:18:17] <megal0maniac> I do not miss it one bit
[10:18:23] <twnqx> why not
[10:18:28] <twnqx> all the coding i did during that time
[10:18:44] <megal0maniac> 5pm-9pm monday to thursday, 9am-3pm saturday
[10:18:48] <twnqx> completely unrelated to what i was paid for
[10:18:53] <twnqx> hm ok
[10:19:01] <twnqx> i did 9am-6pm
[10:19:05] <megal0maniac> Too many interruptions to do anything productive, and not enough to keep me busy
[10:19:10] <twnqx> 8am-5pm in the winter :P
[10:19:19] <twnqx> (because of parking)
[10:20:39] <braincracker> jadew <= i like to play with mcus, and hack stuff, it sucks if you have to scrub the floor 8 hours a day.
[10:20:58] <jadew> braincracker, I think any job can destroy a hobby :)
[10:21:06] <jadew> can and will
[10:21:07] <braincracker> what if they are the same?
[10:21:09] <twnqx> mh
[10:21:15] <tzanger> jadew: it's all over the map, but I do much better than working at a salaried job somewhere
[10:21:17] <jadew> because they're so repetitive they suck the joy out of it
[10:21:18] <tzanger> the variety is crucial to me
[10:21:34] <jadew> tzanger, I see
[10:21:38] <jadew> that's nice
[10:22:08] <megal0maniac> jadew: My job sparked my hobby
[10:22:19] <jadew> megal0maniac, you're still young
[10:22:23] <megal0maniac> Now I'm studying my hobby and eventually my hobby will be my career
[10:22:26] <megal0maniac> True
[10:22:59] <jadew> once you get locked in a job that demands the same stuff over and over again, year after year, the joy will fade away
[10:23:16] <jadew> that doesn't mean you won't enjoy doing something else, in the same field for yourself
[10:23:23] <jadew> however you won't enjoy doing what you did for work
[10:23:25] <braincracker> jadew <= i know girls and science don't fit together
[10:23:48] <jadew> is that a reference to the sucking part? :P
[10:23:56] <braincracker> could be
[11:04:29] <mr_boo> i'd like to see a one page conclusion about the fuses in atmega8515 and attiny2313 and the factory settings
[11:06:00] <mr_boo> seems like in the fuse calculator a checked checkbox corresponds to a "0" in the fusebit
[11:07:28] <spillere> twnqx: lol
[11:08:56] <spillere> yeah, well, im thinking on charging like 1.2ke euro for the whole project, can be done in like couple weeks of work
[11:14:04] <twnqx> mr_boo: correct
[11:14:20] <mr_boo> maybe the fuse calculator is useful after all
[11:14:22] <twnqx> default is 1, as in nor flash the erased status is one
[11:14:42] <twnqx> so an activated fuse as 0 as value, as confuding as that is
[11:14:48] <mr_boo> seems it presents the factory defaults when loading the device http://www.engbedded.com/fusecalc
[11:15:19] <mr_boo> that calculator rules
[11:38:19] <mr_boo> must the uart receiver be configured to the same baudrate as the transmitter or is the transmitter determining the rate?
[11:42:10] <braincracker> does atmega like double precision natural logarithm calculus?
[11:43:03] <braincracker> it requires some effort
[11:44:58] <RikusW> mr_boo: there is only one baud setting in UBRR
[11:49:01] <TehGookstuh> for the atmega324p. The datasheet have data transmission for MOSI but nothing about data reception for MISO how does one do this?
[11:49:33] <tzanger> 0, 2, 23.1, (ae10e7cc),
[11:49:33] <tzanger> 17, 1, 38.0, (3a017ccc),
[11:49:34] <tzanger> 22, 3, 41.2, (4aa19ccc), low batt
[11:49:37] <tzanger> I am awesome.
[11:51:17] <mr_boo> what i'll have to do is to change his project so that it accepts spi instead http://www.myplace.nu/avr/minidds/
[11:51:30] <mr_boo> unfortunately his code is written in assembler
[11:52:18] <mr_boo> do you think it would be hard to rewrite the code to operate with spi instead? http://www.myplace.nu/avr/minidds/minidds.asm
[11:53:36] <RikusW> TehGookstuh: you need to transmit in order to receive
[11:54:22] <RikusW> the slave cannot transmit independently
[11:54:28] <RikusW> if you need that use uart
[11:54:45] <TehGookstuh> yes, I transmit like a 32 bit instruction
[11:54:54] <TehGookstuh> and I would like to recieve the information from flash
[11:54:58] <TehGookstuh> I just have no clue how to do that >_>
[12:03:14] <mr_boo> is the usart setting for transmot and receive always the same baudrate?
[12:04:47] <mr_boo> my master uc already occupies the usart for midi purposes
[12:04:52] <Casper> phew
[12:05:04] <Casper> crazy day...
[12:05:23] <Casper> flat tire...
[12:05:35] <Casper> fix, eat, go to work...
[12:05:56] <Casper> the boss come: "change of plans, I need those 2 job done NOW"
[12:06:02] <Tom_itx> abcminiuser do you use timers in LUFA?
[12:06:09] <Tom_itx> somebody was asking earlier
[12:06:10] <abcminiuser> Nope
[12:06:24] <Casper> while I do them rush, I get another rush job: undusting a laptop.... the idiot of engineer... decied to put the fan UNDER the board
[12:07:45] <Casper> so I had to do a near full dissassembly: remove the keyboard, the screen, the top, then the board...
[12:08:11] <Casper> only had to strip the board and the open the screen and it would have been a full dissasembly
[12:17:24] <RikusW> TehGookstuh: you'll have to read the flash chip datasheet
[12:22:31] <BJfreeman> TehGookstuh https://sites.google.com/site/qeewiki/books/avr-guide/spi
[12:31:11] <SleepersTide`> Casper: you should take the whole lower half apart when undusting a laptop anyway (that's pretty much my job)
[12:32:05] <SleepersTide`> a lot of Samsung laptops seem to be built differently in that the bottom casing comes off and the mobo and other bits are bolted to the same bit of metal the keyboard rests on
[12:32:32] <SleepersTide`> but that's wildly off-topic
[12:35:26] <inkjetunito> your distro? let's not flood the channel and answer in private :p
[12:36:25] <specing> my laptop has a service patch for dusting
[12:36:42] <specing> fixing the GPU is another story, though
[12:39:26] <Casper> SleepersTide`: most good laptop are way easier to undust
[12:39:38] <Casper> the hp nc8230 being a model for cleaning
[12:40:10] <SleepersTide`> I have a thinkpad and I've never needed to undust it
[12:40:22] <SleepersTide`> had to replace the fan, though
[12:40:28] <Casper> 2 screws and 4 slide clips and you remove the keyboard. 8 screws and you remove the fan and the thermal plate, you now have access to 95% of the laptop board
[12:40:54] <Casper> total time to open, undust and close up? 5 minutes... if you take your time
[12:41:12] <Casper> this one I just did: 1 hour....
[12:41:33] <Casper> ... not the worse one btw
[12:41:34] <SleepersTide`> what brand was it? acer?
[12:41:39] <Casper> toshiba
[12:41:45] <SleepersTide`> oh, hmm
[12:41:56] <Casper> the worse one I got was a sony
[12:41:58] <SleepersTide`> acer makes some horrible shit, but I rarely get toshibas in
[12:42:19] <SleepersTide`> yeah, I gather sony used to make decent hardware, but doesn't any more
[12:42:23] <Casper> again, the fan was under the board.... and the case is screwed AND clipped...
[12:42:37] <inkjetunito> lol. acer. i have a long history with that shit (they never completely break, so i can't throw them away either)
[12:43:05] <Casper> acer usually are cheap enought that it open up easilly
[12:43:13] <Casper> too little plastic to make it strong
[12:43:31] <Casper> the clips... you don't feel most of them
[12:44:17] <inkjetunito> i still have one 2005 acer. it never worked correctly (bad hardware combination) and all the plastic clips and hinges are broken, but it still "works"
[12:44:39] <vec> !log
[12:44:53] <vec> \t
[12:45:24] <Casper> I saw some of the first acer 17"
[12:45:25] <OndraSter_> I have got one from... huh
[12:45:26] <OndraSter_> pentium III
[12:45:29] <Casper> frightening...
[12:45:31] <OndraSter_> all the plastics are broken
[12:45:33] <OndraSter_> fan is missing few blades
[12:45:36] <OndraSter_> but it still works
[12:45:41] <Casper> zero screen reinforcement
[12:46:05] <OndraSter_> OTOH I have got one from... whatever, AMD Athlon XP 2000+
[12:46:14] <OndraSter_> all the plastics looks like new
[12:46:18] <Casper> you take the lcd, and put it in the plastic frame, and clip a plastic frame on top, and put 4 screws...
[12:46:19] <OndraSter_> just two screws missing when I was changing backlight controller
[12:46:34] <Casper> pushing on one corner made the screen bend by over an inch
[12:46:45] <vec> antto: did you post a github of 32 bit asm routines?
[12:49:04] <Casper> SleepersTide`: do you often see those ukash/fbi virus?%
[12:49:47] <SleepersTide`> if that means what I think it means, then yeah, once or twice
[12:49:57] <antto> me? i don't even understand asm
[12:50:41] <Casper> SleepersTide`: since the begening of the year... I must be at my 200th removal of that virus :/
[12:50:53] <SleepersTide`> dang... that must suck
[12:51:53] <Casper> I learned how to start programs, even in safe mode
[12:52:13] <Casper> and that autorun would have been usefull
[12:53:46] <vec> asteve or awozniak then? 24bit asm routines?
[12:53:57] <asteve> watw
[12:54:12] <asteve> what does the size of the bit have to do with an asm routine?
[12:54:20] <asteve> well, the number of bits
[12:55:39] <awozniak> nope, although I've often wished that gcc supported a 3 byte integer type e.g. int24_t
[12:55:49] <Casper> same
[12:56:03] <Casper> but it would save a bit of ram, but would cause lots of extra code
[12:56:28] <awozniak> less code than supporting float =P
[12:57:59] <vec> oh god im stupid. thought my logs are lost because the hdd died, but i run irc on a server >_<
[12:59:06] <antto> haha ;]
[13:00:06] <vectory_> https://github.com/ambrop72/avr-asm-ops i knew the name started with a :D
[15:02:19] <Casper> ish in 5 mins.... it got darker by 2 hours...
[15:02:30] <Casper> rain is comming
[16:47:46] <guanche> hi
[16:48:07] <guanche> is it safe to apply this schematic:
[16:48:16] <guanche> http://atmega32-avr.com/wp-content/uploads/2012/06/Dimmer-Schmatic1.gif
[16:48:51] <guanche> to the output of a 220 -> 24 volts transformer instead to 220 directly?
[16:49:44] <guanche> I'm trying to use 24V AC and a triac to control a soldering iron, much like in those schematics
[16:49:53] <Roklobsta> yes, 24 is much better then 240
[16:50:07] <Roklobsta> i avoid mains anything
[16:50:30] <guanche> so it wouldn't overheat the primary or otherwise be dangerous and cause a fire or something?
[16:51:02] <Roklobsta> if you mess with mains make sure you have a well earthed power socket with a good earth leakage trip.
[16:51:36] <guanche> I'd use transformer's core as earth, that's fine no?
[16:51:43] <Roklobsta> what does it do? normall the opto is an isolator but this isn't an isolated curcuit.
[16:52:57] <guanche> what I have is a transformer for about 2A with two inputs and two outputs, I might skip the left side of the schematics entirely, have yet to decide if it's better a triac with integrated zero-crossing detector or that
[16:53:45] <guanche> I mean two pins as input from mains, and other two pins giving me 24V
[16:54:30] <guanche> I basically have to read soldering iron's sensor to reach and maintain the temperature
[16:55:05] <Roklobsta> oh it's an iron controller?
[16:55:23] <guanche> yes, but with AC instead of the usual DC setup
[16:56:07] <Roklobsta> i see
[17:07:47] <Casper> afaik, most are AC setup;
[17:07:58] <Casper> and do not use opto
[17:08:15] <Casper> since it control on the low side
[17:17:07] <guanche> thanks, and about getting the5 volts supply for the avr? better to have a small transformer just for that, isn't it?
[17:17:27] <guanche> than going from 24v to 5 having all that power lost as heat
[17:19:54] <twnqx> just use a switcher
[17:19:59] <twnqx> no power loss with heat
[17:20:14] <guanche> a switching power supply you mean?
[17:20:20] <twnqx> yes
[17:20:24] <Tom_itx> you can get em on ebay for a couple bucks
[17:20:36] <twnqx> no, i meant ic + coil + 2 capacitors
[17:21:04] <guanche> ok, let me look for that on the internet
[17:21:09] <guanche> not an expert on electronics
[17:21:35] <twnqx> use some vendor's reference design
[17:22:10] <braincracker> /usr/lib/gcc/avr/4.5.0/../../../../avr/lib/avr5/libc.a(floatsisf.o):../../../libm/fplib/floatsisf.S:40: multiple definition of `__floatunsisf'
[17:22:21] <braincracker> including math.h, what am i doing wrong ? ;/
[17:22:28] <guanche> sure, I'm begining reseach on the soldering iron thing, but would like to know about it either way
[17:22:30] <twnqx> use a VERY obselete gcc
[17:24:02] <braincracker> avr-gcc (Fedora 4.5.0-2.el6) 4.5.0 / gcc (GCC) 4.4.4 20100726 (Red Hat 4.4.4-13) no-go? :(
[17:24:14] <twnqx> lol 2010
[17:24:53] <braincracker> yes, also...
[17:24:55] <braincracker> avr-gcc (Fedora 4.5.0-2.el6) 4.5.0
[17:24:56] <braincracker> Copyright (C) 2010 Free Software Foundation, Inc.
[17:26:20] <braincracker> but math.h works on my pc code
[17:26:34] <braincracker> i don't see how it should not work for avr
[17:27:50] <braincracker> i'd need the log function now ;/
[17:27:55] <guanche> is that switcher thing known by other names? I can't seem to find anything like that
[17:28:02] <braincracker> and round() maybe
[17:28:07] <Tom_itx> smps
[17:28:08] <twnqx> buck converter in your case
[17:28:13] <Tom_itx> switch mode power supply
[17:28:18] <Tom_itx> buck or boost
[17:28:25] <twnqx> 24 to 5 is buck.
[17:28:45] <guanche> ah I see, thanks, of that I've heard before
[17:37:15] <braincracker> can somebody throw a complete math lib for me? :)
[17:37:26] <braincracker> double precision would be nice
[17:41:25] <twnqx> i just use -lm
[18:14:46] <R0b0t1> throw libmath;
[18:16:22] <Roklobsta> catch libmath
[18:16:32] <Roklobsta> yes, use exceptions.
[18:28:16] <R0b0t1> My mouse has an atmega168pa and nrf24 in it
[18:28:24] <R0b0t1> The ICSP (presumably) is exposed
[18:28:25] <R0b0t1> hmmm
[18:28:56] <Tom_itx> so we could reprogram it to be a rat?
[18:29:10] <R0b0t1> Ha
[18:29:59] <R0b0t1> I'd like to see if I could extend/abuse the protocol
[18:30:08] <vectory_> R0b0t1: to do what?
[18:30:09] <R0b0t1> but it looks like all interpretation is done on the dongle
[18:30:18] <vectory_> im lacking imagination :(
[18:30:26] <R0b0t1> Well, honestly so am I
[18:30:35] <R0b0t1> you could do most anything on the computer side
[18:30:51] <R0b0t1> It'd just be fun to fuck with it
[18:31:12] <R0b0t1> Oh, maybe I could see why it misbehaves on wood showing its grain
[18:36:56] <braincracker> my atmega168 has a mouse ;<
[18:58:18] <Casper> and some mouse have an atmega168
[19:14:02] <braincracker> R0b0t1 <= is it usb? how about adding usb keyboard functionality ? and it presses alt control delete for you when you press all 3 buttons together
[20:17:11] <vectory_> ah, now i get the idea. use mousewheel to dimm light or control sound
[22:51:52] <R0b0t1> braincracker: Ha
[22:51:57] <R0b0t1> actually you reminded me of something
[22:52:13] <R0b0t1> The mouse uses like, logitec unifying whateverthefuck
[22:52:25] <R0b0t1> So you can link multiple devices with one thing plugged into the computer
[22:52:35] <R0b0t1> I MAY be able to hotswap what it is while it's running