#avr | Logs for 2011-12-25

Back
[00:00:16] <timemage> Tom_itx, i think it's just usual to do as little as you can get away with and exit the handler. i'm not sure you can do much about signals coming in too fast except to not let that happen.
[00:01:17] <Tom_itx> yeah i try to keep isr's as short as possible
[04:00:55] <pc_magas> Marry X-mas
[04:58:42] <GeorgeJ> Is there any avr-gcc library for UART that provide a device-independent API for managing uarts?
[05:12:56] <OndraSter> GeorgeJ, the one in Arduino should be fairly universal, as arduino has ton of devices supported
[05:24:30] <GeorgeJ> OndraSter: I've forgotten to mention that it should use the C language.
[05:25:39] <OndraSter> hmm
[05:26:29] <rue_house> GeorgeJ, prycon avrlib?
[05:27:04] <GeorgeJ> rue_house: Lemme take a look
[05:28:38] <rue_house> _I_ think the prycon avrlib became the basis of the arduino libraries
[05:35:16] <GeorgeJ> rue_house: prycon only seems to support one UART
[05:35:47] <rue_house> Is there any avr-gcc library for UART that provide a device-independent API for managing uarts?
[05:36:03] <rue_house> given "any avr" you can only have 1 uart
[05:36:16] <rue_house> given "one of these avrs" you can have two
[05:37:03] <GeorgeJ> rue_house: Yes, I see no problem implementing a library that support multiple UART channels, I just don't want to re-invent the wheel
[05:37:38] <rue_house> if there were a site like the one I created that people would post library code to, then people wouldn't have to rebuild wheels
[05:37:49] <rue_house> but as long as they dont use it, they will
[05:38:12] <GeorgeJ> rue_house: What website?
[05:38:43] <rue_house> http://ruemohr.org
[05:39:05] <rue_house> I paid for it, trail site to see if people would go for it, nobdy did
[05:39:54] <rue_house> so I'm not gonna renew it or get a site with a better name
[05:40:04] <rue_house> I'm not gonna set it up as a wiki
[05:40:15] <GeorgeJ> rue_house: Doesn't seem too user-friendly
[05:40:37] <GeorgeJ> It would be awesome to have gitorious hosted somewhere
[05:40:42] <rue_house> I think thats mentioned at the bottom of hte main page
[05:42:13] <GeorgeJ> rue_house: gitorious needs ruby+rake hosting
[05:42:53] <GeorgeJ> Not the most lightweight interface, but its got a decent team of programmers behind it afaik.
[05:43:05] <GeorgeJ> I've got one set up at http://git.mux.ro
[05:43:34] <GeorgeJ> Their main website is at: http://gitorious.org/
[05:43:41] <rue_house> after about 6 years of being on irc you learn that the means dosn't matter, if people are going to do somthing they do it
[05:43:54] <rue_house> if they aren't it dosn't matter what you set up, it wont happen
[05:47:00] <GeorgeJ> rue_house: It does if you provide a decent user interface
[05:47:22] <GeorgeJ> Or atleasta VCS
[05:53:59] <rue_house> nope
[05:54:13] <rue_house> I asked lots of people for code donations, and got nothing
[05:56:20] <GeorgeJ> rue_house: Because the website you just gave me is plain ugly, and has no means I can use to post my own code automaticaly
[05:56:43] <rue_house> and nobody give me a rewrite for me to post to it
[05:56:55] <rue_house> right now all the postings have to go thru me
[05:57:00] <GeorgeJ> rue_house: Sorry, I mean to cause on offense. But a website that would provide code versioning, project management and wikis would be a lot of help imo
[05:57:06] <GeorgeJ> rue_house: Waht kind of hosting do you have?
[05:57:29] <rue_house> but it dosn't matter, it proved nobody would participate, the site has almost expired and I'm not paying for it to do anything else
[05:57:59] <rue_house> its just set up as a basic 10M html site, but it does not matter!
[05:58:10] <GeorgeJ> rue_house: I've just told you it does ...
[05:58:18] <rue_house> PLEASE go ahead, set one up on your own dollar, and prove me wrong
[05:58:21] <GeorgeJ> rue_house: Why do you think github has such a success?
[05:58:47] <rue_house> I have lots of avr library stuff I'll donate to you
[05:59:04] <rue_house> + take any/all of the links / pages from that site
[05:59:45] <GeorgeJ> rue_house: The point is, there's no need to create a sepparate community. If I were to ever start on such a project I'd collaborate with AvrFreaks, if they're interested
[06:00:14] <rue_house> avrfreaks only want submisisons from registered people
[06:00:23] <GeorgeJ> They allready have project libraries, but IMO, their system could be improved
[06:00:27] <inflex> meh, just go at it yourself... you get more fame :p
[06:00:43] <GeorgeJ> Why would I do this for the fame? That's a waste of time
[06:00:56] <rue_house> it bothts me that everyone makes an hd447880 library
[06:01:15] <rue_house> and that nobody posts them, and everyone who knows their out there makes their own
[06:01:24] <rue_house> thats just crazy
[06:03:56] <rue_house> GeorgeJ, do it just to prove me wrong
[06:05:28] <rue_house> which you cant, cause I'm not, wish I were
[06:06:28] <GeorgeJ> rue_house: I have no urge to prove you wrong
[06:06:35] <GeorgeJ> rue_house: I would gain nothing
[06:07:01] <rue_house> that just leaves me being right tho
[06:07:08] <rue_house> which is kinda depressing
[06:07:48] <GeorgeJ> rue_house: You are not thought. If you had any knowledge of how the internet actually works. You would not have wasted time creating that website. Again, no offense intended.
[06:08:20] <rue_house> yes I am, 6 years experiance and that site DO prove it, not even YOU can disprove this
[06:08:36] <rue_house> you can only speculate
[06:09:20] <GeorgeJ> rue_house: That site only proves you've spent 1h gathering links ..
[06:09:42] <GeorgeJ> If that's the fruit of your actual work, then, I'm not impressed, at all
[06:09:54] <rue_house> no having that page proced that nbobody would submit content to it
[06:09:56] <GeorgeJ> You don't even have a CMS available to users ..
[06:11:41] <GeorgeJ> rue_house: How would I, as a library creator, post my library there? And why?
[06:11:50] <rue_house> your also not seeing that the page isn't where the problems start
[06:12:19] <rue_house> you submit it to me, and I post it, if it gets busy enough I'd mod the site to work difference
[06:13:47] <GeorgeJ> rue_house: you see, that doesn't work, at all
[06:14:01] <GeorgeJ> rue_house: Why wouldn't I subit my code to AvrFreaks?
[06:14:13] <GeorgeJ> It takes less time to register, than it takes to get a hold of you
[06:15:03] <rue_house> part of my idea was to have a mechanism by which people could post simply cause they were here
[06:15:12] <GeorgeJ> rue_house: Do your see your problem? Your website also has no search engine visibility
[06:15:23] <rue_house> prolly have a bot linked up that would give you a pre-authorized url
[06:16:29] <rue_house> I'm registered to over 60 websites, dont you think its stupid to have to have that many usernames and logins?
[06:16:41] <GeorgeJ> rue_house: What does that have to do with anything?
[06:17:03] <GeorgeJ> rue_house: There's really no need to get mad, you need to understand how the internet works ...
[06:17:15] <rue_house> its part of what I hate about avrfreaks
[06:17:25] <rue_house> no I just dont like the way things work
[06:19:00] <rue_house> cool, from what I can tell, if I want to use this blackberry for soemthing, I can tear the screen out and hook it up to an avr
[06:19:49] <GeorgeJ> rue_house: What? That makes no sense ...
[06:20:59] <rue_house> people driving around in cars with square wheels insisting that everything is perfectly acceptable and the mere idea of change is a waste of thought, THAT makes no sense
[06:23:11] <rue_house> needing a 4Ghz processor with 2gigs of ram and 1 terrabyte of harddrive space to watch a video of a kitten slip off the edge of a table while falling asleep, THAT makes no sense
[06:23:31] <GeorgeJ> rue_house: Let me explain your problem to you. You are trying to create an alternative to AvrFreaks' project posting. You provide a worst interface, basicaly no automation, no search visibiility, just a HTML page. Perhaps that would have worked 10years ago, but it does not anymore.
[06:23:58] <GeorgeJ> It would take less time for me to create a user on avrfreaks every time I need to create a project than for your to handle my projects
[06:24:47] <rue_house> do you know why avrfreaks wont let you VIEW something without signing up with them?
[06:24:59] <GeorgeJ> rue_house: You seem iritated and illogical, I see no point in trying to explain this to you ...
[06:26:12] <GeorgeJ> rue_house: Why do I care? It would of probably taken less than 6years to suggest to them to remove the user authentication to enter the projects website and/or provide anonymous projects(without having to log in).
[06:27:41] <GeorgeJ> rue_house: Stop being so stubborn and accept that you might be wrong.
[06:28:30] <rue_house> would I be right that, if I had a bot here that gave you a link to a authorized cm page for that site, you would not go in and work on it, but use avrfreaks site instead?
[06:28:40] <rue_house> I'm not wrong till I'm proven wrong
[06:28:55] <GeorgeJ> rue_house: No, i would still not go to your website, no.
[06:29:08] <rue_house> I spent money to try to prove an idea would be bennificial, and I was wrong
[06:29:16] <rue_house> I thought not
[06:29:43] <GeorgeJ> rue_house: People are often wrong. There's no need to be mad about that ...
[06:29:48] <rue_house> how many sites are you registered to? more than 60?
[06:29:57] <rue_house> I'm not mad
[06:30:05] <GeorgeJ> rue_house: I don't even know, nor do I care
[06:30:06] <rue_house> sorry I got you worked up
[06:30:10] <rue_house> heh
[06:30:32] <rue_house> did you manage to find one login that worked for them all, do you use a password manager, or do you keep alist?
[06:30:54] <rue_house> I'm guessing password manager
[06:31:04] <GeorgeJ> rue_house: I have several logins, but I only use the websites I need. I don't log in to hundreds of websites a day
[06:31:23] <rue_house> and I'm guessing you dont upgrade your computer, you replace it, and every time you do you have to recreate all your site registrations again
[06:31:33] <rue_house> hmmm
[06:31:59] <GeorgeJ> Firefox has a sync feature that synchronizez all my logins and other data across devices, even mobile devices. I need not worry for such things
[06:32:37] <rue_house> I suspect that you use online email websites, but do verry little emailing, I'm guessing you dont usually have the same address for more than 3 years
[06:33:07] <rue_house> I'v had the same email address for about 16 years....
[06:33:40] <GeorgeJ> rue_house: I've got 3 active email addresses, one for work, 1 old one(over 10years old), and a new one for my newly created website. I don't see how any of this is relevant
[06:33:57] <GeorgeJ> rue_house: All you need is an anonymous project hosting solution?
[06:34:06] <rue_house> hmm, good stuff...
[06:34:26] <rue_house> there does need to be some mechanism to control spam
[06:34:47] <rue_house> if I had a means for my bot to issue urls to channel memebers, that would work
[06:34:59] <rue_house> people have to be here to edit the website
[06:35:06] <rue_house> thats an acceptable filter
[06:35:14] <rue_house> we dont have nick filtering here... iirc...
[06:35:33] <rue_house> you didn't have to register with nickserv to be able to speak here did you?
[06:35:43] <rue_house> we change that back and forth a lot
[06:36:06] <GeorgeJ> rue_house: If you knew anythig about website development, you could easily create a php script to upload projects. But that's not the point
[06:36:42] <rue_house> part of the fun is knowing how to classify the submisisons
[06:36:51] <rue_house> helps to have submisisons to know how to do that
[06:37:30] <GeorgeJ> rue_house: PHP is an easy language to learn, there are free hosts that provide PHP support, one could easily implement such a website, but as I stated before, why is there even a need for this?
[06:38:06] <rue_house> we used to have a channel wiki, it was framed out with the different members, and left to members to fill in with information on the projects they were doing,
[06:38:13] <rue_house> I think it lasted about a week
[06:38:44] <GeorgeJ> rue_house: Are you trying to create an AVR community sepparate of AvrFreaks?
[06:38:52] <rue_house> then nobody updated it, and many forgot it existed
[06:39:29] <rue_house> no, I thought that all the examples, and libraries people do here would be an asset to the rest of the members
[06:39:36] <rue_house> or passers-by
[06:40:08] <rue_house> I'd be happy to post every avr program I'v made as example source
[06:41:03] <GeorgeJ> rue_house: Here you go: https://github.com/search?q=AVR&type=Everything&repo=&langOverride=&start_value=1
[06:41:06] <rue_house> well, its 4:30am, I'm gonna hand over the santa-watch to my roommate and get some sleep
[06:41:08] <Steffanx> GeorgeJ accept for the forum part.. avrfreaks is pretty useless imho
[06:41:37] <Steffanx> santa-watch, rue_house ?
[06:42:14] <GeorgeJ> Steffanx: It does have an active community, though. That's pretty important. Getting people t post on your website is not as easy as you might think
[06:43:23] <rue_house> it we dont get santa unstuck from the furnace chimney within 5 mins things get BAD
[06:43:45] <Steffanx> :S
[07:12:35] <Tom_itx> GeorgeJ, take a look at peter fleury's lib
[07:13:21] <GeorgeJ> Tom_itx: I have, I'm also in need of a multi-channel usart lib
[07:13:41] <GeorgeJ> Would be great if it would support 1-8 usarts
[07:14:26] <Tom_itx> that's the best one you will find i'm afraid
[07:14:37] <GeorgeJ> I'm thinking of implementing an usart library that provides a general api that would work on all AVR's
[07:17:39] <Tom_itx> i see you met rue
[07:17:55] <GeorgeJ> Including the XMega's. This would be no easy job, so thats why I asked here first
[07:18:55] <Steffanx> Incl. DMA support GeorgeJ ? :)
[07:19:10] <Tom_itx> Steffanx, you ever dealt with pcint?
[07:19:17] <GeorgeJ> Steffanx: Perhaps, gradually
[07:19:30] <Steffanx> Uhm, a long time ago i think Tom_itx
[07:19:47] <Tom_itx> what's the best approach to figure out what pin fired it?
[07:20:43] <Tom_itx> i tried reading pinx inside it but that didn't go so well
[07:20:52] <Tom_itx> the int is firing because i tested that
[07:21:06] <Tom_itx> toggled a different port pin inside it
[07:21:42] <Tom_itx> they didn't think that one thru so well i believe
[07:22:00] <Tom_itx> i think i'll have to store the port to a var and then compare it
[07:26:37] <Steffanx> That's the only method i can think of
[07:27:13] <Steffanx> xor the new pinx value with the old one to get the changed pins?
[07:27:26] <Tom_itx> it would have been nice of them to provide a flag register since the parts that use pcint have plenty to spare
[07:27:40] <Steffanx> Use int0-2 ? :P
[07:27:52] <Tom_itx> i'm experimenting with code is all
[07:27:57] <Tom_itx> i don't really need it
[07:28:04] <Tom_itx> and i already did int0
[07:28:19] <Tom_itx> was gonna add to my tutorial some day
[07:29:01] <Tom_itx> is uchar actually 8 bit?
[07:29:13] <Tom_itx> that would be enough to store the port
[07:29:29] <Steffanx> uint8_t is :)
[07:29:35] <Tom_itx> or should it be uint8_t
[07:30:07] <Steffanx> I prefer uint8_t.. but your target is AVR so it doesn't really matter
[07:30:12] <Tom_itx> volatile uint8_t
[07:30:19] <Tom_itx> since int will be updating it
[07:31:44] <Tom_itx> would you do the xor outside the int?
[07:33:56] <Steffanx> Uhm.. probably inside
[07:37:49] <Tom_itx> would PINB contain the full port values?
[07:38:23] <Steffanx> Ofcourse
[10:52:36] <OndraSter_> uhuh
[10:52:42] <OndraSter_> I got here PCMCIA USB card
[10:52:57] <OndraSter_> but when you connect anything, high pitch noise starts coming out
[10:53:02] <OndraSter_> so I took it apart
[10:53:08] <OndraSter_> and there is SMPS with 34063 ?!
[10:53:16] <OndraSter_> why the hell is there SMPS for
[10:53:19] <OndraSter_> when they both operate on 5V
[10:53:25] <OndraSter_> (PCMCIA and USB)
[10:54:23] <OndraSter_> I shall probably wire up the power connectors directly
[10:57:44] <keenerd> PCMCIA can be 3.3V or 5V.
[11:01:10] <OndraSter_> right
[11:01:14] <OndraSter_> forgot about that
[11:01:40] <OndraSter_> in both cases, the SMPS was borked
[11:01:46] <OndraSter_> external drive wouldn't power up
[11:01:50] <OndraSter_> or not even try doing that
[11:05:26] <OndraSter_> it is for my grandpa's laptop
[11:05:29] <OndraSter_> it has older PCMCIA
[11:05:35] <OndraSter_> it is older laptop*
[11:05:38] <OndraSter_> hopefuly it has older spec with 5V
[11:16:44] <OndraSter_> huh
[11:16:59] <OndraSter_> there is "Vpp (programming voltage) also can be 12V at 120mA or 5V or 3.3V at higher currents"
[11:17:01] <OndraSter_> so WHAT IS IT
[11:17:24] <Tom_itx> what does it measure?
[11:17:30] <OndraSter_> I haven't tried it
[11:17:37] <OndraSter_> it is hidden inside the laptop
[11:17:41] <OndraSter_> on the pins
[11:17:53] <Tom_itx> go on a pin hunt
[11:17:58] <OndraSter_> yeah
[11:18:03] <OndraSter_> plus, it is for IBM T20
[11:18:08] <OndraSter_> so who knows what voltage will be there
[11:18:12] <OndraSter_> why can't be this standardized!
[11:20:17] <Tom_itx> apparently there are no documents talking about pcint on atmel's site
[11:20:40] <Tom_itx> their search engine sucks big time
[11:21:59] <OndraSter_> heh
[11:30:01] <OndraSter_> if I burn my tablet's PCMCIA
[11:30:03] <OndraSter_> I will be pissed
[11:30:21] <Tom_itx> you should avoid that then
[11:31:48] <OndraSter_> okay, it is 3.3V
[11:31:49] <OndraSter_> darnit
[11:32:30] <OndraSter_> the SMPS will require changing then
[11:32:34] <OndraSter_> for different C and L
[11:36:26] <OndraSter_> I have yet to figure out what is the I2C EEPROM doing there
[11:38:18] <OndraSter_> oh nvm
[11:51:19] <OndraSter_> http://www.youtube.com/watch?v=mpYwJdRd_zc&feature=share
[17:02:09] <amee2k> (awkward silence)
[17:02:46] <Steffanx> Did you hear that too amee2k ?
[17:02:57] <amee2k> mmh hear what?
[17:03:04] <OndraSter_> nothing!
[17:03:08] <amee2k> exactly.
[17:03:18] <Steffanx> You broke the silence.. duh
[17:03:36] <amee2k> entirely
[17:03:53] <OndraSter_> I like breaking stuff
[17:04:03] <Steffanx> Me too.. sometimes
[17:04:04] <amee2k> i'm probably the only one spending the day-after-xmas evening working on my project >_>
[17:04:51] <Steffanx> I'm recovering from the too much food i ate
[17:05:11] <amee2k> haha
[17:05:14] <amee2k> i know how you feel
[17:06:24] <OndraSter_> amee2k, I did too
[17:06:31] <OndraSter_> today
[17:06:33] <amee2k> mmh, i've been wondering... is it a good idea to use a PTC style "polyfuse" together with a protection diode from ground pointing towards the supply rail
[17:06:40] <OndraSter_> finished wiring up all Allegro A6275
[17:06:49] <amee2k> (if that description made any sense)
[17:07:22] <amee2k> PTC self-resetting fuses have a hold current, which would be constantly flowing in case of a reverse connected supply
[17:07:59] <rue_house> amee2k, na, use a fuse
[17:08:09] <rue_house> I know what you mean, reverse power trips out the ptc
[17:08:11] <amee2k> or should i change the PTC in favour of a fuse that will permanently open when it trips if i use that protection arrangement?
[17:08:39] <rue_house> if someone is airheaded enough to prolonged reverse the power they should be subscribed to changing a fuse
[17:08:54] <amee2k> lol
[17:09:01] <rue_house> and the fuse has less voltage drop
[17:09:25] <amee2k> hmm i see
[17:09:27] <rue_house> just remember to watch out with the diode, the inrush current from the revese pwoer to trip the ptc/fuse is pretyt he3afty
[17:09:43] <rue_house> most of the time the protection diode shorts out
[17:10:04] <amee2k> do they make SMT fuse holders for 5x20mm "glass tube" fuses? or what kind of socially acceptable fuse do you use on SMT-only boards?
[17:10:34] <rue_house> use the glass ones smaller than 1/4"
[17:10:43] <rue_house> they are reasonably available
[17:10:54] <rue_house> put in two fuse holders, put a spare fuse in the second one
[17:11:06] <amee2k> cool idea
[17:11:24] <rue_house> maybe silkscreen a "think before you use this" under it
[17:11:27] <rue_house> :)
[17:11:39] <amee2k> i expect the board to be fairly cramped too, and since it will be bolted flat with the back against a heatsink i want to avoid thru-hole components if possible
[17:11:46] <amee2k> to increase mounting flexibility
[17:11:52] <amee2k> LOL
[17:12:09] <rue_house> a 1/4" fuse can be mounted OVER most of the smt components
[17:12:31] <rue_house> some ninny has to make a smt 1/4" fuse holder
[17:12:36] <amee2k> hence why i'd like to use PTH fuse holders. and by "socially acceptable" i mean servicable with a hand iron and a screwdriver
[17:12:56] <amee2k> err... avoid* pth fuse holders
[17:13:08] <rue_house> if it involves a soldering iton any service guy will buy a new baord
[17:13:52] <amee2k> in that case his lazyness is my gain. i'm willing to service soldered-in fuses too if they're easy to reach
[17:14:36] <amee2k> i did think fusible track too, but apparently getting these right is a bit awkward, especially on small batches
[17:15:26] <rue_house> http://search.digikey.com/ca/en/products/01110505H/F1882-ND/552659
[17:16:19] <rue_house> make the surce cap. of the dioede WAY over the draw current
[17:16:31] <rue_house> I dont think that fuse holder leaves and room under it
[17:17:11] <amee2k> nice
[17:17:26] <amee2k> i might just start ordering from digikey for this project
[17:17:51] <rue_house> I just use them to look up parts all the time
[17:17:56] <rue_house> get them from whoever :)
[17:18:15] <amee2k> i like farnell, but in some cases their selection and pricing just suck
[17:18:28] <rue_house> it would be nice to find one with about 4 or 5mm clearance under it once the fuse is in
[17:18:37] <rue_house> then its just a matter of clearing the landing space
[17:18:46] <amee2k> some dude i know got digital isolators for like 50 cent each. anything comparable from farnell costs like 3-4EUR
[17:19:04] <rue_house> for a small board, ptc definitly wins size wise
[17:19:23] <amee2k> rue_house: my thought exactly
[17:19:40] <amee2k> also, easier to service since it will reset itself after clearing the fault
[17:20:09] <amee2k> so i can use some tiny smt shit that noone would want to service even if they could find a replacement for it
[17:20:17] <rue_house> bicolour led on the incomming?
[17:20:19] <rue_house> :)
[17:20:25] <amee2k> hu?
[17:20:34] <rue_house> diagnoses step 1: is the led red or green?
[17:20:48] <amee2k> haha, i'm not /that/ desperate XD
[17:21:17] <rue_house> what voltage?
[17:21:25] <rue_house> 240ac? 12dc?
[17:21:37] <amee2k> 24Vdc for the moment
[17:21:54] <amee2k> i'm aiming for something like 18..28V, and absolute maximum 36V
[17:21:59] <rue_house> http://search.digikey.com/ca/en/products/3563/3563K-ND/483177
[17:22:18] <rue_house> spade fuse, but it looks liek you have to drill a hold in the pcb where the terminal goes thru
[17:22:35] <rue_house> aaaah solar
[17:23:06] <amee2k> wtf
[17:23:27] <amee2k> what do they look like after they blow?
[17:23:37] <rue_house> blade fuse goes vertically into it, like the car fuses
[17:24:07] <rue_house> http://search.digikey.com/ca/en/products/0297004.WXNV/F988-ND/146578
[17:24:09] <amee2k> wait that stamped metal thing is just the holder?
[17:24:20] <rue_house> for half a fuse
[17:25:01] <amee2k> APM/ATM mini fuse looks interresting, but a bit large. i'll only want 2A or so
[17:25:23] <rue_house> my thought was that it might clear smt parts easier
[17:26:12] <amee2k> hmm i see
[17:26:30] <rue_house> http://www.littelfuse.com/data/en/Data_Sheets/297.pdf
[17:26:43] <rue_house> your looking at about 20A impulse current for a 2A fuse
[17:27:09] <amee2k> i know they make these for 2A too
[17:27:27] <amee2k> i just meant they're fairly high for that rating
[17:27:53] <amee2k> a 5x20 glass tube fuse needs only a little more footprint but has like half the profile i think
[17:28:23] <rue_house> but those stand vertically
[17:29:18] <amee2k> from what i can see the mini blade fuse still needs like 6x16mm board area
[17:29:51] <rue_house> I cant see anything smt that looks like it could clear enough components to make it worth it
[17:30:16] <rue_house> could you afford the forward votlage drop of a diode?
[17:30:29] <amee2k> "clear enough components"?
[17:30:35] <rue_house> up and over
[17:30:41] <rue_house> populate under it
[17:30:47] <amee2k> hmm i see
[17:31:26] <amee2k> i'm not sure i want a series diode for input protection because the power cable can be kinda long and i have a pretty stiff LC filter on the input
[17:31:50] <amee2k> also, the ground-to-rail style diode doesn't have drop in normal operation
[17:32:01] <rue_house> yep
[17:32:06] <rue_house> its what I use
[17:32:20] <rue_house> http://search.digikey.com/ca/en/products/38312000000/WK6298TB-ND/1986914
[17:32:26] <rue_house> I wonder if they make smt holder for those
[17:32:35] <amee2k> i'll want a fuse either way, just in case some power switch fails short
[17:32:41] <OndraSter_> o_O this is fuse? :)
[17:32:51] <OndraSter_> rue_house, normal .1" spacing
[17:32:53] <OndraSter_> and 3 pins :)
[17:33:06] <OndraSter_> the two on the sides connect to the circuit
[17:33:12] <rue_house> http://search.digikey.com/ca/en/products/0451002.MRL/F2581TR-ND/700822
[17:33:20] <rue_house> I'v seen smt holders for those!
[17:33:40] <amee2k> OndraSter_: yeah... the first time i encountered a board with one of these it took me almost an hour until i noticed the "F###" component number next to the funny red can thing
[17:33:50] <OndraSter_> :D
[17:33:56] <OndraSter_> I never knew what it was
[17:34:01] <OndraSter_> so I just skipped to next part
[17:34:05] <OndraSter_> (you know, salvaging old stuff)
[17:34:33] <amee2k> the first letter of the silkscreen markings is pretty much a dead giveaway as to the type of component
[17:34:39] <OndraSter_> oh, silkscreen
[17:34:53] <rue_house> http://search.digikey.com/ca/en/products/0473002.MRT1L/F2342TR-ND/700895 <-- look! you can get them in "fooled you, its not a capacitor!"
[17:35:01] <amee2k> "F701" is pretty much guaranteed to be a fuse
[17:35:01] <OndraSter_> xD
[17:35:18] <amee2k> also, lots of silkscreens specify ratings close to the fuse too
[17:35:23] <rue_house> http://search.digikey.com/ca/en/products/0154002.DR/F1224TR-ND/183354 <--------------!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[17:35:36] <rue_house> there!!!! in a holder and everything!!!!
[17:35:36] <OndraSter_> woot
[17:36:22] <OndraSter_> omg farnell, I want 3A polyfuse
[17:36:24] <OndraSter_> but guess what
[17:36:31] <OndraSter_> the one they have "1 pcs only"
[17:36:32] <Steffanx> Best thing OndraSter_ learnt today :)
[17:36:38] <OndraSter_> would have to be shipped from USA
[17:36:39] <rue_house> http://search.digikey.com/ca/en/products/0157002.DR/F2964TR-ND/1971986 <-- cheaper ver?
[17:36:46] <amee2k> rue_house: wtf
[17:36:55] <OndraSter_> the ones in europe are 5 pieces minimum
[17:36:56] <amee2k> (re: prvious link)
[17:36:58] <OndraSter_> I need two
[17:37:10] <OndraSter_> http://cz.farnell.com/littelfuse/2920l300-15dr/polyfuse-ptc-2920-3a/dp/1822231
[17:37:14] <rue_house> amee2k, "451" fuses with fuse holder
[17:37:19] <OndraSter_> you have no idea how long it took me to find out the name "polyfuse"
[17:37:24] <OndraSter_> since the day #1 till today :D
[17:37:25] <rue_house> have you never seen them before?
[17:37:31] <Steffanx> Farnell.. farnell means 'expensive' in Spanish
[17:37:44] <OndraSter_> rue_house, seen, didn't know the name
[17:37:48] <amee2k> rue_house: hmm would it be awkward if i just put the reverse diode on the board and specified "external fusing to the following specs required for safe operation" in the datasheet?
[17:37:57] <OndraSter_> farnell, I know, but I have yet to find shop that would suit me better
[17:38:03] <OndraSter_> and have the parts I need
[17:38:05] <rue_house> amee2k, you think anyone gonna read that?
[17:38:07] <OndraSter_> I need like 2 or 3 parts from there
[17:38:15] <Steffanx> There isn't one in Europe i think OndraSter_
[17:38:33] <rue_house> I fixed so many car amps where, when it tripped the fuse, they just bypassed it
[17:38:33] <amee2k> rue_house: i don't care who reads it. if i put it in noone getting a hold of the board can say i didn't tell :P
[17:38:35] <OndraSter_> digikey is USA right?
[17:38:56] <rue_house> 6 to 8 blown protection diodes, 4 to 6 fets, smps controller
[17:39:12] <amee2k> ...
[17:39:22] <rue_house> amee2k, you dont like those 451 fuses?
[17:39:39] <amee2k> "tripped fuse, bypassed with jumper wire, blown trace off the board" << like that?
[17:39:56] <OndraSter_> :D
[17:39:58] <amee2k> "451"?
[17:39:59] <rue_house> car power amps have traces too big to just blow
[17:40:09] <rue_house> http://search.digikey.com/ca/en/products/0154002.DR/F1224TR-ND/183354
[17:40:21] <rue_house> er 154 sorry
[17:40:21] <OndraSter_> how thick should be traces where will be 2A like 1/30th of a second?
[17:40:45] <OndraSter_> I went for 0.04" I think
[17:40:46] <rue_house> well your looking at 20A to blow it out
[17:40:54] <amee2k> they look nice, but i don't think anyone else would find a replacement for that if it blew
[17:40:57] <OndraSter_> I don't mean fuse, I mean just trace on board
[17:41:23] <amee2k> and tbh, that fuse looks like it would fit directly on a stretched 1208 fooprint or something
[17:41:28] <rue_house> amee2k, your company can sell them as replacement parts
[17:41:29] <amee2k> fuck the holder
[17:41:37] <amee2k> LOL
[17:41:40] <OndraSter_> :D
[17:41:47] <OndraSter_> with extra +300% pricetag :)
[17:41:55] * amee2k . o O ( note to self: register company name )
[17:42:35] <rue_house> hmm
[17:42:50] <amee2k> for the moment it is just a project of mine, but i do have vague plans on trying to sell some modules to recover development costs
[17:43:20] <rue_house> I was thinking you could doublestage it, tell them to use an external fuse and have one of those onbaord, but the first diode would surely crowbar and there would be nopoint in the second stage
[17:43:42] <amee2k> going to have a decent list of "firsts" in this project too
[17:45:21] <rue_house> first project to say "screw trying to idiotproof it" ?
[17:45:22] <amee2k> my policy on protection is that servicing protection circuits after an event is generally acceptable. but then all parts that may require service after an event must be clearly indicated as such in the documentation
[17:45:35] <rue_house> k
[17:45:59] <amee2k> i think that is a fair compromise for everyone
[17:46:07] <rue_house> I think, to a degree, idiot proofing just breeds stupider idiots
[17:46:18] <amee2k> haha agreed
[17:46:55] <amee2k> but then, needing a new board or some expensive replacement IC because some wires touched at the wrong moment is sort of a party pooper
[17:47:00] <rue_house> that said, for a while I started putting reverse protection on my breadboards cause I kept putting the power on backwards when hurrying
[17:47:23] <rue_house> I killed a really nice encoder motor once...
[17:47:45] <rue_house> PICS will withstand having 12V applied to them for a while
[17:47:47] <amee2k> i'm not trying to idiot proof it, but i think there is a point to protecting against basic mistakes, at least as long as it does not compromise design objectives
[17:47:59] <rue_house> agreed
[17:48:48] <amee2k> i definitely want a fuse on that board if at all possible because i don't trust the switching transistor
[17:48:53] <rue_house> :) diode boot strap a fet bypass triggered by correct polarity circuit :)
[17:49:02] <amee2k> and once i have a fuse, a reverse diode to protect against wrong polarity is cheap
[17:49:39] <amee2k> rue_house: elaborate, please?
[17:49:50] <rue_house> how about a leaded glass fuse with the leads curled and bent over to sit on a pad smt?
[17:50:24] <rue_house> I meant forward diode, that has a bypass mosfet, thats gate is only driven when the incomming power polarity is right
[17:50:34] <amee2k> soldering the end caps of a glass fuse down isn't a hot idea?
[17:50:36] <rue_house> its not overcurrent protection tho'
[17:50:56] <rue_house> if you do a leaded fuse you can stand it up over everything
[17:51:14] <rue_house> curl/bend the ends to use as smt
[17:51:24] <amee2k> hmm solder one end cap down so the fuse sits vertically, then jumper wire from the top down to a pad next to it XD
[17:51:35] <rue_house> heh
[17:51:43] <rue_house> watch 'em try to replace that
[17:51:47] <amee2k> that would look pretty hilarious i imagine
[17:52:03] <rue_house> its popular with all the 1W resistors
[17:52:20] <amee2k> soldering them to SMT pads?
[17:52:29] <rue_house> no standing them on end
[17:52:44] <amee2k> well, it does help keeping heat away from the board i suppose
[17:52:58] <rue_house> I dont think I'v seen a pcb that needed a high wattage resistors and couldn't do thruhole
[17:52:59] <amee2k> i mainly do it to trade height for footprint
[17:53:46] <amee2k> i once considered a 50R dummy load... 20x 1208 1kR resistors soldered in parallel to a strip of stripeboard
[17:53:59] <amee2k> i ended up using 5x10R leaded in series
[17:56:54] <amee2k> rue_house: did i ever tell you that you're incredibly helpful and still a nice person? >_>
[17:57:09] <amee2k> which i found to be a rather rare combination, especially on the internet
[17:58:48] <Steffanx> lol amee2k
[17:58:55] <amee2k> what. :P
[17:58:58] <Steffanx> How that so?
[17:59:13] <rue_house> heh, not all see me that way
[17:59:13] <amee2k> not entirely sure... just had that impression
[17:59:34] <Steffanx> #C is full with incredible non-helpful and !#$%^ persons
[17:59:51] <rue_house> yea, I wont know why that channel survives
[18:00:04] <soul-d> people watching :)
[18:00:11] <amee2k> maybe because most people are either still noobs, or at least do electronics part-time or as a hobby and remember what being a noob is like. so if they can help they go to great lengths to assist fellow noobs
[18:00:51] <amee2k> but they lack the experience to help with more specific implementation problems or design decision
[18:00:52] <Steffanx> Nah, some in here are annoying too (i'm probably one of them) :P
[18:01:46] <amee2k> and the old men are tried of answering the same questions over and over again and just throw bot factoids like "try it and see" or lmgtfy around and are generally becoming bitter assholes
[18:02:21] <amee2k> Steffanx: there is strong correlation but i think someone can be annoying and not be a useless asshole
[18:02:25] <rue_house> wow, almost 4:00
[18:02:37] <soul-d> i actualy grepped the count
[18:02:37] <Steffanx> No, 1am :P
[18:02:48] <soul-d> of the @ss
[18:02:52] <amee2k> i'm with 1:00 >_>
[18:03:02] <OndraLappy> yap, 0054 is the right time :D
[18:03:08] <rue_house> !time
[18:03:14] <rue_house> ...mummble..
[18:03:15] <rue_house> !time
[18:03:15] <OndraLappy> it takes few tries
[18:03:16] <tobbor> My watch says its 15:57 Sun Dec 25 2011
[18:03:17] <soul-d> 700 times+ he called people idiot stupid or combination of it :')
[18:03:17] <OndraLappy> :D
[18:03:21] <amee2k> rue_house: you should really RMA your timezone sometime... it has the offset all wrong >_>
[18:03:24] * amee2k runs and hides behind the sofa
[18:03:34] <Steffanx> Mr flyback soul-d ?
[18:03:41] <Steffanx> or avrphreaque?
[18:03:49] <soul-d> no
[18:04:13] <rue_house> who is the one who is an op in #c and insults every question asked without helping answer it a bit
[18:04:37] <rue_house> oh I know
[18:04:38] <rue_house> brb
[18:04:45] <Landon> who is Kebert Xela?
[18:04:46] <Steffanx> idc.. joined that channel a few times… which was enough to never join it again
[18:04:46] <amee2k> what i really love to troll sometimes is what i call "topic fapping"
[18:05:31] <amee2k> i.e. someone bashing everyone asking even mildly unrelated questions, or who is using idle time in the middle of the night for ot conversation
[18:06:39] <amee2k> or accusing someone of OT conversation who is actually discussing an on-topic topic but expressing dislike about some design decision or something that is considered a generic advantage by proponents. especially the topic fapper himself
[18:06:43] <rue_house> damn, first time I'v asked a question in ##C and got an answer
[18:06:52] <rue_house> wihotu having a strip torn off first
[18:07:09] <amee2k> rue_house: i find putting some people on ignore is incredibly helpful sometimes
[18:07:32] <soul-d> rue_house, i just left so for all i know you t elling fairy tales ;)
[18:07:35] <amee2k> like abrotman in #debian or gevaerts in ... i don't remember where
[18:08:21] <amee2k> for abrotman also put dpkg on ignore for lines matching his nick... he likes to make his pet bot molest people he doesn't like
[18:09:34] <rue_house> back in 2001 linuxhelp used to be an interesting channel
[18:09:50] <OndraLappy> 2001: The year of linux :D
[18:09:57] <amee2k> hehe
[18:09:59] <Steffanx> Back in 2001 I didn't even know what IRC was
[18:10:12] <OndraLappy> same here
[18:10:15] <amee2k> irc channels is like message boards. a constant up and down
[18:10:16] <OndraLappy> I was .... 9 :D
[18:10:27] <rue_house> I tried to start a robotics channel but nobody ever show'd
[18:10:44] <Steffanx> It's still not very populair
[18:11:06] <OndraLappy> IRC misses photos and facebook integration :D
[18:11:08] <OndraLappy> to be attractive
[18:11:09] <OndraLappy> :P
[18:11:27] <timemage> if it had all that crap it wouldn't be irc, imo.
[18:11:27] <amee2k> back in school i tried to start a gun channel on another net. every time i got one new user to join... by the time i found the next the first one had already left again >_<
[18:11:52] <soul-d> on dalnet there where plenty ofgirls wanting to chat with me though :)
[18:11:57] <amee2k> OndraLappy: irc misses integration with random people's attractive moms
[18:11:59] <soul-d> old day's :)
[18:12:08] <OndraLappy> :D
[18:12:42] <amee2k> i'm still on irc because i don't dig all the antisocial networking bullshit
[18:13:13] <soul-d> like twitter and face stuff ?
[18:13:29] <soul-d> im even sad i know the names :(
[18:13:32] <OndraLappy> I use only twit and facebook
[18:13:58] <amee2k> well i would but i wouldn't know what to do with it
[18:14:02] <OndraLappy> facebook is actually quite good - when we are planning silvester drinking, we plan it there
[18:14:12] <amee2k> even if i had an account i would never write anything
[18:14:16] <OndraLappy> we talk about who brings what, where do we meet etc
[18:14:54] <amee2k> well, technically thats not entirely true... i have about two dozen facebook accounts by now
[18:14:59] <soul-d> ok so now you;re like twittering " *ok im talking to these stupid a**holes on #irc totaly cracking down on twitter "
[18:15:11] <Steffanx> I am soul-d
[18:15:20] <soul-d> and you this with phone
[18:15:20] <amee2k> there is some shitty PDF hosting website that requires a facebook login if you want to download pdfs from them
[18:15:25] <soul-d> and cost you money to send the text ?
[18:15:33] <amee2k> and making a new account is easier than finding the password for the last one again >_>
[18:15:35] <OndraLappy> I use twitter as partial RSS :)
[18:15:38] <Steffanx> Twitter was pretty useful as free text service years ago :)
[18:15:39] <OndraLappy> I have there some inet magazines
[18:15:53] <soul-d> bit like free sms with icq
[18:15:54] <OndraLappy> and I am using it to talk to people you can't reach normally
[18:15:56] <soul-d> world over
[18:16:10] <OndraLappy> make it magazine owners/writers, some people from MS etc
[18:16:10] <soul-d> last century
[18:17:21] <Steffanx> You're all a bunch of oldies :P
[18:17:26] <OndraLappy> I am not!
[18:17:27] <OndraLappy> :D
[18:17:35] <Steffanx> Except you
[18:17:38] <amee2k> i do email and phone, and for uni stuff skype too. if someone can't find something in that list, there has to be a really good reason for me to adopt something else
[18:17:38] <soul-d> don't want to be on the radar of all those NWO people
[18:17:39] <soul-d> :P
[18:17:56] <amee2k> i didn't dig the ICQ and AIM and whatever instant messenger crazes when they were "in"
[18:18:09] <Steffanx> email is old too.. a company here in NL banned email
[18:18:24] <Steffanx> email inside the company
[18:18:26] <amee2k> i still have a phone
[18:18:29] <soul-d> don't do bussinees with them
[18:18:35] <Steffanx> So now funny emails anymore for them
[18:18:38] <OndraLappy> Skype, ICQ, Jabber, everything
[18:18:38] <soul-d> oh thats their problem
[18:18:42] <amee2k> they can call me if they don't like email
[18:18:43] <OndraLappy> WLM
[18:18:48] <OndraLappy> SMS, email :
[18:18:50] <OndraLappy> call :D
[18:19:00] <OndraLappy> nobody except spam calls me :(
[18:19:05] <Steffanx> Uhm, it's a VERY large software company in the country you live soul-d :)
[18:19:16] <amee2k> i would probably do jabber if anyone else i know was using it
[18:19:23] <soul-d> donno about it :)
[18:19:39] <Steffanx> I don't remember the name though
[18:19:44] <amee2k> i do have an account on jabber.org i think, or at least had. maybe it expired due to inactivity. but i would make one again if i had someone to chat with
[18:19:50] <soul-d> so there went their fame
[18:19:56] <soul-d> 1 second of fame
[18:20:21] <soul-d> "company trades internal email for facebook"
[18:20:38] <Steffanx> No, wiki and stuff like that
[18:20:47] <OndraLappy> we had wiki and stuff
[18:20:50] <OndraLappy> nobody used it lol
[18:21:02] <amee2k> PLU outsourced all university email stuff to google mail
[18:21:12] <OndraLappy> omg gmail
[18:21:19] <amee2k> including exporting address books of every student without consent
[18:21:21] <OndraLappy> have they added proper support for exchange yet
[18:21:22] <soul-d> so al A students get lurred away
[18:21:27] <soul-d> by google ?
[18:21:38] <OndraLappy> exchange by Microsoft ofc :)
[18:21:43] <OndraLappy> the protocol that knows all systems
[18:21:50] <OndraLappy> not just proprietary android application
[18:22:27] <amee2k> they used some webmail thing before that, but examining some emails reveals the address of the mail server and it turns out it responds to IMAP too :)
[18:23:00] <OndraLappy> http://www.nakup-online.cz/images/15177.jpg
[18:23:01] <OndraLappy> this
[18:23:03] <OndraLappy> I have
[18:23:04] <OndraLappy> oops
[18:23:05] <OndraLappy> wrong chan
[18:23:07] <amee2k> from what i can tell the old email server still runs, but it doesn't get any emails anymore because the emails are all forwarded to gmail now
[18:23:18] <soul-d> :()
[18:23:31] <soul-d> i expected a naked pic
[18:23:37] <soul-d> disapointing
[18:23:43] <OndraLappy> D
[18:23:44] <OndraLappy> :D
[18:23:47] <OndraLappy> naked pic of me?
[18:23:59] <soul-d> if you are a hot chick sure why not :P
[18:24:18] <amee2k> half the computer science department went into an outcry to keep sensitive infrastructure like email in-house
[18:24:23] <soul-d> with the beer you posted maybe anything looks better
[18:24:42] <OndraLappy> soul-d: I am nerdy boy, would that work too? :D
[18:24:54] <amee2k> and some people still think exporting everything without notice or consent isn't legal
[18:25:03] <amee2k> but the management doesn't care
[18:25:04] <soul-d> nah to willing to :P scary
[18:25:31] <soul-d> management :)
[18:25:49] <amee2k> i don't think there is a word for it that is less insulting but still fits
[18:27:10] <soul-d> next to atom bombs probably most destructive force we know of
[18:27:37] <amee2k> pretty much everyone thinks, aloud or otherwise, that it was a huge dick move
[18:27:47] <OndraLappy> google = pure evilness :P
[18:27:52] <OndraLappy> but people have yet to realize that :(
[18:27:54] <soul-d> send letters then again
[18:27:57] <soul-d> amee2k, :)
[18:28:01] <Steffanx> Yes yes ofcourse OndraLappy
[18:28:18] <Steffanx> Internet ==== pure evil
[18:28:21] <amee2k> especially the way they snuck it in. i don't even remember a scheduled downtime notice. they just exported everything and put a redirect in place of the webmail thing
[18:28:25] <Steffanx> TV too
[18:28:45] <soul-d> lol bastards
[18:28:56] <amee2k> google arguably has more effective power than the average government
[18:28:58] <soul-d> it's like those fart cushions
[18:29:18] <Steffanx> pppppprrrrt
[18:29:19] <soul-d> when you don't look the'll have a laugh with you
[18:30:09] <amee2k> and so do pretty much all massive social information harvesting services
[18:30:40] <Steffanx> So you guys all use bing?
[18:30:44] <Steffanx> IE ..
[18:30:48] <OndraLappy> http://thexploit.com/secdev/a-textbook-buffer-overflow-a-look-at-the-freebsd-telnetd-code/
[18:30:54] <OndraLappy> I use Opera + IE
[18:31:03] <OndraLappy> and Bing most of the time
[18:31:16] <OndraLappy> but Bing hasn't yet penetrated czech sites and indexes only few czech websitess :(
[18:31:22] <soul-d> google need to keep enemy's closest :P
[18:31:26] <amee2k> firefox most of the time, but only because i don't like the other ones
[18:32:05] <soul-d> "mind" fucking google bots
[18:32:40] <amee2k> at least i blocked lots of google JS shit, but mostly to preserve my sanity
[18:32:42] <soul-d> so someone had google has to write random usles code
[18:32:49] <amee2k> more than my privacy anyway
[18:32:53] <Steffanx> "I have nothing to hide" OndraLappy :P
[18:33:20] <amee2k> the page constantly reloading while i type is exceedingly annoying
[18:33:30] <Steffanx> Huh?
[18:33:38] <Steffanx> That never happens to me
[18:34:02] <amee2k> i can try make a video if i can get it to work again
[18:34:27] <soul-d> like active search or something
[18:34:40] <soul-d> actually searching while you type
[18:34:48] <soul-d> i thin k i had that on windiws
[18:34:55] <soul-d> and firefox
[18:35:07] <OndraLappy> Opera has it too (for both google and bing)
[18:35:08] <Steffanx> And all other browsers nowadays
[18:35:11] <OndraLappy> yap
[18:35:15] <OndraLappy> IE has it ofc for Bing
[18:36:04] <amee2k> i find it fairly useless for anything practical because until i'm almost done typing, from experience, there are no even remotely interresting results anyway
[18:37:02] <amee2k> i imagine it has to cause a buttload of traffic though, so if it doesn't add any practical advantages for the users why would they do it
[18:37:12] <Steffanx> I do like it
[18:40:00] <amee2k> sure it looks cool and fancy
[18:40:18] <amee2k> but so does wobbly windows on compiz
[18:41:08] <amee2k> it is fun for a few days but the limited practical value makes it more of a distraction for me after a while
[18:41:20] <Steffanx> im lazy ...
[18:42:33] <amee2k> so since you cbf to be annoyed by it, you just decided to like it? :P
[18:43:25] <amee2k> i wish my brain worked that simple too >_>
[18:43:38] <amee2k> would have saved me a lot of headaches in the past
[18:43:42] <Steffanx> :P
[18:43:44] <Steffanx> Poor you
[18:44:09] <Steffanx> I have to confess i never use it though :P
[18:44:40] <Steffanx> I never see the google homepage
[18:45:28] <OndraLappy> btw Bing has today (had yesterday?) fireplace
[18:45:32] <OndraLappy> mp4 video background :)
[18:45:37] <OndraLappy> it was quite cool
[18:45:56] <amee2k> i don't even know what to use it for because it does absolutely nothing... except for searching for mildly random substrings of my query while i'm not even looking at the results
[18:45:58] <CapnKernel> You'd use a search engine for the eye candy?
[18:46:30] <OndraLappy> considering that I have Bing integrated into my phone and i see the image when I press search button... yes :)
[18:46:50] <amee2k> OndraLappy: let me guess you like javascript snow too... that keeps your CPU load at 100% and slows the browser to a crawl
[18:47:01] <OndraLappy> nopw
[18:47:02] <OndraLappy> nope
[18:47:10] <OndraLappy> usually bing has just background image
[18:47:24] <OndraLappy> they had some pics of museum in russia two days (each day diff shot), some nature stuff etc
[18:47:31] <Steffanx> I prefer a clock around the cursor amee2k
[18:48:02] <amee2k> Steffanx: well, even if i don't i could at least imagine that someone can find that practical i suppose
[18:48:24] <OndraLappy> http://cdn2.screenjunkies.com/wp-content/uploads/images/2010/sasha-grey-dummies.jpg
[18:48:26] <OndraLappy> sorry I had to :D
[18:48:40] <Steffanx> You favorite actrice OndraLappy ?
[18:48:50] <amee2k> maybe i'm just having a conceptual problem, really. i grew up in a time when the internet was still a tool and not a video game
[18:48:51] <OndraLappy> I want to meet her
[18:49:27] <rue_house> gee whiz, try to keep it a bit cleaner eh?
[18:49:29] <rue_house> heh
[18:49:55] <OndraLappy> well somebody asked for hawt pic :)
[18:50:00] <OndraLappy> so.. there ya go
[18:50:23] <Steffanx> She doesn't look that bad imho… only I don't really like the job see has
[18:50:36] <Steffanx> *she
[18:50:48] <OndraLappy> wait, she is known? I thought it was some random chick
[18:51:05] <Steffanx> Bing her OndraLappy :P
[18:51:14] <OndraLappy> if I knew her name
[18:51:23] <Steffanx> It's in the image name
[18:51:30] <Steffanx> *file name
[18:51:44] <OndraLappy> sasha grey?
[18:51:56] <OndraLappy> oh
[18:52:08] <amee2k> Steffanx: what i would really love is "semantic web for client side scripts" so i could selectively allow or remove specific behaviour
[18:52:30] <rue_house> Ihave to take some pics befor eht new year of something I'v done since ... 3 months ago
[18:52:30] <Steffanx> Have a nice evening OndraLappy
[18:52:37] <OndraLappy> thanks
[18:52:42] <OndraLappy> lolwiki
[18:52:45] <OndraLappy> http://en.wikipedia.org/wiki/Sasha_Grey
[18:52:50] <Steffanx> You still want to meet her?
[18:52:51] <OndraLappy> I have some old dude's pic above her name
[18:53:01] <OndraLappy> she has not that good pics on wiki
[18:53:22] <amee2k> and since Steffanx is ignoring me now because i don't agree with his favourite use case for client side scripting i'll go to bed now >_>
[18:53:37] <Steffanx> Huh?
[18:53:45] <Steffanx> I just ignore you because .. i don't know
[18:53:52] <amee2k> lol
[18:54:11] <rue_house> we shoudl be thankfull we know people knowledgable enough to have such gripes with
[18:54:14] <OndraLappy> okay, I shall stop with offtopic and keep it AVR and MCU only :P
[18:54:43] <Steffanx> Nah, you don't like someting around your cursor?
[18:54:45] <amee2k> rue_house: hehe yeah... all too true
[18:54:48] <rue_house> yea, before some op comes after you
[18:54:52] <Steffanx> That's really something for you imho amee2k
[18:55:13] <Steffanx> I mean, you are from the old internet generation
[18:55:33] <OndraLappy> it is web2.0 time
[18:55:56] <rue_house> were from a generation that knows what you can really do with a billion bogomips
[18:56:03] <amee2k> Steffanx: well, a clock on the cursor at least has a practical purpose. which i can't possibly imagine constantly reloading a page for a half-finished search query can have
[18:56:18] <rue_house> een if we occasionally get our zero counts wrong
[18:56:29] <amee2k> Steffanx: and the sad thing is i'm only 24 and allready old school
[18:56:38] <Steffanx> That's why they use fancy JS technics.. so they don't have to reload the page all hte time :P
[18:57:02] <amee2k> 90% of the google page is the results, and these are reloaded
[18:57:05] <rue_house> :) I used ajax on my new boiler HMI
[18:57:17] <Steffanx> And like i said, i never see the home page of google :)
[18:57:25] <rue_house> updates the temps in the squares on the picture of the boiler
[18:57:45] <Steffanx> Open browser => type query in URL bar => enter :)
[18:57:48] <rue_house> I cant believe the amount of js ont he goodl search page
[18:58:06] <amee2k> Steffanx: i don't mean the drop-down that offers completion for common phrases. i really mean the whole results list being refreshed
[18:58:24] <Steffanx> I now understand you meant that amee2k
[18:58:31] <Steffanx> THAT is pretty useless indeed
[18:58:45] <amee2k> the drop down list like the search bar has is quite helpful indeed if you're unsure about the spelling of a particular word or something
[18:58:52] <Steffanx> I often see a result there.. and it's gone when i want to click it
[19:00:06] <amee2k> i find google results in general over the last year have been less and less helpful on average anyway
[19:00:26] <amee2k> especially after they started ignoring the plus signs and quoted multi-word phrases
[19:00:53] <Steffanx> That's more due to the useless websites, which just clone the content of other websites
[19:01:00] <OndraLappy> gn
[19:01:15] <amee2k> and search for an extremely wide range of extra keywords that they consider related with no means to override it
[19:02:00] <amee2k> that is sometimes helpful when you're not sure about some wording, but most of the time it just promotes unwanted results and clobbers the result list
[19:02:24] <Steffanx> agreed
[19:02:51] <Steffanx> Anyway.. gn
[19:02:53] <amee2k> Steffanx: try searching for a sentence in quotes. you'll still find the words in the result list, but most of the time they now ignore that you put them in quotes
[19:03:43] <amee2k> and the "+" before a word to express that you're very sure about that exact one is also gone
[19:03:56] <amee2k> nighty night :)
[19:06:19] <amee2k> anyway, that is the kind of "popular features" that just tries to be fancy with very little regard to existing expert users who are allready used to it
[20:55:32] <Tom_itx> hey dean
[20:56:14] <abcminiuser_> Yahoyoy
[20:56:52] <Tom_itx> is it possible to have multiple active pins on pin change interrupts?
[20:57:58] <Tom_itx> multiple trigger events to trigger the same int
[21:13:11] <abcminiuser_> Yes
[21:13:20] <abcminiuser_> Pin change ints all fire the same vector
[21:13:23] <abcminiuser_> Well, grouped by port
[21:13:39] <abcminiuser_> You then have to demux inside the int to determine which one(s) changed
[21:14:59] <Tom_itx> that takes time
[21:15:25] <Tom_itx> too damn bad they didn't use a couple of their reserved registers for port flags
[21:15:59] <timemage> Tom_itx, are you testing the xor solution and having performance problems?
[21:16:15] <Tom_itx> not yet but i forsee it
[21:16:37] <Tom_itx> 4 quadrature decoders on a port
[21:17:44] <timemage> you could make a small queue. just have your isr put the port value into the queue. process it in a main event loop.
[21:45:17] <inflex> btw, found out why my ADC AREF was doing strange things the other day ---- the AVRs have a 32k resistance for Vref
[21:45:35] <inflex> so you have to factor that in when you do the voltage-divder type reference on Vref
[21:46:08] <Tom_itx> where did you find that?
[21:46:22] <inflex> *cough* datasheet *cough* :\
[21:46:53] <inflex> Look for "Rref" in your datasheet
[21:47:00] <Tom_itx> what's that?
[21:47:18] <inflex> Resistance of the Vref input
[21:47:30] <inflex> "Reference Input Resistance"
[21:48:01] <inflex> Anyhow, it makes it a bit of a pita to provide an alternative Vref for your ADC unless you're using an opamp or regulator
[21:49:43] <inflex> Just another one of those "quirk tips" to be aware of I suppose
[21:50:15] <rue_house> there is a list of avr datasheets on http://ruemohr.org
[21:50:17] <rue_house> iirc
[21:50:27] <inflex> Also on Atmel's site
[21:50:40] <rue_house> yea but digging them up is harder
[21:50:58] <inflex> google is quick..... "atmel atmega88 datasheet"
[21:51:16] <rue_house> yup, a list is nice sometimes
[21:51:27] <rue_house> http://ruemohr.org/docs/avrs.html
[21:51:30] <rue_house> wham
[21:54:44] <inflex> better yet - just keep them on one's local machine :p
[21:54:58] <abcminiuser_> Tom_itx, hrm
[21:55:13] <abcminiuser_> Can't you just interrupt on all port changes
[21:55:23] <abcminiuser_> Then feed the port values into a LUT to get the position?
[21:55:37] <rue_house> LUT?
[21:55:41] <rue_house> my state table?
[21:55:51] <rue_house> my FSM?
[21:56:31] <rue_house> tom, the family supper is done, I'll speak now
[21:56:56] <Tom_itx> mkay
[21:57:04] <rue_house> ok it was just ma, but the family has been getting small fast latley
[21:57:11] <Tom_itx> i'm doing half dozen things at once here but i got an encoder wired up
[21:57:19] <rue_house> ok
[21:57:22] <rue_house> PB0 and PB1?
[21:57:25] <Tom_itx> and 2 leds
[21:57:25] <rue_house> and two leds?
[21:57:28] <rue_house> k
[21:57:31] <rue_house> does it work?
[21:57:38] <rue_house> :}
[21:57:44] <inflex> MAGIC!!!
[21:57:51] <Tom_itx> hm
[21:57:52] <Tom_itx> hmm
[21:58:01] <rue_house> it does and now you want to know how?
[21:58:02] <Tom_itx> anybody know where i can find a programmer?
[21:58:06] <rue_house> hahah
[21:58:17] <rue_house> I can mail you one, can you wait 3 to 7 weeks?
[21:58:54] <rue_house> funny enough I could prolly WALK to the border faster than that, and mail it on your side and get it to you in a week
[22:00:12] <Tom_L> i modded your code
[22:00:57] <Tom_L> got rid of signal
[22:01:15] <inflex> O_o a programmer for what Tom_L ?
[22:01:27] <Tom_L> avrvr
[22:01:42] <inflex> virtual-reality?
[22:02:33] <inflex> google gave me nothibng :(
[22:03:03] <Tom_itx> rue both leds are lit
[22:03:15] <Tom_itx> no change when rotating encoder
[22:04:29] <Tom_itx> ok, it changes once
[22:05:02] <Tom_itx> i wonder if 10k is enough
[22:06:39] <rue_house> hmm
[22:07:22] <rue_house> would you scope the leds for me?
[22:07:32] <rue_house> see if they are perfectly alternating
[22:07:37] <Tom_itx> led works on encoder outputs
[22:07:46] <Tom_itx> both
[22:07:49] <Tom_itx> i checked
[22:07:59] <Tom_itx> it'll be a bit then i can hook up the LA
[22:08:03] <Tom_itx> and test better
[22:08:23] <rue_house> it shouldn't be possable for both to be on, what did you change about the source?
[22:08:44] <rue_house> so they stop if you ground both inputs?
[22:09:17] <Tom_itx> on power up they are both on
[22:09:23] <Tom_itx> rotating one way turns one out
[22:09:33] <Tom_itx> rotating the other way turns the other out
[22:09:35] <rue_house> can that be?
[22:09:39] <Tom_itx> but not in step with the encoder
[22:09:43] <Tom_itx> not by a long shot
[22:10:15] <rue_house> no they should only indicate direction of rotation
[22:10:19] <rue_house> did you change the source?
[22:10:24] <Tom_itx> no
[22:10:29] <Tom_itx> i renamed signal
[22:10:34] <Tom_itx> that's it
[22:10:41] <Tom_itx> i'll post it
[22:11:11] <rue_house> wtf, signal is all that works for me
[22:11:21] <rue_house> and interrupt is all that works for you?
[22:11:23] <rue_house> arg
[22:11:36] <Tom_L> they probably both work for me
[22:11:39] <Tom_L> i use isr
[22:11:41] <rue_house> what happens if you dont rename it and compile it?
[22:11:47] <rue_house> dont, use signal
[22:11:54] <rue_house> Isr dosn't work for me
[22:12:05] <rue_house> it pretends to during compile, but the interrupts dont fure
[22:12:16] <rue_house> leds to ground of vcc>?
[22:12:17] <Tom_L> http://tom-itx.dyndns.org:81/~webpage/rue/quadrature.c
[22:12:30] <Tom_L> isr works here
[22:12:32] <Tom_L> i tested it
[22:12:46] <Tom_L> bak in a few
[22:13:52] <rue_house> i need to know if your leds to to + or -
[22:14:03] <rue_house> they must go to +
[22:20:05] <Tom_itx> well of course they do
[22:20:08] <Tom_itx> the pullup does
[22:20:19] <rue_house> PORTD = 3; // clear both leds for startup, leds common to vcc
[22:20:25] <rue_house> added before sei()
[22:20:34] <rue_house> what do we get?
[22:21:00] * Tom_L shovels off some workspace
[22:21:05] <rue_house> http://ideone.com/0TZEY
[22:21:10] <Tom_L> no
[22:21:13] <Tom_L> just tell me
[22:21:44] <rue_house> <rue_house> PORTD = 3; // clear both leds for startup, leds common to vcc
[22:21:45] <rue_house> <rue_house> added before sei()
[22:23:38] <rue_house> oops?
[22:23:45] <rue_house> yup, oops
[22:24:00] <rue_house> hehe
[22:24:06] <rue_house> I was close tho
[22:24:09] * Tom_L watches smoke billow from the board
[22:24:11] <rue_house> 1 min tom
[22:24:52] <Tom_L> are we gonna need the analizer?
[22:25:18] <rue_house> rewrite of update, I missed my bits
[22:25:24] <rue_house> http://ideone.com/dIaQJ
[22:25:34] <Tom_L> ;/
[22:25:46] <rue_house> I thought a) the old code was universal
[22:25:54] <rue_house> b) the old code used bits 0 and 1
[22:26:07] <rue_house> I was a) wrong, b) wrong again
[22:26:10] <Tom_L> it does doesn't it?
[22:26:24] <Tom_L> bits o and i for what?
[22:26:25] <rue_house> I was only out by 2 bits
[22:26:41] <rue_house> no I'm still wrong
[22:26:43] <rue_house> sigh
[22:26:48] <rue_house> please hold
[22:27:09] <timemage> inflex, what problem were you having with aref? i see the 32k figure listed, not entirely sure what i means though.
[22:27:10] <Tom_L> >:|
[22:27:16] <rue_house> http://ideone.com/SVduM
[22:27:18] <rue_house> lalalalala
[22:27:33] <Tom_L> dammit
[22:27:42] <Tom_L> are you gonna post the whole thing or pieces?
[22:27:43] <rue_house> its right now, I swear!
[22:27:47] <timemage> inflex, rref, rather.
[22:27:51] <rue_house> you want the whole thing again?
[22:27:56] <Tom_L> no
[22:28:02] <Tom_L> be consistent
[22:28:04] <rue_house> ok then thats thenew peice
[22:29:40] <rue_house> yea the bits are masked and bumped properly, the rest is the same... its right now...
[22:29:54] <Tom_L> led stay off
[22:30:07] <Tom_L> one on the encoder blinks
[22:30:23] <Tom_L> i don't have 2 or they both would
[22:30:41] <rue_house> I dont think ISR works
[22:30:54] <Tom_L> i swear it does
[22:31:02] <rue_house> ok wanna try signal for giggles?
[22:31:09] <Tom_L> i used it to PORTB ^= 0xFF;
[22:31:12] <Tom_L> and that worked
[22:31:18] <rue_house> ok
[22:31:18] <rue_house> giggles?
[22:31:45] <rue_house> oh there is one regiter you didn't set
[22:31:59] <rue_house> the type of change that fires the interrupt...
[22:32:31] <Tom_L> ok i have 4 leds now
[22:32:40] <Tom_L> 2 on the encoder and 2 on the output
[22:33:03] <Tom_L> gimme the signal line again
[22:33:08] <Tom_L> i forgot the syntax
[22:33:16] <rue_house> SIGNAL (PCINT0_vect) { // fix this signal name!!! INT0
[22:33:16] <rue_house> updatePos();
[22:33:16] <rue_house> }
[22:34:31] <Tom_L> SIGNAL (PCINT0_vect) { // fix this signal name!!! INT0
[22:34:31] <Tom_L> <rue_house> updatePos();
[22:34:31] <Tom_L> <rue_house> }
[22:34:38] <abcminiuser_> rue_house, LUT = Look Up Table
[22:34:43] <Tom_L> woops
[22:34:45] <Tom_L> c:/winavr/lib/gcc/../../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>."
[22:34:48] <abcminiuser_> Tom_L, god christ how old's that code?
[22:34:55] <rue_house> abcminiuser_, pff, its an FSM IT IS!
[22:34:56] <Tom_L> tell rue
[22:35:04] <Tom_L> i used isr
[22:35:04] <abcminiuser_> SIGNAL() has been deprecated for about 6 years now
[22:35:07] <Tom_L> hehe
[22:35:13] <rue_house> yea yea, it says that but it works unlike ISR
[22:35:13] <Tom_L> rue lives in a cave
[22:35:15] <Tom_L> shhhh
[22:35:18] <abcminiuser_> Hell, in that time I re-wrote the replacement ISR() macro too
[22:35:28] <rue_house> all I code I do with ISR dosn't work
[22:35:35] <rue_house> I cahnge it to signal sna it works fine
[22:35:39] <abcminiuser_> rue_house, ಠ_ಠ
[22:35:47] <Tom_L> well your compiler is that old too
[22:36:01] <rue_house> whatever, give it a spin, tell me if it works
[22:36:06] <Tom_L> ok
[22:36:08] <Tom_L> hehehehe
[22:36:09] <rue_house> its just a warning
[22:36:12] <Tom_L> there's your giggles
[22:36:15] <Tom_L> no changes
[22:36:18] <rue_house> poo
[22:36:29] <Tom_L> i'm reverting to isr
[22:36:39] <rue_house> ok ok
[22:36:48] <abcminiuser_> Anywho, Tom_itx, enable pin changes on all the encoder pins, then grab the pin values, mask off as appropriate and throw it into a lookup table
[22:36:52] <rue_house> I'm only wrong cuase you proved it
[22:37:00] <abcminiuser_> Then compare the output with the previous to determine direction of the change
[22:37:05] <rue_house> http://ideone.com/SVduM
[22:37:07] <rue_house> dude
[22:37:09] <rue_house> ^^
[22:37:14] <Tom_L> how about you mod it and paste it abcminiuser_?
[22:37:22] <abcminiuser_> Tom_L, aww
[22:37:29] <abcminiuser_> I can whip something up, I guess
[22:37:38] <Tom_L> i'm bakin pies, cookin turkey and coding
[22:37:41] <Tom_L> all at once
[22:37:43] <rue_house> OK BUT i DO SO WITH __SIGNAL__
[22:37:49] <rue_house> http://ideone.com/VmKNn
[22:38:02] <Tom_L> that's a different one
[22:38:07] <Tom_L> want me to try it?
[22:38:09] <rue_house> abc, its there!! dude
[22:38:12] <abcminiuser_> You'll have to gimme a few mins
[22:38:19] <Tom_L> mkay
[22:38:22] <rue_house> abcminiuser_, its barely 30 lines
[22:38:32] <Tom_L> he's a rookie
[22:38:34] <rue_house> dude! your just gonna write what I just did!
[22:38:45] <Tom_L> let him
[22:38:45] * rue_house smashes head on desk
[22:38:54] <abcminiuser_> rue_house, it is indeed, just needs to be updated from GCC 0.00001
[22:38:55] <Tom_L> i'm working with your code rue
[22:38:57] <rue_house> http://ideone.com/VmKNn <-- but thats exactly what he said!
[22:39:26] <Tom_L> let's review our pinouts
[22:40:12] * Tom_L pulls a random data sheet outta his butt
[22:40:31] <abcminiuser_> Tom_L, what encoder, pins and AVR?
[22:40:40] <rue_house> pcint0 is pb0 pcint1 is pb1
[22:40:45] <Tom_L> leds are on PDO PD1
[22:41:06] <Tom_L> encoder is on PB0 PB1
[22:41:07] <Tom_L> quadrature
[22:41:20] <Tom_L> A & B.. Y is unused
[22:41:51] <rue_house> there is nothing else to it
[22:41:51] <Tom_L> http://tom-itx.dyndns.org:81/~webpage/pdf/Nemicon%20OME%20Encoder.pdf
[22:41:53] <Tom_L> encoder
[22:42:35] <Tom_L> are the leds backwards?
[22:42:37] <abcminiuser_> rue_house, I need the practise anyway
[22:42:44] <abcminiuser_> I'm working at Atmel in two weeks, remember?
[22:43:05] <Tom_L> the resistor goes to 5v and to the led
[22:43:13] <Tom_L> the other leg goes to the port pin
[22:43:13] <Tom_L> brb
[22:43:58] <rue_house> wonder what size resistor he used
[22:44:41] <abcminiuser_> What AVR model?
[22:44:49] <rue_house> m48
[22:45:01] <rue_house> you looked at my source right?
[22:45:22] <rue_house> I'm sure there is nothing about it you would find out of line
[22:45:37] <abcminiuser_> Indeed, but not indepth - I'm just practising so I don't lose my mojo when I get to Atmel
[22:45:41] <rue_house> I'v used almost that exact source since 98
[22:48:00] <abcminiuser_> Great, when I'm in Atmel, I'll just forward all my bosses's requests to you then :P
[22:52:32] <Tom_L> atmega168
[22:52:34] <Tom_L> is the target
[22:56:04] <rue_house> DUDE
[22:56:07] <rue_house> you
[22:56:08] <rue_house> I
[22:56:10] <rue_house> damnit
[22:56:17] <rue_house> you said I could use m48
[22:56:20] <Tom_L> it's the same
[22:56:24] <inflex> hahah
[22:56:24] <Tom_L> silly
[22:56:33] <inflex> except for memory/flash
[22:56:36] <rue_house> IS it the same?
[22:56:40] <rue_house> oh ok
[22:56:44] <rue_house> but the pins?
[22:56:49] <Tom_L> yeah my makefile is right
[22:56:51] <Tom_L> same pinout
[22:56:58] <rue_house> k... I'll trust you
[22:57:03] <Tom_L> 48 88 168 328 all the same
[22:57:04] <inflex> it is the same
[22:57:06] * rue_house wants to see abc's code
[22:57:06] <Tom_L> right inflex?
[22:57:15] <inflex> I've used them going from 48->168 when developing up with my LOM
[22:57:24] * Tom_L want's to see led's blink
[22:59:07] <Tom_L> fuses are LF:0xE2, HF:0xDF, EF:0xF9
[22:59:14] <Tom_L> i think they are default
[22:59:36] <abcminiuser_> Hrmph, they are pretty damn similar
[22:59:37] <Tom_L> except maybe the ckdiv8 fuse
[22:59:43] <Tom_L> as they should be
[22:59:48] <Tom_L> hrmph
[23:00:06] <Tom_L> no blinky on the leds though
[23:00:19] <Tom_L> remember ANY change fires the interrupt
[23:01:07] <rue_house> abcminiuser_, your done?
[23:01:24] <Tom_L> are we waiting for old age to set in?
[23:05:07] <abcminiuser_> rue_house, http://pastebin.com/EqxNAvZ4
[23:05:30] <abcminiuser_> I borrowed your LUT, can't be bothered redoing it
[23:05:36] <abcminiuser_> ^ Hey, I'm doing other stuff too :p
[23:06:26] <rue_house> hey, why are you enabling pcint1?
[23:07:06] <abcminiuser_> Oh right, only really need one of them
[23:07:21] * inflex waits for his battery to charge up so he can finally test his 4Mbit flash-EEPROM logger
[23:08:01] <abcminiuser_> Both won't break it, since both will change
[23:08:09] <Tom_L> no change
[23:08:09] <abcminiuser_> But the ISR will only execute once, so it's all good
[23:08:22] <abcminiuser_> Tom_L, no LEDs at all?
[23:08:35] <rue_house> I'll accept your code, but its a bit stick-shift
[23:08:46] <Tom_L> no
[23:08:59] <rue_house> tom what size resistors on the encoder leds?
[23:09:12] <Tom_L> the led pin should be driven low to light the led
[23:09:18] <Tom_L> the leds will light
[23:09:20] <Tom_L> i tested them
[23:09:22] <abcminiuser_> rue_house, you were expecting QuadDecoderFactoryInstanceWalkerClass<T>?
[23:09:39] <abcminiuser_> Tom_itx, err stick a sei() in there
[23:10:36] <rue_house> abcminiuser_, no, but (1<<1) is a little hardcore
[23:11:02] <rue_house> Tom_itx, what size resistor tho?
[23:11:14] <Tom_L> they are internal
[23:11:21] <Tom_L> but i added 330
[23:11:41] <Tom_L> ok abcminiuser_ i get led 1 on one direction led 2 on other direction
[23:11:43] <Tom_L> no blinking though
[23:11:50] <Tom_L> doesn't follow the encoder leds
[23:11:57] <Tom_L> steady on
[23:12:21] <rue_house> 330 pullup inseries with the led?
[23:12:25] <Tom_L> yeah
[23:12:28] <abcminiuser_> Tom_L, that code shows direction
[23:12:28] <rue_house> eek
[23:12:35] <rue_house> try me 1K
[23:12:46] <Tom_L> what for?
[23:12:54] <Tom_L> they have built in resistors too
[23:13:01] <Tom_L> dean's code works
[23:13:09] <Tom_L> shows direction
[23:13:23] <abcminiuser_> If you want to show position use this:
[23:13:23] <abcminiuser_> PORTD |= ((1 << 0) | (1 << 1));
[23:13:24] <abcminiuser_> PORTD &= (~QuadEncoderPosition & ((1 << 0) | (1 << 1)));
[23:13:38] <abcminiuser_> That will just show the lower two LSB of the position on the LEDs
[23:13:42] <rue_house> WHAT
[23:13:48] <rue_house> his code it working!?!!?!?!
[23:13:49] <rue_house> WTF
[23:13:54] <abcminiuser_> rue_house, hehe
[23:13:57] <Tom_L> yessir
[23:14:20] <rue_house> its the same freaking code!
[23:14:54] <Tom_L> apparently not
[23:14:54] <Tom_L> lemme load yours again
[23:15:03] <abcminiuser_> Mine's prettier *shrugs*
[23:15:04] <abcminiuser_> ;)
[23:15:08] <rue_house> he did one thing differnt
[23:15:24] <Tom_L> dean, where do i add those lines?
[23:15:38] <abcminiuser_> Replace the code in the for(;;) loop
[23:15:53] <Tom_L> all?
[23:16:05] <abcminiuser_> http://pastebin.com/DQ9qXW9A
[23:16:26] <rue_house> >:\ I dont get it
[23:16:32] <abcminiuser_> Might want to add in a short delay so that you don't get dim LEDs, otherwise that will work
[23:18:05] <rue_house> http://ideone.com/DMjrH
[23:18:13] <rue_house> there is a minor change there, wanna try that?
[23:19:11] <rue_house> I dont get it...
[23:19:11] <Tom_L> abcminiuser_, the led on PB1 follows the encoder led, the one on PB0 follows the other led mostly but not exactly
[23:19:19] <Tom_L> there is some overlap on that one
[23:19:32] <abcminiuser_> Tom_L, it will be in binary
[23:19:40] <abcminiuser_> What exactly do you want to display?
[23:19:56] <rue_house> he's just playing
[23:19:56] <Tom_L> they don't switch exactly the same but close
[23:20:03] <rue_house> :/ I dont get it
[23:20:17] <Tom_L> abcminiuser_ wins the boobie prize
[23:20:35] <Tom_L> a 1 way ticket to atmel at his expense
[23:21:00] <rue_house> it should have worked....
[23:21:11] <Tom_L> rue let's play with yours now
[23:21:23] <inflex> hahah
[23:21:34] <Tom_L> not literally
[23:21:34] <Tom_L> perv
[23:21:56] * abcminiuser_ is confused
[23:22:06] <abcminiuser_> This place has changed a lot in the last month or so methinks :P
[23:22:08] <Tom_L> abcminiuser_ we were just messin with port interrupts for the hell of it
[23:22:26] <rue_house> http://ideone.com/dfabn
[23:22:35] <rue_house> the only part I carried from your old code was the init
[23:23:07] <inflex> bleah... I love doing microcontroller stuff... butI hate having to write windows software for consumer side of it
[23:23:09] <rue_house> pls tell me if that works and I'll know if its an issue with main corrupting the variale
[23:23:47] * inflex doesn't evenknow where he's going to start with this requirement... basically I just have a 3 sets of data (8-bit) that I have to plot to screen... maybe I'll just make it into a CSV file and make people load it in Excel
[23:24:05] <Tom_L> warning this header file is obsolete
[23:24:31] <Tom_L> leds are out
[23:24:52] <Tom_L> no blinky
[23:25:25] <abcminiuser_> inflex, I ended up using .NET 4.0 for my robot sensor graphing
[23:26:40] <rue_house> ok one more thance t try and I give up
[23:26:48] <Tom_L> never give up
[23:26:53] <abcminiuser_> NEVER SURRENDER
[23:27:37] <Tom_L> i could make a shit mpg if you want
[23:28:08] <rue_house> http://ideone.com/WVoe9
[23:28:14] <rue_house> try that then, last chance
[23:28:18] <keenerd> rue_house: What version of GCC are you using?
[23:28:36] <keenerd> rue_house: Cause I think you might have the same compiler bug I found a few months ago.
[23:28:48] <rue_house> I done this SO many times, I'm not even compiling it
[23:29:07] <keenerd> All your globals, set them '= 1' and rebuild.
[23:29:08] <abcminiuser_> rue_house, :(
[23:29:37] <rue_house> this is like tightening a screw for me, I should be able to do it successfully when I'm blind in both eyes and half asleep
[23:29:37] <keenerd> GCC does not allocate space for unitialized globals or something dumb.
[23:29:55] <Tom_L> still nothing rue
[23:30:00] <inflex> abcminiuser_: mmm.... .NET... not sure I'm a fan :( Was thinking of something Qt based perhaps
[23:30:08] <Tom_L> bbiab
[23:30:11] <rue_house> damn
[23:31:05] <rue_house> if what keen says is true
[23:31:22] <keenerd> Sweet, everyone said I was insane.
[23:32:15] <rue_house> http://ideone.com/nQLJ6 <-- if what keen says is true, that would work
[23:32:38] <keenerd> It could be something different.
[23:33:02] <keenerd> Usually when people say I am full of BS they are corect.
[23:33:04] <rue_house> fire int eh boiler is out
[23:35:10] * rue_house crawls under a rock for the rest of the night
[23:45:35] <Tom_L> i'll test in a few min
[23:46:53] <Tom_L> same results
[23:46:55] <Tom_L> no leds on