#avr | Logs for 2012-11-07

Back
[00:05:13] <rue_house> Casper, thats what I had
[00:05:30] <rue_house> heh, were gonna miss again, I just missed bedtime
[00:05:33] <Casper> rue_house: so 3904 shall work the same?
[00:05:58] <rue_house> they are both 500mA right?
[00:06:26] <rue_house> every so often one of them is 100mA
[00:06:34] <Casper> no, 200mA, same as the 3906
[00:07:17] <rue_house> oh, thats why I used those then
[00:07:33] <Casper> but why 500 on high side and 200 on low side?
[00:07:41] <rue_house> er, oh
[00:07:50] <rue_house> thought both mine where 500mA
[00:08:07] <Casper> so the 3906 is wrong there then :D
[00:08:14] <rue_house> sure
[00:08:49] <Casper> do you have some docs about optocoupler feedback?
[00:08:58] <rue_house> yes
[00:09:14] <rue_house> faxed from a division of motorola that dosn't seem to exist anymore
[00:09:16] <rue_house> :(
[00:09:27] <Casper> I was thinking to ditch the forward topology and go with inverting, but instead of switching the high side I'ld switch the low side, but that cause feedback issue...
[00:09:38] <Casper> so need opto feedback then...
[00:09:40] <rue_house> I could run them thru the company xerox 2 pdf and give you a 4.5G pdf
[00:10:05] <rue_house> your trying to get regulated 12V from a 12V battery?
[00:10:06] <Casper> that'S a bit big don't you think for a 200dpi document in 1 bit color?
[00:10:09] <rue_house> for a computer?
[00:10:10] <Casper> yes
[00:10:13] <rue_house> hahah
[00:10:19] <Casper> not a computer
[00:10:32] <Casper> but network gear, voip and phones
[00:10:35] <rue_house> to my experiance 13.5V -> 10V IS the output of a pc supply
[00:11:36] <rue_house> hmm, what the buckboost topology
[00:11:39] <rue_house> non inverting
[00:11:55] <Casper> sepic and cùk, require crazy caps
[00:11:56] <rue_house> use a pushpull
[00:12:08] <Casper> I'm trying to increase the efficiency
[00:12:12] <Casper> 68% is kinda low
[00:12:33] <rue_house> A mmmmmm B mmmmmmm C mmmmmmm D mmmmmmm E
[00:12:37] <rue_house> lets see here
[00:12:51] <rue_house> C goes to +batt
[00:13:07] <rue_house> B and D are driven to ground by N channels
[00:13:25] <rue_house> A and E go to diodes
[00:13:31] * rue_house thinks for a min
[00:13:51] <Casper> that would be a boost
[00:13:59] <rue_house> not if you lower the duty
[00:14:22] <Casper> the inductors would be a wire
[00:14:33] <rue_house> one multitap inductor
[00:14:35] <Casper> so the minimum output voltage is Vin-Vdiode
[00:14:43] <rue_house> "diode"
[00:14:44] <rue_house> geez
[00:15:32] <rue_house> I dont think the polarities work, I muffed it
[00:16:15] <rue_house> something like this is possable, you make a supply that can boost 10V to , say, 13 and trim the duty when you need less
[00:17:11] <Casper> I see why chinese use a boost followed by a buck
[00:17:25] <rue_house> nonon
[00:17:38] <rue_house> oh
[00:17:48] <rue_house> you only need B mmmmmm C mmmmmm D
[00:17:58] <rue_house> yea, I made a voltage doubler that way
[00:18:25] <rue_house> used a 7414 as the osc
[00:18:29] <rue_house> 50%
[00:19:30] <Casper> I don't see how it could work.... can you draw it quickly? maybe i misread your ascii?
[00:20:02] <rue_house> I'm just trying to understand how it bucks
[00:21:08] <rue_house> oh
[00:21:17] <rue_house> you do need A mmmmmm B mmmmmmm C mmmmmmm D mmmmmmm E
[00:21:25] <rue_house> C goes to Vin
[00:21:36] <rue_house> B and D go to the diodes
[00:21:42] <rue_house> A and E are driven low
[00:22:12] <rue_house> between A and C the B tap is about 1/3 from C
[00:22:52] <rue_house> no make that 1/2 and you can buck, but
[00:23:51] <rue_house> hmm
[00:25:12] <rue_house> this isn't working
[00:25:17] <rue_house> I cant think again
[00:25:26] <rue_house> I'v solved this beofre, I think
[00:32:10] <Casper> I'm sure it's not working
[00:32:18] <Casper> at 0% duty it give Vin-0.7V
[00:32:24] <Casper> and as soon as you increase the duty the voltage increase
[06:48:35] <RikusW> seems that the LM4890 audio amp comes in 8-Bump micro smd, its only 1.36x1.36x0.8mm!!!
[06:49:17] <OndraSter__> :)
[06:49:24] <OndraSter__> what package name would that be?
[06:49:44] <RikusW> 8-Bump micro smd
[06:49:54] <RikusW> http://za.rs-online.com/web/p/audio-amplifier-ics/5343419/?searchTerm=lm4890&relevancy-data=636F3D3226696E3D4931384E4B6E6F776E41734D504E266C753D656E266D6D3D6D61746368616C6C7061727469616C26706D3D5E5C772B2426706F3D313326736E3D592673743D4D414E5F504152545F4E554D424552267573743D6C6D343839302677633D424F544826
[06:51:49] <RikusW> an 0805 is just larger than it...
[06:51:58] <RikusW> thats just crazy...
[06:52:14] * RikusW let OndraSter__ solder that one :-P
[06:55:03] <OndraSter__> :D
[07:00:19] <OndraSter__> you know what I don't like on arduino amongst other things?
[07:00:25] <OndraSter__> that it spawns new window for every sample etc
[07:00:29] <OndraSter__> do you know what I am going to do?
[07:00:31] <OndraSter__> with a magic wand?
[07:00:41] <OndraSter__> <MrTrick> a pity, cause I bet you could build one with an 8x8 LED matrix
[07:00:43] <OndraSter__> wrong
[07:00:44] <RikusW> what ?
[07:00:52] <OndraSter__> damnit
[07:00:54] <OndraSter__> copypasta does not work
[07:01:03] <OndraSter__> <MrTrick> a pity, cause I bet you could build one with an 8x8 LED matrix
[07:01:03] <OndraSter__> this
[07:01:05] <OndraSter__> OMG
[07:01:15] <OndraSter__> restarting hexchat
[07:01:50] <OndraSter> bloody thing
[07:01:59] <OndraSter> http://clip2net.com/s/2tFi1
[07:02:22] <OndraSter> I waived the magic wand
[07:02:29] <OndraSter> and converted XIDE into multifile IDE :P
[07:02:39] <RikusW> ah better
[07:05:37] <OndraSter> why is my clipboard in RDP "stuck"?
[07:05:41] <OndraSter> :(
[07:05:46] <OndraSter> they are separated although they shouldn'T be
[07:05:48] <OndraSter> shouldn't
[07:05:56] <OndraSter> it is highly frustrating
[07:16:38] <Steffanx> It's still as easy as it was to crash the 'IDE' OndraSter ? :P
[07:18:47] <OndraSter> well I have just implemented opening tabs
[07:18:52] <OndraSter> not updated the compiling yet
[07:18:59] <OndraSter> so it will most likely crash :P
[07:19:09] <OndraSter> and I am testing some library stuff
[07:42:10] <Steffanx> Nah, here it also crashed when i created a new file OndraSter iirc
[07:42:20] <Steffanx> After that it asked to save the file over and over again
[07:42:55] <OndraSter> yes
[07:43:09] <OndraSter> because when it crashes window's .Close event handler is called :P
[07:43:22] <Steffanx> Ah
[08:05:06] <OndraSter> holy cow
[08:05:12] <OndraSter> the main source is now 646 lines :D
[08:05:15] <OndraSter> compiler is another 200 or so
[08:05:19] <Steffanx> waow
[08:05:21] <OndraSter> 311
[08:05:29] <OndraSter> and I haven't spent much time on it at all
[08:05:49] <OndraSter> maybe if I remove all the commented code it will be below 500 lines of code :D
[08:13:50] <OndraSter_> http://clip2net.com/s/2tGkC
[08:53:26] <rue_house> strange, it looks like arduino code
[08:53:56] <rue_house> and someone used the cpp extension
[08:54:09] <rue_house> for code that definitly not more than C
[09:04:35] <OndraSter_> because there will be C++
[09:04:37] <OndraSter_> VERY SOON!
[09:04:50] <OndraSter_> arduino is using g++ too
[09:04:55] <OndraSter_> because the libs and such are C++
[09:05:28] <theBear> oh stupid arduino
[09:05:35] <OndraSter_> :D
[09:05:53] <OndraSter_> if I want to grab some market I have to make use of what exists.
[09:05:57] <OndraSter_> be compatible with it
[09:08:00] <theBear> tell that to the idiots that invented *duino
[09:08:13] <OndraSter_> yes they are idiots
[09:08:26] <theBear> and you're following them off the cliff :)
[09:11:25] <damjan> really? "idiots" ...
[09:12:14] <OndraSter_> well
[09:12:18] <OndraSter_> they set up a lot of stupid stuff
[09:12:22] <OndraSter_> which now I have to follow
[09:12:25] <OndraSter_> if I want to be fully compatible
[09:13:29] <damjan> they made a cheap platform that anyone can use, that was their goal, they did it.
[09:13:44] <damjan> their goal was not "make OndraSter_ hapiest man on earth"
[09:13:58] <OndraSter_> they failed
[09:14:02] <OndraSter_> oh
[09:14:08] <OndraSter_> I read it the other way
[09:14:14] <OndraSter_> but it has got so many issues
[09:14:16] <OndraSter_> :/
[09:14:57] <damjan> maybe because instead of helping people just bitch on irc
[09:15:54] <OndraSter_> eh?
[09:17:14] <theBear> damjan, and that cheap platform that any idiot can use means they can't get help from experienced people like us who have been programming neater simpler code in plain old c for the SAME PROCESSORS for 10 years+
[09:17:33] <OndraSter_> but they can create cool stuff!
[09:17:37] <theBear> we try to help them but can't because of the layer of retarded libs
[09:17:51] <theBear> OndraSter_, cool stuff should be a reward for learning something
[09:17:59] <OndraSter_> that they post on instructables!
[09:18:13] <OndraSter_> theBear, it was partially ment as irony
[09:18:26] <theBear> yeah, that was painfully obvious after the instructables line <grin>
[09:18:34] <OndraSter_> :P
[09:18:36] <OndraSter_> I had a lag
[09:18:52] <OndraSter_> because MY INTERNET SUCKS FOR ABOUT A MONTH NOW!
[09:19:00] <theBear> i remember, long LONG ago, instructables actually had some good information, now it's buried under millions of idiots doing step by step how to tie your shoelace
[09:20:02] <OndraSter_> yep
[09:20:12] <OndraSter_> I get mail every few days with the "cool" stuff
[09:20:19] <OndraSter_> I open only stuff where are some hot girls doing stuff :P
[09:22:06] <theBear> i wonder if i'll ever meet a smart girl again... circumstantial evidence is not good
[09:22:29] <Steffanx> theBear, but you have to agree when i say you sound like a grumpy old man sometimes
[09:22:39] <Steffanx> -buy
[09:22:41] <Steffanx> t
[09:23:16] <theBear> Steffanx, only recently, i been sober 99.99% of a month now.... there's a reason i was drunk for over 15 years, don't worry, not long now, I'll be happy again
[09:23:27] <Steffanx> Good, good
[09:23:33] <theBear> at the same time, my feelings on arduino are valid, i just can't mute them right now
[09:28:41] <OndraSter_> :D
[09:28:43] <OndraSter_> oh well
[09:28:48] <OndraSter_> I need a beer.
[09:31:20] <OndraSter_> http://clip2net.com/s/2tHSj
[09:31:36] <OndraSter_> :P
[09:35:48] <megal0maniac> Richard_Cavell: Hey! Tell us about the project!
[09:37:18] <OndraSter_> haha megal0maniac
[09:40:43] <megal0maniac> Really though. Has he lost interest in AVRs yet? :)
[09:52:06] <megal0maniac> Good grief the Arduino Due is overpriced...
[09:54:57] <OndraSter_> 39.99€?
[09:54:59] <OndraSter_> hehe
[09:55:52] <OndraSter_> megal0maniac, http://clip2net.com/s/2tIly
[09:56:02] <OndraSter_> megal0maniac, http://clip2net.com/s/2tIjy
[09:56:20] <OndraSter_> the second one
[09:56:41] <megal0maniac> Not bad. Looks relatively efficient, too
[09:57:12] <OndraSter_> 1.5kB..
[09:57:19] <OndraSter_> well, the interrupt table on xmega is huge
[09:57:30] <OndraSter_> they are now using 4B for each interrupt because they are doing long jumps
[09:57:33] <megal0maniac> I'm comparing to Arduino
[09:57:37] <OndraSter_> oh
[10:03:29] <megal0maniac> OndraSter_: http://i.imgur.com/dCeIs.png
[10:03:53] <OndraSter_> hehe
[10:04:03] <OndraSter_> let me see how many interrupts are there on xmega128a1u
[10:04:05] <megal0maniac> For the Teensy++, it's 3022bytes
[10:04:09] <OndraSter_> wow
[10:04:13] <megal0maniac> I know
[10:04:25] <megal0maniac> Although, that might include USB...
[10:04:40] <OndraSter_> maybe some interface, whole USB below 4kB is impossible :P
[10:04:51] <OndraSter_> just the descriptors take almost half a kilobyte!
[10:04:57] <megal0maniac> CDC serial?
[10:05:05] <OndraSter_> yes
[10:05:15] <OndraSter_> all the interface and endpoint descriptors shit
[10:05:21] <megal0maniac> Because with those 3022bytes, it will enumerate
[10:05:33] <megal0maniac> Bootloader might contain stuff too, though
[10:05:47] <OndraSter_> it surely will
[10:06:32] <karlp> the size of an app like that is almost meaningless to compare.
[10:07:20] <OndraSter_> 0x0FA is the last vector address of the interrupt on x128a1u
[10:07:32] <OndraSter_> that's 500 bytes :P
[10:08:14] <OndraSter_> actually 502 or thereabouts
[10:08:21] <OndraSter_> there are two interrupts for USB
[10:52:32] <megal0maniac> I'd rather get a Teensy 3 than Arduino Due :)
[10:52:42] <megal0maniac> Just saw it's available now
[10:56:40] <karlp> he's got that to a good price.
[10:56:54] <karlp> pity he left out the debugging, but I expect he'll still do an excellent job with it
[11:02:07] <megal0maniac> The supplier here is just a rip-off. Usually it's more in line with EU prices, but this is mad. ZAR945
[11:02:20] <megal0maniac> That's EUR85
[11:02:37] <megal0maniac> (The Arduino Due, that is)
[11:09:47] <OndraSter_> holy shit :D
[11:09:53] <OndraSter_> how much is teensy?
[11:17:00] <megal0maniac> $18
[11:17:04] <megal0maniac> $6 shipping
[11:17:44] <megal0maniac> Only 128kb, but the usual things like DAC, interrupt on all pins etc
[11:18:19] <OndraSter_> hmm
[12:46:55] <jadew> this completely baffles me, so much talk about arduino, what are people using them for? what's the advantage?
[12:48:13] <kobsu> copy and paste ;)
[12:49:05] <jadew> and things like arduino uno are development boards, right?
[12:49:25] <jadew> to get things right and then you can write the code in another chip in order to use it?
[12:49:44] <jadew> or are they using the entire board as it is? (cuz I've noticed that's how many people do it)
[12:49:50] <jadew> with all those shields and crap
[12:52:04] <jadew> I'm really confused by this, because I simply can't see why a one size fits all device seems to be so widely used
[12:54:02] <r00t|home> if you can handle using the bare microcontroller and attaching a programmer, you don't need the arduino at all
[12:54:19] <r00t|home> it is essentially a development board
[12:54:25] <r00t|home> but most people don't know better
[12:55:01] <r00t|home> "arduino" also refers to the software used for programming, which is kind of a simplified C ide with code libraries
[12:55:18] <specing> C++
[12:55:56] <r00t|home> whatever
[12:56:07] <jadew> it's still pretty strange, I think it might be good advertising
[12:56:16] <sirdancealot7> the arduino community is a bunch of lazy smart people and a bunch of rich dumb people buying shields off them
[12:56:17] <r00t|home> jadew: refer this one: http://www.instructables.com/id/The-RRRRRRRRRRBA-or-What-They-Dont-Teach-You-in-/step6/There-you-have-it/
[12:56:24] <r00t|home> it is good advertising
[12:57:29] <jadew> hehe r00t|home, nice instructable
[13:02:55] <jadew> r00t|home, what's funny is that people are genuinely impressed by that lol
[13:05:02] <r00t|home> actually $3 isn't even cheap for a microcontroller...
[13:05:13] <jadew> yeah
[13:05:55] <jadew> but for $3 you get at least a atmega328
[13:07:39] <OndraSter_> $3 is far from impressive for mega328
[13:08:41] <jadew> that's about how much I pay for one of those
[13:08:59] <OndraSter_> how much are they in volume?
[13:09:07] <jadew> I never buy in volume :)
[13:09:29] <OndraSter_> hmm 2.57€/1 at 1pcs
[13:09:33] <OndraSter_> 2.14 for 10
[13:09:36] <OndraSter_> 1.61 for 25
[13:09:40] <OndraSter_> 1.46 for 100
[13:09:42] <OndraSter_> TQFP that is
[13:09:47] <r00t|home> 0 for infinite
[13:09:52] <jadew> lol
[13:10:24] <jadew> I don't really need the 328 tho, there's only one project of mine that required it, I usually go for the atmega8 for most of my stuff
[13:11:12] <jadew> enough pins, nice peripherals and plenty of program memory and ram for most things
[13:11:23] <jadew> and it costs something like $1.20
[13:57:06] <OndraSter_> RikusW, http://myxboard.net/software.html
[13:57:40] <RikusW> is that the arduino ide ?
[13:57:45] <OndraSter_> XBoard IDE*
[13:57:46] <OndraSter_> yes
[13:59:55] <RikusW> nice to have your own ide
[14:00:06] <RikusW> how many lines of code is it now ?
[14:00:12] <OndraSter_> less than before
[14:00:16] <OndraSter_> because I deleted all the commented code
[14:00:21] <OndraSter_> well, most of it
[14:00:27] <Steffanx> Incl. the .NET 3.0 Framework :P
[14:00:29] <OndraSter_> I was trying out the line numbers in 3 different forms :P
[14:00:34] <RikusW> scar tissue code :-P
[14:01:35] <Steffanx> You still need syntax highlighting.. code completion. All the fancy features OndraSter_
[14:02:21] <OndraSter_> syntax highlight yes
[14:02:29] <OndraSter_> code completion... in some sort of way will be done
[14:02:38] <Steffanx> Fancy "printf" output window
[14:03:06] <jadew> ah OndraSter_ so that xboard thing is your site, eh?
[14:03:06] <OndraSter_> :P
[14:03:11] <OndraSter_> jadew, yes
[14:03:15] <OndraSter_> it is my project
[14:03:17] <OndraSter_> all by myself!
[14:03:20] <jadew> nice
[14:03:22] <RikusW> just don't name your lib xlib, it sounds like X11 xlib... :-P
[14:03:26] <OndraSter_> damn, now the song "all by myself" popped up in my head
[14:03:37] <OndraSter_> RikusW, it is libxboard.a :P
[14:03:44] <RikusW> better
[14:03:55] <OndraSter_> when you change target platform it recompiles
[14:04:02] <RikusW> OndraSter_: have you ever used xlib ?
[14:04:05] <OndraSter_> no
[14:04:09] <OndraSter_> I have no idea what it is
[14:04:19] <RikusW> do you know what GDI is ?
[14:04:23] <OndraSter_> yes
[14:04:33] <RikusW> the X11 linux version is xlib
[14:04:38] <OndraSter_> oh
[14:04:41] <Steffanx> OndraSter_, isn't linux guy remember RikusW ?
[14:04:46] <RikusW> but it sort of includes user.dll too
[14:04:47] <OndraSter_> quite different "x" library :D
[14:05:16] <RikusW> well stuff in xlib is really really obscure :S
[14:05:44] <RikusW> the docs for some features are mad of unobtainium...
[14:06:19] <OndraSter_> the docs for some linux features are mad :)
[14:06:32] <RikusW> yep
[14:07:01] <OndraSter_> THE SOLARIS IS FOR MAD!
[14:07:16] * RikusW haven't used solaris yet
[14:07:21] <OndraSter_> hasn't*
[14:07:27] <OndraSter_> I know that in Afrikaans you don't have that.. :)
[14:07:28] <RikusW> maybe I don't want to either...
[14:07:34] <OndraSter_> and no, you do not want
[14:08:10] <OndraSter_> because of the bloody americans who say "there is 5 planes" and such I got 9 instead of 10 points in the English class
[14:08:17] <OndraSter_> just because I said twice "there is" instead of "there are"
[14:08:22] <OndraSter_> well, not just americans
[14:08:25] <OndraSter_> also some aussies say that!
[14:09:37] <RikusW> in Afrikaans we only use is, there's no are... :)
[14:09:42] <RikusW> much simpler
[14:09:46] <OndraSter_> :P
[14:09:58] <OndraSter_> English has got some weird shit in it - like you don't read what you write
[14:10:05] <Steffanx> Ha, good they penalized/penalised you for that OndraSter_
[14:10:05] <OndraSter_> or let alone you don't always read everything the same way
[14:10:51] <Steffanx> RikusW, you talk improved dutch.. that's a good thing
[14:11:01] <RikusW> Dutch v2 ? :-P
[14:11:16] <Steffanx> Improved, not v2
[14:11:36] * RikusW Thinks Steffanx is in need of an upgrade :-P
[14:13:37] <RikusW> some words are even the same in English and Afrikaans, like water, its just pronounce a bit differently
[15:05:44] <RikusW> OndraSter_: here is an entire windowmanager for X11 in 50 lines of code http://incise.org/tinywm.html
[15:07:18] <OndraSter_> wow RikusW
[15:07:28] <OndraSter_> time for test with a fire
[15:07:34] <OndraSter_> copy the XIDE.exe to linux
[15:07:37] <OndraSter_> and run mono XIDE.exe
[15:08:09] <RikusW> OndraSter_: http://xwinman.org/ Linux got many window managers, most famous being KDE and Gnome
[15:08:58] <RikusW> OndraSter_: good luck
[15:11:43] <OndraSter_> http://youtube.com/watch?v=oABEGc8Dus0
[15:11:44] <OndraSter_> DAMNIT
[15:11:51] <OndraSter_> why isn't copypasta working,
[15:19:54] <OndraSter_> http://clip2.net.com/s/2tNnI
[15:20:07] <OndraSter_> http://clip2net.com/s/2tNnI
[15:24:01] <specing> Not sure what is uglier
[15:25:11] <RikusW> XPde: A Windows XP-like desktop environment designed for Windows users migrating to Linux. http://www.xpde.com/
[15:25:26] <RikusW> OndraSter_: no more excuses for using win now :-P
[15:25:26] <OndraSter_> lol
[15:25:35] <OndraSter_> what about Win8 interface for X11
[15:25:41] <landonf> RikusW: ateml studio :P
[15:25:54] <OndraSter_> atmel studio
[15:25:55] <OndraSter_> ftw
[15:25:56] <OndraSter_> .
[15:25:57] <RikusW> got that on http://xwinman.org/otherdesktops.php
[15:26:26] <OndraSter_> well that xpde does not load for me
[15:26:33] <OndraSter_> that's a good start to begin with
[16:49:19] <jadew> "Guy! Help! I'm a computer expert and I feel kinda dumb for asking this question....Umm, I mixed up my Monitor Wire with My Psu Wire...I can't figure out which is which...Does it really matter? They both fit on the psu and the monitor....I'm kinda concerned that my motherboard will get fried...Anything I neeed to know? My computer is? running right now with either my LCD wire or the actual Psu wire. Is it ok if it runs with the lcd wire?"
[16:49:45] <OndraSter_> jadew, :P
[16:50:00] <jadew> found it in the comments of a youtube video :D
[16:50:02] <OndraSter_> if it is a girl, go to her place and plug it the right way there!
[16:50:04] <OndraSter_> oh
[16:50:25] <jadew> girls don't know words like PSU
[16:50:33] <OndraSter_> some do
[16:50:34] <OndraSter_> I know few
[16:51:23] <asteve> you have to be careful about matching the proper wiring bearings
[16:51:26] <jadew> do I remember correctly or were you building a lab PSU out of a pc PSU?
[16:52:08] <OndraSter_> no
[16:52:24] <jadew> hmm
[16:54:15] <jadew> I was looking at a "convert your atx psu to a lab psu" video
[16:54:47] <jadew> which reminds me that I want a new power source
[16:54:52] <OndraSter_> for PC?
[16:55:01] <jadew> lab PSU
[16:55:04] <OndraSter_> oh
[16:55:27] <jadew> the one I have does only 10v, which is not enough for some stuff
[16:56:42] <OndraSter_> I have got 15V/3A
[16:56:45] <jadew> I didn't forsee the posibility of needing things like -6 to +6 when I built that
[16:56:49] <jadew> nice
[16:56:55] <jadew> 0-3A?
[16:57:01] <jadew> or fixed?
[17:01:50] <OndraSter_> you can set
[17:02:46] <jadew> neat
[17:02:53] <jadew> I want about 15V as well
[17:03:04] <jadew> and maybe up to 2A, 1 should suffice tho
[17:04:53] <OndraSter_> heh
[17:04:57] <OndraSter_> I want to build a new one
[17:04:59] <OndraSter_> 30V, 5A
[17:05:08] <jadew> why so much power?
[17:05:08] <OndraSter_> this one I have got is the cheapest china you can think of
[17:05:14] <OndraSter_> I often need 24V
[17:05:18] <OndraSter_> or 5A
[17:05:25] <jadew> for what?
[17:05:40] <OndraSter_> once in a while I want to test something that is more than 45W
[17:05:43] <jadew> powering up 100W light bulbs?
[17:05:45] <OndraSter_> like that 100W LED :)
[17:05:55] <jadew> are you running a test bench for light bulbs? :P
[17:05:59] <OndraSter_> I used HP laptop adapter + SMPS after that
[17:06:18] <OndraSter_> and burnt few wires before realizing that I am pumping nearly 10A :D
[17:06:26] <OndraSter_> (when I was using PC PSU)
[17:06:37] <OndraSter_> wires made for 1A D:
[17:06:42] <OndraSter_> 100W, 12V
[17:06:43] <jadew> heh
[17:07:11] <OndraSter_> I like older Fortron 350W PSUs
[17:07:19] <OndraSter_> they are very, very high build quality
[17:07:21] <OndraSter_> but the older ones
[17:07:31] <OndraSter_> the newer ones are more "meh"
[17:07:39] <OndraSter_> that is for older PCs
[17:07:42] <OndraSter_> they cost like 10 bucks
[17:07:47] <OndraSter_> used of course
[17:07:56] <OndraSter_> just take it apart, clean it from the dust and it is good to go
[17:08:22] <jadew> never needed more than 200mA
[17:08:35] <OndraSter_> lucky you :D
[17:08:51] <jadew> I finished my electronic load today, it only eats up 1A max (completely screwed up the panel on this one)
[17:09:10] <jadew> I just don't drive anything else but chips :)
[17:09:11] <OndraSter_> hehe
[17:09:16] <OndraSter_> I drive all kinds of stuff
[17:09:20] <OndraSter_> anything I want to try out
[17:09:36] <OndraSter_> or when I needed to test the TV (which I still haven't got working)
[17:09:44] <OndraSter_> 15V + 5V inputs
[17:09:55] <OndraSter_> the original PSU is rated at 60W
[17:10:24] <jadew> I'd like one of these: http://www.rigolna.com/products/dc-power-supplies/
[17:11:43] <jadew> but I don't think I'll ever buy a bench power supply
[17:11:50] <jadew> because it's such a great project to DIY
[17:12:39] <OndraSter_> :P
[17:12:51] <OndraSter_> the one I bought is the cheapest china - the earth socket leads to the chassis
[17:12:55] <OndraSter_> but the chassis does not go anywhere
[17:12:58] <OndraSter_> and the chassis is metal!
[17:13:01] <OndraSter_> it is not safe even :P
[17:13:04] <jadew> lol
[17:13:24] <OndraSter_> there are two blobs of something that work as meters for current and voltage
[17:13:30] <OndraSter_> it is the simplest and cheapest thing you can think of
[17:13:38] <OndraSter_> LM723 or whatever is the number of the circuit
[17:13:49] <OndraSter_> with one 2N2222 or similar TO3 transistor
[17:14:03] <OndraSter_> I would go probably for SMPS design nowadays
[17:14:15] <OndraSter_> with high switching speeds
[17:14:21] <OndraSter_> to make the ripple smaller
[17:14:36] <jadew> I wouldn't use smps for a lab supply
[17:14:45] <OndraSter_> you can always put LDO after it
[17:14:57] <jadew> still, the ripple will get past it
[17:15:02] <OndraSter_> ripple does not matter for me that much as a power efficiency/power output
[17:15:20] <OndraSter_> I am not doing audio stuff
[17:15:34] <jadew> yeah, but it can mess things up
[17:15:39] <jadew> measurements and crap
[17:15:40] <OndraSter_> huh?
[17:15:53] <jadew> and you'll be like "why is this ADC so freaking dumb?"
[17:16:01] <OndraSter_> not enough filtering then :P
[17:16:23] <jadew> maybe I used a crappy SMPS, but I just couldn't filter it
[17:16:25] <OndraSter_> xboards are now (the duino form ones) powered by SMPS
[17:16:31] <OndraSter_> mc34063?
[17:16:34] <OndraSter_> it is not even a SMPS
[17:16:37] <OndraSter_> it is a noise generator
[17:17:02] <jadew> heh
[17:17:21] <OndraSter_> it is switching at how much maximum? 50kHz?
[17:17:30] <OndraSter_> I am using AP5100 which will hopefuly work, it oscillates at 1.4MHz
[17:17:46] <OndraSter_> if I were to switch to higher power something I would go for TI's TP... I forgot the number
[17:17:56] <OndraSter_> about 570kHz, 5A output mosfet
[17:17:58] <jadew> neat, you can modulate that and broadcast in AM :D
[17:18:02] <OndraSter_> :D
[17:18:24] <OndraSter_> the SMPS on the xboard is about 1.5 USD in total of parts
[17:18:28] <OndraSter_> @ 1 piece
[17:18:36] <OndraSter_> vs 0.5 usd LDO
[17:18:58] <jadew> why do you have one on the xboard?
[17:19:12] <OndraSter_> because with USB and LDO you get 500mA out
[17:19:16] <OndraSter_> with SMPS you get 700mA out
[17:19:28] <OndraSter_> with external input you are limited from 5V to maybe 12V before it overheats
[17:19:32] <OndraSter_> with SMPS I can go upto 24V :P
[17:19:51] <OndraSter_> at 1.2A out
[17:19:59] <jadew> nice
[17:20:58] <jadew> for my next power supply tho, I'll still go with linear regulation
[17:21:08] <jadew> and a big heat sink and a fan
[17:23:40] <jadew> lol, now that you said it just heat me
[17:24:02] <jadew> I was wondering why my 5v LDO was heating up for apparently no reason on this electronic load
[17:24:15] <jadew> I thought I'm powering it from 9v
[17:24:19] <jadew> it was 15
[17:24:25] <OndraSter_> :P
[17:24:33] <OndraSter_> when I was doing 15V to 5V on 7805 at nearly 1A...
[17:24:40] <OndraSter_> even TO3 got hot pretty quick
[17:24:47] <OndraSter_> so I made bigass heatsink for it
[17:24:49] <OndraSter_> from old CDROM drive :P
[17:26:29] <OndraSter_> the AP5100 has at 3.3V output at 0.5A load (input 12V) about 20mV ripple
[17:27:25] <jadew> that's really good
[17:27:44] <OndraSter_> considering that it is 0.7 eur at 1pcs... yes :P
[17:28:13] <OndraSter_> 0.86 1pcs, 0.76 25pcs
[17:28:22] <OndraSter_> 0.6 100pcs
[23:09:03] <Brittany> Hey guys, just beginning to start programming for the first time with AVR. Just wondering, how would I configure a port as output in AVR C? Just avr/io.h header file too?
[23:09:40] <landonf> That's the right direction to be looking
[23:09:47] <landonf> avr-libc's documentation is actually pretty good
[23:10:57] <Brittany> Righto.
[23:11:09] <Brittany> Sorry, I should've searched google first. I got my answer I think.
[23:11:32] <Brittany> DDR'pin' = 0xVal I believe?
[23:15:05] <landonf> DDR<port> |= _BV(PORT<port><pin>)
[23:15:27] <landonf> eg, DDRB |= _BV(PORTB0) to configure PB0 for output
[23:17:43] <Casper> Brittany: Data Direction Register, port X = the 8 bits of the port
[23:18:14] <Brittany> Ah, thanks guys.
[23:18:55] <Casper> Brittany: the datasheet for the part you use is a good place to start looking. Yes, it's huge, no, you don't need to read everything at once. However I do suggest that you read the begening of each section (or atleast the title) to give you an idea of what it can do
[23:19:17] <Casper> and yes, the datasheet is that huge, 200-600 pages, depending on which one you have
[23:19:33] <Brittany> Thanks. I will definitely be giving it a look over. I'm under a lot of university work lately, to be honest I'm just trying to scrape through the AVR work.
[23:19:45] <Brittany> Apologies for the vague questions and the very shaky understanding.
[23:20:05] <landonf> We'll survive, somehow.
[23:20:06] <Brittany> 5AM and I'm not in bed yet. ;)
[23:51:38] <Essobi> eeesh