#avr | Logs for 2015-06-10

Back
[00:22:42] <Valen> I'm looking at the datasheet for an attiny 481a and the usck seems to be on both PA2 and PB2, how does one say which one of those to use for usck?
[00:23:38] <Casper> you sure it don't have 2 usi?
[00:24:17] <Valen> Casper: well I guess that is also an option
[00:25:56] <Valen> doesn't seem to say there are two
[00:27:51] <Xark> Valen: I know on ATTiny85 I was confused as it uses MISO for SPI/UART output (with USI). :) Kind of backwards vs MOSI/MISO for ISP.
[00:28:22] <Valen> I wonder if that is what I'm seeing?
[00:28:30] <Valen> one set for ISP and another for uart?
[00:28:32] <Xark> Note "DI" and "DO" pins.
[00:28:53] <Valen> its got a pair of each of those too
[00:28:54] <Xark> (those are what USI uses for input/output)
[00:29:21] <Valen> oooh oooh found it
[00:29:21] <Casper> hmmm how to sleep like a baby: have a nice food before going to bed :D
[00:29:29] <Valen> USIPP – USI Pin Position
[00:29:42] <Valen> Bit 0 – USIPOS: USI Pin Position : Setting this bit to one changes the USI pin position. As default pins PB[2:0] are used for the USI
[00:29:42] <Valen> pin functions, but when writing this bit to one the USIPOS bit is set the USI pin functions are on
[00:29:42] <Valen> pins PA[2:0]
[00:30:58] <Valen> I've been looking for that for hours
[00:34:28] <Xark> Valen: Cool. I don't believe I have used an AVR with that feature.
[00:34:58] <Valen> I wonder how it works for programming
[00:35:13] <Xark> Valen: I suspect it doesn't affect that.
[00:35:22] <Valen> probably right
[00:35:28] <Valen> but it'd be really handy if it did lol
[00:35:36] <Xark> (or always uses default pin, as ISP resets chip)
[00:38:23] <Casper> it's sad that the reset pin ain't reprogrammable in software
[00:39:06] <Casper> would have been nice to be able to keep isp programming while reusing reset...
[01:07:22] <hypermagic> hi
[01:08:13] <hypermagic> what's up here ?
[01:20:51] <Casper> hypermagic: a white ceiling, what about on your side?
[01:24:47] <hypermagic> silver ceiling
[01:38:59] <rue_bed> silver?
[04:54:42] <UditDarro_> HI, is there any simulation software that i can use to build my project
[04:55:59] <UditDarro_> Something where i can do some interfacing as well
[04:56:20] <UditDarro_> not just an AVR simulator
[04:59:02] <specing> ktechlab had an AVR simulator built-in iirc
[04:59:11] <specing> too bad it is a defunct project
[05:00:01] <UditDarro_> how is Proteus VSM ?
[07:08:30] <pepijndevos> The reset line of the ISP, does it need a cap, like with ftdi? Seems not.
[07:10:44] <Lambda_Aurigae> should have a pullup resistor on it though.
[07:10:49] <Lambda_Aurigae> on the chip's reset line that is.
[07:11:51] <pepijndevos> yea
[07:11:53] <pepijndevos> ok
[08:00:00] <LeoNerd> I don't usually bother even with that resistor
[08:00:16] <LeoNerd> AVRs have an internal pullup on the RESET line. An external one as well sometimes gets in the way of HVSP
[08:32:08] <hypermagic> biotechusa made a new coffee for you that will burn all your bodyfat and change your face too? http://imgg.mgid.com/1394/1394915_200x200.jpg http://cdn.adcombo.org/content/Anerexiya_HU_Green_Coffee/images/2.jpg
[08:41:47] <hypermagic> http://www.healthline.com/health-news/aging-green-coffee-extract-is-no-miracle-cure-061413#3 humans ...
[08:53:58] <Casper> LeoNerd: the internal is so weak that it often trip with plain board noise
[08:54:11] <Casper> so DO use an external resistor, specially on breadboard
[08:54:16] <Casper> 10k shall work
[08:54:22] <Casper> 1k for breadboard may be needed
[08:54:26] <Casper> bbl
[08:54:40] <LeoNerd> Hrm.. possibly depends on your local circumstances; I've never seen that
[08:57:12] <vsync_> empirical experiences are always so fun to bring as arguments 8)
[08:57:15] <hackvana> hypermagic: I tried green coffee extract! It made programming my AVR twice as fast! All the warnings in my code went away! And added an -OS to gcc that shrunk my code by INCHES!
[08:57:27] <hypermagic> :)
[08:58:43] <hackvana> It turned my ATtiny84 into an ATtiny164 while enacting health care reform!
[08:59:06] <hackvana> It made love to my cat, and showed me the joy of lead-free solder.
[08:59:23] <hackvana> THANK YOU GREEN COFFEE EXTRACT!
[08:59:25] <LeoNerd> hackvana: uhh?
[09:01:19] <hackvana> I'm riffing. Based onto this: http://www.gnu.org/fun/jokes/virus-warning.html
[09:01:45] <hypermagic> btw wow cdc made a new virus http://www.healthline.com/health-news/cdc-announces-discovery-of-deadly-new-virus-022015
[09:01:50] <hypermagic> how cool is that ?
[09:09:57] <vsync_> and how avr-related
[09:10:37] <hypermagic> any kind of virus is strongly avr related :)
[09:10:56] <hypermagic> what if they sneeze on the avr ?
[09:11:40] <hypermagic> it might even infect your firmware
[09:44:10] <hackvana> hypermagic: Fortunately green coffee extract will keep our avrs safe.
[11:51:06] <hypermagic> oh the pleasing sound of the Trumpets Of The Apocalypse
[11:51:27] <LeoNerd> I'm not sure I'd be pleased to hear those
[12:23:43] <Lambda_Aurigae> the apocalypse is overrated.
[12:24:05] <Lambda_Aurigae> I'm waiting for the pockyclypse.
[12:31:12] <hypermagic> Lambda_Aurigae, oh no im just referring to the trumpet sounds from the sky outside
[12:31:16] <hypermagic> tnothing unusual
[12:31:30] <Lambda_Aurigae> tuesday tornado warnings?
[12:31:37] <Lambda_Aurigae> that's the only loud sound around these parts.
[12:32:20] <hypermagic> ill record some too if it gets louder
[12:33:15] <hypermagic> Lambda_Aurigae, sounds like this https://www.youtube.com/watch?v=qXdgvMuItMw
[12:33:49] <Lambda_Aurigae> can't hear anything there.
[12:33:50] <Lambda_Aurigae> but
[12:34:09] <Lambda_Aurigae> I'm remoted into my home computer from my laptop via a verizon jetpack and teamviewer.
[12:34:49] <specing> why do you need to remote if you have a jetpack?
[12:35:25] <Lambda_Aurigae> so I can access my desktop at home which has a constant running xchat and other things.
[13:01:49] <LeoNerd> How annoying. My fancy bicolour LED bargraphs have arrived, but the MAX2119s I want to drive them with have not.
[14:03:21] <Xark> Hello, does anyone know of a AVR ISP programmer that will program Atmega2560 (and other "large" AVRs) from Linux? Does Tom_itx's programmer work for this?
[14:03:58] <specing> Xark: if you need atmega2560... why don't you go for ARM?
[14:04:27] <Xark> specing: I am not asking the question for me (but I have "all of the above" personally).
[14:57:05] <Lambda_Aurigae> Xark, yes, Tom_itx's programmer will work with the atmega2560
[14:57:13] <Lambda_Aurigae> it will work with atxmega chips as well.
[14:57:28] <Lambda_Aurigae> it has SPI, PDI, and TPI programming interfaces.
[14:57:49] <Lambda_Aurigae> so works with pretty much every ATTINY, ATMEGA, and ATXMEGA chip.
[15:00:09] <Xark> Lambda_Aurigae: Do you have a link for his programmer? I only find a non-working dyndns...
[15:00:48] <Lambda_Aurigae> did you bother to check the channel topic?
[15:00:53] <Lambda_Aurigae> http://tom-itx.no-ip.biz:81/~webpage/index.php
[15:03:09] <Xark> Heh, no, I have those hidden. Thanks.
[15:06:30] <Xark> Hmm, no price or purchase link I can find (but looks good). :)
[15:23:48] <Lambda_Aurigae> you have to talk to him directly on here to see if he has any left.
[15:24:03] <Lambda_Aurigae> he shut down the online purchase thingie when he lost the dyndns stuff.
[15:26:29] <Xark> I see. Thanks again.
[15:27:31] <Jartza> evening
[15:30:33] <Lambda_Aurigae> evening?
[15:30:40] <Lambda_Aurigae> it's not even 5 oclock somewhere yet!
[15:35:43] <Jartza> and 11:13pm here :)
[15:36:41] <DanFrederiksen> it's always 5 o clock somewhere
[15:37:03] <DanFrederiksen> it's evening in europe
[15:37:07] <Lambda_Aurigae> yeah, but there doesn't count.
[15:37:18] <Lambda_Aurigae> if it ain't 'merica then it don't count none.
[15:37:36] <DanFrederiksen> when God destroys USA like he did Sodom, you will realize that Europe counts :)
[15:37:48] <Lambda_Aurigae> no problem there.
[15:37:50] <Lambda_Aurigae> I'm an atheist.
[15:38:04] <DanFrederiksen> that just means you are dumb enough to think that your belief changes reality
[15:38:12] <Lambda_Aurigae> of course it does.
[15:38:20] <Lambda_Aurigae> reality only exists for me so long as I exist.
[15:38:36] <DanFrederiksen> fine logic
[15:38:37] <Tom_itx> but do you exist?
[15:38:47] <Lambda_Aurigae> Tom_itx, only occasionally.
[15:39:46] <DanFrederiksen> Lambda_Aurigae, make me a robot that feels pain and I shall concede that God isn't real, mister know it all
[15:40:08] <Lambda_Aurigae> I never said god doesn't exist.
[15:40:15] <Lambda_Aurigae> only that I am an atheist.
[15:40:21] <Lambda_Aurigae> which means I do not believe that god exists.
[15:40:35] <Tom_itx> which one?
[15:40:53] <specing> Ooooh
[15:40:53] <Lambda_Aurigae> well, of course Glub exists.
[15:41:05] <specing> Time for squashing infidels!
[15:41:14] <specing> Hail the Flying Spaghetti Monster!
[15:41:39] <Lambda_Aurigae> anyone who has ever been in a crowded car full of guys who just had a beer and bean feast can attest to His Flatulence's influence on the world.
[15:42:24] <DanFrederiksen> I was thinking something slightly more high minded than ass gas
[15:42:47] <Lambda_Aurigae> well, Glub is the god of all that is foul.
[15:43:07] <Lambda_Aurigae> worshipped by microsoft programmers the world over.
[15:45:19] <Lambda_Aurigae> I guess the claim of being an atheist is a little heavy...I'm more an agnostic with strong anti-religious tendencies.
[15:45:42] <Lambda_Aurigae> I don't know if there is a god or not and really don't care. If there is, she best have one hell of a sense of humor or we are all fucked.
[15:47:40] <Xark> I kind of feel that if god really wanted to be worshiped, she should really improve her communication skills. :)
[15:48:15] <Lambda_Aurigae> yeah...talking out of a burning bush is fun and all but nobody takes you seriously when anybody can start a fire and burn down half a city.
[15:49:19] <Lambda_Aurigae> jadew must think he is on efnet.
[15:52:35] <chupas> Does anyone know of a PCB proto house for less than .062 boards?
[15:52:52] <chupas> not necessarily flex . this thin Fr4
[15:52:56] <chupas> Fr4
[15:53:17] <aandrew> chupas: most can do it, it's just an extra cost.
[15:53:43] <aandrew> you could ask hackvana on #hackvana, almost all my boards come from him now
[15:54:12] <chupas> aye!
[15:54:41] <aandrew> he lives in .au so you might not get a response if it's the middle of the night there. he's also got a general guide document in the /topic of that chan
[15:55:01] <chupas> I found it on google. thanks much!
[15:59:04] <Jartza> yea, thumbs up for hackvana
[15:59:23] <Jartza> all my boards so far are from there
[19:44:26] <hackvana> chupas: Hi
[19:46:06] <hackvana> All my boards come from that hackvana dude too. Oh wait, that's me! :-)
[19:48:07] * Casper stills can't get used to hackvana... I always think of hackavana somehow...
[19:48:39] <Lambda_Aurigae> never heard of it.
[19:49:52] <hackvana> Coming up for four years shortly.
[19:50:46] <Casper> and this pressure switch... man... what do I missassemble or miss??? grrr
[19:51:22] <Casper> how hard is it to assemble it back in one piece? and in a working order?!?
[19:52:36] <Lambda_Aurigae> depends on what it is.
[19:53:13] <Casper> the pressure switch of my compressor
[19:53:52] <Casper> take the housing, put this plastic piece there, and that spring there... then put that spring between those 2 metal pieces, put them there...
[19:54:08] <Casper> and... it refuse to turn on...
[19:54:14] <Lambda_Aurigae> turn it on and watch the pretty sparks.
[19:55:05] <Casper> I'ld like to find a broken 175psi compressor with it's 10 gallon air tank :D
[19:55:20] <Lambda_Aurigae> got one in my garage.
[19:55:39] <Casper> the compressor I have can easilly do 175psi
[19:55:51] <Casper> the tank, not so much
[19:55:58] <Lambda_Aurigae> I have a tank, no compressor on it anymore.
[19:56:03] <Lambda_Aurigae> I use it as an aux tank.
[19:56:12] <Lambda_Aurigae> it only leaks a little.
[19:56:20] <Lambda_Aurigae> I try not to run it over 120psi though.
[19:56:23] <Lambda_Aurigae> a bit rusty it is.
[19:56:36] <Casper> mine is a 4 gallon, lose 20psi in 24 hours exactly
[19:56:49] <Casper> the compressor is almost a clock...
[19:57:25] <Lambda_Aurigae> I also have a big 220V compressor on a huge tank.
[19:57:30] <Lambda_Aurigae> but don't have 220V in my shed.
[19:58:37] <Casper> why not? who don't have that?!? c'mon, stop being lazy and put it there! :D
[19:59:08] <Lambda_Aurigae> my only power there is a generator.
[19:59:13] <Lambda_Aurigae> it's 110V only generator.
[19:59:33] <Casper> with enought wattage?
[19:59:41] <Lambda_Aurigae> enough for what I do.
[19:59:51] <Lambda_Aurigae> 3KW
[20:00:10] <Lambda_Aurigae> wish I had a 5KW 220V genny but if wishes were fishes.
[20:00:23] <Casper> weird that it only have 120V...
[20:00:36] <Lambda_Aurigae> was cheap...kind of a super quiet genny.
[20:00:55] <Casper> ok