#avr | Logs for 2013-02-25

Back
[01:12:38] <OndraSter> TechIsCool, xmega series :)
[01:12:44] <OndraSter> pick on size and capacity you desire
[01:12:58] <OndraSter> even the smallest ones have got impressive feature set :P
[01:19:36] <TechIsCool> OndraSter: Yup after giving them all a good look I think I will just continue to use the atxmega32a4u's can't really beat the price
[01:24:21] <OndraSter> :)
[01:24:27] <OndraSter> :)ua
[01:24:30] <OndraSter> damnit
[01:24:35] <OndraSter> I am using 128a4u
[01:24:42] <OndraSter> bloody num lock
[01:24:53] <OndraSter> it is not that much more expensive in volumes
[01:25:04] <OndraSter> 256a3u for bigger chip
[01:25:08] <OndraSter> or 128a1u for even bigger :P
[01:25:20] <OndraSter> annnnd I am off
[01:25:38] <TechIsCool> OndraSter: Goodnight
[06:40:37] <creep> anybody used the tlc4545 yet ?
[06:41:13] <creep> datasheet says minimum vref is 4V ;/ i'd like to have 1.5V, or 2.5V will that work?
[07:21:42] <Tom_itx> not if the data sheet says 4v
[07:22:32] <r00t^home> depends on the definition of "work" and the implementation details of the chip ;)
[08:12:17] <creep> :)
[08:12:50] <creep> hm well i'd only get a few more bits precision
[08:13:57] <creep> but i did a calculation and i still get 0.02C precision that sounds all right
[08:15:32] <creep> 13107 steps/V and 1V is 270C to me
[08:28:38] <creep> it just bothers me i have to fine-tune its power supply to be the double of my 2.495V reference to be good
[08:28:58] <creep> while i can have 5-15V power supply input
[08:29:25] <creep> and fan1117 can go up to 12V only for example that i have ;<
[09:06:14] <creep> ok i have the solution
[09:06:19] <creep> like magic
[09:07:17] <creep> i don't really like matching resistors for voltage mirroring
[09:07:18] <r00t^home> magic!
[09:09:18] <creep> r00t^home<< lmv321 to the rescue ;)
[09:09:31] <creep> with RRO
[09:23:25] <creep> but i still need >5V input power
[09:23:32] <creep> ;/
[09:24:34] <creep> and 3.5V is too low for tlc4545 ...
[09:24:43] <creep> it says 4V min vref
[09:26:02] <creep> it is good the datasheet tells me if i can get away with at least 3.5V vref or not
[09:28:03] <creep> stupid adc ;< i can't make it precise and universal from 5-15V input
[09:57:06] <iSaleK> What changes in code should I make if I want to port TV-B-Gone from Tiny85 to Tiny2313 ?
[09:58:01] <r00t^home> whatever is needed to get it to compile? ;)
[10:00:30] <iSaleK> Just that? :)
[10:01:05] <iSaleK> Because I've looked at the code and it seems that registers are more or less the same so I guess it's doable but I'm not really sure how to do it :)
[10:07:04] <r00t^home> from my experience in porting stuff between different atmegaas, it's just that some bits are in different registers and/or have different names
[10:07:38] <r00t^home> just put the datasheets side-by-side together with the code and fix the errors until it compiles
[10:14:26] <iSaleK> Ok, thanks :)
[10:14:34] <iSaleK> I'll let you know how it goes :D
[10:29:09] <creep> ADS1210 ? :(
[10:29:51] <creep> looks like i will have a hard time coding this
[10:30:02] <creep> http://www.ti.com/lit/ds/symlink/ads1210.pdf
[10:30:42] <r00t^home> what are you building anyway?
[10:31:26] <creep> hooking up my ir oven to my computer
[10:32:16] <creep> i'd like to do some advanced heat profiling with software for cooking
[10:33:43] <r00t^home> what's the problem?
[10:33:43] <r00t^home> http://thomaspfeifer.net/backofen_smd_reflow.htm_8.jpg
[10:33:55] <r00t^home> (reflow oven heat sensor)
[10:36:35] <OndraSter> yeah, I am dropping my dedicated control + buttons + display for simply USB link
[10:36:37] <creep> hahaha
[10:36:41] <OndraSter> and to make the logic on PC
[10:36:44] <OndraSter> because I am lazy
[10:37:05] <creep> r00t^home<< well, i have platinum RTD for that
[10:37:09] <OndraSter> I have got here some long RJ11 crimped wires, perfect for serial stuff
[10:37:50] <creep> r00t^home<< is it good for the in4148 diode (or transistor) to get them at 270C anyway ?
[10:37:58] <r00t^home> i have 400m of spare cat5e, anybody need any?
[10:38:10] <OndraSter> I would take maybe 100m :)
[10:38:30] <r00t^home> creep: it's used in that project (not mine btw) speciafically beause it can take more heat than most normal sensors
[10:38:34] <creep> r00t^home<< have some RG178 ?
[10:38:54] <r00t^home> no, only cat5e
[10:39:54] <creep> so i have a few 2N2369 rated at 200C junction temperature, but i'm not really sure it would like it in the oven for extended periods of time ;/
[10:40:15] <OndraSter> shouldn't the oven go upto 210 - 250C?
[10:40:19] <creep> platinum RTS can take 500C without problem
[10:40:22] <creep> RTD
[10:40:40] <creep> yeah, well i will mostly use it between 180 and 240C
[10:41:47] <creep> they say 220C at most for IR reflow too, and i'm sure cookies would be crispy at 240C
[10:42:00] <OndraSter> lol
[10:42:25] <r00t^home> i don't think the normal operational parameters for a diode are relevant for such usage ;)
[10:42:45] <creep> but if i drive the platinum RTD at 1mA it sounds simple to just use 200% resistance as limit
[10:43:37] <creep> r00t^home<< in theory a transistor could take 300C, but the die attachments can have problems in real life :(
[10:43:50] <r00t^home> sure... i was just suggesting it because i love how simple/cheap it is... http://thomaspfeifer.net/laminator_temperatur_regelung.htm
[10:44:05] <creep> i like it too... but what if it fails on me? ;/
[10:44:06] <r00t^home> creep: 1n4148 come in glass casings usually
[10:44:17] <r00t^home> your cookies will get burned? ;)
[10:45:48] <creep> that introduces another problem, the difference in thermal expansions of different materials
[10:45:57] <creep> r00t^home<< yeah ;<
[10:46:26] <creep> but it can also burn up the whole thing
[10:46:34] <r00t^home> well, i still don't see the problem in connecting the oven regulation to a pc... i mean, no difference to a standalone regulator really
[10:46:35] <creep> unless i put some thermal fuse in it
[10:46:49] <r00t^home> such a device should ALWAYS have a thermal fuse...
[10:46:54] <creep> r00t^home<< heat profiling
[10:47:08] <r00t^home> so what?
[10:48:09] <creep> so it can set 30C for incubation, rampup, hold time, and then keepwarm, or rewarm functions
[10:48:46] <creep> also controlling air exchange rate, cooking cookies is a bit more complicated than reflowing a board
[10:50:18] <creep> r00t^home<< a fuser needs 190C, so a 2n2369 would be in specs :)
[10:50:37] <r00t^home> creep: he used the same circuit for his oven
[10:50:38] <creep> even normal cooking would be within specs since it is 180C
[10:50:40] <OndraSter> how the hell can they make it so cheap?!
[10:50:40] <OndraSter> http://www.ebay.com/itm/USB-2-0-to-RS232-Serial-9-Pin-9P-DB9-Adapter-Converter-/261155377045?pt=AU_CablesConnectors&hash=item3cce12cf95
[10:51:10] <r00t^home> OndraSter: the plastic smells horrible ;)
[10:51:23] <OndraSter> but $1.69...
[10:51:32] <r00t^home> OndraSter: also, SOME of those do NOT contain proper rs232 level converters
[10:51:41] <OndraSter> I do not care about rs232 levels
[10:51:45] <OndraSter> if there are one, I will rip it out
[10:51:47] <r00t^home> no
[10:51:47] <OndraSter> is one*
[10:51:49] <creep> r00t^home<< i see that is real hacking on that site :)
[10:51:56] <creep> haha
[10:52:00] <OndraSter> I want the cheapest usb serial adapter
[10:52:12] <OndraSter> regular 0/5V or 0/3v3
[10:52:15] <creep> maybe i should try that too, hooking up some transistor to my soldering iron and close the loop
[10:52:23] <r00t^home> OndraSter: i did just that... the problem is, if there is no converter, you can't rip it out... and levels of rs232 are inverse to ttl, you you would have to add an inverter
[10:52:35] <OndraSter> that's the least of my worries
[10:52:43] <OndraSter> isn't there pl2303 inside?
[10:52:49] <r00t^home> OndraSter: that is, the cheapo version uses an inverted ttl output instead of rs232
[10:53:15] <r00t^home> OndraSter: the chips are not labeled usually, plus it can't be a stock one with the inveteed output
[10:53:40] <OndraSter> oh
[10:53:40] <creep> r00t^home<< another question is how to "solder" stuff that are meant to be used above 300C
[10:53:40] <r00t^home> should i look up the listing/seller i bought mine from
[10:53:45] <OndraSter> well I found pl2303 for the same $$
[10:54:16] <r00t^home> OndraSter: also, the very cheap ones (with no rs232 levels) even have the chip bonded to the pcb under epoxy
[10:54:29] <OndraSter> oh
[10:54:40] <OndraSter> http://www.ebay.com/itm/USB-To-RS232-TTL-PL2303HX-Auto-Converter-Module-Converter-Adapter-5V-3-3V-Output-/350568364250?pt=LH_DefaultDomain_0&hash=item519f80b8da
[10:54:40] <OndraSter> then
[10:54:49] <OndraSter> although I vaguely remember I had one and I borrowed it to somebody :)
[10:55:39] <r00t^home> OndraSter: some stuff from the conversion(s) i did in this directory: http://www.constancy.org/~r00t/serial_hacked/CIMG8819.JPG
[10:55:52] <creep> r00t^home<< http://www.nxp.com/documents/data_sheet/1N4148_1N4448.pdf :) they are rated 200C in ds
[10:56:32] <r00t^home> level-shifter removed and bridged: http://www.constancy.org/~r00t/serial_hacked/CIMG0071.JPG
[10:57:15] <r00t^home> creep: again, that rating is for the normal electric properties... the page i linked has a graph of voltage vs. temperature up to 500deg
[10:58:08] <creep> i saw that, the guy must have graphed it
[10:58:15] <r00t^home> OndraSter: btw, all i've seen are 3.3v and 5-tolerant on inputs
[10:58:39] <creep> the diode functions like that, but who knows the die connection an degradation properties ?
[10:58:49] <OndraSter> I might use V-USB instead even, because I can't multiplex both UART and SPI on attiny anyway
[10:59:04] <r00t^home> well, if your cookies are that important, buy those platinum sensors instead...
[10:59:17] <creep> r00t^home<< how many working hours can you get out of that 4148 at 260C for example ?
[10:59:41] <creep> r00t^home<< i already have some btw, but i'm open to suggestions :)
[11:00:12] <r00t^home> OndraSter: btw. on the last one you linked, i see a note: "
[11:00:12] <r00t^home> You bought this item | View order details" ;)
[11:00:19] <OndraSter> heh
[11:00:20] <OndraSter> nice
[11:00:23] <OndraSter> how many you bought? :D
[11:00:38] <r00t^home> only one of the pl2303hx ttl module
[11:01:06] <r00t^home> i bought ten of the rs232/DB9 ones for modding... back when the ttl ones were more expensive
[11:01:56] <OndraSter> heh
[11:02:20] <r00t^home> i also have some ftdi ones... more expensive, but the chip has more features (bitbang mode, selectable input/output inverters, GPIOs)
[11:02:38] <OndraSter> I know what FTDI can do :P
[11:02:40] <r00t^home> more flexible bitrate selection
[11:02:57] <r00t^home> but for 90% of applictions the cheapo ones work fine ofcourse
[11:03:39] <jadew> that's a nice fand OndraSter
[11:03:56] <r00t^home> it's nice if they cost just 1$5... you can just leave them in projects, and it's cheaper AND easier than including the chip itself
[11:04:07] <jadew> wish they had ones with more serial ports, not just one
[11:04:08] <OndraSter> yep
[11:04:12] <r00t^home> jadew: just ebay for: usb ttl, sort by price+shipping
[11:04:26] <r00t^home> jadew: just add a hub for another 1$5 ;)
[11:05:05] <OndraSter> yep :D
[11:05:07] <OndraSter> but those hubs suck
[11:05:15] <OndraSter> they break down too much
[11:06:09] <jadew> OndraSter, you have some serial hubs?
[11:07:07] <OndraSter> I have got chinese usb hub
[11:07:12] <OndraSter> and not just one
[11:07:19] <jadew> ah, I have some of those too
[11:07:28] <jadew> but I wanted usb to multiple serial ports
[11:07:37] <OndraSter> hmm
[11:07:41] <OndraSter> USB CDC allows it
[11:07:46] <OndraSter> upto 3 serial ports per device
[11:07:53] <OndraSter> use an xmega :)
[11:08:31] <jadew> not a bad idea
[11:09:10] <OndraSter> even the smallest USB one has got plenty of serials
[11:09:17] <OndraSter> I am tempted to port V-USB onto xmega
[11:09:19] <OndraSter> for D series chips :)
[11:09:27] <OndraSter> they are dirt cheap
[11:09:38] <jadew> yeah
[11:09:42] <jadew> let me know if you do
[11:12:13] <OndraSter> hmm if I connected it all through event system, maybe I could push it to the full speed
[11:12:18] <OndraSter> rather just low speed
[11:12:27] <OndraSter> (no idea if I could connect it through events)
[11:15:07] <OndraSter> huh awesome, my semestral work is simple text based RPG game with character editor...
[11:15:12] <jadew> r00t^home, they're not cheapper than the mcp2200
[11:15:59] <jadew> you mean like: "You enter the dungeon and you find a sword. What do you do?"
[11:16:07] <jadew> > pick up sword
[11:16:09] <OndraSter> no idea at all
[11:16:13] <jadew> "The sword is stuck"
[11:16:29] <OndraSter> lol
[11:16:35] <OndraSter> > pull harder
[11:16:41] <OndraSter> "do not know what 'pull' means"
[11:16:57] <OndraSter> right now I am playing ProgressQuest
[11:17:24] <jadew> there was some hype a while about about some AI engine that was able to learn words and shit like that
[11:17:36] <jadew> it was used as a friendlier "FAQ" section for sites
[11:17:45] <jadew> you could use that
[11:18:23] <creep> r00t^home<< i think i will put a diode and a transistor in my oven next to the platinum RTD and we'll see what can they take
[11:18:58] <jadew> there she is: http://www.alicebot.org/
[11:19:10] <creep> though this may vary between manufacturers ;/
[11:19:37] <jadew> OndraSter: there's a link there "Chat with alice"
[11:20:23] <OndraSter> :D
[11:20:25] <creep> High-Temperature Electronics— http://www.grc.nasa.gov/WWW/SiC/publications/IEEEProceedings6-02.pdf
[11:20:31] <OndraSter> I would rather make a mutlithreaded FTP server
[11:20:34] <OndraSter> instead of this
[11:21:21] <creep> can't really locate a study on long term high temperature operation for si diodes/transistors
[11:21:34] <jadew> http://alicebot.org/kirkbot
[11:22:01] <OndraSter> Create engine for text RPG. Text RPG will load from a file definition for the world (map, location, events, chats, etc.) and gives you the option to create your character in an editor. Engine should support inventory and items, attributes, dialogs, quests and fights. Engine allows the display of a 2D map. Map is made of cubes (similar to squared paper). Engine also allows to define in a file monsters with which the player fights
[11:22:12] <OndraSter> hmm engine
[11:22:15] <OndraSter> not the game? :D
[11:26:57] <jadew> you can add lolcats references
[11:27:02] <jadew> http://1.bp.blogspot.com/-YSBK-lnPKjc/TfD_hQodYWI/AAAAAAAAHfU/75pKAvrVO_Y/s1600/Do%2BNot%2BLook%2BBehind%2BYou%2B-%2BSeriously_.jpg
[11:32:37] <OndraSter> lol
[11:32:45] <OndraSter> I haven't heard about lolcats since...
[11:32:46] <OndraSter> duh
[11:32:52] <OndraSter> in a long time
[11:33:50] <jadew> they tell the truth
[12:53:55] <r00t^home> <jadew> r00t^home, they're not cheapper than the mcp2200 <--- ?
[12:54:14] <jadew> the $1.5 usb to serial modules
[12:55:33] <OndraSter> with USB connector
[12:55:34] <OndraSter> PCB
[12:55:40] <OndraSter> all the caps and resistors
[12:55:41] <OndraSter> etc?
[12:56:53] <jadew> well, you'll just put it in your project's pcb
[12:57:03] <OndraSter> for home 1offs...
[12:57:19] <jadew> yeah, I use them all the time
[12:59:53] <OndraSter> how long can I use regular phone cable to transmit tx+rx uart + 5V at few mA?
[12:59:58] <OndraSter> with rj11s
[13:00:04] <OndraSter> I was hoping for 5m :)
[13:00:19] <OndraSter> 9600Bps is fine, 50mA too
[13:00:38] <r00t^home> OndraSter: rs485 transceivers are 30ct and will do hundreds of meters
[13:00:54] <OndraSter> I don't care for rs485
[13:00:57] <r00t^home> (plus i have enough cat5 ;) )
[13:01:30] <r00t^home> for 9600 pretty much anything should do, no?
[13:02:05] <OndraSter> I suppose so
[13:02:11] <RikusW> why not use 1200 ? ;)
[13:02:16] <OndraSter> why not zoidberg? :P
[13:02:24] <OndraSter> if 9600 won't work, I will use 1200
[13:02:42] <RikusW> or 4800
[13:02:53] <OndraSter> or 2400
[13:03:02] <r00t^home> or 600... or 300... or just plain 0
[13:03:41] <RikusW> 0 will work even without wires :-P
[13:09:47] <OndraSter> I need at least... 4? times a second report 4 bytes...
[13:09:52] <OndraSter> and possibly send a byte or two back
[13:09:53] <OndraSter> per second
[13:10:13] <OndraSter> 9600BPS should be enough :P
[13:11:44] <OndraSter> 5 pins on attiny are just enough for me :)
[13:17:18] <OndraSter> omg attiny13 nor 85 don't have UART :(
[13:17:34] <r00t^home> OndraSter: you can always set RSTDISBL
[13:17:45] <r00t^home> no 8-pin avr has an uart
[13:17:45] <OndraSter> yes
[13:17:48] <OndraSter> but 5 GPIOs is enough for me
[13:17:48] <r00t^home> kinda annoying
[13:17:49] <OndraSter> damn
[13:17:52] <OndraSter> a lot
[13:17:56] <r00t^home> wonder why
[13:17:58] <OndraSter> I don't want to use bigger chip
[13:18:30] <OndraSter> oh well
[13:18:47] <OndraSter> atmel has got appnote for USI UART
[13:19:58] <RikusW> just put in an xmega :-D
[13:20:11] <OndraSter> heh
[13:20:16] <r00t^home> just put in an athlon64
[13:20:20] <OndraSter> I originally wanted to put in xmega32d4
[13:20:34] <OndraSter> but I moved from 7segment display + whatever to serial communication on PC
[13:20:37] <OndraSter> and let the control app run on the PC
[13:20:51] <OndraSter> (or server, less prone to random reboots due to random apps being updated/installed)
[13:20:54] <OndraSter> heh
[13:20:58] <OndraSter> I have got here one athlon64
[13:20:59] <OndraSter> 3000+
[13:21:03] <OndraSter> no idea if it works or not
[13:21:21] <r00t^home> put it on your breadboard and find out
[13:21:27] <OndraSter> :P
[13:21:37] <OndraSter> I wanted to shove 386 or 486 on a breadboard
[13:22:11] <r00t^home> 286, available in DIP
[13:22:26] <r00t^home> (iirc)
[13:22:53] <RikusW> I might have 286 DIP here
[13:24:25] <OndraSter> wow
[13:24:29] <OndraSter> never seen those
[13:24:35] <OndraSter> only 8086
[13:24:41] <r00t^home> jadew: why is the mcp2200 your usb-uart bridge of choice?
[13:25:05] <OndraSter> $$
[13:25:46] <r00t^home> is it cheaper than those unlabeled chinese prolifics? ;)
[13:25:55] <OndraSter> :D
[13:40:47] <jadew> r00t^home, because it's cheap and it's actually a PIC
[13:41:04] <jadew> that made it possible to set a fixed baudrate
[13:41:33] <jadew> (which is what you want when it's part of a device and not part of an addapter)
[13:50:24] <tzanger> FT2232 for me
[14:01:47] <OndraSter> yay I am level 11 already!
[14:01:51] <OndraSter> (ProgressQuest)
[14:06:34] <r00t^home> jadew: the fixed rate is neat indeed
[14:06:52] <r00t^home> jadew: would be a feature i'd expect in an ftdi too... no idea if it has it
[14:08:08] <jadew> r00t^home, I think the FTDI has it, I'm not 100% sure tho
[14:08:32] <jadew> the mcp did not tho, not in its default state
[14:41:00] <creep> somebody bored can clean this up for me ? http://www.ti.com/lit/ds/symlink/ads1210.pdf page 19 - it says : The INSR is an 8-bit register which commands the serial interface either to read or to write “n” bytes beginning at the specified register location ... - what is the logic in this ? i give register command address 0 (LSB) 0 1 1 1 and set 4 bytes, then i can read 4 bytes ?
[14:41:31] <creep> i am unsure even who wrote this knows ;/
[14:45:00] <wakko> is it possible to profile interrupts with jtag and atmel studio 6 ?
[14:47:31] <LoRez> creep: that doesn't seem to be an avr chip
[14:47:48] <creep> no it is an adc chip
[14:48:36] <creep> normally i sgould find it straight-forward to read the value from it
[15:21:01] <abcminiuser> "You wouldn't hit a guy with glasses would you?"
[15:21:03] <abcminiuser> "You hit a guy, WITH glasses. Well played."
[15:23:21] <creep> if it breaks the glass can cut your hand, though they sed to be plastic
[15:23:28] <creep> *used
[15:26:28] <Casper> plastic is used more and more, because they are lighter, thinner and most importantly they are easier to scratch
[15:26:49] <abcminiuser> So anyone grabbed the AS6.1 beta yet?
[15:26:53] <creep> they used to add some hardcoating
[15:27:43] <creep> though it still scratches and it is not possible to polish, micro scratches can be seen using an 1w led torch
[15:28:24] <megal0maniac> abcminiuser: I might. Do I want to..?
[15:29:09] <abcminiuser> megal0maniac, it means you can use this: http://gallery.atmel.com/Products/Details/d9b2f208-0721-4ce1-838d-8029c2a0259b
[15:29:19] <abcminiuser> Also, it fixes a metric crapload of bugs
[15:30:25] <Malinuss> abcminiuser, any drawbacks in the beta?
[15:30:29] <megal0maniac> Ooh! What changes did they integrate that allowed you to add that?
[15:30:54] <abcminiuser> That would be telling :P
[15:30:59] <abcminiuser> Actually, it's the new XDK
[15:31:11] <megal0maniac> abcminiuser: I'm a sucker for LUFA
[15:31:20] <megal0maniac> Will have to check it out
[15:31:36] <abcminiuser> Obstensively it's so you can package up your application as an extension for others, but I manually package it so I can make it just like ASF
[15:31:48] <abcminiuser> Even uses the same module wizard and example wizards
[15:37:59] <Malinuss> abcminiuser, so it would be pretty easy to set up one of the easy examples? Like the COM simulation on one of the chips with usb peripheral?
[15:38:17] <abcminiuser> New Example->LUFA->Virtual Serial Port
[15:38:29] <abcminiuser> Then change your device, set your F_CPU in the project options
[15:38:37] <megal0maniac> Sounds neat :) Downloading now
[15:41:57] <Malinuss> abcminiuser, and that's it? I've gotta try it out ;D
[15:42:28] <abcminiuser> The board options are all module selections, so if you pick a known board all you need to do is set the correct device first
[15:42:34] <megal0maniac> Atmel does need to change their download process though.. The fact that you get a clean link to the file kinda defeats the object of email validation :/
[15:42:35] <abcminiuser> Otherwise you need to tweak F_CPU
[15:45:12] <megal0maniac> OndraSter_: Make your boards LUFA compatible :)
[15:50:36] <OndraSter_> megal0maniac_afk, they are not?
[15:50:51] <OndraSter_> :P
[15:50:52] <abcminiuser> Which boards?
[15:50:54] <OndraSter_> LUFA requires 0 external hardware
[15:50:55] <OndraSter_> mine
[15:51:02] <abcminiuser> ...
[15:51:03] <OndraSter_> well, USB connector of course
[15:51:06] <OndraSter_> http://myxboard.net
[15:51:12] <OndraSter_> pictures are way off
[15:51:39] <abcminiuser> Ah, XMEGA
[15:51:53] <OndraSter_> yes
[15:52:06] <OndraSter_> how about V-USB for xmega D series? :)
[15:52:08] <tzanger> creep: looks like it's used to initialize the device more quickly
[15:54:13] <OndraSter_> abcminiuser, http://clip2net.com/s/2Sro7
[15:54:21] <OndraSter_> arduino sized board :)
[15:54:35] <Malinuss> abcminiuser, if I want a *minimal* usb device, just to be abel to display some short strings, and int's, on a avr with usb peripheral. Isn't lufa the easiest way to go? using the "virtual serial port", as you sugested? Or is there a even simpler way to accomplish that?
[15:54:41] <abcminiuser> 'tis a spicy meatball
[15:54:57] <abcminiuser> Malinuss, FTDI? :P
[15:55:25] <tzanger> OndraSter_: "many more peripherals" not much more
[15:56:19] <Malinuss> abcminiuser, so you think using ftdi would be easier then simply using the "virtual serial port" example?
[15:56:23] <Malinuss> from lufa that is
[15:57:07] <abcminiuser> Black box is always easiest
[15:57:22] <abcminiuser> But cheapest would probably be a USB AVR8 with LUFA
[15:58:00] <Tom_itx> lufa works on xmega now?
[15:59:07] <abcminiuser> Tom_itx, ish
[15:59:16] <abcminiuser> It's not optimized by any means, but functional
[15:59:40] <Malinuss> abcminiuser, no but I mean. I already have a avr with usb peripheral on it. Just wondering how I would archieve a simple "debug window" easiest...
[16:00:38] <abcminiuser> Well LUFA will get you there
[16:00:53] <abcminiuser> But it's not quite "add this source file" due to the complexity of USB
[16:01:04] <abcminiuser> Start with the Virtual Serial demo and add your code is easiest
[16:01:34] <ferdna> does anyone knows if i can replace a backlight lamp with a led one on a laptop LCD screen?
[16:02:52] <Malinuss> abcminiuser, yeah I noticed that, usb is a bitch ;P... thanks I'll try with the virtual serial demo..
[16:03:44] <creep> tzanger<< i was thinking about reading all 24 bits of adc information at once...
[16:04:27] <creep> but i assume i give the parameters 24 bit reading, and then give address of byte 0 then maybe it will read 3 bytes then
[16:04:59] <abcminiuser> Well I'm off to bed
[16:05:04] <Malinuss> creep, you have a 24 bit adc?
[16:05:12] <creep> yes
[16:05:16] <tzanger> creep: yes that is what I think as well; you say "address 0 3 bytes nad read it in
[16:05:49] <creep> but it may also be MSB address, or i don't know, maybe it can only write multiple bytes
[16:06:11] <creep> but this address thing still remains unclear
[16:06:27] <creep> the codes are not even in order
[16:06:57] <creep> (A0-A3) table
[16:07:30] <creep> ot they are in gray code just i don't see it at first
[16:08:17] <tzanger> no it's not gray code
[16:08:27] <tzanger> it's in order
[16:08:35] <tzanger> there is no register 0011
[16:09:40] <creep> i see, so you think it will work from msb to lsb ?
[16:10:09] <creep> Malinuss<< actually i have 5 of them
[16:10:18] <creep> now i would like to use one
[16:10:48] <creep> it is currently being pre-baked
[16:11:53] <tzanger> creep: yeah I think it would work
[16:13:40] <creep> ok i don't get it
[16:13:55] <tzanger> would you just issue INSR start at 0 for 3 bytes?
[16:14:02] <creep> ti did a well job documenting its own creation again
[16:14:41] <tzanger> send 0xc0, read 3 bytes?
[16:14:43] <creep> yes
[16:14:55] <creep> question is where is start, and where it goes :)
[16:15:36] <creep> i still have to find if data comes from LSB to MSB or reverse
[16:15:44] <creep> it is well hidden in the pdf
[16:15:59] <tzanger> it looks like it would send you addr0, then 1, then 2
[16:16:09] <creep> i'll try that first
[16:16:10] <tzanger> or do you mean bits not bytes
[16:16:19] <creep> and assume the LSB comes first
[16:16:42] <tzanger> no, it's MSB first
[16:16:54] <tzanger> figure 17 on page 24
[16:16:58] <creep> ;/
[16:17:43] <creep> ok so my start address may be the MSB address
[16:17:58] <tzanger> it has to be, the INSR instruction doesn't count backward
[16:18:29] <creep> so the TABLE IX. A3-A0 Addressing. is in reverse to make me confused at page 19
[16:18:50] <tzanger> —These four bits select the beginning register location which will be read from or written to,
[16:18:53] <tzanger> as shown in Table IX. Each subsequent byte will be read
[16:18:55] <tzanger> from or written to the next higher location
[16:19:05] <tzanger> what is reversed?
[16:19:21] <creep> hm, thanks, will try that
[16:19:22] <tzanger> the order? (byte 2/MSB) yeah, they had to pick something though
[16:19:46] <OndraSter_> <tzanger> OndraSter_: "many more peripherals" not much more
[16:20:11] <OndraSter_> many more yes
[16:20:11] <tzanger> addr0 = byte2/MSB, addr1 = byte1, addr2=byte0/LSB I see that now, they should not have named them that way IMO
[16:20:11] <OndraSter_> much better ADC, more timers, DAC, better USB, DMA, EvSys
[16:20:17] <OndraSter_> HiRes
[16:20:27] <tzanger> HI DEF MUDDAFUCKA
[16:20:29] <OndraSter_> PLL
[16:20:41] <OndraSter_> AWeX
[16:20:50] <creep> delta-sigma
[16:21:07] <OndraSter_> no, stil SAR
[16:21:09] <OndraSter_> but faster
[16:21:16] <OndraSter_> and 12bit
[16:21:24] <creep> this is 24 bit ;<
[16:21:25] <tzanger> that 24 bit ADC is no speed demon that's for sure
[16:21:30] <OndraSter_> oh you mean yours
[16:21:31] <OndraSter_> yes
[16:21:32] <creep> haha yes
[16:21:48] <tzanger> mind you I'd be really surprised to see you get all 24 bits of useful data out of it
[16:21:51] <creep> but it could be used to graph lithium cells for example
[16:21:52] <tzanger> what's your vref?
[16:22:05] <OndraSter_> TI does... 31? 32?bit ADCs
[16:22:06] <creep> i will use 2.495V
[16:22:40] <tzanger> 2.5V? wow. that's like 150nV/count
[16:22:44] <creep> tzanger<< ok, if it does 16 then it'll be way cool
[16:22:54] <creep> actually it has PGA
[16:23:06] <creep> you can multiply by 16 in hardware
[16:23:15] <tzanger> I try to never *amplify* signals into an ADC
[16:23:37] <creep> this is built in, you could make autogain a scale
[16:23:52] <tzanger> even x16... that's still 2.4uV/count
[16:24:00] <tzanger> that's really, really hard to achieve
[16:24:32] <tzanger> you could probably short the input and get 1000 counts of noise :-)
[16:24:44] <creep> this is why it has fully differential inputs, separate ground for analog and digital and separate VCC for analog and digital
[16:25:07] <tzanger> I know, even with all that it's going to be very, very hard to get 24b out of it
[16:25:27] <creep> they say they can get 20.5-23 bits out of it
[16:25:36] <tzanger> it looks like it'd be a fun thing to play with though -- what's your application?
[16:26:03] <creep> currently i will control a little IR oven with a PC to cook cookies and such
[16:26:25] <tzanger> those will be the most accurately baked cookies EVAR
[16:26:38] <creep> this is way more accurate than needed for the platinum RTD temperature sensing
[16:26:39] <tzanger> gooey chocolate chips of perfection :-)
[16:26:46] <creep> yeah
[16:26:48] <creep> ^^
[16:27:18] <creep> the process will be very repeatable
[16:27:47] <tzanger> you'd be able to cool the oven down to exactly the precise optimum consumption level... "... wait... wait.... NOW STUFF IT IN YOUR MOUTH AND DON'T THINK ABOUT IT"
[16:27:50] <tzanger> hm
[16:27:57] <tzanger> that phrase could be applied in other areas
[16:29:35] <creep> compared to the 1-2-3-4 setting on the gas oven with varying gas heating energy, airflow, and the random manual cooking time measurement errors ;/
[16:31:04] <creep> and not talking about the possible incubation process at around 30C if using yeast, and the keep warm, or rewarm function after it is done :)
[16:32:39] <creep> i think i could put a laser gate in it to measure if the loaf grows high enough and skip to baking phase
[16:33:38] <creep> it is not fun having the stuff outgrow the pans
[16:34:29] <tzanger> heh
[16:34:34] <tzanger> damn, now I want fresh bread
[16:34:43] <creep> :)
[16:35:20] <creep> i'm hacking a 9l toaster oven, i had to relocate the lower ir lamp up next to the other
[16:35:49] <creep> so now a loaf or a few kiflis would fit in
[16:37:03] <creep> the air exchange is still in process, it needs a little amount to let the humid air escape
[16:37:41] <creep> a few holes at bottom and top would probably do, but i want to control that
[16:39:46] <creep> tzanger<< remember to use cane sugar ;)
[16:39:56] <tzanger> my toaster ovens use heating elements, not IR
[16:40:19] <tzanger> a servo controlling a grate would work well
[16:40:30] <creep> that works too, but i think IR will enhance the performance and quality
[16:40:31] <tzanger> just moving a slotted piece of metal in front of another one
[16:41:00] <creep> IR penetrates the cookie and heats the inside too :)
[16:41:20] <creep> maybe the 45 min will become 15 min
[16:42:31] <creep> though the yeast incubation will be still 1-2 hours
[16:42:50] <creep> but optimal temperature speeds this up ;)
[16:43:55] <creep> an 1n4148 or 2n2369 temperature sensor would probably work fine up to 200C
[16:44:05] <creep> as pointed out by r00t^home
[16:44:41] <tzanger> yeah, but how hot are you baking? 450F is 232
[16:45:08] <creep> i think i will mostly need temperatures about 180C
[16:45:34] <creep> 220-240C at most, that would make things crispy
[16:46:21] <creep> so an si junction voltage at 100uA-1mA will have a tempco of 1.8-2.2mV/C
[16:46:30] <creep> (-)
[16:47:02] <creep> and definitely cheaper than a platinum RTD
[16:47:48] <creep> but since i already have some, and i want to try it above 200C i should use them
[16:49:11] <wakko> https://www.sparkfun.com/products/81?
[16:49:36] <wakko> http://blog.makerbar.com/?p=490
[16:50:41] <creep> hmm, i use a 25A SSR btw and platinum RTD
[16:53:41] <creep> fast switching, no noise, reliable
[16:54:29] <tzanger> I think you're maybe overdoing it but there's no harm in that
[16:55:17] <creep> many years of stable operation is worth $3 i think
[16:57:24] <creep> tzanger<< oh yea, you can get ir heater lamps from IR heater lamps :) http://www.heat-outdoors.co.uk/shop/tansun/tansun-sorrento-ip24-2-0kw-infrared-636014.htmlhttp://www.heat-outdoors.co.uk/shop/tansun/tansun-sorrento-ip24-2-0kw-infrared-636014.html
[16:58:25] <creep> (not the halogen type)
[18:10:47] <r00t^home> creep: i still say they work up to >>200deg
[19:18:03] <iSaleK> Can anyone give me the schematic of high voltage programmer that can be used via serial port or in combination with usbasp... Every HVP I find is for parallel port...
[19:19:54] <r00t^home> iSaleK: you need only the schematic, not the firmware, eh?
[19:20:16] <iSaleK> Well I need firmware too...
[19:20:17] <Horologium> most of your serial port HV programmers use a preprogrammed AVR in them.
[19:20:49] <iSaleK> Is there any that uses Tiny2313? That's the only chip I have available right now :D
[19:20:53] <Tom_itx> save yourself some grief and get a dragon
[19:20:55] <r00t^home> buy an avr dragon, it can do hvp...?
[19:21:00] <r00t^home> Tom_itx: damn you
[19:22:42] <iSaleK> Can I use this design to reset fuses on ATmega8 too? -> http://www.instructables.com/files/orig/FQE/D7D2/G51GAIV9/FQED7D2G51GAIV9.png
[19:23:36] <r00t^home> i think there's serial vs. parallel hv programming, and not all chips support both...?
[19:24:14] <Horologium> atmega8 needs HVPP
[19:24:16] <Horologium> not HVSP
[19:24:24] <Horologium> that being High Voltage Parallel Programming
[19:24:37] <r00t^home> so i was right :P
[19:25:26] <Horologium> which is going to require a chip to do the programming if you don't use a parallel port.
[19:25:46] <r00t^home> he has a 2313
[19:25:50] <Horologium> http://mdiy.pl/atmega-fusebit-doctor-hvpp/?lang=en
[19:26:04] <Horologium> would require modding an existing setup to run on the 2313.
[19:29:58] <Horologium> all the ones I can find use an atmega8
[19:30:02] <Horologium> or a parallel port.
[19:38:34] <iSaleK> Horologium: Would this code be able to run on 2313 or do I need to buy ATmega8 for this one? :\
[19:38:57] <Horologium> the code I'm seeing won't fit on a 2313.
[19:39:08] <Horologium> http://mdiy.pl/atmega-fusebit-doctor-hvpp/?lang=en
[19:39:14] <Horologium> that's just a fusebit doctor.
[19:39:22] <Horologium> not really a programmer, just a fuse resetter.
[19:39:29] <Horologium> but still requires minimum of an atmega8
[19:39:42] <iSaleK> Horologium: I have the programmer, I just need to reset the fuses :)
[19:39:49] <iSaleK> Ok, so I need ATmega then :\
[19:40:56] <iSaleK> Horologium: How about this version -> http://www.instructables.com/id/AVR-Attiny-fusebit-doctor-HVSP/ ?
[19:41:12] <iSaleK> Can It be modded to reset ATmega8 fuses?
[19:43:00] <Horologium> only resets attiny chips that use HV serial programming
[19:43:09] <Horologium> atmega8 requires HV parallel programming
[19:43:45] <Horologium> in other words, it only works with attiny chips that have HVSP.
[19:51:30] <Horologium> iSaleK, why do you need high voltage programming?
[19:51:34] <Horologium> what did you set wrong?
[19:51:48] <iSaleK> Horologium: I've locked my ATmega8 :)
[19:52:57] <Horologium> locked how?
[19:53:01] <Horologium> what did you set wrong?
[19:53:14] <Horologium> there might be a way around what you did.
[19:53:26] <Horologium> IF you know what you did to lock it up.
[19:53:33] <iSaleK> I can't really recall. I think I set the fuses wrong so I can't (re)programm it again...
[19:53:48] <iSaleK> I know it's fuses issue but not sure what did I set them to...
[19:55:04] <Horologium> well, without knowing what fuses you set to what then you are going to need a high voltage parallel programmer...either an avrdragon or one of many others out there including that atmega fusebit doctor
[19:55:55] <Horologium> if you set the clock fuses wrong it might be possible to fix it just by feeding a 1MHz square wave to the chip's clock input.
[19:56:21] <Horologium> http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=63159
[19:56:32] <iSaleK> Horologium: I think I've already tried it with 1MHz squarewave and it didn't work
[19:59:09] <Horologium> then time to build an HVPP or or buy one.
[19:59:40] <iSaleK> I guess I will build this Fusebit Doctor when I get ATmega8
[20:14:19] <rue_house> http://www.youtube.com/watch?v=B9p9-3T_TnI <-- program written in BF running on avr :)
[20:28:03] <Casper> in brain fart?
[21:31:36] <theBear> brainfuck, i believe is the technical term
[21:34:09] <creep> h
[21:34:40] <creep> r00t^home<< do you think they only say 200C because of the increased leakage current ?
[22:22:43] <Valen> why is finding leakage current specs on ceramic caps so hard?
[22:25:25] <creep> because you are searching at wrong place
[22:26:13] <Valen> manufacturers datasheet it seems is the wrong place
[22:26:21] <Valen> need to look up the dilectric and guess
[22:26:48] <creep> try x7r
[22:27:53] <Valen> 's what i am looking at now
[22:28:00] <Valen> 10K meg ohms it seems
[22:28:03] <Valen> which is a rather odd unit
[22:28:38] <creep> 10Gohm?
[22:28:49] <creep> also note any contamination will conduct
[22:28:58] <Valen> would make more sense for a unit of measur
[22:28:59] <Valen> e
[22:29:16] <creep> larger have more leakage ;<
[22:29:17] <Valen> I'm just trying to ensure having the cap across a lipo cell isn't going to suck it dry over a few months
[22:29:25] <creep> hahaha no
[22:29:49] <creep> but if it fails then it will short it out
[22:29:54] <Valen> eh
[22:30:08] <creep> it is hard to kill them, but possible
[22:30:14] <Valen> 10uf cap, I'll look at some kind of fuse, but on an 80ma lipo cell i don't think it'll do much
[22:30:24] <creep> over voltage, heavy over curent, or mechanical stress
[22:30:25] <Valen> using a 10v cap on a single lipo cell
[22:30:31] <Valen> in a torch ;->
[22:30:42] <Valen> with 40ma of draw ;->
[22:31:20] <creep> if it is a 3-10W led then ripple current must be considered
[22:32:13] <Valen> 40ma at 6 volts or so
[22:32:25] <Valen> 2mhz boost converter so ripple should be fairly low
[22:32:29] <creep> that will ignite your lipo
[22:32:57] <creep> max voltage is about 4.25V that it can widthstand
[22:33:17] <Valen> its a boost converter
[22:33:30] <Valen> lipo is safe, voltage is boosted to run 2 LED's in series
[22:33:45] <creep> i see
[22:33:46] <creep> compromise ? :)
[22:33:57] <creep> because 1 led would need a buck-boost
[22:34:02] <Valen> I specifically went with 2 to avoid that
[22:34:09] <Valen> its just messy crap lol
[22:34:24] <Valen> and this way we can put a wide angle and a tight spot in the one keyfob torch
[22:34:56] <Valen> I do want to get some stupid powerful batteries and put a SST-90 on a keyfob
[22:35:14] <Valen> (30W LED)
[22:36:31] <creep> that is fine because they are 10-28V ;>
[22:36:48] <Valen> no, its like 3v
[22:36:50] <Valen> single chip LED
[22:36:57] <creep> 30W ?
[22:36:58] <creep> ;/
[22:37:02] <Valen> yup!
[22:37:02] <creep> where ?
[22:37:09] <Valen> http://www.luminus.com/products/SST-90.html
[22:37:10] <creep> haven't seen any yet
[22:37:16] <Valen> its pretty old
[22:37:36] <Valen> I want to charge it from usb, but charging a pair of lipos from usb seems to be complex
[22:39:34] <Valen> mainly the balancing circuit is one i haven't conquered yet
[22:41:40] <creep> wow is it a single led chip?
[22:41:48] <Valen> yes