#avr | Logs for 2012-11-05

Back
[00:45:24] <Casper> rue_house: ya there?
[00:46:00] <Casper> rue_house / rue_shop3: why 2n2222 instead of 2n3904?
[01:12:28] <shodan45> are there decent libs for avr that aren't arduino based?
[01:12:51] <Casper> sure
[01:13:02] <specing> MMm Assembly libs ;)
[01:13:13] <Casper> like peter fleury's libs for hd44780 and serial
[01:13:59] <specing> those libs are bloated
[01:15:01] <shodan45> eh, less worried about bloat, and more frustrated with the "IDE" and renaming of pins
[01:18:05] <Casper> specing: a bit bloated yes, but work nice
[01:18:14] <specing> "a bit"?
[01:18:29] <specing> pfleury's LCD lib: 260 bytes
[01:18:37] <specing> my LCD lib: 66 bytes
[01:18:42] <specing> "A BIT"?!?!
[01:19:05] <Casper> your lib is definitivelly not right
[01:19:12] <specing> It works.
[01:19:25] <Casper> do you do proper initialisation? no you don't
[01:19:58] <Casper> init 8 bits 3 times, init 4 bits, with delay between each command (since you can't check the busyflag yet)
[01:20:14] <specing> the HD44780 controller initializes itself
[01:20:18] <Casper> nope
[01:20:25] <specing> no need to haul the stupid init code over
[01:20:28] <specing> yes it does
[01:20:38] <specing> How else would you explain my code works?
[01:20:42] <Casper> so your lib is a 8 bits one then
[01:20:49] <specing> No, 4 bits
[01:21:01] <Casper> ... then you have a spec violating one
[01:21:05] <specing> and you can connect the data lines like spagheti
[01:21:22] <specing> It doesen't violate anything
[01:21:37] <specing> I've read the full 60 page HD44780 docs
[01:21:57] <Casper> o.O
[01:22:23] <Casper> but anyway, if your product crash or get reset after the first nibble, you lost control of it
[01:23:15] <specing> crashes do not happen here
[01:23:26] <specing> I code 100% perfect code
[01:24:33] <specing> as for reset... the controller is already initialized and one CLRSCR does away with old stuff (actually built into my lib's init code)
[01:26:40] <Casper> which do not fix the nibble issue
[01:27:11] <specing> What nibbles?
[01:27:18] <specing> It. Works.
[01:28:22] * Casper wonders if he should forget about his smps and just buy a commercial product
[01:28:33] <Casper> but that commercial one don't exactly do what I want it to do
[01:30:05] <Casper> however I could fix it by recoding the PIC....
[01:30:06] <Casper> ...
[01:30:07] <Casper> ...
[01:31:52] <Casper> ... what's "open" in the "openups"? I see no source code (I tough it was there, but no), I see no open schematics....
[01:31:52] <specing> Do your own SMPS
[01:31:57] <Casper> no board...
[01:32:04] <Casper> specing: trying to make one
[01:32:09] <specing> I did one once
[01:32:16] <specing> was like 30% efficient ;P
[01:32:19] <Casper> I got ok efficiency... 68% for forward converter
[01:32:35] <Casper> hey! I beat you! my first one was like 4% :D
[01:32:51] <Casper> then jumped to 40%
[01:33:27] <Casper> now I'm at 68%, and it could be higher... the fet should be cold, it heat up, the inductor should be cold, it get hotter than the fet
[01:36:39] * shodan45 just recycles old cell phone charges :P
[01:36:47] <shodan45> chargers*
[01:37:23] <shodan45> got 2 for $1 last weekend at a yard sale
[01:43:58] <specing> Casper: my fet actually was cool
[01:44:10] <specing> it was the current sense resistor that dropped it down to 30% :)
[01:44:15] <Casper> lol
[01:44:16] <specing> or was it 40%
[01:44:40] <Casper> I'm actually considering to have a board made, and use the ltc3789
[01:44:42] <Casper> buck boost
[01:44:47] <specing> I need current sense because NiCD batteries :)
[01:45:22] <specing> I have a 60V 9A FET hooked up to a 5A inductor
[01:45:37] <specing> :)
[01:45:39] <Casper> what can possibly go wrong with it? it would be the first smd board I make, first buck-boost....
[01:45:53] <specing> worst?
[01:46:03] <specing> I may set your house on fire
[01:46:12] <specing> But that is part of the learning experience ;p
[01:49:52] <Casper> that chip is nice btw
[01:50:13] <Casper> need 4 nchan fet
[01:50:18] <Casper> and 1 inductor
[01:50:25] <Casper> can lower and raise the voltage
[01:50:33] <Casper> at like 95% efficiency
[02:06:12] <specing> :)
[03:02:42] <amee2woof> does anyone know of a high side shunt monitor IC that comes in packages that are actually usable?
[03:03:30] <amee2woof> i.e. *not* QFN or SOT or MSOP or that kind of size class >_<
[03:04:14] <amee2woof> doesn't have to be particularly good
[03:04:21] <amee2woof> so long as it works i'm happy right now
[03:06:14] <day> is it somehow possible to return a value from an interrupt vector? so far im using global volatile variables..but that looks dirty as fuck :/
[03:07:23] <Rikus1> thats about the only way
[03:10:18] <RikusW> day: this is not university :-P
[03:13:55] <day> RikusW: its just i try to do things the perfect way. do you know of any site that compares/discusses the performance/ needed resources of different variable declarations? for example, is it worth it to declare a small look up table global, or declare it in the interrupt vector each time it gets called
[03:14:57] <amee2woof> interrupts get called "out of the blue"... there isn't really a caller that you can return the value to
[03:15:03] <RikusW> in IV it would be on stack
[03:15:12] <RikusW> I guess performance would be the same
[03:23:02] <day> thanks
[04:02:10] <RikusW> TDK caps http://docs-europe.electrocomponents.com/webdocs/0c1b/0900766b80c1bb00.pdf
[05:54:35] <Horologium> amee2woof, depends on how powerful you need it, but, allegro-micro.com has plenty in dip package.
[05:58:31] <amee2woof> Horologium: say 5A tops and i don't need a lot of resolution. this is just to monitor PSU load and prevent accidential overload due to too much stuff connected at once
[06:17:41] <Horologium> amee2woof, check out allegro-micro.com
[06:17:52] <Horologium> they specialize in motor control.
[06:17:56] <Horologium> and do free samples!
[06:18:25] <amee2woof> neat :)
[06:19:03] <amee2woof> alternatively i've been contemplating using a generic opamp and 555 as charge pump to get a higher-than-Vcc bias supply
[06:20:06] <Horologium> max232 or max233(fewer components as it has built in caps but more expensive) will give you a 12V reference from a 5V input.
[06:20:32] <Horologium> hmmm...maybe a -12V
[06:20:35] <Horologium> nevermind.
[06:20:45] <Horologium> too early this morning.
[06:20:50] <Horologium> not even finished with breakfast.
[06:21:16] <amee2woof> the rails i want to measure are +5V and +12V so a 232 isn't going to cut it
[06:21:42] <Horologium> kinda figured, is why my brain went in reverse all the sudden.
[07:22:43] <Sefid_par> I have just installed avrdude. but When I type "locate avrdude" I get nothing!
[07:23:04] <Sefid_par> I wanna find the path of avrdude installation to change its permission
[07:24:05] <Steffanx> which avrdude
[07:25:06] <Sefid_par> the latest
[07:25:19] <OndraSter> no no
[07:25:19] <Steffanx> That's the command you have to use :P
[07:25:20] <OndraSter> the command
[07:25:21] <Sefid_par> on ubuntu live
[07:25:22] <OndraSter> :P
[07:26:01] <OndraSter> what is the difference between which and whereis?
[07:26:13] <Sefid_par> I do not know
[07:26:58] <Sefid_par> I typed this command: avrdude -P /dev/parprot0 -c dapa -p m88 -U usb*
[07:27:17] <Sefid_par> and got the error: avrdude: can't open device "/dev/parprot0": No such file or directory
[07:27:20] <Sefid_par> avrdude: failed to open parallel port "/dev/parprot0"
[07:27:28] <OndraSter> parport0?
[07:28:07] <Richard_Cavell> parport0
[07:28:12] <OndraSter> yes
[07:28:17] <OndraSter> not parprot
[07:28:34] <Richard_Cavell> Sefid_par: Also use lpt0 (for Unix) or lpt1 for Windows
[07:28:40] <Richard_Cavell> not /dev/parport0 directly
[07:28:44] <Sefid_par> Yes
[07:28:49] <Sefid_par> Richard_Cavell: How?
[07:29:01] <Sefid_par> Whould you mind tell me a little more?
[07:29:03] <Richard_Cavell> Sefid_par: avrdude -P lpt0 -c dapa -p m88 -U usb
[07:29:14] <Sefid_par> Richard_Cavell: Thank you
[07:30:16] <Sefid_par> Richard_Cavell: avrdude: failed to open parallel port "lpt0"
[07:30:43] <Richard_Cavell> Sefid_par: Tell us more about what you're doing
[07:31:02] <Sefid_par> I wanna upload the firmware of uspasp to at88
[07:31:12] <Sefid_par> I use dapa
[07:32:08] <Sefid_par> But when I type the command to upload it gets the error: avrdude: can't open device "/dev/parprot0": No such file or directory
[07:32:19] <Richard_Cavell> Sefid_par: What OS are you using?
[07:32:22] <Sefid_par> and the next line :avrdude: failed to open parallel port "/dev/parprot0"
[07:32:31] <Sefid_par> Ubutnu 12.04 Live
[07:32:43] <Richard_Cavell> Sefid_par: type ls /dev/l* and paste the result
[07:32:52] <Sefid_par> Ok
[07:33:08] <Sefid_par> /dev/log /dev/loop1 /dev/loop3 /dev/loop5 /dev/loop7 /dev/lp0
[07:33:09] <Sefid_par> /dev/loop0 /dev/loop2 /dev/loop4 /dev/loop6 /dev/loop-control
[07:33:20] <Richard_Cavell> you don't have a parallel port there
[07:33:32] <Sefid_par> :.(
[07:33:36] <Sefid_par> What should I do?
[07:33:37] <Richard_Cavell> I loaded up Ubuntu on a computer that had an on-motherboard parallel port and it couldn't recognize the parallel port
[07:33:50] <Richard_Cavell> Find an operating system that recognizes your parallel port
[07:33:58] <Richard_Cavell> You do have a parallel port on the computer, right?
[07:34:02] <day> like windows :P
[07:34:06] <Sefid_par> Yes
[07:34:25] <Sefid_par> I have connected the dapa to the parallel port
[07:34:59] <Richard_Cavell> well Ubuntu isn't seeing a parallel port
[07:35:09] <Richard_Cavell> load up a different OS and see if you can get the parallel port recognized
[07:35:12] <Richard_Cavell> Windows will see it
[07:35:18] <Richard_Cavell> Windows works with everything
[07:35:24] <Steffanx> ...
[07:35:29] <Sefid_par> I wanted to use linux
[07:35:46] <Sefid_par> Richard_Cavell: Thank you very much :)
[08:39:36] <OndraSter> I'll be damned
[08:39:41] <OndraSter> Microchip does not send samples to CZE
[08:40:29] <Steffanx> You deserve that
[08:44:16] <OndraSter> so
[08:44:19] <OndraSter> ethernet card
[08:44:21] <OndraSter> which colour? :P
[08:44:26] <OndraSter> ethernet xboard shield
[08:44:36] <OndraSter> I am thinking white
[08:44:42] <OndraSter> yellow looks like a piss
[08:48:19] <Steffanx> green
[08:48:25] <OndraSter> ugly
[08:48:51] <Steffanx> Standard response: your mother is
[08:48:55] <OndraSter> :P
[08:58:40] <OndraSter> wtf, iteadstudio has now expensive shipping :o
[08:58:52] <OndraSter> CapnKernel is now almost the same price :D
[09:00:17] <OndraSter> http://clip2net.com/s/2te0k
[09:01:27] <rue_house> whats that to ship?
[09:01:32] <OndraSter> two PCBs
[09:01:35] <OndraSter> 5x10 and 10x10
[09:01:37] <rue_house> hahaha
[09:01:38] <OndraSter> 10pcs of each
[09:01:46] <OndraSter> I paid $25 for DHL of 50 boards 9 months ago :P
[09:01:54] <OndraSter> they were mostly 10x10
[09:02:02] <rue_house> cm?
[09:02:06] <OndraSter> yes
[09:02:17] <rue_house> shipping from china and australlia is really good
[09:03:33] <rue_house> I think the usps performance, the DropitHideitLoseit and UPS services poor quality are from union workers
[09:04:22] <OndraSter> $12.37? that is TOO DAMN HIGH!
[09:04:26] <OndraSter> for regular china registered air mail :P
[09:05:19] <rue_house> http://uncyclopedia.wikia.com/wiki/DHL_Express
[09:05:20] <rue_house> hahaha
[09:06:09] <OndraSter> lol
[09:06:45] <OndraSter> so, which PCB colour should I choose
[09:06:50] <OndraSter> I miss purple option
[09:07:47] <day> black looks best imo
[09:07:54] <OndraSter> I have got black boards already
[09:07:56] <OndraSter> I am thinking white
[09:08:10] <OndraSter> until CapnKernel offers black soldermask and yellow silkscreen
[09:09:13] <day> OndraSter: Some company is selling a white soundcard. that shit is haunting me. I dont like it at all.
[09:09:20] <OndraSter> lol
[09:12:06] <OndraSter> I'll be damned
[09:12:09] <OndraSter> my credit card really does not work
[09:12:25] <OndraSter> yet on my bank's website it shows up as okay
[09:13:40] <OndraSter> wait
[09:13:44] <OndraSter> I just noticed
[09:13:48] <OndraSter> that internet payments are deactivated
[09:13:49] <OndraSter> WHY
[09:15:07] <OndraSter> there we go
[09:20:04] <tld> http://www.youtube.com/watch?v=6TiXUF9xbTo <-- Brilliant. :)
[09:23:58] <OndraSter> lol
[10:02:47] <megal0maniac> Yo :)
[10:03:57] <OndraSter_> us
[10:04:06] <OndraSter_> I haven't seen you here recently much
[10:10:08] <megal0maniac> My router is currently unplugged an on my bed :/
[10:10:22] <Steffanx> I bet there isn't a day we dont see you here, OndraSter_
[10:10:29] <asteve> router mcshmouter
[10:10:50] <megal0maniac> asteve: Router=connection to the IRC world :)
[10:10:58] <megal0maniac> And then working 12 hour days
[10:11:14] <OndraSter_> Steffanx, I know
[10:11:19] <asteve> why route when you can deny?
[10:11:20] <OndraSter_> I am here when my internet at home works :P
[10:11:26] <asteve> or drop, rather
[10:11:41] <OndraSter_> megal0maniac, http://clip2net.com/s/2t4Eo
[10:11:49] <OndraSter_> Windows vs Debian
[10:13:01] <megal0maniac> But... XIDE?
[10:13:09] <megal0maniac> Was ist das?
[10:13:15] <OndraSter_> that would be XBoard version of Arduino
[10:13:20] <OndraSter_> WITH LINE NUMBERS!
[10:13:40] <megal0maniac> Oh heck!
[10:13:42] <megal0maniac> Nice
[10:13:51] <megal0maniac> Doesn't compile :)
[10:13:57] <OndraSter_> obviously
[10:14:05] <OndraSter_> I copypasted the code there many times to show line numbers :P
[10:14:35] <megal0maniac> Let me know if you need a bug tester ;)
[10:14:40] <OndraSter_> :P
[10:14:43] <OndraSter_> there are many bugs :D
[10:14:47] <asteve> I need a bug creator
[10:15:01] <megal0maniac> asteve: I can help with that, I'm talented
[10:15:10] <OndraSter_> :D
[10:17:12] <megal0maniac> OndraSter_: Did you just create your own wrappers or did you somehow port?
[10:24:58] <OndraSter_> megal0maniac, wrappers for what?
[10:24:59] <OndraSter_> arduino libs?
[10:25:09] <OndraSter_> I so far rewrote only digitalWrite and pinMode :D
[10:25:13] <OndraSter_> and re-done pin mapping
[10:26:09] <megal0maniac> Is it too much of a mission to take the xmegaduino route?
[10:26:15] <OndraSter_> they did what?
[10:26:20] <OndraSter_> I do not want to use arduino IDE
[10:26:21] <OndraSter_> it is ugly
[10:26:22] <OndraSter_> and java-y
[10:26:30] <megal0maniac> BUT, it's Arduino
[10:26:38] <OndraSter_> last update 6 months ago
[10:26:42] <megal0maniac> I know
[10:26:53] <megal0maniac> But last update of XIDE was never
[10:27:04] <OndraSter_> :D
[10:27:12] <OndraSter_> if you check the status
[10:27:18] <OndraSter_> there is really almost nothing ported
[10:28:00] <OndraSter_> megal0maniac, http://tempah.myxboard.net/workdir.7z
[10:28:12] <OndraSter_> includes windows version of avr-gcc
[10:28:44] <megal0maniac> How big? Your server won't tell me :(
[10:28:49] <OndraSter_> 11MB
[10:28:52] <OndraSter_> damn it is not the latest build
[10:28:56] <OndraSter_> with fixed indenting
[10:29:15] <OndraSter_> + http://tempah.myxboard.net/XIDE.exe
[10:29:21] <OndraSter_> (88kB)
[10:30:38] <OndraSter_> (button "upload" does not actually upload the code, it does exactly nothing)
[10:31:04] <megal0maniac> void uploadButtonPushed() { };
[10:31:49] <OndraSter_> not even that :P
[10:33:49] <tld> Heh. Friend of a friend is voting for Romney, hoping to get a US collapse over-with sooner, rather than later.
[10:34:13] <landonf> That's ... one way to do it.
[10:34:27] <OndraSter_> I am wondering - how does arduino compile the sources? Does it compile *all* the .c files and then run --gc-sections with linker or what?
[10:35:00] <megal0maniac> Hmmm... Not sure
[10:35:09] <karlp> turn on "ver4bose compilation" and find out for yourself
[10:35:15] <OndraSter_> hmm
[10:35:17] <OndraSter_> thanks
[10:36:58] <megal0maniac> http://pastebin.com/gC95Ukg5
[10:37:03] <megal0maniac> @ OndraSter_
[10:38:04] <megal0maniac> 190mb??
[10:38:25] <megal0maniac> avr-gcc I suppose...
[10:38:28] <OndraSter_> yes
[10:38:35] <OndraSter_> avr-gcc is very big
[10:38:36] <OndraSter_> unpacked
[10:38:45] <OndraSter_> this packed is 12MB now
[10:38:49] <OndraSter_> arduino packed is 88MB :P
[10:38:55] <OndraSter_> the older one, without ARM gcc
[10:40:31] <megal0maniac> Arduino's compiling isn't very efficient...
[10:40:37] <OndraSter_> hmm?
[10:40:45] <OndraSter_> I use 7zip rather regular zip
[10:40:54] <megal0maniac> "COMPILE ALL THE THINGS!"
[10:41:06] <megal0maniac> And then "What do we ACTUALLY need?"
[10:41:06] <OndraSter_> well
[10:41:08] <OndraSter_> they are removed
[10:41:15] <OndraSter_> and some libs are pre-compiled supposedly
[10:41:27] <megal0maniac> yeah, the end result is fine, but the process
[10:41:34] <OndraSter_> :P
[10:41:40] <OndraSter_> I am not sure I have got better option
[10:41:52] <OndraSter_> I have dropped the Processing pre-processing part
[10:42:00] <OndraSter_> and I am not using "Wire" but C++ directly
[10:42:04] <inkjetunito> i quite strongly unliked the arduino environment
[10:42:20] <OndraSter_> I could add an option "do not use XBoard's startup file"
[10:43:14] <OndraSter_> Tools\BaseCode\Main.c
[10:43:39] <OndraSter_> then Header.c is inserted before your code
[10:43:55] <OndraSter_> and Code.h is prototype header for your code :)
[10:46:45] <megal0maniac> Who are you intending to sell this to?
[10:49:54] <megal0maniac> Could I theoretically compile a blinking LED program and upload it with FLIP?
[10:50:07] <OndraSter_> well, I output just the binary form rather hex
[10:50:13] <OndraSter_> because the binary form will be sent to the device
[10:50:36] <OndraSter_> but I will be implementing FLIP protocol
[10:51:02] <megal0maniac> What about that custom bootloader? :)
[10:51:08] <OndraSter_> when the time comes
[10:51:20] <OndraSter_> there is FLIP bootloader for 32a4u too :P
[10:51:24] <megal0maniac> The time is NOW
[10:51:26] <OndraSter_> :D
[10:52:12] <OndraSter_> <OndraSter_> without custom VID and PID it does not really have any use
[10:59:20] <megal0maniac> True dat.
[11:03:44] <megal0maniac> I'm in the market for a soldering iron.
[11:04:19] <OndraSter_> hotair+soldering iron combined :)
[11:04:28] <megal0maniac> I'm not rolling in money :P
[11:04:36] <OndraSter_> :D
[11:05:13] <megal0maniac> If I was, though... http://www.magnumproducts.co.za/3005.html
[11:05:41] <OndraSter_> dat desoldering iron!
[11:06:06] <megal0maniac> About 14 600 of your Czech dollars
[11:06:09] <megal0maniac> :P
[11:06:14] <OndraSter_> lol
[11:06:26] <megal0maniac> But yeah, nice but not cheap
[11:13:03] <megal0maniac> http://i.ebayimg.com/00/s/NzY4WDEwMjQ=/$(KGrHqFHJCsFBq0fLGw3BQh8)NzsVQ~~48_20.JPG
[11:13:08] <megal0maniac> I like that one
[11:13:44] <OndraSter_> hehe
[11:13:49] <OndraSter_> I checked out vscoring machines for PCBs
[11:13:52] <OndraSter_> $6k for used ones
[11:14:32] <megal0maniac> There's another ad for 3x blow torches and 3x soldering irons. The irons are just metal, you heat them up with the blow torches :P
[11:14:45] <OndraSter_> e
[11:14:46] <OndraSter_> h
[11:14:46] <megal0maniac> http://i.ebayimg.com/00/s/MzM4WDEwMjQ=/$(KGrHqJHJEcE+R7)outfBP6E53N22g~~48_20.JPG
[11:14:57] <megal0maniac> Didn't know that existed...
[11:23:36] <megal0maniac> No board definition for coco? Aw :)
[11:31:47] <megal0maniac> !seen RikusW
[11:32:03] <megal0maniac> !time
[11:32:03] <tobbor> My watch says its 09:20AM Mon Nov 05 2012
[11:32:13] <megal0maniac> !seen RikusW
[11:32:13] <tobbor> RikusW was last seen in #avr on Nov 05 02:49 2012
[12:01:07] <OndraSter_> megal0maniac, I used Ultra as the base since it has got the most pins :P
[12:01:11] <OndraSter_> and I will be just copypasting parts
[12:46:31] <ferdna> i need to step down 5v to 3.3 how to do it?
[12:48:40] <r00t|home> lm7533 or ebay KIS-3R33S
[12:50:19] <r00t|home> (assuming you are talking about power supply)
[12:50:24] <specing> You take 5V and return 1.7V back
[12:51:10] <r00t|home> put two diodes in series...
[12:52:41] <OndraSter_> step down?
[12:52:47] <OndraSter_> switchmode or LDO?
[12:52:56] <OndraSter_> two diodes are very rough
[12:53:01] <OndraSter_> nowhere near 1.7V :P
[12:53:19] <r00t|home> will suffice in many situations
[12:54:35] <OndraSter_> breadboard xboards have LDO
[12:54:47] <OndraSter_> arduino formed xboards have switchmodes :P
[12:54:50] <OndraSter_> 1.2A maximum output
[12:54:55] <r00t|home> try to sell some to ferdna
[12:54:55] <OndraSter_> input 4.5V - 24V
[12:54:59] <OndraSter_> hehe
[12:55:03] <OndraSter_> AP5100 from Diodes Inc.
[12:55:11] <OndraSter_> SOT6 or whatever is the package called
[12:55:18] <OndraSter_> about 2.5x2cm footprint in total I think
[12:55:33] <OndraSter_> including high voltage (35V) 10uF ceramic cap
[12:55:41] <r00t|home> hueg like xbox
[12:56:33] <RikusW> ferdna: st1117
[12:56:41] <RikusW> or any other LDO regulator
[12:57:06] <RikusW> unless you're talking about level translation between gpio pins, then you'll need GTL2003
[12:59:48] <r00t|home> or a series resistor and z-diode, or a voltage divider...
[13:02:00] <ferdna> OndraSter_, r00t|home: MCP1700-3302E
[13:02:03] <ferdna> found that one
[13:02:35] <OndraSter_> 3.3v ldo
[13:02:46] <OndraSter_> I got used to using 1117 LDOs
[13:02:49] <OndraSter_> they are EVERYWHERE
[13:03:12] * RikusW found SPX5205 RS 686-5875 low standby current, only 70uA
[13:04:34] <OndraSter_> hmm
[13:04:36] <OndraSter_> not bad
[13:04:40] <OndraSter_> I was using Exar's 1117
[13:05:07] <r00t|home> not bad... now find one with efficiency of at LEAST 1.0
[13:05:10] <OndraSter_> 0.354 eur for 1 piece
[13:05:14] <OndraSter_> haha
[13:05:47] <RikusW> seems there is a RT9193 too
[13:06:14] <RikusW> just got a uart chip too SP3220
[13:06:24] <RikusW> only the number :-P
[13:06:50] <OndraSter_> I will have to spend a lot of money on first set of xboard mini boards :P
[13:06:59] <OndraSter_> the BOM contains 27 parts :(
[13:07:11] <OndraSter_> 26*
[13:07:22] <OndraSter_> I forgot to remove the LDO :P
[13:07:35] <r00t|home> just remove some unnecessary parts... like the controller or the pcb...
[13:07:45] <OndraSter_> heh
[13:07:55] <OndraSter_> http://clip2net.com/s/2thOw
[13:09:03] <RikusW> OndraSter_: so got parts to build more coco boards yet ?
[13:09:11] <OndraSter_> no
[13:09:16] <OndraSter_> Mini is now priority :)
[13:10:06] <RikusW> was that xm32a3u ?
[13:10:12] <OndraSter_> a4u
[13:10:53] <RikusW> selling for how much ?
[13:11:12] <OndraSter_> on arduino board for the same as coco in breadboard
[13:11:18] <OndraSter_> the SMPS and SD card etc cost more
[13:12:59] <RikusW> seems the SIM900 GSM module contains a ARM926EJ_S running at 156MHz
[13:13:22] <RikusW> and there is 1MB of flash for code, another MB for data and 1MB of RAM for app code :)
[13:13:33] <OndraSter_> yay
[13:13:40] <RikusW> not sure how many MIPS is left over for the app
[13:14:03] <RikusW> it takes only 22mA in standby and 1mA in sleep
[13:14:12] <RikusW> and uAmps in off mode
[13:16:03] <RikusW> it can still receive a call or sms in sleep mode :)
[13:27:36] <exscape> does anyone have some current draw vs frequency info for the atmega328/168? the datasheet only lists 1 MHz @ 2 V, 4 MHz @ 3 V and 8 MHz @ 5 V... I'm interested in 1 MHz @ 5 V only (I need the 5 V I/O)
[13:28:17] <Tom_itx> alot depends on sleep modes
[13:29:02] <RikusW> exscape: 29.1 ATmega48A Typical Characteristics
[13:29:03] <RikusW> 29.1.1 Active Supply Current
[13:29:05] <exscape> ah yes, it might be active a fair bit. it needs to check a current reading and update a display, at least a few times a second, plus some averaging I guess
[13:29:09] <RikusW> there is some graphs
[13:29:40] <RikusW> 1MHz 5V would be 800uA
[13:29:58] <exscape> RikusW: ugh, lol. Thanks - I missed it since it wasn't in the same section as the tabular data
[13:30:35] <RikusW> :)
[13:31:02] <RikusW> for 328 it seems more lik 900uA
[13:32:32] <RikusW> those graphs will tell you more than what you wanted to know :-P
[13:34:59] <exscape> hmm, I might even be able to run the thing at 128 kHz when I'm done with development/debugging (I'll probably want the UART for that)
[13:35:47] <OndraSter> doesn't it have prescaler internal?
[13:36:04] <OndraSter> you could run it at higher frequency during doing something and then drop the frequency when not doing anything
[13:36:09] <RikusW> exscape: debug using a dragon ?
[13:36:36] <RikusW> OndraSter: the dragon on dW don't like that...
[13:36:38] <exscape> OndraSter: that might be an option too :) though performance per se is really irrelevant here
[13:36:49] <OndraSter> RikusW, ah, I haven't used dW yet
[13:36:58] <OndraSter> exscape, for UART that is
[13:37:06] <exscape> RikusW: I only have an AVR ISR mkII, and would prefer to stick with it atm
[13:37:19] <OndraSter> AVR ISP won't do dW for debug
[13:37:36] <exscape> yeah, I know
[13:39:34] * RikusW wonders why atmel don't add dW support to the mkii
[13:39:45] <RikusW> or even pdi debug
[13:39:49] <OndraSter> jtagice? yes :)
[13:39:51] <OndraSter> isp? no
[13:39:55] <OndraSter> isp = only for programming
[13:39:58] <OndraSter> that's why it is so cheap
[13:40:02] <RikusW> they should add it to the ISP mkii
[13:40:09] <RikusW> in theory its possible
[14:35:21] <ferdna> RikusW, so st1117 all the way?
[14:35:52] <OndraSter> it will be most likely much cheaper, yes
[14:37:40] <RikusW> and can handle 1A, well almost
[14:42:31] <ferdna> cool
[14:42:32] <ferdna> thanks
[15:22:57] <OndraSter_> oh noes
[15:23:22] <OndraSter_> I checked first our private wiki of our faculty - in class "embedded systems" I found atmega stuff
[15:23:28] <OndraSter_> then I opened official wiki of our faculty
[15:23:32] <OndraSter_> and there was some PIC crap :(
[15:25:38] <specing> lol
[15:26:30] <RikusW> PIC it out of there :-P
[15:26:45] <OndraSter_> I will write email to the lecturer
[15:27:22] <OndraSter_> and it is all C stuff
[15:27:29] <OndraSter_> on PIC24FJ256GB110
[15:27:35] <OndraSter_> and some dev board
[15:28:14] <OndraSter_> and MPLAB!
[15:28:37] <OndraSter_> http://clip2net.com/s/2tjKz
[15:28:37] <OndraSter_> this
[15:34:44] <OndraSter_> ZOMG the dev board uses PL2303 :P
[15:34:59] <OndraSter_> I don't think it can get any worse
[15:40:25] <RikusW> my GPS dev board uses CP2102
[15:41:22] <OndraSter_> child porn 2012?
[15:41:42] <landonf> hah. hah. we know what's on your mind.
[15:41:44] <landonf> http://www.silabs.com/products/interface/usbtouart/Pages/usb-to-uart-bridge.aspx
[15:41:57] <landonf> The official mac drivers are terriblah.
[16:06:08] <RikusW> heh SIMCom embedded app also uses u8 s8 u16 u32... :)
[16:10:27] <sabesto> ok, i got one of these: http://www.roboex.com/s19.html minus the monster of a control box. i bought 10 of these: http://www.pololu.com/catalog/product/1451 to build a new system
[16:11:20] <sabesto> its regular DC motors with encoders, so i might need PI(D) to hold the maximum 2kg load
[16:12:35] <sabesto> 6 axis with quad encoders + 6 PI loops, i'm afraid that will be too much for an 8-bit micro
[16:12:55] <OndraSter_> wow 10 of those
[16:13:02] <OndraSter_> $314.5
[16:13:14] <sabesto> i asked my uni to pay :)
[16:13:23] <OndraSter_> it is not enough for any AVR!
[16:13:38] <OndraSter_> remember, 1MHz ~= 1MIPS most of the time!
[16:15:05] <sabesto> i am afraid that if i run many axis at a time, the encoders would interrupt the code all the time
[16:15:49] <sabesto> i dont know yet how many pulses / sec in full speed
[16:16:50] <OndraSter_> http://fit.obraznadoraz.cz/index.html
[16:16:50] <OndraSter_> lol
[16:29:50] <OndraSter_> Vagner is one of the programming teachers: http://sphotos-a.ak.fbcdn.net/hphotos-ak-prn1/615351_479550092084691_321610958_o.jpg
[16:29:56] <OndraSter_> he is the author of that godawful code
[16:30:23] <OndraSter_> and progtest = the website where we put the code to the test
[19:19:20] <Mehhh> What is this channel for?
[19:21:06] <hackvana> People who use the AVR microprocessor from Atmel.
[19:25:44] <Devilholk> Any recommendations for USB lib that is easy to get started with on XMEGA AU?
[22:20:24] <Casper> rue_house: !
[22:24:47] <rue_house> ?
[22:25:00] <Casper> hi
[22:25:22] <rue_house> ;p
[22:25:25] <rue_house> lo
[22:25:26] <rue_house> lo
[22:25:27] <rue_house> hi
[22:25:36] <rue_house> its 9
[22:25:51] <Casper> I was wondering, do you think that taking an ATX psu, cut the hot side off, rewround the transfo, redo the primary... would be a good solution and efficient?
[22:25:59] <rue_house> 'cause there are 10 types of people, those who understand binary, and those that dont
[22:26:13] <rue_house> Casper, no
[22:26:16] <rue_house> tried it
[22:26:24] <rue_house> smoke, fire and badness
[22:26:35] <Casper> lol so you messed up somewhere then :D
[22:26:42] <rue_house> if you have a dc supply, dont bother with the eff losses of an isolated transformer
[22:27:07] <Casper> I need buck-boost, and I don't want to go smd and having a board made...
[22:27:24] <Casper> and forward/flyback are the 2 topology that work in this case...
[22:27:46] <Casper> else I need to make a boost then a buck, with the 2 inneficiency that come with it
[22:28:34] <rue_house> I'm asleep, can you ask me 3 hours ago tommorow?
[22:28:49] <Casper> I'll see if I can catch you back then
[22:29:10] * Casper was under the impression that you were awake more late than this...
[22:29:39] <rue_house> I'm having energy problems of late
[22:29:42] <Casper> ok
[22:29:57] <Casper> didn't got your daily dose of 240V?
[22:30:16] <Casper> or did you abused of some 440V? :)
[22:30:53] <rue_house> I worked on 50 problems, 1 of which I was let to come to conclusion on
[22:31:04] <rue_house> most of them innterrupted the other
[22:31:05] <rue_house> s
[22:31:09] <Casper> ok
[22:31:13] <rue_house> its exhausting
[22:31:54] <Casper> I have that virus at work, will be a pita to fix...
[22:32:22] <Casper> it's the kind that is in the registry, so cleaning it from another computer will lead to a non-booting windows
[22:32:26] <Casper> and it start at boot
[22:32:31] <Casper> and safemode has been disabled
[22:32:53] <rue_house> boot knoopix
[22:33:03] <rue_house> rename explorer.exe explode.exe
[22:33:21] <Casper> it's more complicated than that
[22:33:29] <Casper> explorer is fine
[22:33:37] <rue_house> hmm I used to take progman.exe and name it explorer.exe
[22:33:42] <Casper> it actually replace the .exe handler
[22:33:54] <Casper> and .com handler
[22:33:55] <rue_house> then you can boot the computer and install the antivirus
[22:33:57] <rue_house> and run it
[22:34:14] <Casper> so every time you launch an exe the virus get called
[22:34:21] <rue_house> explorer starts the virus tho, 99% of the time
[22:34:49] <rue_house> with most of them, if explorer dosn't start, the virus donsn't
[22:35:04] <Casper> so first step was to make a ghost, I'm worried that the virus start to kill the files (happened once)
[22:35:16] <Casper> next time is to see if I can race it
[22:36:19] <rue_house> picasos brush, andyone can hold it, only he is screwed up enough to paint what he did with it
[22:36:41] <rue_house> I think my success is from the brush still
[22:36:56] * rue_house is sad Casper dosn't want his brush
[22:37:54] <Casper> no, but I want a clip to hold the transistor to the heatsink on my ampli
[22:37:58] <Casper> they forgot to install one
[22:38:10] <Casper> I don't know how the ampli survived with it not there
[22:38:57] <rue_house> the autoscale on the boiler temp graph is working nicely
[22:41:54] <Casper> ẁhy do you say that isolated have an efficiency penality? is it alot?
[22:42:23] <rue_house> 10%
[22:42:36] <rue_house> depending
[22:43:02] <Casper> and why such penality?
[22:43:36] <rue_house> higher magnetic loss
[22:46:15] <Casper> and magnetic loss are that bad?
[22:46:43] <rue_house> maybe its part resistove too
[22:46:44] <rue_house> dunno
[22:47:00] <rue_house> I know its possable to get 98+% non-isolated
[22:47:19] <rue_house> and about 92% isolated
[22:49:06] <Casper> ok
[22:49:53] <Casper> hmmm I wonder how efficient a buck-boost (flyback / inverter) can be...
[22:50:12] <Casper> specially since they use high side switching