#avr | Logs for 2013-02-08

Back
[00:08:59] <TechIsCool> OndraSter: Take a look at my 62.5 pF Capacitor. It worked http://techiscool.com/Pictures/Forum_Images/PCB%20Design/Cap.jpg
[00:24:21] <dioxide> lol
[00:24:32] <dioxide> whatd you make that from
[00:37:24] <colinklein> any suggestions on what platform/architecture to use for controlling a gfx heavy gui? arm? avr32?
[01:30:32] <OndraSter> <TechIsCool> Woot
[01:30:32] <OndraSter> <TechIsCool> OndraSter: You Are AWESOME
[01:30:35] <OndraSter> they all they that :P
[01:30:55] <OndraSter> love yours 62.5pF lol
[01:36:36] <inflex> pfft... the tracks in those protoboards are about 50pF between them any how.
[04:06:06] <stefanct> hm... i am trying to update lufa in an old project, but the inclusion of the lufa makefile creates a lot of problems apparently
[04:07:21] <evil_dan2wik> Whats the recommended capacitor ratings for a 32MHz crystal?
[04:09:54] <jacekowski> check the datasheeet
[04:15:47] <evil_dan2wik> jacekowski, what datasheet?
[04:19:46] <jacekowski> your uC datasheet
[04:19:48] <jacekowski> it's in there
[04:26:39] <evil_dan2wik> jacekowski, no its not
[04:26:39] <evil_dan2wik> jacekowski, the clock speed range goes to 20MHz
[04:26:39] <evil_dan2wik> But the crystal is running at 8MHz
[04:57:46] <jacekowski> evil_dan2wik: what uC are you using
[04:58:01] <evil_dan2wik> atmega1284P-PU
[04:58:34] <evil_dan2wik> It says 12-22 pf for all crystals except the lowest one
[04:58:43] <jacekowski> table 7-3 in the datahseet
[04:58:46] <jacekowski> http://www.atmel.com/Images/doc8059.pdf
[04:58:56] <jacekowski> 12-22 pF for all frequency ranges
[04:59:16] <jacekowski> or table 7-5
[05:01:00] <evil_dan2wik> HC-49SB
[05:01:32] <jacekowski> yeah
[05:02:17] <jacekowski> it ways 6pF to 50pF there
[05:02:20] <jacekowski> says*
[05:03:43] <evil_dan2wik> if i use 2x 22pf caps in parrallel for both legs, will it be more stable?
[05:04:09] <jacekowski> you said 32MHz?
[05:04:56] <jacekowski> AVR will not drive overtone crystals correctly
[05:05:12] <jacekowski> so it won't be stable regardless of the capacitance
[05:05:25] <jacekowski> and overclocking AVR to 32MHz is bad idea
[05:06:02] <evil_dan2wik> jacekowski, it doesnt care
[05:06:54] <jacekowski> nope
[05:07:41] <jacekowski> you need different circuit to drive overtone crystal
[05:07:44] <evil_dan2wik> Ok, i inserted an extra 2 caps and the chip's power usage just jumped up
[05:07:48] <jacekowski> otherwise it will run at fundamental
[05:08:26] <jacekowski> http://www.atmel.com/Images/doc397c496b2072e.pdf
[08:03:40] <iSaleK> When connecting 74HC595 to Tiny2313, do I have to connect Serial data IN pin to MOSI, SRCLK to SCK and etc or can I chose whatever pins I want? And what do you suggest?
[08:07:27] <OndraSter> that depends on whether you want to use hardware SPI
[08:07:32] <OndraSter> which is there probably by USI
[08:09:06] <iSaleK> Well I've never used the hardware SPI on AVR, what are the advantages over the software implementation?
[08:09:14] <OndraSter> it is all automatic
[08:09:20] <OndraSter> you just shove data into register and it sends them
[08:12:09] <iSaleK> Is there an example on how to use it on Tiny2313?
[08:14:26] <specing> Goddamnit iSaleK do your research
[08:14:59] <specing> you haven't even DOWNLOADED the fucking datasheet, have you? (not to mention READING it)
[08:16:58] <iSaleK> Someone got up on the wrong leg today :)
[08:17:14] <iSaleK> Ofcourse I did, I have both datasheets opened right now
[08:21:27] <OndraSter> there are/were code samples. If not there, they are on the internet many times
[08:21:33] <OndraSter> or just appnotes
[08:23:19] <iSaleK> I'm looking at the USI at the datasheet, I guess it's pretty simple (from wiring side) SCK to register clock, MOSI to register data input and chose one extra pin for triggering the register clock after the data is written and that's it
[08:24:50] <Grievre> does avr-gcc/avrlibc try to be source-compatible with AVR studio or are they just completely different?
[08:35:09] <specing> /facepalm
[08:38:08] <OndraSter> Grievre, what?
[08:38:20] <Grievre> ?
[08:38:35] <OndraSter> atmel studio USES avr-gcc + avrlibc
[08:38:45] <Grievre> OndraSter: oh it does?
[08:38:47] * Grievre has never used it
[08:38:58] <Grievre> I just figured it had its own compiler
[08:42:59] <OndraSter> C:\Program Files (x86)\Atmel\Atmel Studio 6.0\extensions\Atmel\AVRGCC
[08:43:00] <OndraSter> ...
[08:43:41] <OndraSter> gcc 4.6.2 in the latest atmel studio 6
[09:16:30] <Grievre> OndraSter: like I said, never used it
[09:57:34] <jadew> I dreamed I went to china, damn bastards can't speak any english
[10:01:10] <Malinuss> you sure it was a dream jadew ?
[10:14:08] <OndraSter> jadew, I had a dream, I went to china too but they all spoke czech :P
[10:14:12] <OndraSter> and english
[10:34:55] <jadew> heh, for me they were all nodding
[10:36:16] <jadew> I went there because it was cheapper to produce some cookies there and go overthere myself to pick them up than it was to make them here...
[10:37:59] <OndraSter> lol
[10:38:02] <OndraSter> I was on my way from the US I think
[10:38:05] <OndraSter> and I was changing planes
[10:38:11] <OndraSter> but there was few hours wait between them
[10:48:47] <jadew> did you like it there?
[10:48:58] <OndraSter> heh
[10:49:01] <OndraSter> no idea
[10:49:24] <jadew> I didn't like it, I was in constant fear that I might do something wrong and end up in a chinese prison
[10:56:46] <OndraSter> lol
[11:34:59] <sabesto> anyone used the "inertial one" sensors from atmel?
[11:36:49] <sabesto> the magnetometer doesnt seems to work correctly with the demo in AS6
[11:41:38] <Malinuss> sabesto, you mean the internal theormemter?
[11:41:47] <Malinuss> thermometer?
[11:44:21] <sabesto> no, magnetometer
[11:45:41] <jadew> the wattmeter?
[11:46:46] <jadew> what chip are we talking about? I didn't know they come with that sort of features
[11:47:05] <sabesto> AK8975
[11:47:18] <jadew> sounds like a gun
[11:48:37] <home> hmm
[11:48:43] <home> how to get free atmel chipz?
[11:49:02] <LoRez> home: they're very cheap if you're getting ATtinys
[11:49:13] <home> how?
[11:49:13] <jadew> atmegas are cheap too
[11:49:17] <home> how?
[11:49:22] <home> I got 0.0 dollah
[11:49:23] <jadew> how cheap?
[11:49:33] <jadew> they're a bit more expensive than that
[11:49:39] <home> oh :/
[11:49:42] <jadew> like $1-$2
[11:50:19] <Malinuss> home, but you could try sampling
[11:50:26] <home> how :D
[11:50:46] <Malinuss> !google avr sample
[11:51:18] <jadew> you go to an electronics store, you ask to see some of their chips, then you sample them in your pocket and leave
[11:52:12] <jadew> what are they gonna do? arrest you for $2?
[11:54:10] <home> :D awesome awesome XD
[12:25:58] <Malinuss> jadew, 2$ is only the potential yeild. They payed much less then that..
[12:26:28] <Malinuss> so it's like stealing candy from a candy store - no big deal
[12:26:35] <Malinuss> JUST DO IT
[13:10:22] <OndraSter> TechIsCool, congrats :)
[13:10:25] <OndraSter> nice array of caps
[14:06:38] * RikusW jsut repaired 3 identical PC PSU's, its non standard, quite a bit smaller than ATX
[14:06:56] <RikusW> the fan sits on top with the entire back perforated
[14:07:06] <RikusW> turns out the 5Vsb caps went....
[14:11:44] <Steffanx> yay
[14:12:03] <Steffanx> Why one needs 3 identical psus RikusW ?
[14:12:33] <Amadiro> to power 3 identical PCs with them, I would presume
[14:12:53] <RikusW> Steffanx: I repair them for a local PC reseller
[14:13:02] <Steffanx> oh :)
[14:13:22] <RikusW> I quite like it when I get identical ones, usually same problem on all of them
[14:13:59] <Steffanx> You + components are cheaper than a new psu? :P
[14:14:20] <Tom_itx> possibly where he is
[14:14:23] <RikusW> when the PC draws current 5Vsb drops, leaving everything underpowered..
[14:14:35] <RikusW> I charge like 5 Euro + parts
[14:14:45] <Steffanx> the local guy must like you
[14:14:52] <RikusW> yep
[14:15:06] <RikusW> by now I repair them fairly quickly :)
[14:15:07] <Tom_itx> does he give you free crap in return?
[14:15:13] <RikusW> he does :)
[14:15:36] <RikusW> I know him for like 14 years or so
[14:15:54] <RikusW> its only been 3 or so year that I've been repairing stuff for him
[14:15:56] <Steffanx> i like how they work there
[14:16:09] <Steffanx> Here it's : "Meh, psu is broken.. you need a new one"
[14:16:36] <RikusW> caps are very often faulty
[14:16:50] <RikusW> followed by power transistors from surges
[14:17:04] <RikusW> I have one here now with burst 200V caps :-D
[14:17:13] <RikusW> don't see that too often
[14:17:27] <RikusW> must have been a loud bang
[14:18:02] <Tom_itx> i searched atmel for attiny85 and click on 'datasheet' and up pops a tiny25 one
[14:18:24] <RikusW> I've had quite a few burnt transistors even exploded ones too, but ironically the bridge rectifier is intact...
[14:18:38] <RikusW> Tom_itx: same thing
[14:18:45] <RikusW> t25 45 85
[14:18:56] <RikusW> why not use t24 44 84 ?
[14:19:01] <RikusW> more pins
[14:20:00] <RikusW> Tom_itx: Atmel often combine multiple devices per ds
[14:20:14] <RikusW> like mega48 88 328
[14:20:21] <RikusW> 168
[14:20:24] <Tom_itx> furthermore it doesn't show the device pinout
[14:20:36] <RikusW> my ds does
[14:20:40] <Tom_itx> i know but they usually give you the biggest one
[14:21:04] <Tom_itx> do you just ask for the disk or do you buy it?
[14:21:28] <RikusW> I downloaded it
[14:21:32] <RikusW> 8 GB
[14:21:40] <Tom_itx> link?
[14:21:53] <RikusW> will see if I can find it
[14:22:08] <Tom_itx> it has all the data sheets and app notes?
[14:23:42] <RikusW> yes
[14:24:42] <RikusW> http://www.atmel.no/techlib/
[14:24:54] <RikusW> google beats looking through old emails :-P
[14:25:28] <RikusW> googled Atmel Techlib DVD
[14:26:00] <Tom_L> 6hrs
[14:26:07] <RikusW> all AVR8 ds is about 800MB
[14:26:15] <RikusW> apnotes 518MB
[14:26:45] <RikusW> AVR32 ds 160 an 280MB
[14:27:56] <RikusW> F:\techlib\techlib8\software\altium\software includes AltiumDesigner10 its like 1.75GB
[14:28:06] <RikusW> maybe I should try installing it...
[14:42:16] <Tom_itx> did you burn it to a dvd?
[14:43:09] <RikusW> no
[14:43:24] <RikusW> ugh, the dvd got WinAVR 2008, I got 2010...
[14:43:37] <Tom_itx> huh?
[14:43:39] <RikusW> about 5GB is sw
[14:44:11] <Tom_itx> stick em all on a thumb drive
[14:44:16] <RikusW> the other 3GB the other 2GB is the ds and an
[14:44:29] <RikusW> - 3GB
[14:44:59] <RikusW> more like 1.7GB
[14:45:08] <RikusW> for 8 and 32 bit
[14:45:29] <RikusW> I wonder why Atmel don't provide a ds+an only download...
[14:45:37] <RikusW> lets bug abc about that ;)
[14:46:50] <RikusW> seems the altium stuff needs a seperate download for the installer, its only the data...
[15:48:56] <Tom_itx> figures
[18:10:23] <yunta> ffs, I hate developing pcb
[18:10:44] <yunta> it's either over-developed or under-developed
[18:10:51] <Horologium> just deadbug it.
[18:11:45] <yunta> not for commercial-ish proto :(
[18:12:16] <Horologium> bah.
[18:12:30] <Horologium> TVs used to be built deadbug style!
[18:12:36] <Horologium> commercial production even.
[18:27:05] <yunta> lol
[20:59:50] <mano1979> hello everyone, i wondered if there is someone who can help me with adjusting a V-USB project.
[21:03:20] <mano1979> hello everyone, i wondered if there is someone who can help me with adjusting a V-USB project.
[21:03:58] <Tom_itx> u just said that
[21:04:35] <mano1979> i saw new people coming online...
[21:04:48] <Tom_itx> just a bot
[21:05:09] <mano1979> i see... thanks
[21:58:58] * Casper slaps Tom_itx
[21:59:18] <Casper> you make it sound like you were the bot :D
[21:59:44] <Tom_itx> i'm not?
[21:59:55] <Casper> maybe you are
[21:59:58] <Tom_itx> gawd. finally done
[21:59:59] <Casper> or maybe not
[22:00:09] <Tom_itx> downloaded the techlib and unpacked it
[22:00:16] <Casper> you might be a next generation chatbot