#avr | Logs for 2014-03-08

Back
[00:29:25] <hotch> Hey all, are there any great either AVR specific or hardware conferences annually?
[00:30:58] <Casper> probably, should ask atmel...
[00:36:04] <hotch> More like looking for a hardware hacking event not a corporate type deal but sure, thx.
[00:46:36] <Casper> I doubt there is more to hack on the avr
[00:46:54] <Casper> it's already old, so about everything has been talked about
[01:37:09] <megal0maniac_afk> I give up. Microsoft Chat is awful ^^
[02:34:54] <sirpatrick> I am trying to make a data structure that holds pin definitions and a string that represents them (as a command). Are the definitions (like PB5) of type uint8_t ?
[14:16:07] <naquad> is there some better avr chip comparator than at atmels site? i need some avr that has ~ same characteristics as 2313a, but with ADC
[14:16:51] <megal0maniac_afk> naquad: List what you need
[14:17:26] <naquad> megal0maniac_afk, basically the same what i've said: 2k flash, at least 256 ram, *ADC* and usart, 8 free pins minimum
[14:17:28] <naquad> thats it
[14:17:42] <naquad> timers and pwm are not used
[14:18:32] <naquad> the thing will just push data to PC via USART from a bunch of sensors (temperature, pressure, humidity and light level)
[14:18:56] <megal0maniac_afk> attiny441?
[14:19:04] <megal0maniac_afk> It has 2 UARTS
[14:19:23] <megal0maniac_afk> 12 ADC channels and it's a 14pin chip
[14:20:06] <naquad> megal0maniac_afk, awesome! thank you. now all i need is to figure out where to buy it
[14:21:26] <megal0maniac_afk> Warning: I don't think it comes in DIP
[14:21:51] <megal0maniac_afk> It's a new part, so stock may|may not be difficult to get hold of
[14:21:59] <naquad> yeah, i find it only in soic
[14:22:47] <naquad> a bit offtopic: is there some way to stuff SOIC stuff into solderless bread board? maybe some kind of slot/socket like SOIC->DIP?
[14:22:51] <naquad> i didn't find any yet :(
[14:23:26] <hjohnson> they exist, yeah
[14:23:57] <megal0maniac_afk> They're very expensive
[14:24:02] <megal0maniac_afk> (Usually)
[14:25:00] <megal0maniac_afk> That is of course the solderless sockets. You do get breakout boards which you solder the chip onto and they convert the pin spacing to DIP
[14:25:46] <megal0maniac_afk> Like http://i.imgur.com/T5qYIOhl.jpg or http://i.imgur.com/ldCzjOOl.png
[14:26:00] <naquad> i've seen such adapters, but soldering a PCB for each SOIC is definitely not a way to go
[14:26:24] <naquad> as a beginner i'm buyin some stuff to play almost every day and i see that finding DIP for newer things is hard
[14:26:39] <megal0maniac_afk> For prototyping it's the only way to go :)
[14:27:28] <megal0maniac_afk> naquad: http://www.ebay.com/sch/i.html?_nkw=soic+zif
[14:27:29] <naquad> i've been finding stuff for this: http://www.aliexpress.com/item/20PCS-LOT-SO-SSOP-SOIC-MSOP-TSSOP28-TSSOP20-turn-DIP28-1-27MM-0-65MM-turn-2/1569460899.html
[14:27:58] <naquad> awesome thing!
[14:28:07] <naquad> yup, thats exactly what i've meant
[14:28:46] <naquad> geez, http://www.aliexpress.com/wholesale?SearchText=soic+zif&catId=&initiative_id=SB_20140308120944
[14:45:13] <mdszy> Is a while(1) {} loop at the end of the main() function really the best way to keep everything running and waiting for something to happen?
[14:49:33] <antto> unless you have a better idea
[14:50:31] <mdszy> antto: I was just wondering if there *was* a better idea.
[14:50:40] <mdszy> Guess not, then.
[14:51:23] <antto> while (true) ;P~
[14:51:59] <mdszy> lol
[14:53:59] <antto> a goto might be faster perhaps
[14:54:40] <fiepfrog> faster doing nothing? XD
[14:54:45] <antto> but a compiler probably optimizes the while (true)/(1)
[14:55:24] <antto> fiepfrog no, i mean.. checking the condition against a constant ;P~
[15:28:06] <Xark> antto: It won't matter, but if you like use for(;;); :-)
[15:28:36] <Xark> antto: If you wanted to save power, you might "sleep" (and then interrupt will wake you).
[16:08:54] <Timmy> can V_in in an opamp be higher than provided VCC to it?
[16:11:18] <hjohnson> heh
[16:11:25] <hjohnson> writing blocking code for AVR just feels... wierd
[17:17:25] <hjohnson> heh, why is readline so stupidly complex compared to all the other serial stuff?
[17:24:19] <tzanger> terminal input is a hairy thing to do right
[17:24:37] <hjohnson> writing is comparatively easy
[17:24:46] <hjohnson> I don't really need to do terminal input so much as I need to read in ASCII data
[17:25:45] <hjohnson> tzanger: add the double-fun since i need to deal with two kinds of UARTs, with different interrupt mechanisms, am trying to do this with DMA where I can, and it's blocking (under FreeRTOS)...
[17:26:22] <hjohnson> so the 16550 can interrupt because a) the Trigger Level was hit, b) the special character was detected, or c) Timeout
[19:18:50] <hjohnson> hrmm.. so when looking at avr-size, what's stab and stabstr?
[19:28:42] <Lambda-Aurigae> .stab and .stabstr are non-loaded sections that
[19:28:42] <Lambda-Aurigae> carry debugging information.
[20:36:30] <vsync_> sup avr
[20:36:33] <vsync_> i love avr
[20:40:04] <Casper> yeah they are nice
[20:50:14] <vsync_> yeah
[20:50:17] <vsync_> so much fun